@tamagui/shorthands 1.89.0 → 1.89.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.
@@ -0,0 +1,88 @@
1
+ const shorthands = {
2
+ // web-only
3
+ ussel: "userSelect",
4
+ cur: "cursor",
5
+ // tamagui
6
+ pe: "pointerEvents",
7
+ // text
8
+ col: "color",
9
+ ff: "fontFamily",
10
+ fos: "fontSize",
11
+ fost: "fontStyle",
12
+ fow: "fontWeight",
13
+ ls: "letterSpacing",
14
+ lh: "lineHeight",
15
+ ta: "textAlign",
16
+ tt: "textTransform",
17
+ ww: "wordWrap",
18
+ // view
19
+ ac: "alignContent",
20
+ ai: "alignItems",
21
+ als: "alignSelf",
22
+ b: "bottom",
23
+ bg: "backgroundColor",
24
+ bbc: "borderBottomColor",
25
+ bblr: "borderBottomLeftRadius",
26
+ bbrr: "borderBottomRightRadius",
27
+ bbw: "borderBottomWidth",
28
+ blc: "borderLeftColor",
29
+ blw: "borderLeftWidth",
30
+ bc: "borderColor",
31
+ br: "borderRadius",
32
+ bs: "borderStyle",
33
+ brw: "borderRightWidth",
34
+ brc: "borderRightColor",
35
+ btc: "borderTopColor",
36
+ btlr: "borderTopLeftRadius",
37
+ btrr: "borderTopRightRadius",
38
+ btw: "borderTopWidth",
39
+ bw: "borderWidth",
40
+ dsp: "display",
41
+ f: "flex",
42
+ fb: "flexBasis",
43
+ fd: "flexDirection",
44
+ fg: "flexGrow",
45
+ fs: "flexShrink",
46
+ fw: "flexWrap",
47
+ h: "height",
48
+ jc: "justifyContent",
49
+ l: "left",
50
+ m: "margin",
51
+ mah: "maxHeight",
52
+ maw: "maxWidth",
53
+ mb: "marginBottom",
54
+ mih: "minHeight",
55
+ miw: "minWidth",
56
+ ml: "marginLeft",
57
+ mr: "marginRight",
58
+ mt: "marginTop",
59
+ mx: "marginHorizontal",
60
+ my: "marginVertical",
61
+ o: "opacity",
62
+ ov: "overflow",
63
+ p: "padding",
64
+ pb: "paddingBottom",
65
+ pl: "paddingLeft",
66
+ pos: "position",
67
+ pr: "paddingRight",
68
+ pt: "paddingTop",
69
+ px: "paddingHorizontal",
70
+ py: "paddingVertical",
71
+ r: "right",
72
+ shac: "shadowColor",
73
+ shar: "shadowRadius",
74
+ shof: "shadowOffset",
75
+ shop: "shadowOpacity",
76
+ t: "top",
77
+ w: "width",
78
+ zi: "zIndex"
79
+ };
80
+ shorthands.bls = "borderLeftStyle";
81
+ shorthands.brs = "borderRightStyle";
82
+ shorthands.bts = "borderTopStyle";
83
+ shorthands.bbs = "borderBottomStyle";
84
+ shorthands.bxs = "boxSizing";
85
+ shorthands.bxsh = "boxShadow";
86
+ shorthands.ox = "overflowX";
87
+ shorthands.oy = "overflowY";
88
+ export { shorthands };
@@ -0,0 +1,88 @@
1
+ const shorthands = {
2
+ // web-only
3
+ ussel: "userSelect",
4
+ cur: "cursor",
5
+ // tamagui
6
+ pe: "pointerEvents",
7
+ // text
8
+ col: "color",
9
+ ff: "fontFamily",
10
+ fos: "fontSize",
11
+ fost: "fontStyle",
12
+ fow: "fontWeight",
13
+ ls: "letterSpacing",
14
+ lh: "lineHeight",
15
+ ta: "textAlign",
16
+ tt: "textTransform",
17
+ ww: "wordWrap",
18
+ // view
19
+ ac: "alignContent",
20
+ ai: "alignItems",
21
+ als: "alignSelf",
22
+ b: "bottom",
23
+ bg: "backgroundColor",
24
+ bbc: "borderBottomColor",
25
+ bblr: "borderBottomLeftRadius",
26
+ bbrr: "borderBottomRightRadius",
27
+ bbw: "borderBottomWidth",
28
+ blc: "borderLeftColor",
29
+ blw: "borderLeftWidth",
30
+ bc: "borderColor",
31
+ br: "borderRadius",
32
+ bs: "borderStyle",
33
+ brw: "borderRightWidth",
34
+ brc: "borderRightColor",
35
+ btc: "borderTopColor",
36
+ btlr: "borderTopLeftRadius",
37
+ btrr: "borderTopRightRadius",
38
+ btw: "borderTopWidth",
39
+ bw: "borderWidth",
40
+ dsp: "display",
41
+ f: "flex",
42
+ fb: "flexBasis",
43
+ fd: "flexDirection",
44
+ fg: "flexGrow",
45
+ fs: "flexShrink",
46
+ fw: "flexWrap",
47
+ h: "height",
48
+ jc: "justifyContent",
49
+ l: "left",
50
+ m: "margin",
51
+ mah: "maxHeight",
52
+ maw: "maxWidth",
53
+ mb: "marginBottom",
54
+ mih: "minHeight",
55
+ miw: "minWidth",
56
+ ml: "marginLeft",
57
+ mr: "marginRight",
58
+ mt: "marginTop",
59
+ mx: "marginHorizontal",
60
+ my: "marginVertical",
61
+ o: "opacity",
62
+ ov: "overflow",
63
+ p: "padding",
64
+ pb: "paddingBottom",
65
+ pl: "paddingLeft",
66
+ pos: "position",
67
+ pr: "paddingRight",
68
+ pt: "paddingTop",
69
+ px: "paddingHorizontal",
70
+ py: "paddingVertical",
71
+ r: "right",
72
+ shac: "shadowColor",
73
+ shar: "shadowRadius",
74
+ shof: "shadowOffset",
75
+ shop: "shadowOpacity",
76
+ t: "top",
77
+ w: "width",
78
+ zi: "zIndex"
79
+ };
80
+ shorthands.bls = "borderLeftStyle";
81
+ shorthands.brs = "borderRightStyle";
82
+ shorthands.bts = "borderTopStyle";
83
+ shorthands.bbs = "borderBottomStyle";
84
+ shorthands.bxs = "boxSizing";
85
+ shorthands.bxsh = "boxShadow";
86
+ shorthands.ox = "overflowX";
87
+ shorthands.oy = "overflowY";
88
+ export { shorthands };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/shorthands",
3
- "version": "1.89.0",
3
+ "version": "1.89.1",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
@@ -35,7 +35,7 @@
35
35
  }
36
36
  },
37
37
  "devDependencies": {
38
- "@tamagui/build": "1.89.0"
38
+ "@tamagui/build": "1.89.1"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"