@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,517 @@
1
+ import { indexFromOffset, progressFromOffset } from "./chunk-3A5RK2R7.js";
2
+ import { useMergedRef } from "./chunk-NCTOTTVW.js";
3
+ import { useControllableState } from "./chunk-F6W3JQ7K.js";
4
+ import { createRecipe } from "./chunk-DKVXTMIJ.js";
5
+ import { createSlotContext } from "./chunk-TTZOIXKE.js";
6
+ import { useXAUITheme } from "./chunk-Z6JBWRPL.js";
7
+ import { useStyleProps } from "./chunk-M63GFNKV.js";
8
+
9
+ // src/components/pager/pager-content.tsx
10
+ import { Children, forwardRef, useEffect } from "react";
11
+ import Animated, { runOnJS, useAnimatedScrollHandler, useSharedValue } from "react-native-reanimated";
12
+
13
+ // src/components/pager/pager.context.ts
14
+ var [PagerProvider, usePager] = createSlotContext("Pager");
15
+
16
+ // src/components/pager/pager-content.tsx
17
+ import { jsx } from "react/jsx-runtime";
18
+ const _worklet_5592363110114_init_data = {
19
+ code: "function chunkKPKEZWZMJs1(event){const{isHorizontal,offset,indexFromOffset,step,count,settled,runOnJS,onSettle}=this.__closure;const travelled=isHorizontal?event.contentOffset.x:event.contentOffset.y;offset.set(travelled);const next=indexFromOffset(travelled,step,count);if(next!==settled.get()){settled.set(next);runOnJS(onSettle)(next);}}",
20
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KPKEZWZM.js",
21
+ sourceMap: "{\"version\":3,\"names\":[\"chunkKPKEZWZMJs1\",\"event\",\"isHorizontal\",\"offset\",\"indexFromOffset\",\"step\",\"count\",\"settled\",\"runOnJS\",\"onSettle\",\"__closure\",\"travelled\",\"contentOffset\",\"x\",\"y\",\"set\",\"next\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KPKEZWZM.js\"],\"mappings\":\"AAiE6C,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,YAAA,CAAAC,MAAA,CAAAC,eAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,OAAA,CAAAC,OAAA,CAAAC,QAAA,OAAAC,SAAA,CACjD,KAAM,CAAAC,SAAS,CAAGT,YAAY,CAAGD,KAAK,CAACW,aAAa,CAACC,CAAC,CAAGZ,KAAK,CAACW,aAAa,CAACE,CAAC,CAC9EX,MAAM,CAACY,GAAG,CAACJ,SAAS,CAAC,CACrB,KAAM,CAAAK,IAAI,CAAGZ,eAAe,CAACO,SAAS,CAAEN,IAAI,CAAEC,KAAK,CAAC,CACpD,GAAIU,IAAI,GAAKT,OAAO,CAACU,GAAG,CAAC,CAAC,CAAE,CAC1BV,OAAO,CAACQ,GAAG,CAACC,IAAI,CAAC,CACjBR,OAAO,CAACC,QAAQ,CAAC,CAACO,IAAI,CAAC,CACzB,CACF\",\"ignoreList\":[]}"
22
+ };
23
+ var PagerContent = forwardRef(function PagerContent2({
24
+ children,
25
+ style,
26
+ onLayout,
27
+ ...props
28
+ }, ref) {
29
+ const {
30
+ contentStyle,
31
+ orientation,
32
+ step,
33
+ track,
34
+ setTrack,
35
+ count,
36
+ setCount,
37
+ offset,
38
+ trackRef,
39
+ isDisabled,
40
+ onSettle
41
+ } = usePager();
42
+ const [styleProps, rest] = useStyleProps(props);
43
+ const scroller = useMergedRef(ref, trackRef);
44
+ const given = Children.count(children);
45
+ useEffect(() => {
46
+ if (given !== count) setCount(given);
47
+ }, [count, given, setCount]);
48
+ const handleLayout = event => {
49
+ onLayout?.(event);
50
+ const {
51
+ width,
52
+ height
53
+ } = event.nativeEvent.layout;
54
+ if (width !== track.width || height !== track.height) setTrack({
55
+ width,
56
+ height
57
+ });
58
+ };
59
+ const settled = useSharedValue(0);
60
+ const isHorizontal = orientation === "horizontal";
61
+ const scroll = useAnimatedScrollHandler(function chunkKPKEZWZMJs1Factory({
62
+ _worklet_5592363110114_init_data,
63
+ isHorizontal,
64
+ offset,
65
+ indexFromOffset,
66
+ step,
67
+ count,
68
+ settled,
69
+ runOnJS,
70
+ onSettle
71
+ }) {
72
+ const _e = [new global.Error(), -9, -27];
73
+ const chunkKPKEZWZMJs1 = function (event) {
74
+ const travelled = isHorizontal ? event.contentOffset.x : event.contentOffset.y;
75
+ offset.set(travelled);
76
+ const next = indexFromOffset(travelled, step, count);
77
+ if (next !== settled.get()) {
78
+ settled.set(next);
79
+ runOnJS(onSettle)(next);
80
+ }
81
+ };
82
+ chunkKPKEZWZMJs1.__closure = {
83
+ isHorizontal,
84
+ offset,
85
+ indexFromOffset,
86
+ step,
87
+ count,
88
+ settled,
89
+ runOnJS,
90
+ onSettle
91
+ };
92
+ chunkKPKEZWZMJs1.__workletHash = 5592363110114;
93
+ chunkKPKEZWZMJs1.__pluginVersion = "0.7.4";
94
+ chunkKPKEZWZMJs1.__initData = _worklet_5592363110114_init_data;
95
+ chunkKPKEZWZMJs1.__stackDetails = _e;
96
+ return chunkKPKEZWZMJs1;
97
+ }({
98
+ _worklet_5592363110114_init_data,
99
+ isHorizontal,
100
+ offset,
101
+ indexFromOffset,
102
+ step,
103
+ count,
104
+ settled,
105
+ runOnJS,
106
+ onSettle
107
+ }));
108
+ return /* @__PURE__ */jsx(Animated.ScrollView, {
109
+ ref: scroller,
110
+ horizontal: isHorizontal,
111
+ pagingEnabled: true,
112
+ showsHorizontalScrollIndicator: false,
113
+ showsVerticalScrollIndicator: false,
114
+ scrollEnabled: !isDisabled,
115
+ decelerationRate: "fast",
116
+ scrollEventThrottle: 16,
117
+ ...rest,
118
+ style: [contentStyle, styleProps, style],
119
+ onLayout: handleLayout,
120
+ onScroll: scroll,
121
+ children: step > 0 ? children : null
122
+ });
123
+ });
124
+ PagerContent.displayName = "XAUI.Pager.Content";
125
+
126
+ // src/components/pager/pager-indicator.tsx
127
+ import { forwardRef as forwardRef2 } from "react";
128
+ import { Pressable, View } from "react-native";
129
+ import Animated2, { interpolateColor, useAnimatedStyle } from "react-native-reanimated";
130
+ import { jsx as jsx2 } from "react/jsx-runtime";
131
+ var HIT_SLOP = 8;
132
+ var AnimatedPressable = Animated2.createAnimatedComponent(Pressable);
133
+ var PagerIndicator = forwardRef2(function PagerIndicator2({
134
+ children,
135
+ style,
136
+ ...props
137
+ }, ref) {
138
+ const {
139
+ indicatorStyle,
140
+ count
141
+ } = usePager();
142
+ const [styleProps, rest] = useStyleProps(props);
143
+ return /* @__PURE__ */jsx2(View, {
144
+ ref,
145
+ ...rest,
146
+ style: [indicatorStyle, styleProps, style],
147
+ children: children ?? Array.from({
148
+ length: count
149
+ }, (_, index) => /* @__PURE__ */jsx2(PagerDot, {
150
+ index
151
+ }, index))
152
+ });
153
+ });
154
+ PagerIndicator.displayName = "XAUI.Pager.Indicator";
155
+ const _worklet_3999860474786_init_data = {
156
+ code: "function chunkKPKEZWZMJs2(){const{progressFromOffset,offset,step,count,index,interpolateColor,restColor,active}=this.__closure;const distance=Math.abs(progressFromOffset(offset.get(),step,count)-index);const nearness=Math.max(0,1-distance);return{backgroundColor:interpolateColor(nearness,[0,1],[restColor,active])};}",
157
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KPKEZWZM.js",
158
+ sourceMap: "{\"version\":3,\"names\":[\"chunkKPKEZWZMJs2\",\"progressFromOffset\",\"offset\",\"step\",\"count\",\"index\",\"interpolateColor\",\"restColor\",\"active\",\"__closure\",\"distance\",\"Math\",\"abs\",\"get\",\"nearness\",\"max\",\"backgroundColor\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KPKEZWZM.js\"],\"mappings\":\"AA+HkC,SAAAA,gBAAMA,CAAA,QAAAC,kBAAA,CAAAC,MAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,gBAAA,CAAAC,SAAA,CAAAC,MAAA,OAAAC,SAAA,CACpC,KAAM,CAAAC,QAAQ,CAAGC,IAAI,CAACC,GAAG,CAACX,kBAAkB,CAACC,MAAM,CAACW,GAAG,CAAC,CAAC,CAAEV,IAAI,CAAEC,KAAK,CAAC,CAAGC,KAAK,CAAC,CAChF,KAAM,CAAAS,QAAQ,CAAGH,IAAI,CAACI,GAAG,CAAC,CAAC,CAAE,CAAC,CAAGL,QAAQ,CAAC,CAC1C,MAAO,CACLM,eAAe,CAAEV,gBAAgB,CAACQ,QAAQ,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACP,SAAS,CAAEC,MAAM,CAAC,CACzE,CAAC,CACH\",\"ignoreList\":[]}"
159
+ };
160
+ var PagerDot = forwardRef2(function PagerDot2({
161
+ index,
162
+ children,
163
+ style,
164
+ ...props
165
+ }, ref) {
166
+ const {
167
+ dotStyle,
168
+ dotInk,
169
+ offset,
170
+ step,
171
+ count,
172
+ index: current,
173
+ isDisabled,
174
+ goTo
175
+ } = usePager();
176
+ const [styleProps, rest] = useStyleProps(props);
177
+ const {
178
+ rest: restColor,
179
+ active
180
+ } = dotInk;
181
+ const travel = useAnimatedStyle(function chunkKPKEZWZMJs2Factory({
182
+ _worklet_3999860474786_init_data,
183
+ progressFromOffset,
184
+ offset,
185
+ step,
186
+ count,
187
+ index,
188
+ interpolateColor,
189
+ restColor,
190
+ active
191
+ }) {
192
+ const _e = [new global.Error(), -9, -27];
193
+ const chunkKPKEZWZMJs2 = function () {
194
+ const distance = Math.abs(progressFromOffset(offset.get(), step, count) - index);
195
+ const nearness = Math.max(0, 1 - distance);
196
+ return {
197
+ backgroundColor: interpolateColor(nearness, [0, 1], [restColor, active])
198
+ };
199
+ };
200
+ chunkKPKEZWZMJs2.__closure = {
201
+ progressFromOffset,
202
+ offset,
203
+ step,
204
+ count,
205
+ index,
206
+ interpolateColor,
207
+ restColor,
208
+ active
209
+ };
210
+ chunkKPKEZWZMJs2.__workletHash = 3999860474786;
211
+ chunkKPKEZWZMJs2.__pluginVersion = "0.7.4";
212
+ chunkKPKEZWZMJs2.__initData = _worklet_3999860474786_init_data;
213
+ chunkKPKEZWZMJs2.__stackDetails = _e;
214
+ return chunkKPKEZWZMJs2;
215
+ }({
216
+ _worklet_3999860474786_init_data,
217
+ progressFromOffset,
218
+ offset,
219
+ step,
220
+ count,
221
+ index,
222
+ interpolateColor,
223
+ restColor,
224
+ active
225
+ }));
226
+ return /* @__PURE__ */jsx2(AnimatedPressable, {
227
+ ref,
228
+ accessibilityRole: "button",
229
+ accessibilityState: {
230
+ selected: index === current,
231
+ disabled: isDisabled
232
+ },
233
+ accessibilityValue: {
234
+ now: index + 1,
235
+ min: 1,
236
+ max: count
237
+ },
238
+ disabled: isDisabled,
239
+ hitSlop: HIT_SLOP,
240
+ ...rest,
241
+ style: [dotStyle, travel, styleProps, style],
242
+ onPress: () => goTo(index),
243
+ children
244
+ });
245
+ });
246
+ PagerDot.displayName = "XAUI.Pager.Dot";
247
+
248
+ // src/components/pager/pager-page.tsx
249
+ import { forwardRef as forwardRef3 } from "react";
250
+ import { View as View2 } from "react-native";
251
+ import { jsx as jsx3 } from "react/jsx-runtime";
252
+ var PagerPage = forwardRef3(function PagerPage2({
253
+ children,
254
+ style,
255
+ ...props
256
+ }, ref) {
257
+ const {
258
+ pageStyle,
259
+ track
260
+ } = usePager();
261
+ const [styleProps, rest] = useStyleProps(props);
262
+ return /* @__PURE__ */jsx3(View2, {
263
+ ref,
264
+ ...rest,
265
+ style: [pageStyle, {
266
+ width: track.width,
267
+ height: track.height
268
+ }, styleProps, style],
269
+ children
270
+ });
271
+ });
272
+ PagerPage.displayName = "XAUI.Pager.Page";
273
+
274
+ // src/components/pager/pager.tsx
275
+ import { forwardRef as forwardRef4, useCallback, useMemo, useState } from "react";
276
+ import { StyleSheet, View as View3 } from "react-native";
277
+ import { useAnimatedRef, useSharedValue as useSharedValue2 } from "react-native-reanimated";
278
+
279
+ // src/components/pager/pager.recipe.ts
280
+ var SLOTS = ["root", "content", "page", "indicator", "dot", "dotActive"];
281
+ var VARIANT_TOKENS = {
282
+ primary: {
283
+ bgSelected: "accent"
284
+ },
285
+ secondary: {
286
+ bgSelected: "defaultForeground"
287
+ },
288
+ // The raised ground rather than the page's, which on a light theme is white: this is the
289
+ // pager over a photograph, where an accent dot disappears into whatever is behind it.
290
+ tertiary: {
291
+ bgSelected: "surface"
292
+ }
293
+ };
294
+ var SIZES = {
295
+ xs: {
296
+ dot: 5,
297
+ gap: 1
298
+ },
299
+ sm: {
300
+ dot: 6,
301
+ gap: 1.5
302
+ },
303
+ md: {
304
+ dot: 7,
305
+ gap: 1.5
306
+ },
307
+ lg: {
308
+ dot: 8,
309
+ gap: 2
310
+ }
311
+ };
312
+ function sizeAxis(step) {
313
+ const {
314
+ dot,
315
+ gap
316
+ } = step;
317
+ return theme => ({
318
+ indicator: {
319
+ gap: theme.spacing(gap)
320
+ },
321
+ dot: {
322
+ width: dot,
323
+ height: dot,
324
+ borderRadius: dot / 2
325
+ }
326
+ });
327
+ }
328
+ function orientationAxis(direction) {
329
+ return () => ({
330
+ indicator: {
331
+ flexDirection: direction
332
+ }
333
+ });
334
+ }
335
+ var pagerRecipe = createRecipe({
336
+ slots: SLOTS,
337
+ base: theme => ({
338
+ /**
339
+ * **The root has no size of its own**, and that is deliberate rather than missing.
340
+ *
341
+ * `flex: 1` here would have been the convenient default and it is a trap: React Native
342
+ * expands it to a zero flex-basis, which **overrides an explicit `height`** — so
343
+ * `<Pager height={240}>` would collapse to the height of its dots, and the prop the
344
+ * caller reached for would silently do nothing. It is the same reason there is no
345
+ * `fullWidth` on a `Button`: RN's own behaviour is the answer, and the caller says which
346
+ * of the two they want — `flex={1}` to fill a screen, `height={320}` inside a scroll
347
+ * view.
348
+ *
349
+ * The track keeps its `flex: 1`, so it takes whatever the root was given less the dots.
350
+ * Nothing sizes it from outside, which is why it is safe there and not here.
351
+ */
352
+ content: {
353
+ flex: 1
354
+ },
355
+ // A page is the size of the track on both axes, and that number is measured rather than
356
+ // named, so it arrives as an inline style instead of from here.
357
+ page: {
358
+ overflow: "hidden"
359
+ },
360
+ indicator: {
361
+ alignItems: "center",
362
+ justifyContent: "center"
363
+ },
364
+ /**
365
+ * A neutral fill rather than a faint version of the current one: a pale tint of the
366
+ * accent under the pages reads as a control that has half failed to load. A raw `color`
367
+ * reaches the current dot, which is the one it should move.
368
+ */
369
+ dot: {
370
+ backgroundColor: theme.colors.default
371
+ }
372
+ }),
373
+ variantTokens: VARIANT_TOKENS,
374
+ /**
375
+ * The current dot, **read as a value and never applied as a style**: the colour is
376
+ * interpolated on the UI thread, and `interpolateColor` needs a string rather than a
377
+ * `StyleSheet` id. The root flattens this slot into `dotInk`, so the recipe still owns it.
378
+ */
379
+ paint: (_theme, colors) => ({
380
+ dotActive: {
381
+ backgroundColor: colors.bgSelected
382
+ }
383
+ }),
384
+ variants: {
385
+ size: {
386
+ xs: sizeAxis(SIZES.xs),
387
+ sm: sizeAxis(SIZES.sm),
388
+ md: sizeAxis(SIZES.md),
389
+ lg: sizeAxis(SIZES.lg)
390
+ },
391
+ orientation: {
392
+ horizontal: orientationAxis("row"),
393
+ vertical: orientationAxis("column")
394
+ }
395
+ },
396
+ states: {
397
+ disabled: theme => ({
398
+ indicator: {
399
+ opacity: theme.opacity.disabled
400
+ }
401
+ })
402
+ },
403
+ defaultVariants: {
404
+ variant: "primary",
405
+ size: "md",
406
+ orientation: "horizontal"
407
+ }
408
+ });
409
+
410
+ // src/components/pager/pager.tsx
411
+ import { jsx as jsx4 } from "react/jsx-runtime";
412
+ var PagerRoot = forwardRef4(function Pager({
413
+ children,
414
+ variant,
415
+ size,
416
+ color,
417
+ orientation = "horizontal",
418
+ index: indexProp,
419
+ defaultIndex = 0,
420
+ onIndexChange,
421
+ isDisabled = false,
422
+ style,
423
+ ...props
424
+ }, ref) {
425
+ const theme = useXAUITheme();
426
+ const [styleProps, rest] = useStyleProps(props);
427
+ const [index, setIndex] = useControllableState({
428
+ value: indexProp,
429
+ defaultValue: defaultIndex,
430
+ onChange: onIndexChange
431
+ });
432
+ const [track, setTrack] = useState({
433
+ width: 0,
434
+ height: 0
435
+ });
436
+ const [count, setCount] = useState(0);
437
+ const trackRef = useAnimatedRef();
438
+ const offset = useSharedValue2(0);
439
+ const selection = {
440
+ variant,
441
+ size,
442
+ orientation
443
+ };
444
+ const states = {
445
+ disabled: isDisabled
446
+ };
447
+ const styles = pagerRecipe.resolve({
448
+ theme,
449
+ selection,
450
+ states
451
+ });
452
+ const tint = color ? pagerRecipe.tint({
453
+ theme,
454
+ color,
455
+ selection,
456
+ states
457
+ }) : void 0;
458
+ const step = orientation === "horizontal" ? track.width : track.height;
459
+ const goTo = useCallback(next => {
460
+ const distance = next * step;
461
+ trackRef.current?.scrollTo({
462
+ x: orientation === "horizontal" ? distance : 0,
463
+ y: orientation === "horizontal" ? 0 : distance,
464
+ animated: true
465
+ });
466
+ setIndex(next);
467
+ }, [orientation, setIndex, step, trackRef]);
468
+ const context = useMemo(() => {
469
+ const active = StyleSheet.flatten([styles.dotActive, tint?.dotActive]);
470
+ const at = StyleSheet.flatten([styles.dot]);
471
+ return {
472
+ contentStyle: styles.content,
473
+ pageStyle: styles.page,
474
+ indicatorStyle: styles.indicator,
475
+ dotStyle: styles.dot,
476
+ // Values rather than styles: the colour is interpolated on the UI thread, and
477
+ // `interpolateColor` needs strings. The fallbacks are the tokens the recipe named, for
478
+ // the platform colours `ColorValue` also covers.
479
+ dotInk: {
480
+ rest: typeof at.backgroundColor === "string" ? at.backgroundColor : theme.colors.default,
481
+ active: typeof active.backgroundColor === "string" ? active.backgroundColor : theme.colors.accent
482
+ },
483
+ orientation,
484
+ index,
485
+ count,
486
+ setCount,
487
+ track,
488
+ setTrack,
489
+ step,
490
+ offset,
491
+ goTo,
492
+ onSettle: setIndex,
493
+ trackRef,
494
+ isDisabled
495
+ };
496
+ }, [styles, tint, theme, orientation, index, count, track, setTrack, step, offset, goTo, setIndex, trackRef, isDisabled]);
497
+ const rootStyle = [styles.root, tint?.root, styleProps, style];
498
+ return /* @__PURE__ */jsx4(PagerProvider, {
499
+ value: context,
500
+ children: /* @__PURE__ */jsx4(View3, {
501
+ ref,
502
+ ...rest,
503
+ style: rootStyle,
504
+ children
505
+ })
506
+ });
507
+ });
508
+ PagerRoot.displayName = "XAUI.Pager.Root";
509
+
510
+ // src/components/pager/index.ts
511
+ var Pager2 = Object.assign(PagerRoot, {
512
+ Content: PagerContent,
513
+ Page: PagerPage,
514
+ Indicator: PagerIndicator,
515
+ Dot: PagerDot
516
+ });
517
+ export { usePager, PagerContent, PagerIndicator, PagerDot, PagerPage, pagerRecipe, PagerRoot, Pager2 as Pager };
@@ -1,7 +1,7 @@
1
1
  import { Portal } from "./chunk-2PMXMKS5.js";
2
2
  import { overlayEntering, overlayExiting } from "./chunk-64MXEVT3.js";
3
3
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
4
- import { PressableFeedback } from "./chunk-XZ42OWKC.js";
4
+ import { PressableFeedback } from "./chunk-2AFA5HA2.js";
5
5
  import { usePressState } from "./chunk-423RQBOX.js";
6
6
  import { createRecipe } from "./chunk-DKVXTMIJ.js";
7
7
  import { createSlotContext } from "./chunk-TTZOIXKE.js";
@@ -114,20 +114,20 @@ function nextSheetState(release, geometry) {
114
114
 
115
115
  // src/components/bottom-sheet/bottom-sheet-content.tsx
116
116
  import { jsx as jsx2 } from "react/jsx-runtime";
117
- const _worklet_10612522683628_init_data = {
118
- code: "function chunkKTI3GCFMJs1(event){const{runOnJS,release}=this.__closure;runOnJS(release)(event.translationY,event.velocityY);}",
119
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js",
120
- sourceMap: "{\"version\":3,\"names\":[\"chunkKTI3GCFMJs1\",\"event\",\"runOnJS\",\"release\",\"__closure\",\"translationY\",\"velocityY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js\"],\"mappings\":\"AAoNY,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,CAClBF,OAAO,CAACC,OAAO,CAAC,CAACF,KAAK,CAACI,YAAY,CAAEJ,KAAK,CAACK,SAAS,CAAC,CACvD\",\"ignoreList\":[]}"
117
+ const _worklet_14684169342373_init_data = {
118
+ code: "function chunkLECYGVIHJs1(event){const{runOnJS,release}=this.__closure;runOnJS(release)(event.translationY,event.velocityY);}",
119
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js",
120
+ sourceMap: "{\"version\":3,\"names\":[\"chunkLECYGVIHJs1\",\"event\",\"runOnJS\",\"release\",\"__closure\",\"translationY\",\"velocityY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js\"],\"mappings\":\"AAoNY,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,CAClBF,OAAO,CAACC,OAAO,CAAC,CAACF,KAAK,CAACI,YAAY,CAAEJ,KAAK,CAACK,SAAS,CAAC,CACvD\",\"ignoreList\":[]}"
121
121
  };
122
- const _worklet_9786166511998_init_data = {
123
- code: "function chunkKTI3GCFMJs2(event){const{offset,restingOffset}=this.__closure;offset.set(Math.max(restingOffset+event.translationY,0));}",
124
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js",
125
- sourceMap: "{\"version\":3,\"names\":[\"chunkKTI3GCFMJs2\",\"event\",\"offset\",\"restingOffset\",\"__closure\",\"set\",\"Math\",\"max\",\"translationY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js\"],\"mappings\":\"AAkN2D,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,MAAA,CAAAC,aAAA,OAAAC,SAAA,CACjEF,MAAM,CAACG,GAAG,CAACC,IAAI,CAACC,GAAG,CAACJ,aAAa,CAAGF,KAAK,CAACO,YAAY,CAAE,CAAC,CAAC,CAAC,CAC7D\",\"ignoreList\":[]}"
122
+ const _worklet_9004653620279_init_data = {
123
+ code: "function chunkLECYGVIHJs2(event){const{offset,restingOffset}=this.__closure;offset.set(Math.max(restingOffset+event.translationY,0));}",
124
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js",
125
+ sourceMap: "{\"version\":3,\"names\":[\"chunkLECYGVIHJs2\",\"event\",\"offset\",\"restingOffset\",\"__closure\",\"set\",\"Math\",\"max\",\"translationY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js\"],\"mappings\":\"AAkN2D,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,MAAA,CAAAC,aAAA,OAAAC,SAAA,CACjEF,MAAM,CAACG,GAAG,CAACC,IAAI,CAACC,GAAG,CAACJ,aAAa,CAAGF,KAAK,CAACO,YAAY,CAAE,CAAC,CAAC,CAAC,CAC7D\",\"ignoreList\":[]}"
126
126
  };
127
- const _worklet_10870874749816_init_data = {
128
- code: "function chunkKTI3GCFMJs3(){const{offset}=this.__closure;return{transform:[{translateY:offset.get()}]};}",
129
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js",
130
- sourceMap: "{\"version\":3,\"names\":[\"chunkKTI3GCFMJs3\",\"offset\",\"__closure\",\"transform\",\"translateY\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KTI3GCFM.js\"],\"mappings\":\"AAuNiC,SAAAA,iBAAA,QAAAC,MAAA,OAAAC,SAAA,OAAO,CACpCC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,MAAM,CAACI,GAAG,CAAC,CAAE,CAAC,CAC1C,CAAC\",\"ignoreList\":[]}"
127
+ const _worklet_2695769864753_init_data = {
128
+ code: "function chunkLECYGVIHJs3(){const{offset}=this.__closure;return{transform:[{translateY:offset.get()}]};}",
129
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js",
130
+ sourceMap: "{\"version\":3,\"names\":[\"chunkLECYGVIHJs3\",\"offset\",\"__closure\",\"transform\",\"translateY\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LECYGVIH.js\"],\"mappings\":\"AAuNiC,SAAAA,iBAAA,QAAAC,MAAA,OAAAC,SAAA,OAAO,CACpCC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,MAAM,CAACI,GAAG,CAAC,CAAE,CAAC,CAC1C,CAAC\",\"ignoreList\":[]}"
131
131
  };
132
132
  function BottomSheetContent({
133
133
  children,
@@ -187,71 +187,71 @@ function BottomSheetContent({
187
187
  expand();
188
188
  }, [close, collapse, dismissThreshold, expand, geometry, isExpanded, offset, resting]);
189
189
  const restingOffset = sheetOffset(resting, geometry);
190
- const pan = Gesture.Pan().enabled(isSwipeable).onUpdate(function chunkKTI3GCFMJs2Factory({
191
- _worklet_9786166511998_init_data,
190
+ const pan = Gesture.Pan().enabled(isSwipeable).onUpdate(function chunkLECYGVIHJs2Factory({
191
+ _worklet_9004653620279_init_data,
192
192
  offset,
193
193
  restingOffset
194
194
  }) {
195
195
  const _e = [new global.Error(), -3, -27];
196
- const chunkKTI3GCFMJs2 = function (event) {
196
+ const chunkLECYGVIHJs2 = function (event) {
197
197
  offset.set(Math.max(restingOffset + event.translationY, 0));
198
198
  };
199
- chunkKTI3GCFMJs2.__closure = {
199
+ chunkLECYGVIHJs2.__closure = {
200
200
  offset,
201
201
  restingOffset
202
202
  };
203
- chunkKTI3GCFMJs2.__workletHash = 9786166511998;
204
- chunkKTI3GCFMJs2.__pluginVersion = "0.7.4";
205
- chunkKTI3GCFMJs2.__initData = _worklet_9786166511998_init_data;
206
- chunkKTI3GCFMJs2.__stackDetails = _e;
207
- return chunkKTI3GCFMJs2;
203
+ chunkLECYGVIHJs2.__workletHash = 9004653620279;
204
+ chunkLECYGVIHJs2.__pluginVersion = "0.7.4";
205
+ chunkLECYGVIHJs2.__initData = _worklet_9004653620279_init_data;
206
+ chunkLECYGVIHJs2.__stackDetails = _e;
207
+ return chunkLECYGVIHJs2;
208
208
  }({
209
- _worklet_9786166511998_init_data,
209
+ _worklet_9004653620279_init_data,
210
210
  offset,
211
211
  restingOffset
212
- })).onEnd(function chunkKTI3GCFMJs1Factory({
213
- _worklet_10612522683628_init_data,
212
+ })).onEnd(function chunkLECYGVIHJs1Factory({
213
+ _worklet_14684169342373_init_data,
214
214
  runOnJS,
215
215
  release
216
216
  }) {
217
217
  const _e = [new global.Error(), -3, -27];
218
- const chunkKTI3GCFMJs1 = function (event) {
218
+ const chunkLECYGVIHJs1 = function (event) {
219
219
  runOnJS(release)(event.translationY, event.velocityY);
220
220
  };
221
- chunkKTI3GCFMJs1.__closure = {
221
+ chunkLECYGVIHJs1.__closure = {
222
222
  runOnJS,
223
223
  release
224
224
  };
225
- chunkKTI3GCFMJs1.__workletHash = 10612522683628;
226
- chunkKTI3GCFMJs1.__pluginVersion = "0.7.4";
227
- chunkKTI3GCFMJs1.__initData = _worklet_10612522683628_init_data;
228
- chunkKTI3GCFMJs1.__stackDetails = _e;
229
- return chunkKTI3GCFMJs1;
225
+ chunkLECYGVIHJs1.__workletHash = 14684169342373;
226
+ chunkLECYGVIHJs1.__pluginVersion = "0.7.4";
227
+ chunkLECYGVIHJs1.__initData = _worklet_14684169342373_init_data;
228
+ chunkLECYGVIHJs1.__stackDetails = _e;
229
+ return chunkLECYGVIHJs1;
230
230
  }({
231
- _worklet_10612522683628_init_data,
231
+ _worklet_14684169342373_init_data,
232
232
  runOnJS,
233
233
  release
234
234
  }));
235
- const slide = useAnimatedStyle(function chunkKTI3GCFMJs3Factory({
236
- _worklet_10870874749816_init_data,
235
+ const slide = useAnimatedStyle(function chunkLECYGVIHJs3Factory({
236
+ _worklet_2695769864753_init_data,
237
237
  offset
238
238
  }) {
239
239
  const _e = [new global.Error(), -2, -27];
240
- const chunkKTI3GCFMJs3 = () => ({
240
+ const chunkLECYGVIHJs3 = () => ({
241
241
  transform: [{
242
242
  translateY: offset.get()
243
243
  }]
244
244
  });
245
- chunkKTI3GCFMJs3.__closure = {
245
+ chunkLECYGVIHJs3.__closure = {
246
246
  offset
247
247
  };
248
- chunkKTI3GCFMJs3.__workletHash = 10870874749816;
249
- chunkKTI3GCFMJs3.__pluginVersion = "0.7.4";
250
- chunkKTI3GCFMJs3.__initData = _worklet_10870874749816_init_data;
251
- chunkKTI3GCFMJs3.__stackDetails = _e;
252
- return chunkKTI3GCFMJs3;
248
+ chunkLECYGVIHJs3.__workletHash = 2695769864753;
249
+ chunkLECYGVIHJs3.__pluginVersion = "0.7.4";
250
+ chunkLECYGVIHJs3.__initData = _worklet_2695769864753_init_data;
251
+ chunkLECYGVIHJs3.__stackDetails = _e;
252
+ return chunkLECYGVIHJs3;
253
253
  }({
254
- _worklet_10870874749816_init_data,
254
+ _worklet_2695769864753_init_data,
255
255
  offset
256
256
  }));
257
257
  if (!isOpen) return null;