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

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 (247) 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-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
  5. package/dist/{chunk-5O7E73QP.cjs → chunk-3MMOZP4Y.cjs} +8 -8
  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-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
  10. package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
  11. package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
  12. package/dist/{chunk-4AIIAF6U.js → chunk-73EVNWZI.js} +16 -16
  13. package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
  14. package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
  15. package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
  16. package/dist/{chunk-OZLOYXLW.js → chunk-BBQQIO6L.js} +4 -4
  17. package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
  18. package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
  19. package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
  20. package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
  21. package/dist/chunk-C6JO2RTV.cjs +752 -0
  22. package/dist/{chunk-2TLPFGGR.cjs → chunk-CS6CYB4I.cjs} +34 -25
  23. package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
  24. package/dist/{chunk-ERIGD4SE.cjs → chunk-ETY5PM3E.cjs} +150 -39
  25. package/dist/{chunk-YJIVPYMG.cjs → chunk-FLKTJ46K.cjs} +15 -15
  26. package/dist/{chunk-OX23MW5E.js → chunk-FSVZXWLZ.js} +44 -44
  27. package/dist/{chunk-E5E2QA4K.js → chunk-GVZJNIHN.js} +176 -62
  28. package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
  29. package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
  30. package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
  31. package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
  32. package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
  33. package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
  34. package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
  35. package/dist/{chunk-J5COSALO.cjs → chunk-L4B6Z45Q.cjs} +5 -5
  36. package/dist/{chunk-KFB24VYT.js → chunk-LMMHAGOM.js} +26 -17
  37. package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
  38. package/dist/{chunk-BYDGJU5A.js → chunk-M352N6PQ.js} +5 -5
  39. package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
  40. package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
  41. package/dist/{chunk-K7VDLVLE.js → chunk-NQDTGYHC.js} +3 -3
  42. package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
  43. package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
  44. package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
  45. package/dist/{chunk-E4FWGZH2.js → chunk-OUNTRW6E.js} +5 -5
  46. package/dist/{chunk-MNBEUNC5.cjs → chunk-QRH45OO3.cjs} +144 -33
  47. package/dist/chunk-SVS726BW.js +822 -0
  48. package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
  49. package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
  50. package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
  51. package/dist/{chunk-QT7KLGO3.js → chunk-V5FYHQKQ.js} +102 -87
  52. package/dist/{chunk-KMK6FUTK.cjs → chunk-V5V2QYFH.cjs} +9 -9
  53. package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
  54. package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
  55. package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
  56. package/dist/{chunk-YI5D4QZP.js → chunk-WIGDDZHO.js} +190 -76
  57. package/dist/{chunk-NGXLJ5ZF.cjs → chunk-WSDDUVF6.cjs} +22 -22
  58. package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
  59. package/dist/{chunk-SIOSYITD.cjs → chunk-ZBFBF7S4.cjs} +60 -45
  60. package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
  61. package/dist/{chunk-53E2E7GS.cjs → chunk-ZNKHL5O6.cjs} +15 -15
  62. package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
  63. package/dist/components/accordion/accordion.animation.d.cts +1 -1
  64. package/dist/components/accordion/accordion.animation.d.ts +1 -1
  65. package/dist/components/accordion/accordion.type.d.cts +1 -1
  66. package/dist/components/accordion/accordion.type.d.ts +1 -1
  67. package/dist/components/accordion/index.cjs +2 -2
  68. package/dist/components/accordion/index.js +1 -1
  69. package/dist/components/agenda-calendar/agenda-calendar-today-button.d.cts +4 -0
  70. package/dist/components/agenda-calendar/agenda-calendar-today-button.d.ts +4 -0
  71. package/dist/components/agenda-calendar/agenda-calendar.recipe.d.cts +1 -1
  72. package/dist/components/agenda-calendar/agenda-calendar.recipe.d.ts +1 -1
  73. package/dist/components/agenda-calendar/agenda-calendar.type.d.cts +4 -1
  74. package/dist/components/agenda-calendar/agenda-calendar.type.d.ts +4 -1
  75. package/dist/components/agenda-calendar/index.cjs +2 -2
  76. package/dist/components/agenda-calendar/index.js +1 -1
  77. package/dist/components/alert/alert-icon.d.cts +2 -2
  78. package/dist/components/alert/alert-icon.d.ts +2 -2
  79. package/dist/components/alert/alert.type.d.cts +1 -1
  80. package/dist/components/alert/alert.type.d.ts +1 -1
  81. package/dist/components/alert/index.cjs +2 -2
  82. package/dist/components/alert/index.js +1 -1
  83. package/dist/components/autocomplete/autocomplete-description.d.cts +14 -0
  84. package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
  85. package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
  86. package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
  87. package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
  88. package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
  89. package/dist/components/autocomplete/autocomplete.d.cts +50 -7
  90. package/dist/components/autocomplete/autocomplete.d.ts +50 -7
  91. package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
  92. package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
  93. package/dist/components/autocomplete/index.cjs +10 -3
  94. package/dist/components/autocomplete/index.d.cts +50 -3
  95. package/dist/components/autocomplete/index.d.ts +50 -3
  96. package/dist/components/autocomplete/index.js +9 -2
  97. package/dist/components/avatar/avatar-fallback.d.cts +1 -1
  98. package/dist/components/avatar/avatar-fallback.d.ts +1 -1
  99. package/dist/components/avatar/avatar.d.cts +1 -1
  100. package/dist/components/avatar/avatar.d.ts +1 -1
  101. package/dist/components/avatar/avatar.type.d.cts +1 -1
  102. package/dist/components/avatar/avatar.type.d.ts +1 -1
  103. package/dist/components/avatar/index.cjs +2 -2
  104. package/dist/components/avatar/index.js +1 -1
  105. package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
  106. package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
  107. package/dist/components/bottom-sheet/index.cjs +2 -2
  108. package/dist/components/bottom-sheet/index.js +1 -1
  109. package/dist/components/card/card-background.d.cts +1 -1
  110. package/dist/components/card/card-background.d.ts +1 -1
  111. package/dist/components/card/card.utils.d.cts +1 -1
  112. package/dist/components/card/card.utils.d.ts +1 -1
  113. package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
  114. package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
  115. package/dist/components/checkbox/checkbox.type.d.cts +1 -1
  116. package/dist/components/checkbox/checkbox.type.d.ts +1 -1
  117. package/dist/components/checkbox/index.cjs +2 -2
  118. package/dist/components/checkbox/index.js +1 -1
  119. package/dist/components/chip/chip.type.d.cts +1 -1
  120. package/dist/components/chip/chip.type.d.ts +1 -1
  121. package/dist/components/chip/index.cjs +2 -2
  122. package/dist/components/chip/index.js +1 -1
  123. package/dist/components/color-picker/index.cjs +7 -7
  124. package/dist/components/color-picker/index.js +6 -6
  125. package/dist/components/combobox/combobox.type.d.cts +5 -1
  126. package/dist/components/combobox/combobox.type.d.ts +5 -1
  127. package/dist/components/combobox/index.cjs +5 -4
  128. package/dist/components/combobox/index.d.cts +15 -1
  129. package/dist/components/combobox/index.d.ts +15 -1
  130. package/dist/components/combobox/index.js +4 -3
  131. package/dist/components/date-picker/index.cjs +4 -4
  132. package/dist/components/date-picker/index.js +3 -3
  133. package/dist/components/date-range-picker/index.cjs +4 -4
  134. package/dist/components/date-range-picker/index.js +3 -3
  135. package/dist/components/date-time-picker/index.cjs +5 -5
  136. package/dist/components/date-time-picker/index.js +4 -4
  137. package/dist/components/dialog/index.cjs +2 -2
  138. package/dist/components/dialog/index.js +1 -1
  139. package/dist/components/dummy-field/index.cjs +5 -5
  140. package/dist/components/dummy-field/index.js +4 -4
  141. package/dist/components/field-group/field-group-icon.d.cts +1 -1
  142. package/dist/components/field-group/field-group-icon.d.ts +1 -1
  143. package/dist/components/field-group/index.cjs +4 -4
  144. package/dist/components/field-group/index.js +3 -3
  145. package/dist/components/index.d.cts +1 -0
  146. package/dist/components/index.d.ts +1 -0
  147. package/dist/components/input-otp/input-otp.type.d.cts +1 -1
  148. package/dist/components/input-otp/input-otp.type.d.ts +1 -1
  149. package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
  150. package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
  151. package/dist/components/mask-field/index.cjs +5 -5
  152. package/dist/components/mask-field/index.js +4 -4
  153. package/dist/components/menu/index.cjs +2 -2
  154. package/dist/components/menu/index.js +1 -1
  155. package/dist/components/number-field/index.cjs +5 -5
  156. package/dist/components/number-field/index.js +4 -4
  157. package/dist/components/phone-number-field/index.cjs +37 -30
  158. package/dist/components/phone-number-field/index.js +13 -6
  159. package/dist/components/popover/index.cjs +2 -2
  160. package/dist/components/popover/index.js +1 -1
  161. package/dist/components/popover/popover.recipe.d.cts +1 -1
  162. package/dist/components/popover/popover.recipe.d.ts +1 -1
  163. package/dist/components/search-field/index.cjs +5 -5
  164. package/dist/components/search-field/index.js +4 -4
  165. package/dist/components/select/index.cjs +10 -3
  166. package/dist/components/select/index.d.cts +45 -4
  167. package/dist/components/select/index.d.ts +45 -4
  168. package/dist/components/select/index.js +9 -2
  169. package/dist/components/select/select-description.d.cts +14 -0
  170. package/dist/components/select/select-description.d.ts +14 -0
  171. package/dist/components/select/select-error.d.cts +13 -0
  172. package/dist/components/select/select-error.d.ts +13 -0
  173. package/dist/components/select/select-group-label.d.cts +11 -0
  174. package/dist/components/select/select-group-label.d.ts +11 -0
  175. package/dist/components/select/select-indicator.d.cts +1 -1
  176. package/dist/components/select/select-indicator.d.ts +1 -1
  177. package/dist/components/select/select-label.d.cts +11 -2
  178. package/dist/components/select/select-label.d.ts +11 -2
  179. package/dist/components/select/select.d.cts +49 -9
  180. package/dist/components/select/select.d.ts +49 -9
  181. package/dist/components/select/select.recipe.d.cts +1 -1
  182. package/dist/components/select/select.recipe.d.ts +1 -1
  183. package/dist/components/select/select.type.d.cts +33 -9
  184. package/dist/components/select/select.type.d.ts +33 -9
  185. package/dist/components/skeleton/skeleton.type.d.cts +1 -1
  186. package/dist/components/skeleton/skeleton.type.d.ts +1 -1
  187. package/dist/components/slide-button/index.cjs +30 -0
  188. package/dist/components/slide-button/index.d.cts +44 -0
  189. package/dist/components/slide-button/index.d.ts +44 -0
  190. package/dist/components/slide-button/index.js +30 -0
  191. package/dist/components/slide-button/slide-button-fill.d.cts +29 -0
  192. package/dist/components/slide-button/slide-button-fill.d.ts +29 -0
  193. package/dist/components/slide-button/slide-button-icon.d.cts +10 -0
  194. package/dist/components/slide-button/slide-button-icon.d.ts +10 -0
  195. package/dist/components/slide-button/slide-button-label.d.cts +20 -0
  196. package/dist/components/slide-button/slide-button-label.d.ts +20 -0
  197. package/dist/components/slide-button/slide-button-thumb.d.cts +20 -0
  198. package/dist/components/slide-button/slide-button-thumb.d.ts +20 -0
  199. package/dist/components/slide-button/slide-button.animation.d.cts +33 -0
  200. package/dist/components/slide-button/slide-button.animation.d.ts +33 -0
  201. package/dist/components/slide-button/slide-button.context.d.cts +7 -0
  202. package/dist/components/slide-button/slide-button.context.d.ts +7 -0
  203. package/dist/components/slide-button/slide-button.d.cts +56 -0
  204. package/dist/components/slide-button/slide-button.d.ts +56 -0
  205. package/dist/components/slide-button/slide-button.recipe.d.cts +31 -0
  206. package/dist/components/slide-button/slide-button.recipe.d.ts +31 -0
  207. package/dist/components/slide-button/slide-button.type.d.cts +79 -0
  208. package/dist/components/slide-button/slide-button.type.d.ts +79 -0
  209. package/dist/components/slider/slider-thumb.d.cts +1 -1
  210. package/dist/components/slider/slider-thumb.d.ts +1 -1
  211. package/dist/components/slider/slider.recipe.d.cts +1 -1
  212. package/dist/components/slider/slider.recipe.d.ts +1 -1
  213. package/dist/components/spinner/spinner.d.cts +1 -1
  214. package/dist/components/spinner/spinner.d.ts +1 -1
  215. package/dist/components/switch/switch.style.d.cts +1 -1
  216. package/dist/components/switch/switch.style.d.ts +1 -1
  217. package/dist/components/table/index.cjs +3 -3
  218. package/dist/components/table/index.js +2 -2
  219. package/dist/components/text-area/index.cjs +4 -4
  220. package/dist/components/text-area/index.js +3 -3
  221. package/dist/components/text-area/text-area.d.cts +1 -1
  222. package/dist/components/text-area/text-area.d.ts +1 -1
  223. package/dist/components/text-field/index.cjs +3 -3
  224. package/dist/components/text-field/index.js +2 -2
  225. package/dist/components/text-field/text-field.type.d.cts +4 -4
  226. package/dist/components/text-field/text-field.type.d.ts +4 -4
  227. package/dist/components/time-picker/index.cjs +4 -4
  228. package/dist/components/time-picker/index.js +3 -3
  229. package/dist/components/toast/index.cjs +2 -2
  230. package/dist/components/toast/index.js +1 -1
  231. package/dist/components/toast/toast.animation.d.cts +2 -2
  232. package/dist/components/toast/toast.animation.d.ts +2 -2
  233. package/dist/components/toast/toast.utils.d.cts +1 -1
  234. package/dist/components/toast/toast.utils.d.ts +1 -1
  235. package/dist/components/typography/typography.type.d.cts +1 -1
  236. package/dist/components/typography/typography.type.d.ts +1 -1
  237. package/dist/hooks/use-rotation.d.cts +1 -1
  238. package/dist/hooks/use-rotation.d.ts +1 -1
  239. package/dist/index.cjs +66 -42
  240. package/dist/index.js +74 -50
  241. package/dist/system/anchored/indicator-spring.d.cts +2 -2
  242. package/dist/system/anchored/indicator-spring.d.ts +2 -2
  243. package/dist/theme/derive-colors.d.cts +1 -1
  244. package/dist/theme/derive-colors.d.ts +1 -1
  245. package/dist/theme/index.cjs +2 -2
  246. package/dist/theme/index.js +1 -1
  247. package/package.json +11 -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) => ({
@@ -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
@@ -1,8 +1,5 @@
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');
4
-
5
-
6
3
 
7
4
  var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
8
5
 
@@ -13,7 +10,10 @@ var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
13
10
  var _chunkYVYYONTPcjs = require('./chunk-YVYYONTP.cjs');
14
11
 
15
12
 
16
- var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
13
+ var _chunkBKY5YQ7Wcjs = require('./chunk-BKY5YQ7W.cjs');
14
+
15
+
16
+ var _chunkL4B6Z45Qcjs = require('./chunk-L4B6Z45Q.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 = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
135
135
  theme,
136
136
  selection,
137
137
  states: { disabled: isDisabled }
138
138
  });
139
- const pressed = _chunkJ5COSALOcjs.selectRecipe.resolve({
139
+ const pressed = _chunkL4B6Z45Qcjs.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 ? _chunkL4B6Z45Qcjs.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 }
@@ -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,
@@ -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
  import { EMPTY_RANGE, RangeCalendar } from "./chunk-IAWLQN2W.js";
2
- import { BottomSheet2 as BottomSheet } from "./chunk-EQUD3NHO.js";
3
- import { selectRecipe } from "./chunk-E4FWGZH2.js";
2
+ import { BottomSheet2 as BottomSheet } from "./chunk-LYWXGEED.js";
3
+ import { selectRecipe } from "./chunk-OUNTRW6E.js";
4
4
  import { INDICATOR_ROTATION, INDICATOR_SPRING } from "./chunk-64MXEVT3.js";
5
5
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
6
6
  import { PressableFeedback } from "./chunk-KQW25RCC.js";
@@ -201,10 +201,10 @@ DateRangePickerCalendar.displayName = "XAUI.DateRangePicker.Calendar";
201
201
  import { useEffect } from "react";
202
202
  import Animated, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
203
203
  import { jsx as jsx3 } from "react/jsx-runtime";
204
- const _worklet_6007084042529_init_data = {
205
- code: "function chunk4AIIAF6UJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
206
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4AIIAF6U.js",
207
- sourceMap: "{\"version\":3,\"names\":[\"chunk4AIIAF6UJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4AIIAF6U.js\"],\"mappings\":\"AA6PoC,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\":[]}"
204
+ const _worklet_13369666099501_init_data = {
205
+ code: "function chunk73EVNWZIJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
206
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-73EVNWZI.js",
207
+ sourceMap: "{\"version\":3,\"names\":[\"chunk73EVNWZIJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-73EVNWZI.js\"],\"mappings\":\"AA6PoC,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\":[]}"
208
208
  };
209
209
  function DateRangePickerIndicator(props) {
210
210
  const {
@@ -218,32 +218,32 @@ function DateRangePickerIndicator(props) {
218
218
  useEffect(() => {
219
219
  progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
220
220
  }, [isOpen, progress]);
221
- const rotation = useAnimatedStyle(function chunk4AIIAF6UJs1Factory({
222
- _worklet_6007084042529_init_data,
221
+ const rotation = useAnimatedStyle(function chunk73EVNWZIJs1Factory({
222
+ _worklet_13369666099501_init_data,
223
223
  interpolate,
224
224
  progress,
225
225
  INDICATOR_ROTATION
226
226
  }) {
227
227
  const _e = [new global.Error(), -4, -27];
228
- const chunk4AIIAF6UJs1 = function () {
228
+ const chunk73EVNWZIJs1 = function () {
229
229
  return {
230
230
  transform: [{
231
231
  rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
232
232
  }]
233
233
  };
234
234
  };
235
- chunk4AIIAF6UJs1.__closure = {
235
+ chunk73EVNWZIJs1.__closure = {
236
236
  interpolate,
237
237
  progress,
238
238
  INDICATOR_ROTATION
239
239
  };
240
- chunk4AIIAF6UJs1.__workletHash = 6007084042529;
241
- chunk4AIIAF6UJs1.__pluginVersion = "0.7.4";
242
- chunk4AIIAF6UJs1.__initData = _worklet_6007084042529_init_data;
243
- chunk4AIIAF6UJs1.__stackDetails = _e;
244
- return chunk4AIIAF6UJs1;
240
+ chunk73EVNWZIJs1.__workletHash = 13369666099501;
241
+ chunk73EVNWZIJs1.__pluginVersion = "0.7.4";
242
+ chunk73EVNWZIJs1.__initData = _worklet_13369666099501_init_data;
243
+ chunk73EVNWZIJs1.__stackDetails = _e;
244
+ return chunk73EVNWZIJs1;
245
245
  }({
246
- _worklet_6007084042529_init_data,
246
+ _worklet_13369666099501_init_data,
247
247
  interpolate,
248
248
  progress,
249
249
  INDICATOR_ROTATION
@@ -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
@@ -1,14 +1,14 @@
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
3
 
4
- var _chunkNADCILBLcjs = require('./chunk-NADCILBL.cjs');
4
+ var _chunkNRU5APUEcjs = require('./chunk-NRU5APUE.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkAXKDHX5Vcjs = require('./chunk-AXKDHX5V.cjs');
11
+ var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
12
12
 
13
13
 
14
14
  var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
@@ -27,13 +27,13 @@ var _jsxruntime = require('react/jsx-runtime');
27
27
  var MaskFieldField = _react.forwardRef.call(void 0,
28
28
  function MaskFieldField2({ placeholder, style, ...props }, ref) {
29
29
  const { text, onType, placeholder: shape, keyboard, length } = useMaskField();
30
- const group = _chunkNADCILBLcjs.useOptionalFieldGroup.call(void 0, );
30
+ const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
31
31
  const padding = _react.useMemo.call(void 0,
32
- () => _chunkNADCILBLcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
32
+ () => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
33
33
  [_optionalChain([group, 'optionalAccess', _3 => _3.prefixWidth]), _optionalChain([group, 'optionalAccess', _4 => _4.suffixWidth])]
34
34
  );
35
35
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36
- _chunkAXKDHX5Vcjs.TextFieldField,
36
+ _chunk2IOL3VDPcjs.TextFieldField,
37
37
  {
38
38
  ref,
39
39
  keyboardType: keyboard,
@@ -327,16 +327,16 @@ var MaskFieldRoot = _react.forwardRef.call(void 0, function MaskField({
327
327
  }),
328
328
  [text, onType, mask]
329
329
  );
330
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextFieldRoot, { ref, ...props, children }) });
330
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, ...props, children }) });
331
331
  });
332
332
  MaskFieldRoot.displayName = "XAUI.MaskField.Root";
333
333
 
334
334
  // src/components/mask-field/index.ts
335
335
  var MaskField2 = Object.assign(MaskFieldRoot, {
336
- Label: _chunkAXKDHX5Vcjs.TextFieldLabel,
336
+ Label: _chunk2IOL3VDPcjs.TextFieldLabel,
337
337
  Field: MaskFieldField,
338
- Description: _chunkAXKDHX5Vcjs.TextFieldDescription,
339
- Error: _chunkAXKDHX5Vcjs.TextFieldError
338
+ Description: _chunk2IOL3VDPcjs.TextFieldDescription,
339
+ Error: _chunk2IOL3VDPcjs.TextFieldError
340
340
  });
341
341
 
342
342
 
@@ -136,7 +136,7 @@ var menuRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
136
136
  // `flex: 1` is `flexBasis: 0`, and the panel is measured before it has a width: with
137
137
  // a basis of zero and no definite width to grow into, the row's content size is
138
138
  // nothing and the title collapses. The whole menu measured as a 70-point capsule
139
- // with no text in it. HeroUI writes `flex: 1` here and gets away with it because
139
+ // with no text in it. The reference implementation writes `flex: 1` here and gets away with it because
140
140
  // their measuring pass hands the panel a definite width; ours asks the panel how
141
141
  // wide it wants to be, which is a question a zero basis cannot answer.
142
142
  flexGrow: 1,
@@ -1,6 +1,3 @@
1
- import {
2
- textFieldRecipe
3
- } from "./chunk-43S673KF.js";
4
1
  import {
5
2
  Calendar,
6
3
  SIZES
@@ -11,9 +8,12 @@ import {
11
8
  import {
12
9
  useAnchoredPosition
13
10
  } from "./chunk-Z6FRP4EV.js";
11
+ import {
12
+ textFieldRecipe
13
+ } from "./chunk-NTVPLDJC.js";
14
14
  import {
15
15
  selectRecipe
16
- } from "./chunk-E4FWGZH2.js";
16
+ } from "./chunk-OUNTRW6E.js";
17
17
  import {
18
18
  Portal
19
19
  } from "./chunk-2PMXMKS5.js";
@@ -185,7 +185,7 @@ var checkboxRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
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) => ({
@@ -106,7 +106,7 @@ var popoverRecipe = createRecipe({
106
106
  content: {
107
107
  position: "absolute",
108
108
  backgroundColor: theme.colors.overlay,
109
- // HeroUI's twelve by sixteen: a panel is read, not scanned, so it is wider-padded
109
+ // The reference implementation's twelve by sixteen: a panel is read, not scanned, so it is wider-padded
110
110
  // than it is tall-padded.
111
111
  paddingVertical: theme.spacing(3),
112
112
  paddingHorizontal: theme.spacing(4),
@@ -196,7 +196,7 @@ var textFieldRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
196
196
  borderWidth: theme.borderWidth.field,
197
197
  // The theme has a radius named for this component, so every size uses it and the
198
198
  // `radius` axis is what overrides it — the same shape a `Chip` takes from `full`.
199
- // It is HeroUI's twelve points since the scale was aligned on theirs; it was 21,
199
+ // It is the reference implementation's twelve points since the scale was aligned on theirs; it was 21,
200
200
  // which put a 48-tall field at 87% of its geometric maximum.
201
201
  borderRadius: theme.radius.field,
202
202
  borderCurve: "continuous",
@@ -279,7 +279,7 @@ var dialogRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
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",