@xaui/native 0.9.1-alpha.93 → 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.
- package/dist/{chunk-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
- package/dist/{chunk-PAQZOD2L.js → chunk-2JFMCW5E.js} +1 -1
- package/dist/{chunk-TPYOQSKT.js → chunk-2UNLQRXY.js} +1 -1
- package/dist/{chunk-GYEQEF5H.js → chunk-356DND54.js} +1 -1
- package/dist/{chunk-OD6H7ANY.js → chunk-3BRVAMXQ.js} +2 -2
- package/dist/{chunk-QCH7X7O2.cjs → chunk-3DQCHPB6.cjs} +14 -14
- package/dist/{chunk-B33OU34Z.cjs → chunk-3MMOZP4Y.cjs} +20 -20
- package/dist/chunk-3TBT6ORW.cjs +662 -0
- package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
- package/dist/{chunk-CBXILKQZ.cjs → chunk-435MOVG2.cjs} +3 -3
- package/dist/{chunk-2B6PUYTP.cjs → chunk-55KGHYYU.cjs} +4 -4
- package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
- package/dist/{chunk-FVEMTBU4.js → chunk-5G36GMFS.js} +3 -3
- package/dist/{chunk-BI5ME4QP.cjs → chunk-5UT5I53X.cjs} +8 -8
- package/dist/{chunk-V2CEKPJ6.js → chunk-6MVKLRLZ.js} +1 -1
- package/dist/{chunk-RSIWSVXI.js → chunk-6NAZ2IHL.js} +1 -1
- package/dist/{chunk-LPJ3UBSO.cjs → chunk-6NRWZR7T.cjs} +2 -2
- package/dist/{chunk-7NQL5DXY.js → chunk-6XY3XAEQ.js} +1 -1
- package/dist/{chunk-UEW3GAP5.cjs → chunk-6ZWQDTGQ.cjs} +5 -5
- package/dist/{chunk-ODQHAPQW.js → chunk-73EVNWZI.js} +25 -23
- package/dist/{chunk-VMPCXS4S.js → chunk-7EPH24S2.js} +23 -21
- package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
- package/dist/{chunk-FXN32S75.cjs → chunk-ADGHFLBJ.cjs} +4 -4
- package/dist/{chunk-OPLPLFGK.cjs → chunk-AHKKEM3K.cjs} +66 -23
- package/dist/{chunk-WRZV6ORJ.js → chunk-AYOJXFHR.js} +1 -1
- package/dist/{chunk-MMFIMQMQ.js → chunk-BBQQIO6L.js} +6 -6
- package/dist/{chunk-PROLOLZ5.cjs → chunk-BGBJTBFC.cjs} +3 -3
- package/dist/{chunk-RXEUKYM5.js → chunk-BH4IN6H6.js} +2 -2
- package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
- package/dist/{chunk-CYOUOQXT.cjs → chunk-C2S6J27O.cjs} +6 -6
- package/dist/chunk-C6JO2RTV.cjs +752 -0
- package/dist/{chunk-NVODH2PR.js → chunk-CCTAJXZ3.js} +63 -61
- package/dist/{chunk-ORXVXYKC.cjs → chunk-CHGBWFDI.cjs} +63 -26
- package/dist/chunk-CS6CYB4I.cjs +260 -0
- package/dist/{chunk-WLJPO3AS.cjs → chunk-CZ2NUGUI.cjs} +357 -201
- package/dist/{chunk-PYQ2P3M5.cjs → chunk-CZEWWCWG.cjs} +58 -58
- package/dist/{chunk-PDSR42YC.cjs → chunk-D22K3NZU.cjs} +3 -3
- package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
- package/dist/chunk-ETY5PM3E.cjs +797 -0
- package/dist/{chunk-62AYYMZP.cjs → chunk-FDYPWVNP.cjs} +3 -3
- package/dist/{chunk-PAQD6UUF.cjs → chunk-FLKTJ46K.cjs} +17 -17
- package/dist/{chunk-EBCAPIBD.js → chunk-FSVZXWLZ.js} +71 -51
- package/dist/{chunk-FOOXBVOQ.js → chunk-GVZJNIHN.js} +184 -68
- package/dist/chunk-GWTURY4S.cjs +999 -0
- package/dist/{chunk-OW4N2C3M.cjs → chunk-HBYT7B47.cjs} +88 -61
- package/dist/{chunk-7EVW6O2Q.js → chunk-HDERVGWZ.js} +2 -2
- package/dist/{chunk-XWIPLZTD.cjs → chunk-HOV25N3M.cjs} +2 -2
- package/dist/{chunk-5MMBEDZG.cjs → chunk-I3XIZWCV.cjs} +29 -29
- package/dist/{chunk-EDNCHCIN.cjs → chunk-IAJG7GYE.cjs} +2 -2
- package/dist/{chunk-P7OHZCU3.js → chunk-IAWLQN2W.js} +2 -2
- package/dist/{chunk-RCSEVEIR.js → chunk-ICVIWXK4.js} +1 -1
- package/dist/chunk-IHRPAKCZ.cjs +540 -0
- package/dist/{chunk-ZWS3FQ3J.js → chunk-IUDQG3JI.js} +57 -57
- package/dist/{chunk-JKDWYNSG.js → chunk-IVELCJEN.js} +110 -108
- package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
- package/dist/{chunk-QN2D5ZCS.cjs → chunk-KAYZH7ZN.cjs} +4 -4
- package/dist/{chunk-RREJUSAS.cjs → chunk-KIXHSX3L.cjs} +4 -4
- package/dist/{chunk-2AFA5HA2.js → chunk-KQW25RCC.js} +77 -75
- package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
- package/dist/{chunk-J5COSALO.cjs → chunk-L4B6Z45Q.cjs} +5 -5
- package/dist/{chunk-X4CZYJZ6.cjs → chunk-LCGJA37L.cjs} +12 -12
- package/dist/{chunk-P2CJNTAP.js → chunk-LMMHAGOM.js} +33 -22
- package/dist/{chunk-SUJLTC2K.js → chunk-LPGY2IDX.js} +1 -1
- package/dist/{chunk-P5M5URAB.js → chunk-LSZW4G7B.js} +31 -31
- package/dist/{chunk-LECYGVIH.js → chunk-LYWXGEED.js} +51 -49
- package/dist/{chunk-VQGNLX5C.js → chunk-M352N6PQ.js} +6 -6
- package/dist/{chunk-AIND5F7P.js → chunk-MTQGFUW5.js} +29 -29
- package/dist/{chunk-ZKGVOXLQ.js → chunk-MXSIY6QQ.js} +4 -4
- package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
- package/dist/{chunk-DYQB54JA.cjs → chunk-NPAGA6SH.cjs} +2 -2
- package/dist/{chunk-O6B72H4B.js → chunk-NQDTGYHC.js} +7 -9
- package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
- package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
- package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
- package/dist/{chunk-QELEKXN3.cjs → chunk-OMI2FRCU.cjs} +5 -5
- package/dist/{chunk-E4FWGZH2.js → chunk-OUNTRW6E.js} +5 -5
- package/dist/{chunk-JBZ7SBRV.cjs → chunk-Q3ZKZ2Y6.cjs} +3 -3
- package/dist/chunk-QRH45OO3.cjs +903 -0
- package/dist/{chunk-6RU6GUJP.js → chunk-QZF7RSVV.js} +1 -1
- package/dist/{chunk-UYQLW7OD.js → chunk-RAYO2TJL.js} +2 -2
- package/dist/{chunk-FRLWG5LM.js → chunk-RFT5MGJC.js} +25 -25
- package/dist/{chunk-USIWPESU.js → chunk-SIX5AVXG.js} +1 -1
- package/dist/chunk-SVS726BW.js +822 -0
- package/dist/{chunk-GGP2ERSV.js → chunk-T5ES7FOL.js} +1 -1
- package/dist/{chunk-JJYHW4PV.js → chunk-TNFLBURM.js} +2 -2
- package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
- package/dist/chunk-USQK6SFZ.cjs +627 -0
- package/dist/{chunk-MSORLKO7.cjs → chunk-V3C3ATRO.cjs} +2 -2
- package/dist/{chunk-TCWW7JI2.js → chunk-V5FYHQKQ.js} +111 -94
- package/dist/{chunk-CBRW53GN.cjs → chunk-V5V2QYFH.cjs} +43 -27
- package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
- package/dist/{chunk-TRWZEOCO.js → chunk-VL2ZT4BB.js} +5 -5
- package/dist/{chunk-2SHWOFQV.js → chunk-VQ4OTVET.js} +29 -29
- package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
- package/dist/{chunk-6GQ7UTJ7.cjs → chunk-VXAIFOXL.cjs} +2 -2
- package/dist/{chunk-BJVO7DWJ.js → chunk-W4F4NQXM.js} +1 -1
- package/dist/{chunk-JC4YCKKL.js → chunk-WIGDDZHO.js} +198 -82
- package/dist/{chunk-ZE4IHUUO.cjs → chunk-WNEDQTH6.cjs} +2 -2
- package/dist/chunk-WSDDUVF6.cjs +395 -0
- package/dist/{chunk-QHXTO525.js → chunk-WYJHDTU7.js} +1 -1
- package/dist/{chunk-RLC3EXMV.js → chunk-XM4IN4Q6.js} +2 -2
- package/dist/chunk-XXXR2AD3.cjs +94 -0
- package/dist/{chunk-AR7667VN.cjs → chunk-YJA7OQQZ.cjs} +4 -4
- package/dist/{chunk-LKRQUQZQ.cjs → chunk-YRANVNJG.cjs} +2 -2
- package/dist/{chunk-WIX4SYZI.cjs → chunk-YUCK5VJO.cjs} +10 -10
- package/dist/chunk-ZBFBF7S4.cjs +1054 -0
- package/dist/{chunk-52XUGOLD.js → chunk-ZBY7Q7WJ.js} +3 -3
- package/dist/chunk-ZDJQ643D.js +62 -0
- package/dist/{chunk-QUSQEYLP.cjs → chunk-ZNKHL5O6.cjs} +30 -32
- package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
- package/dist/components/accordion/accordion.animation.d.cts +1 -1
- package/dist/components/accordion/accordion.animation.d.ts +1 -1
- package/dist/components/accordion/accordion.type.d.cts +1 -1
- package/dist/components/accordion/accordion.type.d.ts +1 -1
- package/dist/components/accordion/index.cjs +3 -3
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-calendar/agenda-calendar-today-button.d.cts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar-today-button.d.ts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.cts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.ts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.cts +4 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.ts +4 -1
- package/dist/components/agenda-calendar/index.cjs +4 -4
- package/dist/components/agenda-calendar/index.js +3 -3
- package/dist/components/alert/alert-icon.d.cts +2 -2
- package/dist/components/alert/alert-icon.d.ts +2 -2
- package/dist/components/alert/alert.type.d.cts +1 -1
- package/dist/components/alert/alert.type.d.ts +1 -1
- package/dist/components/alert/index.cjs +4 -4
- package/dist/components/alert/index.js +3 -3
- package/dist/components/autocomplete/autocomplete-description.d.cts +14 -0
- package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
- package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
- package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
- package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
- package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
- package/dist/components/autocomplete/autocomplete.d.cts +50 -7
- package/dist/components/autocomplete/autocomplete.d.ts +50 -7
- package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
- package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
- package/dist/components/autocomplete/index.cjs +11 -4
- package/dist/components/autocomplete/index.d.cts +50 -3
- package/dist/components/autocomplete/index.d.ts +50 -3
- package/dist/components/autocomplete/index.js +10 -3
- package/dist/components/avatar/avatar-fallback.d.cts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar.d.cts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.type.d.cts +1 -1
- package/dist/components/avatar/avatar.type.d.ts +1 -1
- package/dist/components/avatar/index.cjs +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/index.cjs +3 -3
- package/dist/components/bottom-sheet/index.js +2 -2
- package/dist/components/button/index.cjs +3 -3
- package/dist/components/button/index.js +2 -2
- package/dist/components/calendar/index.cjs +3 -3
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/card-background.d.cts +1 -1
- package/dist/components/card/card-background.d.ts +1 -1
- package/dist/components/card/card.utils.d.cts +1 -1
- package/dist/components/card/card.utils.d.ts +1 -1
- package/dist/components/card/index.cjs +3 -3
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.cjs +3 -3
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
- package/dist/components/checkbox/checkbox.type.d.cts +1 -1
- package/dist/components/checkbox/checkbox.type.d.ts +1 -1
- package/dist/components/checkbox/index.cjs +3 -3
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/chip/chip.type.d.cts +1 -1
- package/dist/components/chip/chip.type.d.ts +1 -1
- package/dist/components/chip/index.cjs +4 -4
- package/dist/components/chip/index.js +3 -3
- package/dist/components/close-button/index.cjs +4 -4
- package/dist/components/close-button/index.js +3 -3
- package/dist/components/color-picker/index.cjs +9 -9
- package/dist/components/color-picker/index.js +8 -8
- package/dist/components/combobox/combobox.type.d.cts +5 -1
- package/dist/components/combobox/combobox.type.d.ts +5 -1
- package/dist/components/combobox/index.cjs +6 -5
- package/dist/components/combobox/index.d.cts +15 -1
- package/dist/components/combobox/index.d.ts +15 -1
- package/dist/components/combobox/index.js +5 -4
- package/dist/components/date-picker/index.cjs +6 -6
- package/dist/components/date-picker/index.js +5 -5
- package/dist/components/date-range-picker/index.cjs +7 -7
- package/dist/components/date-range-picker/index.js +6 -6
- package/dist/components/date-time-picker/date-time-picker-indicator.d.cts +2 -2
- package/dist/components/date-time-picker/date-time-picker-indicator.d.ts +2 -2
- package/dist/components/date-time-picker/date-time-picker.type.d.cts +3 -2
- package/dist/components/date-time-picker/date-time-picker.type.d.ts +3 -2
- package/dist/components/date-time-picker/index.cjs +9 -10
- package/dist/components/date-time-picker/index.d.cts +1 -1
- package/dist/components/date-time-picker/index.d.ts +1 -1
- package/dist/components/date-time-picker/index.js +8 -9
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dummy-field/index.cjs +6 -6
- package/dist/components/dummy-field/index.js +5 -5
- package/dist/components/fab/index.cjs +3 -3
- package/dist/components/fab/index.js +2 -2
- package/dist/components/field-group/field-group-icon.d.cts +1 -1
- package/dist/components/field-group/field-group-icon.d.ts +1 -1
- package/dist/components/field-group/index.cjs +4 -4
- package/dist/components/field-group/index.js +3 -3
- package/dist/components/flip-card/index.cjs +3 -3
- package/dist/components/flip-card/index.js +2 -2
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/input-otp/input-otp.type.d.cts +1 -1
- package/dist/components/input-otp/input-otp.type.d.ts +1 -1
- package/dist/components/list-box/index.cjs +2 -2
- package/dist/components/list-box/index.js +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
- package/dist/components/mask-field/index.cjs +5 -5
- package/dist/components/mask-field/index.js +4 -4
- package/dist/components/menu/index.cjs +3 -3
- package/dist/components/menu/index.js +2 -2
- package/dist/components/morph-button/index.cjs +3 -3
- package/dist/components/morph-button/index.js +2 -2
- package/dist/components/number-field/index.cjs +5 -5
- package/dist/components/number-field/index.js +4 -4
- package/dist/components/number-field/number-field-increment.d.cts +2 -2
- package/dist/components/number-field/number-field-increment.d.ts +2 -2
- package/dist/components/number-pad/index.cjs +3 -3
- package/dist/components/number-pad/index.js +2 -2
- package/dist/components/number-stepper/index.cjs +3 -3
- package/dist/components/number-stepper/index.js +2 -2
- package/dist/components/pager/index.cjs +2 -2
- package/dist/components/pager/index.js +1 -1
- package/dist/components/phone-number-field/index.cjs +43 -36
- package/dist/components/phone-number-field/index.js +15 -8
- package/dist/components/popover/index.cjs +3 -3
- package/dist/components/popover/index.js +2 -2
- package/dist/components/popover/popover.recipe.d.cts +1 -1
- package/dist/components/popover/popover.recipe.d.ts +1 -1
- package/dist/components/radio/index.cjs +3 -3
- package/dist/components/radio/index.js +2 -2
- package/dist/components/range-calendar/index.cjs +4 -4
- package/dist/components/range-calendar/index.js +3 -3
- package/dist/components/rating/index.cjs +3 -3
- package/dist/components/rating/index.js +2 -2
- package/dist/components/search-field/index.cjs +7 -7
- package/dist/components/search-field/index.js +6 -6
- package/dist/components/segment/index.cjs +4 -4
- package/dist/components/segment/index.js +2 -2
- package/dist/components/select/index.cjs +11 -4
- package/dist/components/select/index.d.cts +45 -4
- package/dist/components/select/index.d.ts +45 -4
- package/dist/components/select/index.js +10 -3
- package/dist/components/select/select-description.d.cts +14 -0
- package/dist/components/select/select-description.d.ts +14 -0
- package/dist/components/select/select-error.d.cts +13 -0
- package/dist/components/select/select-error.d.ts +13 -0
- package/dist/components/select/select-group-label.d.cts +11 -0
- package/dist/components/select/select-group-label.d.ts +11 -0
- package/dist/components/select/select-indicator.d.cts +1 -1
- package/dist/components/select/select-indicator.d.ts +1 -1
- package/dist/components/select/select-label.d.cts +11 -2
- package/dist/components/select/select-label.d.ts +11 -2
- package/dist/components/select/select.d.cts +49 -9
- package/dist/components/select/select.d.ts +49 -9
- package/dist/components/select/select.recipe.d.cts +1 -1
- package/dist/components/select/select.recipe.d.ts +1 -1
- package/dist/components/select/select.type.d.cts +33 -9
- package/dist/components/select/select.type.d.ts +33 -9
- package/dist/components/skeleton/skeleton.type.d.cts +1 -1
- package/dist/components/skeleton/skeleton.type.d.ts +1 -1
- package/dist/components/slide-button/index.cjs +30 -0
- package/dist/components/slide-button/index.d.cts +44 -0
- package/dist/components/slide-button/index.d.ts +44 -0
- package/dist/components/slide-button/index.js +30 -0
- package/dist/components/slide-button/slide-button-fill.d.cts +29 -0
- package/dist/components/slide-button/slide-button-fill.d.ts +29 -0
- package/dist/components/slide-button/slide-button-icon.d.cts +10 -0
- package/dist/components/slide-button/slide-button-icon.d.ts +10 -0
- package/dist/components/slide-button/slide-button-label.d.cts +20 -0
- package/dist/components/slide-button/slide-button-label.d.ts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.cts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.ts +20 -0
- package/dist/components/slide-button/slide-button.animation.d.cts +33 -0
- package/dist/components/slide-button/slide-button.animation.d.ts +33 -0
- package/dist/components/slide-button/slide-button.context.d.cts +7 -0
- package/dist/components/slide-button/slide-button.context.d.ts +7 -0
- package/dist/components/slide-button/slide-button.d.cts +56 -0
- package/dist/components/slide-button/slide-button.d.ts +56 -0
- package/dist/components/slide-button/slide-button.recipe.d.cts +31 -0
- package/dist/components/slide-button/slide-button.recipe.d.ts +31 -0
- package/dist/components/slide-button/slide-button.type.d.cts +79 -0
- package/dist/components/slide-button/slide-button.type.d.ts +79 -0
- package/dist/components/slider/index.cjs +2 -2
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider-thumb.d.cts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +1 -1
- package/dist/components/slider/slider.recipe.d.cts +1 -1
- package/dist/components/slider/slider.recipe.d.ts +1 -1
- package/dist/components/snackbar/index.cjs +3 -3
- package/dist/components/snackbar/index.js +2 -2
- package/dist/components/spinner/spinner.d.cts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/switch/index.cjs +3 -3
- package/dist/components/switch/index.js +2 -2
- package/dist/components/switch/switch.style.d.cts +1 -1
- package/dist/components/switch/switch.style.d.ts +1 -1
- package/dist/components/table/index.cjs +4 -4
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.cjs +4 -4
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tag-group/index.cjs +4 -4
- package/dist/components/tag-group/index.js +3 -3
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-area/text-area.d.cts +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/components/text-field/index.cjs +3 -3
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/text-field/text-field.type.d.cts +4 -4
- package/dist/components/text-field/text-field.type.d.ts +4 -4
- package/dist/components/time-picker/index.cjs +5 -6
- package/dist/components/time-picker/index.d.cts +1 -1
- package/dist/components/time-picker/index.d.ts +1 -1
- package/dist/components/time-picker/index.js +4 -5
- package/dist/components/time-picker/time-picker-display.d.cts +3 -3
- package/dist/components/time-picker/time-picker-display.d.ts +3 -3
- package/dist/components/time-picker/time-picker-indicator.d.cts +2 -2
- package/dist/components/time-picker/time-picker-indicator.d.ts +2 -2
- package/dist/components/time-picker/time-picker.d.cts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/time-picker/time-picker.type.d.cts +11 -1
- package/dist/components/time-picker/time-picker.type.d.ts +11 -1
- package/dist/components/toast/index.cjs +3 -3
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toast/toast.animation.d.cts +2 -2
- package/dist/components/toast/toast.animation.d.ts +2 -2
- package/dist/components/toast/toast.utils.d.cts +1 -1
- package/dist/components/toast/toast.utils.d.ts +1 -1
- package/dist/components/toggle-button/index.cjs +3 -3
- package/dist/components/toggle-button/index.js +2 -2
- package/dist/components/typography/typography.type.d.cts +1 -1
- package/dist/components/typography/typography.type.d.ts +1 -1
- package/dist/components/wheel-picker/index.cjs +2 -2
- package/dist/components/wheel-picker/index.js +1 -1
- package/dist/hooks/use-rotation.d.cts +1 -1
- package/dist/hooks/use-rotation.d.ts +1 -1
- package/dist/index.cjs +74 -63
- package/dist/index.js +92 -81
- package/dist/system/anchored/indicator-spring.d.cts +2 -2
- package/dist/system/anchored/indicator-spring.d.ts +2 -2
- package/dist/system/index.cjs +3 -3
- package/dist/system/index.js +2 -2
- package/dist/theme/derive-colors.d.cts +1 -1
- package/dist/theme/derive-colors.d.ts +1 -1
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +1 -1
- package/dist/utils/time.d.cts +29 -0
- package/dist/utils/time.d.ts +29 -0
- package/package.json +11 -11
- package/dist/chunk-3MRCSXGT.js +0 -73
- package/dist/chunk-5E6SHYEQ.cjs +0 -631
- package/dist/chunk-6JAGPPZU.cjs +0 -788
- package/dist/chunk-CEPX7CKM.cjs +0 -365
- package/dist/chunk-CHFPFYNV.js +0 -60
- package/dist/chunk-ECR6GPJ6.js +0 -198
- package/dist/chunk-GBTNFQXN.cjs +0 -33
- package/dist/chunk-GZAGWNQM.cjs +0 -719
- package/dist/chunk-ILXKBDC6.cjs +0 -209
- package/dist/chunk-IPD3IUE2.cjs +0 -640
- package/dist/chunk-P2V6PIM7.cjs +0 -478
- package/dist/chunk-Q2BWXT55.cjs +0 -1011
- package/dist/chunk-UFKSUELU.cjs +0 -453
- package/dist/chunk-W4IPOWLY.cjs +0 -198
- package/dist/chunk-YSTLHVQV.cjs +0 -73
- package/dist/components/time-field/index.cjs +0 -27
- package/dist/components/time-field/index.d.cts +0 -52
- package/dist/components/time-field/index.d.ts +0 -52
- package/dist/components/time-field/index.js +0 -27
- package/dist/components/time-field/time-field-field.d.cts +0 -11
- package/dist/components/time-field/time-field-field.d.ts +0 -11
- package/dist/components/time-field/time-field-period.d.cts +0 -34
- package/dist/components/time-field/time-field-period.d.ts +0 -34
- package/dist/components/time-field/time-field.context.d.cts +0 -9
- package/dist/components/time-field/time-field.context.d.ts +0 -9
- package/dist/components/time-field/time-field.d.cts +0 -56
- package/dist/components/time-field/time-field.d.ts +0 -56
- package/dist/components/time-field/time-field.type.d.cts +0 -72
- package/dist/components/time-field/time-field.type.d.ts +0 -72
- package/dist/utils/time-mask.d.cts +0 -68
- package/dist/utils/time-mask.d.ts +0 -68
|
@@ -86,25 +86,25 @@ var THUMB_SPRING = {
|
|
|
86
86
|
|
|
87
87
|
// src/components/slider/slider-thumb.tsx
|
|
88
88
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
89
|
-
const
|
|
90
|
-
code: "function
|
|
91
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
92
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
89
|
+
const _worklet_6912437918483_init_data = {
|
|
90
|
+
code: "function chunkCCTAJXZ3Js1(){const{pressed,withSpring,THUMB_SPRING,runOnJS,commit}=this.__closure;pressed.set(withSpring(0,THUMB_SPRING));runOnJS(commit)();}",
|
|
91
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js",
|
|
92
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCCTAJXZ3Js1\",\"pressed\",\"withSpring\",\"THUMB_SPRING\",\"runOnJS\",\"commit\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js\"],\"mappings\":\"AAwHgB,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,CAAAC,UAAA,CAAAC,YAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAClBL,OAAO,CAACM,GAAG,CAACL,UAAU,CAAC,CAAC,CAAEC,YAAY,CAAC,CAAC,CACxCC,OAAO,CAACC,MAAM,CAAC,CAAC,CAAC,CACnB\",\"ignoreList\":[]}"
|
|
93
93
|
};
|
|
94
|
-
const
|
|
95
|
-
code: "function
|
|
96
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
97
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
94
|
+
const _worklet_12390939974913_init_data = {
|
|
95
|
+
code: "function chunkCCTAJXZ3Js2(event){const{runOnJS,move,start,vertical}=this.__closure;runOnJS(move)(start.get()+(vertical?-event.translationY:event.translationX));}",
|
|
96
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js",
|
|
97
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCCTAJXZ3Js2\",\"event\",\"runOnJS\",\"move\",\"start\",\"vertical\",\"__closure\",\"get\",\"translationY\",\"translationX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js\"],\"mappings\":\"AAoHe,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,QAAA,OAAAC,SAAA,CACrBJ,OAAO,CAACC,IAAI,CAAC,CACXC,KAAK,CAACG,GAAG,CAAC,CAAC,EAAIF,QAAQ,CAAG,CAACJ,KAAK,CAACO,YAAY,CAAGP,KAAK,CAACQ,YAAY,CACpE,CAAC,CACH\",\"ignoreList\":[]}"
|
|
98
98
|
};
|
|
99
|
-
const
|
|
100
|
-
code: "function
|
|
101
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
102
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
99
|
+
const _worklet_1015993362779_init_data = {
|
|
100
|
+
code: "function chunkCCTAJXZ3Js3(){const{start,fraction,travel,pressed,withSpring,THUMB_SPRING}=this.__closure;start.set(fraction*travel);pressed.set(withSpring(1,THUMB_SPRING));}",
|
|
101
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js",
|
|
102
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCCTAJXZ3Js3\",\"start\",\"fraction\",\"travel\",\"pressed\",\"withSpring\",\"THUMB_SPRING\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js\"],\"mappings\":\"AAiHyD,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,QAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,UAAA,CAAAC,YAAA,OAAAC,SAAA,CAC3DN,KAAK,CAACO,GAAG,CAACN,QAAQ,CAAGC,MAAM,CAAC,CAC5BC,OAAO,CAACI,GAAG,CAACH,UAAU,CAAC,CAAC,CAAEC,YAAY,CAAC,CAAC,CAC1C\",\"ignoreList\":[]}"
|
|
103
103
|
};
|
|
104
|
-
const
|
|
105
|
-
code: "function
|
|
106
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
107
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
104
|
+
const _worklet_10889139921917_init_data = {
|
|
105
|
+
code: "function chunkCCTAJXZ3Js4(){const{pressed,THUMB_PRESSED_SCALE}=this.__closure;return{transform:[{scale:1+pressed.get()*(THUMB_PRESSED_SCALE-1)}]};}",
|
|
106
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js",
|
|
107
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCCTAJXZ3Js4\",\"pressed\",\"THUMB_PRESSED_SCALE\",\"__closure\",\"transform\",\"scale\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CCTAJXZ3.js\"],\"mappings\":\"AA4HiC,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,CAAAC,mBAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,KAAK,CAAE,CAAC,CAAGJ,OAAO,CAACK,GAAG,CAAC,CAAC,EAAIJ,mBAAmB,CAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CAClF\",\"ignoreList\":[]}"
|
|
108
108
|
};
|
|
109
109
|
function SliderThumb({
|
|
110
110
|
index = 0,
|
|
@@ -134,8 +134,8 @@ function SliderThumb({
|
|
|
134
134
|
const fraction = fractions[index] ?? fractions[0];
|
|
135
135
|
const start = useSharedValue(0);
|
|
136
136
|
const move = useCallback(along => slideTo(index, travel === 0 ? 0 : along / travel), [index, slideTo, travel]);
|
|
137
|
-
const pan = Gesture.Pan().enabled(!isDisabled).onBegin(function
|
|
138
|
-
|
|
137
|
+
const pan = Gesture.Pan().enabled(!isDisabled).onBegin(function chunkCCTAJXZ3Js3Factory({
|
|
138
|
+
_worklet_1015993362779_init_data,
|
|
139
139
|
start,
|
|
140
140
|
fraction,
|
|
141
141
|
travel,
|
|
@@ -144,11 +144,11 @@ function SliderThumb({
|
|
|
144
144
|
THUMB_SPRING
|
|
145
145
|
}) {
|
|
146
146
|
const _e = [new global.Error(), -7, -27];
|
|
147
|
-
const
|
|
147
|
+
const chunkCCTAJXZ3Js3 = function () {
|
|
148
148
|
start.set(fraction * travel);
|
|
149
149
|
pressed.set(withSpring(1, THUMB_SPRING));
|
|
150
150
|
};
|
|
151
|
-
|
|
151
|
+
chunkCCTAJXZ3Js3.__closure = {
|
|
152
152
|
start,
|
|
153
153
|
fraction,
|
|
154
154
|
travel,
|
|
@@ -156,49 +156,49 @@ function SliderThumb({
|
|
|
156
156
|
withSpring,
|
|
157
157
|
THUMB_SPRING
|
|
158
158
|
};
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return
|
|
159
|
+
chunkCCTAJXZ3Js3.__workletHash = 1015993362779;
|
|
160
|
+
chunkCCTAJXZ3Js3.__pluginVersion = "0.7.4";
|
|
161
|
+
chunkCCTAJXZ3Js3.__initData = _worklet_1015993362779_init_data;
|
|
162
|
+
chunkCCTAJXZ3Js3.__stackDetails = _e;
|
|
163
|
+
return chunkCCTAJXZ3Js3;
|
|
164
164
|
}({
|
|
165
|
-
|
|
165
|
+
_worklet_1015993362779_init_data,
|
|
166
166
|
start,
|
|
167
167
|
fraction,
|
|
168
168
|
travel,
|
|
169
169
|
pressed,
|
|
170
170
|
withSpring,
|
|
171
171
|
THUMB_SPRING
|
|
172
|
-
})).onUpdate(function
|
|
173
|
-
|
|
172
|
+
})).onUpdate(function chunkCCTAJXZ3Js2Factory({
|
|
173
|
+
_worklet_12390939974913_init_data,
|
|
174
174
|
runOnJS,
|
|
175
175
|
move,
|
|
176
176
|
start,
|
|
177
177
|
vertical
|
|
178
178
|
}) {
|
|
179
179
|
const _e = [new global.Error(), -5, -27];
|
|
180
|
-
const
|
|
180
|
+
const chunkCCTAJXZ3Js2 = function (event) {
|
|
181
181
|
runOnJS(move)(start.get() + (vertical ? -event.translationY : event.translationX));
|
|
182
182
|
};
|
|
183
|
-
|
|
183
|
+
chunkCCTAJXZ3Js2.__closure = {
|
|
184
184
|
runOnJS,
|
|
185
185
|
move,
|
|
186
186
|
start,
|
|
187
187
|
vertical
|
|
188
188
|
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return
|
|
189
|
+
chunkCCTAJXZ3Js2.__workletHash = 12390939974913;
|
|
190
|
+
chunkCCTAJXZ3Js2.__pluginVersion = "0.7.4";
|
|
191
|
+
chunkCCTAJXZ3Js2.__initData = _worklet_12390939974913_init_data;
|
|
192
|
+
chunkCCTAJXZ3Js2.__stackDetails = _e;
|
|
193
|
+
return chunkCCTAJXZ3Js2;
|
|
194
194
|
}({
|
|
195
|
-
|
|
195
|
+
_worklet_12390939974913_init_data,
|
|
196
196
|
runOnJS,
|
|
197
197
|
move,
|
|
198
198
|
start,
|
|
199
199
|
vertical
|
|
200
|
-
})).onFinalize(function
|
|
201
|
-
|
|
200
|
+
})).onFinalize(function chunkCCTAJXZ3Js1Factory({
|
|
201
|
+
_worklet_6912437918483_init_data,
|
|
202
202
|
pressed,
|
|
203
203
|
withSpring,
|
|
204
204
|
THUMB_SPRING,
|
|
@@ -206,55 +206,57 @@ function SliderThumb({
|
|
|
206
206
|
commit
|
|
207
207
|
}) {
|
|
208
208
|
const _e = [new global.Error(), -6, -27];
|
|
209
|
-
const
|
|
209
|
+
const chunkCCTAJXZ3Js1 = function () {
|
|
210
210
|
pressed.set(withSpring(0, THUMB_SPRING));
|
|
211
211
|
runOnJS(commit)();
|
|
212
212
|
};
|
|
213
|
-
|
|
213
|
+
chunkCCTAJXZ3Js1.__closure = {
|
|
214
214
|
pressed,
|
|
215
215
|
withSpring,
|
|
216
216
|
THUMB_SPRING,
|
|
217
217
|
runOnJS,
|
|
218
218
|
commit
|
|
219
219
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
return
|
|
220
|
+
chunkCCTAJXZ3Js1.__workletHash = 6912437918483;
|
|
221
|
+
chunkCCTAJXZ3Js1.__pluginVersion = "0.7.4";
|
|
222
|
+
chunkCCTAJXZ3Js1.__initData = _worklet_6912437918483_init_data;
|
|
223
|
+
chunkCCTAJXZ3Js1.__stackDetails = _e;
|
|
224
|
+
return chunkCCTAJXZ3Js1;
|
|
225
225
|
}({
|
|
226
|
-
|
|
226
|
+
_worklet_6912437918483_init_data,
|
|
227
227
|
pressed,
|
|
228
228
|
withSpring,
|
|
229
229
|
THUMB_SPRING,
|
|
230
230
|
runOnJS,
|
|
231
231
|
commit
|
|
232
232
|
}));
|
|
233
|
-
const scale = useAnimatedStyle(function
|
|
234
|
-
|
|
233
|
+
const scale = useAnimatedStyle(function chunkCCTAJXZ3Js4Factory({
|
|
234
|
+
_worklet_10889139921917_init_data,
|
|
235
235
|
pressed,
|
|
236
236
|
THUMB_PRESSED_SCALE
|
|
237
237
|
}) {
|
|
238
238
|
const _e = [new global.Error(), -3, -27];
|
|
239
|
-
const
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
const chunkCCTAJXZ3Js4 = function () {
|
|
240
|
+
return {
|
|
241
|
+
transform: [{
|
|
242
|
+
scale: 1 + pressed.get() * (THUMB_PRESSED_SCALE - 1)
|
|
243
|
+
}]
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
chunkCCTAJXZ3Js4.__closure = {
|
|
245
247
|
pressed,
|
|
246
248
|
THUMB_PRESSED_SCALE
|
|
247
249
|
};
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return
|
|
250
|
+
chunkCCTAJXZ3Js4.__workletHash = 10889139921917;
|
|
251
|
+
chunkCCTAJXZ3Js4.__pluginVersion = "0.7.4";
|
|
252
|
+
chunkCCTAJXZ3Js4.__initData = _worklet_10889139921917_init_data;
|
|
253
|
+
chunkCCTAJXZ3Js4.__stackDetails = _e;
|
|
254
|
+
return chunkCCTAJXZ3Js4;
|
|
253
255
|
}({
|
|
254
|
-
|
|
256
|
+
_worklet_10889139921917_init_data,
|
|
255
257
|
pressed,
|
|
256
258
|
THUMB_PRESSED_SCALE
|
|
257
|
-
}));
|
|
259
|
+
}), [pressed]);
|
|
258
260
|
return /* @__PURE__ */jsx3(GestureDetector, {
|
|
259
261
|
gesture: pan,
|
|
260
262
|
children: /* @__PURE__ */jsx3(Animated.View, {
|
|
@@ -30,7 +30,7 @@ function _optionalChain(ops) {
|
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
32
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
33
|
-
var
|
|
33
|
+
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
34
34
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
35
35
|
var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
|
|
36
36
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -42,13 +42,13 @@ var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
|
|
|
42
42
|
|
|
43
43
|
// src/utils/flip.ts
|
|
44
44
|
var HALF_TURN = 180;
|
|
45
|
-
const
|
|
46
|
-
code: "function
|
|
47
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
48
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
45
|
+
const _worklet_7082867776401_init_data = {
|
|
46
|
+
code: "function faceAngle_chunkCHGBWFDICjs1(progress,face2,rotation=\"normal\"){const{HALF_TURN}=this.__closure;const direction=rotation===\"reverse\"?-1:1;const turns=face2===\"front\"?progress:progress-1;return turns*HALF_TURN*direction;}",
|
|
47
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CHGBWFDI.cjs",
|
|
48
|
+
sourceMap: "{\"version\":3,\"names\":[\"faceAngle_chunkCHGBWFDICjs1\",\"progress\",\"face2\",\"rotation\",\"HALF_TURN\",\"__closure\",\"direction\",\"turns\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CHGBWFDI.cjs\"],\"mappings\":\"AAsBA,SAAAA,2BAAkCA,CAAEC,QAAQ,CAAAC,KAAG,CAAAC,QAAU,iBAAAC,SAAA,OAAAC,SAAA,CAEvD,KAAM,CAAAC,SAAS,CAAGH,QAAQ,GAAK,SAAS,CAAG,CAAC,CAAC,CAAG,CAAC,CACjD,KAAM,CAAAI,KAAK,CAAGL,KAAK,GAAK,OAAO,CAAGD,QAAQ,CAAGA,QAAQ,CAAG,CAAC,CACzD,MAAO,CAAAM,KAAK,CAAGH,SAAS,CAAGE,SAAS,CACtC\",\"ignoreList\":[]}"
|
|
49
49
|
};
|
|
50
|
-
const faceAngle = function
|
|
51
|
-
|
|
50
|
+
const faceAngle = function faceAngle_chunkCHGBWFDICjs1Factory({
|
|
51
|
+
_worklet_7082867776401_init_data,
|
|
52
52
|
HALF_TURN
|
|
53
53
|
}) {
|
|
54
54
|
const _e = [new global.Error(), -2, -27];
|
|
@@ -60,13 +60,13 @@ const faceAngle = function faceAngle_chunkORXVXYKCCjs1Factory({
|
|
|
60
60
|
faceAngle.__closure = {
|
|
61
61
|
HALF_TURN
|
|
62
62
|
};
|
|
63
|
-
faceAngle.__workletHash =
|
|
63
|
+
faceAngle.__workletHash = 7082867776401;
|
|
64
64
|
faceAngle.__pluginVersion = "0.7.4";
|
|
65
|
-
faceAngle.__initData =
|
|
65
|
+
faceAngle.__initData = _worklet_7082867776401_init_data;
|
|
66
66
|
faceAngle.__stackDetails = _e;
|
|
67
67
|
return faceAngle;
|
|
68
68
|
}({
|
|
69
|
-
|
|
69
|
+
_worklet_7082867776401_init_data,
|
|
70
70
|
HALF_TURN
|
|
71
71
|
}); // src/components/flip-card/flip-card.style.ts
|
|
72
72
|
var _reactnative = require('react-native');
|
|
@@ -89,6 +89,11 @@ var [FlipCardProvider, useFlipCard] = _chunkCDRGTUYFcjs.createSlotContext.call(v
|
|
|
89
89
|
|
|
90
90
|
// src/components/flip-card/flip-card-face.tsx
|
|
91
91
|
var _jsxruntime = require('react/jsx-runtime');
|
|
92
|
+
const _worklet_15957886288312_init_data = {
|
|
93
|
+
code: "function chunkCHGBWFDICjs2(){const{faceAngle,progress,which,rotation,FLIP_PERSPECTIVE,direction}=this.__closure;const angle=faceAngle(progress.get(),which,rotation)+\"deg\";return{transform:[{perspective:FLIP_PERSPECTIVE},direction===\"horizontal\"?{rotateY:angle}:{rotateX:angle}]};}",
|
|
94
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CHGBWFDI.cjs",
|
|
95
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCHGBWFDICjs2\",\"faceAngle\",\"progress\",\"which\",\"rotation\",\"FLIP_PERSPECTIVE\",\"direction\",\"__closure\",\"angle\",\"get\",\"transform\",\"perspective\",\"rotateY\",\"rotateX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CHGBWFDI.cjs\"],\"mappings\":\"AA+CsE,SAAAA,iBAAMA,CAAA,QAAAC,SAAA,CAAAC,QAAA,CAAAC,KAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,SAAA,OAAAC,SAAA,CAEtE,KAAM,CAAAC,KAAK,CAAMP,SAAS,CAACC,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAEN,KAAK,CAAEC,QAAQ,CAAC,MAAK,CAChE,MAAO,CACLM,SAAS,CAAE,CAIT,CAAEC,WAAW,CAAEN,gBAAiB,CAAC,CACjCC,SAAS,GAAK,YAAY,CAAG,CAAEM,OAAO,CAAEJ,KAAM,CAAC,CAAG,CAAEK,OAAO,CAAEL,KAAM,CAAC,CAExE,CAAC,CACH\",\"ignoreList\":[]}"
|
|
96
|
+
};
|
|
92
97
|
function face(which, name) {
|
|
93
98
|
const Component = _react.forwardRef.call(void 0, function FlipCardFace({
|
|
94
99
|
children,
|
|
@@ -101,22 +106,54 @@ function face(which, name) {
|
|
|
101
106
|
rotation
|
|
102
107
|
} = useFlipCard();
|
|
103
108
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
104
|
-
const turn = _reactnativereanimated.useAnimatedStyle.call(void 0, (
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
109
|
+
const turn = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkCHGBWFDICjs2Factory({
|
|
110
|
+
_worklet_15957886288312_init_data,
|
|
111
|
+
faceAngle,
|
|
112
|
+
progress,
|
|
113
|
+
which,
|
|
114
|
+
rotation,
|
|
115
|
+
FLIP_PERSPECTIVE,
|
|
116
|
+
direction
|
|
117
|
+
}) {
|
|
118
|
+
const _e = [new global.Error(), -7, -27];
|
|
119
|
+
const chunkCHGBWFDICjs2 = function () {
|
|
120
|
+
const angle = `${faceAngle(progress.get(), which, rotation)}deg`;
|
|
121
|
+
return {
|
|
122
|
+
transform: [
|
|
123
|
+
// The perspective comes first, and it has to: a rotation applied before it is an
|
|
124
|
+
// affine squash, and the card reads as a blind closing rather than as a face
|
|
125
|
+
// turning away.
|
|
126
|
+
{
|
|
127
|
+
perspective: FLIP_PERSPECTIVE
|
|
128
|
+
}, direction === "horizontal" ? {
|
|
129
|
+
rotateY: angle
|
|
130
|
+
} : {
|
|
131
|
+
rotateX: angle
|
|
132
|
+
}]
|
|
133
|
+
};
|
|
118
134
|
};
|
|
119
|
-
|
|
135
|
+
chunkCHGBWFDICjs2.__closure = {
|
|
136
|
+
faceAngle,
|
|
137
|
+
progress,
|
|
138
|
+
which,
|
|
139
|
+
rotation,
|
|
140
|
+
FLIP_PERSPECTIVE,
|
|
141
|
+
direction
|
|
142
|
+
};
|
|
143
|
+
chunkCHGBWFDICjs2.__workletHash = 15957886288312;
|
|
144
|
+
chunkCHGBWFDICjs2.__pluginVersion = "0.7.4";
|
|
145
|
+
chunkCHGBWFDICjs2.__initData = _worklet_15957886288312_init_data;
|
|
146
|
+
chunkCHGBWFDICjs2.__stackDetails = _e;
|
|
147
|
+
return chunkCHGBWFDICjs2;
|
|
148
|
+
}({
|
|
149
|
+
_worklet_15957886288312_init_data,
|
|
150
|
+
faceAngle,
|
|
151
|
+
progress,
|
|
152
|
+
which,
|
|
153
|
+
rotation,
|
|
154
|
+
FLIP_PERSPECTIVE,
|
|
155
|
+
direction
|
|
156
|
+
}), [progress, direction, rotation]);
|
|
120
157
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
121
158
|
ref,
|
|
122
159
|
...rest,
|
|
@@ -201,7 +238,7 @@ var FlipCardRoot = _react.forwardRef.call(void 0, function FlipCard({
|
|
|
201
238
|
}), [progress, direction, rotation, isFlipped, flip, isDisabled]);
|
|
202
239
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FlipCardProvider, {
|
|
203
240
|
value: context,
|
|
204
|
-
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
241
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkHBYT7B47cjs.PressableFeedback, {
|
|
205
242
|
ref,
|
|
206
243
|
isPressed,
|
|
207
244
|
asChild,
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule ? obj : {
|
|
8
|
+
default: obj
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function _optionalChain(ops) {
|
|
12
|
+
let lastAccessLHS = undefined;
|
|
13
|
+
let value = ops[0];
|
|
14
|
+
let i = 1;
|
|
15
|
+
while (i < ops.length) {
|
|
16
|
+
const op = ops[i];
|
|
17
|
+
const fn = ops[i + 1];
|
|
18
|
+
i += 2;
|
|
19
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
23
|
+
lastAccessLHS = value;
|
|
24
|
+
value = fn(value);
|
|
25
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
26
|
+
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
27
|
+
lastAccessLHS = undefined;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
var _chunkQRH45OO3cjs = require('./chunk-QRH45OO3.cjs');
|
|
33
|
+
var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
|
|
34
|
+
var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
|
|
35
|
+
var _chunkGSZDN6EZcjs = require('./chunk-GSZDN6EZ.cjs');
|
|
36
|
+
var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
|
|
37
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
38
|
+
|
|
39
|
+
// src/components/combobox/combobox-indicator.tsx
|
|
40
|
+
var _react = require('react');
|
|
41
|
+
var _reactnative = require('react-native');
|
|
42
|
+
var _reactnativereanimated = require('react-native-reanimated');
|
|
43
|
+
var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
|
|
44
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
45
|
+
var HIT_SLOP = 8;
|
|
46
|
+
const _worklet_11295820641151_init_data = {
|
|
47
|
+
code: "function chunkCS6CYB4ICjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
48
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-CS6CYB4I.cjs",
|
|
49
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkCS6CYB4ICjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-CS6CYB4I.cjs\"],\"mappings\":\"AAiDwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
50
|
+
};
|
|
51
|
+
function ComboboxIndicator(props) {
|
|
52
|
+
const {
|
|
53
|
+
as = _chunkGSZDN6EZcjs.ChevronDownIcon,
|
|
54
|
+
accessibilityLabel
|
|
55
|
+
} = props;
|
|
56
|
+
const {
|
|
57
|
+
indicatorStyle,
|
|
58
|
+
isOpen,
|
|
59
|
+
isDisabled,
|
|
60
|
+
toggle
|
|
61
|
+
} = _chunkQRH45OO3cjs.useAutocomplete.call(void 0);
|
|
62
|
+
const progress = _reactnativereanimated.useSharedValue.call(void 0, isOpen ? 1 : 0);
|
|
63
|
+
_react.useEffect.call(void 0, () => {
|
|
64
|
+
progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
65
|
+
}, [isOpen, progress]);
|
|
66
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkCS6CYB4ICjs1Factory({
|
|
67
|
+
_worklet_11295820641151_init_data,
|
|
68
|
+
_reactnativereanimated,
|
|
69
|
+
progress,
|
|
70
|
+
_chunkEKS3W46Mcjs
|
|
71
|
+
}) {
|
|
72
|
+
const _e = [new global.Error(), -4, -27];
|
|
73
|
+
const chunkCS6CYB4ICjs1 = function () {
|
|
74
|
+
return {
|
|
75
|
+
transform: [{
|
|
76
|
+
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
77
|
+
}]
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
chunkCS6CYB4ICjs1.__closure = {
|
|
81
|
+
_reactnativereanimated,
|
|
82
|
+
progress,
|
|
83
|
+
_chunkEKS3W46Mcjs
|
|
84
|
+
};
|
|
85
|
+
chunkCS6CYB4ICjs1.__workletHash = 11295820641151;
|
|
86
|
+
chunkCS6CYB4ICjs1.__pluginVersion = "0.7.4";
|
|
87
|
+
chunkCS6CYB4ICjs1.__initData = _worklet_11295820641151_init_data;
|
|
88
|
+
chunkCS6CYB4ICjs1.__stackDetails = _e;
|
|
89
|
+
return chunkCS6CYB4ICjs1;
|
|
90
|
+
}({
|
|
91
|
+
_worklet_11295820641151_init_data,
|
|
92
|
+
_reactnativereanimated,
|
|
93
|
+
progress,
|
|
94
|
+
_chunkEKS3W46Mcjs
|
|
95
|
+
}), [progress]);
|
|
96
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Pressable, {
|
|
97
|
+
accessibilityRole: "button",
|
|
98
|
+
accessibilityLabel,
|
|
99
|
+
accessibilityState: {
|
|
100
|
+
disabled: isDisabled,
|
|
101
|
+
expanded: isOpen
|
|
102
|
+
},
|
|
103
|
+
disabled: isDisabled,
|
|
104
|
+
hitSlop: HIT_SLOP,
|
|
105
|
+
onPress: toggle,
|
|
106
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
107
|
+
style: [indicatorStyle, rotation],
|
|
108
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.Icon, {
|
|
109
|
+
as
|
|
110
|
+
})
|
|
111
|
+
})
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
ComboboxIndicator.displayName = "XAUI.Combobox.Indicator";
|
|
115
|
+
|
|
116
|
+
// src/components/combobox/combobox-input.tsx
|
|
117
|
+
|
|
118
|
+
var sheet = _reactnative.StyleSheet.create({
|
|
119
|
+
input: {
|
|
120
|
+
flex: 1
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
var ComboboxInput = _react.forwardRef.call(void 0, function ComboboxInput2({
|
|
124
|
+
opensOnChange = true,
|
|
125
|
+
opensOnFocus = true,
|
|
126
|
+
style,
|
|
127
|
+
onFocus,
|
|
128
|
+
onChangeText,
|
|
129
|
+
...props
|
|
130
|
+
}, ref) {
|
|
131
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
132
|
+
const {
|
|
133
|
+
valueStyle,
|
|
134
|
+
placeholderColor,
|
|
135
|
+
value,
|
|
136
|
+
query,
|
|
137
|
+
setQuery,
|
|
138
|
+
isOpen,
|
|
139
|
+
isDisabled,
|
|
140
|
+
isInvalid,
|
|
141
|
+
open,
|
|
142
|
+
labelFor,
|
|
143
|
+
labelId,
|
|
144
|
+
descriptionId
|
|
145
|
+
} = _chunkQRH45OO3cjs.useAutocomplete.call(void 0);
|
|
146
|
+
const handleChangeText = _react.useCallback.call(void 0, next => {
|
|
147
|
+
setQuery(next);
|
|
148
|
+
_optionalChain([onChangeText, 'optionalCall', _ => _(next)]);
|
|
149
|
+
if (opensOnChange && !isOpen) open();
|
|
150
|
+
}, [isOpen, onChangeText, open, opensOnChange, setQuery]);
|
|
151
|
+
const handleFocus = _react.useCallback.call(void 0, event => {
|
|
152
|
+
_optionalChain([onFocus, 'optionalCall', _2 => _2(event)]);
|
|
153
|
+
if (opensOnFocus) open();
|
|
154
|
+
}, [onFocus, open, opensOnFocus]);
|
|
155
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.TextInput, {
|
|
156
|
+
ref,
|
|
157
|
+
value: isOpen ? query : value !== void 0 && labelFor(value) || "",
|
|
158
|
+
onChangeText: handleChangeText,
|
|
159
|
+
onFocus: handleFocus,
|
|
160
|
+
editable: !isDisabled,
|
|
161
|
+
autoCorrect: false,
|
|
162
|
+
autoCapitalize: "none",
|
|
163
|
+
placeholderTextColor: placeholderColor,
|
|
164
|
+
"aria-labelledby": labelId,
|
|
165
|
+
"aria-describedby": descriptionId,
|
|
166
|
+
"aria-invalid": isInvalid || void 0,
|
|
167
|
+
...rest,
|
|
168
|
+
style: [valueStyle, sheet.input, styleProps, style]
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
ComboboxInput.displayName = "XAUI.Combobox.Input";
|
|
172
|
+
|
|
173
|
+
// src/components/combobox/combobox.tsx
|
|
174
|
+
|
|
175
|
+
function ComboboxRoot(props) {
|
|
176
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkQRH45OO3cjs.Autocomplete, {
|
|
177
|
+
...props
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
ComboboxRoot.displayName = "XAUI.Combobox.Root";
|
|
181
|
+
|
|
182
|
+
// src/components/combobox/combobox-trigger.tsx
|
|
183
|
+
|
|
184
|
+
var ComboboxTrigger = _react.forwardRef.call(void 0, function ComboboxTrigger2({
|
|
185
|
+
children,
|
|
186
|
+
asChild = false,
|
|
187
|
+
accessibilityRole = "combobox",
|
|
188
|
+
accessibilityState,
|
|
189
|
+
style,
|
|
190
|
+
onLayout,
|
|
191
|
+
...props
|
|
192
|
+
}, ref) {
|
|
193
|
+
const {
|
|
194
|
+
triggerStyle,
|
|
195
|
+
glyph,
|
|
196
|
+
isOpen,
|
|
197
|
+
isDisabled,
|
|
198
|
+
isInvalid,
|
|
199
|
+
setAnchor
|
|
200
|
+
} = _chunkQRH45OO3cjs.useAutocomplete.call(void 0);
|
|
201
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
202
|
+
const node = _react.useRef.call(void 0, null);
|
|
203
|
+
const refs = _chunkWFEMJCXOcjs.useMergedRef.call(void 0, node, ref);
|
|
204
|
+
const measure = _react.useCallback.call(void 0, () => {
|
|
205
|
+
_optionalChain([node, 'access', _3 => _3.current, 'optionalAccess', _4 => _4.measureInWindow, 'call', _5 => _5((x, y, width, height) => {
|
|
206
|
+
setAnchor({
|
|
207
|
+
x,
|
|
208
|
+
y,
|
|
209
|
+
width,
|
|
210
|
+
height
|
|
211
|
+
});
|
|
212
|
+
})]);
|
|
213
|
+
}, [setAnchor]);
|
|
214
|
+
const handleLayout = _react.useCallback.call(void 0, event => {
|
|
215
|
+
_optionalChain([onLayout, 'optionalCall', _6 => _6(event)]);
|
|
216
|
+
measure();
|
|
217
|
+
}, [measure, onLayout]);
|
|
218
|
+
_react.useEffect.call(void 0, () => {
|
|
219
|
+
if (isOpen) measure();
|
|
220
|
+
}, [isOpen, measure]);
|
|
221
|
+
const Root = asChild ? _chunkCDRGTUYFcjs.Slot : _reactnative.View;
|
|
222
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, {
|
|
223
|
+
value: glyph,
|
|
224
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
|
|
225
|
+
ref: refs,
|
|
226
|
+
accessibilityRole,
|
|
227
|
+
accessibilityState: {
|
|
228
|
+
disabled: isDisabled,
|
|
229
|
+
expanded: isOpen,
|
|
230
|
+
...accessibilityState
|
|
231
|
+
},
|
|
232
|
+
"aria-invalid": isInvalid || void 0,
|
|
233
|
+
...rest,
|
|
234
|
+
onLayout: handleLayout,
|
|
235
|
+
style: [triggerStyle, styleProps, style],
|
|
236
|
+
children
|
|
237
|
+
})
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
ComboboxTrigger.displayName = "XAUI.Combobox.Trigger";
|
|
241
|
+
|
|
242
|
+
// src/components/combobox/index.ts
|
|
243
|
+
var Combobox = Object.assign(ComboboxRoot, {
|
|
244
|
+
Label: _chunkQRH45OO3cjs.AutocompleteLabel,
|
|
245
|
+
Trigger: ComboboxTrigger,
|
|
246
|
+
Input: ComboboxInput,
|
|
247
|
+
Indicator: ComboboxIndicator,
|
|
248
|
+
Overlay: _chunkQRH45OO3cjs.AutocompleteOverlay,
|
|
249
|
+
Content: _chunkQRH45OO3cjs.AutocompleteContent,
|
|
250
|
+
Item: _chunkQRH45OO3cjs.AutocompleteItem,
|
|
251
|
+
ItemLabel: _chunkQRH45OO3cjs.AutocompleteItemLabel,
|
|
252
|
+
Empty: _chunkQRH45OO3cjs.AutocompleteEmpty,
|
|
253
|
+
Description: _chunkQRH45OO3cjs.AutocompleteDescription,
|
|
254
|
+
Error: _chunkQRH45OO3cjs.AutocompleteError
|
|
255
|
+
});
|
|
256
|
+
exports.ComboboxIndicator = ComboboxIndicator;
|
|
257
|
+
exports.ComboboxInput = ComboboxInput;
|
|
258
|
+
exports.ComboboxRoot = ComboboxRoot;
|
|
259
|
+
exports.ComboboxTrigger = ComboboxTrigger;
|
|
260
|
+
exports.Combobox = Combobox;
|