@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,5 +1,5 @@
1
- import { BottomSheet2 as BottomSheet } from "./chunk-EQUD3NHO.js";
2
- import { selectRecipe } from "./chunk-E4FWGZH2.js";
1
+ import { BottomSheet2 as BottomSheet } from "./chunk-LYWXGEED.js";
2
+ import { selectRecipe } from "./chunk-OUNTRW6E.js";
3
3
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
4
4
  import { PressableFeedback } from "./chunk-KQW25RCC.js";
5
5
  import { usePressState } from "./chunk-423RQBOX.js";
@@ -335,20 +335,20 @@ import { jsx, jsxs } from "react/jsx-runtime";
335
335
  var HOURS_ON_A_FACE = 12;
336
336
  var MINUTES_IN_AN_HOUR = 60;
337
337
  var LABELLED_MINUTE = 5;
338
- const _worklet_17152849688215_init_data = {
339
- code: "function chunkOX23MW5EJs1(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,true);}",
340
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js",
341
- sourceMap: "{\"version\":3,\"names\":[\"chunkOX23MW5EJs1\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js\"],\"mappings\":\"AA0akM,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,IAAI\",\"ignoreList\":[]}"
338
+ const _worklet_14267644964491_init_data = {
339
+ code: "function chunkFSVZXWLZJs1(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,true);}",
340
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js",
341
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFSVZXWLZJs1\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js\"],\"mappings\":\"AA0akM,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,IAAI\",\"ignoreList\":[]}"
342
342
  };
343
- const _worklet_9091874844927_init_data = {
344
- code: "function chunkOX23MW5EJs2(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
345
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js",
346
- sourceMap: "{\"version\":3,\"names\":[\"chunkOX23MW5EJs2\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js\"],\"mappings\":\"AA0asI,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
343
+ const _worklet_4559809561763_init_data = {
344
+ code: "function chunkFSVZXWLZJs2(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
345
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js",
346
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFSVZXWLZJs2\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js\"],\"mappings\":\"AA0asI,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
347
347
  };
348
- const _worklet_6140713992510_init_data = {
349
- code: "function chunkOX23MW5EJs3(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
350
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js",
351
- sourceMap: "{\"version\":3,\"names\":[\"chunkOX23MW5EJs3\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-OX23MW5E.js\"],\"mappings\":\"AA0auE,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
348
+ const _worklet_1694514975714_init_data = {
349
+ code: "function chunkFSVZXWLZJs3(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
350
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js",
351
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFSVZXWLZJs3\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FSVZXWLZ.js\"],\"mappings\":\"AA0auE,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
352
352
  };
353
353
  var TimePickerClock = forwardRef(function TimePickerClock2({
354
354
  children,
@@ -476,64 +476,64 @@ var TimePickerClock = forwardRef(function TimePickerClock2({
476
476
  const onInner = distanceFrom(now.center, point) < now.radius * (now.ring + now.innerRing) * 0.5;
477
477
  if (onInner) setHour(raw === 0 ? 0 : raw + HOURS_ON_A_FACE);else setHour(raw === 0 ? HOURS_ON_A_FACE : raw);
478
478
  }, []);
479
- const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function chunkOX23MW5EJs3Factory({
480
- _worklet_6140713992510_init_data,
479
+ const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function chunkFSVZXWLZJs3Factory({
480
+ _worklet_1694514975714_init_data,
481
481
  runOnJS,
482
482
  valueAt
483
483
  }) {
484
484
  const _e = [new global.Error(), -3, -27];
485
- const chunkOX23MW5EJs3 = event => runOnJS(valueAt)(event.x, event.y, false);
486
- chunkOX23MW5EJs3.__closure = {
485
+ const chunkFSVZXWLZJs3 = event => runOnJS(valueAt)(event.x, event.y, false);
486
+ chunkFSVZXWLZJs3.__closure = {
487
487
  runOnJS,
488
488
  valueAt
489
489
  };
490
- chunkOX23MW5EJs3.__workletHash = 6140713992510;
491
- chunkOX23MW5EJs3.__pluginVersion = "0.7.4";
492
- chunkOX23MW5EJs3.__initData = _worklet_6140713992510_init_data;
493
- chunkOX23MW5EJs3.__stackDetails = _e;
494
- return chunkOX23MW5EJs3;
490
+ chunkFSVZXWLZJs3.__workletHash = 1694514975714;
491
+ chunkFSVZXWLZJs3.__pluginVersion = "0.7.4";
492
+ chunkFSVZXWLZJs3.__initData = _worklet_1694514975714_init_data;
493
+ chunkFSVZXWLZJs3.__stackDetails = _e;
494
+ return chunkFSVZXWLZJs3;
495
495
  }({
496
- _worklet_6140713992510_init_data,
496
+ _worklet_1694514975714_init_data,
497
497
  runOnJS,
498
498
  valueAt
499
- })).onUpdate(function chunkOX23MW5EJs2Factory({
500
- _worklet_9091874844927_init_data,
499
+ })).onUpdate(function chunkFSVZXWLZJs2Factory({
500
+ _worklet_4559809561763_init_data,
501
501
  runOnJS,
502
502
  valueAt
503
503
  }) {
504
504
  const _e = [new global.Error(), -3, -27];
505
- const chunkOX23MW5EJs2 = event => runOnJS(valueAt)(event.x, event.y, false);
506
- chunkOX23MW5EJs2.__closure = {
505
+ const chunkFSVZXWLZJs2 = event => runOnJS(valueAt)(event.x, event.y, false);
506
+ chunkFSVZXWLZJs2.__closure = {
507
507
  runOnJS,
508
508
  valueAt
509
509
  };
510
- chunkOX23MW5EJs2.__workletHash = 9091874844927;
511
- chunkOX23MW5EJs2.__pluginVersion = "0.7.4";
512
- chunkOX23MW5EJs2.__initData = _worklet_9091874844927_init_data;
513
- chunkOX23MW5EJs2.__stackDetails = _e;
514
- return chunkOX23MW5EJs2;
510
+ chunkFSVZXWLZJs2.__workletHash = 4559809561763;
511
+ chunkFSVZXWLZJs2.__pluginVersion = "0.7.4";
512
+ chunkFSVZXWLZJs2.__initData = _worklet_4559809561763_init_data;
513
+ chunkFSVZXWLZJs2.__stackDetails = _e;
514
+ return chunkFSVZXWLZJs2;
515
515
  }({
516
- _worklet_9091874844927_init_data,
516
+ _worklet_4559809561763_init_data,
517
517
  runOnJS,
518
518
  valueAt
519
- })).onEnd(function chunkOX23MW5EJs1Factory({
520
- _worklet_17152849688215_init_data,
519
+ })).onEnd(function chunkFSVZXWLZJs1Factory({
520
+ _worklet_14267644964491_init_data,
521
521
  runOnJS,
522
522
  valueAt
523
523
  }) {
524
524
  const _e = [new global.Error(), -3, -27];
525
- const chunkOX23MW5EJs1 = event => runOnJS(valueAt)(event.x, event.y, true);
526
- chunkOX23MW5EJs1.__closure = {
525
+ const chunkFSVZXWLZJs1 = event => runOnJS(valueAt)(event.x, event.y, true);
526
+ chunkFSVZXWLZJs1.__closure = {
527
527
  runOnJS,
528
528
  valueAt
529
529
  };
530
- chunkOX23MW5EJs1.__workletHash = 17152849688215;
531
- chunkOX23MW5EJs1.__pluginVersion = "0.7.4";
532
- chunkOX23MW5EJs1.__initData = _worklet_17152849688215_init_data;
533
- chunkOX23MW5EJs1.__stackDetails = _e;
534
- return chunkOX23MW5EJs1;
530
+ chunkFSVZXWLZJs1.__workletHash = 14267644964491;
531
+ chunkFSVZXWLZJs1.__pluginVersion = "0.7.4";
532
+ chunkFSVZXWLZJs1.__initData = _worklet_14267644964491_init_data;
533
+ chunkFSVZXWLZJs1.__stackDetails = _e;
534
+ return chunkFSVZXWLZJs1;
535
535
  }({
536
- _worklet_17152849688215_init_data,
536
+ _worklet_14267644964491_init_data,
537
537
  runOnJS,
538
538
  valueAt
539
539
  })), [isDisabled, valueAt]);
@@ -1,6 +1,7 @@
1
1
  import { collectItemLabels, readItemLabel, useLabelRegistry } from "./chunk-4WCBZFAK.js";
2
2
  import { useAnchoredPosition } from "./chunk-Z6FRP4EV.js";
3
- import { selectRecipe } from "./chunk-E4FWGZH2.js";
3
+ import { textFieldRecipe } from "./chunk-NTVPLDJC.js";
4
+ import { selectRecipe } from "./chunk-OUNTRW6E.js";
4
5
  import { Portal } from "./chunk-2PMXMKS5.js";
5
6
  import { INDICATOR_ROTATION, INDICATOR_SPRING, anchoredEntering, anchoredExiting, overlayEntering, overlayExiting } from "./chunk-64MXEVT3.js";
6
7
  import { useMergedRef } from "./chunk-NCTOTTVW.js";
@@ -10,13 +11,13 @@ import { usePressState } from "./chunk-423RQBOX.js";
10
11
  import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
11
12
  import { childrenToString } from "./chunk-WFZDAXDI.js";
12
13
  import { createRecipe } from "./chunk-DKVXTMIJ.js";
13
- import { createSlotContext } from "./chunk-TTZOIXKE.js";
14
+ import { Slot, createSlotContext } from "./chunk-TTZOIXKE.js";
14
15
  import { useXAUITheme } from "./chunk-Z6JBWRPL.js";
15
16
  import { useStyleProps } from "./chunk-M63GFNKV.js";
16
17
 
17
18
  // src/components/autocomplete/autocomplete.tsx
18
- import { useCallback, useMemo, useState } from "react";
19
- import { StyleSheet } from "react-native";
19
+ import { forwardRef, useCallback, useId, useMemo, useState } from "react";
20
+ import { StyleSheet, View } from "react-native";
20
21
 
21
22
  // src/components/autocomplete/autocomplete.context.ts
22
23
  var [AutocompleteProvider, useAutocomplete] = createSlotContext("Autocomplete");
@@ -101,7 +102,7 @@ var autocompleteRecipe = createRecipe({
101
102
 
102
103
  // src/components/autocomplete/autocomplete.tsx
103
104
  import { jsx } from "react/jsx-runtime";
104
- function Autocomplete({
105
+ var Autocomplete = forwardRef(function Autocomplete2({
105
106
  children,
106
107
  variant,
107
108
  size,
@@ -117,14 +118,21 @@ function Autocomplete({
117
118
  defaultQuery = "",
118
119
  onQueryChange,
119
120
  isDisabled = false,
120
- isInvalid = false
121
- }) {
121
+ isInvalid = false,
122
+ asChild = false,
123
+ style,
124
+ ...props
125
+ }, ref) {
122
126
  const theme = useXAUITheme();
127
+ const [styleProps, rest] = useStyleProps(props);
123
128
  const {
124
129
  labelFor,
125
130
  registerLabel
126
131
  } = useLabelRegistry();
127
132
  const [anchor, setAnchor] = useState(null);
133
+ const id = useId();
134
+ const labelId = `${id}-label`;
135
+ const descriptionId = `${id}-description`;
128
136
  const [value, setValue] = useControllableState({
129
137
  value: controlledValue,
130
138
  defaultValue,
@@ -149,10 +157,7 @@ function Autocomplete({
149
157
  };
150
158
  const styles = selectRecipe.resolve({
151
159
  theme,
152
- selection,
153
- states: {
154
- disabled: isDisabled
155
- }
160
+ selection
156
161
  });
157
162
  const pressed = selectRecipe.resolve({
158
163
  theme,
@@ -166,6 +171,16 @@ function Autocomplete({
166
171
  color,
167
172
  selection
168
173
  }) : void 0;
174
+ const labelled = textFieldRecipe.resolve({
175
+ theme,
176
+ selection: {
177
+ size,
178
+ isInvalid: isInvalid ? "true" : void 0
179
+ },
180
+ states: {
181
+ disabled: isDisabled
182
+ }
183
+ });
169
184
  const own = autocompleteRecipe.resolve({
170
185
  theme,
171
186
  selection: {
@@ -208,6 +223,9 @@ function Autocomplete({
208
223
  itemStyle: styles.item,
209
224
  itemPressedStyle: pressed.item,
210
225
  itemLabelStyle: styles.itemLabel,
226
+ labelStyle: labelled.label,
227
+ descriptionStyle: labelled.description,
228
+ errorStyle: labelled.error,
211
229
  glyph: {
212
230
  size: indicator.fontSize,
213
231
  color: typeof indicator.color === "string" ? indicator.color : void 0
@@ -226,18 +244,35 @@ function Autocomplete({
226
244
  anchor,
227
245
  setAnchor,
228
246
  labelFor,
229
- registerLabel
247
+ registerLabel,
248
+ labelId,
249
+ descriptionId
230
250
  };
231
- }, [styles, pressed, tint, own, ownTint, value, query, setQueryState, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
251
+ }, [styles, pressed, tint, own, ownTint, labelled, labelId, descriptionId, value, query, setQueryState, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
252
+ const columnStyle = [labelled.root, styleProps, style];
253
+ const column = asChild ?
254
+ // R12 — the caller's element is the column.
255
+ /* @__PURE__ */
256
+ jsx(Slot, {
257
+ ref,
258
+ ...rest,
259
+ style: columnStyle,
260
+ children
261
+ }) : /* @__PURE__ */jsx(View, {
262
+ ref,
263
+ ...rest,
264
+ style: columnStyle,
265
+ children
266
+ });
232
267
  return /* @__PURE__ */jsx(AutocompleteProvider, {
233
268
  value: context,
234
- children
269
+ children: column
235
270
  });
236
- }
271
+ });
237
272
  Autocomplete.displayName = "XAUI.Autocomplete.Root";
238
273
 
239
274
  // src/components/autocomplete/autocomplete-content.tsx
240
- import { Children as Children2, forwardRef as forwardRef5, isValidElement as isValidElement2, useEffect, useMemo as useMemo3 } from "react";
275
+ import { Children as Children2, forwardRef as forwardRef6, isValidElement as isValidElement2, useEffect, useMemo as useMemo3 } from "react";
241
276
  import { ScrollView } from "react-native";
242
277
  import Animated from "react-native-reanimated";
243
278
 
@@ -270,10 +305,10 @@ function filterItems(children, query, isItem2) {
270
305
  }
271
306
 
272
307
  // src/components/autocomplete/autocomplete-empty.tsx
273
- import { forwardRef } from "react";
308
+ import { forwardRef as forwardRef2 } from "react";
274
309
  import { Text } from "react-native";
275
310
  import { jsx as jsx2 } from "react/jsx-runtime";
276
- var AutocompleteEmpty = forwardRef(function AutocompleteEmpty2({
311
+ var AutocompleteEmpty = forwardRef2(function AutocompleteEmpty2({
277
312
  children,
278
313
  style,
279
314
  ...props
@@ -292,13 +327,13 @@ var AutocompleteEmpty = forwardRef(function AutocompleteEmpty2({
292
327
  AutocompleteEmpty.displayName = "XAUI.Autocomplete.Empty";
293
328
 
294
329
  // src/components/autocomplete/autocomplete-item.tsx
295
- import { forwardRef as forwardRef3, useCallback as useCallback2, useMemo as useMemo2 } from "react";
330
+ import { forwardRef as forwardRef4, useCallback as useCallback2, useMemo as useMemo2 } from "react";
296
331
 
297
332
  // src/components/autocomplete/autocomplete-item-label.tsx
298
- import { forwardRef as forwardRef2 } from "react";
333
+ import { forwardRef as forwardRef3 } from "react";
299
334
  import { Text as Text2 } from "react-native";
300
335
  import { jsx as jsx3 } from "react/jsx-runtime";
301
- var AutocompleteItemLabel = forwardRef2(function AutocompleteItemLabel2({
336
+ var AutocompleteItemLabel = forwardRef3(function AutocompleteItemLabel2({
302
337
  children,
303
338
  style,
304
339
  ...props
@@ -318,7 +353,7 @@ AutocompleteItemLabel.displayName = "XAUI.Autocomplete.ItemLabel";
318
353
 
319
354
  // src/components/autocomplete/autocomplete-item.tsx
320
355
  import { jsx as jsx4 } from "react/jsx-runtime";
321
- var AutocompleteItem = forwardRef3(function AutocompleteItem2({
356
+ var AutocompleteItem = forwardRef4(function AutocompleteItem2({
322
357
  value,
323
358
  label,
324
359
  children,
@@ -385,10 +420,10 @@ var AutocompleteItem = forwardRef3(function AutocompleteItem2({
385
420
  AutocompleteItem.displayName = "XAUI.Autocomplete.Item";
386
421
 
387
422
  // src/components/autocomplete/autocomplete-search.tsx
388
- import { forwardRef as forwardRef4 } from "react";
423
+ import { forwardRef as forwardRef5 } from "react";
389
424
  import { TextInput } from "react-native";
390
425
  import { jsx as jsx5 } from "react/jsx-runtime";
391
- var AutocompleteSearch = forwardRef4(function AutocompleteSearch2({
426
+ var AutocompleteSearch = forwardRef5(function AutocompleteSearch2({
392
427
  autoFocus = true,
393
428
  style,
394
429
  ...props
@@ -429,7 +464,7 @@ var DEFAULT_INSETS = {
429
464
  var isItem = type => type === AutocompleteItem;
430
465
  var isSearch = type => type === AutocompleteSearch;
431
466
  var isEmpty = type => type === AutocompleteEmpty;
432
- var AutocompleteContent = forwardRef5(function AutocompleteContent2({
467
+ var AutocompleteContent = forwardRef6(function AutocompleteContent2({
433
468
  children,
434
469
  placement = "bottom",
435
470
  align = "center",
@@ -533,14 +568,61 @@ function partition(children) {
533
568
  };
534
569
  }
535
570
 
571
+ // src/components/autocomplete/autocomplete-description.tsx
572
+ import { forwardRef as forwardRef7 } from "react";
573
+ import { Text as Text3 } from "react-native";
574
+ import { jsx as jsx7 } from "react/jsx-runtime";
575
+ var AutocompleteDescription = forwardRef7(function AutocompleteDescription2({
576
+ children,
577
+ style,
578
+ nativeID,
579
+ ...props
580
+ }, ref) {
581
+ const {
582
+ descriptionStyle,
583
+ descriptionId
584
+ } = useAutocomplete();
585
+ const [styleProps, rest] = useStyleProps(props);
586
+ return /* @__PURE__ */jsx7(Text3, {
587
+ ref,
588
+ nativeID: nativeID ?? descriptionId,
589
+ style: [descriptionStyle, styleProps, style],
590
+ ...rest,
591
+ children
592
+ });
593
+ });
594
+ AutocompleteDescription.displayName = "XAUI.Autocomplete.Description";
595
+
596
+ // src/components/autocomplete/autocomplete-error.tsx
597
+ import { forwardRef as forwardRef8 } from "react";
598
+ import { Text as Text4 } from "react-native";
599
+ import { jsx as jsx8 } from "react/jsx-runtime";
600
+ var AutocompleteError = forwardRef8(function AutocompleteError2({
601
+ children,
602
+ style,
603
+ ...props
604
+ }, ref) {
605
+ const {
606
+ errorStyle
607
+ } = useAutocomplete();
608
+ const [styleProps, rest] = useStyleProps(props);
609
+ return /* @__PURE__ */jsx8(Text4, {
610
+ ref,
611
+ style: [errorStyle, styleProps, style],
612
+ ...rest,
613
+ children
614
+ });
615
+ });
616
+ AutocompleteError.displayName = "XAUI.Autocomplete.Error";
617
+
536
618
  // src/components/autocomplete/autocomplete-indicator.tsx
537
619
  import { useEffect as useEffect2 } from "react";
538
620
  import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
539
- import { jsx as jsx7 } from "react/jsx-runtime";
540
- const _worklet_11739542475736_init_data = {
541
- code: "function chunkE5E2QA4KJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
542
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-E5E2QA4K.js",
543
- sourceMap: "{\"version\":3,\"names\":[\"chunkE5E2QA4KJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-E5E2QA4K.js\"],\"mappings\":\"AA4hBoC,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\":[]}"
621
+ import { jsx as jsx9 } from "react/jsx-runtime";
622
+ const _worklet_618153933488_init_data = {
623
+ code: "function chunkGVZJNIHNJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
624
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GVZJNIHN.js",
625
+ sourceMap: "{\"version\":3,\"names\":[\"chunkGVZJNIHNJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GVZJNIHN.js\"],\"mappings\":\"AAwlBoC,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\":[]}"
544
626
  };
545
627
  function AutocompleteIndicator(props) {
546
628
  const {
@@ -554,52 +636,77 @@ function AutocompleteIndicator(props) {
554
636
  useEffect2(() => {
555
637
  progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
556
638
  }, [isOpen, progress]);
557
- const rotation = useAnimatedStyle(function chunkE5E2QA4KJs1Factory({
558
- _worklet_11739542475736_init_data,
639
+ const rotation = useAnimatedStyle(function chunkGVZJNIHNJs1Factory({
640
+ _worklet_618153933488_init_data,
559
641
  interpolate,
560
642
  progress,
561
643
  INDICATOR_ROTATION
562
644
  }) {
563
645
  const _e = [new global.Error(), -4, -27];
564
- const chunkE5E2QA4KJs1 = function () {
646
+ const chunkGVZJNIHNJs1 = function () {
565
647
  return {
566
648
  transform: [{
567
649
  rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
568
650
  }]
569
651
  };
570
652
  };
571
- chunkE5E2QA4KJs1.__closure = {
653
+ chunkGVZJNIHNJs1.__closure = {
572
654
  interpolate,
573
655
  progress,
574
656
  INDICATOR_ROTATION
575
657
  };
576
- chunkE5E2QA4KJs1.__workletHash = 11739542475736;
577
- chunkE5E2QA4KJs1.__pluginVersion = "0.7.4";
578
- chunkE5E2QA4KJs1.__initData = _worklet_11739542475736_init_data;
579
- chunkE5E2QA4KJs1.__stackDetails = _e;
580
- return chunkE5E2QA4KJs1;
658
+ chunkGVZJNIHNJs1.__workletHash = 618153933488;
659
+ chunkGVZJNIHNJs1.__pluginVersion = "0.7.4";
660
+ chunkGVZJNIHNJs1.__initData = _worklet_618153933488_init_data;
661
+ chunkGVZJNIHNJs1.__stackDetails = _e;
662
+ return chunkGVZJNIHNJs1;
581
663
  }({
582
- _worklet_11739542475736_init_data,
664
+ _worklet_618153933488_init_data,
583
665
  interpolate,
584
666
  progress,
585
667
  INDICATOR_ROTATION
586
668
  }), [progress]);
587
- return /* @__PURE__ */jsx7(Animated2.View, {
669
+ return /* @__PURE__ */jsx9(Animated2.View, {
588
670
  style: [indicatorStyle, rotation],
589
- children: /* @__PURE__ */jsx7(Icon, {
671
+ children: /* @__PURE__ */jsx9(Icon, {
590
672
  as
591
673
  })
592
674
  });
593
675
  }
594
676
  AutocompleteIndicator.displayName = "XAUI.Autocomplete.Indicator";
595
677
 
678
+ // src/components/autocomplete/autocomplete-label.tsx
679
+ import { forwardRef as forwardRef9 } from "react";
680
+ import { Text as Text5 } from "react-native";
681
+ import { jsx as jsx10 } from "react/jsx-runtime";
682
+ var AutocompleteLabel = forwardRef9(function AutocompleteLabel2({
683
+ children,
684
+ style,
685
+ nativeID,
686
+ ...props
687
+ }, ref) {
688
+ const {
689
+ labelStyle,
690
+ labelId
691
+ } = useAutocomplete();
692
+ const [styleProps, rest] = useStyleProps(props);
693
+ return /* @__PURE__ */jsx10(Text5, {
694
+ ref,
695
+ nativeID: nativeID ?? labelId,
696
+ style: [labelStyle, styleProps, style],
697
+ ...rest,
698
+ children
699
+ });
700
+ });
701
+ AutocompleteLabel.displayName = "XAUI.Autocomplete.Label";
702
+
596
703
  // src/components/autocomplete/autocomplete-overlay.tsx
597
- import { forwardRef as forwardRef6 } from "react";
704
+ import { forwardRef as forwardRef10 } from "react";
598
705
  import { Pressable } from "react-native";
599
706
  import Animated3 from "react-native-reanimated";
600
- import { jsx as jsx8 } from "react/jsx-runtime";
707
+ import { jsx as jsx11 } from "react/jsx-runtime";
601
708
  var AnimatedPressable = Animated3.createAnimatedComponent(Pressable);
602
- var AutocompleteOverlay = forwardRef6(function AutocompleteOverlay2({
709
+ var AutocompleteOverlay = forwardRef10(function AutocompleteOverlay2({
603
710
  children,
604
711
  style,
605
712
  ...props
@@ -612,10 +719,10 @@ var AutocompleteOverlay = forwardRef6(function AutocompleteOverlay2({
612
719
  } = context;
613
720
  const [styleProps, rest] = useStyleProps(props);
614
721
  if (!isOpen) return null;
615
- return /* @__PURE__ */jsx8(Portal, {
616
- children: /* @__PURE__ */jsx8(AutocompleteProvider, {
722
+ return /* @__PURE__ */jsx11(Portal, {
723
+ children: /* @__PURE__ */jsx11(AutocompleteProvider, {
617
724
  value: context,
618
- children: /* @__PURE__ */jsx8(AnimatedPressable, {
725
+ children: /* @__PURE__ */jsx11(AnimatedPressable, {
619
726
  ref,
620
727
  entering: overlayEntering,
621
728
  exiting: overlayExiting,
@@ -632,9 +739,9 @@ var AutocompleteOverlay = forwardRef6(function AutocompleteOverlay2({
632
739
  AutocompleteOverlay.displayName = "XAUI.Autocomplete.Overlay";
633
740
 
634
741
  // src/components/autocomplete/autocomplete-trigger.tsx
635
- import { forwardRef as forwardRef7, useCallback as useCallback3, useEffect as useEffect3, useRef } from "react";
636
- import { jsx as jsx9 } from "react/jsx-runtime";
637
- var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
742
+ import { forwardRef as forwardRef11, useCallback as useCallback3, useEffect as useEffect3, useRef } from "react";
743
+ import { jsx as jsx12 } from "react/jsx-runtime";
744
+ var AutocompleteTrigger = forwardRef11(function AutocompleteTrigger2({
638
745
  children,
639
746
  asChild = false,
640
747
  accessibilityRole = "combobox",
@@ -654,7 +761,9 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
654
761
  isDisabled,
655
762
  isInvalid,
656
763
  toggle,
657
- setAnchor
764
+ setAnchor,
765
+ labelId,
766
+ descriptionId
658
767
  } = useAutocomplete();
659
768
  const [styleProps, rest] = useStyleProps(props);
660
769
  const [isPressed, press] = usePressState({
@@ -685,9 +794,9 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
685
794
  measure();
686
795
  toggle();
687
796
  }, [measure, onPress, toggle]);
688
- return /* @__PURE__ */jsx9(IconContext.Provider, {
797
+ return /* @__PURE__ */jsx12(IconContext.Provider, {
689
798
  value: glyph,
690
- children: /* @__PURE__ */jsx9(PressableFeedback, {
799
+ children: /* @__PURE__ */jsx12(PressableFeedback, {
691
800
  ref: refs,
692
801
  isPressed,
693
802
  isDisabled,
@@ -699,6 +808,8 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
699
808
  ...accessibilityState
700
809
  },
701
810
  "aria-invalid": isInvalid || void 0,
811
+ "aria-labelledby": labelId,
812
+ "aria-describedby": descriptionId,
702
813
  ...rest,
703
814
  onLayout: handleLayout,
704
815
  style: [triggerStyle, isPressed && triggerPressedStyle, styleProps, typeof style === "function" ? style({
@@ -714,10 +825,10 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
714
825
  AutocompleteTrigger.displayName = "XAUI.Autocomplete.Trigger";
715
826
 
716
827
  // src/components/autocomplete/autocomplete-value.tsx
717
- import { forwardRef as forwardRef8 } from "react";
718
- import { Text as Text3 } from "react-native";
719
- import { jsx as jsx10 } from "react/jsx-runtime";
720
- var AutocompleteValue = forwardRef8(function AutocompleteValue2({
828
+ import { forwardRef as forwardRef12 } from "react";
829
+ import { Text as Text6 } from "react-native";
830
+ import { jsx as jsx13 } from "react/jsx-runtime";
831
+ var AutocompleteValue = forwardRef12(function AutocompleteValue2({
721
832
  children,
722
833
  placeholder,
723
834
  style,
@@ -732,7 +843,7 @@ var AutocompleteValue = forwardRef8(function AutocompleteValue2({
732
843
  const [styleProps, rest] = useStyleProps(props);
733
844
  const label = children ?? (value === void 0 ? void 0 : labelFor(value));
734
845
  const isEmpty2 = label === void 0 || label === null;
735
- return /* @__PURE__ */jsx10(Text3, {
846
+ return /* @__PURE__ */jsx13(Text6, {
736
847
  ref,
737
848
  numberOfLines: 1,
738
849
  ...rest,
@@ -743,7 +854,8 @@ var AutocompleteValue = forwardRef8(function AutocompleteValue2({
743
854
  AutocompleteValue.displayName = "XAUI.Autocomplete.Value";
744
855
 
745
856
  // src/components/autocomplete/index.ts
746
- var Autocomplete2 = Object.assign(Autocomplete, {
857
+ var Autocomplete3 = Object.assign(Autocomplete, {
858
+ Label: AutocompleteLabel,
747
859
  Trigger: AutocompleteTrigger,
748
860
  Value: AutocompleteValue,
749
861
  Indicator: AutocompleteIndicator,
@@ -752,6 +864,8 @@ var Autocomplete2 = Object.assign(Autocomplete, {
752
864
  Search: AutocompleteSearch,
753
865
  Item: AutocompleteItem,
754
866
  ItemLabel: AutocompleteItemLabel,
755
- Empty: AutocompleteEmpty
867
+ Empty: AutocompleteEmpty,
868
+ Description: AutocompleteDescription,
869
+ Error: AutocompleteError
756
870
  });
757
- export { useAutocomplete, useAutocompleteItem, autocompleteRecipe, Autocomplete, AutocompleteEmpty, AutocompleteItemLabel, AutocompleteItem, AutocompleteSearch, AutocompleteContent, AutocompleteIndicator, AutocompleteOverlay, AutocompleteTrigger, AutocompleteValue, Autocomplete2 };
871
+ export { useAutocomplete, useAutocompleteItem, autocompleteRecipe, Autocomplete, AutocompleteEmpty, AutocompleteItemLabel, AutocompleteItem, AutocompleteSearch, AutocompleteContent, AutocompleteDescription, AutocompleteError, AutocompleteIndicator, AutocompleteLabel, AutocompleteOverlay, AutocompleteTrigger, AutocompleteValue, Autocomplete3 as Autocomplete2 };
@@ -233,7 +233,7 @@ var alertRecipe = createRecipe({
233
233
  *
234
234
  * The icon takes the **title's** colour rather than a status colour of its own — on a
235
235
  * `danger` alert the readable colour is the one the title already uses, and on a
236
- * `danger-soft` one that token *is* the red. HeroUI arrives at the same place from the
236
+ * `danger-soft` one that token *is* the red. The reference implementation arrives at the same place from the
237
237
  * other direction, colouring the icon by status on a neutral surface; here the variant
238
238
  * decides both, and an icon that has to disagree with its alert says so itself with
239
239
  * `<Alert.Icon color={…} />`.