@tamagui/shorthands 2.7.7 → 3.0.0-beta.643.1
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/dist/cjs/index.cjs +89 -96
- package/dist/cjs/index.native.cjs +111 -0
- package/dist/cjs/index.native.js +89 -95
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/v4.cjs +49 -54
- package/dist/cjs/v4.native.cjs +64 -0
- package/dist/cjs/v4.native.js +49 -53
- package/dist/cjs/v4.native.js.map +1 -1
- package/dist/cjs/v5.cjs +49 -54
- package/dist/cjs/v5.native.cjs +64 -0
- package/dist/cjs/v5.native.js +49 -53
- package/dist/cjs/v5.native.js.map +1 -1
- package/dist/cjs/v6.cjs +64 -0
- package/dist/cjs/v6.native.cjs +66 -0
- package/dist/cjs/v6.native.js +68 -0
- package/dist/cjs/v6.native.js.map +1 -0
- package/dist/esm/index.js +75 -78
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +75 -78
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +75 -78
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/v4.mjs +35 -36
- package/dist/esm/v4.mjs.map +1 -1
- package/dist/esm/v4.native.js +35 -36
- package/dist/esm/v4.native.js.map +1 -1
- package/dist/esm/v5.mjs +35 -36
- package/dist/esm/v5.mjs.map +1 -1
- package/dist/esm/v5.native.js +35 -36
- package/dist/esm/v5.native.js.map +1 -1
- package/dist/esm/v6.mjs +43 -0
- package/dist/esm/v6.mjs.map +1 -0
- package/dist/esm/v6.native.js +43 -0
- package/dist/esm/v6.native.js.map +1 -0
- package/package.json +25 -3
- package/src/v6.ts +51 -0
- package/types/index.d.ts +74 -74
- package/types/index.d.ts.map +1 -1
- package/types/v6.d.ts +40 -0
- package/types/v6.d.ts.map +1 -0
- package/v6.cjs +1 -0
- package/v6.d.ts +1 -0
- package/.turbo/turbo-build.log +0 -2
- package/tsconfig.json +0 -18
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,109 +1,102 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
10
11
|
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
19
20
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
22
|
var index_exports = {};
|
|
24
|
-
__export(index_exports, {
|
|
25
|
-
shorthands: () => shorthands
|
|
26
|
-
});
|
|
23
|
+
__export(index_exports, { shorthands: () => shorthands });
|
|
27
24
|
module.exports = __toCommonJS(index_exports);
|
|
28
25
|
const shorthands = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
shop: "shadowOpacity",
|
|
104
|
-
t: "top",
|
|
105
|
-
w: "width",
|
|
106
|
-
zi: "zIndex"
|
|
26
|
+
ussel: "userSelect",
|
|
27
|
+
cur: "cursor",
|
|
28
|
+
pe: "pointerEvents",
|
|
29
|
+
col: "color",
|
|
30
|
+
ff: "fontFamily",
|
|
31
|
+
fos: "fontSize",
|
|
32
|
+
fost: "fontStyle",
|
|
33
|
+
fow: "fontWeight",
|
|
34
|
+
ls: "letterSpacing",
|
|
35
|
+
lh: "lineHeight",
|
|
36
|
+
ta: "textAlign",
|
|
37
|
+
tt: "textTransform",
|
|
38
|
+
ww: "wordWrap",
|
|
39
|
+
ac: "alignContent",
|
|
40
|
+
ai: "alignItems",
|
|
41
|
+
als: "alignSelf",
|
|
42
|
+
b: "bottom",
|
|
43
|
+
bc: "backgroundColor",
|
|
44
|
+
bg: "backgroundColor",
|
|
45
|
+
bbc: "borderBottomColor",
|
|
46
|
+
bblr: "borderBottomLeftRadius",
|
|
47
|
+
bbrr: "borderBottomRightRadius",
|
|
48
|
+
bbw: "borderBottomWidth",
|
|
49
|
+
blc: "borderLeftColor",
|
|
50
|
+
blw: "borderLeftWidth",
|
|
51
|
+
boc: "borderColor",
|
|
52
|
+
br: "borderRadius",
|
|
53
|
+
bs: "borderStyle",
|
|
54
|
+
brw: "borderRightWidth",
|
|
55
|
+
brc: "borderRightColor",
|
|
56
|
+
btc: "borderTopColor",
|
|
57
|
+
btlr: "borderTopLeftRadius",
|
|
58
|
+
btrr: "borderTopRightRadius",
|
|
59
|
+
btw: "borderTopWidth",
|
|
60
|
+
bw: "borderWidth",
|
|
61
|
+
dsp: "display",
|
|
62
|
+
f: "flex",
|
|
63
|
+
fb: "flexBasis",
|
|
64
|
+
fd: "flexDirection",
|
|
65
|
+
fg: "flexGrow",
|
|
66
|
+
fs: "flexShrink",
|
|
67
|
+
fw: "flexWrap",
|
|
68
|
+
h: "height",
|
|
69
|
+
jc: "justifyContent",
|
|
70
|
+
l: "left",
|
|
71
|
+
m: "margin",
|
|
72
|
+
mah: "maxHeight",
|
|
73
|
+
maw: "maxWidth",
|
|
74
|
+
mb: "marginBottom",
|
|
75
|
+
mih: "minHeight",
|
|
76
|
+
miw: "minWidth",
|
|
77
|
+
ml: "marginLeft",
|
|
78
|
+
mr: "marginRight",
|
|
79
|
+
mt: "marginTop",
|
|
80
|
+
mx: "marginHorizontal",
|
|
81
|
+
my: "marginVertical",
|
|
82
|
+
o: "opacity",
|
|
83
|
+
ov: "overflow",
|
|
84
|
+
p: "padding",
|
|
85
|
+
pb: "paddingBottom",
|
|
86
|
+
pl: "paddingLeft",
|
|
87
|
+
pos: "position",
|
|
88
|
+
pr: "paddingRight",
|
|
89
|
+
pt: "paddingTop",
|
|
90
|
+
px: "paddingHorizontal",
|
|
91
|
+
py: "paddingVertical",
|
|
92
|
+
r: "right",
|
|
93
|
+
shac: "shadowColor",
|
|
94
|
+
shar: "shadowRadius",
|
|
95
|
+
shof: "shadowOffset",
|
|
96
|
+
shop: "shadowOpacity",
|
|
97
|
+
t: "top",
|
|
98
|
+
w: "width",
|
|
99
|
+
zi: "zIndex"
|
|
107
100
|
};
|
|
108
101
|
shorthands["bls"] = "borderLeftStyle";
|
|
109
102
|
shorthands["brs"] = "borderRightStyle";
|
|
@@ -113,4 +106,4 @@ shorthands["bxs"] = "boxSizing";
|
|
|
113
106
|
shorthands["bxsh"] = "boxShadow";
|
|
114
107
|
shorthands["ox"] = "overflowX";
|
|
115
108
|
shorthands["oy"] = "overflowY";
|
|
116
|
-
shorthands["ol"] = "outline";
|
|
109
|
+
shorthands["ol"] = "outline";
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var index_exports = {};
|
|
25
|
+
__export(index_exports, { shorthands: () => shorthands });
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
|
+
var shorthands = {
|
|
28
|
+
ussel: "userSelect",
|
|
29
|
+
cur: "cursor",
|
|
30
|
+
pe: "pointerEvents",
|
|
31
|
+
col: "color",
|
|
32
|
+
ff: "fontFamily",
|
|
33
|
+
fos: "fontSize",
|
|
34
|
+
fost: "fontStyle",
|
|
35
|
+
fow: "fontWeight",
|
|
36
|
+
ls: "letterSpacing",
|
|
37
|
+
lh: "lineHeight",
|
|
38
|
+
ta: "textAlign",
|
|
39
|
+
tt: "textTransform",
|
|
40
|
+
ww: "wordWrap",
|
|
41
|
+
ac: "alignContent",
|
|
42
|
+
ai: "alignItems",
|
|
43
|
+
als: "alignSelf",
|
|
44
|
+
b: "bottom",
|
|
45
|
+
bc: "backgroundColor",
|
|
46
|
+
bg: "backgroundColor",
|
|
47
|
+
bbc: "borderBottomColor",
|
|
48
|
+
bblr: "borderBottomLeftRadius",
|
|
49
|
+
bbrr: "borderBottomRightRadius",
|
|
50
|
+
bbw: "borderBottomWidth",
|
|
51
|
+
blc: "borderLeftColor",
|
|
52
|
+
blw: "borderLeftWidth",
|
|
53
|
+
boc: "borderColor",
|
|
54
|
+
br: "borderRadius",
|
|
55
|
+
bs: "borderStyle",
|
|
56
|
+
brw: "borderRightWidth",
|
|
57
|
+
brc: "borderRightColor",
|
|
58
|
+
btc: "borderTopColor",
|
|
59
|
+
btlr: "borderTopLeftRadius",
|
|
60
|
+
btrr: "borderTopRightRadius",
|
|
61
|
+
btw: "borderTopWidth",
|
|
62
|
+
bw: "borderWidth",
|
|
63
|
+
dsp: "display",
|
|
64
|
+
f: "flex",
|
|
65
|
+
fb: "flexBasis",
|
|
66
|
+
fd: "flexDirection",
|
|
67
|
+
fg: "flexGrow",
|
|
68
|
+
fs: "flexShrink",
|
|
69
|
+
fw: "flexWrap",
|
|
70
|
+
h: "height",
|
|
71
|
+
jc: "justifyContent",
|
|
72
|
+
l: "left",
|
|
73
|
+
m: "margin",
|
|
74
|
+
mah: "maxHeight",
|
|
75
|
+
maw: "maxWidth",
|
|
76
|
+
mb: "marginBottom",
|
|
77
|
+
mih: "minHeight",
|
|
78
|
+
miw: "minWidth",
|
|
79
|
+
ml: "marginLeft",
|
|
80
|
+
mr: "marginRight",
|
|
81
|
+
mt: "marginTop",
|
|
82
|
+
mx: "marginHorizontal",
|
|
83
|
+
my: "marginVertical",
|
|
84
|
+
o: "opacity",
|
|
85
|
+
ov: "overflow",
|
|
86
|
+
p: "padding",
|
|
87
|
+
pb: "paddingBottom",
|
|
88
|
+
pl: "paddingLeft",
|
|
89
|
+
pos: "position",
|
|
90
|
+
pr: "paddingRight",
|
|
91
|
+
pt: "paddingTop",
|
|
92
|
+
px: "paddingHorizontal",
|
|
93
|
+
py: "paddingVertical",
|
|
94
|
+
r: "right",
|
|
95
|
+
shac: "shadowColor",
|
|
96
|
+
shar: "shadowRadius",
|
|
97
|
+
shof: "shadowOffset",
|
|
98
|
+
shop: "shadowOpacity",
|
|
99
|
+
t: "top",
|
|
100
|
+
w: "width",
|
|
101
|
+
zi: "zIndex"
|
|
102
|
+
};
|
|
103
|
+
shorthands["bls"] = "borderLeftStyle";
|
|
104
|
+
shorthands["brs"] = "borderRightStyle";
|
|
105
|
+
shorthands["bts"] = "borderTopStyle";
|
|
106
|
+
shorthands["bbs"] = "borderBottomStyle";
|
|
107
|
+
shorthands["bxs"] = "boxSizing";
|
|
108
|
+
shorthands["bxsh"] = "boxShadow";
|
|
109
|
+
shorthands["ox"] = "overflowX";
|
|
110
|
+
shorthands["oy"] = "overflowY";
|
|
111
|
+
shorthands["ol"] = "outline";
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -1,111 +1,104 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var index_exports = {};
|
|
26
|
-
__export(index_exports, {
|
|
27
|
-
shorthands: () => shorthands
|
|
28
|
-
});
|
|
25
|
+
__export(index_exports, { shorthands: () => shorthands });
|
|
29
26
|
module.exports = __toCommonJS(index_exports);
|
|
30
27
|
var shorthands = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
shop: "shadowOpacity",
|
|
106
|
-
t: "top",
|
|
107
|
-
w: "width",
|
|
108
|
-
zi: "zIndex"
|
|
28
|
+
ussel: "userSelect",
|
|
29
|
+
cur: "cursor",
|
|
30
|
+
pe: "pointerEvents",
|
|
31
|
+
col: "color",
|
|
32
|
+
ff: "fontFamily",
|
|
33
|
+
fos: "fontSize",
|
|
34
|
+
fost: "fontStyle",
|
|
35
|
+
fow: "fontWeight",
|
|
36
|
+
ls: "letterSpacing",
|
|
37
|
+
lh: "lineHeight",
|
|
38
|
+
ta: "textAlign",
|
|
39
|
+
tt: "textTransform",
|
|
40
|
+
ww: "wordWrap",
|
|
41
|
+
ac: "alignContent",
|
|
42
|
+
ai: "alignItems",
|
|
43
|
+
als: "alignSelf",
|
|
44
|
+
b: "bottom",
|
|
45
|
+
bc: "backgroundColor",
|
|
46
|
+
bg: "backgroundColor",
|
|
47
|
+
bbc: "borderBottomColor",
|
|
48
|
+
bblr: "borderBottomLeftRadius",
|
|
49
|
+
bbrr: "borderBottomRightRadius",
|
|
50
|
+
bbw: "borderBottomWidth",
|
|
51
|
+
blc: "borderLeftColor",
|
|
52
|
+
blw: "borderLeftWidth",
|
|
53
|
+
boc: "borderColor",
|
|
54
|
+
br: "borderRadius",
|
|
55
|
+
bs: "borderStyle",
|
|
56
|
+
brw: "borderRightWidth",
|
|
57
|
+
brc: "borderRightColor",
|
|
58
|
+
btc: "borderTopColor",
|
|
59
|
+
btlr: "borderTopLeftRadius",
|
|
60
|
+
btrr: "borderTopRightRadius",
|
|
61
|
+
btw: "borderTopWidth",
|
|
62
|
+
bw: "borderWidth",
|
|
63
|
+
dsp: "display",
|
|
64
|
+
f: "flex",
|
|
65
|
+
fb: "flexBasis",
|
|
66
|
+
fd: "flexDirection",
|
|
67
|
+
fg: "flexGrow",
|
|
68
|
+
fs: "flexShrink",
|
|
69
|
+
fw: "flexWrap",
|
|
70
|
+
h: "height",
|
|
71
|
+
jc: "justifyContent",
|
|
72
|
+
l: "left",
|
|
73
|
+
m: "margin",
|
|
74
|
+
mah: "maxHeight",
|
|
75
|
+
maw: "maxWidth",
|
|
76
|
+
mb: "marginBottom",
|
|
77
|
+
mih: "minHeight",
|
|
78
|
+
miw: "minWidth",
|
|
79
|
+
ml: "marginLeft",
|
|
80
|
+
mr: "marginRight",
|
|
81
|
+
mt: "marginTop",
|
|
82
|
+
mx: "marginHorizontal",
|
|
83
|
+
my: "marginVertical",
|
|
84
|
+
o: "opacity",
|
|
85
|
+
ov: "overflow",
|
|
86
|
+
p: "padding",
|
|
87
|
+
pb: "paddingBottom",
|
|
88
|
+
pl: "paddingLeft",
|
|
89
|
+
pos: "position",
|
|
90
|
+
pr: "paddingRight",
|
|
91
|
+
pt: "paddingTop",
|
|
92
|
+
px: "paddingHorizontal",
|
|
93
|
+
py: "paddingVertical",
|
|
94
|
+
r: "right",
|
|
95
|
+
shac: "shadowColor",
|
|
96
|
+
shar: "shadowRadius",
|
|
97
|
+
shof: "shadowOffset",
|
|
98
|
+
shop: "shadowOpacity",
|
|
99
|
+
t: "top",
|
|
100
|
+
w: "width",
|
|
101
|
+
zi: "zIndex"
|
|
109
102
|
};
|
|
110
103
|
shorthands["bls"] = "borderLeftStyle";
|
|
111
104
|
shorthands["brs"] = "borderRightStyle";
|
|
@@ -116,4 +109,5 @@ shorthands["bxsh"] = "boxShadow";
|
|
|
116
109
|
shorthands["ox"] = "overflowX";
|
|
117
110
|
shorthands["oy"] = "overflowY";
|
|
118
111
|
shorthands["ol"] = "outline";
|
|
112
|
+
|
|
119
113
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\n__export(index_exports, {\n shorthands: () => shorthands\n});\nmodule.exports = __toCommonJS(index_exports);\nvar shorthands = {\n // web-only\n ussel: \"userSelect\",\n cur: \"cursor\",\n // tamagui\n pe: \"pointerEvents\",\n // text\n col: \"color\",\n ff: \"fontFamily\",\n fos: \"fontSize\",\n fost: \"fontStyle\",\n fow: \"fontWeight\",\n ls: \"letterSpacing\",\n lh: \"lineHeight\",\n ta: \"textAlign\",\n tt: \"textTransform\",\n ww: \"wordWrap\",\n // view\n ac: \"alignContent\",\n ai: \"alignItems\",\n als: \"alignSelf\",\n b: \"bottom\",\n bc: \"backgroundColor\",\n bg: \"backgroundColor\",\n bbc: \"borderBottomColor\",\n bblr: \"borderBottomLeftRadius\",\n bbrr: \"borderBottomRightRadius\",\n bbw: \"borderBottomWidth\",\n blc: \"borderLeftColor\",\n blw: \"borderLeftWidth\",\n boc: \"borderColor\",\n br: \"borderRadius\",\n bs: \"borderStyle\",\n brw: \"borderRightWidth\",\n brc: \"borderRightColor\",\n btc: \"borderTopColor\",\n btlr: \"borderTopLeftRadius\",\n btrr: \"borderTopRightRadius\",\n btw: \"borderTopWidth\",\n bw: \"borderWidth\",\n dsp: \"display\",\n f: \"flex\",\n fb: \"flexBasis\",\n fd: \"flexDirection\",\n fg: \"flexGrow\",\n fs: \"flexShrink\",\n fw: \"flexWrap\",\n h: \"height\",\n jc: \"justifyContent\",\n l: \"left\",\n m: \"margin\",\n mah: \"maxHeight\",\n maw: \"maxWidth\",\n mb: \"marginBottom\",\n mih: \"minHeight\",\n miw: \"minWidth\",\n ml: \"marginLeft\",\n mr: \"marginRight\",\n mt: \"marginTop\",\n mx: \"marginHorizontal\",\n my: \"marginVertical\",\n o: \"opacity\",\n ov: \"overflow\",\n p: \"padding\",\n pb: \"paddingBottom\",\n pl: \"paddingLeft\",\n pos: \"position\",\n pr: \"paddingRight\",\n pt: \"paddingTop\",\n px: \"paddingHorizontal\",\n py: \"paddingVertical\",\n r: \"right\",\n shac: \"shadowColor\",\n shar: \"shadowRadius\",\n shof: \"shadowOffset\",\n shop: \"shadowOpacity\",\n t: \"top\",\n w: \"width\",\n zi: \"zIndex\"\n};\nshorthands[\"bls\"] = \"borderLeftStyle\";\nshorthands[\"brs\"] = \"borderRightStyle\";\nshorthands[\"bts\"] = \"borderTopStyle\";\nshorthands[\"bbs\"] = \"borderBottomStyle\";\nshorthands[\"bxs\"] = \"boxSizing\";\nshorthands[\"bxsh\"] = \"boxShadow\";\nshorthands[\"ox\"] = \"overflowX\";\nshorthands[\"oy\"] = \"overflowY\";\nshorthands[\"ol\"] = \"outline\";\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe,EACtB,kBAAkB,WACpB,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,aAAa;CAEf,OAAO;CACP,KAAK;CAEL,IAAI;CAEJ,KAAK;CACL,IAAI;CACJ,KAAK;CACL,MAAM;CACN,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CAEJ,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,MAAM;CACN,MAAM;CACN,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,KAAK;CACL,IAAI;CACJ,KAAK;CACL,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,GAAG;CACH,IAAI;CACJ,GAAG;CACH,GAAG;CACH,KAAK;CACL,KAAK;CACL,IAAI;CACJ,KAAK;CACL,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,GAAG;CACH,IAAI;CACJ,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,GAAG;CACH,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,GAAG;CACH,GAAG;CACH,IAAI;AACN;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ"}
|