@tamagui/helpers 2.7.7 → 3.0.0-beta.1097.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 (123) hide show
  1. package/dist/cjs/clamp.cjs +15 -19
  2. package/dist/cjs/clamp.native.cjs +29 -0
  3. package/dist/cjs/clamp.native.js +16 -19
  4. package/dist/cjs/clamp.native.js.map +1 -1
  5. package/dist/cjs/composeEventHandlers.cjs +25 -32
  6. package/dist/cjs/composeEventHandlers.native.cjs +38 -0
  7. package/dist/cjs/composeEventHandlers.native.js +25 -36
  8. package/dist/cjs/composeEventHandlers.native.js.map +1 -1
  9. package/dist/cjs/index.cjs +12 -11
  10. package/dist/cjs/index.native.cjs +30 -0
  11. package/dist/cjs/index.native.js +12 -10
  12. package/dist/cjs/index.native.js.map +1 -1
  13. package/dist/cjs/reservedThemeProps.cjs +40 -0
  14. package/dist/cjs/reservedThemeProps.native.cjs +42 -0
  15. package/dist/cjs/reservedThemeProps.native.js +44 -0
  16. package/dist/cjs/reservedThemeProps.native.js.map +1 -0
  17. package/dist/cjs/shouldRenderNativePlatform.cjs +37 -37
  18. package/dist/cjs/shouldRenderNativePlatform.native.cjs +70 -0
  19. package/dist/cjs/shouldRenderNativePlatform.native.js +54 -59
  20. package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
  21. package/dist/cjs/themeClassNames.cjs +44 -0
  22. package/dist/cjs/themeClassNames.native.cjs +64 -0
  23. package/dist/cjs/themeClassNames.native.js +66 -0
  24. package/dist/cjs/themeClassNames.native.js.map +1 -0
  25. package/dist/cjs/toStylePropsObject.cjs +33 -0
  26. package/dist/cjs/toStylePropsObject.native.cjs +72 -0
  27. package/dist/cjs/toStylePropsObject.native.js +74 -0
  28. package/dist/cjs/toStylePropsObject.native.js.map +1 -0
  29. package/dist/cjs/tokenCategories.cjs +47 -0
  30. package/dist/cjs/tokenCategories.native.cjs +51 -0
  31. package/dist/cjs/tokenCategories.native.js +53 -0
  32. package/dist/cjs/tokenCategories.native.js.map +1 -0
  33. package/dist/cjs/types.cjs +18 -20
  34. package/dist/cjs/types.native.cjs +36 -0
  35. package/dist/cjs/types.native.js +18 -19
  36. package/dist/cjs/types.native.js.map +1 -1
  37. package/dist/cjs/validStyleProps.cjs +44 -323
  38. package/dist/cjs/validStyleProps.native.cjs +60 -0
  39. package/dist/cjs/validStyleProps.native.js +45 -316
  40. package/dist/cjs/validStyleProps.native.js.map +1 -1
  41. package/dist/cjs/webOnlyStyleProps.cjs +21 -93
  42. package/dist/cjs/webOnlyStyleProps.native.cjs +35 -0
  43. package/dist/cjs/webOnlyStyleProps.native.js +22 -93
  44. package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
  45. package/dist/cjs/withStaticProperties.cjs +24 -30
  46. package/dist/cjs/withStaticProperties.native.cjs +37 -0
  47. package/dist/cjs/withStaticProperties.native.js +25 -30
  48. package/dist/cjs/withStaticProperties.native.js.map +1 -1
  49. package/dist/esm/clamp.mjs +2 -1
  50. package/dist/esm/clamp.mjs.map +1 -1
  51. package/dist/esm/clamp.native.js +3 -2
  52. package/dist/esm/clamp.native.js.map +1 -1
  53. package/dist/esm/composeEventHandlers.mjs +12 -14
  54. package/dist/esm/composeEventHandlers.mjs.map +1 -1
  55. package/dist/esm/composeEventHandlers.native.js +12 -19
  56. package/dist/esm/composeEventHandlers.native.js.map +1 -1
  57. package/dist/esm/index.js +21 -9
  58. package/dist/esm/index.mjs +21 -9
  59. package/dist/esm/index.native.js +21 -9
  60. package/dist/esm/reservedThemeProps.mjs +20 -0
  61. package/dist/esm/reservedThemeProps.mjs.map +1 -0
  62. package/dist/esm/reservedThemeProps.native.js +20 -0
  63. package/dist/esm/reservedThemeProps.native.js.map +1 -0
  64. package/dist/esm/shouldRenderNativePlatform.mjs +25 -19
  65. package/dist/esm/shouldRenderNativePlatform.mjs.map +1 -1
  66. package/dist/esm/shouldRenderNativePlatform.native.js +42 -42
  67. package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -1
  68. package/dist/esm/themeClassNames.mjs +21 -0
  69. package/dist/esm/themeClassNames.mjs.map +1 -0
  70. package/dist/esm/themeClassNames.native.js +39 -0
  71. package/dist/esm/themeClassNames.native.js.map +1 -0
  72. package/dist/esm/toStylePropsObject.mjs +13 -0
  73. package/dist/esm/toStylePropsObject.mjs.map +1 -0
  74. package/dist/esm/toStylePropsObject.native.js +50 -0
  75. package/dist/esm/toStylePropsObject.native.js.map +1 -0
  76. package/dist/esm/tokenCategories.mjs +28 -0
  77. package/dist/esm/tokenCategories.mjs.map +1 -0
  78. package/dist/esm/tokenCategories.native.js +30 -0
  79. package/dist/esm/tokenCategories.native.js.map +1 -0
  80. package/dist/esm/types.mjs +1 -0
  81. package/dist/esm/types.mjs.map +1 -1
  82. package/dist/esm/types.native.js +1 -0
  83. package/dist/esm/types.native.js.map +1 -1
  84. package/dist/esm/validStyleProps.mjs +21 -297
  85. package/dist/esm/validStyleProps.mjs.map +1 -1
  86. package/dist/esm/validStyleProps.native.js +22 -291
  87. package/dist/esm/validStyleProps.native.js.map +1 -1
  88. package/dist/esm/webOnlyStyleProps.mjs +7 -75
  89. package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
  90. package/dist/esm/webOnlyStyleProps.native.js +7 -75
  91. package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
  92. package/dist/esm/withStaticProperties.mjs +11 -12
  93. package/dist/esm/withStaticProperties.mjs.map +1 -1
  94. package/dist/esm/withStaticProperties.native.js +12 -13
  95. package/dist/esm/withStaticProperties.native.js.map +1 -1
  96. package/package.json +16 -5
  97. package/src/composeEventHandlers.ts +6 -10
  98. package/src/index.ts +3 -0
  99. package/src/reservedThemeProps.ts +26 -0
  100. package/src/themeClassNames.ts +26 -0
  101. package/src/toStylePropsObject.ts +29 -0
  102. package/src/tokenCategories.ts +29 -0
  103. package/src/validStyleProps.ts +89 -349
  104. package/src/webOnlyStyleProps.ts +16 -80
  105. package/types/composeEventHandlers.d.ts.map +1 -1
  106. package/types/index.d.ts +3 -0
  107. package/types/index.d.ts.map +1 -1
  108. package/types/reservedThemeProps.d.ts +11 -0
  109. package/types/reservedThemeProps.d.ts.map +1 -0
  110. package/types/themeClassNames.d.ts +3 -0
  111. package/types/themeClassNames.d.ts.map +1 -0
  112. package/types/toStylePropsObject.d.ts +6 -0
  113. package/types/toStylePropsObject.d.ts.map +1 -0
  114. package/types/tokenCategories.d.ts +4 -0
  115. package/types/tokenCategories.d.ts.map +1 -0
  116. package/types/validStyleProps.d.ts +1533 -1242
  117. package/types/validStyleProps.d.ts.map +1 -1
  118. package/types/webOnlyStyleProps.d.ts +106 -99
  119. package/types/webOnlyStyleProps.d.ts.map +1 -1
  120. package/types/withStaticProperties.d.ts.map +1 -1
  121. package/dist/esm/index.js.map +0 -1
  122. package/dist/esm/index.mjs.map +0 -1
  123. package/dist/esm/index.native.js.map +0 -1
@@ -5,104 +5,33 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
13
  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;
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;
21
21
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var webOnlyStyleProps_exports = {};
26
24
  __export(webOnlyStyleProps_exports, {
27
- nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
28
- nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
29
- webOnlyStylePropsText: () => webOnlyStylePropsText,
30
- webOnlyStylePropsView: () => webOnlyStylePropsView
25
+ nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
26
+ nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
27
+ webOnlyStylePropsText: () => webOnlyStylePropsText,
28
+ webOnlyStylePropsView: () => webOnlyStylePropsView
31
29
  });
32
30
  module.exports = __toCommonJS(webOnlyStyleProps_exports);
33
- var nonAnimatableWebViewProps = {
34
- backgroundAttachment: true,
35
- backgroundBlendMode: true,
36
- backgroundClip: true,
37
- backgroundOrigin: true,
38
- backgroundRepeat: true,
39
- borderBottomStyle: true,
40
- borderLeftStyle: true,
41
- borderRightStyle: true,
42
- borderTopStyle: true,
43
- contain: true,
44
- containerType: true,
45
- content: true,
46
- float: true,
47
- maskBorderMode: true,
48
- maskBorderRepeat: true,
49
- maskClip: true,
50
- maskComposite: true,
51
- maskMode: true,
52
- maskOrigin: true,
53
- maskRepeat: true,
54
- maskType: true,
55
- objectFit: true,
56
- overflowBlock: true,
57
- overflowInline: true,
58
- overflowX: true,
59
- overflowY: true,
60
- // NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
61
- pointerEvents: true,
62
- scrollbarWidth: true,
63
- textWrap: true,
64
- touchAction: true,
65
- transformStyle: true,
66
- willChange: true
67
- };
68
- var nonAnimatableWebTextProps = {
69
- whiteSpace: true,
70
- wordWrap: true,
71
- textOverflow: true,
72
- WebkitBoxOrient: true
73
- };
74
- var webOnlyStylePropsView = {
75
- ...nonAnimatableWebViewProps,
76
- transition: true,
77
- backdropFilter: true,
78
- WebkitBackdropFilter: true,
79
- background: true,
80
- borderTop: true,
81
- borderRight: true,
82
- borderBottom: true,
83
- borderLeft: true,
84
- backgroundPosition: true,
85
- backgroundSize: true,
86
- borderImage: true,
87
- caretColor: true,
88
- clipPath: true,
89
- mask: true,
90
- maskBorder: true,
91
- maskBorderOutset: true,
92
- maskBorderSlice: true,
93
- maskBorderSource: true,
94
- maskBorderWidth: true,
95
- maskImage: true,
96
- maskPosition: true,
97
- maskSize: true,
98
- objectPosition: true,
99
- textEmphasis: true,
100
- userSelect: true
101
- };
102
- var webOnlyStylePropsText = {
103
- ...nonAnimatableWebTextProps,
104
- textDecorationDistance: true,
105
- // cursor: now cross-platform - in stylePropsView
106
- WebkitLineClamp: true
107
- };
31
+ var import_toStylePropsObject = require("./toStylePropsObject.native.js");
32
+ var nonAnimatableWebViewProps = (0, import_toStylePropsObject.toStylePropsObject)("backgroundAttachment backgroundBlendMode backgroundClip backgroundOrigin backgroundRepeat borderBottomStyle borderLeftStyle borderRightStyle borderTopStyle contain containerType containerName content float maskBorderMode maskBorderRepeat maskClip maskComposite maskMode maskOrigin maskRepeat maskType objectFit overflowBlock overflowInline overflowX overflowY scrollbarWidth textWrap touchAction transformStyle willChange");
33
+ var nonAnimatableWebTextProps = (0, import_toStylePropsObject.toStylePropsObject)("whiteSpace wordWrap textOverflow WebkitBoxOrient");
34
+ var webOnlyStylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebViewProps, "transition transitionProperty transitionDuration transitionTimingFunction transitionDelay transitionBehavior backdropFilter WebkitBackdropFilter borderTop borderRight borderBottom borderLeft backgroundPosition backgroundSize borderImage caretColor clipPath mask maskBorder maskBorderOutset maskBorderSlice maskBorderSource maskBorderWidth maskImage maskPosition maskSize objectPosition textEmphasis userSelect overflowWrap wordWrap resize");
35
+ var webOnlyStylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebTextProps, "textDecorationDistance WebkitLineClamp");
36
+
108
37
  //# sourceMappingURL=webOnlyStyleProps.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","webOnlyStyleProps_exports","__export","nonAnimatableWebTextProps","nonAnimatableWebViewProps","webOnlyStylePropsText","webOnlyStylePropsView","module","exports","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundOrigin","backgroundRepeat","borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle","contain","containerType","content","float","maskBorderMode","maskBorderRepeat","maskClip","maskComposite","maskMode","maskOrigin","maskRepeat","maskType","objectFit","overflowBlock","overflowInline","overflowX","overflowY","pointerEvents","scrollbarWidth","textWrap","touchAction","transformStyle","willChange","whiteSpace","wordWrap","textOverflow","WebkitBoxOrient","transition","backdropFilter","WebkitBackdropFilter","background","borderTop","borderRight","borderBottom","borderLeft","backgroundPosition","backgroundSize","borderImage","caretColor","clipPath","mask","maskBorder","maskBorderOutset","maskBorderSlice","maskBorderSource","maskBorderWidth","maskImage","maskPosition","maskSize","objectPosition","textEmphasis","userSelect","textDecorationDistance","WebkitLineClamp"],"sources":["../../src/webOnlyStyleProps.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,yBAAA,EAAAA,CAAA,KAAAA,yBAAA;EAAAC,yBAAA,EAAAA,CAAA,KAAAA,yBAAA;EAAAC,qBAAA,EAAAA,CAAA,KAAAA,qBAAA;EAAAC,qBAAA,EAAAA,CAAA,KAAAA;AAAA;AAMOC,MAAM,CAAAC,OAAA,GAAAZ,YAAA,CAAAK,yBAA4B;AAAA,IACvCG,yBAAsB;EACtBK,oBAAA,EAAqB;EACrBC,mBAAgB;EAChBC,cAAA,MAAkB;EAClBC,gBAAA,EAAkB;EAClBC,gBAAA,MAAmB;EACnBC,iBAAiB;EACjBC,eAAA,MAAkB;EAClBC,gBAAgB;EAChBC,cAAS;EACTC,OAAA;EACAC,aAAS;EACTC,OAAO;EACPC,KAAA;EACAC,cAAA,MAAkB;EAClBC,gBAAU;EACVC,QAAA;EACAC,aAAU;EACVC,QAAA,MAAY;EACZC,UAAA,EAAY;EACZC,UAAU;EACVC,QAAA,MAAW;EACXC,SAAA,MAAe;EACfC,aAAA,MAAgB;EAChBC,cAAW;EACXC,SAAA,EAAW;EAAAC,SAAA;EAEX;EACAC,aAAA,MAAgB;EAChBC,cAAU;EACVC,QAAA,MAAa;EACbC,WAAA,MAAgB;EAChBC,cAAY;EACdC,UAAA;AAGO;AAAkC,IACvCrC,yBAAY;EACZsC,UAAU;EACVC,QAAA,MAAc;EACdC,YAAA,MAAiB;EACnBC,eAAA;AAEO;AAA8B,IACnCtC,qBAAG;EACH,GAAAF,yBAAY;EACZyC,UAAA,MAAgB;EAChBC,cAAA;EACAC,oBAAY;EACZC,UAAA,EAAW;EACXC,SAAA,MAAa;EACbC,WAAA,MAAc;EACdC,YAAY;EACZC,UAAA;EACAC,kBAAgB;EAChBC,cAAa;EACbC,WAAA,EAAY;EACZC,UAAU;EACVC,QAAM;EACNC,IAAA;EACAC,UAAA;EACAC,gBAAA,EAAiB;EACjBC,eAAA,MAAkB;EAClBC,gBAAA,EAAiB;EACjBC,eAAW;EACXC,SAAA,MAAc;EACdC,YAAU;EACVC,QAAA;EACAC,cAAc;EACdC,YAAY;EACdC,UAAA;AAEO;AAA8B,IACnChE,qBAAG;EACH,GAAAF,yBAAwB;EAAAmE,sBAAA;EAExB;EACFC,eAAA","ignoreList":[]}
1
+ {"version":3,"file":"webOnlyStyleProps.native.js","names":[],"sources":["cjs/webOnlyStyleProps.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 webOnlyStyleProps_exports = {};\n__export(webOnlyStyleProps_exports, {\n nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,\n nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,\n webOnlyStylePropsText: () => webOnlyStylePropsText,\n webOnlyStylePropsView: () => webOnlyStylePropsView\n});\nmodule.exports = __toCommonJS(webOnlyStyleProps_exports);\nvar import_toStylePropsObject = require(\"./toStylePropsObject\");\nvar nonAnimatableWebViewProps = (0, import_toStylePropsObject.toStylePropsObject)(\"backgroundAttachment backgroundBlendMode backgroundClip backgroundOrigin backgroundRepeat borderBottomStyle borderLeftStyle borderRightStyle borderTopStyle contain containerType containerName content float maskBorderMode maskBorderRepeat maskClip maskComposite maskMode maskOrigin maskRepeat maskType objectFit overflowBlock overflowInline overflowX overflowY scrollbarWidth textWrap touchAction transformStyle willChange\");\nvar nonAnimatableWebTextProps = (0, import_toStylePropsObject.toStylePropsObject)(\"whiteSpace wordWrap textOverflow WebkitBoxOrient\");\nvar webOnlyStylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebViewProps, \"transition transitionProperty transitionDuration transitionTimingFunction transitionDelay transitionBehavior backdropFilter WebkitBackdropFilter borderTop borderRight borderBottom borderLeft backgroundPosition backgroundSize borderImage caretColor clipPath mask maskBorder maskBorderOutset maskBorderSlice maskBorderSource maskBorderWidth maskImage maskPosition maskSize objectPosition textEmphasis userSelect overflowWrap wordWrap resize\");\nvar webOnlyStylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebTextProps, \"textDecorationDistance WebkitLineClamp\");\n//# sourceMappingURL=webOnlyStyleProps.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,4BAA4B,CAAC;AACjC,SAAS,2BAA2B;CAClC,iCAAiC;CACjC,iCAAiC;CACjC,6BAA6B;CAC7B,6BAA6B;AAC/B,CAAC;AACD,OAAO,UAAU,aAAa,yBAAyB;AACvD,IAAI,4BAA4B,QAAQ,gCAAsB;AAC9D,IAAI,6BAA6B,GAAG,0BAA0B,mBAAkB,CAAE,uaAAua;AACzf,IAAI,6BAA6B,GAAG,0BAA0B,mBAAkB,CAAE,kDAAkD;AACpI,IAAI,yBAAyB,GAAG,0BAA0B,mBAAkB,CAAE,2BAA2B,wbAAwb;AACjiB,IAAI,yBAAyB,GAAG,0BAA0B,mBAAkB,CAAE,2BAA2B,wCAAwC"}
@@ -3,39 +3,33 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  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;
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;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var withStaticProperties_exports = {};
24
- __export(withStaticProperties_exports, {
25
- withStaticProperties: () => withStaticProperties
26
- });
22
+ __export(withStaticProperties_exports, { withStaticProperties: () => withStaticProperties });
27
23
  module.exports = __toCommonJS(withStaticProperties_exports);
28
- const Decorated = /* @__PURE__ */Symbol();
24
+ const Decorated = /* @__PURE__ */ Symbol();
29
25
  const withStaticProperties = (component, staticProps) => {
30
- const out = (() => {
31
- if (component[Decorated]) {
32
- return typeof component === "function" ? Object.assign(component.bind(null), component) : {
33
- ...component
34
- };
35
- }
36
- return component;
37
- })();
38
- Object.assign(out, staticProps);
39
- out[Decorated] = true;
40
- return out;
41
- };
26
+ const out = (() => {
27
+ if (component[Decorated]) {
28
+ return typeof component === "function" ? Object.assign(component.bind(null), component) : { ...component };
29
+ }
30
+ return component;
31
+ })();
32
+ Object.assign(out, staticProps);
33
+ out[Decorated] = true;
34
+ return out;
35
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ 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;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var withStaticProperties_exports = {};
24
+ __export(withStaticProperties_exports, { withStaticProperties: () => withStaticProperties });
25
+ module.exports = __toCommonJS(withStaticProperties_exports);
26
+ var Decorated = /* @__PURE__ */ Symbol();
27
+ var withStaticProperties = function(component, staticProps) {
28
+ var out = (function() {
29
+ if (component[Decorated]) {
30
+ return typeof component === "function" ? Object.assign(component.bind(null), component) : { ...component };
31
+ }
32
+ return component;
33
+ })();
34
+ Object.assign(out, staticProps);
35
+ out[Decorated] = true;
36
+ return out;
37
+ };
@@ -5,40 +5,35 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
13
  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;
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;
21
21
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var withStaticProperties_exports = {};
26
- __export(withStaticProperties_exports, {
27
- withStaticProperties: () => withStaticProperties
28
- });
24
+ __export(withStaticProperties_exports, { withStaticProperties: () => withStaticProperties });
29
25
  module.exports = __toCommonJS(withStaticProperties_exports);
30
- var Decorated = /* @__PURE__ */Symbol();
31
- var withStaticProperties = function (component, staticProps) {
32
- var out = function () {
33
- if (component[Decorated]) {
34
- return typeof component === "function" ? Object.assign(component.bind(null), component) : {
35
- ...component
36
- };
37
- }
38
- return component;
39
- }();
40
- Object.assign(out, staticProps);
41
- out[Decorated] = true;
42
- return out;
26
+ var Decorated = /* @__PURE__ */ Symbol();
27
+ var withStaticProperties = function(component, staticProps) {
28
+ var out = (function() {
29
+ if (component[Decorated]) {
30
+ return typeof component === "function" ? Object.assign(component.bind(null), component) : { ...component };
31
+ }
32
+ return component;
33
+ })();
34
+ Object.assign(out, staticProps);
35
+ out[Decorated] = true;
36
+ return out;
43
37
  };
38
+
44
39
  //# sourceMappingURL=withStaticProperties.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","withStaticProperties_exports","__export","withStaticProperties","module","exports","Decorated","Symbol","component","staticProps","out","Object","assign","bind"],"sources":["../../src/withStaticProperties.tsx"],"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;AAAAC,MAAM,CAAAC,OAAA,GAAAT,YAAY,CAAAK,4BAAO;AAIlB,IAAAK,SAAM,kBACXC,MAAA;AAGA,IAAAJ,oBAAmB,YAAAA,CAAAK,SAAA,EAAAC,WAAA;EACjB,IAAAC,GAAK,eAAkB;IAMrB,IAAAF,SAAO,CAAAF,SAAO;MAGhB,cAAAE,SAAA,kBAAAG,MAAA,CAAAC,MAAA,CAAAJ,SAAA,CAAAK,IAAA,QAAAL,SAAA;QACA,GAAOA;MACN;IAEH;IACA,OAAIA,SAAa;EAEjB;EACFG,MAAA,CAAAC,MAAA,CAAAF,GAAA,EAAAD,WAAA","ignoreList":[]}
1
+ {"version":3,"file":"withStaticProperties.native.js","names":[],"sources":["cjs/withStaticProperties.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 withStaticProperties_exports = {};\n__export(withStaticProperties_exports, {\n withStaticProperties: () => withStaticProperties\n});\nmodule.exports = __toCommonJS(withStaticProperties_exports);\nvar Decorated = /* @__PURE__ */ Symbol();\nvar withStaticProperties = function(component, staticProps) {\n var out = (function() {\n if (component[Decorated]) {\n return typeof component === \"function\" ? Object.assign(component.bind(null), component) : {\n ...component\n };\n }\n return component;\n })();\n Object.assign(out, staticProps);\n out[Decorated] = true;\n return out;\n};\n//# sourceMappingURL=withStaticProperties.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,IAAI,YAA4B,uBAAO;AACvC,IAAI,uBAAuB,SAAS,WAAW,aAAa;CAC1D,IAAI,OAAO,WAAW;EACpB,IAAI,UAAU,YAAY;GACxB,OAAO,OAAO,cAAc,aAAa,OAAO,OAAO,UAAU,KAAK,IAAI,GAAG,SAAS,IAAI,EACxF,GAAG,UACL;EACF;EACA,OAAO;CACT,EAAC,CAAE;CACH,OAAO,OAAO,KAAK,WAAW;CAC9B,IAAI,aAAa;CACjB,OAAO;AACT"}
@@ -1,5 +1,6 @@
1
1
  function clamp(value, [min, max]) {
2
- return Math.min(max, Math.max(min, value));
2
+ return Math.min(max, Math.max(min, value));
3
3
  }
4
+
4
5
  export { clamp };
5
6
  //# sourceMappingURL=clamp.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["clamp","value","min","max","Math"],"sources":["../../src/clamp.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,MAAMC,KAAA,EAAe,CAACC,GAAA,EAAKC,GAAG,GAA6B;EACzE,OAAOC,IAAA,CAAKF,GAAA,CAAIC,GAAA,EAAKC,IAAA,CAAKD,GAAA,CAAID,GAAA,EAAKD,KAAK,CAAC;AAC3C","ignoreList":[]}
1
+ {"version":3,"file":"clamp.js","names":[],"sources":["esm/clamp.js"],"sourcesContent":["function clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=clamp.js.map\n"],"mappings":";AAAA,SAAS,MAAM,OAAO,CAAC,KAAK,MAAM;CAChC,OAAO,KAAK,IAAI,KAAK,KAAK,IAAI,KAAK,KAAK,CAAC;AAC3C"}
@@ -1,6 +1,7 @@
1
1
  function clamp(value, param) {
2
- var [min, max] = param;
3
- return Math.min(max, Math.max(min, value));
2
+ var [min, max] = param;
3
+ return Math.min(max, Math.max(min, value));
4
4
  }
5
+
5
6
  export { clamp };
6
7
  //# sourceMappingURL=clamp.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["clamp","value","param","min","max","Math"],"sources":["../../src/clamp.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,MAAMC,KAAA,EAAeC,KAAC,EAAK;EACzC,KAAAC,GAAO,EAAAC,GAAK,IAAIF,KAAK;EACvB,OAAAG,IAAA,CAAAF,GAAA,CAAAC,GAAA,EAAAC,IAAA,CAAAD,GAAA,CAAAD,GAAA,EAAAF,KAAA","ignoreList":[]}
1
+ {"version":3,"file":"clamp.native.js","names":[],"sources":["esm/clamp.native.js"],"sourcesContent":["function clamp(value, param) {\n var [min, max] = param;\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=clamp.js.map\n"],"mappings":";AAAA,SAAS,MAAM,OAAO,OAAO;CAC3B,IAAI,CAAC,KAAK,OAAO;CACjB,OAAO,KAAK,IAAI,KAAK,KAAK,IAAI,KAAK,KAAK,CAAC;AAC3C"}
@@ -1,17 +1,15 @@
1
- function composeEventHandlers(og, next, {
2
- checkDefaultPrevented = true
3
- } = {}) {
4
- if (!og || !next) {
5
- return next || og || void 0;
6
- }
7
- return event => {
8
- og?.(event);
9
- if (!event || !(checkDefaultPrevented && typeof event === "object" && "defaultPrevented" in event) ||
10
- // @ts-ignore
11
- "defaultPrevented" in event && !event.defaultPrevented) {
12
- return next?.(event);
13
- }
14
- };
1
+ function composeEventHandlers(og, next, { checkDefaultPrevented = true } = {}) {
2
+ if (!og || !next) {
3
+ return next || og || void 0;
4
+ }
5
+ return (event) => {
6
+ og?.(event);
7
+ const isPrevented = !!event && typeof event === "object" && ("defaultPrevented" in event && Boolean(event.defaultPrevented) || "isCanceled" in event && Boolean(event.isCanceled));
8
+ if (!event || !checkDefaultPrevented || !isPrevented) {
9
+ return next?.(event);
10
+ }
11
+ };
15
12
  }
13
+
16
14
  export { composeEventHandlers };
17
15
  //# sourceMappingURL=composeEventHandlers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["composeEventHandlers","og","next","checkDefaultPrevented","event","defaultPrevented"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":"AAIO,SAASA,qBACdC,EAAA,EACAC,IAAA,EACA;EAAEC,qBAAA,GAAwB;AAAK,IAAI,CAAC,GACpC;EACA,IAAI,CAACF,EAAA,IAAM,CAACC,IAAA,EAAM;IAChB,OAAOA,IAAA,IAAQD,EAAA,IAAM;EACvB;EACA,OAAQG,KAAA,IAAa;IACnBH,EAAA,GAAKG,KAAK;IACV,IACE,CAACA,KAAA,IACD,EACED,qBAAA,IACA,OAAOC,KAAA,KAAU,YACjB,sBAAsBA,KAAA;IAAA;IAGvB,sBAAsBA,KAAA,IAAS,CAACA,KAAA,CAAMC,gBAAA,EACvC;MACA,OAAOH,IAAA,GAAOE,KAAK;IACrB;EACF;AACF","ignoreList":[]}
1
+ {"version":3,"file":"composeEventHandlers.js","names":[],"sources":["esm/composeEventHandlers.js"],"sourcesContent":["function composeEventHandlers(og, next, { checkDefaultPrevented = true } = {}) {\n if (!og || !next) {\n return next || og || void 0;\n }\n return (event) => {\n og?.(event);\n const isPrevented = !!event && typeof event === \"object\" && (\"defaultPrevented\" in event && Boolean(event.defaultPrevented) || \"isCanceled\" in event && Boolean(event.isCanceled));\n if (!event || !checkDefaultPrevented || !isPrevented) {\n return next?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=composeEventHandlers.js.map\n"],"mappings":";AAAA,SAAS,qBAAqB,IAAI,MAAM,EAAE,wBAAwB,SAAS,CAAC,GAAG;CAC7E,IAAI,CAAC,MAAM,CAAC,MAAM;EAChB,OAAO,QAAQ,MAAM,KAAK;CAC5B;CACA,QAAQ,UAAU;EAChB,KAAK,KAAK;EACV,MAAM,cAAc,CAAC,CAAC,SAAS,OAAO,UAAU,aAAa,sBAAsB,SAAS,QAAQ,MAAM,gBAAgB,KAAK,gBAAgB,SAAS,QAAQ,MAAM,UAAU;EAChL,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,aAAa;GACpD,OAAO,OAAO,KAAK;EACrB;CACF;AACF"}
@@ -1,23 +1,16 @@
1
- function _type_of(obj) {
2
- "@swc/helpers - typeof";
3
-
4
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
5
- }
6
1
  function composeEventHandlers(og, next) {
7
- var {
8
- checkDefaultPrevented = true
9
- } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
10
- if (!og || !next) {
11
- return next || og || void 0;
12
- }
13
- return function (event) {
14
- og === null || og === void 0 ? void 0 : og(event);
15
- if (!event || !(checkDefaultPrevented && (typeof event === "undefined" ? "undefined" : _type_of(event)) === "object" && "defaultPrevented" in event) ||
16
- // @ts-ignore
17
- "defaultPrevented" in event && !event.defaultPrevented) {
18
- return next === null || next === void 0 ? void 0 : next(event);
19
- }
20
- };
2
+ var { checkDefaultPrevented = true } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3
+ if (!og || !next) {
4
+ return next || og || void 0;
5
+ }
6
+ return function(event) {
7
+ og === null || og === void 0 ? void 0 : og(event);
8
+ var isPrevented = !!event && typeof event === "object" && ("defaultPrevented" in event && Boolean(event.defaultPrevented) || "isCanceled" in event && Boolean(event.isCanceled));
9
+ if (!event || !checkDefaultPrevented || !isPrevented) {
10
+ return next === null || next === void 0 ? void 0 : next(event);
11
+ }
12
+ };
21
13
  }
14
+
22
15
  export { composeEventHandlers };
23
16
  //# sourceMappingURL=composeEventHandlers.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_type_of","obj","Symbol","constructor","composeEventHandlers","og","next","checkDefaultPrevented","arguments","length","event"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":"AAIO,SAASA,SAAAC,GAAA;EAKd,uBAAkB;;EAChB,OAAAA,GAAO,WAAQC,MAAM,oBAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAAA;AAEvB,SAAOG,oBAAcA,CAAAC,EAAA,EAAAC,IAAA;EACnB;IAAAC,qBAAU;EAAA,IAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,iBAAAA,SAAA;EACV,KAAAH,EACG,KAAAC,IACD,EACE;IAKD,OAAAA,IAAA,IAAAD,EAAA,SAAsB;EAEvB;EAAmB,OACrB,UAAAK,KAAA;IACFL,EAAA,aAAAA,EAAA,uBAAAA,EAAA,CAAAK,KAAA;IACF,KAAAA,KAAA,MAAAH,qBAAA,YAAAG,KAAA,iCAAAV,QAAA,CAAAU,KAAA,yCAAAA,KAAA;IAAA","ignoreList":[]}
1
+ {"version":3,"file":"composeEventHandlers.native.js","names":[],"sources":["esm/composeEventHandlers.native.js"],"sourcesContent":["function 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 === \"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}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=composeEventHandlers.js.map\n"],"mappings":";AAAA,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,SAAS,OAAO,UAAU,aAAa,sBAAsB,SAAS,QAAQ,MAAM,gBAAgB,KAAK,gBAAgB,SAAS,QAAQ,MAAM,UAAU;EAC9K,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,aAAa;GACpD,OAAO,SAAS,QAAQ,SAAS,KAAK,IAAI,KAAK,IAAI,KAAK,KAAK;EAC/D;CACF;AACF"}
package/dist/esm/index.js CHANGED
@@ -1,9 +1,21 @@
1
- export * from "@tamagui/simple-hash";
2
- export * from "./clamp.mjs";
3
- export * from "./composeEventHandlers.mjs";
4
- export * from "./types.mjs";
5
- export * from "./shouldRenderNativePlatform.mjs";
6
- export * from "./validStyleProps.mjs";
7
- export * from "./withStaticProperties.mjs";
8
- export * from "./webOnlyStyleProps.mjs";
9
- //# sourceMappingURL=index.js.map
1
+ export * from "@tamagui/simple-hash"
2
+
3
+ export * from "./clamp.mjs"
4
+
5
+ export * from "./reservedThemeProps.mjs"
6
+
7
+ export * from "./themeClassNames.mjs"
8
+
9
+ export * from "./composeEventHandlers.mjs"
10
+
11
+ export * from "./types.mjs"
12
+
13
+ export * from "./shouldRenderNativePlatform.mjs"
14
+
15
+ export * from "./tokenCategories.mjs"
16
+
17
+ export * from "./validStyleProps.mjs"
18
+
19
+ export * from "./withStaticProperties.mjs"
20
+
21
+ export * from "./webOnlyStyleProps.mjs"
@@ -1,9 +1,21 @@
1
- export * from "@tamagui/simple-hash";
2
- export * from "./clamp.mjs";
3
- export * from "./composeEventHandlers.mjs";
4
- export * from "./types.mjs";
5
- export * from "./shouldRenderNativePlatform.mjs";
6
- export * from "./validStyleProps.mjs";
7
- export * from "./withStaticProperties.mjs";
8
- export * from "./webOnlyStyleProps.mjs";
9
- //# sourceMappingURL=index.mjs.map
1
+ export * from "@tamagui/simple-hash"
2
+
3
+ export * from "./clamp.mjs"
4
+
5
+ export * from "./reservedThemeProps.mjs"
6
+
7
+ export * from "./themeClassNames.mjs"
8
+
9
+ export * from "./composeEventHandlers.mjs"
10
+
11
+ export * from "./types.mjs"
12
+
13
+ export * from "./shouldRenderNativePlatform.mjs"
14
+
15
+ export * from "./tokenCategories.mjs"
16
+
17
+ export * from "./validStyleProps.mjs"
18
+
19
+ export * from "./withStaticProperties.mjs"
20
+
21
+ export * from "./webOnlyStyleProps.mjs"
@@ -1,9 +1,21 @@
1
- export * from "@tamagui/simple-hash";
2
- export * from "./clamp.native.js";
3
- export * from "./composeEventHandlers.native.js";
4
- export * from "./types.native.js";
5
- export * from "./shouldRenderNativePlatform.native.js";
6
- export * from "./validStyleProps.native.js";
7
- export * from "./withStaticProperties.native.js";
8
- export * from "./webOnlyStyleProps.native.js";
9
- //# sourceMappingURL=index.native.js.map
1
+ export * from "@tamagui/simple-hash"
2
+
3
+ export * from "./clamp.native.js"
4
+
5
+ export * from "./reservedThemeProps.native.js"
6
+
7
+ export * from "./themeClassNames.native.js"
8
+
9
+ export * from "./composeEventHandlers.native.js"
10
+
11
+ export * from "./types.native.js"
12
+
13
+ export * from "./shouldRenderNativePlatform.native.js"
14
+
15
+ export * from "./tokenCategories.native.js"
16
+
17
+ export * from "./validStyleProps.native.js"
18
+
19
+ export * from "./withStaticProperties.native.js"
20
+
21
+ export * from "./webOnlyStyleProps.native.js"
@@ -0,0 +1,20 @@
1
+ const reservedThemeProps = {
2
+ _isRoot: true,
3
+ children: true,
4
+ className: true,
5
+ contain: true,
6
+ debug: true,
7
+ deopt: true,
8
+ disable: true,
9
+ "disable-child-theme": true,
10
+ forceClassName: true,
11
+ _themeUpdate: true,
12
+ name: true,
13
+ nativeUpdate: true,
14
+ needsUpdate: true,
15
+ passThrough: true,
16
+ shallow: true
17
+ };
18
+
19
+ export { reservedThemeProps };
20
+ //# sourceMappingURL=reservedThemeProps.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservedThemeProps.js","names":[],"sources":["esm/reservedThemeProps.js"],"sourcesContent":["const 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 _themeUpdate: true,\n name: true,\n nativeUpdate: true,\n needsUpdate: true,\n passThrough: true,\n shallow: true\n};\nexport {\n reservedThemeProps\n};\n//# sourceMappingURL=reservedThemeProps.js.map\n"],"mappings":";AAAA,MAAM,qBAAqB;CACzB,SAAS;CACT,UAAU;CACV,WAAW;CACX,SAAS;CACT,OAAO;CACP,OAAO;CACP,SAAS;CACT,uBAAuB;CACvB,gBAAgB;CAChB,cAAc;CACd,MAAM;CACN,cAAc;CACd,aAAa;CACb,aAAa;CACb,SAAS;AACX"}
@@ -0,0 +1,20 @@
1
+ var reservedThemeProps = {
2
+ _isRoot: true,
3
+ children: true,
4
+ className: true,
5
+ contain: true,
6
+ debug: true,
7
+ deopt: true,
8
+ disable: true,
9
+ "disable-child-theme": true,
10
+ forceClassName: true,
11
+ _themeUpdate: true,
12
+ name: true,
13
+ nativeUpdate: true,
14
+ needsUpdate: true,
15
+ passThrough: true,
16
+ shallow: true
17
+ };
18
+
19
+ export { reservedThemeProps };
20
+ //# sourceMappingURL=reservedThemeProps.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservedThemeProps.native.js","names":[],"sources":["esm/reservedThemeProps.native.js"],"sourcesContent":["var 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 _themeUpdate: true,\n name: true,\n nativeUpdate: true,\n needsUpdate: true,\n passThrough: true,\n shallow: true\n};\nexport {\n reservedThemeProps\n};\n//# sourceMappingURL=reservedThemeProps.js.map\n"],"mappings":";AAAA,IAAI,qBAAqB;CACvB,SAAS;CACT,UAAU;CACV,WAAW;CACX,SAAS;CACT,OAAO;CACP,OAAO;CACP,SAAS;CACT,uBAAuB;CACvB,gBAAgB;CAChB,cAAc;CACd,MAAM;CACN,cAAc;CACd,aAAa;CACb,aAAa;CACb,SAAS;AACX"}