@hanzo/gui 7.0.0 → 7.2.2

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 (166) hide show
  1. package/dist/cjs/createHanzogui.cjs +80 -0
  2. package/dist/cjs/createHanzogui.native.js +89 -0
  3. package/dist/cjs/createHanzogui.native.js.map +1 -0
  4. package/dist/cjs/index.cjs +148 -0
  5. package/dist/cjs/index.native.js +151 -0
  6. package/dist/cjs/index.native.js.map +1 -0
  7. package/dist/cjs/linear-gradient.cjs +28 -0
  8. package/dist/cjs/linear-gradient.native.js +31 -0
  9. package/dist/cjs/linear-gradient.native.js.map +1 -0
  10. package/dist/cjs/setup.cjs +30 -0
  11. package/dist/cjs/setup.native.js +35 -0
  12. package/dist/cjs/setup.native.js.map +1 -0
  13. package/dist/cjs/viewTypes.cjs +18 -0
  14. package/dist/cjs/viewTypes.native.js +21 -0
  15. package/dist/cjs/viewTypes.native.js.map +1 -0
  16. package/dist/cjs/views/Anchor.cjs +60 -0
  17. package/dist/cjs/views/Anchor.native.js +65 -0
  18. package/dist/cjs/views/Anchor.native.js.map +1 -0
  19. package/dist/cjs/views/EnsureFlexed.cjs +38 -0
  20. package/dist/cjs/views/EnsureFlexed.native.js +41 -0
  21. package/dist/cjs/views/EnsureFlexed.native.js.map +1 -0
  22. package/dist/cjs/views/Fieldset.cjs +43 -0
  23. package/dist/cjs/views/Fieldset.native.js +46 -0
  24. package/dist/cjs/views/Fieldset.native.js.map +1 -0
  25. package/dist/cjs/views/HanzoguiProvider.cjs +46 -0
  26. package/dist/cjs/views/HanzoguiProvider.native.js +50 -0
  27. package/dist/cjs/views/HanzoguiProvider.native.js.map +1 -0
  28. package/dist/cjs/views/Text.cjs +40 -0
  29. package/dist/cjs/views/Text.native.js +43 -0
  30. package/dist/cjs/views/Text.native.js.map +1 -0
  31. package/dist/cjs/views/VisuallyHidden.cjs +60 -0
  32. package/dist/cjs/views/VisuallyHidden.native.js +63 -0
  33. package/dist/cjs/views/VisuallyHidden.native.js.map +1 -0
  34. package/dist/esm/createHanzogui.mjs +55 -0
  35. package/dist/esm/createHanzogui.mjs.map +1 -0
  36. package/dist/esm/createHanzogui.native.js +61 -0
  37. package/dist/esm/createHanzogui.native.js.map +1 -0
  38. package/dist/esm/index.js +63 -0
  39. package/dist/esm/index.js.map +1 -0
  40. package/dist/esm/index.mjs +63 -0
  41. package/dist/esm/index.mjs.map +1 -0
  42. package/dist/esm/index.native.js +63 -0
  43. package/dist/esm/index.native.js.map +1 -0
  44. package/dist/esm/linear-gradient.mjs +3 -0
  45. package/dist/esm/linear-gradient.mjs.map +1 -0
  46. package/dist/esm/linear-gradient.native.js +3 -0
  47. package/dist/esm/linear-gradient.native.js.map +1 -0
  48. package/dist/esm/setup.mjs +6 -0
  49. package/dist/esm/setup.mjs.map +1 -0
  50. package/dist/esm/setup.native.js +8 -0
  51. package/dist/esm/setup.native.js.map +1 -0
  52. package/dist/esm/viewTypes.mjs +2 -0
  53. package/dist/esm/viewTypes.mjs.map +1 -0
  54. package/dist/esm/viewTypes.native.js +2 -0
  55. package/dist/esm/viewTypes.native.js.map +1 -0
  56. package/dist/esm/views/Anchor.mjs +35 -0
  57. package/dist/esm/views/Anchor.mjs.map +1 -0
  58. package/dist/esm/views/Anchor.native.js +37 -0
  59. package/dist/esm/views/Anchor.native.js.map +1 -0
  60. package/dist/esm/views/EnsureFlexed.mjs +13 -0
  61. package/dist/esm/views/EnsureFlexed.mjs.map +1 -0
  62. package/dist/esm/views/EnsureFlexed.native.js +13 -0
  63. package/dist/esm/views/EnsureFlexed.native.js.map +1 -0
  64. package/dist/esm/views/Fieldset.mjs +18 -0
  65. package/dist/esm/views/Fieldset.mjs.map +1 -0
  66. package/dist/esm/views/Fieldset.native.js +18 -0
  67. package/dist/esm/views/Fieldset.native.js.map +1 -0
  68. package/dist/esm/views/HanzoguiProvider.mjs +21 -0
  69. package/dist/esm/views/HanzoguiProvider.mjs.map +1 -0
  70. package/dist/esm/views/HanzoguiProvider.native.js +22 -0
  71. package/dist/esm/views/HanzoguiProvider.native.js.map +1 -0
  72. package/dist/esm/views/Text.mjs +15 -0
  73. package/dist/esm/views/Text.mjs.map +1 -0
  74. package/dist/esm/views/Text.native.js +15 -0
  75. package/dist/esm/views/Text.native.js.map +1 -0
  76. package/dist/esm/views/VisuallyHidden.mjs +35 -0
  77. package/dist/esm/views/VisuallyHidden.mjs.map +1 -0
  78. package/dist/esm/views/VisuallyHidden.native.js +35 -0
  79. package/dist/esm/views/VisuallyHidden.native.js.map +1 -0
  80. package/dist/jsx/createHanzogui.mjs +55 -0
  81. package/dist/jsx/createHanzogui.mjs.map +1 -0
  82. package/dist/jsx/createHanzogui.native.js +89 -0
  83. package/dist/jsx/createHanzogui.native.js.map +1 -0
  84. package/dist/jsx/index.js +63 -0
  85. package/dist/jsx/index.js.map +1 -0
  86. package/dist/jsx/index.mjs +63 -0
  87. package/dist/jsx/index.mjs.map +1 -0
  88. package/dist/jsx/index.native.js +151 -0
  89. package/dist/jsx/index.native.js.map +1 -0
  90. package/dist/jsx/linear-gradient.mjs +3 -0
  91. package/dist/jsx/linear-gradient.mjs.map +1 -0
  92. package/dist/jsx/linear-gradient.native.js +31 -0
  93. package/dist/jsx/linear-gradient.native.js.map +1 -0
  94. package/dist/jsx/setup.mjs +6 -0
  95. package/dist/jsx/setup.mjs.map +1 -0
  96. package/dist/jsx/setup.native.js +35 -0
  97. package/dist/jsx/setup.native.js.map +1 -0
  98. package/dist/jsx/viewTypes.mjs +2 -0
  99. package/dist/jsx/viewTypes.mjs.map +1 -0
  100. package/dist/jsx/viewTypes.native.js +21 -0
  101. package/dist/jsx/viewTypes.native.js.map +1 -0
  102. package/dist/jsx/views/Anchor.mjs +35 -0
  103. package/dist/jsx/views/Anchor.mjs.map +1 -0
  104. package/dist/jsx/views/Anchor.native.js +65 -0
  105. package/dist/jsx/views/Anchor.native.js.map +1 -0
  106. package/dist/jsx/views/EnsureFlexed.mjs +13 -0
  107. package/dist/jsx/views/EnsureFlexed.mjs.map +1 -0
  108. package/dist/jsx/views/EnsureFlexed.native.js +41 -0
  109. package/dist/jsx/views/EnsureFlexed.native.js.map +1 -0
  110. package/dist/jsx/views/Fieldset.mjs +18 -0
  111. package/dist/jsx/views/Fieldset.mjs.map +1 -0
  112. package/dist/jsx/views/Fieldset.native.js +46 -0
  113. package/dist/jsx/views/Fieldset.native.js.map +1 -0
  114. package/dist/jsx/views/HanzoguiProvider.mjs +21 -0
  115. package/dist/jsx/views/HanzoguiProvider.mjs.map +1 -0
  116. package/dist/jsx/views/HanzoguiProvider.native.js +50 -0
  117. package/dist/jsx/views/HanzoguiProvider.native.js.map +1 -0
  118. package/dist/jsx/views/Text.mjs +15 -0
  119. package/dist/jsx/views/Text.mjs.map +1 -0
  120. package/dist/jsx/views/Text.native.js +43 -0
  121. package/dist/jsx/views/Text.native.js.map +1 -0
  122. package/dist/jsx/views/VisuallyHidden.mjs +35 -0
  123. package/dist/jsx/views/VisuallyHidden.mjs.map +1 -0
  124. package/dist/jsx/views/VisuallyHidden.native.js +63 -0
  125. package/dist/jsx/views/VisuallyHidden.native.js.map +1 -0
  126. package/dist/native.cjs +32307 -0
  127. package/dist/test.cjs +32369 -0
  128. package/package.json +76 -70
  129. package/types/createHanzogui.d.ts.map +1 -0
  130. package/types/index.d.ts.map +1 -0
  131. package/types/linear-gradient.d.ts.map +1 -0
  132. package/types/setup.d.ts.map +1 -0
  133. package/types/viewTypes.d.ts.map +1 -0
  134. package/types/views/Anchor.d.ts.map +1 -0
  135. package/types/views/EnsureFlexed.d.ts +1 -1
  136. package/types/views/EnsureFlexed.d.ts.map +1 -0
  137. package/types/views/Fieldset.d.ts +1 -1
  138. package/types/views/Fieldset.d.ts.map +1 -0
  139. package/types/views/HanzoguiProvider.d.ts.map +1 -0
  140. package/types/views/Text.d.ts +1 -1
  141. package/types/views/Text.d.ts.map +1 -0
  142. package/types/views/VisuallyHidden.d.ts +1 -1
  143. package/types/views/VisuallyHidden.d.ts.map +1 -0
  144. package/hanzogui.config.ts +0 -4
  145. package/linear-gradient/index.cjs +0 -2
  146. package/linear-gradient/index.d.ts +0 -1
  147. package/linear-gradient/index.js +0 -2
  148. package/linear-gradient/index.native.cjs +0 -2
  149. package/linear-gradient/index.native.js +0 -2
  150. package/native/index.cjs +0 -2
  151. package/native/index.js +0 -2
  152. package/native-test/index.cjs +0 -2
  153. package/native-test/index.js +0 -2
  154. package/native-test/index.native.cjs +0 -2
  155. package/native-test/index.native.js +0 -2
  156. package/native-test.d.ts +0 -1
  157. package/native.d.ts +0 -1
  158. package/react-native-web/index.cjs +0 -2
  159. package/react-native-web/index.js +0 -2
  160. package/react-native-web/index.native.cjs +0 -2
  161. package/react-native-web/index.native.js +0 -2
  162. package/tsconfig.json +0 -171
  163. package/web/index.cjs +0 -2
  164. package/web/index.js +0 -2
  165. package/web/index.native.cjs +0 -2
  166. package/web/index.native.js +0 -2
@@ -0,0 +1,80 @@
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) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
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;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: true
22
+ }), mod);
23
+ var createHanzogui_exports = {};
24
+ __export(createHanzogui_exports, {
25
+ createHanzogui: () => createHanzogui
26
+ });
27
+ module.exports = __toCommonJS(createHanzogui_exports);
28
+ var import_core = require("@hanzogui/core");
29
+ const createHanzogui = process.env.NODE_ENV !== "development" ? import_core.createHanzogui : conf => {
30
+ const sizeTokenKeys = ["$true"];
31
+ const hasKeys = (expectedKeys, obj) => {
32
+ return expectedKeys.every(k => typeof obj[k] !== "undefined");
33
+ };
34
+ const hanzoguiConfig = (0, import_core.createHanzogui)(conf);
35
+ for (const name of ["size", "space"]) {
36
+ const tokenSet = hanzoguiConfig.tokensParsed[name];
37
+ if (!tokenSet) {
38
+ throw new Error(`Expected tokens for "${name}" in ${Object.keys(hanzoguiConfig.tokensParsed).join(", ")}`);
39
+ }
40
+ if (!hasKeys(sizeTokenKeys, tokenSet)) {
41
+ throw new Error(`
42
+ createHanzogui() missing expected tokens.${name}:
43
+
44
+ Received: ${Object.keys(tokenSet).join(", ")}
45
+
46
+ Expected: ${sizeTokenKeys.join(", ")}
47
+
48
+ Hanzogui expects a "true" key that is the same value as your default size. This is so
49
+ it can size things up or down from the defaults without assuming which keys you use.
50
+
51
+ Please define a "true" or "$true" key on your size and space tokens like so (example):
52
+
53
+ size: {
54
+ sm: 2,
55
+ md: 10,
56
+ true: 10, // this means "md" is your default size
57
+ lg: 20,
58
+ }
59
+
60
+ `);
61
+ }
62
+ }
63
+ const expected = Object.keys(hanzoguiConfig.tokensParsed.size);
64
+ for (const name of ["radius", "zIndex"]) {
65
+ const tokenSet = hanzoguiConfig.tokensParsed[name];
66
+ const received = Object.keys(tokenSet);
67
+ const hasSomeOverlap = received.some(rk => expected.includes(rk));
68
+ if (!hasSomeOverlap) {
69
+ throw new Error(`
70
+ createHanzogui() invalid tokens.${name}:
71
+
72
+ Received: ${received.join(", ")}
73
+
74
+ Expected a subset of: ${expected.join(", ")}
75
+
76
+ `);
77
+ }
78
+ }
79
+ return hanzoguiConfig;
80
+ };
@@ -0,0 +1,89 @@
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", {
23
+ value: true
24
+ }), mod);
25
+ var createHanzogui_exports = {};
26
+ __export(createHanzogui_exports, {
27
+ createHanzogui: () => createHanzogui
28
+ });
29
+ module.exports = __toCommonJS(createHanzogui_exports);
30
+ var import_core = require("@hanzogui/core");
31
+ var createHanzogui = process.env.NODE_ENV !== "development" ? import_core.createHanzogui : function (conf) {
32
+ var sizeTokenKeys = ["$true"];
33
+ var hasKeys = function (expectedKeys, obj) {
34
+ return expectedKeys.every(function (k) {
35
+ return typeof obj[k] !== "undefined";
36
+ });
37
+ };
38
+ var hanzoguiConfig = (0, import_core.createHanzogui)(conf);
39
+ for (var _i = 0, _iter = ["size", "space"]; _i < _iter.length; _i++) {
40
+ var name = _iter[_i];
41
+ var tokenSet = hanzoguiConfig.tokensParsed[name];
42
+ if (!tokenSet) {
43
+ throw new Error(`Expected tokens for "${name}" in ${Object.keys(hanzoguiConfig.tokensParsed).join(", ")}`);
44
+ }
45
+ if (!hasKeys(sizeTokenKeys, tokenSet)) {
46
+ throw new Error(`
47
+ createHanzogui() missing expected tokens.${name}:
48
+
49
+ Received: ${Object.keys(tokenSet).join(", ")}
50
+
51
+ Expected: ${sizeTokenKeys.join(", ")}
52
+
53
+ Hanzogui expects a "true" key that is the same value as your default size. This is so
54
+ it can size things up or down from the defaults without assuming which keys you use.
55
+
56
+ Please define a "true" or "$true" key on your size and space tokens like so (example):
57
+
58
+ size: {
59
+ sm: 2,
60
+ md: 10,
61
+ true: 10, // this means "md" is your default size
62
+ lg: 20,
63
+ }
64
+
65
+ `);
66
+ }
67
+ }
68
+ var expected = Object.keys(hanzoguiConfig.tokensParsed.size);
69
+ for (var _i1 = 0, _iter1 = ["radius", "zIndex"]; _i1 < _iter1.length; _i1++) {
70
+ var name1 = _iter1[_i1];
71
+ var tokenSet1 = hanzoguiConfig.tokensParsed[name1];
72
+ var received = Object.keys(tokenSet1);
73
+ var hasSomeOverlap = received.some(function (rk) {
74
+ return expected.includes(rk);
75
+ });
76
+ if (!hasSomeOverlap) {
77
+ throw new Error(`
78
+ createHanzogui() invalid tokens.${name1}:
79
+
80
+ Received: ${received.join(", ")}
81
+
82
+ Expected a subset of: ${expected.join(", ")}
83
+
84
+ `);
85
+ }
86
+ }
87
+ return hanzoguiConfig;
88
+ };
89
+ //# sourceMappingURL=createHanzogui.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createHanzogui_exports","__export","createHanzogui","module","exports","import_core","require","process","env","NODE_ENV","conf","sizeTokenKeys","hasKeys","expectedKeys","obj","every","k","hanzoguiConfig","_i","_iter","length","name","tokenSet","tokensParsed","Error","Object","keys","join","expected","size","_i1","_iter1","name1","tokenSet1","received","hasSomeOverlap","some","rk","includes"],"sources":["../../src/createHanzogui.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAqD,CAAAK,sBAAA;AAM9C,IAAAK,WAAM,GAAAC,OACX,iBAAY;AAGN,IAAAJ,cAAM,GAAAK,OAAi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E,CAAAM,YAAU,CAAAS,KAAA;IAAA,IAAAE,QAAA,GAAAT,MAAA,CAAAC,IAAA,CAAAO,SAAA;IAE1C,IAAAE,cAAA,GAAAD,QAAA,CAAAE,IAAA,WAAAC,EAAA;MACS,OAAAT,QAAA,CAAAU,QAAA,CAAAD,EAAA;IACF;IAEA,KAAOF,cAAA;MACT,UAAAX,KAAA","ignoreList":[]}
@@ -0,0 +1,148 @@
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) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
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;
19
+ };
20
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
22
+ value: true
23
+ }), mod);
24
+ var index_exports = {};
25
+ __export(index_exports, {
26
+ ClientOnly: () => import_core.ClientOnly,
27
+ ComponentContext: () => import_core.ComponentContext,
28
+ Configuration: () => import_core.Configuration,
29
+ FontLanguage: () => import_core.FontLanguage,
30
+ GroupContext: () => import_core.GroupContext,
31
+ Theme: () => import_core.Theme,
32
+ View: () => import_core.View,
33
+ _withStableStyle: () => import_core._withStableStyle,
34
+ createComponent: () => import_core.createComponent,
35
+ createFont: () => import_core.createFont,
36
+ createShorthands: () => import_core.createShorthands,
37
+ createStyledContext: () => import_core.createStyledContext,
38
+ createTokens: () => import_core.createTokens,
39
+ createVariable: () => import_core.createVariable,
40
+ getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
41
+ getConfig: () => import_core.getConfig,
42
+ getMedia: () => import_core.getMedia,
43
+ getThemes: () => import_core.getThemes,
44
+ getToken: () => import_core.getToken,
45
+ getTokenValue: () => import_core.getTokenValue,
46
+ getTokens: () => import_core.getTokens,
47
+ getVariable: () => import_core.getVariable,
48
+ getVariableName: () => import_core.getVariableName,
49
+ getVariableValue: () => import_core.getVariableValue,
50
+ insertFont: () => import_core.insertFont,
51
+ isBrowser: () => import_core.isBrowser,
52
+ isChrome: () => import_core.isChrome,
53
+ isClient: () => import_core.isClient,
54
+ isHanzoguiComponent: () => import_core.isHanzoguiComponent,
55
+ isHanzoguiElement: () => import_core.isHanzoguiElement,
56
+ isServer: () => import_core.isServer,
57
+ isTouchable: () => import_core.isTouchable,
58
+ isVariable: () => import_core.isVariable,
59
+ isWeb: () => import_core.isWeb,
60
+ isWebTouchable: () => import_core.isWebTouchable,
61
+ matchMedia: () => import_core.matchMedia,
62
+ mediaObjectToString: () => import_core.mediaObjectToString,
63
+ mediaQueryConfig: () => import_core.mediaQueryConfig,
64
+ mediaState: () => import_core.mediaState,
65
+ setConfig: () => import_core.setConfig,
66
+ setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
67
+ setupDev: () => import_core.setupDev,
68
+ styled: () => import_core.styled,
69
+ themeable: () => import_core.themeable,
70
+ useClientValue: () => import_core.useClientValue,
71
+ useConfiguration: () => import_core.useConfiguration,
72
+ useDidFinishSSR: () => import_core.useDidFinishSSR,
73
+ useEvent: () => import_core.useEvent,
74
+ useGet: () => import_core.useGet,
75
+ useIsTouchDevice: () => import_core.useIsTouchDevice,
76
+ useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
77
+ useMedia: () => import_core.useMedia,
78
+ useProps: () => import_core.useProps,
79
+ usePropsAndStyle: () => import_core.usePropsAndStyle,
80
+ useStyle: () => import_core.useStyle,
81
+ useTheme: () => import_core.useTheme,
82
+ useThemeName: () => import_core.useThemeName,
83
+ variableToString: () => import_core.variableToString,
84
+ withStaticProperties: () => import_core.withStaticProperties
85
+ });
86
+ module.exports = __toCommonJS(index_exports);
87
+ var import_setup = require("./setup.cjs");
88
+ __reExport(index_exports, require("@hanzogui/spacer"), module.exports);
89
+ __reExport(index_exports, require("@hanzogui/accordion"), module.exports);
90
+ __reExport(index_exports, require("@hanzogui/adapt"), module.exports);
91
+ __reExport(index_exports, require("@hanzogui/alert-dialog"), module.exports);
92
+ __reExport(index_exports, require("@hanzogui/animate"), module.exports);
93
+ __reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
94
+ __reExport(index_exports, require("@hanzogui/avatar"), module.exports);
95
+ __reExport(index_exports, require("@hanzogui/button"), module.exports);
96
+ __reExport(index_exports, require("@hanzogui/card"), module.exports);
97
+ __reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
98
+ __reExport(index_exports, require("@hanzogui/collapsible"), module.exports);
99
+ __reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
100
+ __reExport(index_exports, require("@hanzogui/create-context"), module.exports);
101
+ __reExport(index_exports, require("@hanzogui/dialog"), module.exports);
102
+ __reExport(index_exports, require("@hanzogui/font-size"), module.exports);
103
+ __reExport(index_exports, require("@hanzogui/form"), module.exports);
104
+ __reExport(index_exports, require("@hanzogui/group"), module.exports);
105
+ __reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
106
+ __reExport(index_exports, require("@hanzogui/elements"), module.exports);
107
+ __reExport(index_exports, require("@hanzogui/component-helpers"), module.exports);
108
+ __reExport(index_exports, require("@hanzogui/image"), module.exports);
109
+ __reExport(index_exports, require("@hanzogui/label"), module.exports);
110
+ __reExport(index_exports, require("@hanzogui/list-item"), module.exports);
111
+ __reExport(index_exports, require("@hanzogui/menu"), module.exports);
112
+ __reExport(index_exports, require("@hanzogui/context-menu"), module.exports);
113
+ __reExport(index_exports, require("@hanzogui/create-menu"), module.exports);
114
+ __reExport(index_exports, require("@hanzogui/popover"), module.exports);
115
+ __reExport(index_exports, require("@hanzogui/popper"), module.exports);
116
+ __reExport(index_exports, require("@hanzogui/portal"), module.exports);
117
+ __reExport(index_exports, require("@hanzogui/progress"), module.exports);
118
+ __reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
119
+ __reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
120
+ __reExport(index_exports, require("@hanzogui/select"), module.exports);
121
+ __reExport(index_exports, require("@hanzogui/separator"), module.exports);
122
+ __reExport(index_exports, require("@hanzogui/shapes"), module.exports);
123
+ __reExport(index_exports, require("@hanzogui/sheet"), module.exports);
124
+ __reExport(index_exports, require("@hanzogui/slider"), module.exports);
125
+ __reExport(index_exports, require("@hanzogui/stacks"), module.exports);
126
+ __reExport(index_exports, require("@hanzogui/switch"), module.exports);
127
+ __reExport(index_exports, require("@hanzogui/tabs"), module.exports);
128
+ __reExport(index_exports, require("@hanzogui/text"), module.exports);
129
+ __reExport(index_exports, require("@hanzogui/theme"), module.exports);
130
+ __reExport(index_exports, require("@hanzogui/toast"), module.exports);
131
+ __reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
132
+ __reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
133
+ __reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
134
+ __reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
135
+ __reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
136
+ __reExport(index_exports, require("@hanzogui/element"), module.exports);
137
+ __reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
138
+ __reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
139
+ __reExport(index_exports, require("./createHanzogui.cjs"), module.exports);
140
+ __reExport(index_exports, require("./viewTypes.cjs"), module.exports);
141
+ __reExport(index_exports, require("./views/HanzoguiProvider.cjs"), module.exports);
142
+ __reExport(index_exports, require("./views/Anchor.cjs"), module.exports);
143
+ __reExport(index_exports, require("./views/EnsureFlexed.cjs"), module.exports);
144
+ __reExport(index_exports, require("./views/Fieldset.cjs"), module.exports);
145
+ __reExport(index_exports, require("@hanzogui/input"), module.exports);
146
+ __reExport(index_exports, require("@hanzogui/spinner"), module.exports);
147
+ __reExport(index_exports, require("./views/Text.cjs"), module.exports);
148
+ var import_core = require("@hanzogui/core");
@@ -0,0 +1,151 @@
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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
24
+ value: true
25
+ }), mod);
26
+ var index_exports = {};
27
+ __export(index_exports, {
28
+ ClientOnly: () => import_core.ClientOnly,
29
+ ComponentContext: () => import_core.ComponentContext,
30
+ Configuration: () => import_core.Configuration,
31
+ FontLanguage: () => import_core.FontLanguage,
32
+ GroupContext: () => import_core.GroupContext,
33
+ Theme: () => import_core.Theme,
34
+ View: () => import_core.View,
35
+ _withStableStyle: () => import_core._withStableStyle,
36
+ createComponent: () => import_core.createComponent,
37
+ createFont: () => import_core.createFont,
38
+ createShorthands: () => import_core.createShorthands,
39
+ createStyledContext: () => import_core.createStyledContext,
40
+ createTokens: () => import_core.createTokens,
41
+ createVariable: () => import_core.createVariable,
42
+ getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
43
+ getConfig: () => import_core.getConfig,
44
+ getMedia: () => import_core.getMedia,
45
+ getThemes: () => import_core.getThemes,
46
+ getToken: () => import_core.getToken,
47
+ getTokenValue: () => import_core.getTokenValue,
48
+ getTokens: () => import_core.getTokens,
49
+ getVariable: () => import_core.getVariable,
50
+ getVariableName: () => import_core.getVariableName,
51
+ getVariableValue: () => import_core.getVariableValue,
52
+ insertFont: () => import_core.insertFont,
53
+ isBrowser: () => import_core.isBrowser,
54
+ isChrome: () => import_core.isChrome,
55
+ isClient: () => import_core.isClient,
56
+ isHanzoguiComponent: () => import_core.isHanzoguiComponent,
57
+ isHanzoguiElement: () => import_core.isHanzoguiElement,
58
+ isServer: () => import_core.isServer,
59
+ isTouchable: () => import_core.isTouchable,
60
+ isVariable: () => import_core.isVariable,
61
+ isWeb: () => import_core.isWeb,
62
+ isWebTouchable: () => import_core.isWebTouchable,
63
+ matchMedia: () => import_core.matchMedia,
64
+ mediaObjectToString: () => import_core.mediaObjectToString,
65
+ mediaQueryConfig: () => import_core.mediaQueryConfig,
66
+ mediaState: () => import_core.mediaState,
67
+ setConfig: () => import_core.setConfig,
68
+ setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
69
+ setupDev: () => import_core.setupDev,
70
+ styled: () => import_core.styled,
71
+ themeable: () => import_core.themeable,
72
+ useClientValue: () => import_core.useClientValue,
73
+ useConfiguration: () => import_core.useConfiguration,
74
+ useDidFinishSSR: () => import_core.useDidFinishSSR,
75
+ useEvent: () => import_core.useEvent,
76
+ useGet: () => import_core.useGet,
77
+ useIsTouchDevice: () => import_core.useIsTouchDevice,
78
+ useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
79
+ useMedia: () => import_core.useMedia,
80
+ useProps: () => import_core.useProps,
81
+ usePropsAndStyle: () => import_core.usePropsAndStyle,
82
+ useStyle: () => import_core.useStyle,
83
+ useTheme: () => import_core.useTheme,
84
+ useThemeName: () => import_core.useThemeName,
85
+ variableToString: () => import_core.variableToString,
86
+ withStaticProperties: () => import_core.withStaticProperties
87
+ });
88
+ module.exports = __toCommonJS(index_exports);
89
+ var import_setup = require("./setup.native.js");
90
+ __reExport(index_exports, require("@hanzogui/spacer"), module.exports);
91
+ __reExport(index_exports, require("@hanzogui/accordion"), module.exports);
92
+ __reExport(index_exports, require("@hanzogui/adapt"), module.exports);
93
+ __reExport(index_exports, require("@hanzogui/alert-dialog"), module.exports);
94
+ __reExport(index_exports, require("@hanzogui/animate"), module.exports);
95
+ __reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
96
+ __reExport(index_exports, require("@hanzogui/avatar"), module.exports);
97
+ __reExport(index_exports, require("@hanzogui/button"), module.exports);
98
+ __reExport(index_exports, require("@hanzogui/card"), module.exports);
99
+ __reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
100
+ __reExport(index_exports, require("@hanzogui/collapsible"), module.exports);
101
+ __reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
102
+ __reExport(index_exports, require("@hanzogui/create-context"), module.exports);
103
+ __reExport(index_exports, require("@hanzogui/dialog"), module.exports);
104
+ __reExport(index_exports, require("@hanzogui/font-size"), module.exports);
105
+ __reExport(index_exports, require("@hanzogui/form"), module.exports);
106
+ __reExport(index_exports, require("@hanzogui/group"), module.exports);
107
+ __reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
108
+ __reExport(index_exports, require("@hanzogui/elements"), module.exports);
109
+ __reExport(index_exports, require("@hanzogui/component-helpers"), module.exports);
110
+ __reExport(index_exports, require("@hanzogui/image"), module.exports);
111
+ __reExport(index_exports, require("@hanzogui/label"), module.exports);
112
+ __reExport(index_exports, require("@hanzogui/list-item"), module.exports);
113
+ __reExport(index_exports, require("@hanzogui/menu"), module.exports);
114
+ __reExport(index_exports, require("@hanzogui/context-menu"), module.exports);
115
+ __reExport(index_exports, require("@hanzogui/create-menu"), module.exports);
116
+ __reExport(index_exports, require("@hanzogui/popover"), module.exports);
117
+ __reExport(index_exports, require("@hanzogui/popper"), module.exports);
118
+ __reExport(index_exports, require("@hanzogui/portal"), module.exports);
119
+ __reExport(index_exports, require("@hanzogui/progress"), module.exports);
120
+ __reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
121
+ __reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
122
+ __reExport(index_exports, require("@hanzogui/select"), module.exports);
123
+ __reExport(index_exports, require("@hanzogui/separator"), module.exports);
124
+ __reExport(index_exports, require("@hanzogui/shapes"), module.exports);
125
+ __reExport(index_exports, require("@hanzogui/sheet"), module.exports);
126
+ __reExport(index_exports, require("@hanzogui/slider"), module.exports);
127
+ __reExport(index_exports, require("@hanzogui/stacks"), module.exports);
128
+ __reExport(index_exports, require("@hanzogui/switch"), module.exports);
129
+ __reExport(index_exports, require("@hanzogui/tabs"), module.exports);
130
+ __reExport(index_exports, require("@hanzogui/text"), module.exports);
131
+ __reExport(index_exports, require("@hanzogui/theme"), module.exports);
132
+ __reExport(index_exports, require("@hanzogui/toast"), module.exports);
133
+ __reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
134
+ __reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
135
+ __reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
136
+ __reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
137
+ __reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
138
+ __reExport(index_exports, require("@hanzogui/element"), module.exports);
139
+ __reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
140
+ __reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
141
+ __reExport(index_exports, require("./createHanzogui.native.js"), module.exports);
142
+ __reExport(index_exports, require("./viewTypes.native.js"), module.exports);
143
+ __reExport(index_exports, require("./views/HanzoguiProvider.native.js"), module.exports);
144
+ __reExport(index_exports, require("./views/Anchor.native.js"), module.exports);
145
+ __reExport(index_exports, require("./views/EnsureFlexed.native.js"), module.exports);
146
+ __reExport(index_exports, require("./views/Fieldset.native.js"), module.exports);
147
+ __reExport(index_exports, require("@hanzogui/input"), module.exports);
148
+ __reExport(index_exports, require("@hanzogui/spinner"), module.exports);
149
+ __reExport(index_exports, require("./views/Text.native.js"), module.exports);
150
+ var import_core = require("@hanzogui/core");
151
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","ClientOnly","import_core","ComponentContext","Configuration","FontLanguage","GroupContext","Theme","View","_withStableStyle","createComponent","createFont","createShorthands","createStyledContext","createTokens","createVariable","getCSSStylesAtomic","getConfig","getMedia","getThemes","getToken","getTokenValue","getTokens","getVariable","getVariableName","getVariableValue","insertFont","isBrowser","isChrome","isClient","isHanzoguiComponent","isHanzoguiElement","isServer","isTouchable","isVariable","isWeb","isWebTouchable","matchMedia","mediaObjectToString","mediaQueryConfig","mediaState","setConfig","setOnLayoutStrategy","setupDev","styled","themeable","useClientValue","useConfiguration","useDidFinishSSR","useEvent","useGet","useIsTouchDevice","useIsomorphicLayoutEffect","useMedia","useProps","usePropsAndStyle","useStyle","useTheme","useThemeName","variableToString","withStaticProperties","module","exports","import_setup","require","__reExport"],"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,QAAA,CAAAD,aAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAC,WAAA,CAAAD,UAAA;EAAAE,gBAAA,EAAAA,CAAA,KAAAD,WAAA,CAAAC,gBAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAF,WAAA,CAAAE,aAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAH,WAAA,CAAAG,YAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAJ,WAAA,CAAAI,YAAA;EAAAC,KAAA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AAiE,OAAA,4BAAAH,MAAA,CAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1,28 @@
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) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
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;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: true
22
+ }), mod);
23
+ var linear_gradient_exports = {};
24
+ __export(linear_gradient_exports, {
25
+ LinearGradient: () => import_linear_gradient.LinearGradient
26
+ });
27
+ module.exports = __toCommonJS(linear_gradient_exports);
28
+ var import_linear_gradient = require("@hanzogui/linear-gradient");
@@ -0,0 +1,31 @@
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", {
23
+ value: true
24
+ }), mod);
25
+ var linear_gradient_exports = {};
26
+ __export(linear_gradient_exports, {
27
+ LinearGradient: () => import_linear_gradient.LinearGradient
28
+ });
29
+ module.exports = __toCommonJS(linear_gradient_exports);
30
+ var import_linear_gradient = require("@hanzogui/linear-gradient");
31
+ //# sourceMappingURL=linear-gradient.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","linear_gradient_exports","__export","LinearGradient","import_linear_gradient","module","exports"],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAC,sBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAV,YAAyD,CAAAK,uBAAA","ignoreList":[]}
@@ -0,0 +1,30 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ 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;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ value: mod,
23
+ enumerable: true
24
+ }) : target, mod));
25
+ var import_polyfill_dev = require("@hanzogui/polyfill-dev");
26
+ var React = __toESM(require("react"), 1);
27
+ globalThis["React"] ||= React;
28
+ if (typeof requestAnimationFrame === "undefined") {
29
+ globalThis["requestAnimationFrame"] = typeof setImmediate === "undefined" ? setTimeout : setImmediate;
30
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: () => from[key],
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
+ value: mod,
25
+ enumerable: true
26
+ }) : target, mod));
27
+ var import_polyfill_dev = require("@hanzogui/polyfill-dev");
28
+ var React = __toESM(require("react"), 1);
29
+ var _globalThis;
30
+ var _React;
31
+ (_globalThis = globalThis)[_React = "React"] || (_globalThis[_React] = React);
32
+ if (typeof requestAnimationFrame === "undefined") {
33
+ globalThis["requestAnimationFrame"] = typeof setImmediate === "undefined" ? setTimeout : setImmediate;
34
+ }
35
+ //# sourceMappingURL=setup.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["import_polyfill_dev","require","React","__toESM","_globalThis","_React","globalThis"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;gBAAA;AAEA,IAAAA,mBAAuB,GAAAC,OAAA;AAIvB,IAAAC,KAAA,GAAWC,OAAO,CAAAF,OAAM;AAGxB,IAAIG,WAAO;AACT,IAAAC,MAAA;AAEF,CAAAD,WAAA,GAAAE,UAAA,EAAAD,MAAA,gBAAAD,WAAA,CAAAC,MAAA,IAAAH,KAAA","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ 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;
13
+ };
14
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
+ value: true
16
+ }), mod);
17
+ var viewTypes_exports = {};
18
+ module.exports = __toCommonJS(viewTypes_exports);