@xaui/native 0.9.1-alpha.94 → 0.9.1-beta.96

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 (179) hide show
  1. package/dist/{chunk-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
  2. package/dist/{chunk-LUPU7FJK.js → chunk-356DND54.js} +1 -1
  3. package/dist/{chunk-B5DBFS6M.js → chunk-3BRVAMXQ.js} +1 -1
  4. package/dist/{chunk-YJIVPYMG.cjs → chunk-3CI4JGY4.cjs} +14 -14
  5. package/dist/{chunk-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
  6. package/dist/{chunk-X6GT4H4I.cjs → chunk-3TBT6ORW.cjs} +15 -15
  7. package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
  8. package/dist/{chunk-WPYJW3WM.cjs → chunk-435MOVG2.cjs} +3 -3
  9. package/dist/{chunk-NGXLJ5ZF.cjs → chunk-4R4SIP22.cjs} +22 -22
  10. package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
  11. package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
  12. package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
  13. package/dist/{chunk-5O7E73QP.cjs → chunk-7CGF3Z5S.cjs} +6 -6
  14. package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
  15. package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
  16. package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
  17. package/dist/{chunk-E4FWGZH2.js → chunk-AMFGATFY.js} +2 -2
  18. package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
  19. package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
  20. package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
  21. package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
  22. package/dist/{chunk-53E2E7GS.cjs → chunk-CP6AB6N5.cjs} +15 -15
  23. package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
  24. package/dist/{chunk-BYDGJU5A.js → chunk-ES7RME6G.js} +3 -3
  25. package/dist/{chunk-KFB24VYT.js → chunk-EXONAJUX.js} +15 -15
  26. package/dist/{chunk-ERIGD4SE.cjs → chunk-FWAP4WAJ.cjs} +18 -18
  27. package/dist/{chunk-KMK6FUTK.cjs → chunk-FZXWZNYY.cjs} +9 -9
  28. package/dist/{chunk-K7VDLVLE.js → chunk-GKXOHUEW.js} +3 -3
  29. package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
  30. package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
  31. package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
  32. package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
  33. package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
  34. package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
  35. package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
  36. package/dist/{chunk-OZLOYXLW.js → chunk-L6EWRWTE.js} +2 -2
  37. package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
  38. package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
  39. package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
  40. package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
  41. package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
  42. package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
  43. package/dist/{chunk-4AIIAF6U.js → chunk-SRY3HKSC.js} +16 -16
  44. package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
  45. package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
  46. package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
  47. package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
  48. package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
  49. package/dist/{chunk-E5E2QA4K.js → chunk-VQG7K5QE.js} +15 -15
  50. package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
  51. package/dist/{chunk-MNBEUNC5.cjs → chunk-WH7MFY3H.cjs} +18 -18
  52. package/dist/{chunk-OX23MW5E.js → chunk-WMTGDNXU.js} +44 -44
  53. package/dist/{chunk-2TLPFGGR.cjs → chunk-XCEDD7PE.cjs} +24 -24
  54. package/dist/{chunk-J5COSALO.cjs → chunk-XILRXEUL.cjs} +2 -2
  55. package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
  56. package/dist/{chunk-YI5D4QZP.js → chunk-Z2KK5W7P.js} +15 -15
  57. package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
  58. package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
  59. package/dist/components/accordion/accordion.animation.d.cts +1 -1
  60. package/dist/components/accordion/accordion.animation.d.ts +1 -1
  61. package/dist/components/accordion/accordion.type.d.cts +1 -1
  62. package/dist/components/accordion/accordion.type.d.ts +1 -1
  63. package/dist/components/accordion/index.cjs +2 -2
  64. package/dist/components/accordion/index.js +1 -1
  65. package/dist/components/alert/alert-icon.d.cts +2 -2
  66. package/dist/components/alert/alert-icon.d.ts +2 -2
  67. package/dist/components/alert/alert.type.d.cts +1 -1
  68. package/dist/components/alert/alert.type.d.ts +1 -1
  69. package/dist/components/alert/index.cjs +2 -2
  70. package/dist/components/alert/index.js +1 -1
  71. package/dist/components/autocomplete/index.cjs +3 -3
  72. package/dist/components/autocomplete/index.js +2 -2
  73. package/dist/components/avatar/avatar-fallback.d.cts +1 -1
  74. package/dist/components/avatar/avatar-fallback.d.ts +1 -1
  75. package/dist/components/avatar/avatar.d.cts +1 -1
  76. package/dist/components/avatar/avatar.d.ts +1 -1
  77. package/dist/components/avatar/avatar.type.d.cts +1 -1
  78. package/dist/components/avatar/avatar.type.d.ts +1 -1
  79. package/dist/components/avatar/index.cjs +2 -2
  80. package/dist/components/avatar/index.js +1 -1
  81. package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
  82. package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
  83. package/dist/components/bottom-sheet/index.cjs +2 -2
  84. package/dist/components/bottom-sheet/index.js +1 -1
  85. package/dist/components/card/card-background.d.cts +1 -1
  86. package/dist/components/card/card-background.d.ts +1 -1
  87. package/dist/components/card/card.utils.d.cts +1 -1
  88. package/dist/components/card/card.utils.d.ts +1 -1
  89. package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
  90. package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
  91. package/dist/components/checkbox/checkbox.type.d.cts +1 -1
  92. package/dist/components/checkbox/checkbox.type.d.ts +1 -1
  93. package/dist/components/checkbox/index.cjs +2 -2
  94. package/dist/components/checkbox/index.js +1 -1
  95. package/dist/components/chip/chip.type.d.cts +1 -1
  96. package/dist/components/chip/chip.type.d.ts +1 -1
  97. package/dist/components/chip/index.cjs +2 -2
  98. package/dist/components/chip/index.js +1 -1
  99. package/dist/components/color-picker/index.cjs +7 -7
  100. package/dist/components/color-picker/index.js +6 -6
  101. package/dist/components/combobox/index.cjs +4 -4
  102. package/dist/components/combobox/index.js +3 -3
  103. package/dist/components/date-picker/index.cjs +4 -4
  104. package/dist/components/date-picker/index.js +3 -3
  105. package/dist/components/date-range-picker/index.cjs +4 -4
  106. package/dist/components/date-range-picker/index.js +3 -3
  107. package/dist/components/date-time-picker/index.cjs +5 -5
  108. package/dist/components/date-time-picker/index.js +4 -4
  109. package/dist/components/dialog/index.cjs +2 -2
  110. package/dist/components/dialog/index.js +1 -1
  111. package/dist/components/dummy-field/index.cjs +5 -5
  112. package/dist/components/dummy-field/index.js +4 -4
  113. package/dist/components/field-group/field-group-icon.d.cts +1 -1
  114. package/dist/components/field-group/field-group-icon.d.ts +1 -1
  115. package/dist/components/field-group/index.cjs +4 -4
  116. package/dist/components/field-group/index.js +3 -3
  117. package/dist/components/input-otp/input-otp.type.d.cts +1 -1
  118. package/dist/components/input-otp/input-otp.type.d.ts +1 -1
  119. package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
  120. package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
  121. package/dist/components/mask-field/index.cjs +5 -5
  122. package/dist/components/mask-field/index.js +4 -4
  123. package/dist/components/menu/index.cjs +2 -2
  124. package/dist/components/menu/index.js +1 -1
  125. package/dist/components/number-field/index.cjs +5 -5
  126. package/dist/components/number-field/index.js +4 -4
  127. package/dist/components/phone-number-field/index.cjs +22 -22
  128. package/dist/components/phone-number-field/index.js +4 -4
  129. package/dist/components/popover/index.cjs +2 -2
  130. package/dist/components/popover/index.js +1 -1
  131. package/dist/components/popover/popover.recipe.d.cts +1 -1
  132. package/dist/components/popover/popover.recipe.d.ts +1 -1
  133. package/dist/components/search-field/index.cjs +5 -5
  134. package/dist/components/search-field/index.js +4 -4
  135. package/dist/components/select/index.cjs +3 -3
  136. package/dist/components/select/index.js +2 -2
  137. package/dist/components/select/select-indicator.d.cts +1 -1
  138. package/dist/components/select/select-indicator.d.ts +1 -1
  139. package/dist/components/skeleton/skeleton.type.d.cts +1 -1
  140. package/dist/components/skeleton/skeleton.type.d.ts +1 -1
  141. package/dist/components/slider/slider-thumb.d.cts +1 -1
  142. package/dist/components/slider/slider-thumb.d.ts +1 -1
  143. package/dist/components/slider/slider.recipe.d.cts +1 -1
  144. package/dist/components/slider/slider.recipe.d.ts +1 -1
  145. package/dist/components/spinner/spinner.d.cts +1 -1
  146. package/dist/components/spinner/spinner.d.ts +1 -1
  147. package/dist/components/switch/switch.style.d.cts +1 -1
  148. package/dist/components/switch/switch.style.d.ts +1 -1
  149. package/dist/components/table/index.cjs +3 -3
  150. package/dist/components/table/index.js +2 -2
  151. package/dist/components/text-area/index.cjs +4 -4
  152. package/dist/components/text-area/index.js +3 -3
  153. package/dist/components/text-area/text-area.d.cts +1 -1
  154. package/dist/components/text-area/text-area.d.ts +1 -1
  155. package/dist/components/text-field/index.cjs +3 -3
  156. package/dist/components/text-field/index.js +2 -2
  157. package/dist/components/text-field/text-field.type.d.cts +4 -4
  158. package/dist/components/text-field/text-field.type.d.ts +4 -4
  159. package/dist/components/time-picker/index.cjs +4 -4
  160. package/dist/components/time-picker/index.js +3 -3
  161. package/dist/components/toast/index.cjs +2 -2
  162. package/dist/components/toast/index.js +1 -1
  163. package/dist/components/toast/toast.animation.d.cts +2 -2
  164. package/dist/components/toast/toast.animation.d.ts +2 -2
  165. package/dist/components/toast/toast.utils.d.cts +1 -1
  166. package/dist/components/toast/toast.utils.d.ts +1 -1
  167. package/dist/components/typography/typography.type.d.cts +1 -1
  168. package/dist/components/typography/typography.type.d.ts +1 -1
  169. package/dist/hooks/use-rotation.d.cts +1 -1
  170. package/dist/hooks/use-rotation.d.ts +1 -1
  171. package/dist/index.cjs +30 -30
  172. package/dist/index.js +29 -29
  173. package/dist/system/anchored/indicator-spring.d.cts +2 -2
  174. package/dist/system/anchored/indicator-spring.d.ts +2 -2
  175. package/dist/theme/derive-colors.d.cts +1 -1
  176. package/dist/theme/derive-colors.d.ts +1 -1
  177. package/dist/theme/index.cjs +2 -2
  178. package/dist/theme/index.js +1 -1
  179. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkWLWZG2PAcjs = require('./chunk-WLWZG2PA.cjs');
3
+ var _chunkBKY5YQ7Wcjs = require('./chunk-BKY5YQ7W.cjs');
4
4
 
5
5
 
6
6
 
@@ -158,8 +158,8 @@ var TextFieldRoot = _react.forwardRef.call(void 0, function TextField({
158
158
  isInvalid: isInvalid ? "true" : void 0
159
159
  };
160
160
  const states = { focused: isFocused && !isInvalid, disabled: isDisabled };
161
- const styles = _chunkWLWZG2PAcjs.textFieldRecipe.resolve({ theme, selection, states });
162
- const tint = color ? _chunkWLWZG2PAcjs.textFieldRecipe.tint({ theme, color, selection, states }) : void 0;
161
+ const styles = _chunkBKY5YQ7Wcjs.textFieldRecipe.resolve({ theme, selection, states });
162
+ const tint = color ? _chunkBKY5YQ7Wcjs.textFieldRecipe.tint({ theme, color, selection, states }) : void 0;
163
163
  const context = _react.useMemo.call(void 0, () => {
164
164
  const placeholder = _reactnative.StyleSheet.flatten(styles.placeholder);
165
165
  const icon = _reactnative.StyleSheet.flatten(styles.icon);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Checkbox
3
- } from "./chunk-B5DBFS6M.js";
3
+ } from "./chunk-3BRVAMXQ.js";
4
4
  import {
5
5
  useControllableState
6
6
  } from "./chunk-F6W3JQ7K.js";
@@ -185,7 +185,7 @@ var checkboxRecipe = createRecipe({
185
185
  * Declared after `size` so its border wins. The resting fill is dropped rather than
186
186
  * repainted — `undefined` over a colour is what RN reads as "no background" — because
187
187
  * a box that is wrong should read as an outline, not as a filled control that happens
188
- * to be red at the edge. HeroUI reaches the same shape with a compound.
188
+ * to be red at the edge. The reference implementation reaches the same shape with a compound.
189
189
  */
190
190
  isInvalid: {
191
191
  true: (theme) => ({
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkNADCILBLcjs = require('./chunk-NADCILBL.cjs');
6
+ var _chunkNRU5APUEcjs = require('./chunk-NRU5APUE.cjs');
7
7
 
8
8
 
9
9
 
@@ -11,10 +11,10 @@ var _chunkNADCILBLcjs = require('./chunk-NADCILBL.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkAXKDHX5Vcjs = require('./chunk-AXKDHX5V.cjs');
14
+ var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
15
15
 
16
16
 
17
- var _chunkWLWZG2PAcjs = require('./chunk-WLWZG2PA.cjs');
17
+ var _chunkBKY5YQ7Wcjs = require('./chunk-BKY5YQ7W.cjs');
18
18
 
19
19
 
20
20
 
@@ -43,7 +43,7 @@ var _jsxruntime = require('react/jsx-runtime');
43
43
  var SearchFieldClear = _react.forwardRef.call(void 0,
44
44
  function SearchFieldClear2({ onPress, ...props }, ref) {
45
45
  const { query, clear, clearStyle, clearGlyphStyle } = useSearchField();
46
- const { isDisabled } = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
46
+ const { isDisabled } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
47
47
  const handlePress = _react.useCallback.call(void 0,
48
48
  (event) => {
49
49
  clear();
@@ -52,7 +52,7 @@ var SearchFieldClear = _react.forwardRef.call(void 0,
52
52
  [clear, onPress]
53
53
  );
54
54
  if (query.length === 0) return null;
55
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNADCILBLcjs.FieldGroupSuffix, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
55
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupSuffix, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
56
56
  _chunkWNEDQTH6cjs.CloseButtonBase,
57
57
  {
58
58
  ref,
@@ -75,13 +75,13 @@ var SearchFieldField = _react.forwardRef.call(void 0,
75
75
  function SearchFieldField2({ style, ...props }, ref) {
76
76
  const { query, onType, submit, boxStyle } = useSearchField();
77
77
  const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
78
- const group = _chunkNADCILBLcjs.useOptionalFieldGroup.call(void 0, );
78
+ const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
79
79
  const padding = _react.useMemo.call(void 0,
80
- () => _chunkNADCILBLcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _3 => _3.suffixWidth]), () => ( 0))),
80
+ () => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _3 => _3.suffixWidth]), () => ( 0))),
81
81
  [_optionalChain([group, 'optionalAccess', _4 => _4.prefixWidth]), _optionalChain([group, 'optionalAccess', _5 => _5.suffixWidth])]
82
82
  );
83
83
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
84
- _chunkAXKDHX5Vcjs.TextFieldField,
84
+ _chunk2IOL3VDPcjs.TextFieldField,
85
85
  {
86
86
  ref,
87
87
  accessibilityRole: "search",
@@ -128,7 +128,7 @@ function SearchFieldIcon({
128
128
  size,
129
129
  color
130
130
  }) {
131
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNADCILBLcjs.FieldGroupIcon, { as, size, color });
131
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupIcon, { as, size, color });
132
132
  }
133
133
  SearchFieldIcon.displayName = "XAUI.SearchField.Icon";
134
134
 
@@ -144,7 +144,7 @@ var VARIANT_TOKENS = {
144
144
  var BAR_RATIO = 16 / 32;
145
145
  function sizeAxis(size) {
146
146
  return (theme) => {
147
- const side = theme.fontSizes[_chunkWLWZG2PAcjs.FIELD_GLYPH_SIZES[size]];
147
+ const side = theme.fontSizes[_chunkBKY5YQ7Wcjs.FIELD_GLYPH_SIZES[size]];
148
148
  return {
149
149
  clear: { width: side, height: side },
150
150
  clearGlyph: { width: Math.round(side * BAR_RATIO) }
@@ -229,19 +229,19 @@ var SearchFieldRoot = _react.forwardRef.call(void 0,
229
229
  }),
230
230
  [query, report, clear, submit, styles, tint]
231
231
  );
232
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SearchFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextFieldRoot, { ref, variant: "tertiary", size, ...props, children }) });
232
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SearchFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, variant: "tertiary", size, ...props, children }) });
233
233
  }
234
234
  );
235
235
  SearchFieldRoot.displayName = "XAUI.SearchField.Root";
236
236
 
237
237
  // src/components/search-field/index.ts
238
238
  var SearchField2 = Object.assign(SearchFieldRoot, {
239
- Label: _chunkAXKDHX5Vcjs.TextFieldLabel,
239
+ Label: _chunk2IOL3VDPcjs.TextFieldLabel,
240
240
  Icon: SearchFieldIcon,
241
241
  Field: SearchFieldField,
242
242
  Clear: SearchFieldClear,
243
- Description: _chunkAXKDHX5Vcjs.TextFieldDescription,
244
- Error: _chunkAXKDHX5Vcjs.TextFieldError
243
+ Description: _chunk2IOL3VDPcjs.TextFieldDescription,
244
+ Error: _chunk2IOL3VDPcjs.TextFieldError
245
245
  });
246
246
 
247
247
 
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkAIHKBSQ5cjs = require('./chunk-AIHKBSQ5.cjs');
7
+ var _chunkYUCK5VJOcjs = require('./chunk-YUCK5VJO.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkAHJLQJOEcjs = require('./chunk-AHJLQJOE.cjs');
14
+ var _chunkC2S6J27Ocjs = require('./chunk-C2S6J27O.cjs');
15
15
 
16
16
 
17
17
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
@@ -206,7 +206,7 @@ var ColorPickerContent = _react.forwardRef.call(void 0,
206
206
  const context = useColorPicker();
207
207
  const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
208
208
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
209
- _chunkAHJLQJOEcjs.DialogContent,
209
+ _chunkC2S6J27Ocjs.DialogContent,
210
210
  {
211
211
  ref,
212
212
  ...rest,
@@ -224,7 +224,7 @@ ColorPickerContent.displayName = "XAUI.ColorPicker.Content";
224
224
  var ColorPickerField = _react.forwardRef.call(void 0,
225
225
  function ColorPickerField2({ value, ...props }, ref) {
226
226
  const { value: chosen } = useColorPicker();
227
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAIHKBSQ5cjs.DummyFieldField, { ref, value: _nullishCoalesce(value, () => ( _optionalChain([chosen, 'optionalAccess', _2 => _2.toUpperCase, 'call', _3 => _3()]))), ...props });
227
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYUCK5VJOcjs.DummyFieldField, { ref, value: _nullishCoalesce(value, () => ( _optionalChain([chosen, 'optionalAccess', _2 => _2.toUpperCase, 'call', _3 => _3()]))), ...props });
228
228
  }
229
229
  );
230
230
  ColorPickerField.displayName = "XAUI.ColorPicker.Field";
@@ -708,8 +708,8 @@ var ColorPickerRoot = _react.forwardRef.call(void 0,
708
708
  }),
709
709
  [value, select, colors, layout, isDisabled, styles, tint]
710
710
  );
711
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ColorPickerProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHJLQJOEcjs.Dialog, { isOpen, onOpenChange: setOpen, isDisabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
712
- _chunkAIHKBSQ5cjs.DummyFieldRoot,
711
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ColorPickerProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC2S6J27Ocjs.Dialog, { isOpen, onOpenChange: setOpen, isDisabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
712
+ _chunkYUCK5VJOcjs.DummyFieldRoot,
713
713
  {
714
714
  ref,
715
715
  variant,
@@ -731,15 +731,15 @@ ColorPickerRoot.displayName = "XAUI.ColorPicker.Root";
731
731
 
732
732
  // src/components/color-picker/index.ts
733
733
  var ColorPicker2 = Object.assign(ColorPickerRoot, {
734
- Label: _chunkAIHKBSQ5cjs.DummyFieldLabel,
734
+ Label: _chunkYUCK5VJOcjs.DummyFieldLabel,
735
735
  Preview: ColorPickerPreview,
736
736
  Field: ColorPickerField,
737
- Description: _chunkAIHKBSQ5cjs.DummyFieldDescription,
738
- Error: _chunkAIHKBSQ5cjs.DummyFieldError,
739
- Overlay: _chunkAHJLQJOEcjs.DialogOverlay,
737
+ Description: _chunkYUCK5VJOcjs.DummyFieldDescription,
738
+ Error: _chunkYUCK5VJOcjs.DummyFieldError,
739
+ Overlay: _chunkC2S6J27Ocjs.DialogOverlay,
740
740
  Content: ColorPickerContent,
741
- Title: _chunkAHJLQJOEcjs.DialogTitle,
742
- Close: _chunkAHJLQJOEcjs.DialogClose,
741
+ Title: _chunkC2S6J27Ocjs.DialogTitle,
742
+ Close: _chunkC2S6J27Ocjs.DialogClose,
743
743
  Grid: ColorPickerGrid,
744
744
  Group: ColorPickerGroup,
745
745
  Swatch: ColorPickerSwatch
@@ -152,10 +152,10 @@ function nextSheetState(release, geometry) {
152
152
  }
153
153
 
154
154
  // src/components/bottom-sheet/bottom-sheet-content.tsx
155
- const _worklet_16151354902767_init_data = {
156
- code: "function chunkX6GT4H4ICjs1(){const{offset}=this.__closure;return{transform:[{translateY:offset.get()}]};}",
157
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-X6GT4H4I.cjs",
158
- sourceMap: "{\"version\":3,\"names\":[\"chunkX6GT4H4ICjs1\",\"offset\",\"__closure\",\"transform\",\"translateY\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-X6GT4H4I.cjs\"],\"mappings\":\"AAuNqE,SAAAA,iBAAMA,CAAA,QAAAC,MAAA,OAAAC,SAAA,CAEvE,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,MAAM,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACtD\",\"ignoreList\":[]}"
155
+ const _worklet_1588711504510_init_data = {
156
+ code: "function chunk3TBT6ORWCjs1(){const{offset}=this.__closure;return{transform:[{translateY:offset.get()}]};}",
157
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-3TBT6ORW.cjs",
158
+ sourceMap: "{\"version\":3,\"names\":[\"chunk3TBT6ORWCjs1\",\"offset\",\"__closure\",\"transform\",\"translateY\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-3TBT6ORW.cjs\"],\"mappings\":\"AAuNqE,SAAAA,iBAAMA,CAAA,QAAAC,MAAA,OAAAC,SAAA,CAEvE,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,MAAM,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACtD\",\"ignoreList\":[]}"
159
159
  };
160
160
  function BottomSheetContent({
161
161
  children,
@@ -220,28 +220,28 @@ function BottomSheetContent({
220
220
  }).onEnd(event => {
221
221
  _reactnativereanimated.runOnJS.call(void 0, release)(event.translationY, event.velocityY);
222
222
  });
223
- const slide = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkX6GT4H4ICjs1Factory({
224
- _worklet_16151354902767_init_data,
223
+ const slide = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk3TBT6ORWCjs1Factory({
224
+ _worklet_1588711504510_init_data,
225
225
  offset
226
226
  }) {
227
227
  const _e = [new global.Error(), -2, -27];
228
- const chunkX6GT4H4ICjs1 = function () {
228
+ const chunk3TBT6ORWCjs1 = function () {
229
229
  return {
230
230
  transform: [{
231
231
  translateY: offset.get()
232
232
  }]
233
233
  };
234
234
  };
235
- chunkX6GT4H4ICjs1.__closure = {
235
+ chunk3TBT6ORWCjs1.__closure = {
236
236
  offset
237
237
  };
238
- chunkX6GT4H4ICjs1.__workletHash = 16151354902767;
239
- chunkX6GT4H4ICjs1.__pluginVersion = "0.7.4";
240
- chunkX6GT4H4ICjs1.__initData = _worklet_16151354902767_init_data;
241
- chunkX6GT4H4ICjs1.__stackDetails = _e;
242
- return chunkX6GT4H4ICjs1;
238
+ chunk3TBT6ORWCjs1.__workletHash = 1588711504510;
239
+ chunk3TBT6ORWCjs1.__pluginVersion = "0.7.4";
240
+ chunk3TBT6ORWCjs1.__initData = _worklet_1588711504510_init_data;
241
+ chunk3TBT6ORWCjs1.__stackDetails = _e;
242
+ return chunk3TBT6ORWCjs1;
243
243
  }({
244
- _worklet_16151354902767_init_data,
244
+ _worklet_1588711504510_init_data,
245
245
  offset
246
246
  }), [offset]);
247
247
  if (!isOpen) return null;
@@ -515,7 +515,7 @@ var bottomSheetRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
515
515
  backgroundColor: theme.colors.overlay,
516
516
  padding: theme.spacing(5),
517
517
  gap: theme.spacing(2),
518
- // HeroUI's `--radius-4xl` on a base of 8 is 32 points; the nearest on our base of 12
518
+ // The reference implementation's `--radius-4xl` on a base of 8 is 32 points; the nearest on our base of 12
519
519
  // is `3xl` at 36. A sheet's corner is the largest in the library because it is the
520
520
  // only edge of it you can see.
521
521
  borderTopStartRadius: theme.radius["3xl"],
@@ -5,7 +5,7 @@ import {
5
5
  TextFieldLabel,
6
6
  TextFieldRoot,
7
7
  useTextField
8
- } from "./chunk-5YZUYSV7.js";
8
+ } from "./chunk-JYV53WUN.js";
9
9
  import {
10
10
  createSlotContext
11
11
  } from "./chunk-TTZOIXKE.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkX22PLAP6cjs = require('./chunk-X22PLAP6.cjs');
3
+ var _chunkBGBJTBFCcjs = require('./chunk-BGBJTBFC.cjs');
4
4
 
5
5
 
6
6
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
@@ -651,7 +651,7 @@ var TableSelectAllCell = _react.forwardRef.call(void 0,
651
651
  ...rest,
652
652
  style: [cellStyle, { width: selectionWidth }, styleProps, style],
653
653
  children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
654
- _chunkX22PLAP6cjs.Checkbox,
654
+ _chunkBGBJTBFCcjs.Checkbox,
655
655
  {
656
656
  isSelected: isAll,
657
657
  isIndeterminate: isSome,
@@ -678,7 +678,7 @@ var TableSelectionCell = _react.forwardRef.call(void 0,
678
678
  ...rest,
679
679
  style: [cellStyle, { width: selectionWidth }, styleProps, style],
680
680
  children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
681
- _chunkX22PLAP6cjs.Checkbox,
681
+ _chunkBGBJTBFCcjs.Checkbox,
682
682
  {
683
683
  isSelected,
684
684
  isDisabled,
@@ -37,8 +37,8 @@ function _optionalChain(ops) {
37
37
  return value;
38
38
  }
39
39
  var _chunkLCGJA37Lcjs = require('./chunk-LCGJA37L.cjs');
40
- var _chunkX6GT4H4Icjs = require('./chunk-X6GT4H4I.cjs');
41
- var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
40
+ var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
41
+ var _chunkXILRXEULcjs = require('./chunk-XILRXEUL.cjs');
42
42
  var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
43
43
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
44
44
  var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
@@ -102,21 +102,21 @@ function DateRangePicker({
102
102
  isOpen: isOpen ? "true" : void 0,
103
103
  isInvalid: isInvalid ? "true" : void 0
104
104
  };
105
- const field = _chunkJ5COSALOcjs.selectRecipe.resolve({
105
+ const field = _chunkXILRXEULcjs.selectRecipe.resolve({
106
106
  theme,
107
107
  selection,
108
108
  states: {
109
109
  disabled: isDisabled
110
110
  }
111
111
  });
112
- const fieldPressed = _chunkJ5COSALOcjs.selectRecipe.resolve({
112
+ const fieldPressed = _chunkXILRXEULcjs.selectRecipe.resolve({
113
113
  theme,
114
114
  selection,
115
115
  states: {
116
116
  pressed: true
117
117
  }
118
118
  });
119
- const tint = color ? _chunkJ5COSALOcjs.selectRecipe.tint({
119
+ const tint = color ? _chunkXILRXEULcjs.selectRecipe.tint({
120
120
  theme,
121
121
  color,
122
122
  selection
@@ -185,15 +185,15 @@ function DateRangePickerSheet({
185
185
  ...props
186
186
  }) {
187
187
  const picker = useDateRangePicker();
188
- return /* @__PURE__ */_jsxruntime.jsxs.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2, {
188
+ return /* @__PURE__ */_jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, {
189
189
  isOpen: picker.isOpen,
190
190
  onOpenChange: picker.setOpen,
191
191
  ...props,
192
- children: [/* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Overlay, {}), /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Content, {
192
+ children: [/* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}), /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, {
193
193
  children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, DateRangePickerProvider, {
194
194
  value: picker,
195
195
  children: _nullishCoalesce(children, () => (/* @__PURE__ */_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, {
196
- children: [/* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Handle, {}), /* @__PURE__ */_jsxruntime.jsx.call(void 0, DateRangePickerCalendar, {
196
+ children: [/* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}), /* @__PURE__ */_jsxruntime.jsx.call(void 0, DateRangePickerCalendar, {
197
197
  previousLabel,
198
198
  nextLabel
199
199
  })]
@@ -239,10 +239,10 @@ DateRangePickerCalendar.displayName = "XAUI.DateRangePicker.Calendar";
239
239
 
240
240
  var _reactnativereanimated = require('react-native-reanimated');
241
241
  var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
242
- const _worklet_11049994280866_init_data = {
243
- code: "function chunkNGXLJ5ZFCjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
244
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-NGXLJ5ZF.cjs",
245
- sourceMap: "{\"version\":3,\"names\":[\"chunkNGXLJ5ZFCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-NGXLJ5ZF.cjs\"],\"mappings\":\"AA6PwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
242
+ const _worklet_2098526603492_init_data = {
243
+ code: "function chunk4R4SIP22Cjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
244
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4R4SIP22.cjs",
245
+ sourceMap: "{\"version\":3,\"names\":[\"chunk4R4SIP22Cjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4R4SIP22.cjs\"],\"mappings\":\"AA6PwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
246
246
  };
247
247
  function DateRangePickerIndicator(props) {
248
248
  const {
@@ -256,32 +256,32 @@ function DateRangePickerIndicator(props) {
256
256
  _react.useEffect.call(void 0, () => {
257
257
  progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
258
258
  }, [isOpen, progress]);
259
- const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkNGXLJ5ZFCjs1Factory({
260
- _worklet_11049994280866_init_data,
259
+ const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk4R4SIP22Cjs1Factory({
260
+ _worklet_2098526603492_init_data,
261
261
  _reactnativereanimated,
262
262
  progress,
263
263
  _chunkEKS3W46Mcjs
264
264
  }) {
265
265
  const _e = [new global.Error(), -4, -27];
266
- const chunkNGXLJ5ZFCjs1 = function () {
266
+ const chunk4R4SIP22Cjs1 = function () {
267
267
  return {
268
268
  transform: [{
269
269
  rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
270
270
  }]
271
271
  };
272
272
  };
273
- chunkNGXLJ5ZFCjs1.__closure = {
273
+ chunk4R4SIP22Cjs1.__closure = {
274
274
  _reactnativereanimated,
275
275
  progress,
276
276
  _chunkEKS3W46Mcjs
277
277
  };
278
- chunkNGXLJ5ZFCjs1.__workletHash = 11049994280866;
279
- chunkNGXLJ5ZFCjs1.__pluginVersion = "0.7.4";
280
- chunkNGXLJ5ZFCjs1.__initData = _worklet_11049994280866_init_data;
281
- chunkNGXLJ5ZFCjs1.__stackDetails = _e;
282
- return chunkNGXLJ5ZFCjs1;
278
+ chunk4R4SIP22Cjs1.__workletHash = 2098526603492;
279
+ chunk4R4SIP22Cjs1.__pluginVersion = "0.7.4";
280
+ chunk4R4SIP22Cjs1.__initData = _worklet_2098526603492_init_data;
281
+ chunk4R4SIP22Cjs1.__stackDetails = _e;
282
+ return chunk4R4SIP22Cjs1;
283
283
  }({
284
- _worklet_11049994280866_init_data,
284
+ _worklet_2098526603492_init_data,
285
285
  _reactnativereanimated,
286
286
  progress,
287
287
  _chunkEKS3W46Mcjs
@@ -66,7 +66,7 @@ function buildRadius(base) {
66
66
  "3xl": base * 3,
67
67
  "4xl": base * 4,
68
68
  /**
69
- * HeroUI's value, reached from the other side of the scale: their `--radius-field` is
69
+ * The reference implementation's value, reached from the other side of the scale: their `--radius-field` is
70
70
  * an alias of their `--radius-xl`, and their base is 8 where ours is 12 — so their
71
71
  * field corner is 12 points and, at our default base, so is this.
72
72
  *
@@ -115,7 +115,7 @@ var fontFamilies = {
115
115
  heading: "System",
116
116
  // `'monospace'` is an Android family name, not a generic one: iOS does not resolve it and
117
117
  // silently falls back to the system face, so code set with it is not monospaced there.
118
- // Menlo is the face iOS ships, and it is what HeroUI Native selects for the same reason.
118
+ // Menlo is the face iOS ships, and it is what the reference implementation selects for the same reason.
119
119
  mono: _reactnative.Platform.OS === "ios" ? "Menlo" : "monospace"
120
120
  };
121
121
  var borderWidth = { default: 1, field: 1 };
@@ -279,7 +279,7 @@ var dialogRecipe = createRecipe({
279
279
  content: {
280
280
  backgroundColor: theme.colors.overlay,
281
281
  padding: theme.spacing(5),
282
- // HeroUI's `--radius-3xl` on a base of 8 is 24 points; our base is 12, so the same
282
+ // The reference implementation's `--radius-3xl` on a base of 8 is 24 points; our base is 12, so the same
283
283
  // 24 is `2xl`. Reading their key rather than their number puts a pill on it.
284
284
  borderRadius: theme.radius["2xl"],
285
285
  borderCurve: "continuous",
@@ -249,19 +249,19 @@ var chipRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
249
249
  // A chip hugs its content where a `Button` fills its column. The difference is what
250
250
  // the two are: a button is a control the layout sizes, a chip is a token *about*
251
251
  // something, and a tag stretched across a screen has stopped being one. It is also
252
- // the one line of HeroUI's chip that is not a measurement.
252
+ // the one line of the reference implementation's chip that is not a measurement.
253
253
  alignSelf: "flex-start",
254
254
  flexDirection: "row",
255
255
  alignItems: "center",
256
256
  justifyContent: "center",
257
257
  borderWidth: 0,
258
- // The capsule the name means, at every size. HeroUI reaches it through a radius
258
+ // The capsule the name means, at every size. The reference implementation reaches it through a radius
259
259
  // ladder that React Native would clamp to the same pill anyway; saying `full` says
260
260
  // it once, and `radius` is still there for the tag that wants square corners.
261
261
  borderRadius: theme.radius.full,
262
262
  // Squircle corners for when `radius` overrides the pill. Free on Android.
263
263
  borderCurve: "continuous"
264
- // Deliberately no `overflow: 'hidden'`, where HeroUI clips: the press overlays
264
+ // Deliberately no `overflow: 'hidden'`, where the reference implementation clips: the press overlays
265
265
  // carry their own corners (`system/pressable-feedback/`), so nothing needs the clip
266
266
  // — and clipping here would cut a badge or a shadow a caller hangs off the chip.
267
267
  },
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkWLWZG2PAcjs = require('./chunk-WLWZG2PA.cjs');
3
+ var _chunkBKY5YQ7Wcjs = require('./chunk-BKY5YQ7W.cjs');
4
4
 
5
5
 
6
6
 
@@ -13,7 +13,7 @@ var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
13
13
  var _chunkYVYYONTPcjs = require('./chunk-YVYYONTP.cjs');
14
14
 
15
15
 
16
- var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
16
+ var _chunkXILRXEULcjs = require('./chunk-XILRXEUL.cjs');
17
17
 
18
18
 
19
19
  var _chunkWDDXU3OHcjs = require('./chunk-WDDXU3OH.cjs');
@@ -131,21 +131,21 @@ var DatePicker = _react.forwardRef.call(void 0, function DatePicker2({
131
131
  isOpen: isOpen ? "true" : void 0,
132
132
  isInvalid: isInvalid ? "true" : void 0
133
133
  };
134
- const styles = _chunkJ5COSALOcjs.selectRecipe.resolve({
134
+ const styles = _chunkXILRXEULcjs.selectRecipe.resolve({
135
135
  theme,
136
136
  selection,
137
137
  states: { disabled: isDisabled }
138
138
  });
139
- const pressed = _chunkJ5COSALOcjs.selectRecipe.resolve({
139
+ const pressed = _chunkXILRXEULcjs.selectRecipe.resolve({
140
140
  theme,
141
141
  selection,
142
142
  states: { pressed: true }
143
143
  });
144
- const tint = color ? _chunkJ5COSALOcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
144
+ const tint = color ? _chunkXILRXEULcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
145
145
  const own = datePickerRecipe.resolve({ theme, selection: { size } });
146
146
  const flatField = _reactnative.StyleSheet.flatten(own.field);
147
147
  const panelPad = typeof flatField.padding === "number" ? flatField.padding : 0;
148
- const labelled = _chunkWLWZG2PAcjs.textFieldRecipe.resolve({
148
+ const labelled = _chunkBKY5YQ7Wcjs.textFieldRecipe.resolve({
149
149
  theme,
150
150
  selection: { size, isInvalid: isInvalid ? "true" : void 0 },
151
151
  states: { disabled: isDisabled }
@@ -53,10 +53,10 @@ AccordionContent.displayName = "XAUI.Accordion.Content";
53
53
  import { useEffect } from "react";
54
54
  import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
55
55
  import { jsx as jsx2 } from "react/jsx-runtime";
56
- const _worklet_5209976091547_init_data = {
57
- code: "function chunk7OVYYZ7HJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
58
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-7OVYYZ7H.js",
59
- sourceMap: "{\"version\":3,\"names\":[\"chunk7OVYYZ7HJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-7OVYYZ7H.js\"],\"mappings\":\"AA8FoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
56
+ const _worklet_6059148933693_init_data = {
57
+ code: "function chunk7EPH24S2Js1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
58
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-7EPH24S2.js",
59
+ sourceMap: "{\"version\":3,\"names\":[\"chunk7EPH24S2Js1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-7EPH24S2.js\"],\"mappings\":\"AA8FoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
60
60
  };
61
61
  function AccordionIndicator({
62
62
  as = ChevronDownIcon,
@@ -72,32 +72,32 @@ function AccordionIndicator({
72
72
  useEffect(() => {
73
73
  progress.set(withSpring(isExpanded ? 1 : 0, INDICATOR_SPRING));
74
74
  }, [isExpanded, progress]);
75
- const rotation = useAnimatedStyle(function chunk7OVYYZ7HJs1Factory({
76
- _worklet_5209976091547_init_data,
75
+ const rotation = useAnimatedStyle(function chunk7EPH24S2Js1Factory({
76
+ _worklet_6059148933693_init_data,
77
77
  interpolate,
78
78
  progress,
79
79
  INDICATOR_ROTATION
80
80
  }) {
81
81
  const _e = [new global.Error(), -4, -27];
82
- const chunk7OVYYZ7HJs1 = function () {
82
+ const chunk7EPH24S2Js1 = function () {
83
83
  return {
84
84
  transform: [{
85
85
  rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
86
86
  }]
87
87
  };
88
88
  };
89
- chunk7OVYYZ7HJs1.__closure = {
89
+ chunk7EPH24S2Js1.__closure = {
90
90
  interpolate,
91
91
  progress,
92
92
  INDICATOR_ROTATION
93
93
  };
94
- chunk7OVYYZ7HJs1.__workletHash = 5209976091547;
95
- chunk7OVYYZ7HJs1.__pluginVersion = "0.7.4";
96
- chunk7OVYYZ7HJs1.__initData = _worklet_5209976091547_init_data;
97
- chunk7OVYYZ7HJs1.__stackDetails = _e;
98
- return chunk7OVYYZ7HJs1;
94
+ chunk7EPH24S2Js1.__workletHash = 6059148933693;
95
+ chunk7EPH24S2Js1.__pluginVersion = "0.7.4";
96
+ chunk7EPH24S2Js1.__initData = _worklet_6059148933693_init_data;
97
+ chunk7EPH24S2Js1.__stackDetails = _e;
98
+ return chunk7EPH24S2Js1;
99
99
  }({
100
- _worklet_5209976091547_init_data,
100
+ _worklet_6059148933693_init_data,
101
101
  interpolate,
102
102
  progress,
103
103
  INDICATOR_ROTATION
@@ -413,7 +413,7 @@ var accordionRecipe = createRecipe({
413
413
  * edge to be inset from, so its rows run the full width and the hairline runs with them
414
414
  * — which is the difference between a list on a page and a list in a box.
415
415
  *
416
- * `primary` is the only one lifted. It is the one that reads as a card, and HeroUI puts
416
+ * `primary` is the only one lifted. It is the one that reads as a card, and the reference implementation puts
417
417
  * their `--shadow-surface` on exactly that variant. `secondary` and `tertiary` have too
418
418
  * little fill to lift — a shadow under either would read as dirt rather than as height
419
419
  * — and in dark mode the theme's surface shadow is already nothing (§4), which is why