@tamagui/core 1.0.6 → 1.0.8

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 (192) hide show
  1. package/dist/cjs/createComponent.js.map +2 -2
  2. package/dist/cjs/helpers/ThemeManager.js +4 -24
  3. package/dist/cjs/helpers/ThemeManager.js.map +2 -2
  4. package/dist/cjs/helpers/createPropMapper.js +11 -16
  5. package/dist/cjs/helpers/createPropMapper.js.map +2 -2
  6. package/dist/cjs/helpers/expandStyles.js +10 -3
  7. package/dist/cjs/helpers/expandStyles.js.map +3 -3
  8. package/dist/cjs/helpers/getSplitStyles.js +8 -0
  9. package/dist/cjs/helpers/getSplitStyles.js.map +2 -2
  10. package/dist/cjs/helpers/normalizeColor.js +16 -37
  11. package/dist/cjs/helpers/normalizeColor.js.map +3 -3
  12. package/dist/cjs/helpers/normalizeValueWithProperty.js +1 -1
  13. package/dist/cjs/helpers/normalizeValueWithProperty.js.map +2 -2
  14. package/dist/esm/createComponent.js.map +2 -2
  15. package/dist/esm/helpers/ThemeManager.js +4 -5
  16. package/dist/esm/helpers/ThemeManager.js.map +2 -2
  17. package/dist/esm/helpers/createPropMapper.js +11 -16
  18. package/dist/esm/helpers/createPropMapper.js.map +2 -2
  19. package/dist/esm/helpers/expandStyles.js +5 -4
  20. package/dist/esm/helpers/expandStyles.js.map +2 -2
  21. package/dist/esm/helpers/getSplitStyles.js +8 -0
  22. package/dist/esm/helpers/getSplitStyles.js.map +2 -2
  23. package/dist/esm/helpers/normalizeColor.js +14 -35
  24. package/dist/esm/helpers/normalizeColor.js.map +3 -3
  25. package/dist/esm/helpers/normalizeValueWithProperty.js +1 -1
  26. package/dist/esm/helpers/normalizeValueWithProperty.js.map +2 -2
  27. package/package.json +11 -11
  28. package/src/createComponent.tsx +1 -0
  29. package/src/helpers/ThemeManager.tsx +4 -4
  30. package/src/helpers/createPropMapper.ts +12 -16
  31. package/src/helpers/expandStyles.ts +5 -4
  32. package/src/helpers/getSplitStyles.tsx +10 -0
  33. package/src/helpers/normalizeColor.ts +14 -38
  34. package/src/helpers/normalizeValueWithProperty.ts +1 -1
  35. package/types/helpers/ThemeManager.d.ts +1 -1
  36. package/types/helpers/normalizeColor.d.ts +2 -2
  37. package/dist/cjs/Pressability.js +0 -32
  38. package/dist/cjs/Pressability.js.map +0 -7
  39. package/dist/cjs/Pressability.native.js +0 -32
  40. package/dist/cjs/Pressability.native.js.map +0 -7
  41. package/dist/cjs/ThemeContext.js +0 -30
  42. package/dist/cjs/ThemeContext.js.map +0 -7
  43. package/dist/cjs/ThemeManager.js +0 -211
  44. package/dist/cjs/ThemeManager.js.map +0 -7
  45. package/dist/cjs/conf.js +0 -70
  46. package/dist/cjs/conf.js.map +0 -7
  47. package/dist/cjs/constants/platform.js +0 -59
  48. package/dist/cjs/constants/platform.js.map +0 -7
  49. package/dist/cjs/constants/platform.native.js +0 -62
  50. package/dist/cjs/constants/platform.native.js.map +0 -7
  51. package/dist/cjs/constants/rnw.native.js +0 -28
  52. package/dist/cjs/constants/rnw.native.js.map +0 -7
  53. package/dist/cjs/contexts/ButtonInsideButtonContext.js +0 -30
  54. package/dist/cjs/contexts/ButtonInsideButtonContext.js.map +0 -7
  55. package/dist/cjs/contexts/ThemeContext.js +0 -30
  56. package/dist/cjs/contexts/ThemeContext.js.map +0 -7
  57. package/dist/cjs/defaultComponentState.js +0 -2
  58. package/dist/cjs/defaultComponentState.js.map +0 -7
  59. package/dist/cjs/helpers/Unwrap.js +0 -29
  60. package/dist/cjs/helpers/Unwrap.js.map +0 -7
  61. package/dist/cjs/helpers/areEqualSets.js +0 -38
  62. package/dist/cjs/helpers/areEqualSets.js.map +0 -7
  63. package/dist/cjs/helpers/assignNativePropsToWeb.js +0 -188
  64. package/dist/cjs/helpers/assignNativePropsToWeb.js.map +0 -7
  65. package/dist/cjs/helpers/assignNativePropsToWeb.native.js +0 -30
  66. package/dist/cjs/helpers/assignNativePropsToWeb.native.js.map +0 -7
  67. package/dist/cjs/helpers/cache.js +0 -39
  68. package/dist/cjs/helpers/cache.js.map +0 -7
  69. package/dist/cjs/helpers/calc.js +0 -71
  70. package/dist/cjs/helpers/calc.js.map +0 -7
  71. package/dist/cjs/helpers/createShallowUpdate.js +0 -41
  72. package/dist/cjs/helpers/createShallowUpdate.js.map +0 -7
  73. package/dist/cjs/helpers/createTamaguiProvider.js +0 -65
  74. package/dist/cjs/helpers/createTamaguiProvider.js.map +0 -7
  75. package/dist/cjs/helpers/cssHash.js +0 -51
  76. package/dist/cjs/helpers/cssHash.js.map +0 -7
  77. package/dist/cjs/helpers/expandStyle.test.js +0 -10
  78. package/dist/cjs/helpers/expandStyle.test.js.map +0 -7
  79. package/dist/cjs/helpers/getFont.js +0 -62
  80. package/dist/cjs/helpers/getFont.js.map +0 -7
  81. package/dist/cjs/helpers/getSize.js +0 -48
  82. package/dist/cjs/helpers/getSize.js.map +0 -7
  83. package/dist/cjs/helpers/getStackSize.js +0 -46
  84. package/dist/cjs/helpers/getStackSize.js.map +0 -7
  85. package/dist/cjs/helpers/nativeGestureHandler.native.js +0 -19
  86. package/dist/cjs/helpers/nativeGestureHandler.native.js.map +0 -7
  87. package/dist/cjs/helpers/startTransition.js +0 -33
  88. package/dist/cjs/helpers/startTransition.js.map +0 -7
  89. package/dist/cjs/helpers/validate.js +0 -2
  90. package/dist/cjs/helpers/validate.js.map +0 -7
  91. package/dist/cjs/helpers/wrapThemeManagerContext.js +0 -37
  92. package/dist/cjs/helpers/wrapThemeManagerContext.js.map +0 -7
  93. package/dist/cjs/hooks/useConstant.js +0 -36
  94. package/dist/cjs/hooks/useConstant.js.map +0 -7
  95. package/dist/cjs/hooks/useFeatures.js +0 -201
  96. package/dist/cjs/hooks/useFeatures.js.map +0 -7
  97. package/dist/cjs/hooks/useIsMounted.js +0 -40
  98. package/dist/cjs/hooks/useIsMounted.js.map +0 -7
  99. package/dist/cjs/hooks/useIsSSR.js +0 -42
  100. package/dist/cjs/hooks/useIsSSR.js.map +0 -7
  101. package/dist/cjs/hooks/usePressable.js +0 -36
  102. package/dist/cjs/hooks/usePressable.js.map +0 -7
  103. package/dist/cjs/hooks/usePrevious.js +0 -1
  104. package/dist/cjs/hooks/usePrevious.js.map +0 -7
  105. package/dist/cjs/hooks/useUnmountEffect.js +0 -32
  106. package/dist/cjs/hooks/useUnmountEffect.js.map +0 -7
  107. package/dist/cjs/injectStyles.js +0 -40
  108. package/dist/cjs/injectStyles.js.map +0 -7
  109. package/dist/cjs/views/TextAncestorContext.js +0 -44
  110. package/dist/cjs/views/TextAncestorContext.js.map +0 -7
  111. package/dist/cjs/views/ThemeInverse.js +0 -55
  112. package/dist/cjs/views/ThemeInverse.js.map +0 -7
  113. package/dist/cjs/views/ThemeReset.js +0 -64
  114. package/dist/cjs/views/ThemeReset.js.map +0 -7
  115. package/dist/esm/Pressability.js +0 -7
  116. package/dist/esm/Pressability.js.map +0 -7
  117. package/dist/esm/Pressability.native.js +0 -7
  118. package/dist/esm/Pressability.native.js.map +0 -7
  119. package/dist/esm/ThemeContext.js +0 -6
  120. package/dist/esm/ThemeContext.js.map +0 -7
  121. package/dist/esm/ThemeManager.js +0 -185
  122. package/dist/esm/ThemeManager.js.map +0 -7
  123. package/dist/esm/conf.js +0 -39
  124. package/dist/esm/conf.js.map +0 -7
  125. package/dist/esm/constants/platform.js +0 -26
  126. package/dist/esm/constants/platform.js.map +0 -7
  127. package/dist/esm/constants/platform.native.js +0 -28
  128. package/dist/esm/constants/platform.native.js.map +0 -7
  129. package/dist/esm/constants/rnw.native.js +0 -5
  130. package/dist/esm/constants/rnw.native.js.map +0 -7
  131. package/dist/esm/contexts/ButtonInsideButtonContext.js +0 -6
  132. package/dist/esm/contexts/ButtonInsideButtonContext.js.map +0 -7
  133. package/dist/esm/contexts/ThemeContext.js +0 -6
  134. package/dist/esm/contexts/ThemeContext.js.map +0 -7
  135. package/dist/esm/defaultComponentState.js +0 -1
  136. package/dist/esm/defaultComponentState.js.map +0 -7
  137. package/dist/esm/helpers/Unwrap.js +0 -5
  138. package/dist/esm/helpers/Unwrap.js.map +0 -7
  139. package/dist/esm/helpers/areEqualSets.js +0 -14
  140. package/dist/esm/helpers/areEqualSets.js.map +0 -7
  141. package/dist/esm/helpers/assignNativePropsToWeb.js +0 -164
  142. package/dist/esm/helpers/assignNativePropsToWeb.js.map +0 -7
  143. package/dist/esm/helpers/assignNativePropsToWeb.native.js +0 -6
  144. package/dist/esm/helpers/assignNativePropsToWeb.native.js.map +0 -7
  145. package/dist/esm/helpers/cache.js +0 -15
  146. package/dist/esm/helpers/cache.js.map +0 -7
  147. package/dist/esm/helpers/calc.js +0 -47
  148. package/dist/esm/helpers/calc.js.map +0 -7
  149. package/dist/esm/helpers/createShallowUpdate.js +0 -17
  150. package/dist/esm/helpers/createShallowUpdate.js.map +0 -7
  151. package/dist/esm/helpers/createTamaguiProvider.js +0 -38
  152. package/dist/esm/helpers/createTamaguiProvider.js.map +0 -7
  153. package/dist/esm/helpers/cssHash.js +0 -27
  154. package/dist/esm/helpers/cssHash.js.map +0 -7
  155. package/dist/esm/helpers/expandStyle.test.js +0 -9
  156. package/dist/esm/helpers/expandStyle.test.js.map +0 -7
  157. package/dist/esm/helpers/getFont.js +0 -38
  158. package/dist/esm/helpers/getFont.js.map +0 -7
  159. package/dist/esm/helpers/getSize.js +0 -23
  160. package/dist/esm/helpers/getSize.js.map +0 -7
  161. package/dist/esm/helpers/getStackSize.js +0 -22
  162. package/dist/esm/helpers/getStackSize.js.map +0 -7
  163. package/dist/esm/helpers/nativeGestureHandler.native.js +0 -2
  164. package/dist/esm/helpers/nativeGestureHandler.native.js.map +0 -7
  165. package/dist/esm/helpers/startTransition.js +0 -6
  166. package/dist/esm/helpers/startTransition.js.map +0 -7
  167. package/dist/esm/helpers/validate.js +0 -1
  168. package/dist/esm/helpers/validate.js.map +0 -7
  169. package/dist/esm/helpers/wrapThemeManagerContext.js +0 -11
  170. package/dist/esm/helpers/wrapThemeManagerContext.js.map +0 -7
  171. package/dist/esm/hooks/useConstant.js +0 -12
  172. package/dist/esm/hooks/useConstant.js.map +0 -7
  173. package/dist/esm/hooks/useFeatures.js +0 -174
  174. package/dist/esm/hooks/useFeatures.js.map +0 -7
  175. package/dist/esm/hooks/useIsMounted.js +0 -16
  176. package/dist/esm/hooks/useIsMounted.js.map +0 -7
  177. package/dist/esm/hooks/useIsSSR.js +0 -18
  178. package/dist/esm/hooks/useIsSSR.js.map +0 -7
  179. package/dist/esm/hooks/usePressable.js +0 -12
  180. package/dist/esm/hooks/usePressable.js.map +0 -7
  181. package/dist/esm/hooks/usePrevious.js +0 -1
  182. package/dist/esm/hooks/usePrevious.js.map +0 -7
  183. package/dist/esm/hooks/useUnmountEffect.js +0 -8
  184. package/dist/esm/hooks/useUnmountEffect.js.map +0 -7
  185. package/dist/esm/injectStyles.js +0 -16
  186. package/dist/esm/injectStyles.js.map +0 -7
  187. package/dist/esm/views/TextAncestorContext.js +0 -15
  188. package/dist/esm/views/TextAncestorContext.js.map +0 -7
  189. package/dist/esm/views/ThemeInverse.js +0 -27
  190. package/dist/esm/views/ThemeInverse.js.map +0 -7
  191. package/dist/esm/views/ThemeReset.js +0 -37
  192. package/dist/esm/views/ThemeReset.js.map +0 -7
@@ -1,62 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var platform_native_exports = {};
20
- __export(platform_native_exports, {
21
- isAndroid: () => isAndroid,
22
- isChrome: () => isChrome,
23
- isClient: () => isClient,
24
- isIOS: () => isIOS,
25
- isRSC: () => isRSC,
26
- isSSR: () => isSSR,
27
- isTouchable: () => isTouchable,
28
- isWeb: () => isWeb,
29
- isWebTouchable: () => isWebTouchable,
30
- isWindowDefined: () => isWindowDefined,
31
- useIsomorphicLayoutEffect: () => useIsomorphicLayoutEffect
32
- });
33
- module.exports = __toCommonJS(platform_native_exports);
34
- var import_react = require("react");
35
- var import_react_native = require("react-native");
36
- var _a, _b;
37
- const isAndroid = ((_a = import_react_native.Platform) == null ? void 0 : _a.OS) === "android";
38
- const isIOS = ((_b = import_react_native.Platform) == null ? void 0 : _b.OS) === "ios";
39
- const isWeb = false;
40
- const isWindowDefined = false;
41
- const isSSR = false;
42
- const isClient = false;
43
- const isRSC = false;
44
- const useIsomorphicLayoutEffect = import_react.useLayoutEffect;
45
- const isChrome = false;
46
- const isWebTouchable = false;
47
- const isTouchable = true;
48
- // Annotate the CommonJS export names for ESM import in node:
49
- 0 && (module.exports = {
50
- isAndroid,
51
- isChrome,
52
- isClient,
53
- isIOS,
54
- isRSC,
55
- isSSR,
56
- isTouchable,
57
- isWeb,
58
- isWebTouchable,
59
- isWindowDefined,
60
- useIsomorphicLayoutEffect
61
- });
62
- //# sourceMappingURL=platform.native.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/constants/platform.native.ts"],
4
- "sourcesContent": ["import { useLayoutEffect } from 'react'\nimport { Platform } from 'react-native'\n\nexport const isAndroid = Platform?.OS === 'android'\nexport const isIOS = Platform?.OS === 'ios'\nexport const isWeb = false\nexport const isWindowDefined = false\nexport const isSSR = false\nexport const isClient = false\nexport const isRSC = false\nexport const useIsomorphicLayoutEffect = useLayoutEffect\nexport const isChrome = false\nexport const isWebTouchable = false\nexport const isTouchable = true\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgC;AAChC,0BAAyB;AADzB;AAGO,MAAM,cAAY,yDAAU,QAAO;AACnC,MAAM,UAAQ,yDAAU,QAAO;AAC/B,MAAM,QAAQ;AACd,MAAM,kBAAkB;AACxB,MAAM,QAAQ;AACd,MAAM,WAAW;AACjB,MAAM,QAAQ;AACd,MAAM,4BAA4B;AAClC,MAAM,WAAW;AACjB,MAAM,iBAAiB;AACvB,MAAM,cAAc;",
6
- "names": []
7
- }
@@ -1,28 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var rnw_native_exports = {};
19
- __export(rnw_native_exports, {
20
- rnw: () => rnw
21
- });
22
- module.exports = __toCommonJS(rnw_native_exports);
23
- const rnw = {};
24
- // Annotate the CommonJS export names for ESM import in node:
25
- 0 && (module.exports = {
26
- rnw
27
- });
28
- //# sourceMappingURL=rnw.native.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/constants/rnw.native.tsx"],
4
- "sourcesContent": ["export const rnw = {} as any\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,MAAM,CAAC;",
6
- "names": []
7
- }
@@ -1,30 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var ButtonInsideButtonContext_exports = {};
20
- __export(ButtonInsideButtonContext_exports, {
21
- ButtonInsideButtonContext: () => ButtonInsideButtonContext
22
- });
23
- module.exports = __toCommonJS(ButtonInsideButtonContext_exports);
24
- var import_react = require("react");
25
- const ButtonInsideButtonContext = (0, import_react.createContext)(false);
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- ButtonInsideButtonContext
29
- });
30
- //# sourceMappingURL=ButtonInsideButtonContext.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/contexts/ButtonInsideButtonContext.tsx"],
4
- "sourcesContent": ["import { createContext } from 'react'\n\nexport const ButtonInsideButtonContext = createContext(false)\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA8B;AAEvB,MAAM,4BAA4B,gCAAc,KAAK;",
6
- "names": []
7
- }
@@ -1,30 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var ThemeContext_exports = {};
20
- __export(ThemeContext_exports, {
21
- ThemeContext: () => ThemeContext
22
- });
23
- module.exports = __toCommonJS(ThemeContext_exports);
24
- var import_react = require("react");
25
- const ThemeContext = (0, import_react.createContext)(null);
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- ThemeContext
29
- });
30
- //# sourceMappingURL=ThemeContext.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/contexts/ThemeContext.tsx"],
4
- "sourcesContent": ["import { createContext } from 'react'\n\nimport { ThemeName, Themes } from '../types'\n\nexport const ThemeContext = createContext<{ themes: Themes; defaultTheme: ThemeName } | null>(null)\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA8B;AAIvB,MAAM,mBAAe,4BAAkE,IAAI;",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=defaultComponentState.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,29 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var Unwrap_exports = {};
20
- __export(Unwrap_exports, {
21
- Unwrap: () => Unwrap
22
- });
23
- module.exports = __toCommonJS(Unwrap_exports);
24
- const Unwrap = Symbol();
25
- // Annotate the CommonJS export names for ESM import in node:
26
- 0 && (module.exports = {
27
- Unwrap
28
- });
29
- //# sourceMappingURL=Unwrap.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/Unwrap.tsx"],
4
- "sourcesContent": ["export const Unwrap = Symbol()\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,SAAS,OAAO;",
6
- "names": []
7
- }
@@ -1,38 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var areEqualSets_exports = {};
20
- __export(areEqualSets_exports, {
21
- areEqualSets: () => areEqualSets
22
- });
23
- module.exports = __toCommonJS(areEqualSets_exports);
24
- const areEqualSets = (a, b) => {
25
- if (a.size !== b.size)
26
- return false;
27
- for (const val in a) {
28
- if (!b.has(val)) {
29
- return false;
30
- }
31
- }
32
- return true;
33
- };
34
- // Annotate the CommonJS export names for ESM import in node:
35
- 0 && (module.exports = {
36
- areEqualSets
37
- });
38
- //# sourceMappingURL=areEqualSets.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/areEqualSets.tsx"],
4
- "sourcesContent": ["export const areEqualSets = (a: Set<string>, b: Set<string>) => {\n if (a.size !== b.size) return false\n for (const val in a) {\n if (!b.has(val)) {\n return false\n }\n }\n return true\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe,CAAC,GAAgB,MAAmB;AAC9D,MAAI,EAAE,SAAS,EAAE;AAAM,WAAO;AAC9B,aAAW,OAAO,GAAG;AACnB,QAAI,CAAC,EAAE,IAAI,GAAG,GAAG;AACf,aAAO;AAAA,IACT;AAAA,EACF;AACA,SAAO;AACT;",
6
- "names": []
7
- }
@@ -1,188 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var assignNativePropsToWeb_exports = {};
20
- __export(assignNativePropsToWeb_exports, {
21
- assignNativePropsToWeb: () => assignNativePropsToWeb
22
- });
23
- module.exports = __toCommonJS(assignNativePropsToWeb_exports);
24
- var import_createComponent = require("../createComponent");
25
- function assignNativePropsToWeb(elementType, viewProps, nativeProps) {
26
- if (!viewProps.role && nativeProps.accessibilityRole) {
27
- if (nativeProps.accessibilityRole === "none") {
28
- viewProps.role = "presentation";
29
- } else {
30
- const webRole = import_createComponent.accessibilityRoleToWebRole[nativeProps.accessibilityRole];
31
- if (webRole != null) {
32
- viewProps.role = webRole || nativeProps.accessibilityRole;
33
- }
34
- }
35
- }
36
- if (nativeProps.accessibilityActiveDescendant != null) {
37
- viewProps["aria-activedescendant"] = nativeProps.accessibilityActiveDescendant;
38
- }
39
- if (nativeProps.accessibilityAtomic != null) {
40
- viewProps["aria-atomic"] = nativeProps.accessibilityAtomic;
41
- }
42
- if (nativeProps.accessibilityAutoComplete != null) {
43
- viewProps["aria-autocomplete"] = nativeProps.accessibilityAutoComplete;
44
- }
45
- if (nativeProps.accessibilityBusy != null) {
46
- viewProps["aria-busy"] = nativeProps.accessibilityBusy;
47
- }
48
- if (nativeProps.accessibilityChecked != null) {
49
- viewProps["aria-checked"] = nativeProps.accessibilityChecked;
50
- }
51
- if (nativeProps.accessibilityColumnCount != null) {
52
- viewProps["aria-colcount"] = nativeProps.accessibilityColumnCount;
53
- }
54
- if (nativeProps.accessibilityColumnIndex != null) {
55
- viewProps["aria-colindex"] = nativeProps.accessibilityColumnIndex;
56
- }
57
- if (nativeProps.accessibilityColumnSpan != null) {
58
- viewProps["aria-colspan"] = nativeProps.accessibilityColumnSpan;
59
- }
60
- if (nativeProps.accessibilityControls != null) {
61
- viewProps["aria-controls"] = (0, import_createComponent.processIDRefList)(nativeProps.accessibilityControls);
62
- }
63
- if (nativeProps.accessibilityCurrent != null) {
64
- viewProps["aria-current"] = nativeProps.accessibilityCurrent;
65
- }
66
- if (nativeProps.accessibilityDescribedBy != null) {
67
- viewProps["aria-describedby"] = (0, import_createComponent.processIDRefList)(nativeProps.accessibilityDescribedBy);
68
- }
69
- if (nativeProps.accessibilityDetails != null) {
70
- viewProps["aria-details"] = nativeProps.accessibilityDetails;
71
- }
72
- if (nativeProps.disabled === true) {
73
- viewProps["aria-disabled"] = true;
74
- if (elementType === "button" || elementType === "form" || elementType === "input" || elementType === "select" || elementType === "textarea") {
75
- viewProps.disabled = true;
76
- }
77
- }
78
- if (nativeProps.accessibilityErrorMessage != null) {
79
- viewProps["aria-errormessage"] = nativeProps.accessibilityErrorMessage;
80
- }
81
- if (nativeProps.accessibilityExpanded != null) {
82
- viewProps["aria-expanded"] = nativeProps.accessibilityExpanded;
83
- }
84
- if (nativeProps.accessibilityFlowTo != null) {
85
- viewProps["aria-flowto"] = (0, import_createComponent.processIDRefList)(nativeProps.accessibilityFlowTo);
86
- }
87
- if (nativeProps.accessibilityHasPopup != null) {
88
- viewProps["aria-haspopup"] = nativeProps.accessibilityHasPopup;
89
- }
90
- if (nativeProps.accessibilityHidden === true) {
91
- viewProps["aria-hidden"] = nativeProps.accessibilityHidden;
92
- }
93
- if (nativeProps.accessibilityInvalid != null) {
94
- viewProps["aria-invalid"] = nativeProps.accessibilityInvalid;
95
- }
96
- if (nativeProps.accessibilityKeyShortcuts != null && Array.isArray(nativeProps.accessibilityKeyShortcuts)) {
97
- viewProps["aria-keyshortcuts"] = nativeProps.accessibilityKeyShortcuts.join(" ");
98
- }
99
- if (nativeProps.accessibilityLabel != null) {
100
- viewProps["aria-label"] = nativeProps.accessibilityLabel;
101
- }
102
- if (nativeProps.accessibilityLabelledBy != null) {
103
- viewProps["aria-labelledby"] = (0, import_createComponent.processIDRefList)(nativeProps.accessibilityLabelledBy);
104
- }
105
- if (nativeProps.accessibilityLevel != null) {
106
- viewProps["aria-level"] = nativeProps.accessibilityLevel;
107
- }
108
- if (nativeProps.accessibilityLiveRegion != null) {
109
- viewProps["aria-live"] = nativeProps.accessibilityLiveRegion === "none" ? "off" : nativeProps.accessibilityLiveRegion;
110
- }
111
- if (nativeProps.accessibilityModal != null) {
112
- viewProps["aria-modal"] = nativeProps.accessibilityModal;
113
- }
114
- if (nativeProps.accessibilityMultiline != null) {
115
- viewProps["aria-multiline"] = nativeProps.accessibilityMultiline;
116
- }
117
- if (nativeProps.accessibilityMultiSelectable != null) {
118
- viewProps["aria-multiselectable"] = nativeProps.accessibilityMultiSelectable;
119
- }
120
- if (nativeProps.accessibilityOrientation != null) {
121
- viewProps["aria-orientation"] = nativeProps.accessibilityOrientation;
122
- }
123
- if (nativeProps.accessibilityOwns != null) {
124
- viewProps["aria-owns"] = (0, import_createComponent.processIDRefList)(nativeProps.accessibilityOwns);
125
- }
126
- if (nativeProps.accessibilityPlaceholder != null) {
127
- viewProps["aria-placeholder"] = nativeProps.accessibilityPlaceholder;
128
- }
129
- if (nativeProps.accessibilityPosInSet != null) {
130
- viewProps["aria-posinset"] = nativeProps.accessibilityPosInSet;
131
- }
132
- if (nativeProps.accessibilityPressed != null) {
133
- viewProps["aria-pressed"] = nativeProps.accessibilityPressed;
134
- }
135
- if (nativeProps.accessibilityReadOnly != null) {
136
- viewProps["aria-readonly"] = nativeProps.accessibilityReadOnly;
137
- if (elementType === "input" || elementType === "select" || elementType === "textarea") {
138
- viewProps.readOnly = true;
139
- }
140
- }
141
- if (nativeProps.accessibilityRequired != null) {
142
- viewProps["aria-required"] = nativeProps.accessibilityRequired;
143
- if (elementType === "input" || elementType === "select" || elementType === "textarea") {
144
- viewProps.required = true;
145
- }
146
- }
147
- if (nativeProps.accessibilityRoleDescription != null) {
148
- viewProps["aria-roledescription"] = nativeProps.accessibilityRoleDescription;
149
- }
150
- if (nativeProps.accessibilityRowCount != null) {
151
- viewProps["aria-rowcount"] = nativeProps.accessibilityRowCount;
152
- }
153
- if (nativeProps.accessibilityRowIndex != null) {
154
- viewProps["aria-rowindex"] = nativeProps.accessibilityRowIndex;
155
- }
156
- if (nativeProps.accessibilityRowSpan != null) {
157
- viewProps["aria-rowspan"] = nativeProps.accessibilityRowSpan;
158
- }
159
- if (nativeProps.accessibilitySelected != null) {
160
- viewProps["aria-selected"] = nativeProps.accessibilitySelected;
161
- }
162
- if (nativeProps.accessibilitySetSize != null) {
163
- viewProps["aria-setsize"] = nativeProps.accessibilitySetSize;
164
- }
165
- if (nativeProps.accessibilitySort != null) {
166
- viewProps["aria-sort"] = nativeProps.accessibilitySort;
167
- }
168
- if (nativeProps.accessibilityValueMax != null) {
169
- viewProps["aria-valuemax"] = nativeProps.accessibilityValueMax;
170
- }
171
- if (nativeProps.accessibilityValueMin != null) {
172
- viewProps["aria-valuemin"] = nativeProps.accessibilityValueMin;
173
- }
174
- if (nativeProps.accessibilityValueNow != null) {
175
- viewProps["aria-valuenow"] = nativeProps.accessibilityValueNow;
176
- }
177
- if (nativeProps.accessibilityValueText != null) {
178
- viewProps["aria-valuetext"] = nativeProps.accessibilityValueText;
179
- }
180
- if (nativeProps.nativeID) {
181
- viewProps.id = nativeProps.nativeID;
182
- }
183
- }
184
- // Annotate the CommonJS export names for ESM import in node:
185
- 0 && (module.exports = {
186
- assignNativePropsToWeb
187
- });
188
- //# sourceMappingURL=assignNativePropsToWeb.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/assignNativePropsToWeb.tsx"],
4
- "sourcesContent": ["import { accessibilityRoleToWebRole, processIDRefList } from '../createComponent'\n\n// adapted from react-native-web\n\nexport function assignNativePropsToWeb(elementType: string, viewProps: any, nativeProps: any) {\n if (!viewProps.role && nativeProps.accessibilityRole) {\n if (nativeProps.accessibilityRole === 'none') {\n viewProps.role = 'presentation'\n } else {\n const webRole = accessibilityRoleToWebRole[nativeProps.accessibilityRole]\n if (webRole != null) {\n viewProps.role = webRole || nativeProps.accessibilityRole\n }\n }\n }\n\n if (nativeProps.accessibilityActiveDescendant != null) {\n viewProps['aria-activedescendant'] = nativeProps.accessibilityActiveDescendant\n }\n if (nativeProps.accessibilityAtomic != null) {\n viewProps['aria-atomic'] = nativeProps.accessibilityAtomic\n }\n if (nativeProps.accessibilityAutoComplete != null) {\n viewProps['aria-autocomplete'] = nativeProps.accessibilityAutoComplete\n }\n if (nativeProps.accessibilityBusy != null) {\n viewProps['aria-busy'] = nativeProps.accessibilityBusy\n }\n if (nativeProps.accessibilityChecked != null) {\n viewProps['aria-checked'] = nativeProps.accessibilityChecked\n }\n if (nativeProps.accessibilityColumnCount != null) {\n viewProps['aria-colcount'] = nativeProps.accessibilityColumnCount\n }\n if (nativeProps.accessibilityColumnIndex != null) {\n viewProps['aria-colindex'] = nativeProps.accessibilityColumnIndex\n }\n if (nativeProps.accessibilityColumnSpan != null) {\n viewProps['aria-colspan'] = nativeProps.accessibilityColumnSpan\n }\n if (nativeProps.accessibilityControls != null) {\n viewProps['aria-controls'] = processIDRefList(nativeProps.accessibilityControls)\n }\n if (nativeProps.accessibilityCurrent != null) {\n viewProps['aria-current'] = nativeProps.accessibilityCurrent\n }\n if (nativeProps.accessibilityDescribedBy != null) {\n viewProps['aria-describedby'] = processIDRefList(nativeProps.accessibilityDescribedBy)\n }\n if (nativeProps.accessibilityDetails != null) {\n viewProps['aria-details'] = nativeProps.accessibilityDetails\n }\n if (nativeProps.disabled === true) {\n viewProps['aria-disabled'] = true\n // Enhance with native semantics\n if (\n elementType === 'button' ||\n elementType === 'form' ||\n elementType === 'input' ||\n elementType === 'select' ||\n elementType === 'textarea'\n ) {\n viewProps.disabled = true\n }\n }\n if (nativeProps.accessibilityErrorMessage != null) {\n viewProps['aria-errormessage'] = nativeProps.accessibilityErrorMessage\n }\n if (nativeProps.accessibilityExpanded != null) {\n viewProps['aria-expanded'] = nativeProps.accessibilityExpanded\n }\n if (nativeProps.accessibilityFlowTo != null) {\n viewProps['aria-flowto'] = processIDRefList(nativeProps.accessibilityFlowTo)\n }\n if (nativeProps.accessibilityHasPopup != null) {\n viewProps['aria-haspopup'] = nativeProps.accessibilityHasPopup\n }\n if (nativeProps.accessibilityHidden === true) {\n viewProps['aria-hidden'] = nativeProps.accessibilityHidden\n }\n if (nativeProps.accessibilityInvalid != null) {\n viewProps['aria-invalid'] = nativeProps.accessibilityInvalid\n }\n if (\n nativeProps.accessibilityKeyShortcuts != null &&\n Array.isArray(nativeProps.accessibilityKeyShortcuts)\n ) {\n viewProps['aria-keyshortcuts'] = nativeProps.accessibilityKeyShortcuts.join(' ')\n }\n if (nativeProps.accessibilityLabel != null) {\n viewProps['aria-label'] = nativeProps.accessibilityLabel\n }\n if (nativeProps.accessibilityLabelledBy != null) {\n viewProps['aria-labelledby'] = processIDRefList(nativeProps.accessibilityLabelledBy)\n }\n if (nativeProps.accessibilityLevel != null) {\n viewProps['aria-level'] = nativeProps.accessibilityLevel\n }\n if (nativeProps.accessibilityLiveRegion != null) {\n viewProps['aria-live'] =\n nativeProps.accessibilityLiveRegion === 'none' ? 'off' : nativeProps.accessibilityLiveRegion\n }\n if (nativeProps.accessibilityModal != null) {\n viewProps['aria-modal'] = nativeProps.accessibilityModal\n }\n if (nativeProps.accessibilityMultiline != null) {\n viewProps['aria-multiline'] = nativeProps.accessibilityMultiline\n }\n if (nativeProps.accessibilityMultiSelectable != null) {\n viewProps['aria-multiselectable'] = nativeProps.accessibilityMultiSelectable\n }\n if (nativeProps.accessibilityOrientation != null) {\n viewProps['aria-orientation'] = nativeProps.accessibilityOrientation\n }\n if (nativeProps.accessibilityOwns != null) {\n viewProps['aria-owns'] = processIDRefList(nativeProps.accessibilityOwns)\n }\n if (nativeProps.accessibilityPlaceholder != null) {\n viewProps['aria-placeholder'] = nativeProps.accessibilityPlaceholder\n }\n if (nativeProps.accessibilityPosInSet != null) {\n viewProps['aria-posinset'] = nativeProps.accessibilityPosInSet\n }\n if (nativeProps.accessibilityPressed != null) {\n viewProps['aria-pressed'] = nativeProps.accessibilityPressed\n }\n if (nativeProps.accessibilityReadOnly != null) {\n viewProps['aria-readonly'] = nativeProps.accessibilityReadOnly\n // Enhance with native semantics\n if (elementType === 'input' || elementType === 'select' || elementType === 'textarea') {\n viewProps.readOnly = true\n }\n }\n if (nativeProps.accessibilityRequired != null) {\n viewProps['aria-required'] = nativeProps.accessibilityRequired\n // Enhance with native semantics\n if (elementType === 'input' || elementType === 'select' || elementType === 'textarea') {\n viewProps.required = true\n }\n }\n if (nativeProps.accessibilityRoleDescription != null) {\n viewProps['aria-roledescription'] = nativeProps.accessibilityRoleDescription\n }\n if (nativeProps.accessibilityRowCount != null) {\n viewProps['aria-rowcount'] = nativeProps.accessibilityRowCount\n }\n if (nativeProps.accessibilityRowIndex != null) {\n viewProps['aria-rowindex'] = nativeProps.accessibilityRowIndex\n }\n if (nativeProps.accessibilityRowSpan != null) {\n viewProps['aria-rowspan'] = nativeProps.accessibilityRowSpan\n }\n if (nativeProps.accessibilitySelected != null) {\n viewProps['aria-selected'] = nativeProps.accessibilitySelected\n }\n if (nativeProps.accessibilitySetSize != null) {\n viewProps['aria-setsize'] = nativeProps.accessibilitySetSize\n }\n if (nativeProps.accessibilitySort != null) {\n viewProps['aria-sort'] = nativeProps.accessibilitySort\n }\n if (nativeProps.accessibilityValueMax != null) {\n viewProps['aria-valuemax'] = nativeProps.accessibilityValueMax\n }\n if (nativeProps.accessibilityValueMin != null) {\n viewProps['aria-valuemin'] = nativeProps.accessibilityValueMin\n }\n if (nativeProps.accessibilityValueNow != null) {\n viewProps['aria-valuenow'] = nativeProps.accessibilityValueNow\n }\n if (nativeProps.accessibilityValueText != null) {\n viewProps['aria-valuetext'] = nativeProps.accessibilityValueText\n }\n\n if (nativeProps.nativeID) {\n viewProps.id = nativeProps.nativeID\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAA6D;AAItD,gCAAgC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,YAAY,yBAAyB,MAAM;AAC7C,cAAU,mBAAmB,YAAY;AAAA,EAC3C;AACA,MAAI,YAAY,yBAAyB,MAAM;AAC7C,cAAU,mBAAmB,YAAY;AAAA,EAC3C;AACA,MAAI,YAAY,0BAA0B,MAAM;AAC9C,cAAU,oBAAoB,YAAY;AAAA,EAC5C;AAEA,MAAI,YAAY,UAAU;AACxB,cAAU,KAAK,YAAY;AAAA,EAC7B;AACF;",
6
- "names": []
7
- }
@@ -1,30 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var assignNativePropsToWeb_native_exports = {};
20
- __export(assignNativePropsToWeb_native_exports, {
21
- assignNativePropsToWeb: () => assignNativePropsToWeb
22
- });
23
- module.exports = __toCommonJS(assignNativePropsToWeb_native_exports);
24
- function assignNativePropsToWeb(elementType, viewProps, nativeProps) {
25
- }
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- assignNativePropsToWeb
29
- });
30
- //# sourceMappingURL=assignNativePropsToWeb.native.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/assignNativePropsToWeb.native.tsx"],
4
- "sourcesContent": ["export function assignNativePropsToWeb(elementType: string, viewProps: any, nativeProps: any) {}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,gCAAgC,aAAqB,WAAgB,aAAkB;AAAC;",
6
- "names": []
7
- }
@@ -1,39 +0,0 @@
1
- "use strict";
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)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var cache_exports = {};
20
- __export(cache_exports, {
21
- cache: () => cache
22
- });
23
- module.exports = __toCommonJS(cache_exports);
24
- const v = {};
25
- const cache = {
26
- get: (key, valStr) => {
27
- var _a;
28
- return (_a = v[key]) == null ? void 0 : _a[valStr];
29
- },
30
- set: (key, valStr, object) => {
31
- v[key] ?? (v[key] = {});
32
- v[key][valStr] = object;
33
- }
34
- };
35
- // Annotate the CommonJS export names for ESM import in node:
36
- 0 && (module.exports = {
37
- cache
38
- });
39
- //# sourceMappingURL=cache.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/cache.ts"],
4
- "sourcesContent": ["type Value = Object | Array<any> | string | number\n\nexport type Style = { [key: string]: Value }\n\nconst v: Record<string, any> = {}\n\nexport const cache = {\n get: (key: string, valStr: string) => v[key]?.[valStr],\n set: (key: string, valStr: string, object: any) => {\n v[key] ??= {}\n v[key][valStr] = object\n },\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,MAAM,IAAyB,CAAC;AAEzB,MAAM,QAAQ;AAAA,EACnB,KAAK,CAAC,KAAa,WAAgB;AAPrC;AAOwC,mBAAE,SAAF,mBAAS;AAAA;AAAA,EAC/C,KAAK,CAAC,KAAa,QAAgB,WAAgB;AACjD,wBAAW,CAAC;AACZ,MAAE,KAAK,UAAU;AAAA,EACnB;AACF;",
6
- "names": []
7
- }