@tamagui/shorthands 2.0.0-rc.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +2 -0
- package/dist/cjs/index.cjs +21 -19
- package/dist/cjs/index.native.js +21 -19
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/v4.cjs +17 -12
- package/dist/cjs/v4.native.js +17 -12
- package/dist/cjs/v4.native.js.map +1 -1
- package/dist/cjs/v5.cjs +17 -12
- package/dist/cjs/v5.native.js +17 -12
- package/dist/cjs/v5.native.js.map +1 -1
- package/dist/esm/index.js +10 -12
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/index.mjs +9 -9
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +9 -9
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/v4.mjs +5 -2
- package/dist/esm/v4.mjs.map +1 -1
- package/dist/esm/v4.native.js +5 -2
- package/dist/esm/v4.native.js.map +1 -1
- package/dist/esm/v5.mjs +5 -2
- package/dist/esm/v5.mjs.map +1 -1
- package/dist/esm/v5.native.js +5 -2
- package/dist/esm/v5.native.js.map +1 -1
- package/package.json +11 -13
- package/tsconfig.json +18 -0
- package/v4/index.cjs +2 -0
- package/v4/index.js +2 -0
- package/v4/index.native.cjs +2 -0
- package/v4/index.native.js +2 -0
- package/v4.d.ts +1 -0
- package/v5/index.cjs +2 -0
- package/v5/index.js +2 -0
- package/v5/index.native.cjs +2 -0
- package/v5/index.native.js +2 -0
- package/v5.d.ts +1 -0
- package/dist/cjs/index.js +0 -109
- package/dist/cjs/index.js.map +0 -6
- package/dist/cjs/v2.cjs +0 -112
- package/dist/cjs/v2.js +0 -107
- package/dist/cjs/v2.js.map +0 -6
- package/dist/cjs/v2.native.js +0 -115
- package/dist/cjs/v2.native.js.map +0 -1
- package/dist/cjs/v4.js +0 -57
- package/dist/cjs/v4.js.map +0 -6
- package/dist/cjs/v5.js +0 -57
- package/dist/cjs/v5.js.map +0 -6
- package/dist/esm/v2.js +0 -91
- package/dist/esm/v2.js.map +0 -6
- package/dist/esm/v2.mjs +0 -89
- package/dist/esm/v2.mjs.map +0 -1
- package/dist/esm/v2.native.js +0 -89
- package/dist/esm/v2.native.js.map +0 -1
- package/dist/esm/v4.js +0 -41
- package/dist/esm/v4.js.map +0 -6
- package/dist/esm/v5.js +0 -41
- package/dist/esm/v5.js.map +0 -6
- package/types/v2.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/shorthands",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
|
-
"files": [
|
|
7
|
-
"src",
|
|
8
|
-
"types",
|
|
9
|
-
"dist",
|
|
10
|
-
"v4.cjs",
|
|
11
|
-
"v5.cjs"
|
|
12
|
-
],
|
|
13
6
|
"type": "module",
|
|
14
7
|
"sideEffects": false,
|
|
15
8
|
"main": "dist/cjs",
|
|
@@ -20,24 +13,29 @@
|
|
|
20
13
|
".": {
|
|
21
14
|
"types": "./types/index.d.ts",
|
|
22
15
|
"react-native": "./dist/esm/index.native.js",
|
|
16
|
+
"browser": "./dist/esm/index.mjs",
|
|
23
17
|
"module": "./dist/esm/index.mjs",
|
|
24
18
|
"import": "./dist/esm/index.mjs",
|
|
25
19
|
"require": "./dist/cjs/index.cjs",
|
|
26
|
-
"default": "./dist/
|
|
20
|
+
"default": "./dist/esm/index.mjs"
|
|
27
21
|
},
|
|
28
22
|
"./v4": {
|
|
29
23
|
"types": "./types/v4.d.ts",
|
|
30
24
|
"react-native": "./dist/esm/v4.native.js",
|
|
25
|
+
"browser": "./dist/esm/v4.mjs",
|
|
31
26
|
"module": "./dist/esm/v4.mjs",
|
|
32
27
|
"import": "./dist/esm/v4.mjs",
|
|
33
|
-
"require": "./dist/cjs/v4.cjs"
|
|
28
|
+
"require": "./dist/cjs/v4.cjs",
|
|
29
|
+
"default": "./dist/esm/v4.mjs"
|
|
34
30
|
},
|
|
35
31
|
"./v5": {
|
|
36
32
|
"types": "./types/v5.d.ts",
|
|
37
33
|
"react-native": "./dist/esm/v5.native.js",
|
|
34
|
+
"browser": "./dist/esm/v5.mjs",
|
|
38
35
|
"module": "./dist/esm/v5.mjs",
|
|
39
36
|
"import": "./dist/esm/v5.mjs",
|
|
40
|
-
"require": "./dist/cjs/v5.cjs"
|
|
37
|
+
"require": "./dist/cjs/v5.cjs",
|
|
38
|
+
"default": "./dist/esm/v5.mjs"
|
|
41
39
|
}
|
|
42
40
|
},
|
|
43
41
|
"publishConfig": {
|
|
@@ -50,9 +48,9 @@
|
|
|
50
48
|
"clean:build": "tamagui-build clean:build"
|
|
51
49
|
},
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@tamagui/web": "2.
|
|
51
|
+
"@tamagui/web": "2.1.0"
|
|
54
52
|
},
|
|
55
53
|
"devDependencies": {
|
|
56
|
-
"@tamagui/build": "2.
|
|
54
|
+
"@tamagui/build": "2.1.0"
|
|
57
55
|
}
|
|
58
56
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true
|
|
5
|
+
},
|
|
6
|
+
"references": [],
|
|
7
|
+
"exclude": [
|
|
8
|
+
"types",
|
|
9
|
+
"dist",
|
|
10
|
+
"**/__tests__",
|
|
11
|
+
"v2.cjs",
|
|
12
|
+
"v2.d.ts",
|
|
13
|
+
"v4.cjs",
|
|
14
|
+
"v4.d.ts",
|
|
15
|
+
"v5.cjs",
|
|
16
|
+
"v5.d.ts"
|
|
17
|
+
]
|
|
18
|
+
}
|
package/v4/index.cjs
ADDED
package/v4/index.js
ADDED
package/v4.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types/v4'
|
package/v5/index.cjs
ADDED
package/v5/index.js
ADDED
package/v5.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types/v5'
|
package/dist/cjs/index.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var index_exports = {};
|
|
16
|
-
__export(index_exports, {
|
|
17
|
-
shorthands: () => shorthands
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(index_exports);
|
|
20
|
-
const shorthands = {
|
|
21
|
-
// web-only
|
|
22
|
-
ussel: "userSelect",
|
|
23
|
-
cur: "cursor",
|
|
24
|
-
// tamagui
|
|
25
|
-
pe: "pointerEvents",
|
|
26
|
-
// text
|
|
27
|
-
col: "color",
|
|
28
|
-
ff: "fontFamily",
|
|
29
|
-
fos: "fontSize",
|
|
30
|
-
fost: "fontStyle",
|
|
31
|
-
fow: "fontWeight",
|
|
32
|
-
ls: "letterSpacing",
|
|
33
|
-
lh: "lineHeight",
|
|
34
|
-
ta: "textAlign",
|
|
35
|
-
tt: "textTransform",
|
|
36
|
-
ww: "wordWrap",
|
|
37
|
-
// view
|
|
38
|
-
ac: "alignContent",
|
|
39
|
-
ai: "alignItems",
|
|
40
|
-
als: "alignSelf",
|
|
41
|
-
b: "bottom",
|
|
42
|
-
bc: "backgroundColor",
|
|
43
|
-
bg: "backgroundColor",
|
|
44
|
-
bbc: "borderBottomColor",
|
|
45
|
-
bblr: "borderBottomLeftRadius",
|
|
46
|
-
bbrr: "borderBottomRightRadius",
|
|
47
|
-
bbw: "borderBottomWidth",
|
|
48
|
-
blc: "borderLeftColor",
|
|
49
|
-
blw: "borderLeftWidth",
|
|
50
|
-
boc: "borderColor",
|
|
51
|
-
br: "borderRadius",
|
|
52
|
-
bs: "borderStyle",
|
|
53
|
-
brw: "borderRightWidth",
|
|
54
|
-
brc: "borderRightColor",
|
|
55
|
-
btc: "borderTopColor",
|
|
56
|
-
btlr: "borderTopLeftRadius",
|
|
57
|
-
btrr: "borderTopRightRadius",
|
|
58
|
-
btw: "borderTopWidth",
|
|
59
|
-
bw: "borderWidth",
|
|
60
|
-
dsp: "display",
|
|
61
|
-
f: "flex",
|
|
62
|
-
fb: "flexBasis",
|
|
63
|
-
fd: "flexDirection",
|
|
64
|
-
fg: "flexGrow",
|
|
65
|
-
fs: "flexShrink",
|
|
66
|
-
fw: "flexWrap",
|
|
67
|
-
h: "height",
|
|
68
|
-
jc: "justifyContent",
|
|
69
|
-
l: "left",
|
|
70
|
-
m: "margin",
|
|
71
|
-
mah: "maxHeight",
|
|
72
|
-
maw: "maxWidth",
|
|
73
|
-
mb: "marginBottom",
|
|
74
|
-
mih: "minHeight",
|
|
75
|
-
miw: "minWidth",
|
|
76
|
-
ml: "marginLeft",
|
|
77
|
-
mr: "marginRight",
|
|
78
|
-
mt: "marginTop",
|
|
79
|
-
mx: "marginHorizontal",
|
|
80
|
-
my: "marginVertical",
|
|
81
|
-
o: "opacity",
|
|
82
|
-
ov: "overflow",
|
|
83
|
-
p: "padding",
|
|
84
|
-
pb: "paddingBottom",
|
|
85
|
-
pl: "paddingLeft",
|
|
86
|
-
pos: "position",
|
|
87
|
-
pr: "paddingRight",
|
|
88
|
-
pt: "paddingTop",
|
|
89
|
-
px: "paddingHorizontal",
|
|
90
|
-
py: "paddingVertical",
|
|
91
|
-
r: "right",
|
|
92
|
-
shac: "shadowColor",
|
|
93
|
-
shar: "shadowRadius",
|
|
94
|
-
shof: "shadowOffset",
|
|
95
|
-
shop: "shadowOpacity",
|
|
96
|
-
t: "top",
|
|
97
|
-
w: "width",
|
|
98
|
-
zi: "zIndex"
|
|
99
|
-
};
|
|
100
|
-
shorthands.bls = "borderLeftStyle";
|
|
101
|
-
shorthands.brs = "borderRightStyle";
|
|
102
|
-
shorthands.bts = "borderTopStyle";
|
|
103
|
-
shorthands.bbs = "borderBottomStyle";
|
|
104
|
-
shorthands.bxs = "boxSizing";
|
|
105
|
-
shorthands.bxsh = "boxShadow";
|
|
106
|
-
shorthands.ox = "overflowX";
|
|
107
|
-
shorthands.oy = "overflowY";
|
|
108
|
-
shorthands.ol = "outline";
|
|
109
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,aAAa;AAAA;AAAA,EAExB,OAAO;AAAA,EACP,KAAK;AAAA;AAAA,EAGL,IAAI;AAAA;AAAA,EAGJ,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,MAAM;AAAA,EACN,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA;AAAA,EAGJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,GAAG;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112 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var v2_exports = {};
|
|
22
|
-
__export(v2_exports, {
|
|
23
|
-
shorthands: () => shorthands
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(v2_exports);
|
|
26
|
-
const shorthands = {
|
|
27
|
-
// web-only
|
|
28
|
-
ussel: "userSelect",
|
|
29
|
-
cur: "cursor",
|
|
30
|
-
// tamagui
|
|
31
|
-
pe: "pointerEvents",
|
|
32
|
-
// text
|
|
33
|
-
col: "color",
|
|
34
|
-
ff: "fontFamily",
|
|
35
|
-
fos: "fontSize",
|
|
36
|
-
fost: "fontStyle",
|
|
37
|
-
fow: "fontWeight",
|
|
38
|
-
ls: "letterSpacing",
|
|
39
|
-
lh: "lineHeight",
|
|
40
|
-
ta: "textAlign",
|
|
41
|
-
tt: "textTransform",
|
|
42
|
-
ww: "wordWrap",
|
|
43
|
-
// view
|
|
44
|
-
ac: "alignContent",
|
|
45
|
-
ai: "alignItems",
|
|
46
|
-
als: "alignSelf",
|
|
47
|
-
b: "bottom",
|
|
48
|
-
bg: "backgroundColor",
|
|
49
|
-
bbc: "borderBottomColor",
|
|
50
|
-
bblr: "borderBottomLeftRadius",
|
|
51
|
-
bbrr: "borderBottomRightRadius",
|
|
52
|
-
bbw: "borderBottomWidth",
|
|
53
|
-
blc: "borderLeftColor",
|
|
54
|
-
blw: "borderLeftWidth",
|
|
55
|
-
bc: "borderColor",
|
|
56
|
-
br: "borderRadius",
|
|
57
|
-
bs: "borderStyle",
|
|
58
|
-
brw: "borderRightWidth",
|
|
59
|
-
brc: "borderRightColor",
|
|
60
|
-
btc: "borderTopColor",
|
|
61
|
-
btlr: "borderTopLeftRadius",
|
|
62
|
-
btrr: "borderTopRightRadius",
|
|
63
|
-
btw: "borderTopWidth",
|
|
64
|
-
bw: "borderWidth",
|
|
65
|
-
dsp: "display",
|
|
66
|
-
f: "flex",
|
|
67
|
-
fb: "flexBasis",
|
|
68
|
-
fd: "flexDirection",
|
|
69
|
-
fg: "flexGrow",
|
|
70
|
-
fs: "flexShrink",
|
|
71
|
-
fw: "flexWrap",
|
|
72
|
-
h: "height",
|
|
73
|
-
jc: "justifyContent",
|
|
74
|
-
l: "left",
|
|
75
|
-
m: "margin",
|
|
76
|
-
mah: "maxHeight",
|
|
77
|
-
maw: "maxWidth",
|
|
78
|
-
mb: "marginBottom",
|
|
79
|
-
mih: "minHeight",
|
|
80
|
-
miw: "minWidth",
|
|
81
|
-
ml: "marginLeft",
|
|
82
|
-
mr: "marginRight",
|
|
83
|
-
mt: "marginTop",
|
|
84
|
-
mx: "marginHorizontal",
|
|
85
|
-
my: "marginVertical",
|
|
86
|
-
o: "opacity",
|
|
87
|
-
ov: "overflow",
|
|
88
|
-
p: "padding",
|
|
89
|
-
pb: "paddingBottom",
|
|
90
|
-
pl: "paddingLeft",
|
|
91
|
-
pos: "position",
|
|
92
|
-
pr: "paddingRight",
|
|
93
|
-
pt: "paddingTop",
|
|
94
|
-
px: "paddingHorizontal",
|
|
95
|
-
py: "paddingVertical",
|
|
96
|
-
r: "right",
|
|
97
|
-
shac: "shadowColor",
|
|
98
|
-
shar: "shadowRadius",
|
|
99
|
-
shof: "shadowOffset",
|
|
100
|
-
shop: "shadowOpacity",
|
|
101
|
-
t: "top",
|
|
102
|
-
w: "width",
|
|
103
|
-
zi: "zIndex"
|
|
104
|
-
};
|
|
105
|
-
shorthands.bls = "borderLeftStyle";
|
|
106
|
-
shorthands.brs = "borderRightStyle";
|
|
107
|
-
shorthands.bts = "borderTopStyle";
|
|
108
|
-
shorthands.bbs = "borderBottomStyle";
|
|
109
|
-
shorthands.bxs = "boxSizing";
|
|
110
|
-
shorthands.bxsh = "boxShadow";
|
|
111
|
-
shorthands.ox = "overflowX";
|
|
112
|
-
shorthands.oy = "overflowY";
|
package/dist/cjs/v2.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var v2_exports = {};
|
|
16
|
-
__export(v2_exports, {
|
|
17
|
-
shorthands: () => shorthands
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(v2_exports);
|
|
20
|
-
const shorthands = {
|
|
21
|
-
// web-only
|
|
22
|
-
ussel: "userSelect",
|
|
23
|
-
cur: "cursor",
|
|
24
|
-
// tamagui
|
|
25
|
-
pe: "pointerEvents",
|
|
26
|
-
// text
|
|
27
|
-
col: "color",
|
|
28
|
-
ff: "fontFamily",
|
|
29
|
-
fos: "fontSize",
|
|
30
|
-
fost: "fontStyle",
|
|
31
|
-
fow: "fontWeight",
|
|
32
|
-
ls: "letterSpacing",
|
|
33
|
-
lh: "lineHeight",
|
|
34
|
-
ta: "textAlign",
|
|
35
|
-
tt: "textTransform",
|
|
36
|
-
ww: "wordWrap",
|
|
37
|
-
// view
|
|
38
|
-
ac: "alignContent",
|
|
39
|
-
ai: "alignItems",
|
|
40
|
-
als: "alignSelf",
|
|
41
|
-
b: "bottom",
|
|
42
|
-
bg: "backgroundColor",
|
|
43
|
-
bbc: "borderBottomColor",
|
|
44
|
-
bblr: "borderBottomLeftRadius",
|
|
45
|
-
bbrr: "borderBottomRightRadius",
|
|
46
|
-
bbw: "borderBottomWidth",
|
|
47
|
-
blc: "borderLeftColor",
|
|
48
|
-
blw: "borderLeftWidth",
|
|
49
|
-
bc: "borderColor",
|
|
50
|
-
br: "borderRadius",
|
|
51
|
-
bs: "borderStyle",
|
|
52
|
-
brw: "borderRightWidth",
|
|
53
|
-
brc: "borderRightColor",
|
|
54
|
-
btc: "borderTopColor",
|
|
55
|
-
btlr: "borderTopLeftRadius",
|
|
56
|
-
btrr: "borderTopRightRadius",
|
|
57
|
-
btw: "borderTopWidth",
|
|
58
|
-
bw: "borderWidth",
|
|
59
|
-
dsp: "display",
|
|
60
|
-
f: "flex",
|
|
61
|
-
fb: "flexBasis",
|
|
62
|
-
fd: "flexDirection",
|
|
63
|
-
fg: "flexGrow",
|
|
64
|
-
fs: "flexShrink",
|
|
65
|
-
fw: "flexWrap",
|
|
66
|
-
h: "height",
|
|
67
|
-
jc: "justifyContent",
|
|
68
|
-
l: "left",
|
|
69
|
-
m: "margin",
|
|
70
|
-
mah: "maxHeight",
|
|
71
|
-
maw: "maxWidth",
|
|
72
|
-
mb: "marginBottom",
|
|
73
|
-
mih: "minHeight",
|
|
74
|
-
miw: "minWidth",
|
|
75
|
-
ml: "marginLeft",
|
|
76
|
-
mr: "marginRight",
|
|
77
|
-
mt: "marginTop",
|
|
78
|
-
mx: "marginHorizontal",
|
|
79
|
-
my: "marginVertical",
|
|
80
|
-
o: "opacity",
|
|
81
|
-
ov: "overflow",
|
|
82
|
-
p: "padding",
|
|
83
|
-
pb: "paddingBottom",
|
|
84
|
-
pl: "paddingLeft",
|
|
85
|
-
pos: "position",
|
|
86
|
-
pr: "paddingRight",
|
|
87
|
-
pt: "paddingTop",
|
|
88
|
-
px: "paddingHorizontal",
|
|
89
|
-
py: "paddingVertical",
|
|
90
|
-
r: "right",
|
|
91
|
-
shac: "shadowColor",
|
|
92
|
-
shar: "shadowRadius",
|
|
93
|
-
shof: "shadowOffset",
|
|
94
|
-
shop: "shadowOpacity",
|
|
95
|
-
t: "top",
|
|
96
|
-
w: "width",
|
|
97
|
-
zi: "zIndex"
|
|
98
|
-
};
|
|
99
|
-
shorthands.bls = "borderLeftStyle";
|
|
100
|
-
shorthands.brs = "borderRightStyle";
|
|
101
|
-
shorthands.bts = "borderTopStyle";
|
|
102
|
-
shorthands.bbs = "borderBottomStyle";
|
|
103
|
-
shorthands.bxs = "boxSizing";
|
|
104
|
-
shorthands.bxsh = "boxShadow";
|
|
105
|
-
shorthands.ox = "overflowX";
|
|
106
|
-
shorthands.oy = "overflowY";
|
|
107
|
-
//# sourceMappingURL=v2.js.map
|
package/dist/cjs/v2.js.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/v2.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,aAAa;AAAA;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ACN,MAAM;AAAA,EACN,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AACN;AAGA,WAAW,MAAS;AACpB,WAAW,MAAS;AACpB,WAAW,MAAS;AACpB,WAAW,MAAS;AACpB,WAAW,MAAS;AACpB,WAAW,OAAU;AACrB,WAAW,KAAQ;AACnB,WAAW,KAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
package/dist/cjs/v2.native.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var v2_exports = {};
|
|
24
|
-
__export(v2_exports, {
|
|
25
|
-
shorthands: () => shorthands
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(v2_exports);
|
|
28
|
-
var shorthands = {
|
|
29
|
-
// web-only
|
|
30
|
-
ussel: "userSelect",
|
|
31
|
-
cur: "cursor",
|
|
32
|
-
// tamagui
|
|
33
|
-
pe: "pointerEvents",
|
|
34
|
-
// text
|
|
35
|
-
col: "color",
|
|
36
|
-
ff: "fontFamily",
|
|
37
|
-
fos: "fontSize",
|
|
38
|
-
fost: "fontStyle",
|
|
39
|
-
fow: "fontWeight",
|
|
40
|
-
ls: "letterSpacing",
|
|
41
|
-
lh: "lineHeight",
|
|
42
|
-
ta: "textAlign",
|
|
43
|
-
tt: "textTransform",
|
|
44
|
-
ww: "wordWrap",
|
|
45
|
-
// view
|
|
46
|
-
ac: "alignContent",
|
|
47
|
-
ai: "alignItems",
|
|
48
|
-
als: "alignSelf",
|
|
49
|
-
b: "bottom",
|
|
50
|
-
bg: "backgroundColor",
|
|
51
|
-
bbc: "borderBottomColor",
|
|
52
|
-
bblr: "borderBottomLeftRadius",
|
|
53
|
-
bbrr: "borderBottomRightRadius",
|
|
54
|
-
bbw: "borderBottomWidth",
|
|
55
|
-
blc: "borderLeftColor",
|
|
56
|
-
blw: "borderLeftWidth",
|
|
57
|
-
bc: "borderColor",
|
|
58
|
-
br: "borderRadius",
|
|
59
|
-
bs: "borderStyle",
|
|
60
|
-
brw: "borderRightWidth",
|
|
61
|
-
brc: "borderRightColor",
|
|
62
|
-
btc: "borderTopColor",
|
|
63
|
-
btlr: "borderTopLeftRadius",
|
|
64
|
-
btrr: "borderTopRightRadius",
|
|
65
|
-
btw: "borderTopWidth",
|
|
66
|
-
bw: "borderWidth",
|
|
67
|
-
dsp: "display",
|
|
68
|
-
f: "flex",
|
|
69
|
-
fb: "flexBasis",
|
|
70
|
-
fd: "flexDirection",
|
|
71
|
-
fg: "flexGrow",
|
|
72
|
-
fs: "flexShrink",
|
|
73
|
-
fw: "flexWrap",
|
|
74
|
-
h: "height",
|
|
75
|
-
jc: "justifyContent",
|
|
76
|
-
l: "left",
|
|
77
|
-
m: "margin",
|
|
78
|
-
mah: "maxHeight",
|
|
79
|
-
maw: "maxWidth",
|
|
80
|
-
mb: "marginBottom",
|
|
81
|
-
mih: "minHeight",
|
|
82
|
-
miw: "minWidth",
|
|
83
|
-
ml: "marginLeft",
|
|
84
|
-
mr: "marginRight",
|
|
85
|
-
mt: "marginTop",
|
|
86
|
-
mx: "marginHorizontal",
|
|
87
|
-
my: "marginVertical",
|
|
88
|
-
o: "opacity",
|
|
89
|
-
ov: "overflow",
|
|
90
|
-
p: "padding",
|
|
91
|
-
pb: "paddingBottom",
|
|
92
|
-
pl: "paddingLeft",
|
|
93
|
-
pos: "position",
|
|
94
|
-
pr: "paddingRight",
|
|
95
|
-
pt: "paddingTop",
|
|
96
|
-
px: "paddingHorizontal",
|
|
97
|
-
py: "paddingVertical",
|
|
98
|
-
r: "right",
|
|
99
|
-
shac: "shadowColor",
|
|
100
|
-
shar: "shadowRadius",
|
|
101
|
-
shof: "shadowOffset",
|
|
102
|
-
shop: "shadowOpacity",
|
|
103
|
-
t: "top",
|
|
104
|
-
w: "width",
|
|
105
|
-
zi: "zIndex"
|
|
106
|
-
};
|
|
107
|
-
shorthands.bls = "borderLeftStyle";
|
|
108
|
-
shorthands.brs = "borderRightStyle";
|
|
109
|
-
shorthands.bts = "borderTopStyle";
|
|
110
|
-
shorthands.bbs = "borderBottomStyle";
|
|
111
|
-
shorthands.bxs = "boxSizing";
|
|
112
|
-
shorthands.bxsh = "boxShadow";
|
|
113
|
-
shorthands.ox = "overflowX";
|
|
114
|
-
shorthands.oy = "overflowY";
|
|
115
|
-
//# sourceMappingURL=v2.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","v2_exports","__export","shorthands","module","exports","ussel","cur","pe","col","ff","fos","fost","fow","ls","lh","ta","tt","ww","ac","ai","als","b","bg","bbc","bblr","bbrr","bbw","blc","blw","bc","br","bs","brw","brc","btc","btlr","btrr","btw","bw","dsp","f","fb","fd","fg","fs","fw","h","jc","l","m","mah","maw","mb","mih","miw","ml","mr","mt","mx","my","o","ov","p","pb","pl","pos","pr","pt","px","py","r","shac","shar","shof","shop","t","w","zi","bls","brs","bts","b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ACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAG;EACHC,CAAA,WAAI;EACJC,EAAA,EAAG;EACHC,CAAA,WAAI;EACJC,EAAA,EAAI;EACJC,EAAA,eAAK;EACLC,GAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAG;EACHC,CAAA,SAAM;EACNC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,IAAG;EACHC,CAAA,EAAG;EACHC,CAAA,SAAI;EACNC,EAAA;AAGA;AACA3E,UAAA,CAAW4E,GAAA,GAAS;AACpB5E,UAAA,CAAW6E,GAAA,GAAS;AACpB7E,UAAA,CAAW8E,GAAA,GAAS;AACpB9E,UAAA,CAAW+E,GAAA,GAAS;AACpB/E,UAAA,CAAWgF,GAAA,cAAU;AACrBhF,UAAA,CAAWiF,IAAA,GAAQ;AACnBjF,UAAA,CAAWkF,EAAA,GAAQ","ignoreList":[]}
|
package/dist/cjs/v4.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var v4_exports = {};
|
|
16
|
-
__export(v4_exports, {
|
|
17
|
-
shorthands: () => shorthands
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(v4_exports);
|
|
20
|
-
const shorthands = {
|
|
21
|
-
// text
|
|
22
|
-
text: "textAlign",
|
|
23
|
-
// view
|
|
24
|
-
b: "bottom",
|
|
25
|
-
bg: "backgroundColor",
|
|
26
|
-
content: "alignContent",
|
|
27
|
-
grow: "flexGrow",
|
|
28
|
-
items: "alignItems",
|
|
29
|
-
justify: "justifyContent",
|
|
30
|
-
l: "left",
|
|
31
|
-
m: "margin",
|
|
32
|
-
maxH: "maxHeight",
|
|
33
|
-
maxW: "maxWidth",
|
|
34
|
-
mb: "marginBottom",
|
|
35
|
-
minH: "minHeight",
|
|
36
|
-
minW: "minWidth",
|
|
37
|
-
ml: "marginLeft",
|
|
38
|
-
mr: "marginRight",
|
|
39
|
-
mt: "marginTop",
|
|
40
|
-
mx: "marginHorizontal",
|
|
41
|
-
my: "marginVertical",
|
|
42
|
-
p: "padding",
|
|
43
|
-
pb: "paddingBottom",
|
|
44
|
-
pl: "paddingLeft",
|
|
45
|
-
pr: "paddingRight",
|
|
46
|
-
pt: "paddingTop",
|
|
47
|
-
px: "paddingHorizontal",
|
|
48
|
-
py: "paddingVertical",
|
|
49
|
-
r: "right",
|
|
50
|
-
rounded: "borderRadius",
|
|
51
|
-
select: "userSelect",
|
|
52
|
-
self: "alignSelf",
|
|
53
|
-
shrink: "flexShrink",
|
|
54
|
-
t: "top",
|
|
55
|
-
z: "zIndex"
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=v4.js.map
|
package/dist/cjs/v4.js.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/v4.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,aAA8B;AAAA;AAAA,EAEzC,MAAM;AAAA;AAAA,EAGN,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AAAA,EACN,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,GAAG;AAAA,EACH,GAAG;AACL;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|