@tamagui/shorthands 1.137.2 → 1.138.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 +1 -1
- package/dist/cjs/v4.cjs +1 -11
- package/dist/cjs/v4.js +0 -44
- package/dist/cjs/v4.js.map +1 -1
- package/dist/cjs/v4.native.js +0 -10
- package/dist/cjs/v4.native.js.map +1 -1
- package/dist/esm/v4.js +0 -44
- package/dist/esm/v4.js.map +1 -1
- package/dist/esm/v4.mjs +0 -10
- package/dist/esm/v4.mjs.map +1 -1
- package/dist/esm/v4.native.js +0 -10
- package/dist/esm/v4.native.js.map +1 -1
- package/package.json +3 -3
- package/src/v4.ts +0 -50
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
built @tamagui/shorthands in
|
|
1
|
+
built @tamagui/shorthands in 516 ms
|
package/dist/cjs/v4.cjs
CHANGED
|
@@ -59,14 +59,4 @@ const shorthands = {
|
|
|
59
59
|
shrink: "flexShrink",
|
|
60
60
|
t: "top",
|
|
61
61
|
z: "zIndex"
|
|
62
|
-
};
|
|
63
|
-
const nonCompilerShorthands = [["fd", "flexDirection"], ["fb", "flexBasis"], ["bblr", "borderBottomLeftRadius"], ["bbrr", "borderBottomRightRadius"], ["fwr", "flexWrap"], ["col", "color"], ["ff", "fontFamily"], ["fst", "fontStyle"], ["tr", "transform"], ["tt", "textTransform"], ["td", "textDecorationLine"], ["va", "verticalAlign"], ["ws", "whiteSpace"],
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
["wb", "wordBreak"], ["ww", "wordWrap"], ["brc", "borderRightColor"], ["brw", "borderRightWidth"], ["bs", "borderStyle"], ["btc", "borderTopColor"], ["btlr", "borderTopLeftRadius"], ["btrr", "borderTopRightRadius"], ["btw", "borderTopWidth"], ["bw", "borderWidth"], ["o", "opacity"], ["cur", "cursor"], ["pe", "pointerEvents"], ["ov", "overflow"], ["pos", "position"], ["dsp", "display"], ["fw", "fontWeight"], ["fs", "fontSize"], ["ls", "letterSpacing"], ["lh", "lineHeight"],
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
["bxs", "boxSizing"], ["bxsh", "boxShadow"],
|
|
68
|
-
// @ts-ignore
|
|
69
|
-
["ox", "overflowX"],
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
["oy", "overflowY"]];
|
|
72
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
62
|
+
};
|
package/dist/cjs/v4.js
CHANGED
|
@@ -54,48 +54,4 @@ const shorthands = {
|
|
|
54
54
|
t: "top",
|
|
55
55
|
z: "zIndex"
|
|
56
56
|
};
|
|
57
|
-
const nonCompilerShorthands = [
|
|
58
|
-
["fd", "flexDirection"],
|
|
59
|
-
["fb", "flexBasis"],
|
|
60
|
-
["bblr", "borderBottomLeftRadius"],
|
|
61
|
-
["bbrr", "borderBottomRightRadius"],
|
|
62
|
-
["fwr", "flexWrap"],
|
|
63
|
-
["col", "color"],
|
|
64
|
-
["ff", "fontFamily"],
|
|
65
|
-
["fst", "fontStyle"],
|
|
66
|
-
["tr", "transform"],
|
|
67
|
-
["tt", "textTransform"],
|
|
68
|
-
["td", "textDecorationLine"],
|
|
69
|
-
["va", "verticalAlign"],
|
|
70
|
-
["ws", "whiteSpace"],
|
|
71
|
-
// @ts-ignore
|
|
72
|
-
["wb", "wordBreak"],
|
|
73
|
-
["ww", "wordWrap"],
|
|
74
|
-
["brc", "borderRightColor"],
|
|
75
|
-
["brw", "borderRightWidth"],
|
|
76
|
-
["bs", "borderStyle"],
|
|
77
|
-
["btc", "borderTopColor"],
|
|
78
|
-
["btlr", "borderTopLeftRadius"],
|
|
79
|
-
["btrr", "borderTopRightRadius"],
|
|
80
|
-
["btw", "borderTopWidth"],
|
|
81
|
-
["bw", "borderWidth"],
|
|
82
|
-
["o", "opacity"],
|
|
83
|
-
["cur", "cursor"],
|
|
84
|
-
["pe", "pointerEvents"],
|
|
85
|
-
["ov", "overflow"],
|
|
86
|
-
["pos", "position"],
|
|
87
|
-
["dsp", "display"],
|
|
88
|
-
["fw", "fontWeight"],
|
|
89
|
-
["fs", "fontSize"],
|
|
90
|
-
["ls", "letterSpacing"],
|
|
91
|
-
["lh", "lineHeight"],
|
|
92
|
-
// @ts-ignore
|
|
93
|
-
["bxs", "boxSizing"],
|
|
94
|
-
["bxsh", "boxShadow"],
|
|
95
|
-
// @ts-ignore
|
|
96
|
-
["ox", "overflowX"],
|
|
97
|
-
// @ts-ignore
|
|
98
|
-
["oy", "overflowY"]
|
|
99
|
-
];
|
|
100
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
101
57
|
//# sourceMappingURL=v4.js.map
|
package/dist/cjs/v4.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
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;
|
|
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
5
|
"names": []
|
|
6
6
|
}
|
package/dist/cjs/v4.native.js
CHANGED
|
@@ -62,14 +62,4 @@ var shorthands = {
|
|
|
62
62
|
t: "top",
|
|
63
63
|
z: "zIndex"
|
|
64
64
|
};
|
|
65
|
-
var nonCompilerShorthands = [["fd", "flexDirection"], ["fb", "flexBasis"], ["bblr", "borderBottomLeftRadius"], ["bbrr", "borderBottomRightRadius"], ["fwr", "flexWrap"], ["col", "color"], ["ff", "fontFamily"], ["fst", "fontStyle"], ["tr", "transform"], ["tt", "textTransform"], ["td", "textDecorationLine"], ["va", "verticalAlign"], ["ws", "whiteSpace"],
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
["wb", "wordBreak"], ["ww", "wordWrap"], ["brc", "borderRightColor"], ["brw", "borderRightWidth"], ["bs", "borderStyle"], ["btc", "borderTopColor"], ["btlr", "borderTopLeftRadius"], ["btrr", "borderTopRightRadius"], ["btw", "borderTopWidth"], ["bw", "borderWidth"], ["o", "opacity"], ["cur", "cursor"], ["pe", "pointerEvents"], ["ov", "overflow"], ["pos", "position"], ["dsp", "display"], ["fw", "fontWeight"], ["fs", "fontSize"], ["ls", "letterSpacing"], ["lh", "lineHeight"],
|
|
68
|
-
// @ts-ignore
|
|
69
|
-
["bxs", "boxSizing"], ["bxsh", "boxShadow"],
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
["ox", "overflowX"],
|
|
72
|
-
// @ts-ignore
|
|
73
|
-
["oy", "overflowY"]];
|
|
74
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
75
65
|
//# sourceMappingURL=v4.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","v4_exports","__export","shorthands","module","exports","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","v4_exports","__export","shorthands","module","exports","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"],"sources":["../../src/v4.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,UAAA;AAAAC,QAAA,CAAAD,UAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAEOC,MAAM,CAAAC,OAAA,GAAAT,YAA8B,CAAAK,UAAA;AAAA,IAAAE,UAAA;EAEzC;EAAMG,IAAA;EAGN;EACAC,CAAA,UAAI;EACJC,EAAA,mBAAS;EACTC,OAAM;EACNC,IAAA,YAAO;EACPC,KAAA,cAAS;EACTC,OAAG;EACHC,CAAA,EAAG;EACHC,CAAA,UAAM;EACNC,IAAA,EAAM;EACNC,IAAI;EACJC,EAAA,gBAAM;EACNC,IAAA,EAAM;EACNC,IAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAG;EACHC,CAAA,WAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAG;EACHC,CAAA,SAAS;EACTC,OAAA,EAAQ;EACRC,MAAM;EACNC,IAAA,aAAQ;EACRC,MAAG;EACHC,CAAA,EAAG;EACLC,CAAA","ignoreList":[]}
|
package/dist/esm/v4.js
CHANGED
|
@@ -35,50 +35,6 @@ const shorthands = {
|
|
|
35
35
|
t: "top",
|
|
36
36
|
z: "zIndex"
|
|
37
37
|
};
|
|
38
|
-
const nonCompilerShorthands = [
|
|
39
|
-
["fd", "flexDirection"],
|
|
40
|
-
["fb", "flexBasis"],
|
|
41
|
-
["bblr", "borderBottomLeftRadius"],
|
|
42
|
-
["bbrr", "borderBottomRightRadius"],
|
|
43
|
-
["fwr", "flexWrap"],
|
|
44
|
-
["col", "color"],
|
|
45
|
-
["ff", "fontFamily"],
|
|
46
|
-
["fst", "fontStyle"],
|
|
47
|
-
["tr", "transform"],
|
|
48
|
-
["tt", "textTransform"],
|
|
49
|
-
["td", "textDecorationLine"],
|
|
50
|
-
["va", "verticalAlign"],
|
|
51
|
-
["ws", "whiteSpace"],
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
["wb", "wordBreak"],
|
|
54
|
-
["ww", "wordWrap"],
|
|
55
|
-
["brc", "borderRightColor"],
|
|
56
|
-
["brw", "borderRightWidth"],
|
|
57
|
-
["bs", "borderStyle"],
|
|
58
|
-
["btc", "borderTopColor"],
|
|
59
|
-
["btlr", "borderTopLeftRadius"],
|
|
60
|
-
["btrr", "borderTopRightRadius"],
|
|
61
|
-
["btw", "borderTopWidth"],
|
|
62
|
-
["bw", "borderWidth"],
|
|
63
|
-
["o", "opacity"],
|
|
64
|
-
["cur", "cursor"],
|
|
65
|
-
["pe", "pointerEvents"],
|
|
66
|
-
["ov", "overflow"],
|
|
67
|
-
["pos", "position"],
|
|
68
|
-
["dsp", "display"],
|
|
69
|
-
["fw", "fontWeight"],
|
|
70
|
-
["fs", "fontSize"],
|
|
71
|
-
["ls", "letterSpacing"],
|
|
72
|
-
["lh", "lineHeight"],
|
|
73
|
-
// @ts-ignore
|
|
74
|
-
["bxs", "boxSizing"],
|
|
75
|
-
["bxsh", "boxShadow"],
|
|
76
|
-
// @ts-ignore
|
|
77
|
-
["ox", "overflowX"],
|
|
78
|
-
// @ts-ignore
|
|
79
|
-
["oy", "overflowY"]
|
|
80
|
-
];
|
|
81
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
82
38
|
export {
|
|
83
39
|
shorthands
|
|
84
40
|
};
|
package/dist/esm/v4.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/v4.ts"],
|
|
4
|
-
"mappings": "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;
|
|
4
|
+
"mappings": "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
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/v4.mjs
CHANGED
|
@@ -35,15 +35,5 @@ const shorthands = {
|
|
|
35
35
|
t: "top",
|
|
36
36
|
z: "zIndex"
|
|
37
37
|
};
|
|
38
|
-
const nonCompilerShorthands = [["fd", "flexDirection"], ["fb", "flexBasis"], ["bblr", "borderBottomLeftRadius"], ["bbrr", "borderBottomRightRadius"], ["fwr", "flexWrap"], ["col", "color"], ["ff", "fontFamily"], ["fst", "fontStyle"], ["tr", "transform"], ["tt", "textTransform"], ["td", "textDecorationLine"], ["va", "verticalAlign"], ["ws", "whiteSpace"],
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
["wb", "wordBreak"], ["ww", "wordWrap"], ["brc", "borderRightColor"], ["brw", "borderRightWidth"], ["bs", "borderStyle"], ["btc", "borderTopColor"], ["btlr", "borderTopLeftRadius"], ["btrr", "borderTopRightRadius"], ["btw", "borderTopWidth"], ["bw", "borderWidth"], ["o", "opacity"], ["cur", "cursor"], ["pe", "pointerEvents"], ["ov", "overflow"], ["pos", "position"], ["dsp", "display"], ["fw", "fontWeight"], ["fs", "fontSize"], ["ls", "letterSpacing"], ["lh", "lineHeight"],
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
["bxs", "boxSizing"], ["bxsh", "boxShadow"],
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
["ox", "overflowX"],
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
["oy", "overflowY"]];
|
|
47
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
48
38
|
export { shorthands };
|
|
49
39
|
//# sourceMappingURL=v4.mjs.map
|
package/dist/esm/v4.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["shorthands","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"
|
|
1
|
+
{"version":3,"names":["shorthands","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"],"sources":["../../src/v4.ts"],"sourcesContent":[null],"mappings":"AAEO,MAAMA,UAAA,GAA8B;EAAA;EAEzCC,IAAA,EAAM;EAAA;EAGNC,CAAA,EAAG;EACHC,EAAA,EAAI;EACJC,OAAA,EAAS;EACTC,IAAA,EAAM;EACNC,KAAA,EAAO;EACPC,OAAA,EAAS;EACTC,CAAA,EAAG;EACHC,CAAA,EAAG;EACHC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,EAAA,EAAI;EACJC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,CAAA,EAAG;EACHC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,CAAA,EAAG;EACHC,OAAA,EAAS;EACTC,MAAA,EAAQ;EACRC,IAAA,EAAM;EACNC,MAAA,EAAQ;EACRC,CAAA,EAAG;EACHC,CAAA,EAAG;AACL","ignoreList":[]}
|
package/dist/esm/v4.native.js
CHANGED
|
@@ -35,15 +35,5 @@ var shorthands = {
|
|
|
35
35
|
t: "top",
|
|
36
36
|
z: "zIndex"
|
|
37
37
|
};
|
|
38
|
-
var nonCompilerShorthands = [["fd", "flexDirection"], ["fb", "flexBasis"], ["bblr", "borderBottomLeftRadius"], ["bbrr", "borderBottomRightRadius"], ["fwr", "flexWrap"], ["col", "color"], ["ff", "fontFamily"], ["fst", "fontStyle"], ["tr", "transform"], ["tt", "textTransform"], ["td", "textDecorationLine"], ["va", "verticalAlign"], ["ws", "whiteSpace"],
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
["wb", "wordBreak"], ["ww", "wordWrap"], ["brc", "borderRightColor"], ["brw", "borderRightWidth"], ["bs", "borderStyle"], ["btc", "borderTopColor"], ["btlr", "borderTopLeftRadius"], ["btrr", "borderTopRightRadius"], ["btw", "borderTopWidth"], ["bw", "borderWidth"], ["o", "opacity"], ["cur", "cursor"], ["pe", "pointerEvents"], ["ov", "overflow"], ["pos", "position"], ["dsp", "display"], ["fw", "fontWeight"], ["fs", "fontSize"], ["ls", "letterSpacing"], ["lh", "lineHeight"],
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
["bxs", "boxSizing"], ["bxsh", "boxShadow"],
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
["ox", "overflowX"],
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
["oy", "overflowY"]];
|
|
47
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands));
|
|
48
38
|
export { shorthands };
|
|
49
39
|
//# sourceMappingURL=v4.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["shorthands","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"
|
|
1
|
+
{"version":3,"names":["shorthands","text","b","bg","content","grow","items","justify","l","m","maxH","maxW","mb","minH","minW","ml","mr","mt","mx","my","p","pb","pl","pr","pt","px","py","r","rounded","select","self","shrink","t","z"],"sources":["../../src/v4.ts"],"sourcesContent":[null],"mappings":"AAEO,IAAAA,UAAM;EAA8B;EAEzCC,IAAA,EAAM;EAAA;EAGNC,CAAA,EAAG;EACHC,EAAA,EAAI;EACJC,OAAA,EAAS;EACTC,IAAA,EAAM;EACNC,KAAA,EAAO;EACPC,OAAA,EAAS;EACTC,CAAA,EAAG;EACHC,CAAA,EAAG;EACHC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,EAAA,EAAI;EACJC,IAAA,EAAM;EACNC,IAAA,EAAM;EACNC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,CAAA,EAAG;EACHC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,EAAA,EAAI;EACJC,CAAA,EAAG;EACHC,OAAA,EAAS;EACTC,MAAA,EAAQ;EACRC,IAAA,EAAM;EACNC,MAAA,EAAQ;EACRC,CAAA,EAAG;EACHC,CAAA,EAAG;AACL","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/shorthands",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@tamagui/web": "1.
|
|
49
|
+
"@tamagui/web": "1.138.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@tamagui/build": "1.
|
|
52
|
+
"@tamagui/build": "1.138.0"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
package/src/v4.ts
CHANGED
|
@@ -46,53 +46,3 @@ function createShorthands<A extends Record<string, keyof TextStyle>>(a: A) {
|
|
|
46
46
|
|
|
47
47
|
export type Shorthands = typeof shorthands
|
|
48
48
|
export type ShorthandKeys = keyof Shorthands
|
|
49
|
-
|
|
50
|
-
type NonDefinedShorthandValues = Exclude<keyof TextStyle, Shorthands[ShorthandKeys]>
|
|
51
|
-
|
|
52
|
-
// we want no types but compiler/runtime uses it for short classname generation
|
|
53
|
-
const nonCompilerShorthands: [string, NonDefinedShorthandValues][] = [
|
|
54
|
-
['fd', 'flexDirection'],
|
|
55
|
-
['fb', 'flexBasis'],
|
|
56
|
-
['bblr', 'borderBottomLeftRadius'],
|
|
57
|
-
['bbrr', 'borderBottomRightRadius'],
|
|
58
|
-
['fwr', 'flexWrap'],
|
|
59
|
-
['col', 'color'],
|
|
60
|
-
['ff', 'fontFamily'],
|
|
61
|
-
['fst', 'fontStyle'],
|
|
62
|
-
['tr', 'transform'],
|
|
63
|
-
['tt', 'textTransform'],
|
|
64
|
-
['td', 'textDecorationLine'],
|
|
65
|
-
['va', 'verticalAlign'],
|
|
66
|
-
['ws', 'whiteSpace'],
|
|
67
|
-
// @ts-ignore
|
|
68
|
-
['wb', 'wordBreak'],
|
|
69
|
-
['ww', 'wordWrap'],
|
|
70
|
-
['brc', 'borderRightColor'],
|
|
71
|
-
['brw', 'borderRightWidth'],
|
|
72
|
-
['bs', 'borderStyle'],
|
|
73
|
-
['btc', 'borderTopColor'],
|
|
74
|
-
['btlr', 'borderTopLeftRadius'],
|
|
75
|
-
['btrr', 'borderTopRightRadius'],
|
|
76
|
-
['btw', 'borderTopWidth'],
|
|
77
|
-
['bw', 'borderWidth'],
|
|
78
|
-
['o', 'opacity'],
|
|
79
|
-
['cur', 'cursor'],
|
|
80
|
-
['pe', 'pointerEvents'],
|
|
81
|
-
['ov', 'overflow'],
|
|
82
|
-
['pos', 'position'],
|
|
83
|
-
['dsp', 'display'],
|
|
84
|
-
['fw', 'fontWeight'],
|
|
85
|
-
['fs', 'fontSize'],
|
|
86
|
-
['ls', 'letterSpacing'],
|
|
87
|
-
['lh', 'lineHeight'],
|
|
88
|
-
// @ts-ignore
|
|
89
|
-
['bxs', 'boxSizing'],
|
|
90
|
-
['bxsh', 'boxShadow'],
|
|
91
|
-
// @ts-ignore
|
|
92
|
-
['ox', 'overflowX'],
|
|
93
|
-
// @ts-ignore
|
|
94
|
-
['oy', 'overflowY'],
|
|
95
|
-
]
|
|
96
|
-
|
|
97
|
-
// Merge the non-compiler shorthands into the main object
|
|
98
|
-
Object.assign(shorthands, Object.fromEntries(nonCompilerShorthands))
|