@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
@@ -9,14 +9,14 @@ import {
9
9
  DateTimePickerTrigger,
10
10
  DateTimePickerValue,
11
11
  useDateTimePicker
12
- } from "../../chunk-K7VDLVLE.js";
13
- import "../../chunk-OX23MW5E.js";
12
+ } from "../../chunk-NQDTGYHC.js";
13
+ import "../../chunk-FSVZXWLZ.js";
14
14
  import "../../chunk-RAYO2TJL.js";
15
15
  import "../../chunk-ZDJQ643D.js";
16
- import "../../chunk-EQUD3NHO.js";
16
+ import "../../chunk-LYWXGEED.js";
17
17
  import "../../chunk-6NAZ2IHL.js";
18
18
  import "../../chunk-SHFUQVLX.js";
19
- import "../../chunk-E4FWGZH2.js";
19
+ import "../../chunk-OUNTRW6E.js";
20
20
  import "../../chunk-2PMXMKS5.js";
21
21
  import "../../chunk-64MXEVT3.js";
22
22
  import "../../chunk-NCTOTTVW.js";
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkAHJLQJOEcjs = require('../../chunk-AHJLQJOE.cjs');
12
+ var _chunkC2S6J27Ocjs = require('../../chunk-C2S6J27O.cjs');
13
13
  require('../../chunk-WNEDQTH6.cjs');
14
14
  require('../../chunk-WDDXU3OH.cjs');
15
15
  require('../../chunk-EKS3W46M.cjs');
@@ -35,4 +35,4 @@ require('../../chunk-TK44VBIE.cjs');
35
35
 
36
36
 
37
37
 
38
- exports.Dialog = _chunkAHJLQJOEcjs.Dialog2; exports.DialogClose = _chunkAHJLQJOEcjs.DialogClose; exports.DialogContent = _chunkAHJLQJOEcjs.DialogContent; exports.DialogDescription = _chunkAHJLQJOEcjs.DialogDescription; exports.DialogOverlay = _chunkAHJLQJOEcjs.DialogOverlay; exports.DialogRoot = _chunkAHJLQJOEcjs.Dialog; exports.DialogTitle = _chunkAHJLQJOEcjs.DialogTitle; exports.DialogTrigger = _chunkAHJLQJOEcjs.DialogTrigger; exports.dialogRecipe = _chunkAHJLQJOEcjs.dialogRecipe; exports.useDialog = _chunkAHJLQJOEcjs.useDialog;
38
+ exports.Dialog = _chunkC2S6J27Ocjs.Dialog2; exports.DialogClose = _chunkC2S6J27Ocjs.DialogClose; exports.DialogContent = _chunkC2S6J27Ocjs.DialogContent; exports.DialogDescription = _chunkC2S6J27Ocjs.DialogDescription; exports.DialogOverlay = _chunkC2S6J27Ocjs.DialogOverlay; exports.DialogRoot = _chunkC2S6J27Ocjs.Dialog; exports.DialogTitle = _chunkC2S6J27Ocjs.DialogTitle; exports.DialogTrigger = _chunkC2S6J27Ocjs.DialogTrigger; exports.dialogRecipe = _chunkC2S6J27Ocjs.dialogRecipe; exports.useDialog = _chunkC2S6J27Ocjs.useDialog;
@@ -9,7 +9,7 @@ import {
9
9
  DialogTrigger,
10
10
  dialogRecipe,
11
11
  useDialog
12
- } from "../../chunk-5XTF2JDK.js";
12
+ } from "../../chunk-5G36GMFS.js";
13
13
  import "../../chunk-SIX5AVXG.js";
14
14
  import "../../chunk-2PMXMKS5.js";
15
15
  import "../../chunk-64MXEVT3.js";
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkAIHKBSQ5cjs = require('../../chunk-AIHKBSQ5.cjs');
12
- require('../../chunk-NADCILBL.cjs');
13
- require('../../chunk-AXKDHX5V.cjs');
14
- require('../../chunk-WLWZG2PA.cjs');
11
+ var _chunkYUCK5VJOcjs = require('../../chunk-YUCK5VJO.cjs');
12
+ require('../../chunk-NRU5APUE.cjs');
13
+ require('../../chunk-2IOL3VDP.cjs');
14
+ require('../../chunk-BKY5YQ7W.cjs');
15
15
  require('../../chunk-HBYT7B47.cjs');
16
16
  require('../../chunk-7DPL3ZDS.cjs');
17
17
  require('../../chunk-GSZDN6EZ.cjs');
@@ -33,4 +33,4 @@ require('../../chunk-TK44VBIE.cjs');
33
33
 
34
34
 
35
35
 
36
- exports.DummyField = _chunkAIHKBSQ5cjs.DummyField; exports.DummyFieldDescription = _chunkAIHKBSQ5cjs.DummyFieldDescription; exports.DummyFieldError = _chunkAIHKBSQ5cjs.DummyFieldError; exports.DummyFieldField = _chunkAIHKBSQ5cjs.DummyFieldField; exports.DummyFieldIndicator = _chunkAIHKBSQ5cjs.DummyFieldIndicator; exports.DummyFieldLabel = _chunkAIHKBSQ5cjs.DummyFieldLabel; exports.DummyFieldRoot = _chunkAIHKBSQ5cjs.DummyFieldRoot; exports.DummyFieldValue = _chunkAIHKBSQ5cjs.DummyFieldValue; exports.useDummyField = _chunkAIHKBSQ5cjs.useDummyField;
36
+ exports.DummyField = _chunkYUCK5VJOcjs.DummyField; exports.DummyFieldDescription = _chunkYUCK5VJOcjs.DummyFieldDescription; exports.DummyFieldError = _chunkYUCK5VJOcjs.DummyFieldError; exports.DummyFieldField = _chunkYUCK5VJOcjs.DummyFieldField; exports.DummyFieldIndicator = _chunkYUCK5VJOcjs.DummyFieldIndicator; exports.DummyFieldLabel = _chunkYUCK5VJOcjs.DummyFieldLabel; exports.DummyFieldRoot = _chunkYUCK5VJOcjs.DummyFieldRoot; exports.DummyFieldValue = _chunkYUCK5VJOcjs.DummyFieldValue; exports.useDummyField = _chunkYUCK5VJOcjs.useDummyField;
@@ -8,10 +8,10 @@ import {
8
8
  DummyFieldRoot,
9
9
  DummyFieldValue,
10
10
  useDummyField
11
- } from "../../chunk-XOZMGNVS.js";
12
- import "../../chunk-3CPLJJWX.js";
13
- import "../../chunk-5YZUYSV7.js";
14
- import "../../chunk-43S673KF.js";
11
+ } from "../../chunk-MXSIY6QQ.js";
12
+ import "../../chunk-MZUYTCCB.js";
13
+ import "../../chunk-JYV53WUN.js";
14
+ import "../../chunk-NTVPLDJC.js";
15
15
  import "../../chunk-KQW25RCC.js";
16
16
  import "../../chunk-423RQBOX.js";
17
17
  import "../../chunk-JN6IRT2M.js";
@@ -17,7 +17,7 @@ import type { FieldGroupIconProps } from './field-group.type';
17
17
  * `primary` field, where the fill is the caller's colour and the placeholder grey is no
18
18
  * longer readable over it.
19
19
  *
20
- * It is not one of HeroUI's three parts: theirs colour the glyph at the call site. This is
20
+ * It is not one of the reference implementation's three parts: theirs colour the glyph at the call site. This is
21
21
  * the same slot `Button`, `Chip` and `Alert` all have, and it exists so that a form does
22
22
  * not carry a hard-coded `#888` on every field.
23
23
  */
@@ -17,7 +17,7 @@ import type { FieldGroupIconProps } from './field-group.type';
17
17
  * `primary` field, where the fill is the caller's colour and the placeholder grey is no
18
18
  * longer readable over it.
19
19
  *
20
- * It is not one of HeroUI's three parts: theirs colour the glyph at the call site. This is
20
+ * It is not one of the reference implementation's three parts: theirs colour the glyph at the call site. This is
21
21
  * the same slot `Button`, `Chip` and `Alert` all have, and it exists so that a form does
22
22
  * not carry a hard-coded `#888` on every field.
23
23
  */
@@ -8,9 +8,9 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkNADCILBLcjs = require('../../chunk-NADCILBL.cjs');
12
- require('../../chunk-AXKDHX5V.cjs');
13
- require('../../chunk-WLWZG2PA.cjs');
11
+ var _chunkNRU5APUEcjs = require('../../chunk-NRU5APUE.cjs');
12
+ require('../../chunk-2IOL3VDP.cjs');
13
+ require('../../chunk-BKY5YQ7W.cjs');
14
14
  require('../../chunk-GSZDN6EZ.cjs');
15
15
  require('../../chunk-FHNIGHN5.cjs');
16
16
  require('../../chunk-SL3V7R2Y.cjs');
@@ -30,4 +30,4 @@ require('../../chunk-TK44VBIE.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.FieldGroup = _chunkNADCILBLcjs.FieldGroup; exports.FieldGroupField = _chunkNADCILBLcjs.FieldGroupField; exports.FieldGroupIcon = _chunkNADCILBLcjs.FieldGroupIcon; exports.FieldGroupPrefix = _chunkNADCILBLcjs.FieldGroupPrefix; exports.FieldGroupRoot = _chunkNADCILBLcjs.FieldGroupRoot; exports.FieldGroupSuffix = _chunkNADCILBLcjs.FieldGroupSuffix; exports.decoratorPadding = _chunkNADCILBLcjs.decoratorPadding; exports.useFieldGroup = _chunkNADCILBLcjs.useFieldGroup; exports.useOptionalFieldGroup = _chunkNADCILBLcjs.useOptionalFieldGroup;
33
+ exports.FieldGroup = _chunkNRU5APUEcjs.FieldGroup; exports.FieldGroupField = _chunkNRU5APUEcjs.FieldGroupField; exports.FieldGroupIcon = _chunkNRU5APUEcjs.FieldGroupIcon; exports.FieldGroupPrefix = _chunkNRU5APUEcjs.FieldGroupPrefix; exports.FieldGroupRoot = _chunkNRU5APUEcjs.FieldGroupRoot; exports.FieldGroupSuffix = _chunkNRU5APUEcjs.FieldGroupSuffix; exports.decoratorPadding = _chunkNRU5APUEcjs.decoratorPadding; exports.useFieldGroup = _chunkNRU5APUEcjs.useFieldGroup; exports.useOptionalFieldGroup = _chunkNRU5APUEcjs.useOptionalFieldGroup;
@@ -8,9 +8,9 @@ import {
8
8
  decoratorPadding,
9
9
  useFieldGroup,
10
10
  useOptionalFieldGroup
11
- } from "../../chunk-3CPLJJWX.js";
12
- import "../../chunk-5YZUYSV7.js";
13
- import "../../chunk-43S673KF.js";
11
+ } from "../../chunk-MZUYTCCB.js";
12
+ import "../../chunk-JYV53WUN.js";
13
+ import "../../chunk-NTVPLDJC.js";
14
14
  import "../../chunk-JN6IRT2M.js";
15
15
  import "../../chunk-WFZDAXDI.js";
16
16
  import "../../chunk-DKVXTMIJ.js";
@@ -50,6 +50,7 @@ export * from './scaffold';
50
50
  export * from './search-field';
51
51
  export * from './select';
52
52
  export * from './skeleton';
53
+ export * from './slide-button';
53
54
  export * from './slider';
54
55
  export * from './spinner';
55
56
  export * from './surface';
@@ -50,6 +50,7 @@ export * from './scaffold';
50
50
  export * from './search-field';
51
51
  export * from './select';
52
52
  export * from './skeleton';
53
+ export * from './slide-button';
53
54
  export * from './slider';
54
55
  export * from './spinner';
55
56
  export * from './surface';
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
17
17
  * they go**. With no fill and no border there is nothing to count. It is the reason the
18
18
  * `Checkbox` has no `ghost` either — a box that is not a box is not a box.
19
19
  *
20
- * HeroUI splits their OTP slot the same two ways their input is split, and they reach for
20
+ * The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
21
21
  * the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
22
22
  * takes.
23
23
  */
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
17
17
  * they go**. With no fill and no border there is nothing to count. It is the reason the
18
18
  * `Checkbox` has no `ghost` either — a box that is not a box is not a box.
19
19
  *
20
- * HeroUI splits their OTP slot the same two ways their input is split, and they reach for
20
+ * The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
21
21
  * the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
22
22
  * takes.
23
23
  */
@@ -2,7 +2,7 @@ import { View } from 'react-native';
2
2
  /**
3
3
  * What trails the row: a value, a switch, a chevron, a badge.
4
4
  *
5
- * **It draws nothing of its own.** HeroUI's puts a chevron here by default; the trailing
5
+ * **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
6
6
  * end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
7
7
  * pass a child in order to render nothing. What goes there is the row's business, and the
8
8
  * row is one line away from saying so.
@@ -2,7 +2,7 @@ import { View } from 'react-native';
2
2
  /**
3
3
  * What trails the row: a value, a switch, a chevron, a badge.
4
4
  *
5
- * **It draws nothing of its own.** HeroUI's puts a chevron here by default; the trailing
5
+ * **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
6
6
  * end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
7
7
  * pass a child in order to render nothing. What goes there is the row's business, and the
8
8
  * row is one line away from saying so.
@@ -12,11 +12,11 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkG2YHGLN3cjs = require('../../chunk-G2YHGLN3.cjs');
16
- require('../../chunk-NADCILBL.cjs');
17
- require('../../chunk-AXKDHX5V.cjs');
18
- require('../../chunk-WLWZG2PA.cjs');
15
+ var _chunk7JWOAGB3cjs = require('../../chunk-7JWOAGB3.cjs');
16
+ require('../../chunk-NRU5APUE.cjs');
17
+ require('../../chunk-2IOL3VDP.cjs');
19
18
  require('../../chunk-ISHMSP6P.cjs');
19
+ require('../../chunk-BKY5YQ7W.cjs');
20
20
  require('../../chunk-GSZDN6EZ.cjs');
21
21
  require('../../chunk-FHNIGHN5.cjs');
22
22
  require('../../chunk-SL3V7R2Y.cjs');
@@ -40,4 +40,4 @@ require('../../chunk-TK44VBIE.cjs');
40
40
 
41
41
 
42
42
 
43
- exports.MASK_FIELD_MASKS = _chunkG2YHGLN3cjs.MASK_FIELD_MASKS; exports.MaskField = _chunkG2YHGLN3cjs.MaskField; exports.MaskFieldField = _chunkG2YHGLN3cjs.MaskFieldField; exports.MaskFieldRoot = _chunkG2YHGLN3cjs.MaskFieldRoot; exports.dateOrderFor = _chunkG2YHGLN3cjs.dateOrderFor; exports.dateSeparatorFor = _chunkG2YHGLN3cjs.dateSeparatorFor; exports.formatMaskedDate = _chunkG2YHGLN3cjs.formatMaskedDate; exports.formatMaskedTime = _chunkG2YHGLN3cjs.formatMaskedTime; exports.maskInput = _chunkG2YHGLN3cjs.maskInput; exports.parseMaskedDate = _chunkG2YHGLN3cjs.parseMaskedDate; exports.parseMaskedTime = _chunkG2YHGLN3cjs.parseMaskedTime; exports.resolveMask = _chunkG2YHGLN3cjs.resolveMask; exports.useMaskField = _chunkG2YHGLN3cjs.useMaskField;
43
+ exports.MASK_FIELD_MASKS = _chunk7JWOAGB3cjs.MASK_FIELD_MASKS; exports.MaskField = _chunk7JWOAGB3cjs.MaskField; exports.MaskFieldField = _chunk7JWOAGB3cjs.MaskFieldField; exports.MaskFieldRoot = _chunk7JWOAGB3cjs.MaskFieldRoot; exports.dateOrderFor = _chunk7JWOAGB3cjs.dateOrderFor; exports.dateSeparatorFor = _chunk7JWOAGB3cjs.dateSeparatorFor; exports.formatMaskedDate = _chunk7JWOAGB3cjs.formatMaskedDate; exports.formatMaskedTime = _chunk7JWOAGB3cjs.formatMaskedTime; exports.maskInput = _chunk7JWOAGB3cjs.maskInput; exports.parseMaskedDate = _chunk7JWOAGB3cjs.parseMaskedDate; exports.parseMaskedTime = _chunk7JWOAGB3cjs.parseMaskedTime; exports.resolveMask = _chunk7JWOAGB3cjs.resolveMask; exports.useMaskField = _chunk7JWOAGB3cjs.useMaskField;
@@ -12,11 +12,11 @@ import {
12
12
  parseMaskedTime,
13
13
  resolveMask,
14
14
  useMaskField
15
- } from "../../chunk-7M6YKCHX.js";
16
- import "../../chunk-3CPLJJWX.js";
17
- import "../../chunk-5YZUYSV7.js";
18
- import "../../chunk-43S673KF.js";
15
+ } from "../../chunk-KZZWNDDO.js";
16
+ import "../../chunk-MZUYTCCB.js";
17
+ import "../../chunk-JYV53WUN.js";
19
18
  import "../../chunk-SHFUQVLX.js";
19
+ import "../../chunk-NTVPLDJC.js";
20
20
  import "../../chunk-JN6IRT2M.js";
21
21
  import "../../chunk-WFZDAXDI.js";
22
22
  import "../../chunk-DKVXTMIJ.js";
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunk6SRFQSPRcjs = require('../../chunk-6SRFQSPR.cjs');
17
+ var _chunkADGHFLBJcjs = require('../../chunk-ADGHFLBJ.cjs');
18
18
  require('../../chunk-GTR5X65M.cjs');
19
19
  require('../../chunk-YVYYONTP.cjs');
20
20
  require('../../chunk-WDDXU3OH.cjs');
@@ -48,4 +48,4 @@ require('../../chunk-TK44VBIE.cjs');
48
48
 
49
49
 
50
50
 
51
- exports.Menu = _chunk6SRFQSPRcjs.Menu2; exports.MenuContent = _chunk6SRFQSPRcjs.MenuContent; exports.MenuGroup = _chunk6SRFQSPRcjs.MenuGroup; exports.MenuItem = _chunk6SRFQSPRcjs.MenuItem; exports.MenuItemDescription = _chunk6SRFQSPRcjs.MenuItemDescription; exports.MenuItemIndicator = _chunk6SRFQSPRcjs.MenuItemIndicator; exports.MenuItemTitle = _chunk6SRFQSPRcjs.MenuItemTitle; exports.MenuLabel = _chunk6SRFQSPRcjs.MenuLabel; exports.MenuOverlay = _chunk6SRFQSPRcjs.MenuOverlay; exports.MenuRoot = _chunk6SRFQSPRcjs.Menu; exports.MenuSeparator = _chunk6SRFQSPRcjs.MenuSeparator; exports.MenuTrigger = _chunk6SRFQSPRcjs.MenuTrigger; exports.menuRecipe = _chunk6SRFQSPRcjs.menuRecipe; exports.useMenu = _chunk6SRFQSPRcjs.useMenu; exports.useMenuItem = _chunk6SRFQSPRcjs.useMenuItem;
51
+ exports.Menu = _chunkADGHFLBJcjs.Menu2; exports.MenuContent = _chunkADGHFLBJcjs.MenuContent; exports.MenuGroup = _chunkADGHFLBJcjs.MenuGroup; exports.MenuItem = _chunkADGHFLBJcjs.MenuItem; exports.MenuItemDescription = _chunkADGHFLBJcjs.MenuItemDescription; exports.MenuItemIndicator = _chunkADGHFLBJcjs.MenuItemIndicator; exports.MenuItemTitle = _chunkADGHFLBJcjs.MenuItemTitle; exports.MenuLabel = _chunkADGHFLBJcjs.MenuLabel; exports.MenuOverlay = _chunkADGHFLBJcjs.MenuOverlay; exports.MenuRoot = _chunkADGHFLBJcjs.Menu; exports.MenuSeparator = _chunkADGHFLBJcjs.MenuSeparator; exports.MenuTrigger = _chunkADGHFLBJcjs.MenuTrigger; exports.menuRecipe = _chunkADGHFLBJcjs.menuRecipe; exports.useMenu = _chunkADGHFLBJcjs.useMenu; exports.useMenuItem = _chunkADGHFLBJcjs.useMenuItem;
@@ -14,7 +14,7 @@ import {
14
14
  menuRecipe,
15
15
  useMenu,
16
16
  useMenuItem
17
- } from "../../chunk-YOPWQHNO.js";
17
+ } from "../../chunk-TNFLBURM.js";
18
18
  import "../../chunk-734MFAX4.js";
19
19
  import "../../chunk-Z6FRP4EV.js";
20
20
  import "../../chunk-2PMXMKS5.js";
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk7AVZ2FSTcjs = require('../../chunk-7AVZ2FST.cjs');
9
+ var _chunkNXVSNESKcjs = require('../../chunk-NXVSNESK.cjs');
10
10
 
11
11
 
12
12
 
@@ -15,9 +15,9 @@ var _chunk7AVZ2FSTcjs = require('../../chunk-7AVZ2FST.cjs');
15
15
 
16
16
 
17
17
  var _chunkMPYBJSS7cjs = require('../../chunk-MPYBJSS7.cjs');
18
- require('../../chunk-NADCILBL.cjs');
19
- require('../../chunk-AXKDHX5V.cjs');
20
- require('../../chunk-WLWZG2PA.cjs');
18
+ require('../../chunk-NRU5APUE.cjs');
19
+ require('../../chunk-2IOL3VDP.cjs');
20
+ require('../../chunk-BKY5YQ7W.cjs');
21
21
  require('../../chunk-GSZDN6EZ.cjs');
22
22
  require('../../chunk-FHNIGHN5.cjs');
23
23
  require('../../chunk-SL3V7R2Y.cjs');
@@ -41,4 +41,4 @@ require('../../chunk-TK44VBIE.cjs');
41
41
 
42
42
 
43
43
 
44
- exports.NumberField = _chunk7AVZ2FSTcjs.NumberField; exports.NumberFieldDecrement = _chunk7AVZ2FSTcjs.NumberFieldDecrement; exports.NumberFieldField = _chunk7AVZ2FSTcjs.NumberFieldField; exports.NumberFieldIncrement = _chunk7AVZ2FSTcjs.NumberFieldIncrement; exports.NumberFieldRoot = _chunk7AVZ2FSTcjs.NumberFieldRoot; exports.canStep = _chunkMPYBJSS7cjs.canStep; exports.clampNumber = _chunkMPYBJSS7cjs.clampNumber; exports.formatNumber = _chunkMPYBJSS7cjs.formatNumber; exports.numberFieldRecipe = _chunk7AVZ2FSTcjs.numberFieldRecipe; exports.numberMarks = _chunkMPYBJSS7cjs.numberMarks; exports.parseNumber = _chunkMPYBJSS7cjs.parseNumber; exports.stepNumber = _chunkMPYBJSS7cjs.stepNumber; exports.useNumberField = _chunk7AVZ2FSTcjs.useNumberField;
44
+ exports.NumberField = _chunkNXVSNESKcjs.NumberField; exports.NumberFieldDecrement = _chunkNXVSNESKcjs.NumberFieldDecrement; exports.NumberFieldField = _chunkNXVSNESKcjs.NumberFieldField; exports.NumberFieldIncrement = _chunkNXVSNESKcjs.NumberFieldIncrement; exports.NumberFieldRoot = _chunkNXVSNESKcjs.NumberFieldRoot; exports.canStep = _chunkMPYBJSS7cjs.canStep; exports.clampNumber = _chunkMPYBJSS7cjs.clampNumber; exports.formatNumber = _chunkMPYBJSS7cjs.formatNumber; exports.numberFieldRecipe = _chunkNXVSNESKcjs.numberFieldRecipe; exports.numberMarks = _chunkMPYBJSS7cjs.numberMarks; exports.parseNumber = _chunkMPYBJSS7cjs.parseNumber; exports.stepNumber = _chunkMPYBJSS7cjs.stepNumber; exports.useNumberField = _chunkNXVSNESKcjs.useNumberField;
@@ -6,7 +6,7 @@ import {
6
6
  NumberFieldRoot,
7
7
  numberFieldRecipe,
8
8
  useNumberField
9
- } from "../../chunk-Q6OVVUAT.js";
9
+ } from "../../chunk-VTGWFZCA.js";
10
10
  import {
11
11
  canStep,
12
12
  clampNumber,
@@ -15,9 +15,9 @@ import {
15
15
  parseNumber,
16
16
  stepNumber
17
17
  } from "../../chunk-CG4NONIL.js";
18
- import "../../chunk-3CPLJJWX.js";
19
- import "../../chunk-5YZUYSV7.js";
20
- import "../../chunk-43S673KF.js";
18
+ import "../../chunk-MZUYTCCB.js";
19
+ import "../../chunk-JYV53WUN.js";
20
+ import "../../chunk-NTVPLDJC.js";
21
21
  import "../../chunk-JN6IRT2M.js";
22
22
  import "../../chunk-WFZDAXDI.js";
23
23
  import "../../chunk-DKVXTMIJ.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkNADCILBLcjs = require('../../chunk-NADCILBL.cjs');
4
+ var _chunkNRU5APUEcjs = require('../../chunk-NRU5APUE.cjs');
5
5
 
6
6
 
7
7
 
@@ -11,8 +11,7 @@ var _chunkNADCILBLcjs = require('../../chunk-NADCILBL.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkAXKDHX5Vcjs = require('../../chunk-AXKDHX5V.cjs');
15
- require('../../chunk-WLWZG2PA.cjs');
14
+ var _chunk2IOL3VDPcjs = require('../../chunk-2IOL3VDP.cjs');
16
15
 
17
16
 
18
17
 
@@ -21,12 +20,13 @@ require('../../chunk-WLWZG2PA.cjs');
21
20
 
22
21
 
23
22
 
24
- var _chunkX6GT4H4Icjs = require('../../chunk-X6GT4H4I.cjs');
23
+ var _chunk3TBT6ORWcjs = require('../../chunk-3TBT6ORW.cjs');
25
24
 
26
25
 
27
26
  var _chunk6NRWZR7Tcjs = require('../../chunk-6NRWZR7T.cjs');
28
27
  require('../../chunk-XSQPVDFH.cjs');
29
28
  require('../../chunk-H2FTAU5C.cjs');
29
+ require('../../chunk-BKY5YQ7W.cjs');
30
30
  require('../../chunk-WDDXU3OH.cjs');
31
31
  require('../../chunk-EKS3W46M.cjs');
32
32
  require('../../chunk-WFEMJCXO.cjs');
@@ -59,11 +59,18 @@ var _react = require('react');
59
59
 
60
60
 
61
61
  var _min = require('libphonenumber-js/min');
62
+ function regionNames(locale) {
63
+ try {
64
+ return new Intl.DisplayNames([locale], { type: "region" });
65
+ } catch (e) {
66
+ return void 0;
67
+ }
68
+ }
62
69
  function phoneCountries(locale, codes = _min.getCountries.call(void 0, )) {
63
- const names = new Intl.DisplayNames([locale], { type: "region" });
70
+ const names = regionNames(locale);
64
71
  return [...new Set(codes)].map((code) => ({
65
72
  code,
66
- name: _nullishCoalesce(names.of(code), () => ( code)),
73
+ name: _nullishCoalesce(_optionalChain([names, 'optionalAccess', _ => _.of, 'call', _2 => _2(code)]), () => ( code)),
67
74
  callingCode: _min.getCountryCallingCode.call(void 0, code),
68
75
  flag: String.fromCodePoint(
69
76
  ...[...code].map((letter) => letter.charCodeAt(0) + 127397)
@@ -83,7 +90,7 @@ function filterPhoneCountries(countries, query) {
83
90
  }
84
91
  function readPhoneNumber(value) {
85
92
  const parsed = _min.parsePhoneNumberFromString.call(void 0, value.nationalNumber, value.country);
86
- return _optionalChain([parsed, 'optionalAccess', _ => _.isPossible, 'call', _2 => _2()]) ? parsed : null;
93
+ return _optionalChain([parsed, 'optionalAccess', _3 => _3.isPossible, 'call', _4 => _4()]) ? parsed : null;
87
94
  }
88
95
  function editPhoneNumber(text, current, allowed) {
89
96
  const normalized = _min.parseIncompletePhoneNumber.call(void 0, text);
@@ -91,7 +98,7 @@ function editPhoneNumber(text, current, allowed) {
91
98
  return { country: current.country, nationalNumber: normalized.slice(0, 17) };
92
99
  }
93
100
  const parsed = _min.parsePhoneNumberFromString.call(void 0, normalized);
94
- if (!_optionalChain([parsed, 'optionalAccess', _3 => _3.country])) {
101
+ if (!_optionalChain([parsed, 'optionalAccess', _5 => _5.country])) {
95
102
  return { country: current.country, nationalNumber: normalized.slice(0, 16) };
96
103
  }
97
104
  if (allowed && !allowed.includes(parsed.country)) return current;
@@ -117,7 +124,7 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
117
124
  const [value, setValue] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
118
125
  value: controlled,
119
126
  defaultValue: _nullishCoalesce(defaultValue, () => ( {
120
- country: _nullishCoalesce(_optionalChain([countryCodes, 'optionalAccess', _4 => _4[0]]), () => ( "US")),
127
+ country: _nullishCoalesce(_optionalChain([countryCodes, 'optionalAccess', _6 => _6[0]]), () => ( "US")),
121
128
  nationalNumber: ""
122
129
  })),
123
130
  onChange: onValueChange
@@ -165,7 +172,7 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
165
172
  value,
166
173
  country,
167
174
  countries,
168
- phoneNumber: _nullishCoalesce(_optionalChain([phoneNumber, 'optionalAccess', _5 => _5.number]), () => ( null)),
175
+ phoneNumber: _nullishCoalesce(_optionalChain([phoneNumber, 'optionalAccess', _7 => _7.number]), () => ( null)),
169
176
  setNumber,
170
177
  selectCountry,
171
178
  formatNumber,
@@ -189,13 +196,13 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
189
196
  ]
190
197
  );
191
198
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
192
- _chunkX6GT4H4Icjs.BottomSheet,
199
+ _chunk3TBT6ORWcjs.BottomSheet,
193
200
  {
194
201
  isOpen: context.isOpen,
195
202
  onOpenChange: setOpen,
196
203
  isDisabled,
197
204
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
198
- _chunkAXKDHX5Vcjs.TextFieldRoot,
205
+ _chunk2IOL3VDPcjs.TextFieldRoot,
199
206
  {
200
207
  ref,
201
208
  variant: "primary",
@@ -215,13 +222,13 @@ PhoneNumberFieldRoot.displayName = "XAUI.PhoneNumberField.Root";
215
222
 
216
223
  var PhoneNumberFieldField = _react.forwardRef.call(void 0, function PhoneNumberFieldField2({ style, onBlur, ...props }, ref) {
217
224
  const { value, setNumber, formatNumber } = usePhoneNumberField();
218
- const group = _chunkNADCILBLcjs.useOptionalFieldGroup.call(void 0, );
225
+ const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
219
226
  const padding = _react.useMemo.call(void 0,
220
- () => _chunkNADCILBLcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _6 => _6.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _7 => _7.suffixWidth]), () => ( 0))),
221
- [_optionalChain([group, 'optionalAccess', _8 => _8.prefixWidth]), _optionalChain([group, 'optionalAccess', _9 => _9.suffixWidth])]
227
+ () => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _8 => _8.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _9 => _9.suffixWidth]), () => ( 0))),
228
+ [_optionalChain([group, 'optionalAccess', _10 => _10.prefixWidth]), _optionalChain([group, 'optionalAccess', _11 => _11.suffixWidth])]
222
229
  );
223
230
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
224
- _chunkAXKDHX5Vcjs.TextFieldField,
231
+ _chunk2IOL3VDPcjs.TextFieldField,
225
232
  {
226
233
  ref,
227
234
  keyboardType: "phone-pad",
@@ -231,7 +238,7 @@ var PhoneNumberFieldField = _react.forwardRef.call(void 0, function PhoneNumberF
231
238
  onChangeText: setNumber,
232
239
  onBlur: (event) => {
233
240
  formatNumber();
234
- _optionalChain([onBlur, 'optionalCall', _10 => _10(event)]);
241
+ _optionalChain([onBlur, 'optionalCall', _12 => _12(event)]);
235
242
  },
236
243
  style: [padding, style]
237
244
  }
@@ -245,9 +252,9 @@ var _reactnative = require('react-native');
245
252
 
246
253
  var PhoneNumberFieldCountry = _react.forwardRef.call(void 0, function PhoneNumberFieldCountry2({ children, asChild, ...props }, ref) {
247
254
  const { country } = usePhoneNumberField();
248
- const { labelStyle } = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
255
+ const { labelStyle } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
249
256
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
250
- _chunkX6GT4H4Icjs.BottomSheetTrigger,
257
+ _chunk3TBT6ORWcjs.BottomSheetTrigger,
251
258
  {
252
259
  ref,
253
260
  asChild,
@@ -271,8 +278,8 @@ function PhoneNumberFieldContent({
271
278
  ...props
272
279
  }) {
273
280
  const context = usePhoneNumberField();
274
- const field = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
275
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheetContent, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextFieldProvider, { value: field, children }) }) });
281
+ const field = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
282
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheetContent, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldProvider, { value: field, children }) }) });
276
283
  }
277
284
  PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
278
285
 
@@ -281,8 +288,8 @@ PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
281
288
 
282
289
  var PhoneNumberFieldSearch = _react.forwardRef.call(void 0, function PhoneNumberFieldSearch2(props, ref) {
283
290
  const { query, setQuery } = usePhoneNumberField();
284
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextField, { variant: "secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
285
- _chunkAXKDHX5Vcjs.TextField.Field,
291
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextField, { variant: "secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
292
+ _chunk2IOL3VDPcjs.TextField.Field,
286
293
  {
287
294
  ref,
288
295
  accessibilityRole: "search",
@@ -346,16 +353,16 @@ PhoneNumberFieldCountryList.displayName = "XAUI.PhoneNumberField.CountryList";
346
353
 
347
354
  // src/components/phone-number-field/index.ts
348
355
  var PhoneNumberField2 = Object.assign(PhoneNumberFieldRoot, {
349
- Label: _chunkAXKDHX5Vcjs.TextFieldLabel,
356
+ Label: _chunk2IOL3VDPcjs.TextFieldLabel,
350
357
  Field: PhoneNumberFieldField,
351
358
  Country: PhoneNumberFieldCountry,
352
- Description: _chunkAXKDHX5Vcjs.TextFieldDescription,
353
- Error: _chunkAXKDHX5Vcjs.TextFieldError,
354
- Overlay: _chunkX6GT4H4Icjs.BottomSheetOverlay,
359
+ Description: _chunk2IOL3VDPcjs.TextFieldDescription,
360
+ Error: _chunk2IOL3VDPcjs.TextFieldError,
361
+ Overlay: _chunk3TBT6ORWcjs.BottomSheetOverlay,
355
362
  Content: PhoneNumberFieldContent,
356
- Handle: _chunkX6GT4H4Icjs.BottomSheetHandle,
357
- Title: _chunkX6GT4H4Icjs.BottomSheetTitle,
358
- Close: _chunkX6GT4H4Icjs.BottomSheetClose,
363
+ Handle: _chunk3TBT6ORWcjs.BottomSheetHandle,
364
+ Title: _chunk3TBT6ORWcjs.BottomSheetTitle,
365
+ Close: _chunk3TBT6ORWcjs.BottomSheetClose,
359
366
  Search: PhoneNumberFieldSearch,
360
367
  CountryList: PhoneNumberFieldCountryList
361
368
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  decoratorPadding,
3
3
  useOptionalFieldGroup
4
- } from "../../chunk-3CPLJJWX.js";
4
+ } from "../../chunk-MZUYTCCB.js";
5
5
  import {
6
6
  TextField,
7
7
  TextFieldDescription,
@@ -11,8 +11,7 @@ import {
11
11
  TextFieldProvider,
12
12
  TextFieldRoot,
13
13
  useTextField
14
- } from "../../chunk-5YZUYSV7.js";
15
- import "../../chunk-43S673KF.js";
14
+ } from "../../chunk-JYV53WUN.js";
16
15
  import {
17
16
  BottomSheet,
18
17
  BottomSheetClose,
@@ -21,12 +20,13 @@ import {
21
20
  BottomSheetOverlay,
22
21
  BottomSheetTitle,
23
22
  BottomSheetTrigger
24
- } from "../../chunk-EQUD3NHO.js";
23
+ } from "../../chunk-LYWXGEED.js";
25
24
  import {
26
25
  Button
27
26
  } from "../../chunk-6MVKLRLZ.js";
28
27
  import "../../chunk-3GFRSZYR.js";
29
28
  import "../../chunk-7J3M62W5.js";
29
+ import "../../chunk-NTVPLDJC.js";
30
30
  import "../../chunk-2PMXMKS5.js";
31
31
  import "../../chunk-64MXEVT3.js";
32
32
  import "../../chunk-NCTOTTVW.js";
@@ -59,11 +59,18 @@ import {
59
59
  parsePhoneNumberFromString,
60
60
  parseIncompletePhoneNumber
61
61
  } from "libphonenumber-js/min";
62
+ function regionNames(locale) {
63
+ try {
64
+ return new Intl.DisplayNames([locale], { type: "region" });
65
+ } catch {
66
+ return void 0;
67
+ }
68
+ }
62
69
  function phoneCountries(locale, codes = getCountries()) {
63
- const names = new Intl.DisplayNames([locale], { type: "region" });
70
+ const names = regionNames(locale);
64
71
  return [...new Set(codes)].map((code) => ({
65
72
  code,
66
- name: names.of(code) ?? code,
73
+ name: names?.of(code) ?? code,
67
74
  callingCode: getCountryCallingCode(code),
68
75
  flag: String.fromCodePoint(
69
76
  ...[...code].map((letter) => letter.charCodeAt(0) + 127397)
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkDE4RSR7Qcjs = require('../../chunk-DE4RSR7Q.cjs');
12
+ var _chunkKAYZH7ZNcjs = require('../../chunk-KAYZH7ZN.cjs');
13
13
  require('../../chunk-GTR5X65M.cjs');
14
14
  require('../../chunk-YVYYONTP.cjs');
15
15
  require('../../chunk-WDDXU3OH.cjs');
@@ -37,4 +37,4 @@ require('../../chunk-TK44VBIE.cjs');
37
37
 
38
38
 
39
39
 
40
- exports.Popover = _chunkDE4RSR7Qcjs.Popover2; exports.PopoverClose = _chunkDE4RSR7Qcjs.PopoverClose; exports.PopoverContent = _chunkDE4RSR7Qcjs.PopoverContent; exports.PopoverDescription = _chunkDE4RSR7Qcjs.PopoverDescription; exports.PopoverOverlay = _chunkDE4RSR7Qcjs.PopoverOverlay; exports.PopoverRoot = _chunkDE4RSR7Qcjs.Popover; exports.PopoverTitle = _chunkDE4RSR7Qcjs.PopoverTitle; exports.PopoverTrigger = _chunkDE4RSR7Qcjs.PopoverTrigger; exports.popoverRecipe = _chunkDE4RSR7Qcjs.popoverRecipe; exports.usePopover = _chunkDE4RSR7Qcjs.usePopover;
40
+ exports.Popover = _chunkKAYZH7ZNcjs.Popover2; exports.PopoverClose = _chunkKAYZH7ZNcjs.PopoverClose; exports.PopoverContent = _chunkKAYZH7ZNcjs.PopoverContent; exports.PopoverDescription = _chunkKAYZH7ZNcjs.PopoverDescription; exports.PopoverOverlay = _chunkKAYZH7ZNcjs.PopoverOverlay; exports.PopoverRoot = _chunkKAYZH7ZNcjs.Popover; exports.PopoverTitle = _chunkKAYZH7ZNcjs.PopoverTitle; exports.PopoverTrigger = _chunkKAYZH7ZNcjs.PopoverTrigger; exports.popoverRecipe = _chunkKAYZH7ZNcjs.popoverRecipe; exports.usePopover = _chunkKAYZH7ZNcjs.usePopover;
@@ -9,7 +9,7 @@ import {
9
9
  PopoverTrigger,
10
10
  popoverRecipe,
11
11
  usePopover
12
- } from "../../chunk-33BA4LVN.js";
12
+ } from "../../chunk-BH4IN6H6.js";
13
13
  import "../../chunk-734MFAX4.js";
14
14
  import "../../chunk-Z6FRP4EV.js";
15
15
  import "../../chunk-2PMXMKS5.js";
@@ -4,7 +4,7 @@
4
4
  * Thirteen ems, which is about twenty-six characters a line — narrow, and deliberately so.
5
5
  * A popover is read at a glance, and a glance is two or three short lines rather than a
6
6
  * paragraph; past this it stops being an aside and starts being a sheet with a tail. It is
7
- * also where HeroUI's own panels land, measured off their placement demos: a little over
7
+ * also where the reference implementation's own panels land, measured off their placement demos: a little over
8
8
  * two hundred points on a three-hundred-and-ninety point screen.
9
9
  *
10
10
  * A measure rather than a number of points, so a theme that scales its type scales the
@@ -4,7 +4,7 @@
4
4
  * Thirteen ems, which is about twenty-six characters a line — narrow, and deliberately so.
5
5
  * A popover is read at a glance, and a glance is two or three short lines rather than a
6
6
  * paragraph; past this it stops being an aside and starts being a sheet with a tail. It is
7
- * also where HeroUI's own panels land, measured off their placement demos: a little over
7
+ * also where the reference implementation's own panels land, measured off their placement demos: a little over
8
8
  * two hundred points on a three-hundred-and-ninety point screen.
9
9
  *
10
10
  * A measure rather than a number of points, so a theme that scales its type scales the