@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
@@ -1,30 +1,27 @@
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 clamp_exports = {};
24
- __export(clamp_exports, {
25
- clamp: () => clamp
26
- });
23
+ __export(clamp_exports, { clamp: () => clamp });
27
24
  module.exports = __toCommonJS(clamp_exports);
28
25
  function clamp(value, [min, max]) {
29
- return Math.min(max, Math.max(min, value));
30
- }
26
+ return Math.min(max, Math.max(min, value));
27
+ }
@@ -0,0 +1,30 @@
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 clamp_exports = {};
25
+ __export(clamp_exports, { clamp: () => clamp });
26
+ module.exports = __toCommonJS(clamp_exports);
27
+ function clamp(value, param) {
28
+ var [min, max] = param;
29
+ return Math.min(max, Math.max(min, value));
30
+ }
@@ -1,34 +1,32 @@
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 clamp_exports = {};
26
- __export(clamp_exports, {
27
- clamp: () => clamp
28
- });
25
+ __export(clamp_exports, { clamp: () => clamp });
29
26
  module.exports = __toCommonJS(clamp_exports);
30
27
  function clamp(value, param) {
31
- var [min, max] = param;
32
- return Math.min(max, Math.max(min, value));
28
+ var [min, max] = param;
29
+ return Math.min(max, Math.max(min, value));
33
30
  }
31
+
34
32
  //# sourceMappingURL=clamp.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","clamp_exports","__export","clamp","module","exports","param","min","max"],"sources":["../../src/clamp.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,KAAA,EAAAA,CAAA,KAAAA;AAAA;AAAOC,MAAA,CAAAC,OAAS,GAAMT,YAAqB,CAAAK,aAAgC;AACzE,SAAOE,KAAKA,CAAAH,KAAI,EAAAM,KAAK,EAAK;EAC5B,KAAAC,GAAA,EAAAC,GAAA,IAAAF,KAAA","ignoreList":[]}
1
+ {"version":3,"file":"clamp.native.js","names":[],"sources":["cjs/clamp.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 clamp_exports = {};\n__export(clamp_exports, {\n clamp: () => clamp\n});\nmodule.exports = __toCommonJS(clamp_exports);\nfunction clamp(value, param) {\n var [min, max] = param;\n return Math.min(max, Math.max(min, value));\n}\n//# sourceMappingURL=clamp.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,aAAa,MACf,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,SAAS,MAAM,OAAO,OAAO;CAC3B,IAAI,CAAC,KAAK,OAAO;CACjB,OAAO,KAAK,IAAI,KAAK,KAAK,IAAI,KAAK,KAAK,CAAC;AAC3C"}
@@ -1,42 +1,36 @@
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 composeEventHandlers_exports = {};
24
- __export(composeEventHandlers_exports, {
25
- composeEventHandlers: () => composeEventHandlers
26
- });
23
+ __export(composeEventHandlers_exports, { composeEventHandlers: () => composeEventHandlers });
27
24
  module.exports = __toCommonJS(composeEventHandlers_exports);
28
- function composeEventHandlers(og, next, {
29
- checkDefaultPrevented = true
30
- } = {}) {
31
- if (!og || !next) {
32
- return next || og || void 0;
33
- }
34
- return event => {
35
- og?.(event);
36
- if (!event || !(checkDefaultPrevented && typeof event === "object" && "defaultPrevented" in event) ||
37
- // @ts-ignore
38
- "defaultPrevented" in event && !event.defaultPrevented) {
39
- return next?.(event);
40
- }
41
- };
42
- }
25
+ function composeEventHandlers(og, next, { checkDefaultPrevented = true } = {}) {
26
+ if (!og || !next) {
27
+ return next || og || void 0;
28
+ }
29
+ return (event) => {
30
+ og?.(event);
31
+ const isPrevented = !!event && typeof event === "object" && ("defaultPrevented" in event && Boolean(event.defaultPrevented) || "isCanceled" in event && Boolean(event.isCanceled));
32
+ if (!event || !checkDefaultPrevented || !isPrevented) {
33
+ return next?.(event);
34
+ }
35
+ };
36
+ }
@@ -0,0 +1,43 @@
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 composeEventHandlers_exports = {};
25
+ __export(composeEventHandlers_exports, { composeEventHandlers: () => composeEventHandlers });
26
+ module.exports = __toCommonJS(composeEventHandlers_exports);
27
+ function _type_of(obj) {
28
+ "@swc/helpers - typeof";
29
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
30
+ }
31
+ function composeEventHandlers(og, next) {
32
+ var { checkDefaultPrevented = true } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
33
+ if (!og || !next) {
34
+ return next || og || void 0;
35
+ }
36
+ return function(event) {
37
+ og === null || og === void 0 ? void 0 : og(event);
38
+ var isPrevented = !!event && (typeof event === "undefined" ? "undefined" : _type_of(event)) === "object" && ("defaultPrevented" in event && Boolean(event.defaultPrevented) || "isCanceled" in event && Boolean(event.isCanceled));
39
+ if (!event || !checkDefaultPrevented || !isPrevented) {
40
+ return next === null || next === void 0 ? void 0 : next(event);
41
+ }
42
+ };
43
+ }
@@ -1,51 +1,45 @@
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 composeEventHandlers_exports = {};
26
- __export(composeEventHandlers_exports, {
27
- composeEventHandlers: () => composeEventHandlers
28
- });
25
+ __export(composeEventHandlers_exports, { composeEventHandlers: () => composeEventHandlers });
29
26
  module.exports = __toCommonJS(composeEventHandlers_exports);
30
27
  function _type_of(obj) {
31
- "@swc/helpers - typeof";
32
-
33
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
28
+ "@swc/helpers - typeof";
29
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
34
30
  }
35
31
  function composeEventHandlers(og, next) {
36
- var {
37
- checkDefaultPrevented = true
38
- } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39
- if (!og || !next) {
40
- return next || og || void 0;
41
- }
42
- return function (event) {
43
- og === null || og === void 0 ? void 0 : og(event);
44
- if (!event || !(checkDefaultPrevented && (typeof event === "undefined" ? "undefined" : _type_of(event)) === "object" && "defaultPrevented" in event) ||
45
- // @ts-ignore
46
- "defaultPrevented" in event && !event.defaultPrevented) {
47
- return next === null || next === void 0 ? void 0 : next(event);
48
- }
49
- };
32
+ var { checkDefaultPrevented = true } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
33
+ if (!og || !next) {
34
+ return next || og || void 0;
35
+ }
36
+ return function(event) {
37
+ og === null || og === void 0 ? void 0 : og(event);
38
+ var isPrevented = !!event && (typeof event === "undefined" ? "undefined" : _type_of(event)) === "object" && ("defaultPrevented" in event && Boolean(event.defaultPrevented) || "isCanceled" in event && Boolean(event.isCanceled));
39
+ if (!event || !checkDefaultPrevented || !isPrevented) {
40
+ return next === null || next === void 0 ? void 0 : next(event);
41
+ }
42
+ };
50
43
  }
44
+
51
45
  //# sourceMappingURL=composeEventHandlers.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","composeEventHandlers_exports","__export","composeEventHandlers","module","exports","_type_of","obj","Symbol","constructor","og","next","checkDefaultPrevented","arguments","length","event"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAIOC,MAAA,CAAAC,OAAS,GAAAT,YAAA,CACdK,4BAEE;AAEF,SAAKK,QAAOA,CAAAC,GAAM;EAChB,uBAAqB;;EACvB,OAAAA,GAAA,WAAAC,MAAA,oBAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AACA;AACE,SAAKJ,oBAAKA,CAAAO,EAAA,EAAAC,IAAA;EACV;IACEC,qBAEE;EAAA,IAAAC,SACA,CAAAC,MAAO,QAAUD,SACjB,iBAAAA,SAAsB;EAAA,IAGvB,CAAAH,EAAA,KAAAC,IAAA;IAED,OAAAA,IAAO,IAAAD,EAAO,IAAK;EAAA;EAEvB,iBAAAK,KAAA;IACFL,EAAA,aAAAA,EAAA,uBAAAA,EAAA,CAAAK,KAAA","ignoreList":[]}
1
+ {"version":3,"file":"composeEventHandlers.native.js","names":[],"sources":["cjs/composeEventHandlers.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 composeEventHandlers_exports = {};\n__export(composeEventHandlers_exports, {\n composeEventHandlers: () => composeEventHandlers\n});\nmodule.exports = __toCommonJS(composeEventHandlers_exports);\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nfunction composeEventHandlers(og, next) {\n var { checkDefaultPrevented = true } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n if (!og || !next) {\n return next || og || void 0;\n }\n return function(event) {\n og === null || og === void 0 ? void 0 : og(event);\n var isPrevented = !!event && (typeof event === \"undefined\" ? \"undefined\" : _type_of(event)) === \"object\" && (\"defaultPrevented\" in event && Boolean(event.defaultPrevented) || \"isCanceled\" in event && Boolean(event.isCanceled));\n if (!event || !checkDefaultPrevented || !isPrevented) {\n return next === null || next === void 0 ? void 0 : next(event);\n }\n };\n}\n//# sourceMappingURL=composeEventHandlers.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,+BAA+B,CAAC;AACpC,SAAS,8BAA8B,EACrC,4BAA4B,qBAC9B,CAAC;AACD,OAAO,UAAU,aAAa,4BAA4B;AAC1D,SAAS,SAAS,KAAK;CACrB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAChG;AACA,SAAS,qBAAqB,IAAI,MAAM;CACtC,IAAI,EAAE,wBAAwB,SAAS,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;CACzG,IAAI,CAAC,MAAM,CAAC,MAAM;EAChB,OAAO,QAAQ,MAAM,KAAK;CAC5B;CACA,OAAO,SAAS,OAAO;EACrB,OAAO,QAAQ,OAAO,KAAK,IAAI,KAAK,IAAI,GAAG,KAAK;EAChD,IAAI,cAAc,CAAC,CAAC,UAAU,OAAO,UAAU,cAAc,cAAc,SAAS,KAAK,OAAO,aAAa,sBAAsB,SAAS,QAAQ,MAAM,gBAAgB,KAAK,gBAAgB,SAAS,QAAQ,MAAM,UAAU;EAChO,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,aAAa;GACpD,OAAO,SAAS,QAAQ,SAAS,KAAK,IAAI,KAAK,IAAI,KAAK,KAAK;EAC/D;CACF;AACF"}
@@ -1,27 +1,29 @@
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 __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ }
13
+ return to;
13
14
  };
14
15
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: true
17
- }), mod);
16
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
17
  var index_exports = {};
19
18
  module.exports = __toCommonJS(index_exports);
20
19
  __reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
21
20
  __reExport(index_exports, require("./clamp.cjs"), module.exports);
21
+ __reExport(index_exports, require("./reservedThemeProps.cjs"), module.exports);
22
+ __reExport(index_exports, require("./themeClassNames.cjs"), module.exports);
22
23
  __reExport(index_exports, require("./composeEventHandlers.cjs"), module.exports);
23
24
  __reExport(index_exports, require("./types.cjs"), module.exports);
24
25
  __reExport(index_exports, require("./shouldRenderNativePlatform.cjs"), module.exports);
26
+ __reExport(index_exports, require("./tokenCategories.cjs"), module.exports);
25
27
  __reExport(index_exports, require("./validStyleProps.cjs"), module.exports);
26
28
  __reExport(index_exports, require("./withStaticProperties.cjs"), module.exports);
27
- __reExport(index_exports, require("./webOnlyStyleProps.cjs"), module.exports);
29
+ __reExport(index_exports, require("./webOnlyStyleProps.cjs"), module.exports);
@@ -0,0 +1,31 @@
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 __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
16
+ };
17
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var index_exports = {};
20
+ module.exports = __toCommonJS(index_exports);
21
+ __reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
22
+ __reExport(index_exports, require("./clamp.native.js"), module.exports);
23
+ __reExport(index_exports, require("./reservedThemeProps.native.js"), module.exports);
24
+ __reExport(index_exports, require("./themeClassNames.native.js"), module.exports);
25
+ __reExport(index_exports, require("./composeEventHandlers.native.js"), module.exports);
26
+ __reExport(index_exports, require("./types.native.js"), module.exports);
27
+ __reExport(index_exports, require("./shouldRenderNativePlatform.native.js"), module.exports);
28
+ __reExport(index_exports, require("./tokenCategories.native.js"), module.exports);
29
+ __reExport(index_exports, require("./validStyleProps.native.js"), module.exports);
30
+ __reExport(index_exports, require("./withStaticProperties.native.js"), module.exports);
31
+ __reExport(index_exports, require("./webOnlyStyleProps.native.js"), module.exports);
@@ -1,30 +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 __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from === "object" || typeof from === "function") {
9
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
- get: () => from[key],
11
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
- });
13
- }
14
- return to;
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
15
16
  };
16
17
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
18
- value: true
19
- }), mod);
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var index_exports = {};
21
20
  module.exports = __toCommonJS(index_exports);
22
21
  __reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
23
22
  __reExport(index_exports, require("./clamp.native.js"), module.exports);
23
+ __reExport(index_exports, require("./reservedThemeProps.native.js"), module.exports);
24
+ __reExport(index_exports, require("./themeClassNames.native.js"), module.exports);
24
25
  __reExport(index_exports, require("./composeEventHandlers.native.js"), module.exports);
25
26
  __reExport(index_exports, require("./types.native.js"), module.exports);
26
27
  __reExport(index_exports, require("./shouldRenderNativePlatform.native.js"), module.exports);
28
+ __reExport(index_exports, require("./tokenCategories.native.js"), module.exports);
27
29
  __reExport(index_exports, require("./validStyleProps.native.js"), module.exports);
28
30
  __reExport(index_exports, require("./withStaticProperties.native.js"), module.exports);
29
31
  __reExport(index_exports, require("./webOnlyStyleProps.native.js"), module.exports);
32
+
30
33
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBADd,GAAAH,MAAA,CAAAC,OAAA;AAEAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBAAAH,MAAA,CAAAC,OAAA,CAFd;AAGAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,mCAHd,GAAAH,MAAA,CAAAC,OAAA;AAIAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBAAAH,MAAA,CAAAC,OAAA;AACdC,UAAA,CAAAH,aAAA,EAAcI,OAAA,yCALd,GAAAH,MAAA,CAAAC,OAAA;AAMAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,iCAAAH,MANd,CAAAC,OAAA;AAOAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,mCAPd,GAAAH,MAAA,CAAAC,OAAA","ignoreList":[]}
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 __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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"@tamagui/simple-hash\"), module.exports);\n__reExport(index_exports, require(\"./clamp\"), module.exports);\n__reExport(index_exports, require(\"./reservedThemeProps\"), module.exports);\n__reExport(index_exports, require(\"./themeClassNames\"), module.exports);\n__reExport(index_exports, require(\"./composeEventHandlers\"), module.exports);\n__reExport(index_exports, require(\"./types\"), module.exports);\n__reExport(index_exports, require(\"./shouldRenderNativePlatform\"), module.exports);\n__reExport(index_exports, require(\"./tokenCategories\"), module.exports);\n__reExport(index_exports, require(\"./validStyleProps\"), module.exports);\n__reExport(index_exports, require(\"./withStaticProperties\"), module.exports);\n__reExport(index_exports, require(\"./webOnlyStyleProps\"), module.exports);\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,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,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,sBAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO;AAC5D,WAAW,eAAe,QAAQ,gCAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,6BAAmB,GAAG,OAAO,OAAO;AACtE,WAAW,eAAe,QAAQ,kCAAwB,GAAG,OAAO,OAAO;AAC3E,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO;AAC5D,WAAW,eAAe,QAAQ,wCAA8B,GAAG,OAAO,OAAO;AACjF,WAAW,eAAe,QAAQ,6BAAmB,GAAG,OAAO,OAAO;AACtE,WAAW,eAAe,QAAQ,6BAAmB,GAAG,OAAO,OAAO;AACtE,WAAW,eAAe,QAAQ,kCAAwB,GAAG,OAAO,OAAO;AAC3E,WAAW,eAAe,QAAQ,+BAAqB,GAAG,OAAO,OAAO"}
@@ -0,0 +1,43 @@
1
+
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
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;
20
+ };
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
22
+ var reservedThemeProps_exports = {};
23
+ __export(reservedThemeProps_exports, { reservedThemeProps: () => reservedThemeProps });
24
+ module.exports = __toCommonJS(reservedThemeProps_exports);
25
+ const reservedThemeProps = {
26
+ _isRoot: true,
27
+ children: true,
28
+ className: true,
29
+ contain: true,
30
+ debug: true,
31
+ deopt: true,
32
+ disable: true,
33
+ "disable-child-theme": true,
34
+ forceClassName: true,
35
+ inlineClassName: true,
36
+ inlineValues: true,
37
+ name: true,
38
+ nativeUpdate: true,
39
+ needsUpdate: true,
40
+ passThrough: true,
41
+ reset: true,
42
+ shallow: true
43
+ };
@@ -0,0 +1,45 @@
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 reservedThemeProps_exports = {};
25
+ __export(reservedThemeProps_exports, { reservedThemeProps: () => reservedThemeProps });
26
+ module.exports = __toCommonJS(reservedThemeProps_exports);
27
+ var reservedThemeProps = {
28
+ _isRoot: true,
29
+ children: true,
30
+ className: true,
31
+ contain: true,
32
+ debug: true,
33
+ deopt: true,
34
+ disable: true,
35
+ "disable-child-theme": true,
36
+ forceClassName: true,
37
+ inlineClassName: true,
38
+ inlineValues: true,
39
+ name: true,
40
+ nativeUpdate: true,
41
+ needsUpdate: true,
42
+ passThrough: true,
43
+ reset: true,
44
+ shallow: true
45
+ };
@@ -0,0 +1,47 @@
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 reservedThemeProps_exports = {};
25
+ __export(reservedThemeProps_exports, { reservedThemeProps: () => reservedThemeProps });
26
+ module.exports = __toCommonJS(reservedThemeProps_exports);
27
+ var reservedThemeProps = {
28
+ _isRoot: true,
29
+ children: true,
30
+ className: true,
31
+ contain: true,
32
+ debug: true,
33
+ deopt: true,
34
+ disable: true,
35
+ "disable-child-theme": true,
36
+ forceClassName: true,
37
+ inlineClassName: true,
38
+ inlineValues: true,
39
+ name: true,
40
+ nativeUpdate: true,
41
+ needsUpdate: true,
42
+ passThrough: true,
43
+ reset: true,
44
+ shallow: true
45
+ };
46
+
47
+ //# sourceMappingURL=reservedThemeProps.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservedThemeProps.native.js","names":[],"sources":["cjs/reservedThemeProps.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 reservedThemeProps_exports = {};\n__export(reservedThemeProps_exports, {\n reservedThemeProps: () => reservedThemeProps\n});\nmodule.exports = __toCommonJS(reservedThemeProps_exports);\nvar reservedThemeProps = {\n _isRoot: true,\n children: true,\n className: true,\n contain: true,\n debug: true,\n deopt: true,\n disable: true,\n \"disable-child-theme\": true,\n forceClassName: true,\n inlineClassName: true,\n inlineValues: true,\n name: true,\n nativeUpdate: true,\n needsUpdate: true,\n passThrough: true,\n reset: true,\n shallow: true\n};\n//# sourceMappingURL=reservedThemeProps.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,6BAA6B,CAAC;AAClC,SAAS,4BAA4B,EACnC,0BAA0B,mBAC5B,CAAC;AACD,OAAO,UAAU,aAAa,0BAA0B;AACxD,IAAI,qBAAqB;CACvB,SAAS;CACT,UAAU;CACV,WAAW;CACX,SAAS;CACT,OAAO;CACP,OAAO;CACP,SAAS;CACT,uBAAuB;CACvB,gBAAgB;CAChB,iBAAiB;CACjB,cAAc;CACd,MAAM;CACN,cAAc;CACd,aAAa;CACb,aAAa;CACb,OAAO;CACP,SAAS;AACX"}