@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
@@ -136,7 +136,7 @@ var menuRecipe = createRecipe({
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,
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkAXKDHX5Vcjs = require('./chunk-AXKDHX5V.cjs');
8
+ var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
9
9
 
10
10
 
11
11
  var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
@@ -23,7 +23,7 @@ var [TextAreaProvider, useTextArea] = _chunkCDRGTUYFcjs.createSlotContext.call(v
23
23
  var _jsxruntime = require('react/jsx-runtime');
24
24
  var TextAreaField = _react.forwardRef.call(void 0,
25
25
  function TextAreaField2({ style, scrollEnabled, ...props }, ref) {
26
- const { textAreaStyle, textArea } = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
26
+ const { textAreaStyle, textArea } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
27
27
  const { rows, maxRows } = useTextArea();
28
28
  const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
29
29
  const height = _react.useMemo.call(void 0, () => {
@@ -37,7 +37,7 @@ var TextAreaField = _react.forwardRef.call(void 0,
37
37
  };
38
38
  }, [rows, maxRows, textArea]);
39
39
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunkAXKDHX5Vcjs.TextFieldField,
40
+ _chunk2IOL3VDPcjs.TextFieldField,
41
41
  {
42
42
  ref,
43
43
  multiline: true,
@@ -56,16 +56,16 @@ TextAreaField.displayName = "XAUI.TextArea.Field";
56
56
  var DEFAULT_ROWS = 3;
57
57
  var TextAreaRoot = _react.forwardRef.call(void 0, function TextArea({ rows = DEFAULT_ROWS, maxRows, children, ...props }, ref) {
58
58
  const context = _react.useMemo.call(void 0, () => ({ rows, maxRows }), [rows, maxRows]);
59
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextFieldRoot, { ref, ...props, children }) });
59
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, ...props, children }) });
60
60
  });
61
61
  TextAreaRoot.displayName = "XAUI.TextArea.Root";
62
62
 
63
63
  // src/components/text-area/index.ts
64
64
  var TextArea2 = Object.assign(TextAreaRoot, {
65
- Label: _chunkAXKDHX5Vcjs.TextFieldLabel,
65
+ Label: _chunk2IOL3VDPcjs.TextFieldLabel,
66
66
  Field: TextAreaField,
67
- Description: _chunkAXKDHX5Vcjs.TextFieldDescription,
68
- Error: _chunkAXKDHX5Vcjs.TextFieldError
67
+ Description: _chunk2IOL3VDPcjs.TextFieldDescription,
68
+ Error: _chunk2IOL3VDPcjs.TextFieldError
69
69
  });
70
70
 
71
71
 
@@ -89,10 +89,10 @@ var AccordionContent = _react.forwardRef.call(void 0, function AccordionContent2
89
89
  AccordionContent.displayName = "XAUI.Accordion.Content";
90
90
 
91
91
  // src/components/accordion/accordion-indicator.tsx
92
- const _worklet_16147878578758_init_data = {
93
- code: "function chunkGN7BWYXPCjs1(){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\"}]};}",
94
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GN7BWYXP.cjs",
95
- sourceMap: "{\"version\":3,\"names\":[\"chunkGN7BWYXPCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GN7BWYXP.cjs\"],\"mappings\":\"AA8FwE,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\":[]}"
92
+ const _worklet_15415080829785_init_data = {
93
+ code: "function chunkUSQK6SFZCjs1(){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\"}]};}",
94
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-USQK6SFZ.cjs",
95
+ sourceMap: "{\"version\":3,\"names\":[\"chunkUSQK6SFZCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-USQK6SFZ.cjs\"],\"mappings\":\"AA8FwE,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\":[]}"
96
96
  };
97
97
  function AccordionIndicator({
98
98
  as = _chunkGSZDN6EZcjs.ChevronDownIcon,
@@ -108,32 +108,32 @@ function AccordionIndicator({
108
108
  _react.useEffect.call(void 0, () => {
109
109
  progress.set(_reactnativereanimated.withSpring.call(void 0, isExpanded ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
110
110
  }, [isExpanded, progress]);
111
- const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkGN7BWYXPCjs1Factory({
112
- _worklet_16147878578758_init_data,
111
+ const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkUSQK6SFZCjs1Factory({
112
+ _worklet_15415080829785_init_data,
113
113
  _reactnativereanimated,
114
114
  progress,
115
115
  _chunkEKS3W46Mcjs
116
116
  }) {
117
117
  const _e = [new global.Error(), -4, -27];
118
- const chunkGN7BWYXPCjs1 = function () {
118
+ const chunkUSQK6SFZCjs1 = function () {
119
119
  return {
120
120
  transform: [{
121
121
  rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
122
122
  }]
123
123
  };
124
124
  };
125
- chunkGN7BWYXPCjs1.__closure = {
125
+ chunkUSQK6SFZCjs1.__closure = {
126
126
  _reactnativereanimated,
127
127
  progress,
128
128
  _chunkEKS3W46Mcjs
129
129
  };
130
- chunkGN7BWYXPCjs1.__workletHash = 16147878578758;
131
- chunkGN7BWYXPCjs1.__pluginVersion = "0.7.4";
132
- chunkGN7BWYXPCjs1.__initData = _worklet_16147878578758_init_data;
133
- chunkGN7BWYXPCjs1.__stackDetails = _e;
134
- return chunkGN7BWYXPCjs1;
130
+ chunkUSQK6SFZCjs1.__workletHash = 15415080829785;
131
+ chunkUSQK6SFZCjs1.__pluginVersion = "0.7.4";
132
+ chunkUSQK6SFZCjs1.__initData = _worklet_15415080829785_init_data;
133
+ chunkUSQK6SFZCjs1.__stackDetails = _e;
134
+ return chunkUSQK6SFZCjs1;
135
135
  }({
136
- _worklet_16147878578758_init_data,
136
+ _worklet_15415080829785_init_data,
137
137
  _reactnativereanimated,
138
138
  progress,
139
139
  _chunkEKS3W46Mcjs
@@ -443,7 +443,7 @@ var accordionRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
443
443
  * edge to be inset from, so its rows run the full width and the hairline runs with them
444
444
  * — which is the difference between a list on a page and a list in a box.
445
445
  *
446
- * `primary` is the only one lifted. It is the one that reads as a card, and HeroUI puts
446
+ * `primary` is the only one lifted. It is the one that reads as a card, and the reference implementation puts
447
447
  * their `--shadow-surface` on exactly that variant. `secondary` and `tertiary` have too
448
448
  * little fill to lift — a shadow under either would read as dirt rather than as height
449
449
  * — and in dark mode the theme's surface shadow is already nothing (§4), which is why
@@ -295,14 +295,30 @@ import { StyleSheet as StyleSheet2, View as View5 } from "react-native";
295
295
  // src/components/agenda-calendar/agenda-calendar.recipe.ts
296
296
  var SLOTS = ["root", "header", "nav", "navButton", "today", "todayDisabled", "todayLabel", "week", "picker", "pickerItem"];
297
297
  var VARIANT_TOKENS = {
298
- // One entry, and it is still a table: `resolveTint` only maps roles a variant declared,
299
- // and without one the `color` a caller writes would never reach the pill's word. `fg` is
300
- // `accent` — the word reads as the accent by default and takes the tint when there is
301
- // one; `foreground` here left it plain, and left it `undefined` (RN's black) in dark
302
- // wherever the token failed to resolve.
303
- default: {
304
- bg: "default",
298
+ // The four the `Calendar` declares, answered on the pill rather than on a disc. The
299
+ // variant is a level of emphasis, and the two controls it reaches are the chosen day and
300
+ // this button — a strip whose chosen day is a soft wash under a pill that kept a hard
301
+ // accent border is two variants on one card.
302
+ //
303
+ // The emphasis runs the other way round from a `Button`'s, and on purpose: `primary`
304
+ // outlines rather than fills. The pill sits between two bare chevrons, so the filled
305
+ // accent that makes a `Button` primary would read here as the primary action of the whole
306
+ // card — the accent goes on the word instead, which is where the strip's own accent is.
307
+ primary: {
308
+ border: "border",
305
309
  fg: "accent"
310
+ },
311
+ secondary: {
312
+ bg: "accentSoft",
313
+ fg: "accentSoftForeground"
314
+ },
315
+ tertiary: {
316
+ bg: "default",
317
+ fg: "defaultForeground"
318
+ },
319
+ // No fill and no border: the word alone, as `ghost` means everywhere else.
320
+ ghost: {
321
+ fg: "foreground"
306
322
  }
307
323
  };
308
324
  var SIZES = {
@@ -381,18 +397,14 @@ var agendaCalendarRecipe = createRecipe({
381
397
  alignItems: "center",
382
398
  justifyContent: "center"
383
399
  },
384
- // A bordered pill rather than a filled one: it sits between two bare chevrons, and a
385
- // filled button there would read as the primary action of the whole card.
400
+ // The box only. Whether it is outlined, washed or bare is the variant's, below.
386
401
  today: {
387
402
  alignItems: "center",
388
- justifyContent: "center",
389
- borderWidth: theme.borderWidth.default,
390
- borderColor: theme.colors.border
403
+ justifyContent: "center"
391
404
  },
392
405
  todayLabel: {
393
406
  fontFamily: theme.fontFamilies.body,
394
- fontWeight: theme.fontWeights.medium,
395
- color: theme.colors.accent
407
+ fontWeight: theme.fontWeights.medium
396
408
  },
397
409
  week: {
398
410
  flexDirection: "row"
@@ -416,14 +428,20 @@ var agendaCalendarRecipe = createRecipe({
416
428
  }
417
429
  }),
418
430
  variantTokens: VARIANT_TOKENS,
419
- // The word is the one thing here a variant colours: the accent by default, the tint when
420
- // a `color` is set. Guarded because a resolve pass with no variant token leaves `fg`
421
- // unset, and spreading `{ color: undefined }` over the base would drop it to RN's black.
422
- paint: (_theme, colors) => colors.fg ? {
431
+ // The `Button`'s own paint, one slot down: the border's *width* follows the presence of
432
+ // the border role rather than a per-variant flag, because which variant outlines is
433
+ // already stated in the table above. `undefined` where a variant names no `bg` is the
434
+ // transparent the outlined and the bare pill both want.
435
+ paint: (theme, colors) => ({
436
+ today: {
437
+ backgroundColor: colors.bg,
438
+ borderColor: colors.border,
439
+ borderWidth: colors.border ? theme.borderWidth.default : 0
440
+ },
423
441
  todayLabel: {
424
442
  color: colors.fg
425
443
  }
426
- } : {},
444
+ }),
427
445
  variants: {
428
446
  size: {
429
447
  sm: sizeAxis(SIZES.sm),
@@ -440,11 +458,12 @@ var agendaCalendarRecipe = createRecipe({
440
458
  }
441
459
  })
442
460
  },
443
- // `variant: 'default'` so both passes resolve the one token — without it `resolve` runs
444
- // `paint` with no colours and `tint` bails before the word, so a `color` prop never
445
- // reached the pill and dark mode fell through to black.
461
+ // The `Calendar`'s default, because the two resolve from the same `variant` prop and a
462
+ // card whose strip defaulted to one and whose pill to another is not one component.
463
+ // Naming it is also what makes `paint` and `tint` run at all — without a variant both are
464
+ // handed no colours, and the pill loses its word to RN's black.
446
465
  defaultVariants: {
447
- variant: "default",
466
+ variant: "primary",
448
467
  size: "md"
449
468
  }
450
469
  });
@@ -499,14 +518,14 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
499
518
  });
500
519
  const resolvedLocale = locale ?? deviceLocale();
501
520
  const weekStart = firstDayOfWeek ?? firstDayOfWeekFor(resolvedLocale);
502
- const cellSelection = {
521
+ const selection = {
503
522
  variant,
504
523
  size,
505
524
  radius
506
525
  };
507
526
  const cells = calendarRecipe.resolve({
508
527
  theme,
509
- selection: cellSelection,
528
+ selection,
510
529
  states: {
511
530
  disabled: isDisabled
512
531
  }
@@ -514,12 +533,8 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
514
533
  const cellTint = color ? calendarRecipe.tint({
515
534
  theme,
516
535
  color,
517
- selection: cellSelection
536
+ selection
518
537
  }) : void 0;
519
- const selection = {
520
- size,
521
- radius
522
- };
523
538
  const styles = agendaCalendarRecipe.resolve({
524
539
  theme,
525
540
  selection,
@@ -617,7 +632,7 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
617
632
  },
618
633
  pickerItemLabelStyle: cells.dayLabel,
619
634
  pickerItemLabelSelectedStyle: cellTint ? [cells.dayLabelSelected, cellTint.dayLabelSelected] : cells.dayLabelSelected,
620
- todayStyle: styles.today,
635
+ todayStyle: tint ? [styles.today, tint.today] : styles.today,
621
636
  todayDisabledStyle: styles.todayDisabled,
622
637
  todayLabelStyle: tint ? [styles.todayLabel, tint.todayLabel] : styles.todayLabel,
623
638
  weekStyle: styles.week,
@@ -784,25 +799,25 @@ var SPRING = {
784
799
  stiffness: 220,
785
800
  mass: 0.6
786
801
  };
787
- const _worklet_13052441430280_init_data = {
788
- code: "function chunkQT7KLGO3Js1(){const{drag,withSpring,SPRING}=this.__closure;drag.set(withSpring(0,SPRING));}",
789
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js",
790
- sourceMap: "{\"version\":3,\"names\":[\"chunkQT7KLGO3Js1\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js\"],\"mappings\":\"AAm0BkB,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClBH,IAAI,CAACI,GAAG,CAACH,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
802
+ const _worklet_6865118524057_init_data = {
803
+ code: "function chunkV5FYHQKQJs1(){const{drag,withSpring,SPRING}=this.__closure;drag.set(withSpring(0,SPRING));}",
804
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
805
+ sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs1\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA40BkB,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClBH,IAAI,CAACI,GAAG,CAACH,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
791
806
  };
792
- const _worklet_9601613799555_init_data = {
793
- code: "function chunkQT7KLGO3Js2(event){const{SWIPE_DISTANCE,SWIPE_VELOCITY,runOnJS,page,drag,withSpring,SPRING}=this.__closure;const forward=event.translationX<=-SWIPE_DISTANCE||event.velocityX<=-SWIPE_VELOCITY;const backward=event.translationX>=SWIPE_DISTANCE||event.velocityX>=SWIPE_VELOCITY;if(forward)runOnJS(page)(1);else if(backward)runOnJS(page)(-1);drag.set(withSpring(0,SPRING));}",
794
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js",
795
- sourceMap: "{\"version\":3,\"names\":[\"chunkQT7KLGO3Js2\",\"event\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"runOnJS\",\"page\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"forward\",\"translationX\",\"velocityX\",\"backward\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js\"],\"mappings\":\"AA6zBc,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,cAAA,CAAAC,cAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClB,KAAM,CAAAC,OAAO,CAAGT,KAAK,CAACU,YAAY,EAAI,CAACT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAI,CAACT,cAAc,CAC3F,KAAM,CAAAU,QAAQ,CAAGZ,KAAK,CAACU,YAAY,EAAIT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAIT,cAAc,CAC1F,GAAIO,OAAO,CAAEN,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IACzB,IAAIQ,QAAQ,CAAET,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACpCC,IAAI,CAACQ,GAAG,CAACP,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
807
+ const _worklet_7938979035346_init_data = {
808
+ code: "function chunkV5FYHQKQJs2(event){const{SWIPE_DISTANCE,SWIPE_VELOCITY,runOnJS,page,drag,withSpring,SPRING}=this.__closure;const forward=event.translationX<=-SWIPE_DISTANCE||event.velocityX<=-SWIPE_VELOCITY;const backward=event.translationX>=SWIPE_DISTANCE||event.velocityX>=SWIPE_VELOCITY;if(forward)runOnJS(page)(1);else if(backward)runOnJS(page)(-1);drag.set(withSpring(0,SPRING));}",
809
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
810
+ sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs2\",\"event\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"runOnJS\",\"page\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"forward\",\"translationX\",\"velocityX\",\"backward\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAs0Bc,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,cAAA,CAAAC,cAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClB,KAAM,CAAAC,OAAO,CAAGT,KAAK,CAACU,YAAY,EAAI,CAACT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAI,CAACT,cAAc,CAC3F,KAAM,CAAAU,QAAQ,CAAGZ,KAAK,CAACU,YAAY,EAAIT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAIT,cAAc,CAC1F,GAAIO,OAAO,CAAEN,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IACzB,IAAIQ,QAAQ,CAAET,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACpCC,IAAI,CAACQ,GAAG,CAACP,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
796
811
  };
797
- const _worklet_14984051248172_init_data = {
798
- code: "function chunkQT7KLGO3Js3(event){const{drag,DRAG_FOLLOW}=this.__closure;drag.set(event.translationX*DRAG_FOLLOW);}",
799
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js",
800
- sourceMap: "{\"version\":3,\"names\":[\"chunkQT7KLGO3Js3\",\"event\",\"drag\",\"DRAG_FOLLOW\",\"__closure\",\"set\",\"translationX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js\"],\"mappings\":\"AA2zB0H,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,WAAA,OAAAC,SAAA,CAC9HF,IAAI,CAACG,GAAG,CAACJ,KAAK,CAACK,YAAY,CAAGH,WAAW,CAAC,CAC5C\",\"ignoreList\":[]}"
812
+ const _worklet_9375623676669_init_data = {
813
+ code: "function chunkV5FYHQKQJs3(event){const{drag,DRAG_FOLLOW}=this.__closure;drag.set(event.translationX*DRAG_FOLLOW);}",
814
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
815
+ sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs3\",\"event\",\"drag\",\"DRAG_FOLLOW\",\"__closure\",\"set\",\"translationX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAo0B0H,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,WAAA,OAAAC,SAAA,CAC9HF,IAAI,CAACG,GAAG,CAACJ,KAAK,CAACK,YAAY,CAAGH,WAAW,CAAC,CAC5C\",\"ignoreList\":[]}"
801
816
  };
802
- const _worklet_8764909966490_init_data = {
803
- code: "function chunkQT7KLGO3Js4(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
804
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js",
805
- sourceMap: "{\"version\":3,\"names\":[\"chunkQT7KLGO3Js4\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-QT7KLGO3.js\"],\"mappings\":\"AAs0BmC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
817
+ const _worklet_5818255412875_init_data = {
818
+ code: "function chunkV5FYHQKQJs4(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
819
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
820
+ sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs4\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA+0BmC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
806
821
  };
807
822
  var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
808
823
  children,
@@ -822,30 +837,30 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
822
837
  const page = useCallback3(direction => {
823
838
  if (canGoByWeeks(direction)) goByWeeks(direction);
824
839
  }, [canGoByWeeks, goByWeeks]);
825
- const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function chunkQT7KLGO3Js3Factory({
826
- _worklet_14984051248172_init_data,
840
+ const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function chunkV5FYHQKQJs3Factory({
841
+ _worklet_9375623676669_init_data,
827
842
  drag,
828
843
  DRAG_FOLLOW
829
844
  }) {
830
845
  const _e = [new global.Error(), -3, -27];
831
- const chunkQT7KLGO3Js3 = function (event) {
846
+ const chunkV5FYHQKQJs3 = function (event) {
832
847
  drag.set(event.translationX * DRAG_FOLLOW);
833
848
  };
834
- chunkQT7KLGO3Js3.__closure = {
849
+ chunkV5FYHQKQJs3.__closure = {
835
850
  drag,
836
851
  DRAG_FOLLOW
837
852
  };
838
- chunkQT7KLGO3Js3.__workletHash = 14984051248172;
839
- chunkQT7KLGO3Js3.__pluginVersion = "0.7.4";
840
- chunkQT7KLGO3Js3.__initData = _worklet_14984051248172_init_data;
841
- chunkQT7KLGO3Js3.__stackDetails = _e;
842
- return chunkQT7KLGO3Js3;
853
+ chunkV5FYHQKQJs3.__workletHash = 9375623676669;
854
+ chunkV5FYHQKQJs3.__pluginVersion = "0.7.4";
855
+ chunkV5FYHQKQJs3.__initData = _worklet_9375623676669_init_data;
856
+ chunkV5FYHQKQJs3.__stackDetails = _e;
857
+ return chunkV5FYHQKQJs3;
843
858
  }({
844
- _worklet_14984051248172_init_data,
859
+ _worklet_9375623676669_init_data,
845
860
  drag,
846
861
  DRAG_FOLLOW
847
- })).onEnd(function chunkQT7KLGO3Js2Factory({
848
- _worklet_9601613799555_init_data,
862
+ })).onEnd(function chunkV5FYHQKQJs2Factory({
863
+ _worklet_7938979035346_init_data,
849
864
  SWIPE_DISTANCE,
850
865
  SWIPE_VELOCITY,
851
866
  runOnJS,
@@ -855,13 +870,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
855
870
  SPRING
856
871
  }) {
857
872
  const _e = [new global.Error(), -8, -27];
858
- const chunkQT7KLGO3Js2 = function (event) {
873
+ const chunkV5FYHQKQJs2 = function (event) {
859
874
  const forward = event.translationX <= -SWIPE_DISTANCE || event.velocityX <= -SWIPE_VELOCITY;
860
875
  const backward = event.translationX >= SWIPE_DISTANCE || event.velocityX >= SWIPE_VELOCITY;
861
876
  if (forward) runOnJS(page)(1);else if (backward) runOnJS(page)(-1);
862
877
  drag.set(withSpring(0, SPRING));
863
878
  };
864
- chunkQT7KLGO3Js2.__closure = {
879
+ chunkV5FYHQKQJs2.__closure = {
865
880
  SWIPE_DISTANCE,
866
881
  SWIPE_VELOCITY,
867
882
  runOnJS,
@@ -870,13 +885,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
870
885
  withSpring,
871
886
  SPRING
872
887
  };
873
- chunkQT7KLGO3Js2.__workletHash = 9601613799555;
874
- chunkQT7KLGO3Js2.__pluginVersion = "0.7.4";
875
- chunkQT7KLGO3Js2.__initData = _worklet_9601613799555_init_data;
876
- chunkQT7KLGO3Js2.__stackDetails = _e;
877
- return chunkQT7KLGO3Js2;
888
+ chunkV5FYHQKQJs2.__workletHash = 7938979035346;
889
+ chunkV5FYHQKQJs2.__pluginVersion = "0.7.4";
890
+ chunkV5FYHQKQJs2.__initData = _worklet_7938979035346_init_data;
891
+ chunkV5FYHQKQJs2.__stackDetails = _e;
892
+ return chunkV5FYHQKQJs2;
878
893
  }({
879
- _worklet_9601613799555_init_data,
894
+ _worklet_7938979035346_init_data,
880
895
  SWIPE_DISTANCE,
881
896
  SWIPE_VELOCITY,
882
897
  runOnJS,
@@ -884,54 +899,54 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
884
899
  drag,
885
900
  withSpring,
886
901
  SPRING
887
- })).onFinalize(function chunkQT7KLGO3Js1Factory({
888
- _worklet_13052441430280_init_data,
902
+ })).onFinalize(function chunkV5FYHQKQJs1Factory({
903
+ _worklet_6865118524057_init_data,
889
904
  drag,
890
905
  withSpring,
891
906
  SPRING
892
907
  }) {
893
908
  const _e = [new global.Error(), -4, -27];
894
- const chunkQT7KLGO3Js1 = function () {
909
+ const chunkV5FYHQKQJs1 = function () {
895
910
  drag.set(withSpring(0, SPRING));
896
911
  };
897
- chunkQT7KLGO3Js1.__closure = {
912
+ chunkV5FYHQKQJs1.__closure = {
898
913
  drag,
899
914
  withSpring,
900
915
  SPRING
901
916
  };
902
- chunkQT7KLGO3Js1.__workletHash = 13052441430280;
903
- chunkQT7KLGO3Js1.__pluginVersion = "0.7.4";
904
- chunkQT7KLGO3Js1.__initData = _worklet_13052441430280_init_data;
905
- chunkQT7KLGO3Js1.__stackDetails = _e;
906
- return chunkQT7KLGO3Js1;
917
+ chunkV5FYHQKQJs1.__workletHash = 6865118524057;
918
+ chunkV5FYHQKQJs1.__pluginVersion = "0.7.4";
919
+ chunkV5FYHQKQJs1.__initData = _worklet_6865118524057_init_data;
920
+ chunkV5FYHQKQJs1.__stackDetails = _e;
921
+ return chunkV5FYHQKQJs1;
907
922
  }({
908
- _worklet_13052441430280_init_data,
923
+ _worklet_6865118524057_init_data,
909
924
  drag,
910
925
  withSpring,
911
926
  SPRING
912
927
  }));
913
- const slide = useAnimatedStyle(function chunkQT7KLGO3Js4Factory({
914
- _worklet_8764909966490_init_data,
928
+ const slide = useAnimatedStyle(function chunkV5FYHQKQJs4Factory({
929
+ _worklet_5818255412875_init_data,
915
930
  drag
916
931
  }) {
917
932
  const _e = [new global.Error(), -2, -27];
918
- const chunkQT7KLGO3Js4 = function () {
933
+ const chunkV5FYHQKQJs4 = function () {
919
934
  return {
920
935
  transform: [{
921
936
  translateX: drag.get()
922
937
  }]
923
938
  };
924
939
  };
925
- chunkQT7KLGO3Js4.__closure = {
940
+ chunkV5FYHQKQJs4.__closure = {
926
941
  drag
927
942
  };
928
- chunkQT7KLGO3Js4.__workletHash = 8764909966490;
929
- chunkQT7KLGO3Js4.__pluginVersion = "0.7.4";
930
- chunkQT7KLGO3Js4.__initData = _worklet_8764909966490_init_data;
931
- chunkQT7KLGO3Js4.__stackDetails = _e;
932
- return chunkQT7KLGO3Js4;
943
+ chunkV5FYHQKQJs4.__workletHash = 5818255412875;
944
+ chunkV5FYHQKQJs4.__pluginVersion = "0.7.4";
945
+ chunkV5FYHQKQJs4.__initData = _worklet_5818255412875_init_data;
946
+ chunkV5FYHQKQJs4.__stackDetails = _e;
947
+ return chunkV5FYHQKQJs4;
933
948
  }({
934
- _worklet_8764909966490_init_data,
949
+ _worklet_5818255412875_init_data,
935
950
  drag
936
951
  }), [drag]);
937
952
  const cells = days.map(date => /* @__PURE__ */jsx9(View7, {
@@ -1,9 +1,9 @@
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 _chunkX6GT4H4Icjs = require('./chunk-X6GT4H4I.cjs');
3
+ var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
4
4
 
5
5
 
6
- var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
6
+ var _chunkL4B6Z45Qcjs = require('./chunk-L4B6Z45Q.cjs');
7
7
 
8
8
 
9
9
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
@@ -674,17 +674,17 @@ function TimePicker({
674
674
  isOpen: isOpen ? "true" : void 0,
675
675
  isInvalid: isInvalid ? "true" : void 0
676
676
  };
677
- const field = _chunkJ5COSALOcjs.selectRecipe.resolve({
677
+ const field = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
678
678
  theme,
679
679
  selection,
680
680
  states: { disabled: isDisabled }
681
681
  });
682
- const fieldPressed = _chunkJ5COSALOcjs.selectRecipe.resolve({
682
+ const fieldPressed = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
683
683
  theme,
684
684
  selection,
685
685
  states: { pressed: true }
686
686
  });
687
- const fieldTint = color ? _chunkJ5COSALOcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
687
+ const fieldTint = color ? _chunkL4B6Z45Qcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
688
688
  const dialStyles = timePickerRecipe.resolve({
689
689
  theme,
690
690
  selection: { size },
@@ -861,10 +861,10 @@ TimePicker.displayName = "XAUI.TimePicker.Root";
861
861
 
862
862
  function TimePickerSheet({ children, ...props }) {
863
863
  const picker = useTimePicker();
864
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
865
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Overlay, {}),
866
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
867
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Handle, {}),
864
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
865
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}),
866
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
867
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}),
868
868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerDisplay, { style: { alignSelf: "center" } }),
869
869
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerClock, { style: { alignSelf: "center" } })
870
870
  ] }))) }) })
@@ -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: Platform.OS === "ios" ? "Menlo" : "monospace"
120
120
  };
121
121
  var borderWidth = { default: 1, field: 1 };
@@ -249,19 +249,19 @@ var chipRecipe = createRecipe({
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
  },
@@ -10,7 +10,7 @@ import {
10
10
  FieldGroupSuffix,
11
11
  decoratorPadding,
12
12
  useOptionalFieldGroup
13
- } from "./chunk-3CPLJJWX.js";
13
+ } from "./chunk-MZUYTCCB.js";
14
14
  import {
15
15
  TextFieldDescription,
16
16
  TextFieldError,
@@ -18,7 +18,7 @@ import {
18
18
  TextFieldLabel,
19
19
  TextFieldRoot,
20
20
  useTextField
21
- } from "./chunk-5YZUYSV7.js";
21
+ } from "./chunk-JYV53WUN.js";
22
22
  import {
23
23
  createRecipe
24
24
  } from "./chunk-DKVXTMIJ.js";