@xaui/native 0.9.1-alpha.90 → 0.9.1-alpha.92

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 (300) hide show
  1. package/dist/{chunk-XZ42OWKC.js → chunk-2AFA5HA2.js} +78 -74
  2. package/dist/{chunk-A2JNZMDJ.cjs → chunk-2B6PUYTP.cjs} +2 -2
  3. package/dist/chunk-3A5RK2R7.js +40 -0
  4. package/dist/{chunk-HQLJZ6C2.js → chunk-52XUGOLD.js} +3 -3
  5. package/dist/{chunk-TCDWDTSW.cjs → chunk-5E6SHYEQ.cjs} +3 -3
  6. package/dist/{chunk-Y36UGSTS.cjs → chunk-62AYYMZP.cjs} +3 -3
  7. package/dist/{chunk-BLGAFZRI.cjs → chunk-6GQ7UTJ7.cjs} +2 -2
  8. package/dist/chunk-6JAGPPZU.cjs +788 -0
  9. package/dist/{chunk-CVPBNJRG.js → chunk-6RU6GUJP.js} +1 -1
  10. package/dist/{chunk-XUF7K4WP.js → chunk-7EVW6O2Q.js} +1 -1
  11. package/dist/chunk-7NQL5DXY.js +302 -0
  12. package/dist/{chunk-ACWFIZKC.cjs → chunk-AR7667VN.cjs} +6 -6
  13. package/dist/{chunk-DSCZZZIG.cjs → chunk-B33OU34Z.cjs} +12 -12
  14. package/dist/{chunk-WGXOYMZM.cjs → chunk-BI5ME4QP.cjs} +5 -5
  15. package/dist/{chunk-IEEUSJBJ.js → chunk-BJVO7DWJ.js} +1 -1
  16. package/dist/{chunk-5YEMZL4C.cjs → chunk-CBRW53GN.cjs} +7 -7
  17. package/dist/{chunk-34UJTR37.cjs → chunk-CBXILKQZ.cjs} +3 -3
  18. package/dist/{chunk-FB4JF34M.cjs → chunk-CEPX7CKM.cjs} +16 -16
  19. package/dist/{chunk-377XFATD.cjs → chunk-CYOUOQXT.cjs} +5 -5
  20. package/dist/{chunk-AUYFPVLA.cjs → chunk-DYQB54JA.cjs} +2 -2
  21. package/dist/{chunk-3OQPAZTF.js → chunk-EBCAPIBD.js} +44 -44
  22. package/dist/{chunk-M5LTEKGJ.cjs → chunk-EDNCHCIN.cjs} +2 -2
  23. package/dist/{chunk-34KILEQD.js → chunk-FOOXBVOQ.js} +15 -15
  24. package/dist/{chunk-24WXPNIT.js → chunk-FRLWG5LM.js} +24 -24
  25. package/dist/chunk-FTPPUTWL.cjs +40 -0
  26. package/dist/{chunk-AAQIBMJI.js → chunk-FVEMTBU4.js} +2 -2
  27. package/dist/{chunk-54DVPCYB.cjs → chunk-FXN32S75.cjs} +3 -3
  28. package/dist/chunk-GGP2ERSV.js +487 -0
  29. package/dist/{chunk-6BB6YWEN.js → chunk-GYEQEF5H.js} +1 -1
  30. package/dist/{chunk-MTGUUW7F.cjs → chunk-GZAGWNQM.cjs} +3 -3
  31. package/dist/{chunk-OF3E7WVQ.cjs → chunk-ILXKBDC6.cjs} +10 -10
  32. package/dist/{chunk-D2UYBAGB.cjs → chunk-IPD3IUE2.cjs} +4 -4
  33. package/dist/{chunk-XLPOJTA2.cjs → chunk-JBZ7SBRV.cjs} +3 -3
  34. package/dist/{chunk-UMTVYPYK.js → chunk-JC4YCKKL.js} +15 -15
  35. package/dist/{chunk-GL46PQPW.js → chunk-JJYHW4PV.js} +1 -1
  36. package/dist/{chunk-2CTIZGMC.js → chunk-JKDWYNSG.js} +99 -99
  37. package/dist/chunk-KPKEZWZM.js +517 -0
  38. package/dist/{chunk-KTI3GCFM.js → chunk-LECYGVIH.js} +43 -43
  39. package/dist/chunk-LKRQUQZQ.cjs +487 -0
  40. package/dist/{chunk-SYVFU6O5.cjs → chunk-LPJ3UBSO.cjs} +4 -4
  41. package/dist/{chunk-RS2UWFEG.js → chunk-MMFIMQMQ.js} +2 -2
  42. package/dist/chunk-MSORLKO7.cjs +422 -0
  43. package/dist/{chunk-PKVKFZW7.js → chunk-O6B72H4B.js} +5 -5
  44. package/dist/{chunk-7KQG4JQ2.js → chunk-OD6H7ANY.js} +1 -1
  45. package/dist/{chunk-UXPBSREP.js → chunk-ODQHAPQW.js} +17 -17
  46. package/dist/{chunk-TB7V2DO3.cjs → chunk-ORXVXYKC.cjs} +11 -11
  47. package/dist/{chunk-PIU3JONR.cjs → chunk-OW4N2C3M.cjs} +64 -60
  48. package/dist/{chunk-NPY7I7JJ.js → chunk-P2CJNTAP.js} +15 -15
  49. package/dist/{chunk-AOXNVM55.cjs → chunk-P2V6PIM7.cjs} +2 -2
  50. package/dist/{chunk-CKADVFCH.js → chunk-P5M5URAB.js} +30 -127
  51. package/dist/{chunk-BPQWLUQU.js → chunk-P7OHZCU3.js} +2 -2
  52. package/dist/{chunk-DPW25YCM.cjs → chunk-PAQD6UUF.cjs} +3 -3
  53. package/dist/{chunk-LDFBDFIW.js → chunk-PAQZOD2L.js} +1 -1
  54. package/dist/{chunk-4TG2OLEM.cjs → chunk-PDSR42YC.cjs} +3 -3
  55. package/dist/{chunk-AXSY2KPT.cjs → chunk-PROLOLZ5.cjs} +2 -2
  56. package/dist/{chunk-4SPCZVR6.cjs → chunk-PYQ2P3M5.cjs} +58 -58
  57. package/dist/{chunk-ZZTUJELK.cjs → chunk-Q2BWXT55.cjs} +9 -9
  58. package/dist/{chunk-RD3ZUUBC.cjs → chunk-QCH7X7O2.cjs} +14 -14
  59. package/dist/{chunk-ZYN7XKF5.cjs → chunk-QELEKXN3.cjs} +5 -5
  60. package/dist/{chunk-ZN5P3VTI.js → chunk-QHXTO525.js} +1 -1
  61. package/dist/{chunk-EVSQ4CEI.cjs → chunk-QN2D5ZCS.cjs} +3 -3
  62. package/dist/{chunk-4XZWVJZL.cjs → chunk-QUSQEYLP.cjs} +25 -25
  63. package/dist/chunk-RCSEVEIR.js +422 -0
  64. package/dist/{chunk-GOKUBJIK.js → chunk-RLC3EXMV.js} +2 -2
  65. package/dist/{chunk-BLYKQD47.cjs → chunk-RREJUSAS.cjs} +3 -3
  66. package/dist/{chunk-BLDMKFIG.js → chunk-RSIWSVXI.js} +1 -1
  67. package/dist/{chunk-5VYB7F3H.js → chunk-RXEUKYM5.js} +1 -1
  68. package/dist/{chunk-WRW4JBB4.js → chunk-SUJLTC2K.js} +4 -4
  69. package/dist/{chunk-KBQT6MZ4.js → chunk-TCWW7JI2.js} +58 -58
  70. package/dist/{chunk-B2KUGQS5.js → chunk-TPYOQSKT.js} +1 -1
  71. package/dist/{chunk-SEYZGC4E.js → chunk-TRWZEOCO.js} +2 -2
  72. package/dist/{chunk-SDLDRTT7.cjs → chunk-UEW3GAP5.cjs} +5 -5
  73. package/dist/{chunk-WQZJ26SX.cjs → chunk-UFKSUELU.cjs} +2 -2
  74. package/dist/chunk-UR37LVPU.cjs +382 -0
  75. package/dist/{chunk-4BAKKBHJ.js → chunk-USIWPESU.js} +1 -1
  76. package/dist/{chunk-HM6M6SIP.js → chunk-UYQLW7OD.js} +1 -1
  77. package/dist/{chunk-NIEIDK5Z.js → chunk-V2CEKPJ6.js} +4 -4
  78. package/dist/{chunk-GPSVJ75L.js → chunk-VMPCXS4S.js} +15 -15
  79. package/dist/{chunk-W6TFYAEF.js → chunk-VQGNLX5C.js} +1 -1
  80. package/dist/{chunk-YSZ4K6L6.cjs → chunk-WIX4SYZI.cjs} +2 -2
  81. package/dist/{chunk-T3WEEHSB.js → chunk-WRZV6ORJ.js} +1 -1
  82. package/dist/{chunk-UDVKP3V2.cjs → chunk-X4CZYJZ6.cjs} +12 -12
  83. package/dist/chunk-XWIPLZTD.cjs +302 -0
  84. package/dist/{chunk-67WT74DY.cjs → chunk-ZE4IHUUO.cjs} +2 -2
  85. package/dist/{chunk-4JB7XQCJ.js → chunk-ZKGVOXLQ.js} +1 -1
  86. package/dist/{chunk-U32IGHJ6.js → chunk-ZWS3FQ3J.js} +57 -57
  87. package/dist/components/accordion/index.cjs +3 -3
  88. package/dist/components/accordion/index.js +2 -2
  89. package/dist/components/agenda-calendar/index.cjs +4 -4
  90. package/dist/components/agenda-calendar/index.js +3 -3
  91. package/dist/components/alert/index.cjs +4 -4
  92. package/dist/components/alert/index.js +3 -3
  93. package/dist/components/autocomplete/index.cjs +3 -3
  94. package/dist/components/autocomplete/index.js +2 -2
  95. package/dist/components/bottom-sheet/index.cjs +3 -3
  96. package/dist/components/bottom-sheet/index.js +2 -2
  97. package/dist/components/button/button.d.cts +1 -0
  98. package/dist/components/button/button.d.ts +1 -0
  99. package/dist/components/button/index.cjs +4 -4
  100. package/dist/components/button/index.d.cts +1 -0
  101. package/dist/components/button/index.d.ts +1 -0
  102. package/dist/components/button/index.js +3 -3
  103. package/dist/components/calendar/index.cjs +3 -3
  104. package/dist/components/calendar/index.js +2 -2
  105. package/dist/components/card/card.d.cts +1 -0
  106. package/dist/components/card/card.d.ts +1 -0
  107. package/dist/components/card/index.cjs +3 -3
  108. package/dist/components/card/index.d.cts +1 -0
  109. package/dist/components/card/index.d.ts +1 -0
  110. package/dist/components/card/index.js +2 -2
  111. package/dist/components/carousel/index.cjs +4 -3
  112. package/dist/components/carousel/index.js +3 -2
  113. package/dist/components/checkbox/checkbox.d.cts +1 -0
  114. package/dist/components/checkbox/checkbox.d.ts +1 -0
  115. package/dist/components/checkbox/index.cjs +3 -3
  116. package/dist/components/checkbox/index.d.cts +1 -0
  117. package/dist/components/checkbox/index.d.ts +1 -0
  118. package/dist/components/checkbox/index.js +2 -2
  119. package/dist/components/chip/chip.d.cts +1 -0
  120. package/dist/components/chip/chip.d.ts +1 -0
  121. package/dist/components/chip/index.cjs +4 -4
  122. package/dist/components/chip/index.d.cts +1 -0
  123. package/dist/components/chip/index.d.ts +1 -0
  124. package/dist/components/chip/index.js +3 -3
  125. package/dist/components/close-button/close-button.d.cts +1 -0
  126. package/dist/components/close-button/close-button.d.ts +1 -0
  127. package/dist/components/close-button/index.cjs +4 -4
  128. package/dist/components/close-button/index.js +3 -3
  129. package/dist/components/color-picker/color-picker.d.cts +1 -1
  130. package/dist/components/color-picker/color-picker.d.ts +1 -1
  131. package/dist/components/color-picker/index.cjs +6 -6
  132. package/dist/components/color-picker/index.d.cts +1 -1
  133. package/dist/components/color-picker/index.d.ts +1 -1
  134. package/dist/components/color-picker/index.js +5 -5
  135. package/dist/components/combobox/index.cjs +4 -4
  136. package/dist/components/combobox/index.js +3 -3
  137. package/dist/components/date-picker/index.cjs +4 -4
  138. package/dist/components/date-picker/index.js +3 -3
  139. package/dist/components/date-range-picker/index.cjs +6 -6
  140. package/dist/components/date-range-picker/index.js +5 -5
  141. package/dist/components/date-time-picker/index.cjs +7 -7
  142. package/dist/components/date-time-picker/index.js +6 -6
  143. package/dist/components/dialog/index.cjs +4 -4
  144. package/dist/components/dialog/index.js +3 -3
  145. package/dist/components/dummy-field/index.cjs +3 -3
  146. package/dist/components/dummy-field/index.js +2 -2
  147. package/dist/components/fab/index.cjs +4 -4
  148. package/dist/components/fab/index.js +3 -3
  149. package/dist/components/flip-card/index.cjs +3 -3
  150. package/dist/components/flip-card/index.js +2 -2
  151. package/dist/components/index.d.cts +4 -0
  152. package/dist/components/index.d.ts +4 -0
  153. package/dist/components/list-box/index.cjs +2 -2
  154. package/dist/components/list-box/index.js +1 -1
  155. package/dist/components/menu/index.cjs +3 -3
  156. package/dist/components/menu/index.js +2 -2
  157. package/dist/components/morph-button/index.cjs +39 -0
  158. package/dist/components/morph-button/index.d.cts +53 -0
  159. package/dist/components/morph-button/index.d.ts +53 -0
  160. package/dist/components/morph-button/index.js +39 -0
  161. package/dist/components/morph-button/morph-button-face.d.cts +9 -0
  162. package/dist/components/morph-button/morph-button-face.d.ts +9 -0
  163. package/dist/components/morph-button/morph-button-icon.d.cts +13 -0
  164. package/dist/components/morph-button/morph-button-icon.d.ts +13 -0
  165. package/dist/components/morph-button/morph-button-text.d.cts +16 -0
  166. package/dist/components/morph-button/morph-button-text.d.ts +16 -0
  167. package/dist/components/morph-button/morph-button.animation.d.cts +29 -0
  168. package/dist/components/morph-button/morph-button.animation.d.ts +29 -0
  169. package/dist/components/morph-button/morph-button.context.d.cts +7 -0
  170. package/dist/components/morph-button/morph-button.context.d.ts +7 -0
  171. package/dist/components/morph-button/morph-button.d.cts +61 -0
  172. package/dist/components/morph-button/morph-button.d.ts +61 -0
  173. package/dist/components/morph-button/morph-button.recipe.d.cts +11 -0
  174. package/dist/components/morph-button/morph-button.recipe.d.ts +11 -0
  175. package/dist/components/morph-button/morph-button.type.d.cts +99 -0
  176. package/dist/components/morph-button/morph-button.type.d.ts +99 -0
  177. package/dist/components/number-pad/index.cjs +40 -0
  178. package/dist/components/number-pad/index.d.cts +60 -0
  179. package/dist/components/number-pad/index.d.ts +60 -0
  180. package/dist/components/number-pad/index.js +40 -0
  181. package/dist/components/number-pad/number-pad-action.d.cts +24 -0
  182. package/dist/components/number-pad/number-pad-action.d.ts +24 -0
  183. package/dist/components/number-pad/number-pad-backspace.d.cts +18 -0
  184. package/dist/components/number-pad/number-pad-backspace.d.ts +18 -0
  185. package/dist/components/number-pad/number-pad-cell.d.cts +7 -0
  186. package/dist/components/number-pad/number-pad-cell.d.ts +7 -0
  187. package/dist/components/number-pad/number-pad-icon.d.cts +13 -0
  188. package/dist/components/number-pad/number-pad-icon.d.ts +13 -0
  189. package/dist/components/number-pad/number-pad-key.d.cts +24 -0
  190. package/dist/components/number-pad/number-pad-key.d.ts +24 -0
  191. package/dist/components/number-pad/number-pad-label.d.cts +14 -0
  192. package/dist/components/number-pad/number-pad-label.d.ts +14 -0
  193. package/dist/components/number-pad/number-pad.context.d.cts +18 -0
  194. package/dist/components/number-pad/number-pad.context.d.ts +18 -0
  195. package/dist/components/number-pad/number-pad.d.cts +57 -0
  196. package/dist/components/number-pad/number-pad.d.ts +57 -0
  197. package/dist/components/number-pad/number-pad.recipe.d.cts +11 -0
  198. package/dist/components/number-pad/number-pad.recipe.d.ts +11 -0
  199. package/dist/components/number-pad/number-pad.style.d.cts +13 -0
  200. package/dist/components/number-pad/number-pad.style.d.ts +13 -0
  201. package/dist/components/number-pad/number-pad.type.d.cts +135 -0
  202. package/dist/components/number-pad/number-pad.type.d.ts +135 -0
  203. package/dist/components/number-pad/number-pad.utils.d.cts +34 -0
  204. package/dist/components/number-pad/number-pad.utils.d.ts +34 -0
  205. package/dist/components/number-stepper/index.cjs +3 -3
  206. package/dist/components/number-stepper/index.js +2 -2
  207. package/dist/components/pager/index.cjs +31 -0
  208. package/dist/components/pager/index.d.cts +60 -0
  209. package/dist/components/pager/index.d.ts +60 -0
  210. package/dist/components/pager/index.js +31 -0
  211. package/dist/components/pager/pager-content.d.cts +24 -0
  212. package/dist/components/pager/pager-content.d.ts +24 -0
  213. package/dist/components/pager/pager-indicator.d.cts +47 -0
  214. package/dist/components/pager/pager-indicator.d.ts +47 -0
  215. package/dist/components/pager/pager-page.d.cts +16 -0
  216. package/dist/components/pager/pager-page.d.ts +16 -0
  217. package/dist/components/pager/pager.context.d.cts +7 -0
  218. package/dist/components/pager/pager.context.d.ts +7 -0
  219. package/dist/components/pager/pager.d.cts +71 -0
  220. package/dist/components/pager/pager.d.ts +71 -0
  221. package/dist/components/pager/pager.recipe.d.cts +15 -0
  222. package/dist/components/pager/pager.recipe.d.ts +15 -0
  223. package/dist/components/pager/pager.type.d.cts +108 -0
  224. package/dist/components/pager/pager.type.d.ts +108 -0
  225. package/dist/components/phone-number-field/index.cjs +15 -15
  226. package/dist/components/phone-number-field/index.js +4 -4
  227. package/dist/components/popover/index.cjs +3 -3
  228. package/dist/components/popover/index.js +2 -2
  229. package/dist/components/radio/index.cjs +3 -3
  230. package/dist/components/radio/index.d.cts +1 -0
  231. package/dist/components/radio/index.d.ts +1 -0
  232. package/dist/components/radio/index.js +2 -2
  233. package/dist/components/radio/radio.d.cts +1 -0
  234. package/dist/components/radio/radio.d.ts +1 -0
  235. package/dist/components/range-calendar/index.cjs +4 -4
  236. package/dist/components/range-calendar/index.js +3 -3
  237. package/dist/components/rating/index.cjs +30 -0
  238. package/dist/components/rating/index.d.cts +41 -0
  239. package/dist/components/rating/index.d.ts +41 -0
  240. package/dist/components/rating/index.js +30 -0
  241. package/dist/components/rating/rating-icon.d.cts +16 -0
  242. package/dist/components/rating/rating-icon.d.ts +16 -0
  243. package/dist/components/rating/rating-item.d.cts +23 -0
  244. package/dist/components/rating/rating-item.d.ts +23 -0
  245. package/dist/components/rating/rating-star.d.cts +19 -0
  246. package/dist/components/rating/rating-star.d.ts +19 -0
  247. package/dist/components/rating/rating.context.d.cts +16 -0
  248. package/dist/components/rating/rating.context.d.ts +16 -0
  249. package/dist/components/rating/rating.d.cts +59 -0
  250. package/dist/components/rating/rating.d.ts +59 -0
  251. package/dist/components/rating/rating.recipe.d.cts +11 -0
  252. package/dist/components/rating/rating.recipe.d.ts +11 -0
  253. package/dist/components/rating/rating.style.d.cts +24 -0
  254. package/dist/components/rating/rating.style.d.ts +24 -0
  255. package/dist/components/rating/rating.type.d.cts +108 -0
  256. package/dist/components/rating/rating.type.d.ts +108 -0
  257. package/dist/components/rating/rating.utils.d.cts +28 -0
  258. package/dist/components/rating/rating.utils.d.ts +28 -0
  259. package/dist/components/search-field/index.cjs +4 -4
  260. package/dist/components/search-field/index.js +3 -3
  261. package/dist/components/segment/index.cjs +2 -2
  262. package/dist/components/segment/index.js +1 -1
  263. package/dist/components/select/index.cjs +3 -3
  264. package/dist/components/select/index.js +2 -2
  265. package/dist/components/snackbar/index.cjs +3 -3
  266. package/dist/components/snackbar/index.js +2 -2
  267. package/dist/components/switch/index.cjs +3 -3
  268. package/dist/components/switch/index.d.cts +1 -0
  269. package/dist/components/switch/index.d.ts +1 -0
  270. package/dist/components/switch/index.js +2 -2
  271. package/dist/components/switch/switch.d.cts +1 -0
  272. package/dist/components/switch/switch.d.ts +1 -0
  273. package/dist/components/table/index.cjs +4 -4
  274. package/dist/components/table/index.js +3 -3
  275. package/dist/components/tabs/index.cjs +3 -3
  276. package/dist/components/tabs/index.js +2 -2
  277. package/dist/components/tag-group/index.cjs +4 -4
  278. package/dist/components/tag-group/index.js +3 -3
  279. package/dist/components/time-picker/index.cjs +4 -4
  280. package/dist/components/time-picker/index.js +3 -3
  281. package/dist/components/toast/index.cjs +3 -3
  282. package/dist/components/toast/index.js +2 -2
  283. package/dist/components/toggle-button/index.cjs +3 -3
  284. package/dist/components/toggle-button/index.d.cts +1 -0
  285. package/dist/components/toggle-button/index.d.ts +1 -0
  286. package/dist/components/toggle-button/index.js +2 -2
  287. package/dist/components/toggle-button/toggle-button.d.cts +1 -0
  288. package/dist/components/toggle-button/toggle-button.d.ts +1 -0
  289. package/dist/index.cjs +145 -60
  290. package/dist/index.js +243 -158
  291. package/dist/system/index.cjs +3 -3
  292. package/dist/system/index.js +2 -2
  293. package/dist/system/pressable-feedback/index.d.cts +1 -0
  294. package/dist/system/pressable-feedback/index.d.ts +1 -0
  295. package/dist/system/pressable-feedback/pressable-feedback.d.cts +1 -0
  296. package/dist/system/pressable-feedback/pressable-feedback.d.ts +1 -0
  297. package/dist/system/pressable-feedback/pressable-feedback.type.d.cts +13 -1
  298. package/dist/system/pressable-feedback/pressable-feedback.type.d.ts +13 -1
  299. package/package.json +41 -1
  300. package/dist/chunk-L5GB6G3L.cjs +0 -1007
@@ -0,0 +1,382 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+
4
+ var _chunkFTPPUTWLcjs = require('./chunk-FTPPUTWL.cjs');
5
+
6
+
7
+ var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
8
+
9
+
10
+ var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
11
+
12
+
13
+ var _chunkSL3V7R2Ycjs = require('./chunk-SL3V7R2Y.cjs');
14
+
15
+
16
+ var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
17
+
18
+
19
+ var _chunkIIAQISBGcjs = require('./chunk-IIAQISBG.cjs');
20
+
21
+
22
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
23
+
24
+ // src/components/pager/pager-content.tsx
25
+ var _react = require('react');
26
+
27
+
28
+
29
+
30
+ var _reactnativereanimated = require('react-native-reanimated'); var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
31
+
32
+ // src/components/pager/pager.context.ts
33
+ var [PagerProvider, usePager] = _chunkCDRGTUYFcjs.createSlotContext.call(void 0, "Pager");
34
+
35
+ // src/components/pager/pager-content.tsx
36
+ var _jsxruntime = require('react/jsx-runtime');
37
+ var PagerContent = _react.forwardRef.call(void 0,
38
+ function PagerContent2({ children, style, onLayout, ...props }, ref) {
39
+ const {
40
+ contentStyle,
41
+ orientation,
42
+ step,
43
+ track,
44
+ setTrack,
45
+ count,
46
+ setCount,
47
+ offset,
48
+ trackRef,
49
+ isDisabled,
50
+ onSettle
51
+ } = usePager();
52
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
53
+ const scroller = _chunkWFEMJCXOcjs.useMergedRef.call(void 0, ref, trackRef);
54
+ const given = _react.Children.count(children);
55
+ _react.useEffect.call(void 0, () => {
56
+ if (given !== count) setCount(given);
57
+ }, [count, given, setCount]);
58
+ const handleLayout = (event) => {
59
+ _optionalChain([onLayout, 'optionalCall', _2 => _2(event)]);
60
+ const { width, height } = event.nativeEvent.layout;
61
+ if (width !== track.width || height !== track.height)
62
+ setTrack({ width, height });
63
+ };
64
+ const settled = _reactnativereanimated.useSharedValue.call(void 0, 0);
65
+ const isHorizontal = orientation === "horizontal";
66
+ const scroll = _reactnativereanimated.useAnimatedScrollHandler.call(void 0, (event) => {
67
+ const travelled = isHorizontal ? event.contentOffset.x : event.contentOffset.y;
68
+ offset.set(travelled);
69
+ const next = _chunkFTPPUTWLcjs.indexFromOffset.call(void 0, travelled, step, count);
70
+ if (next !== settled.get()) {
71
+ settled.set(next);
72
+ _reactnativereanimated.runOnJS.call(void 0, onSettle)(next);
73
+ }
74
+ });
75
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
76
+ _reactnativereanimated2.default.ScrollView,
77
+ {
78
+ ref: scroller,
79
+ horizontal: isHorizontal,
80
+ pagingEnabled: true,
81
+ showsHorizontalScrollIndicator: false,
82
+ showsVerticalScrollIndicator: false,
83
+ scrollEnabled: !isDisabled,
84
+ decelerationRate: "fast",
85
+ scrollEventThrottle: 16,
86
+ ...rest,
87
+ style: [contentStyle, styleProps, style],
88
+ onLayout: handleLayout,
89
+ onScroll: scroll,
90
+ children: step > 0 ? children : null
91
+ }
92
+ );
93
+ }
94
+ );
95
+ PagerContent.displayName = "XAUI.Pager.Content";
96
+
97
+ // src/components/pager/pager-indicator.tsx
98
+
99
+ var _reactnative = require('react-native');
100
+
101
+
102
+
103
+
104
+
105
+ var HIT_SLOP = 8;
106
+ var AnimatedPressable = _reactnativereanimated2.default.createAnimatedComponent(_reactnative.Pressable);
107
+ var PagerIndicator = _react.forwardRef.call(void 0,
108
+ function PagerIndicator2({ children, style, ...props }, ref) {
109
+ const { indicatorStyle, count } = usePager();
110
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
111
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: [indicatorStyle, styleProps, style], children: _nullishCoalesce(children, () => ( Array.from({ length: count }, (_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PagerDot, { index }, index)))) });
112
+ }
113
+ );
114
+ PagerIndicator.displayName = "XAUI.Pager.Indicator";
115
+ var PagerDot = _react.forwardRef.call(void 0, function PagerDot2({ index, children, style, ...props }, ref) {
116
+ const {
117
+ dotStyle,
118
+ dotInk,
119
+ offset,
120
+ step,
121
+ count,
122
+ index: current,
123
+ isDisabled,
124
+ goTo
125
+ } = usePager();
126
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
127
+ const { rest: restColor, active } = dotInk;
128
+ const travel = _reactnativereanimated.useAnimatedStyle.call(void 0, () => {
129
+ const distance = Math.abs(_chunkFTPPUTWLcjs.progressFromOffset.call(void 0, offset.get(), step, count) - index);
130
+ const nearness = Math.max(0, 1 - distance);
131
+ return {
132
+ backgroundColor: _reactnativereanimated.interpolateColor.call(void 0, nearness, [0, 1], [restColor, active])
133
+ };
134
+ });
135
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
136
+ AnimatedPressable,
137
+ {
138
+ ref,
139
+ accessibilityRole: "button",
140
+ accessibilityState: { selected: index === current, disabled: isDisabled },
141
+ accessibilityValue: { now: index + 1, min: 1, max: count },
142
+ disabled: isDisabled,
143
+ hitSlop: HIT_SLOP,
144
+ ...rest,
145
+ style: [dotStyle, travel, styleProps, style],
146
+ onPress: () => goTo(index),
147
+ children
148
+ }
149
+ );
150
+ });
151
+ PagerDot.displayName = "XAUI.Pager.Dot";
152
+
153
+ // src/components/pager/pager-page.tsx
154
+
155
+
156
+
157
+ var PagerPage = _react.forwardRef.call(void 0, function PagerPage2({ children, style, ...props }, ref) {
158
+ const { pageStyle, track } = usePager();
159
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
160
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
161
+ _reactnative.View,
162
+ {
163
+ ref,
164
+ ...rest,
165
+ style: [
166
+ pageStyle,
167
+ { width: track.width, height: track.height },
168
+ styleProps,
169
+ style
170
+ ],
171
+ children
172
+ }
173
+ );
174
+ });
175
+ PagerPage.displayName = "XAUI.Pager.Page";
176
+
177
+ // src/components/pager/pager.tsx
178
+
179
+
180
+
181
+
182
+ // src/components/pager/pager.recipe.ts
183
+ var SLOTS = ["root", "content", "page", "indicator", "dot", "dotActive"];
184
+ var VARIANT_TOKENS = {
185
+ primary: { bgSelected: "accent" },
186
+ secondary: { bgSelected: "defaultForeground" },
187
+ // The raised ground rather than the page's, which on a light theme is white: this is the
188
+ // pager over a photograph, where an accent dot disappears into whatever is behind it.
189
+ tertiary: { bgSelected: "surface" }
190
+ };
191
+ var SIZES = {
192
+ xs: { dot: 5, gap: 1 },
193
+ sm: { dot: 6, gap: 1.5 },
194
+ md: { dot: 7, gap: 1.5 },
195
+ lg: { dot: 8, gap: 2 }
196
+ };
197
+ function sizeAxis(step) {
198
+ const { dot, gap } = step;
199
+ return (theme) => ({
200
+ indicator: { gap: theme.spacing(gap) },
201
+ dot: { width: dot, height: dot, borderRadius: dot / 2 }
202
+ });
203
+ }
204
+ function orientationAxis(direction) {
205
+ return () => ({
206
+ indicator: { flexDirection: direction }
207
+ });
208
+ }
209
+ var pagerRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
210
+ slots: SLOTS,
211
+ base: (theme) => ({
212
+ /**
213
+ * **The root has no size of its own**, and that is deliberate rather than missing.
214
+ *
215
+ * `flex: 1` here would have been the convenient default and it is a trap: React Native
216
+ * expands it to a zero flex-basis, which **overrides an explicit `height`** — so
217
+ * `<Pager height={240}>` would collapse to the height of its dots, and the prop the
218
+ * caller reached for would silently do nothing. It is the same reason there is no
219
+ * `fullWidth` on a `Button`: RN's own behaviour is the answer, and the caller says which
220
+ * of the two they want — `flex={1}` to fill a screen, `height={320}` inside a scroll
221
+ * view.
222
+ *
223
+ * The track keeps its `flex: 1`, so it takes whatever the root was given less the dots.
224
+ * Nothing sizes it from outside, which is why it is safe there and not here.
225
+ */
226
+ content: { flex: 1 },
227
+ // A page is the size of the track on both axes, and that number is measured rather than
228
+ // named, so it arrives as an inline style instead of from here.
229
+ page: { overflow: "hidden" },
230
+ indicator: { alignItems: "center", justifyContent: "center" },
231
+ /**
232
+ * A neutral fill rather than a faint version of the current one: a pale tint of the
233
+ * accent under the pages reads as a control that has half failed to load. A raw `color`
234
+ * reaches the current dot, which is the one it should move.
235
+ */
236
+ dot: { backgroundColor: theme.colors.default }
237
+ }),
238
+ variantTokens: VARIANT_TOKENS,
239
+ /**
240
+ * The current dot, **read as a value and never applied as a style**: the colour is
241
+ * interpolated on the UI thread, and `interpolateColor` needs a string rather than a
242
+ * `StyleSheet` id. The root flattens this slot into `dotInk`, so the recipe still owns it.
243
+ */
244
+ paint: (_theme, colors) => ({
245
+ dotActive: { backgroundColor: colors.bgSelected }
246
+ }),
247
+ variants: {
248
+ size: {
249
+ xs: sizeAxis(SIZES.xs),
250
+ sm: sizeAxis(SIZES.sm),
251
+ md: sizeAxis(SIZES.md),
252
+ lg: sizeAxis(SIZES.lg)
253
+ },
254
+ orientation: {
255
+ horizontal: orientationAxis("row"),
256
+ vertical: orientationAxis("column")
257
+ }
258
+ },
259
+ states: {
260
+ disabled: (theme) => ({ indicator: { opacity: theme.opacity.disabled } })
261
+ },
262
+ defaultVariants: { variant: "primary", size: "md", orientation: "horizontal" }
263
+ });
264
+
265
+ // src/components/pager/pager.tsx
266
+
267
+ var PagerRoot = _react.forwardRef.call(void 0, function Pager({
268
+ children,
269
+ variant,
270
+ size,
271
+ color,
272
+ orientation = "horizontal",
273
+ index: indexProp,
274
+ defaultIndex = 0,
275
+ onIndexChange,
276
+ isDisabled = false,
277
+ style,
278
+ ...props
279
+ }, ref) {
280
+ const theme = _chunkIIAQISBGcjs.useXAUITheme.call(void 0, );
281
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
282
+ const [index, setIndex] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
283
+ value: indexProp,
284
+ defaultValue: defaultIndex,
285
+ onChange: onIndexChange
286
+ });
287
+ const [track, setTrack] = _react.useState.call(void 0, { width: 0, height: 0 });
288
+ const [count, setCount] = _react.useState.call(void 0, 0);
289
+ const trackRef = _reactnativereanimated.useAnimatedRef.call(void 0, );
290
+ const offset = _reactnativereanimated.useSharedValue.call(void 0, 0);
291
+ const selection = { variant, size, orientation };
292
+ const states = { disabled: isDisabled };
293
+ const styles = pagerRecipe.resolve({ theme, selection, states });
294
+ const tint = color ? pagerRecipe.tint({ theme, color, selection, states }) : void 0;
295
+ const step = orientation === "horizontal" ? track.width : track.height;
296
+ const goTo = _react.useCallback.call(void 0,
297
+ (next) => {
298
+ const distance = next * step;
299
+ _optionalChain([trackRef, 'access', _3 => _3.current, 'optionalAccess', _4 => _4.scrollTo, 'call', _5 => _5({
300
+ x: orientation === "horizontal" ? distance : 0,
301
+ y: orientation === "horizontal" ? 0 : distance,
302
+ animated: true
303
+ })]);
304
+ setIndex(next);
305
+ },
306
+ [orientation, setIndex, step, trackRef]
307
+ );
308
+ const context = _react.useMemo.call(void 0, () => {
309
+ const active = _reactnative.StyleSheet.flatten([styles.dotActive, _optionalChain([tint, 'optionalAccess', _6 => _6.dotActive])]);
310
+ const at = _reactnative.StyleSheet.flatten([styles.dot]);
311
+ return {
312
+ contentStyle: styles.content,
313
+ pageStyle: styles.page,
314
+ indicatorStyle: styles.indicator,
315
+ dotStyle: styles.dot,
316
+ // Values rather than styles: the colour is interpolated on the UI thread, and
317
+ // `interpolateColor` needs strings. The fallbacks are the tokens the recipe named, for
318
+ // the platform colours `ColorValue` also covers.
319
+ dotInk: {
320
+ rest: typeof at.backgroundColor === "string" ? at.backgroundColor : theme.colors.default,
321
+ active: typeof active.backgroundColor === "string" ? active.backgroundColor : theme.colors.accent
322
+ },
323
+ orientation,
324
+ index,
325
+ count,
326
+ setCount,
327
+ track,
328
+ setTrack,
329
+ step,
330
+ offset,
331
+ goTo,
332
+ onSettle: setIndex,
333
+ trackRef,
334
+ isDisabled
335
+ };
336
+ }, [
337
+ styles,
338
+ tint,
339
+ theme,
340
+ orientation,
341
+ index,
342
+ count,
343
+ track,
344
+ setTrack,
345
+ step,
346
+ offset,
347
+ goTo,
348
+ setIndex,
349
+ trackRef,
350
+ isDisabled
351
+ ]);
352
+ const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _7 => _7.root]), styleProps, style];
353
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PagerProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
354
+ _reactnative.View,
355
+ {
356
+ ref,
357
+ ...rest,
358
+ style: rootStyle,
359
+ children
360
+ }
361
+ ) });
362
+ });
363
+ PagerRoot.displayName = "XAUI.Pager.Root";
364
+
365
+ // src/components/pager/index.ts
366
+ var Pager2 = Object.assign(PagerRoot, {
367
+ Content: PagerContent,
368
+ Page: PagerPage,
369
+ Indicator: PagerIndicator,
370
+ Dot: PagerDot
371
+ });
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ exports.usePager = usePager; exports.PagerContent = PagerContent; exports.PagerIndicator = PagerIndicator; exports.PagerDot = PagerDot; exports.PagerPage = PagerPage; exports.pagerRecipe = pagerRecipe; exports.PagerRoot = PagerRoot; exports.Pager = Pager2;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PressableFeedback
3
- } from "./chunk-XZ42OWKC.js";
3
+ } from "./chunk-2AFA5HA2.js";
4
4
  import {
5
5
  usePressState
6
6
  } from "./chunk-423RQBOX.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-F6W3JQ7K.js";
7
7
  import {
8
8
  PressableFeedback
9
- } from "./chunk-XZ42OWKC.js";
9
+ } from "./chunk-2AFA5HA2.js";
10
10
  import {
11
11
  usePressState
12
12
  } from "./chunk-423RQBOX.js";
@@ -1,12 +1,12 @@
1
- import {
2
- containsElementOfType
3
- } from "./chunk-7J3M62W5.js";
4
1
  import {
5
2
  useRotation
6
3
  } from "./chunk-3GFRSZYR.js";
4
+ import {
5
+ containsElementOfType
6
+ } from "./chunk-7J3M62W5.js";
7
7
  import {
8
8
  PressableFeedback
9
- } from "./chunk-XZ42OWKC.js";
9
+ } from "./chunk-2AFA5HA2.js";
10
10
  import {
11
11
  usePressState
12
12
  } from "./chunk-423RQBOX.js";
@@ -1,6 +1,6 @@
1
1
  import { INDICATOR_ROTATION, INDICATOR_SPRING } from "./chunk-64MXEVT3.js";
2
2
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
3
- import { PressableFeedback } from "./chunk-XZ42OWKC.js";
3
+ import { PressableFeedback } from "./chunk-2AFA5HA2.js";
4
4
  import { usePressState } from "./chunk-423RQBOX.js";
5
5
  import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
6
6
  import { createRecipe, radiusAxis } from "./chunk-DKVXTMIJ.js";
@@ -53,10 +53,10 @@ AccordionContent.displayName = "XAUI.Accordion.Content";
53
53
  import { useEffect } from "react";
54
54
  import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
55
55
  import { jsx as jsx2 } from "react/jsx-runtime";
56
- const _worklet_12663923689126_init_data = {
57
- code: "function chunkGPSVJ75LJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
58
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPSVJ75L.js",
59
- sourceMap: "{\"version\":3,\"names\":[\"chunkGPSVJ75LJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPSVJ75L.js\"],\"mappings\":\"AA8FoC,SAAAA,iBAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,OAAO,CACvCC,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\",\"ignoreList\":[]}"
56
+ const _worklet_10416736392308_init_data = {
57
+ code: "function chunkVMPCXS4SJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
58
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VMPCXS4S.js",
59
+ sourceMap: "{\"version\":3,\"names\":[\"chunkVMPCXS4SJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VMPCXS4S.js\"],\"mappings\":\"AA8FoC,SAAAA,iBAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,OAAO,CACvCC,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\",\"ignoreList\":[]}"
60
60
  };
61
61
  function AccordionIndicator({
62
62
  as = ChevronDownIcon,
@@ -72,30 +72,30 @@ function AccordionIndicator({
72
72
  useEffect(() => {
73
73
  progress.set(withSpring(isExpanded ? 1 : 0, INDICATOR_SPRING));
74
74
  }, [isExpanded, progress]);
75
- const rotation = useAnimatedStyle(function chunkGPSVJ75LJs1Factory({
76
- _worklet_12663923689126_init_data,
75
+ const rotation = useAnimatedStyle(function chunkVMPCXS4SJs1Factory({
76
+ _worklet_10416736392308_init_data,
77
77
  interpolate,
78
78
  progress,
79
79
  INDICATOR_ROTATION
80
80
  }) {
81
81
  const _e = [new global.Error(), -4, -27];
82
- const chunkGPSVJ75LJs1 = () => ({
82
+ const chunkVMPCXS4SJs1 = () => ({
83
83
  transform: [{
84
84
  rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
85
85
  }]
86
86
  });
87
- chunkGPSVJ75LJs1.__closure = {
87
+ chunkVMPCXS4SJs1.__closure = {
88
88
  interpolate,
89
89
  progress,
90
90
  INDICATOR_ROTATION
91
91
  };
92
- chunkGPSVJ75LJs1.__workletHash = 12663923689126;
93
- chunkGPSVJ75LJs1.__pluginVersion = "0.7.4";
94
- chunkGPSVJ75LJs1.__initData = _worklet_12663923689126_init_data;
95
- chunkGPSVJ75LJs1.__stackDetails = _e;
96
- return chunkGPSVJ75LJs1;
92
+ chunkVMPCXS4SJs1.__workletHash = 10416736392308;
93
+ chunkVMPCXS4SJs1.__pluginVersion = "0.7.4";
94
+ chunkVMPCXS4SJs1.__initData = _worklet_10416736392308_init_data;
95
+ chunkVMPCXS4SJs1.__stackDetails = _e;
96
+ return chunkVMPCXS4SJs1;
97
97
  }({
98
- _worklet_12663923689126_init_data,
98
+ _worklet_10416736392308_init_data,
99
99
  interpolate,
100
100
  progress,
101
101
  INDICATOR_ROTATION
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  CloseButtonBase,
20
20
  closeButtonGeometry
21
- } from "./chunk-4BAKKBHJ.js";
21
+ } from "./chunk-USIWPESU.js";
22
22
  import {
23
23
  createRecipe
24
24
  } from "./chunk-DKVXTMIJ.js";
@@ -10,7 +10,7 @@ var _chunkAXKDHX5Vcjs = require('./chunk-AXKDHX5V.cjs');
10
10
  var _chunkWLWZG2PAcjs = require('./chunk-WLWZG2PA.cjs');
11
11
 
12
12
 
13
- var _chunkPIU3JONRcjs = require('./chunk-PIU3JONR.cjs');
13
+ var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
14
14
 
15
15
 
16
16
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
@@ -166,7 +166,7 @@ var DummyFieldField = _react.forwardRef.call(void 0,
166
166
  content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DummyFieldValue, { placeholder, children: value });
167
167
  }
168
168
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
169
- _chunkPIU3JONRcjs.PressableFeedback,
169
+ _chunkOW4N2C3Mcjs.PressableFeedback,
170
170
  {
171
171
  ref,
172
172
  isPressed,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-CG4NONIL.js";
6
6
  import {
7
7
  PressableFeedback
8
- } from "./chunk-XZ42OWKC.js";
8
+ } from "./chunk-2AFA5HA2.js";
9
9
  import {
10
10
  usePressState
11
11
  } from "./chunk-423RQBOX.js";
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkSDLDRTT7cjs = require('./chunk-SDLDRTT7.cjs');
10
+ var _chunkUEW3GAP5cjs = require('./chunk-UEW3GAP5.cjs');
11
11
 
12
12
 
13
13
 
@@ -19,7 +19,7 @@ var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
19
19
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
20
20
 
21
21
 
22
- var _chunkPIU3JONRcjs = require('./chunk-PIU3JONR.cjs');
22
+ var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
23
23
 
24
24
 
25
25
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
@@ -70,7 +70,7 @@ var RangeCalendarDay = _react.forwardRef.call(void 0,
70
70
  month,
71
71
  locale,
72
72
  isDayEnabled
73
- } = _chunkSDLDRTT7cjs.useCalendar.call(void 0, );
73
+ } = _chunkUEW3GAP5cjs.useCalendar.call(void 0, );
74
74
  const { bandStyle, bandStartStyle, bandEndStyle, positionOf, select } = useRangeCalendar();
75
75
  const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
76
76
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
@@ -91,7 +91,7 @@ var RangeCalendarDay = _react.forwardRef.call(void 0,
91
91
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
92
92
  band === null ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { pointerEvents: "none", style: band }),
93
93
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
94
- _chunkPIU3JONRcjs.PressableFeedback,
94
+ _chunkOW4N2C3Mcjs.PressableFeedback,
95
95
  {
96
96
  ref,
97
97
  isPressed,
@@ -155,7 +155,7 @@ function fullDate(date, locale) {
155
155
 
156
156
  var RangeCalendarGrid = _react.forwardRef.call(void 0,
157
157
  function RangeCalendarGrid2({ children, ...props }, ref) {
158
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDLDRTT7cjs.Calendar.Grid, { ref, ...props, children: _nullishCoalesce(children, () => ( ((date) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarDay, { date })))) });
158
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEW3GAP5cjs.Calendar.Grid, { ref, ...props, children: _nullishCoalesce(children, () => ( ((date) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarDay, { date })))) });
159
159
  }
160
160
  );
161
161
  RangeCalendarGrid.displayName = "XAUI.RangeCalendar.Grid";
@@ -199,7 +199,7 @@ var VARIANT_TOKENS = {
199
199
  };
200
200
  function sizeAxis(size) {
201
201
  return () => {
202
- const height = _chunkSDLDRTT7cjs.SIZES[size].cell;
202
+ const height = _chunkUEW3GAP5cjs.SIZES[size].cell;
203
203
  return { band: { height }, bandStart: { height }, bandEnd: { height } };
204
204
  };
205
205
  }
@@ -284,18 +284,18 @@ var RangeCalendarRoot = _react.forwardRef.call(void 0,
284
284
  }),
285
285
  [styles, tint, value, positionOf, select]
286
286
  );
287
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDLDRTT7cjs.Calendar, { ref, defaultMonth: _nullishCoalesce(value.start, () => ( void 0)), ...props, children }) });
287
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEW3GAP5cjs.Calendar, { ref, defaultMonth: _nullishCoalesce(value.start, () => ( void 0)), ...props, children }) });
288
288
  }
289
289
  );
290
290
  RangeCalendarRoot.displayName = "XAUI.RangeCalendar.Root";
291
291
 
292
292
  // src/components/range-calendar/index.ts
293
293
  var RangeCalendar2 = Object.assign(RangeCalendarRoot, {
294
- Header: _chunkSDLDRTT7cjs.CalendarHeader,
295
- Title: _chunkSDLDRTT7cjs.CalendarTitle,
296
- PreviousButton: _chunkSDLDRTT7cjs.CalendarPreviousButton,
297
- NextButton: _chunkSDLDRTT7cjs.CalendarNextButton,
298
- Weekdays: _chunkSDLDRTT7cjs.CalendarWeekdays,
294
+ Header: _chunkUEW3GAP5cjs.CalendarHeader,
295
+ Title: _chunkUEW3GAP5cjs.CalendarTitle,
296
+ PreviousButton: _chunkUEW3GAP5cjs.CalendarPreviousButton,
297
+ NextButton: _chunkUEW3GAP5cjs.CalendarNextButton,
298
+ Weekdays: _chunkUEW3GAP5cjs.CalendarWeekdays,
299
299
  Grid: RangeCalendarGrid,
300
300
  Day: RangeCalendarDay
301
301
  });