@tamagui/helpers 2.7.7 → 3.0.0-beta.637.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.
Files changed (112) hide show
  1. package/dist/cjs/clamp.cjs +16 -19
  2. package/dist/cjs/clamp.native.cjs +30 -0
  3. package/dist/cjs/clamp.native.js +17 -19
  4. package/dist/cjs/clamp.native.js.map +1 -1
  5. package/dist/cjs/composeEventHandlers.cjs +26 -32
  6. package/dist/cjs/composeEventHandlers.native.cjs +43 -0
  7. package/dist/cjs/composeEventHandlers.native.js +28 -34
  8. package/dist/cjs/composeEventHandlers.native.js.map +1 -1
  9. package/dist/cjs/index.cjs +13 -11
  10. package/dist/cjs/index.native.cjs +31 -0
  11. package/dist/cjs/index.native.js +13 -10
  12. package/dist/cjs/index.native.js.map +1 -1
  13. package/dist/cjs/reservedThemeProps.cjs +43 -0
  14. package/dist/cjs/reservedThemeProps.native.cjs +45 -0
  15. package/dist/cjs/reservedThemeProps.native.js +47 -0
  16. package/dist/cjs/reservedThemeProps.native.js.map +1 -0
  17. package/dist/cjs/shouldRenderNativePlatform.cjs +38 -37
  18. package/dist/cjs/shouldRenderNativePlatform.native.cjs +71 -0
  19. package/dist/cjs/shouldRenderNativePlatform.native.js +55 -59
  20. package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
  21. package/dist/cjs/themeClassNames.cjs +39 -0
  22. package/dist/cjs/themeClassNames.native.cjs +42 -0
  23. package/dist/cjs/themeClassNames.native.js +44 -0
  24. package/dist/cjs/themeClassNames.native.js.map +1 -0
  25. package/dist/cjs/tokenCategories.cjs +79 -0
  26. package/dist/cjs/tokenCategories.native.cjs +80 -0
  27. package/dist/cjs/tokenCategories.native.js +82 -0
  28. package/dist/cjs/tokenCategories.native.js.map +1 -0
  29. package/dist/cjs/types.cjs +19 -20
  30. package/dist/cjs/types.native.cjs +37 -0
  31. package/dist/cjs/types.native.js +19 -19
  32. package/dist/cjs/types.native.js.map +1 -1
  33. package/dist/cjs/validStyleProps.cjs +240 -297
  34. package/dist/cjs/validStyleProps.native.cjs +277 -0
  35. package/dist/cjs/validStyleProps.native.js +236 -290
  36. package/dist/cjs/validStyleProps.native.js.map +1 -1
  37. package/dist/cjs/webOnlyStyleProps.cjs +85 -86
  38. package/dist/cjs/webOnlyStyleProps.native.cjs +106 -0
  39. package/dist/cjs/webOnlyStyleProps.native.js +85 -85
  40. package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
  41. package/dist/cjs/withStaticProperties.cjs +25 -30
  42. package/dist/cjs/withStaticProperties.native.cjs +38 -0
  43. package/dist/cjs/withStaticProperties.native.js +26 -30
  44. package/dist/cjs/withStaticProperties.native.js.map +1 -1
  45. package/dist/esm/clamp.mjs +2 -1
  46. package/dist/esm/clamp.mjs.map +1 -1
  47. package/dist/esm/clamp.native.js +3 -2
  48. package/dist/esm/clamp.native.js.map +1 -1
  49. package/dist/esm/composeEventHandlers.mjs +12 -14
  50. package/dist/esm/composeEventHandlers.mjs.map +1 -1
  51. package/dist/esm/composeEventHandlers.native.js +14 -17
  52. package/dist/esm/composeEventHandlers.native.js.map +1 -1
  53. package/dist/esm/index.js +21 -9
  54. package/dist/esm/index.mjs +21 -9
  55. package/dist/esm/index.native.js +21 -9
  56. package/dist/esm/reservedThemeProps.mjs +22 -0
  57. package/dist/esm/reservedThemeProps.mjs.map +1 -0
  58. package/dist/esm/reservedThemeProps.native.js +22 -0
  59. package/dist/esm/reservedThemeProps.native.js.map +1 -0
  60. package/dist/esm/shouldRenderNativePlatform.mjs +25 -19
  61. package/dist/esm/shouldRenderNativePlatform.mjs.map +1 -1
  62. package/dist/esm/shouldRenderNativePlatform.native.js +42 -42
  63. package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -1
  64. package/dist/esm/themeClassNames.mjs +18 -0
  65. package/dist/esm/themeClassNames.mjs.map +1 -0
  66. package/dist/esm/themeClassNames.native.js +19 -0
  67. package/dist/esm/themeClassNames.native.js.map +1 -0
  68. package/dist/esm/tokenCategories.mjs +58 -0
  69. package/dist/esm/tokenCategories.mjs.map +1 -0
  70. package/dist/esm/tokenCategories.native.js +57 -0
  71. package/dist/esm/tokenCategories.native.js.map +1 -0
  72. package/dist/esm/types.mjs +1 -0
  73. package/dist/esm/types.mjs.map +1 -1
  74. package/dist/esm/types.native.js +1 -0
  75. package/dist/esm/types.native.js.map +1 -1
  76. package/dist/esm/validStyleProps.mjs +218 -272
  77. package/dist/esm/validStyleProps.mjs.map +1 -1
  78. package/dist/esm/validStyleProps.native.js +214 -266
  79. package/dist/esm/validStyleProps.native.js.map +1 -1
  80. package/dist/esm/webOnlyStyleProps.mjs +68 -67
  81. package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
  82. package/dist/esm/webOnlyStyleProps.native.js +68 -67
  83. package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
  84. package/dist/esm/withStaticProperties.mjs +11 -12
  85. package/dist/esm/withStaticProperties.mjs.map +1 -1
  86. package/dist/esm/withStaticProperties.native.js +12 -13
  87. package/dist/esm/withStaticProperties.native.js.map +1 -1
  88. package/package.json +13 -4
  89. package/src/composeEventHandlers.ts +6 -10
  90. package/src/index.ts +3 -0
  91. package/src/reservedThemeProps.ts +29 -0
  92. package/src/themeClassNames.ts +28 -0
  93. package/src/tokenCategories.ts +67 -0
  94. package/src/validStyleProps.ts +37 -79
  95. package/src/webOnlyStyleProps.ts +6 -3
  96. package/types/composeEventHandlers.d.ts.map +1 -1
  97. package/types/index.d.ts +3 -0
  98. package/types/index.d.ts.map +1 -1
  99. package/types/reservedThemeProps.d.ts +12 -0
  100. package/types/reservedThemeProps.d.ts.map +1 -0
  101. package/types/themeClassNames.d.ts +11 -0
  102. package/types/themeClassNames.d.ts.map +1 -0
  103. package/types/tokenCategories.d.ts +58 -0
  104. package/types/tokenCategories.d.ts.map +1 -0
  105. package/types/validStyleProps.d.ts +535 -560
  106. package/types/validStyleProps.d.ts.map +1 -1
  107. package/types/webOnlyStyleProps.d.ts +31 -29
  108. package/types/webOnlyStyleProps.d.ts.map +1 -1
  109. package/types/withStaticProperties.d.ts.map +1 -1
  110. package/dist/esm/index.js.map +0 -1
  111. package/dist/esm/index.mjs.map +0 -1
  112. package/dist/esm/index.native.js.map +0 -1
@@ -0,0 +1,82 @@
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 tokenCategories_exports = {};
25
+ __export(tokenCategories_exports, { tokenCategories: () => tokenCategories });
26
+ module.exports = __toCommonJS(tokenCategories_exports);
27
+ var tokenCategories = {
28
+ radius: {
29
+ borderRadius: true,
30
+ borderTopLeftRadius: true,
31
+ borderTopRightRadius: true,
32
+ borderBottomLeftRadius: true,
33
+ borderBottomRightRadius: true,
34
+ borderTopStartRadius: true,
35
+ borderTopEndRadius: true,
36
+ borderBottomStartRadius: true,
37
+ borderBottomEndRadius: true,
38
+ borderStartStartRadius: true,
39
+ borderStartEndRadius: true,
40
+ borderEndStartRadius: true,
41
+ borderEndEndRadius: true
42
+ },
43
+ size: {
44
+ width: true,
45
+ height: true,
46
+ minWidth: true,
47
+ minHeight: true,
48
+ maxWidth: true,
49
+ maxHeight: true,
50
+ blockSize: true,
51
+ minBlockSize: true,
52
+ maxBlockSize: true,
53
+ inlineSize: true,
54
+ minInlineSize: true,
55
+ maxInlineSize: true,
56
+ shadowRadius: true
57
+ },
58
+ zIndex: { zIndex: true },
59
+ color: {
60
+ backgroundColor: true,
61
+ borderColor: true,
62
+ borderBlockStartColor: true,
63
+ borderBlockEndColor: true,
64
+ borderBlockColor: true,
65
+ borderBottomColor: true,
66
+ borderInlineColor: true,
67
+ borderInlineStartColor: true,
68
+ borderInlineEndColor: true,
69
+ borderTopColor: true,
70
+ borderLeftColor: true,
71
+ borderRightColor: true,
72
+ borderEndColor: true,
73
+ borderStartColor: true,
74
+ shadowColor: true,
75
+ color: true,
76
+ textDecorationColor: true,
77
+ textShadowColor: true,
78
+ outlineColor: true
79
+ }
80
+ };
81
+
82
+ //# sourceMappingURL=tokenCategories.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenCategories.native.js","names":[],"sources":["cjs/tokenCategories.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\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar tokenCategories_exports = {};\n__export(tokenCategories_exports, { tokenCategories: () => tokenCategories });\nmodule.exports = __toCommonJS(tokenCategories_exports);\nvar tokenCategories = {\n\tradius: {\n\t\tborderRadius: true,\n\t\tborderTopLeftRadius: true,\n\t\tborderTopRightRadius: true,\n\t\tborderBottomLeftRadius: true,\n\t\tborderBottomRightRadius: true,\n\t\tborderTopStartRadius: true,\n\t\tborderTopEndRadius: true,\n\t\tborderBottomStartRadius: true,\n\t\tborderBottomEndRadius: true,\n\t\tborderStartStartRadius: true,\n\t\tborderStartEndRadius: true,\n\t\tborderEndStartRadius: true,\n\t\tborderEndEndRadius: true\n\t},\n\tsize: {\n\t\twidth: true,\n\t\theight: true,\n\t\tminWidth: true,\n\t\tminHeight: true,\n\t\tmaxWidth: true,\n\t\tmaxHeight: true,\n\t\tblockSize: true,\n\t\tminBlockSize: true,\n\t\tmaxBlockSize: true,\n\t\tinlineSize: true,\n\t\tminInlineSize: true,\n\t\tmaxInlineSize: true,\n\t\tshadowRadius: true\n\t},\n\tzIndex: { zIndex: true },\n\tcolor: {\n\t\tbackgroundColor: true,\n\t\tborderColor: true,\n\t\tborderBlockStartColor: true,\n\t\tborderBlockEndColor: true,\n\t\tborderBlockColor: true,\n\t\tborderBottomColor: true,\n\t\tborderInlineColor: true,\n\t\tborderInlineStartColor: true,\n\t\tborderInlineEndColor: true,\n\t\tborderTopColor: true,\n\t\tborderLeftColor: true,\n\t\tborderRightColor: true,\n\t\tborderEndColor: true,\n\t\tborderStartColor: true,\n\t\tshadowColor: true,\n\t\tcolor: true,\n\t\ttextDecorationColor: true,\n\t\ttextShadowColor: true,\n\t\toutlineColor: true\n\t}\n};\n//# sourceMappingURL=tokenCategories.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;CAC/B,KAAK,IAAI,QAAQ,KAAK,UAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;CACb,CAAC;AACF;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC7C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EACnE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GAAG,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QAAQ,UAAU,IAAI,KAAK;GAC9G,WAAW,KAAK;GAChB,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAC3D,CAAC;CACF;CACA,OAAO;AACR;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,0BAA0B,CAAC;AAC/B,SAAS,yBAAyB,EAAE,uBAAuB,gBAAgB,CAAC;AAC5E,OAAO,UAAU,aAAa,uBAAuB;AACrD,IAAI,kBAAkB;CACrB,QAAQ;EACP,cAAc;EACd,qBAAqB;EACrB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,sBAAsB;EACtB,oBAAoB;EACpB,yBAAyB;EACzB,uBAAuB;EACvB,wBAAwB;EACxB,sBAAsB;EACtB,sBAAsB;EACtB,oBAAoB;CACrB;CACA,MAAM;EACL,OAAO;EACP,QAAQ;EACR,UAAU;EACV,WAAW;EACX,UAAU;EACV,WAAW;EACX,WAAW;EACX,cAAc;EACd,cAAc;EACd,YAAY;EACZ,eAAe;EACf,eAAe;EACf,cAAc;CACf;CACA,QAAQ,EAAE,QAAQ,KAAK;CACvB,OAAO;EACN,iBAAiB;EACjB,aAAa;EACb,uBAAuB;EACvB,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;EACnB,mBAAmB;EACnB,wBAAwB;EACxB,sBAAsB;EACtB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,OAAO;EACP,qBAAqB;EACrB,iBAAiB;EACjB,cAAc;CACf;AACD"}
@@ -1,36 +1,35 @@
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
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
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 types_exports = {};
24
23
  __export(types_exports, {
25
- StyleObjectIdentifier: () => StyleObjectIdentifier,
26
- StyleObjectProperty: () => StyleObjectProperty,
27
- StyleObjectPseudo: () => StyleObjectPseudo,
28
- StyleObjectRules: () => StyleObjectRules,
29
- StyleObjectValue: () => StyleObjectValue
24
+ StyleObjectIdentifier: () => StyleObjectIdentifier,
25
+ StyleObjectProperty: () => StyleObjectProperty,
26
+ StyleObjectPseudo: () => StyleObjectPseudo,
27
+ StyleObjectRules: () => StyleObjectRules,
28
+ StyleObjectValue: () => StyleObjectValue
30
29
  });
31
30
  module.exports = __toCommonJS(types_exports);
32
31
  const StyleObjectProperty = 0;
33
32
  const StyleObjectValue = 1;
34
33
  const StyleObjectIdentifier = 2;
35
34
  const StyleObjectPseudo = 3;
36
- const StyleObjectRules = 4;
35
+ const StyleObjectRules = 4;
@@ -0,0 +1,37 @@
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 types_exports = {};
25
+ __export(types_exports, {
26
+ StyleObjectIdentifier: () => StyleObjectIdentifier,
27
+ StyleObjectProperty: () => StyleObjectProperty,
28
+ StyleObjectPseudo: () => StyleObjectPseudo,
29
+ StyleObjectRules: () => StyleObjectRules,
30
+ StyleObjectValue: () => StyleObjectValue
31
+ });
32
+ module.exports = __toCommonJS(types_exports);
33
+ var StyleObjectProperty = 0;
34
+ var StyleObjectValue = 1;
35
+ var StyleObjectIdentifier = 2;
36
+ var StyleObjectPseudo = 3;
37
+ var StyleObjectRules = 4;
@@ -1,34 +1,33 @@
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
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
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 types_exports = {};
26
25
  __export(types_exports, {
27
- StyleObjectIdentifier: () => StyleObjectIdentifier,
28
- StyleObjectProperty: () => StyleObjectProperty,
29
- StyleObjectPseudo: () => StyleObjectPseudo,
30
- StyleObjectRules: () => StyleObjectRules,
31
- StyleObjectValue: () => StyleObjectValue
26
+ StyleObjectIdentifier: () => StyleObjectIdentifier,
27
+ StyleObjectProperty: () => StyleObjectProperty,
28
+ StyleObjectPseudo: () => StyleObjectPseudo,
29
+ StyleObjectRules: () => StyleObjectRules,
30
+ StyleObjectValue: () => StyleObjectValue
32
31
  });
33
32
  module.exports = __toCommonJS(types_exports);
34
33
  var StyleObjectProperty = 0;
@@ -36,4 +35,5 @@ var StyleObjectValue = 1;
36
35
  var StyleObjectIdentifier = 2;
37
36
  var StyleObjectPseudo = 3;
38
37
  var StyleObjectRules = 4;
38
+
39
39
  //# sourceMappingURL=types.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports","__export","StyleObjectIdentifier","StyleObjectProperty","StyleObjectPseudo","StyleObjectRules","StyleObjectValue","module","exports"],"sources":["../../src/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,qBAAA,EAAAA,CAAA,KAAAA,qBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA,mBAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAA,iBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA;AAAA;AAQOC,MAAM,CAAAC,OAAA,GAAAb,YAAsB,CAAAK,aAAA;AAC5B,IAAAG,mBAAM,GAAmB;AACzB,IAAAG,gBAAM;AACN,IAAAJ,qBAAM,GAAoB;AAC1B,IAAAE,iBAAM,IAAmB","ignoreList":[]}
1
+ {"version":3,"file":"types.native.js","names":[],"sources":["cjs/types.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 types_exports = {};\n__export(types_exports, {\n StyleObjectIdentifier: () => StyleObjectIdentifier,\n StyleObjectProperty: () => StyleObjectProperty,\n StyleObjectPseudo: () => StyleObjectPseudo,\n StyleObjectRules: () => StyleObjectRules,\n StyleObjectValue: () => StyleObjectValue\n});\nmodule.exports = __toCommonJS(types_exports);\nvar StyleObjectProperty = 0;\nvar StyleObjectValue = 1;\nvar StyleObjectIdentifier = 2;\nvar StyleObjectPseudo = 3;\nvar StyleObjectRules = 4;\n//# sourceMappingURL=types.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;CACtB,6BAA6B;CAC7B,2BAA2B;CAC3B,yBAAyB;CACzB,wBAAwB;CACxB,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,sBAAsB;AAC1B,IAAI,mBAAmB;AACvB,IAAI,wBAAwB;AAC5B,IAAI,oBAAoB;AACxB,IAAI,mBAAmB"}