@tamagui/shorthands 1.116.1 → 1.116.2
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.
|
@@ -0,0 +1,108 @@
|
|
|
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 src_exports = {};
|
|
16
|
+
__export(src_exports, {
|
|
17
|
+
shorthands: () => shorthands
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(src_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
|
+
//# sourceMappingURL=index.js.map
|
package/dist/cjs/v2.js
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/shorthands",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.2",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@tamagui/build": "1.116.
|
|
43
|
+
"@tamagui/build": "1.116.2"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
File without changes
|
|
File without changes
|