@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
@@ -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":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","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"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAO;;AAEP,IAAAA,SAAA,GAAcC,MAAA,CAAAC,cAAA;AACd,IAAAC,gBAAc,GAAAF,MAAA,CAAAG,wBAAA;AACd,IAAAC,iBAAc,GAAAJ,MAAA,CAAAK,mBAAA;AACd,IAAAC,YAAc,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AACd,IAAAC,QAAA,GAAcA,CAAAC,MAAA,EAAAC,GAAA;EACd,SAAAC,IAAc,IAAAD,GAAA,EACdZ,SAAA,CAAcW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AACd;AACA,IAAAC,WAAc,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EACd,IAAAF,IAAA,IAAc,OAAAA,IAAA,wBAAAA,IAAA;IACd,SAAAG,GAAc,IAAAhB,iBAAA,CAAAa,IAAA,GACd,KAAAX,YAAc,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACdnB,SAAc,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EACd;EACA,OAAAE,EAAA;AACA;AACA,IAAAM,UAAc,GAAAA,CAAAZ,MAAA,EAAAa,GAAA,EAAAC,YAAA,MAAAT,WAAA,CAAAL,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C,OAAA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import { LinearGradient } from "@hanzogui/linear-gradient";
2
+ export { LinearGradient };
3
+ //# sourceMappingURL=linear-gradient.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["LinearGradient"],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,cAAA,QAAgD","ignoreList":[]}
@@ -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":[],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAS","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ globalThis["React"] ||= React;
3
+ if (typeof requestAnimationFrame === "undefined") {
4
+ globalThis["requestAnimationFrame"] = typeof setImmediate === "undefined" ? setTimeout : setImmediate;
5
+ }
6
+ //# sourceMappingURL=setup.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","globalThis","requestAnimationFrame","setImmediate","setTimeout"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":"AAEA,YAAYA,KAAA,MAAW;AAIvBC,UAAA,CAAW,OAAO,MAAMD,KAAA;AAGxB,IAAI,OAAOE,qBAAA,KAA0B,aAAa;EAChDD,UAAA,CAAW,uBAAuB,IAChC,OAAOE,YAAA,KAAiB,cAAcC,UAAA,GAAaD,YAAA;AACvD","ignoreList":[]}
@@ -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":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAO;;AAEP,IAAAA,QAAY,GAAAC,MAAA,CAAAC,MAAW;AAIvB,IAAAC,SAAW,GAAAF,MAAO,CAAAG,cAAM;AAGxB,IAAIC,gBAAO,GAAAJ,MAAA,CAAAK,wBAAuC;AAChD,IAAAC,iBAAW,GAAAN,MAAA,CAAAO,mBACF;AACX,IAAAC,YAAA,GAAAR,MAAA,CAAAS,cAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=viewTypes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,21 @@
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 __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 __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
17
+ value: true
18
+ }), mod);
19
+ var viewTypes_exports = {};
20
+ module.exports = __toCommonJS(viewTypes_exports);
21
+ //# sourceMappingURL=viewTypes.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,35 @@
1
+ import { isWeb } from "@hanzogui/constants";
2
+ import { styled } from "@hanzogui/core";
3
+ import { SizableText } from "@hanzogui/text";
4
+ import { Linking } from "react-native-web";
5
+ import { jsx } from "react/jsx-runtime";
6
+ const AnchorFrame = styled(SizableText, {
7
+ name: "Anchor",
8
+ render: "a",
9
+ role: "link"
10
+ });
11
+ const Anchor = AnchorFrame.styleable(({
12
+ href,
13
+ target,
14
+ rel,
15
+ ...props
16
+ }, ref) => {
17
+ return /* @__PURE__ */jsx(AnchorFrame, {
18
+ ...props,
19
+ ...(isWeb ? {
20
+ href,
21
+ target,
22
+ rel
23
+ } : {
24
+ onPress: event => {
25
+ props.onPress?.(event);
26
+ if (href !== void 0) {
27
+ Linking.openURL(href);
28
+ }
29
+ }
30
+ }),
31
+ ref
32
+ });
33
+ });
34
+ export { Anchor };
35
+ //# sourceMappingURL=Anchor.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isWeb","styled","SizableText","Linking","jsx","AnchorFrame","name","render","role","Anchor","styleable","href","target","rel","props","ref","onPress","event","openURL"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,MAAA,QAAc;AAEvB,SAASC,WAAA,QAAmB;AAC5B,SAASC,OAAA,QAAe;AAmBlB,SAAAC,GAAA;AATN,MAAMC,WAAA,GAAcJ,MAAA,CAAOC,WAAA,EAAa;EACtCI,IAAA,EAAM;EACNC,MAAA,EAAQ;EACRC,IAAA,EAAM;AACR,CAAC;AAEM,MAAMC,MAAA,GAASJ,WAAA,CAAYK,SAAA,CAChC,CAAC;EAAEC,IAAA;EAAMC,MAAA;EAAQC,GAAA;EAAK,GAAGC;AAAM,GAAGC,GAAA,KAAQ;EACxC,OACE,eAAAX,GAAA,CAACC,WAAA;IACE,GAAGS,KAAA;IACH,IAAId,KAAA,GACD;MACEW,IAAA;MACAC,MAAA;MACAC;IACF,IACA;MACEG,OAAA,EAAUC,KAAA,IAAU;QAClBH,KAAA,CAAME,OAAA,GAAUC,KAAK;QACrB,IAAIN,IAAA,KAAS,QAAW;UACtBR,OAAA,CAAQe,OAAA,CAAQP,IAAI;QACtB;MACF;IACF;IACJI;EAAA,CACF;AAEJ,CACF","ignoreList":[]}
@@ -0,0 +1,65 @@
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 Anchor_exports = {};
26
+ __export(Anchor_exports, {
27
+ Anchor: () => Anchor
28
+ });
29
+ module.exports = __toCommonJS(Anchor_exports);
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_constants = require("@hanzogui/constants");
32
+ var import_core = require("@hanzogui/core");
33
+ var import_text = require("@hanzogui/text");
34
+ var import_react_native = require("react-native");
35
+ var AnchorFrame = (0, import_core.styled)(import_text.SizableText, {
36
+ name: "Anchor",
37
+ render: "a",
38
+ role: "link"
39
+ });
40
+ var Anchor = AnchorFrame.styleable(function (param, ref) {
41
+ var {
42
+ href,
43
+ target,
44
+ rel,
45
+ ...props
46
+ } = param;
47
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(AnchorFrame, {
48
+ ...props,
49
+ ...(import_constants.isWeb ? {
50
+ href,
51
+ target,
52
+ rel
53
+ } : {
54
+ onPress: function (event) {
55
+ var _props_onPress;
56
+ (_props_onPress = props.onPress) === null || _props_onPress === void 0 ? void 0 : _props_onPress.call(props, event);
57
+ if (href !== void 0) {
58
+ import_react_native.Linking.openURL(href);
59
+ }
60
+ }
61
+ }),
62
+ ref
63
+ });
64
+ });
65
+ //# sourceMappingURL=Anchor.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Anchor_exports","Anchor","module","exports","import_jsx_runtime","require","import_constants","import_core","import_text","import_react_native","AnchorFrame","styled","SizableText","render","role"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEvB,IAAAC,gBAAS,GAAAF,MAAmB,CAAAG,wBAAA;AAC5B,IAAAC,iBAAS,GAAeJ,MAAA,CAAAK,mBAAA;AAmBlB,IAAAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AATN,IAAAC,QAAM,GAAAA,CAAAC,MAAc,EAAAC,GAAO;EACzB,SAAMC,IAAA,IAAAD,GAAA,EACNZ,SAAQ,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AAEV,IAACC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAEM,IAAMF,IAAA,WAASA,IAAA,KAAY,mBAAAA,IAAA;IAC/B,KAAE,IAAMG,GAAA,IAAQhB,iBAAiB,CAAAa,IAAA,GAChC,KACEX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EAACnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EAAA,OACEE,EAAG;AAAA;AAEA,IAAAM,YACE,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,cACA;AAAAhB,QAAA,CAAAgB,cACA;EAAAC,MACF,EAAAA,CAAA,KACAA;AAAA;AAEIC,MAAA,CAAAC,OAAA,GAAAN,YAAgB,CAAAG,cAAK;AACrB,IAAAI,kBAAI,GAASC,OAAA,CAAW;AACtB,IAAAC,gBAAA,GAAQD,OAAQ,sBAAI;AAAA,IAAAE,WACtB,GAAAF,OAAA;AAAA,IAAAG,WACF,GAAAH,OAAA;AAAA,IAAAI,mBACF,GAAAJ,OAAA;AAAA,IAAAK,WACJ,OAAAH,WAAA,CAAAI,MAAA,EAAAH,WAAA,CAAAI,WAAA;EAAAzB,IAAA;EAAA0B,MACF;EAEJC,IAAA;AACF","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ import { Text, styled } from "@hanzogui/core";
2
+ const EnsureFlexed = styled(Text, {
3
+ opacity: 0,
4
+ lineHeight: 0,
5
+ height: 0,
6
+ display: "flex",
7
+ fontSize: 200,
8
+ children: "wwwwwwwwwwwwwwwwwww",
9
+ pointerEvents: "none"
10
+ });
11
+ EnsureFlexed["isVisuallyHidden"] = true;
12
+ export { EnsureFlexed };
13
+ //# sourceMappingURL=EnsureFlexed.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Text","styled","EnsureFlexed","opacity","lineHeight","height","display","fontSize","children","pointerEvents"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,EAAMC,MAAA,QAAc;AAItB,MAAMC,YAAA,GAAeD,MAAA,CAAOD,IAAA,EAAM;EACvCG,OAAA,EAAS;EACTC,UAAA,EAAY;EACZC,MAAA,EAAQ;EACRC,OAAA,EAAS;EACTC,QAAA,EAAU;EACVC,QAAA,EAAU;EACVC,aAAA,EAAe;AACjB,CAAC;AAIDP,YAAA,CAAa,kBAAkB,IAAI","ignoreList":[]}
@@ -0,0 +1,41 @@
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 EnsureFlexed_exports = {};
26
+ __export(EnsureFlexed_exports, {
27
+ EnsureFlexed: () => EnsureFlexed
28
+ });
29
+ module.exports = __toCommonJS(EnsureFlexed_exports);
30
+ var import_core = require("@hanzogui/core");
31
+ var EnsureFlexed = (0, import_core.styled)(import_core.Text, {
32
+ opacity: 0,
33
+ lineHeight: 0,
34
+ height: 0,
35
+ display: "flex",
36
+ fontSize: 200,
37
+ children: "wwwwwwwwwwwwwwwwwww",
38
+ pointerEvents: "none"
39
+ });
40
+ EnsureFlexed["isVisuallyHidden"] = true;
41
+ //# sourceMappingURL=EnsureFlexed.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAIF,IAAAA,SAAM,GAAAC,MAAe,CAAAC,cAAa;AAAA,IACvCC,gBAAS,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACTC,iBAAY,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACZC,YAAQ,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACRC,QAAS,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EACT,SAAAC,IAAU,IAAAD,GAAA,EACVZ,SAAU,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AAEZ,IAACC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAID,IAAAF,IAAA,IAAa,OAAAA,IAAA,aAAsB,WAAAA,IAAA","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ import { styled } from "@hanzogui/core";
2
+ import { YStack } from "@hanzogui/stacks";
3
+ const Fieldset = styled(YStack, {
4
+ name: "Fieldset",
5
+ render: "fieldset",
6
+ // remove browser default styling
7
+ borderWidth: 0,
8
+ variants: {
9
+ horizontal: {
10
+ true: {
11
+ flexDirection: "row",
12
+ alignItems: "center"
13
+ }
14
+ }
15
+ }
16
+ });
17
+ export { Fieldset };
18
+ //# sourceMappingURL=Fieldset.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["styled","YStack","Fieldset","name","render","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,MAAA,EAAQ;EAAA;EAGRC,WAAA,EAAa;EAEbC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,46 @@
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 Fieldset_exports = {};
26
+ __export(Fieldset_exports, {
27
+ Fieldset: () => Fieldset
28
+ });
29
+ module.exports = __toCommonJS(Fieldset_exports);
30
+ var import_core = require("@hanzogui/core");
31
+ var import_stacks = require("@hanzogui/stacks");
32
+ var Fieldset = (0, import_core.styled)(import_stacks.YStack, {
33
+ name: "Fieldset",
34
+ render: "fieldset",
35
+ // remove browser default styling
36
+ borderWidth: 0,
37
+ variants: {
38
+ horizontal: {
39
+ true: {
40
+ flexDirection: "row",
41
+ alignItems: "center"
42
+ }
43
+ }
44
+ }
45
+ });
46
+ //# sourceMappingURL=Fieldset.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEhB,IAAAC,gBAAiB,GAAAF,MAAO,CAAAG,wBAAQ;AAAA,IACrCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACNC,YAAQ,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IAAAC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EAGR,SAAAC,IAAa,IAAAD,GAAA,EAEbZ,SAAU,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACI,IAAAC,WACJ,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IAAAF,IACJ,WAAAA,IAAe,wBAAAA,IAAA;IAAA,KACf,IAAAG,GAAA,IAAYhB,iBAAA,CAAAa,IAAA,GACd,KAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACFnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EACF;EACD,OAAAE,EAAA","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ import { GuiProvider as OGProvider } from "@hanzogui/core";
2
+ import { PortalProvider } from "@hanzogui/portal";
3
+ import { ZIndexStackContext } from "@hanzogui/z-index-stack";
4
+ import { jsx } from "react/jsx-runtime";
5
+ const GuiProvider = ({
6
+ children,
7
+ ...props
8
+ }) => {
9
+ return /* @__PURE__ */jsx(OGProvider, {
10
+ ...props,
11
+ children: /* @__PURE__ */jsx(ZIndexStackContext.Provider, {
12
+ value: 1,
13
+ children: /* @__PURE__ */jsx(PortalProvider, {
14
+ shouldAddRootHost: true,
15
+ children
16
+ })
17
+ })
18
+ });
19
+ };
20
+ export { GuiProvider };
21
+ //# sourceMappingURL=GuiProvider.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["GuiProvider","OGProvider","PortalProvider","ZIndexStackContext","jsx","children","props","Provider","value","shouldAddRootHost"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,UAAA,QAAkB;AAC1C,SAASC,cAAA,QAAsB;AAC/B,SAASC,kBAAA,QAA0B;AAM3B,SAAAC,GAAA;AAJD,MAAMJ,WAAA,GAAcA,CAAC;EAAEK,QAAA;EAAU,GAAGC;AAAM,MAAwB;EACvE,OACE,eAAAF,GAAA,CAACH,UAAA;IAAY,GAAGK,KAAA;IACdD,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBI,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCH,QAAA,iBAAAD,GAAA,CAACF,cAAA;QAAeO,iBAAA,EAAiB;QAAEJ;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;AAEJ","ignoreList":[]}
@@ -0,0 +1,50 @@
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 GuiProvider_exports = {};
26
+ __export(GuiProvider_exports, {
27
+ GuiProvider: () => GuiProvider
28
+ });
29
+ module.exports = __toCommonJS(GuiProvider_exports);
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_core = require("@hanzogui/core");
32
+ var import_portal = require("@hanzogui/portal");
33
+ var import_z_index_stack = require("@hanzogui/z-index-stack");
34
+ var GuiProvider = function (param) {
35
+ var {
36
+ children,
37
+ ...props
38
+ } = param;
39
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.GuiProvider, {
40
+ ...props,
41
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_z_index_stack.ZIndexStackContext.Provider, {
42
+ value: 1,
43
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_portal.PortalProvider, {
44
+ shouldAddRootHost: true,
45
+ children
46
+ })
47
+ })
48
+ });
49
+ };
50
+ //# sourceMappingURL=GuiProvider.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAAsB;AAC/B,IAAAC,gBAAS,GAAAF,MAAA,CAAAG,wBAA0B;AAM3B,IAAAC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AAJD,IAAAC,YAAM,GAAAN,MAAiB,CAAAO,SAAU,CAAGC,cAA8B;AACvE,IAAAC,QACE,GAAAA,CAAAC,MAAA,EAAAC,GAAA,KAAC;EAML,SAAAC,IAAA,IAAAD,GAAA,E","ignoreList":[]}