@hanzo/gui 7.0.0 → 7.3.0

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 (177) hide show
  1. package/LICENSE +40 -19
  2. package/dist/cjs/createGui.cjs +80 -0
  3. package/dist/cjs/createGui.native.js +89 -0
  4. package/dist/cjs/createGui.native.js.map +1 -0
  5. package/dist/cjs/index.cjs +148 -0
  6. package/dist/cjs/index.native.js +151 -0
  7. package/dist/cjs/index.native.js.map +1 -0
  8. package/dist/cjs/linear-gradient.cjs +28 -0
  9. package/dist/cjs/linear-gradient.native.js +31 -0
  10. package/dist/cjs/linear-gradient.native.js.map +1 -0
  11. package/dist/cjs/setup.cjs +30 -0
  12. package/dist/cjs/setup.native.js +35 -0
  13. package/dist/cjs/setup.native.js.map +1 -0
  14. package/dist/cjs/viewTypes.cjs +18 -0
  15. package/dist/cjs/viewTypes.native.js +21 -0
  16. package/dist/cjs/viewTypes.native.js.map +1 -0
  17. package/dist/cjs/views/Anchor.cjs +60 -0
  18. package/dist/cjs/views/Anchor.native.js +65 -0
  19. package/dist/cjs/views/Anchor.native.js.map +1 -0
  20. package/dist/cjs/views/EnsureFlexed.cjs +38 -0
  21. package/dist/cjs/views/EnsureFlexed.native.js +41 -0
  22. package/dist/cjs/views/EnsureFlexed.native.js.map +1 -0
  23. package/dist/cjs/views/Fieldset.cjs +43 -0
  24. package/dist/cjs/views/Fieldset.native.js +46 -0
  25. package/dist/cjs/views/Fieldset.native.js.map +1 -0
  26. package/dist/cjs/views/GuiProvider.cjs +46 -0
  27. package/dist/cjs/views/GuiProvider.native.js +50 -0
  28. package/dist/cjs/views/GuiProvider.native.js.map +1 -0
  29. package/dist/cjs/views/Text.cjs +40 -0
  30. package/dist/cjs/views/Text.native.js +43 -0
  31. package/dist/cjs/views/Text.native.js.map +1 -0
  32. package/dist/cjs/views/VisuallyHidden.cjs +60 -0
  33. package/dist/cjs/views/VisuallyHidden.native.js +63 -0
  34. package/dist/cjs/views/VisuallyHidden.native.js.map +1 -0
  35. package/dist/esm/createGui.mjs +55 -0
  36. package/dist/esm/createGui.mjs.map +1 -0
  37. package/dist/esm/createGui.native.js +61 -0
  38. package/dist/esm/createGui.native.js.map +1 -0
  39. package/dist/esm/index.js +63 -0
  40. package/dist/esm/index.js.map +1 -0
  41. package/dist/esm/index.mjs +63 -0
  42. package/dist/esm/index.mjs.map +1 -0
  43. package/dist/esm/index.native.js +63 -0
  44. package/dist/esm/index.native.js.map +1 -0
  45. package/dist/esm/linear-gradient.mjs +3 -0
  46. package/dist/esm/linear-gradient.mjs.map +1 -0
  47. package/dist/esm/linear-gradient.native.js +3 -0
  48. package/dist/esm/linear-gradient.native.js.map +1 -0
  49. package/dist/esm/setup.mjs +6 -0
  50. package/dist/esm/setup.mjs.map +1 -0
  51. package/dist/esm/setup.native.js +8 -0
  52. package/dist/esm/setup.native.js.map +1 -0
  53. package/dist/esm/viewTypes.mjs +2 -0
  54. package/dist/esm/viewTypes.mjs.map +1 -0
  55. package/dist/esm/viewTypes.native.js +2 -0
  56. package/dist/esm/viewTypes.native.js.map +1 -0
  57. package/dist/esm/views/Anchor.mjs +35 -0
  58. package/dist/esm/views/Anchor.mjs.map +1 -0
  59. package/dist/esm/views/Anchor.native.js +37 -0
  60. package/dist/esm/views/Anchor.native.js.map +1 -0
  61. package/dist/esm/views/EnsureFlexed.mjs +13 -0
  62. package/dist/esm/views/EnsureFlexed.mjs.map +1 -0
  63. package/dist/esm/views/EnsureFlexed.native.js +13 -0
  64. package/dist/esm/views/EnsureFlexed.native.js.map +1 -0
  65. package/dist/esm/views/Fieldset.mjs +18 -0
  66. package/dist/esm/views/Fieldset.mjs.map +1 -0
  67. package/dist/esm/views/Fieldset.native.js +18 -0
  68. package/dist/esm/views/Fieldset.native.js.map +1 -0
  69. package/dist/esm/views/GuiProvider.mjs +21 -0
  70. package/dist/esm/views/GuiProvider.mjs.map +1 -0
  71. package/dist/esm/views/GuiProvider.native.js +22 -0
  72. package/dist/esm/views/GuiProvider.native.js.map +1 -0
  73. package/dist/esm/views/Text.mjs +15 -0
  74. package/dist/esm/views/Text.mjs.map +1 -0
  75. package/dist/esm/views/Text.native.js +15 -0
  76. package/dist/esm/views/Text.native.js.map +1 -0
  77. package/dist/esm/views/VisuallyHidden.mjs +35 -0
  78. package/dist/esm/views/VisuallyHidden.mjs.map +1 -0
  79. package/dist/esm/views/VisuallyHidden.native.js +35 -0
  80. package/dist/esm/views/VisuallyHidden.native.js.map +1 -0
  81. package/dist/jsx/createGui.mjs +55 -0
  82. package/dist/jsx/createGui.mjs.map +1 -0
  83. package/dist/jsx/createGui.native.js +89 -0
  84. package/dist/jsx/createGui.native.js.map +1 -0
  85. package/dist/jsx/index.js +63 -0
  86. package/dist/jsx/index.js.map +1 -0
  87. package/dist/jsx/index.mjs +63 -0
  88. package/dist/jsx/index.mjs.map +1 -0
  89. package/dist/jsx/index.native.js +151 -0
  90. package/dist/jsx/index.native.js.map +1 -0
  91. package/dist/jsx/linear-gradient.mjs +3 -0
  92. package/dist/jsx/linear-gradient.mjs.map +1 -0
  93. package/dist/jsx/linear-gradient.native.js +31 -0
  94. package/dist/jsx/linear-gradient.native.js.map +1 -0
  95. package/dist/jsx/setup.mjs +6 -0
  96. package/dist/jsx/setup.mjs.map +1 -0
  97. package/dist/jsx/setup.native.js +35 -0
  98. package/dist/jsx/setup.native.js.map +1 -0
  99. package/dist/jsx/viewTypes.mjs +2 -0
  100. package/dist/jsx/viewTypes.mjs.map +1 -0
  101. package/dist/jsx/viewTypes.native.js +21 -0
  102. package/dist/jsx/viewTypes.native.js.map +1 -0
  103. package/dist/jsx/views/Anchor.mjs +35 -0
  104. package/dist/jsx/views/Anchor.mjs.map +1 -0
  105. package/dist/jsx/views/Anchor.native.js +65 -0
  106. package/dist/jsx/views/Anchor.native.js.map +1 -0
  107. package/dist/jsx/views/EnsureFlexed.mjs +13 -0
  108. package/dist/jsx/views/EnsureFlexed.mjs.map +1 -0
  109. package/dist/jsx/views/EnsureFlexed.native.js +41 -0
  110. package/dist/jsx/views/EnsureFlexed.native.js.map +1 -0
  111. package/dist/jsx/views/Fieldset.mjs +18 -0
  112. package/dist/jsx/views/Fieldset.mjs.map +1 -0
  113. package/dist/jsx/views/Fieldset.native.js +46 -0
  114. package/dist/jsx/views/Fieldset.native.js.map +1 -0
  115. package/dist/jsx/views/GuiProvider.mjs +21 -0
  116. package/dist/jsx/views/GuiProvider.mjs.map +1 -0
  117. package/dist/jsx/views/GuiProvider.native.js +50 -0
  118. package/dist/jsx/views/GuiProvider.native.js.map +1 -0
  119. package/dist/jsx/views/Text.mjs +15 -0
  120. package/dist/jsx/views/Text.mjs.map +1 -0
  121. package/dist/jsx/views/Text.native.js +43 -0
  122. package/dist/jsx/views/Text.native.js.map +1 -0
  123. package/dist/jsx/views/VisuallyHidden.mjs +35 -0
  124. package/dist/jsx/views/VisuallyHidden.mjs.map +1 -0
  125. package/dist/jsx/views/VisuallyHidden.native.js +63 -0
  126. package/dist/jsx/views/VisuallyHidden.native.js.map +1 -0
  127. package/dist/native.cjs +32528 -0
  128. package/dist/test.cjs +32594 -0
  129. package/package.json +82 -84
  130. package/src/{createHanzogui.ts → createGui.ts} +13 -13
  131. package/src/index.ts +17 -17
  132. package/src/views/{HanzoguiProvider.tsx → GuiProvider.tsx} +3 -3
  133. package/src/views/Text.tsx +3 -3
  134. package/types/createGui.d.ts +6 -0
  135. package/types/createGui.d.ts.map +1 -0
  136. package/types/index.d.ts +4 -4
  137. package/types/index.d.ts.map +1 -0
  138. package/types/linear-gradient.d.ts.map +1 -0
  139. package/types/setup.d.ts.map +1 -0
  140. package/types/viewTypes.d.ts.map +1 -0
  141. package/types/views/Anchor.d.ts +2 -2
  142. package/types/views/Anchor.d.ts.map +1 -0
  143. package/types/views/EnsureFlexed.d.ts +1 -1
  144. package/types/views/EnsureFlexed.d.ts.map +1 -0
  145. package/types/views/Fieldset.d.ts +1 -1
  146. package/types/views/Fieldset.d.ts.map +1 -0
  147. package/types/views/GuiProvider.d.ts +3 -0
  148. package/types/views/GuiProvider.d.ts.map +1 -0
  149. package/types/views/Text.d.ts +1 -1
  150. package/types/views/Text.d.ts.map +1 -0
  151. package/types/views/VisuallyHidden.d.ts +1 -1
  152. package/types/views/VisuallyHidden.d.ts.map +1 -0
  153. package/hanzogui.config.ts +0 -4
  154. package/linear-gradient/index.cjs +0 -2
  155. package/linear-gradient/index.d.ts +0 -1
  156. package/linear-gradient/index.js +0 -2
  157. package/linear-gradient/index.native.cjs +0 -2
  158. package/linear-gradient/index.native.js +0 -2
  159. package/native/index.cjs +0 -2
  160. package/native/index.js +0 -2
  161. package/native-test/index.cjs +0 -2
  162. package/native-test/index.js +0 -2
  163. package/native-test/index.native.cjs +0 -2
  164. package/native-test/index.native.js +0 -2
  165. package/native-test.d.ts +0 -1
  166. package/native.d.ts +0 -1
  167. package/react-native-web/index.cjs +0 -2
  168. package/react-native-web/index.js +0 -2
  169. package/react-native-web/index.native.cjs +0 -2
  170. package/react-native-web/index.native.js +0 -2
  171. package/tsconfig.json +0 -171
  172. package/types/createHanzogui.d.ts +0 -6
  173. package/types/views/HanzoguiProvider.d.ts +0 -3
  174. package/web/index.cjs +0 -2
  175. package/web/index.js +0 -2
  176. package/web/index.native.cjs +0 -2
  177. package/web/index.native.js +0 -2
package/LICENSE CHANGED
@@ -1,21 +1,42 @@
1
- MIT License
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026-present, Hanzo AI, Inc.
4
+
5
+ Portions of this software are derived from upstream code originally licensed under
6
+ the MIT License, with the following copyright notices retained per its terms:
2
7
 
3
8
  Copyright (c) 2020 Nate Wienert
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
9
+ Copyright (c) 2015-present, Nicolas Gallagher.
10
+ Copyright (c) 2015-present, Facebook, Inc.
11
+ Copyright (c) 2021 Radix
12
+ Copyright (c) 2017 Carmelo Pullara
13
+ Copyright (c) 2018 Framer B.V.
14
+ Copyright (c) 2022 WorkOS
15
+
16
+ All rights reserved.
17
+
18
+ Redistribution and use in source and binary forms, with or without
19
+ modification, are permitted provided that the following conditions are met:
20
+
21
+ 1. Redistributions of source code must retain the above copyright notice, this
22
+ list of conditions and the following disclaimer.
23
+
24
+ 2. Redistributions in binary form must reproduce the above copyright notice,
25
+ this list of conditions and the following disclaimer in the documentation
26
+ and/or other materials provided with the distribution.
27
+
28
+ 3. Neither the name of the copyright holder nor the names of its contributors
29
+ may be used to endorse or promote products derived from this software
30
+ without specific prior written permission.
31
+
32
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
36
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
37
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
38
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
39
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
40
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42
+ POSSIBILITY OF SUCH DAMAGE.
@@ -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 createGui_exports = {};
24
+ __export(createGui_exports, {
25
+ createGui: () => createGui
26
+ });
27
+ module.exports = __toCommonJS(createGui_exports);
28
+ var import_core = require("@hanzogui/core");
29
+ const createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : conf => {
30
+ const sizeTokenKeys = ["$true"];
31
+ const hasKeys = (expectedKeys, obj) => {
32
+ return expectedKeys.every(k => typeof obj[k] !== "undefined");
33
+ };
34
+ const guiConfig = (0, import_core.createGui)(conf);
35
+ for (const name of ["size", "space"]) {
36
+ const tokenSet = guiConfig.tokensParsed[name];
37
+ if (!tokenSet) {
38
+ throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
39
+ }
40
+ if (!hasKeys(sizeTokenKeys, tokenSet)) {
41
+ throw new Error(`
42
+ createGui() missing expected tokens.${name}:
43
+
44
+ Received: ${Object.keys(tokenSet).join(", ")}
45
+
46
+ Expected: ${sizeTokenKeys.join(", ")}
47
+
48
+ Gui 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(guiConfig.tokensParsed.size);
64
+ for (const name of ["radius", "zIndex"]) {
65
+ const tokenSet = guiConfig.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
+ createGui() invalid tokens.${name}:
71
+
72
+ Received: ${received.join(", ")}
73
+
74
+ Expected a subset of: ${expected.join(", ")}
75
+
76
+ `);
77
+ }
78
+ }
79
+ return guiConfig;
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 createGui_exports = {};
26
+ __export(createGui_exports, {
27
+ createGui: () => createGui
28
+ });
29
+ module.exports = __toCommonJS(createGui_exports);
30
+ var import_core = require("@hanzogui/core");
31
+ var createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : 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 guiConfig = (0, import_core.createGui)(conf);
39
+ for (var _i = 0, _iter = ["size", "space"]; _i < _iter.length; _i++) {
40
+ var name = _iter[_i];
41
+ var tokenSet = guiConfig.tokensParsed[name];
42
+ if (!tokenSet) {
43
+ throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
44
+ }
45
+ if (!hasKeys(sizeTokenKeys, tokenSet)) {
46
+ throw new Error(`
47
+ createGui() missing expected tokens.${name}:
48
+
49
+ Received: ${Object.keys(tokenSet).join(", ")}
50
+
51
+ Expected: ${sizeTokenKeys.join(", ")}
52
+
53
+ Gui 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(guiConfig.tokensParsed.size);
69
+ for (var _i1 = 0, _iter1 = ["radius", "zIndex"]; _i1 < _iter1.length; _i1++) {
70
+ var name1 = _iter1[_i1];
71
+ var tokenSet1 = guiConfig.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
+ createGui() invalid tokens.${name1}:
79
+
80
+ Received: ${received.join(", ")}
81
+
82
+ Expected a subset of: ${expected.join(", ")}
83
+
84
+ `);
85
+ }
86
+ }
87
+ return guiConfig;
88
+ };
89
+ //# sourceMappingURL=createGui.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createGui_exports","__export","createGui","module","exports","import_core","require","process","env","NODE_ENV","conf","sizeTokenKeys","hasKeys","expectedKeys","obj","every","k","guiConfig","_i","_iter","length","name","tokenSet","tokensParsed","Error","Object","keys","join","expected","size","_i1","_iter1","name1","tokenSet1","received","hasSomeOverlap","some","rk","includes"],"sources":["../../src/createGui.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA2C,CAAAK,iBAAA;AAMpC,IAAAK,WAAM,GACXC,OAAA,CAAQ,gBAAI,CAAa;AAGnB,IAAAJ,SAAM,GAAAK,OAAA,CAAgBC,GAAC,CAAAC,QAAO,qBAAAJ,WAAA,CAAAH,SAAA,aAAAQ,IAAA;EAE9B,IAAAC,aAAiB,IACf,OAAO,CACT;EAEA,IAAAC,OAAM,YAAAA,CAAYC,YAAA,EAAAC,GAAA;IAGlB,OAAAD,YAAoB,CAAAE,KAAA,CAAQ,UAAOC,CAAY;MAC7C,OAAM,OAAAF,GAAW,CAAAE,CAAA,MAAU;IAC3B;EACE;EAAU,IAAAC,SACR,OAAAZ,WAAwB,CAAAH,SAAI,EA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 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
+ isGuiComponent: () => import_core.isGuiComponent,
55
+ isGuiElement: () => import_core.isGuiElement,
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("./createGui.cjs"), module.exports);
140
+ __reExport(index_exports, require("./viewTypes.cjs"), module.exports);
141
+ __reExport(index_exports, require("./views/GuiProvider.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
+ isGuiComponent: () => import_core.isGuiComponent,
57
+ isGuiElement: () => import_core.isGuiElement,
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("./createGui.native.js"), module.exports);
142
+ __reExport(index_exports, require("./viewTypes.native.js"), module.exports);
143
+ __reExport(index_exports, require("./views/GuiProvider.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","isGuiComponent","isGuiElement","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,EAAAA,CAAA,KAAAL,WAAA,CAAAK,KAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAN,WAAA,CAAAM,IAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAP,WAAA,CAAAO,gBAAA;EAAAC,eAAA,EAAAA,CAAA,KAAAR,WAAA,CAAAQ,eAAA;EAAAC,UAAA,EAAAA,CAAA,KAAAT,WAAA,CAAAS,UAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAV,WAAA,CAAAU,gBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAX,WAAA,CAAAW,mBAAA;EAAAC,YAAA,EAAA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AA,CAAAlE,aAAA,EAAciE,OAAA,uBAAAH,MAAA,CAAAC,OAnDd;AAoDAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,kCApDd,GAAAH,MAAA,CAAAC,OAAA;AAsDAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,4BAtDd,GAAAH,MAAA,CAAAC,OAAA;AAwDAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,2BAxDdH,MAAA,CAAAC,OAAA;AAyDAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,2BAAAH,MAAA,CAAAC,OAzDd;AA2DAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,gCA3Dd,GAAAH,MAAA,CAAAC,OAAA;AA4DAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,8BAAAH,MA5Dd,CAAAC,OAAA;AA6DAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,iCA7Dd,GAAAH,MAAA,CAAAC,OAAA;AA8DAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,gCA9DdH,MAAA,CAAAC,OAAA;AA+DAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,qBAAAH,MA/Dd,CAAAC,OAAA;AAgEAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,oBAhEd,GAAAH,MAAA,CAAAC,OAAA;AAyIAG,UAAA,CAAAlE,aA+DO,EAAAiE,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
+ }