@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
|
@@ -6,7 +6,7 @@ var _chunkH2FTAU5Ccjs = require('./chunk-H2FTAU5C.cjs');
|
|
|
6
6
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -372,7 +372,7 @@ var MorphButtonRoot = _react.forwardRef.call(void 0,
|
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
374
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MorphButtonProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
375
|
-
|
|
375
|
+
_chunkHBYT7B47cjs.PressableFeedback,
|
|
376
376
|
{
|
|
377
377
|
ref,
|
|
378
378
|
isPressed,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { calendarRecipe } from "./chunk-
|
|
1
|
+
import { calendarRecipe } from "./chunk-6NAZ2IHL.js";
|
|
2
2
|
import { addDays, addMonths, firstDayOfWeekFor, isSameDay, isWithinBounds, monthLabel, monthNames, startOfDay, startOfWeek, weekGrid, weekdayNames } from "./chunk-SHFUQVLX.js";
|
|
3
3
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
4
4
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
5
|
-
import { PressableFeedback } from "./chunk-
|
|
5
|
+
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
6
6
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
7
7
|
import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
|
|
8
8
|
import { childrenToString } from "./chunk-WFZDAXDI.js";
|
|
@@ -295,14 +295,30 @@ import { StyleSheet as StyleSheet2, View as View5 } from "react-native";
|
|
|
295
295
|
// src/components/agenda-calendar/agenda-calendar.recipe.ts
|
|
296
296
|
var SLOTS = ["root", "header", "nav", "navButton", "today", "todayDisabled", "todayLabel", "week", "picker", "pickerItem"];
|
|
297
297
|
var VARIANT_TOKENS = {
|
|
298
|
-
//
|
|
299
|
-
//
|
|
300
|
-
//
|
|
301
|
-
//
|
|
302
|
-
//
|
|
303
|
-
|
|
304
|
-
|
|
298
|
+
// The four the `Calendar` declares, answered on the pill rather than on a disc. The
|
|
299
|
+
// variant is a level of emphasis, and the two controls it reaches are the chosen day and
|
|
300
|
+
// this button — a strip whose chosen day is a soft wash under a pill that kept a hard
|
|
301
|
+
// accent border is two variants on one card.
|
|
302
|
+
//
|
|
303
|
+
// The emphasis runs the other way round from a `Button`'s, and on purpose: `primary`
|
|
304
|
+
// outlines rather than fills. The pill sits between two bare chevrons, so the filled
|
|
305
|
+
// accent that makes a `Button` primary would read here as the primary action of the whole
|
|
306
|
+
// card — the accent goes on the word instead, which is where the strip's own accent is.
|
|
307
|
+
primary: {
|
|
308
|
+
border: "border",
|
|
305
309
|
fg: "accent"
|
|
310
|
+
},
|
|
311
|
+
secondary: {
|
|
312
|
+
bg: "accentSoft",
|
|
313
|
+
fg: "accentSoftForeground"
|
|
314
|
+
},
|
|
315
|
+
tertiary: {
|
|
316
|
+
bg: "default",
|
|
317
|
+
fg: "defaultForeground"
|
|
318
|
+
},
|
|
319
|
+
// No fill and no border: the word alone, as `ghost` means everywhere else.
|
|
320
|
+
ghost: {
|
|
321
|
+
fg: "foreground"
|
|
306
322
|
}
|
|
307
323
|
};
|
|
308
324
|
var SIZES = {
|
|
@@ -381,18 +397,14 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
381
397
|
alignItems: "center",
|
|
382
398
|
justifyContent: "center"
|
|
383
399
|
},
|
|
384
|
-
//
|
|
385
|
-
// filled button there would read as the primary action of the whole card.
|
|
400
|
+
// The box only. Whether it is outlined, washed or bare is the variant's, below.
|
|
386
401
|
today: {
|
|
387
402
|
alignItems: "center",
|
|
388
|
-
justifyContent: "center"
|
|
389
|
-
borderWidth: theme.borderWidth.default,
|
|
390
|
-
borderColor: theme.colors.border
|
|
403
|
+
justifyContent: "center"
|
|
391
404
|
},
|
|
392
405
|
todayLabel: {
|
|
393
406
|
fontFamily: theme.fontFamilies.body,
|
|
394
|
-
fontWeight: theme.fontWeights.medium
|
|
395
|
-
color: theme.colors.accent
|
|
407
|
+
fontWeight: theme.fontWeights.medium
|
|
396
408
|
},
|
|
397
409
|
week: {
|
|
398
410
|
flexDirection: "row"
|
|
@@ -416,14 +428,20 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
416
428
|
}
|
|
417
429
|
}),
|
|
418
430
|
variantTokens: VARIANT_TOKENS,
|
|
419
|
-
// The
|
|
420
|
-
//
|
|
421
|
-
//
|
|
422
|
-
|
|
431
|
+
// The `Button`'s own paint, one slot down: the border's *width* follows the presence of
|
|
432
|
+
// the border role rather than a per-variant flag, because which variant outlines is
|
|
433
|
+
// already stated in the table above. `undefined` where a variant names no `bg` is the
|
|
434
|
+
// transparent the outlined and the bare pill both want.
|
|
435
|
+
paint: (theme, colors) => ({
|
|
436
|
+
today: {
|
|
437
|
+
backgroundColor: colors.bg,
|
|
438
|
+
borderColor: colors.border,
|
|
439
|
+
borderWidth: colors.border ? theme.borderWidth.default : 0
|
|
440
|
+
},
|
|
423
441
|
todayLabel: {
|
|
424
442
|
color: colors.fg
|
|
425
443
|
}
|
|
426
|
-
}
|
|
444
|
+
}),
|
|
427
445
|
variants: {
|
|
428
446
|
size: {
|
|
429
447
|
sm: sizeAxis(SIZES.sm),
|
|
@@ -440,11 +458,12 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
440
458
|
}
|
|
441
459
|
})
|
|
442
460
|
},
|
|
443
|
-
// `
|
|
444
|
-
//
|
|
445
|
-
//
|
|
461
|
+
// The `Calendar`'s default, because the two resolve from the same `variant` prop and a
|
|
462
|
+
// card whose strip defaulted to one and whose pill to another is not one component.
|
|
463
|
+
// Naming it is also what makes `paint` and `tint` run at all — without a variant both are
|
|
464
|
+
// handed no colours, and the pill loses its word to RN's black.
|
|
446
465
|
defaultVariants: {
|
|
447
|
-
variant: "
|
|
466
|
+
variant: "primary",
|
|
448
467
|
size: "md"
|
|
449
468
|
}
|
|
450
469
|
});
|
|
@@ -499,14 +518,14 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
499
518
|
});
|
|
500
519
|
const resolvedLocale = locale ?? deviceLocale();
|
|
501
520
|
const weekStart = firstDayOfWeek ?? firstDayOfWeekFor(resolvedLocale);
|
|
502
|
-
const
|
|
521
|
+
const selection = {
|
|
503
522
|
variant,
|
|
504
523
|
size,
|
|
505
524
|
radius
|
|
506
525
|
};
|
|
507
526
|
const cells = calendarRecipe.resolve({
|
|
508
527
|
theme,
|
|
509
|
-
selection
|
|
528
|
+
selection,
|
|
510
529
|
states: {
|
|
511
530
|
disabled: isDisabled
|
|
512
531
|
}
|
|
@@ -514,12 +533,8 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
514
533
|
const cellTint = color ? calendarRecipe.tint({
|
|
515
534
|
theme,
|
|
516
535
|
color,
|
|
517
|
-
selection
|
|
536
|
+
selection
|
|
518
537
|
}) : void 0;
|
|
519
|
-
const selection = {
|
|
520
|
-
size,
|
|
521
|
-
radius
|
|
522
|
-
};
|
|
523
538
|
const styles = agendaCalendarRecipe.resolve({
|
|
524
539
|
theme,
|
|
525
540
|
selection,
|
|
@@ -617,7 +632,7 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
617
632
|
},
|
|
618
633
|
pickerItemLabelStyle: cells.dayLabel,
|
|
619
634
|
pickerItemLabelSelectedStyle: cellTint ? [cells.dayLabelSelected, cellTint.dayLabelSelected] : cells.dayLabelSelected,
|
|
620
|
-
todayStyle: styles.today,
|
|
635
|
+
todayStyle: tint ? [styles.today, tint.today] : styles.today,
|
|
621
636
|
todayDisabledStyle: styles.todayDisabled,
|
|
622
637
|
todayLabelStyle: tint ? [styles.todayLabel, tint.todayLabel] : styles.todayLabel,
|
|
623
638
|
weekStyle: styles.week,
|
|
@@ -784,25 +799,25 @@ var SPRING = {
|
|
|
784
799
|
stiffness: 220,
|
|
785
800
|
mass: 0.6
|
|
786
801
|
};
|
|
787
|
-
const
|
|
788
|
-
code: "function
|
|
789
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
790
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
802
|
+
const _worklet_6865118524057_init_data = {
|
|
803
|
+
code: "function chunkV5FYHQKQJs1(){const{drag,withSpring,SPRING}=this.__closure;drag.set(withSpring(0,SPRING));}",
|
|
804
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
805
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs1\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA40BkB,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClBH,IAAI,CAACI,GAAG,CAACH,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
|
|
791
806
|
};
|
|
792
|
-
const
|
|
793
|
-
code: "function
|
|
794
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
795
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
807
|
+
const _worklet_7938979035346_init_data = {
|
|
808
|
+
code: "function chunkV5FYHQKQJs2(event){const{SWIPE_DISTANCE,SWIPE_VELOCITY,runOnJS,page,drag,withSpring,SPRING}=this.__closure;const forward=event.translationX<=-SWIPE_DISTANCE||event.velocityX<=-SWIPE_VELOCITY;const backward=event.translationX>=SWIPE_DISTANCE||event.velocityX>=SWIPE_VELOCITY;if(forward)runOnJS(page)(1);else if(backward)runOnJS(page)(-1);drag.set(withSpring(0,SPRING));}",
|
|
809
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
810
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs2\",\"event\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"runOnJS\",\"page\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"forward\",\"translationX\",\"velocityX\",\"backward\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAs0Bc,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,cAAA,CAAAC,cAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClB,KAAM,CAAAC,OAAO,CAAGT,KAAK,CAACU,YAAY,EAAI,CAACT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAI,CAACT,cAAc,CAC3F,KAAM,CAAAU,QAAQ,CAAGZ,KAAK,CAACU,YAAY,EAAIT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAIT,cAAc,CAC1F,GAAIO,OAAO,CAAEN,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IACzB,IAAIQ,QAAQ,CAAET,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACpCC,IAAI,CAACQ,GAAG,CAACP,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
|
|
796
811
|
};
|
|
797
|
-
const
|
|
798
|
-
code: "function
|
|
799
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
800
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
812
|
+
const _worklet_9375623676669_init_data = {
|
|
813
|
+
code: "function chunkV5FYHQKQJs3(event){const{drag,DRAG_FOLLOW}=this.__closure;drag.set(event.translationX*DRAG_FOLLOW);}",
|
|
814
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
815
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs3\",\"event\",\"drag\",\"DRAG_FOLLOW\",\"__closure\",\"set\",\"translationX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAo0B0H,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,WAAA,OAAAC,SAAA,CAC9HF,IAAI,CAACG,GAAG,CAACJ,KAAK,CAACK,YAAY,CAAGH,WAAW,CAAC,CAC5C\",\"ignoreList\":[]}"
|
|
801
816
|
};
|
|
802
|
-
const
|
|
803
|
-
code: "function
|
|
804
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
805
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
817
|
+
const _worklet_5818255412875_init_data = {
|
|
818
|
+
code: "function chunkV5FYHQKQJs4(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
|
|
819
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
820
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs4\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA+0BmC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
|
|
806
821
|
};
|
|
807
822
|
var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
808
823
|
children,
|
|
@@ -822,30 +837,30 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
822
837
|
const page = useCallback3(direction => {
|
|
823
838
|
if (canGoByWeeks(direction)) goByWeeks(direction);
|
|
824
839
|
}, [canGoByWeeks, goByWeeks]);
|
|
825
|
-
const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function
|
|
826
|
-
|
|
840
|
+
const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function chunkV5FYHQKQJs3Factory({
|
|
841
|
+
_worklet_9375623676669_init_data,
|
|
827
842
|
drag,
|
|
828
843
|
DRAG_FOLLOW
|
|
829
844
|
}) {
|
|
830
845
|
const _e = [new global.Error(), -3, -27];
|
|
831
|
-
const
|
|
846
|
+
const chunkV5FYHQKQJs3 = function (event) {
|
|
832
847
|
drag.set(event.translationX * DRAG_FOLLOW);
|
|
833
848
|
};
|
|
834
|
-
|
|
849
|
+
chunkV5FYHQKQJs3.__closure = {
|
|
835
850
|
drag,
|
|
836
851
|
DRAG_FOLLOW
|
|
837
852
|
};
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
return
|
|
853
|
+
chunkV5FYHQKQJs3.__workletHash = 9375623676669;
|
|
854
|
+
chunkV5FYHQKQJs3.__pluginVersion = "0.7.4";
|
|
855
|
+
chunkV5FYHQKQJs3.__initData = _worklet_9375623676669_init_data;
|
|
856
|
+
chunkV5FYHQKQJs3.__stackDetails = _e;
|
|
857
|
+
return chunkV5FYHQKQJs3;
|
|
843
858
|
}({
|
|
844
|
-
|
|
859
|
+
_worklet_9375623676669_init_data,
|
|
845
860
|
drag,
|
|
846
861
|
DRAG_FOLLOW
|
|
847
|
-
})).onEnd(function
|
|
848
|
-
|
|
862
|
+
})).onEnd(function chunkV5FYHQKQJs2Factory({
|
|
863
|
+
_worklet_7938979035346_init_data,
|
|
849
864
|
SWIPE_DISTANCE,
|
|
850
865
|
SWIPE_VELOCITY,
|
|
851
866
|
runOnJS,
|
|
@@ -855,13 +870,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
855
870
|
SPRING
|
|
856
871
|
}) {
|
|
857
872
|
const _e = [new global.Error(), -8, -27];
|
|
858
|
-
const
|
|
873
|
+
const chunkV5FYHQKQJs2 = function (event) {
|
|
859
874
|
const forward = event.translationX <= -SWIPE_DISTANCE || event.velocityX <= -SWIPE_VELOCITY;
|
|
860
875
|
const backward = event.translationX >= SWIPE_DISTANCE || event.velocityX >= SWIPE_VELOCITY;
|
|
861
876
|
if (forward) runOnJS(page)(1);else if (backward) runOnJS(page)(-1);
|
|
862
877
|
drag.set(withSpring(0, SPRING));
|
|
863
878
|
};
|
|
864
|
-
|
|
879
|
+
chunkV5FYHQKQJs2.__closure = {
|
|
865
880
|
SWIPE_DISTANCE,
|
|
866
881
|
SWIPE_VELOCITY,
|
|
867
882
|
runOnJS,
|
|
@@ -870,13 +885,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
870
885
|
withSpring,
|
|
871
886
|
SPRING
|
|
872
887
|
};
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
return
|
|
888
|
+
chunkV5FYHQKQJs2.__workletHash = 7938979035346;
|
|
889
|
+
chunkV5FYHQKQJs2.__pluginVersion = "0.7.4";
|
|
890
|
+
chunkV5FYHQKQJs2.__initData = _worklet_7938979035346_init_data;
|
|
891
|
+
chunkV5FYHQKQJs2.__stackDetails = _e;
|
|
892
|
+
return chunkV5FYHQKQJs2;
|
|
878
893
|
}({
|
|
879
|
-
|
|
894
|
+
_worklet_7938979035346_init_data,
|
|
880
895
|
SWIPE_DISTANCE,
|
|
881
896
|
SWIPE_VELOCITY,
|
|
882
897
|
runOnJS,
|
|
@@ -884,54 +899,56 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
884
899
|
drag,
|
|
885
900
|
withSpring,
|
|
886
901
|
SPRING
|
|
887
|
-
})).onFinalize(function
|
|
888
|
-
|
|
902
|
+
})).onFinalize(function chunkV5FYHQKQJs1Factory({
|
|
903
|
+
_worklet_6865118524057_init_data,
|
|
889
904
|
drag,
|
|
890
905
|
withSpring,
|
|
891
906
|
SPRING
|
|
892
907
|
}) {
|
|
893
908
|
const _e = [new global.Error(), -4, -27];
|
|
894
|
-
const
|
|
909
|
+
const chunkV5FYHQKQJs1 = function () {
|
|
895
910
|
drag.set(withSpring(0, SPRING));
|
|
896
911
|
};
|
|
897
|
-
|
|
912
|
+
chunkV5FYHQKQJs1.__closure = {
|
|
898
913
|
drag,
|
|
899
914
|
withSpring,
|
|
900
915
|
SPRING
|
|
901
916
|
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
return
|
|
917
|
+
chunkV5FYHQKQJs1.__workletHash = 6865118524057;
|
|
918
|
+
chunkV5FYHQKQJs1.__pluginVersion = "0.7.4";
|
|
919
|
+
chunkV5FYHQKQJs1.__initData = _worklet_6865118524057_init_data;
|
|
920
|
+
chunkV5FYHQKQJs1.__stackDetails = _e;
|
|
921
|
+
return chunkV5FYHQKQJs1;
|
|
907
922
|
}({
|
|
908
|
-
|
|
923
|
+
_worklet_6865118524057_init_data,
|
|
909
924
|
drag,
|
|
910
925
|
withSpring,
|
|
911
926
|
SPRING
|
|
912
927
|
}));
|
|
913
|
-
const slide = useAnimatedStyle(function
|
|
914
|
-
|
|
928
|
+
const slide = useAnimatedStyle(function chunkV5FYHQKQJs4Factory({
|
|
929
|
+
_worklet_5818255412875_init_data,
|
|
915
930
|
drag
|
|
916
931
|
}) {
|
|
917
932
|
const _e = [new global.Error(), -2, -27];
|
|
918
|
-
const
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
933
|
+
const chunkV5FYHQKQJs4 = function () {
|
|
934
|
+
return {
|
|
935
|
+
transform: [{
|
|
936
|
+
translateX: drag.get()
|
|
937
|
+
}]
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
chunkV5FYHQKQJs4.__closure = {
|
|
924
941
|
drag
|
|
925
942
|
};
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
return
|
|
943
|
+
chunkV5FYHQKQJs4.__workletHash = 5818255412875;
|
|
944
|
+
chunkV5FYHQKQJs4.__pluginVersion = "0.7.4";
|
|
945
|
+
chunkV5FYHQKQJs4.__initData = _worklet_5818255412875_init_data;
|
|
946
|
+
chunkV5FYHQKQJs4.__stackDetails = _e;
|
|
947
|
+
return chunkV5FYHQKQJs4;
|
|
931
948
|
}({
|
|
932
|
-
|
|
949
|
+
_worklet_5818255412875_init_data,
|
|
933
950
|
drag
|
|
934
|
-
}));
|
|
951
|
+
}), [drag]);
|
|
935
952
|
const cells = days.map(date => /* @__PURE__ */jsx9(View7, {
|
|
936
953
|
style: CELL,
|
|
937
954
|
children: typeof children === "function" ? children(date) : /* @__PURE__ */jsx9(AgendaCalendarDay, {
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
+
var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkIPD3IUE2cjs = require('./chunk-IPD3IUE2.cjs');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
|
|
6
|
+
var _chunkL4B6Z45Qcjs = require('./chunk-L4B6Z45Q.cjs');
|
|
12
7
|
|
|
13
8
|
|
|
14
9
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
15
10
|
|
|
16
11
|
|
|
17
|
-
var
|
|
12
|
+
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
18
13
|
|
|
19
14
|
|
|
20
15
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -573,7 +568,8 @@ var HOUR_ANGLE = "-60deg";
|
|
|
573
568
|
var MINUTE_ANGLE = "60deg";
|
|
574
569
|
function TimePickerIndicator(props) {
|
|
575
570
|
const glyph = _chunkGSZDN6EZcjs.useIconContext.call(void 0, );
|
|
576
|
-
if (props.as || props.children || props.source)
|
|
571
|
+
if (props.as || props.children || props.source)
|
|
572
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.Icon, { ...props });
|
|
577
573
|
const size = _nullishCoalesce(_nullishCoalesce(props.size, () => ( glyph.size)), () => ( 18));
|
|
578
574
|
const color = _nullishCoalesce(props.color, () => ( glyph.color));
|
|
579
575
|
const stroke = Math.max(1, Math.round(size / 12));
|
|
@@ -617,8 +613,27 @@ TimePickerIndicator.displayName = "XAUI.TimePicker.Indicator";
|
|
|
617
613
|
|
|
618
614
|
|
|
619
615
|
|
|
620
|
-
|
|
616
|
+
// src/utils/time.ts
|
|
621
617
|
var HOURS_IN_HALF_DAY = 12;
|
|
618
|
+
function hourCycleFor(locale) {
|
|
619
|
+
const { hour12 } = new Intl.DateTimeFormat(locale, {
|
|
620
|
+
hour: "numeric"
|
|
621
|
+
}).resolvedOptions();
|
|
622
|
+
return hour12 ? 12 : 24;
|
|
623
|
+
}
|
|
624
|
+
function periodOf(date) {
|
|
625
|
+
return date.getHours() < HOURS_IN_HALF_DAY ? "am" : "pm";
|
|
626
|
+
}
|
|
627
|
+
function withTime(day, parts) {
|
|
628
|
+
const date = new Date(day);
|
|
629
|
+
date.setHours(parts.hours, parts.minutes, parts.seconds, 0);
|
|
630
|
+
return date;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
// src/components/time-picker/time-picker.tsx
|
|
634
|
+
|
|
635
|
+
var DEFAULT_FORMAT = { timeStyle: "short" };
|
|
636
|
+
var HOURS_IN_HALF_DAY2 = 12;
|
|
622
637
|
function TimePicker({
|
|
623
638
|
children,
|
|
624
639
|
variant,
|
|
@@ -651,7 +666,7 @@ function TimePicker({
|
|
|
651
666
|
onChange: onOpenChange
|
|
652
667
|
});
|
|
653
668
|
const [unit, setUnit] = _react.useState.call(void 0, "hour");
|
|
654
|
-
const hourCycle = _nullishCoalesce(hourCycleProp, () => (
|
|
669
|
+
const hourCycle = _nullishCoalesce(hourCycleProp, () => ( hourCycleFor(_nullishCoalesce(locale, () => ( "en-US")))));
|
|
655
670
|
const selection = {
|
|
656
671
|
variant,
|
|
657
672
|
size,
|
|
@@ -659,17 +674,17 @@ function TimePicker({
|
|
|
659
674
|
isOpen: isOpen ? "true" : void 0,
|
|
660
675
|
isInvalid: isInvalid ? "true" : void 0
|
|
661
676
|
};
|
|
662
|
-
const field =
|
|
677
|
+
const field = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
|
|
663
678
|
theme,
|
|
664
679
|
selection,
|
|
665
680
|
states: { disabled: isDisabled }
|
|
666
681
|
});
|
|
667
|
-
const fieldPressed =
|
|
682
|
+
const fieldPressed = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
|
|
668
683
|
theme,
|
|
669
684
|
selection,
|
|
670
685
|
states: { pressed: true }
|
|
671
686
|
});
|
|
672
|
-
const fieldTint = color ?
|
|
687
|
+
const fieldTint = color ? _chunkL4B6Z45Qcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
|
|
673
688
|
const dialStyles = timePickerRecipe.resolve({
|
|
674
689
|
theme,
|
|
675
690
|
selection: { size },
|
|
@@ -678,8 +693,8 @@ function TimePicker({
|
|
|
678
693
|
const dialTint = color ? timePickerRecipe.tint({ theme, color, selection: { size } }) : void 0;
|
|
679
694
|
const shown = _nullishCoalesce(value, () => ( new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0))));
|
|
680
695
|
const hours24 = shown.getHours();
|
|
681
|
-
const period =
|
|
682
|
-
const hours = hourCycle === 24 ? hours24 : hours24 %
|
|
696
|
+
const period = periodOf(shown);
|
|
697
|
+
const hours = hourCycle === 24 ? hours24 : hours24 % HOURS_IN_HALF_DAY2 || HOURS_IN_HALF_DAY2;
|
|
683
698
|
const commit = _react.useCallback.call(void 0,
|
|
684
699
|
(next) => {
|
|
685
700
|
setValue(next);
|
|
@@ -688,9 +703,9 @@ function TimePicker({
|
|
|
688
703
|
);
|
|
689
704
|
const onDragHour = _react.useCallback.call(void 0,
|
|
690
705
|
(hour) => {
|
|
691
|
-
const wanted = hourCycle === 24 ? hour : hour %
|
|
706
|
+
const wanted = hourCycle === 24 ? hour : hour % HOURS_IN_HALF_DAY2 + (period === "pm" ? HOURS_IN_HALF_DAY2 : 0);
|
|
692
707
|
commit(
|
|
693
|
-
|
|
708
|
+
withTime(shown, {
|
|
694
709
|
hours: wanted,
|
|
695
710
|
minutes: shown.getMinutes(),
|
|
696
711
|
seconds: 0
|
|
@@ -701,7 +716,7 @@ function TimePicker({
|
|
|
701
716
|
);
|
|
702
717
|
const onDragMinute = _react.useCallback.call(void 0,
|
|
703
718
|
(minute) => {
|
|
704
|
-
commit(
|
|
719
|
+
commit(withTime(shown, { hours: hours24, minutes: minute, seconds: 0 }));
|
|
705
720
|
},
|
|
706
721
|
[commit, hours24, shown]
|
|
707
722
|
);
|
|
@@ -722,9 +737,9 @@ function TimePicker({
|
|
|
722
737
|
const onPeriodChange = _react.useCallback.call(void 0,
|
|
723
738
|
(next) => {
|
|
724
739
|
if (next === period) return;
|
|
725
|
-
const shifted = next === "pm" ? hours24 +
|
|
740
|
+
const shifted = next === "pm" ? hours24 + HOURS_IN_HALF_DAY2 : hours24 - HOURS_IN_HALF_DAY2;
|
|
726
741
|
commit(
|
|
727
|
-
|
|
742
|
+
withTime(shown, {
|
|
728
743
|
hours: shifted,
|
|
729
744
|
minutes: shown.getMinutes(),
|
|
730
745
|
seconds: 0
|
|
@@ -846,10 +861,10 @@ TimePicker.displayName = "XAUI.TimePicker.Root";
|
|
|
846
861
|
|
|
847
862
|
function TimePickerSheet({ children, ...props }) {
|
|
848
863
|
const picker = useTimePicker();
|
|
849
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
850
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
851
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
864
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
|
|
865
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}),
|
|
866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}),
|
|
853
868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerDisplay, { style: { alignSelf: "center" } }),
|
|
854
869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerClock, { style: { alignSelf: "center" } })
|
|
855
870
|
] }))) }) })
|
|
@@ -884,7 +899,7 @@ var TimePickerTrigger = _react.forwardRef.call(void 0,
|
|
|
884
899
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
885
900
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
886
901
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
887
|
-
|
|
902
|
+
_chunkHBYT7B47cjs.PressableFeedback,
|
|
888
903
|
{
|
|
889
904
|
ref,
|
|
890
905
|
isPressed,
|
|
@@ -960,4 +975,5 @@ var TimePicker2 = Object.assign(TimePicker, {
|
|
|
960
975
|
|
|
961
976
|
|
|
962
977
|
|
|
963
|
-
|
|
978
|
+
|
|
979
|
+
exports.withTime = withTime; exports.timePickerRecipe = timePickerRecipe; exports.useTimePicker = useTimePicker; exports.TimePickerClock = TimePickerClock; exports.TimePickerDisplay = TimePickerDisplay; exports.TimePickerIndicator = TimePickerIndicator; exports.TimePicker = TimePicker; exports.TimePickerSheet = TimePickerSheet; exports.TimePickerTrigger = TimePickerTrigger; exports.TimePickerValue = TimePickerValue; exports.TimePicker2 = TimePicker2;
|
|
@@ -66,7 +66,7 @@ function buildRadius(base) {
|
|
|
66
66
|
"3xl": base * 3,
|
|
67
67
|
"4xl": base * 4,
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The reference implementation's value, reached from the other side of the scale: their `--radius-field` is
|
|
70
70
|
* an alias of their `--radius-xl`, and their base is 8 where ours is 12 — so their
|
|
71
71
|
* field corner is 12 points and, at our default base, so is this.
|
|
72
72
|
*
|
|
@@ -115,7 +115,7 @@ var fontFamilies = {
|
|
|
115
115
|
heading: "System",
|
|
116
116
|
// `'monospace'` is an Android family name, not a generic one: iOS does not resolve it and
|
|
117
117
|
// silently falls back to the system face, so code set with it is not monospaced there.
|
|
118
|
-
// Menlo is the face iOS ships, and it is what
|
|
118
|
+
// Menlo is the face iOS ships, and it is what the reference implementation selects for the same reason.
|
|
119
119
|
mono: Platform.OS === "ios" ? "Menlo" : "monospace"
|
|
120
120
|
};
|
|
121
121
|
var borderWidth = { default: 1, field: 1 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CloseButtonBase,
|
|
3
3
|
closeButtonGeometry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SIX5AVXG.js";
|
|
5
5
|
import {
|
|
6
6
|
PressableFeedback
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KQW25RCC.js";
|
|
8
8
|
import {
|
|
9
9
|
usePressState
|
|
10
10
|
} from "./chunk-423RQBOX.js";
|
|
@@ -249,19 +249,19 @@ var chipRecipe = createRecipe({
|
|
|
249
249
|
// A chip hugs its content where a `Button` fills its column. The difference is what
|
|
250
250
|
// the two are: a button is a control the layout sizes, a chip is a token *about*
|
|
251
251
|
// something, and a tag stretched across a screen has stopped being one. It is also
|
|
252
|
-
// the one line of
|
|
252
|
+
// the one line of the reference implementation's chip that is not a measurement.
|
|
253
253
|
alignSelf: "flex-start",
|
|
254
254
|
flexDirection: "row",
|
|
255
255
|
alignItems: "center",
|
|
256
256
|
justifyContent: "center",
|
|
257
257
|
borderWidth: 0,
|
|
258
|
-
// The capsule the name means, at every size.
|
|
258
|
+
// The capsule the name means, at every size. The reference implementation reaches it through a radius
|
|
259
259
|
// ladder that React Native would clamp to the same pill anyway; saying `full` says
|
|
260
260
|
// it once, and `radius` is still there for the tag that wants square corners.
|
|
261
261
|
borderRadius: theme.radius.full,
|
|
262
262
|
// Squircle corners for when `radius` overrides the pill. Free on Android.
|
|
263
263
|
borderCurve: "continuous"
|
|
264
|
-
// Deliberately no `overflow: 'hidden'`, where
|
|
264
|
+
// Deliberately no `overflow: 'hidden'`, where the reference implementation clips: the press overlays
|
|
265
265
|
// carry their own corners (`system/pressable-feedback/`), so nothing needs the clip
|
|
266
266
|
// — and clipping here would cut a badge or a shadow a caller hangs off the chip.
|
|
267
267
|
},
|