pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Emotion team and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# @emotion/unitless
|
||||
|
||||
> An object of css properties that don't accept values with units
|
||||
|
||||
```jsx
|
||||
import unitless from '@emotion/unitless'
|
||||
|
||||
unitless.flex === 1
|
||||
|
||||
unitless.padding === undefined
|
||||
```
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from '../types'
|
||||
export { default } from '../types'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
export * from "./declarations/src/index.js";
|
||||
export { _default as default } from "./emotion-unitless.cjs.default.js";
|
||||
//# sourceMappingURL=emotion-unitless.cjs.d.mts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"emotion-unitless.cjs.d.mts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
export * from "./declarations/src/index";
|
||||
export { default } from "./declarations/src/index";
|
||||
//# sourceMappingURL=emotion-unitless.cjs.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"emotion-unitless.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export { default as _default } from "./declarations/src/index.js"
|
||||
+1
@@ -0,0 +1 @@
|
||||
exports._default = require("./emotion-unitless.cjs.js").default;
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var unitlessKeys = {
|
||||
animationIterationCount: 1,
|
||||
aspectRatio: 1,
|
||||
borderImageOutset: 1,
|
||||
borderImageSlice: 1,
|
||||
borderImageWidth: 1,
|
||||
boxFlex: 1,
|
||||
boxFlexGroup: 1,
|
||||
boxOrdinalGroup: 1,
|
||||
columnCount: 1,
|
||||
columns: 1,
|
||||
flex: 1,
|
||||
flexGrow: 1,
|
||||
flexPositive: 1,
|
||||
flexShrink: 1,
|
||||
flexNegative: 1,
|
||||
flexOrder: 1,
|
||||
gridRow: 1,
|
||||
gridRowEnd: 1,
|
||||
gridRowSpan: 1,
|
||||
gridRowStart: 1,
|
||||
gridColumn: 1,
|
||||
gridColumnEnd: 1,
|
||||
gridColumnSpan: 1,
|
||||
gridColumnStart: 1,
|
||||
msGridRow: 1,
|
||||
msGridRowSpan: 1,
|
||||
msGridColumn: 1,
|
||||
msGridColumnSpan: 1,
|
||||
fontWeight: 1,
|
||||
lineHeight: 1,
|
||||
opacity: 1,
|
||||
order: 1,
|
||||
orphans: 1,
|
||||
tabSize: 1,
|
||||
widows: 1,
|
||||
zIndex: 1,
|
||||
zoom: 1,
|
||||
WebkitLineClamp: 1,
|
||||
// SVG-related properties
|
||||
fillOpacity: 1,
|
||||
floodOpacity: 1,
|
||||
stopOpacity: 1,
|
||||
strokeDasharray: 1,
|
||||
strokeDashoffset: 1,
|
||||
strokeMiterlimit: 1,
|
||||
strokeOpacity: 1,
|
||||
strokeWidth: 1
|
||||
};
|
||||
|
||||
exports["default"] = unitlessKeys;
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
module.exports = require("./emotion-unitless.cjs.prod.js");
|
||||
} else {
|
||||
module.exports = require("./emotion-unitless.cjs.dev.js");
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// @flow
|
||||
export * from "../src/index.js";
|
||||
export { default } from "../src/index.js";
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export {
|
||||
|
||||
} from "./emotion-unitless.cjs.js";
|
||||
export { _default as default } from "./emotion-unitless.cjs.default.js";
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var unitlessKeys = {
|
||||
animationIterationCount: 1,
|
||||
aspectRatio: 1,
|
||||
borderImageOutset: 1,
|
||||
borderImageSlice: 1,
|
||||
borderImageWidth: 1,
|
||||
boxFlex: 1,
|
||||
boxFlexGroup: 1,
|
||||
boxOrdinalGroup: 1,
|
||||
columnCount: 1,
|
||||
columns: 1,
|
||||
flex: 1,
|
||||
flexGrow: 1,
|
||||
flexPositive: 1,
|
||||
flexShrink: 1,
|
||||
flexNegative: 1,
|
||||
flexOrder: 1,
|
||||
gridRow: 1,
|
||||
gridRowEnd: 1,
|
||||
gridRowSpan: 1,
|
||||
gridRowStart: 1,
|
||||
gridColumn: 1,
|
||||
gridColumnEnd: 1,
|
||||
gridColumnSpan: 1,
|
||||
gridColumnStart: 1,
|
||||
msGridRow: 1,
|
||||
msGridRowSpan: 1,
|
||||
msGridColumn: 1,
|
||||
msGridColumnSpan: 1,
|
||||
fontWeight: 1,
|
||||
lineHeight: 1,
|
||||
opacity: 1,
|
||||
order: 1,
|
||||
orphans: 1,
|
||||
tabSize: 1,
|
||||
widows: 1,
|
||||
zIndex: 1,
|
||||
zoom: 1,
|
||||
WebkitLineClamp: 1,
|
||||
// SVG-related properties
|
||||
fillOpacity: 1,
|
||||
floodOpacity: 1,
|
||||
stopOpacity: 1,
|
||||
strokeDasharray: 1,
|
||||
strokeDashoffset: 1,
|
||||
strokeMiterlimit: 1,
|
||||
strokeOpacity: 1,
|
||||
strokeWidth: 1
|
||||
};
|
||||
|
||||
exports["default"] = unitlessKeys;
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
var unitlessKeys = {
|
||||
animationIterationCount: 1,
|
||||
aspectRatio: 1,
|
||||
borderImageOutset: 1,
|
||||
borderImageSlice: 1,
|
||||
borderImageWidth: 1,
|
||||
boxFlex: 1,
|
||||
boxFlexGroup: 1,
|
||||
boxOrdinalGroup: 1,
|
||||
columnCount: 1,
|
||||
columns: 1,
|
||||
flex: 1,
|
||||
flexGrow: 1,
|
||||
flexPositive: 1,
|
||||
flexShrink: 1,
|
||||
flexNegative: 1,
|
||||
flexOrder: 1,
|
||||
gridRow: 1,
|
||||
gridRowEnd: 1,
|
||||
gridRowSpan: 1,
|
||||
gridRowStart: 1,
|
||||
gridColumn: 1,
|
||||
gridColumnEnd: 1,
|
||||
gridColumnSpan: 1,
|
||||
gridColumnStart: 1,
|
||||
msGridRow: 1,
|
||||
msGridRowSpan: 1,
|
||||
msGridColumn: 1,
|
||||
msGridColumnSpan: 1,
|
||||
fontWeight: 1,
|
||||
lineHeight: 1,
|
||||
opacity: 1,
|
||||
order: 1,
|
||||
orphans: 1,
|
||||
tabSize: 1,
|
||||
widows: 1,
|
||||
zIndex: 1,
|
||||
zoom: 1,
|
||||
WebkitLineClamp: 1,
|
||||
// SVG-related properties
|
||||
fillOpacity: 1,
|
||||
floodOpacity: 1,
|
||||
stopOpacity: 1,
|
||||
strokeDasharray: 1,
|
||||
strokeDashoffset: 1,
|
||||
strokeMiterlimit: 1,
|
||||
strokeOpacity: 1,
|
||||
strokeWidth: 1
|
||||
};
|
||||
|
||||
export { unitlessKeys as default };
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@emotion/unitless",
|
||||
"version": "0.8.1",
|
||||
"description": "An object of css properties that don't accept values with units",
|
||||
"main": "dist/emotion-unitless.cjs.js",
|
||||
"module": "dist/emotion-unitless.esm.js",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/emotion-js/emotion/tree/main/packages/unitless",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
"dist"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"module": "./dist/emotion-unitless.esm.js",
|
||||
"import": "./dist/emotion-unitless.cjs.mjs",
|
||||
"default": "./dist/emotion-unitless.cjs.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from '../types'
|
||||
export { default } from '../types'
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
// @flow
|
||||
|
||||
let unitlessKeys: { [key: string]: 1 } = {
|
||||
animationIterationCount: 1,
|
||||
aspectRatio: 1,
|
||||
borderImageOutset: 1,
|
||||
borderImageSlice: 1,
|
||||
borderImageWidth: 1,
|
||||
boxFlex: 1,
|
||||
boxFlexGroup: 1,
|
||||
boxOrdinalGroup: 1,
|
||||
columnCount: 1,
|
||||
columns: 1,
|
||||
flex: 1,
|
||||
flexGrow: 1,
|
||||
flexPositive: 1,
|
||||
flexShrink: 1,
|
||||
flexNegative: 1,
|
||||
flexOrder: 1,
|
||||
gridRow: 1,
|
||||
gridRowEnd: 1,
|
||||
gridRowSpan: 1,
|
||||
gridRowStart: 1,
|
||||
gridColumn: 1,
|
||||
gridColumnEnd: 1,
|
||||
gridColumnSpan: 1,
|
||||
gridColumnStart: 1,
|
||||
msGridRow: 1,
|
||||
msGridRowSpan: 1,
|
||||
msGridColumn: 1,
|
||||
msGridColumnSpan: 1,
|
||||
fontWeight: 1,
|
||||
lineHeight: 1,
|
||||
opacity: 1,
|
||||
order: 1,
|
||||
orphans: 1,
|
||||
tabSize: 1,
|
||||
widows: 1,
|
||||
zIndex: 1,
|
||||
zoom: 1,
|
||||
WebkitLineClamp: 1,
|
||||
|
||||
// SVG-related properties
|
||||
fillOpacity: 1,
|
||||
floodOpacity: 1,
|
||||
stopOpacity: 1,
|
||||
strokeDasharray: 1,
|
||||
strokeDashoffset: 1,
|
||||
strokeMiterlimit: 1,
|
||||
strokeOpacity: 1,
|
||||
strokeWidth: 1
|
||||
}
|
||||
|
||||
export default unitlessKeys
|
||||
Reference in new issue
Block a user