@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
|
@@ -50,6 +50,7 @@ export * from './scaffold';
|
|
|
50
50
|
export * from './search-field';
|
|
51
51
|
export * from './select';
|
|
52
52
|
export * from './skeleton';
|
|
53
|
+
export * from './slide-button';
|
|
53
54
|
export * from './slider';
|
|
54
55
|
export * from './spinner';
|
|
55
56
|
export * from './surface';
|
|
@@ -59,7 +60,6 @@ export * from './table';
|
|
|
59
60
|
export * from './tabs';
|
|
60
61
|
export * from './tag-group';
|
|
61
62
|
export * from './text-area';
|
|
62
|
-
export * from './time-field';
|
|
63
63
|
export * from './time-picker';
|
|
64
64
|
export * from './timeline';
|
|
65
65
|
export * from './toggle-button';
|
|
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
|
|
|
17
17
|
* they go**. With no fill and no border there is nothing to count. It is the reason the
|
|
18
18
|
* `Checkbox` has no `ghost` either — a box that is not a box is not a box.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
|
|
21
21
|
* the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
|
|
22
22
|
* takes.
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
|
|
|
17
17
|
* they go**. With no fill and no border there is nothing to count. It is the reason the
|
|
18
18
|
* `Checkbox` has no `ghost` either — a box that is not a box is not a box.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
|
|
21
21
|
* the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
|
|
22
22
|
* takes.
|
|
23
23
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
+
var _chunkHBYT7B47cjs = require('../../chunk-HBYT7B47.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk7DPL3ZDScjs = require('../../chunk-7DPL3ZDS.cjs');
|
|
@@ -415,7 +415,7 @@ var ListBoxItemButton = _react.forwardRef.call(void 0,
|
|
|
415
415
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
416
416
|
const disabled = isListDisabled || isDisabled;
|
|
417
417
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
418
|
-
|
|
418
|
+
_chunkHBYT7B47cjs.PressableFeedback,
|
|
419
419
|
{
|
|
420
420
|
ref,
|
|
421
421
|
isPressed,
|
|
@@ -2,7 +2,7 @@ import { View } from 'react-native';
|
|
|
2
2
|
/**
|
|
3
3
|
* What trails the row: a value, a switch, a chevron, a badge.
|
|
4
4
|
*
|
|
5
|
-
* **It draws nothing of its own.**
|
|
5
|
+
* **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
|
|
6
6
|
* end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
|
|
7
7
|
* pass a child in order to render nothing. What goes there is the row's business, and the
|
|
8
8
|
* row is one line away from saying so.
|
|
@@ -2,7 +2,7 @@ import { View } from 'react-native';
|
|
|
2
2
|
/**
|
|
3
3
|
* What trails the row: a value, a switch, a chevron, a badge.
|
|
4
4
|
*
|
|
5
|
-
* **It draws nothing of its own.**
|
|
5
|
+
* **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
|
|
6
6
|
* end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
|
|
7
7
|
* pass a child in order to render nothing. What goes there is the row's business, and the
|
|
8
8
|
* row is one line away from saying so.
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('../../chunk-
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-WLWZG2PA.cjs');
|
|
15
|
+
var _chunk7JWOAGB3cjs = require('../../chunk-7JWOAGB3.cjs');
|
|
16
|
+
require('../../chunk-NRU5APUE.cjs');
|
|
17
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
19
18
|
require('../../chunk-ISHMSP6P.cjs');
|
|
19
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
20
20
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
21
21
|
require('../../chunk-FHNIGHN5.cjs');
|
|
22
22
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -40,4 +40,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
exports.MASK_FIELD_MASKS =
|
|
43
|
+
exports.MASK_FIELD_MASKS = _chunk7JWOAGB3cjs.MASK_FIELD_MASKS; exports.MaskField = _chunk7JWOAGB3cjs.MaskField; exports.MaskFieldField = _chunk7JWOAGB3cjs.MaskFieldField; exports.MaskFieldRoot = _chunk7JWOAGB3cjs.MaskFieldRoot; exports.dateOrderFor = _chunk7JWOAGB3cjs.dateOrderFor; exports.dateSeparatorFor = _chunk7JWOAGB3cjs.dateSeparatorFor; exports.formatMaskedDate = _chunk7JWOAGB3cjs.formatMaskedDate; exports.formatMaskedTime = _chunk7JWOAGB3cjs.formatMaskedTime; exports.maskInput = _chunk7JWOAGB3cjs.maskInput; exports.parseMaskedDate = _chunk7JWOAGB3cjs.parseMaskedDate; exports.parseMaskedTime = _chunk7JWOAGB3cjs.parseMaskedTime; exports.resolveMask = _chunk7JWOAGB3cjs.resolveMask; exports.useMaskField = _chunk7JWOAGB3cjs.useMaskField;
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
parseMaskedTime,
|
|
13
13
|
resolveMask,
|
|
14
14
|
useMaskField
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-43S673KF.js";
|
|
15
|
+
} from "../../chunk-KZZWNDDO.js";
|
|
16
|
+
import "../../chunk-MZUYTCCB.js";
|
|
17
|
+
import "../../chunk-JYV53WUN.js";
|
|
19
18
|
import "../../chunk-SHFUQVLX.js";
|
|
19
|
+
import "../../chunk-NTVPLDJC.js";
|
|
20
20
|
import "../../chunk-JN6IRT2M.js";
|
|
21
21
|
import "../../chunk-WFZDAXDI.js";
|
|
22
22
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkADGHFLBJcjs = require('../../chunk-ADGHFLBJ.cjs');
|
|
18
18
|
require('../../chunk-GTR5X65M.cjs');
|
|
19
19
|
require('../../chunk-YVYYONTP.cjs');
|
|
20
20
|
require('../../chunk-WDDXU3OH.cjs');
|
|
21
21
|
require('../../chunk-EKS3W46M.cjs');
|
|
22
22
|
require('../../chunk-WFEMJCXO.cjs');
|
|
23
23
|
require('../../chunk-7EIHHOHP.cjs');
|
|
24
|
-
require('../../chunk-
|
|
24
|
+
require('../../chunk-HBYT7B47.cjs');
|
|
25
25
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
26
26
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
27
27
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -48,4 +48,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
exports.Menu =
|
|
51
|
+
exports.Menu = _chunkADGHFLBJcjs.Menu2; exports.MenuContent = _chunkADGHFLBJcjs.MenuContent; exports.MenuGroup = _chunkADGHFLBJcjs.MenuGroup; exports.MenuItem = _chunkADGHFLBJcjs.MenuItem; exports.MenuItemDescription = _chunkADGHFLBJcjs.MenuItemDescription; exports.MenuItemIndicator = _chunkADGHFLBJcjs.MenuItemIndicator; exports.MenuItemTitle = _chunkADGHFLBJcjs.MenuItemTitle; exports.MenuLabel = _chunkADGHFLBJcjs.MenuLabel; exports.MenuOverlay = _chunkADGHFLBJcjs.MenuOverlay; exports.MenuRoot = _chunkADGHFLBJcjs.Menu; exports.MenuSeparator = _chunkADGHFLBJcjs.MenuSeparator; exports.MenuTrigger = _chunkADGHFLBJcjs.MenuTrigger; exports.menuRecipe = _chunkADGHFLBJcjs.menuRecipe; exports.useMenu = _chunkADGHFLBJcjs.useMenu; exports.useMenuItem = _chunkADGHFLBJcjs.useMenuItem;
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
menuRecipe,
|
|
15
15
|
useMenu,
|
|
16
16
|
useMenuItem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-TNFLBURM.js";
|
|
18
18
|
import "../../chunk-734MFAX4.js";
|
|
19
19
|
import "../../chunk-Z6FRP4EV.js";
|
|
20
20
|
import "../../chunk-2PMXMKS5.js";
|
|
21
21
|
import "../../chunk-64MXEVT3.js";
|
|
22
22
|
import "../../chunk-NCTOTTVW.js";
|
|
23
23
|
import "../../chunk-F6W3JQ7K.js";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-KQW25RCC.js";
|
|
25
25
|
import "../../chunk-423RQBOX.js";
|
|
26
26
|
import "../../chunk-JN6IRT2M.js";
|
|
27
27
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkV3C3ATROcjs = require('../../chunk-V3C3ATRO.cjs');
|
|
14
14
|
require('../../chunk-H2FTAU5C.cjs');
|
|
15
15
|
require('../../chunk-7EIHHOHP.cjs');
|
|
16
|
-
require('../../chunk-
|
|
16
|
+
require('../../chunk-HBYT7B47.cjs');
|
|
17
17
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
18
18
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
19
19
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -36,4 +36,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
exports.MORPH_SPRING =
|
|
39
|
+
exports.MORPH_SPRING = _chunkV3C3ATROcjs.MORPH_SPRING; exports.MorphButton = _chunkV3C3ATROcjs.MorphButton; exports.MorphButtonCollapsed = _chunkV3C3ATROcjs.MorphButtonCollapsed; exports.MorphButtonDescription = _chunkV3C3ATROcjs.MorphButtonDescription; exports.MorphButtonExpanded = _chunkV3C3ATROcjs.MorphButtonExpanded; exports.MorphButtonIcon = _chunkV3C3ATROcjs.MorphButtonIcon; exports.MorphButtonLabel = _chunkV3C3ATROcjs.MorphButtonLabel; exports.MorphButtonRoot = _chunkV3C3ATROcjs.MorphButtonRoot; exports.MorphButtonTitle = _chunkV3C3ATROcjs.MorphButtonTitle; exports.morphButtonRecipe = _chunkV3C3ATROcjs.morphButtonRecipe; exports.useMorphButton = _chunkV3C3ATROcjs.useMorphButton;
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
MorphButtonTitle,
|
|
11
11
|
morphButtonRecipe,
|
|
12
12
|
useMorphButton
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-ICVIWXK4.js";
|
|
14
14
|
import "../../chunk-7J3M62W5.js";
|
|
15
15
|
import "../../chunk-F6W3JQ7K.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-KQW25RCC.js";
|
|
17
17
|
import "../../chunk-423RQBOX.js";
|
|
18
18
|
import "../../chunk-JN6IRT2M.js";
|
|
19
19
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNXVSNESKcjs = require('../../chunk-NXVSNESK.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -15,9 +15,9 @@ var _chunk7AVZ2FSTcjs = require('../../chunk-7AVZ2FST.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkMPYBJSS7cjs = require('../../chunk-MPYBJSS7.cjs');
|
|
18
|
-
require('../../chunk-
|
|
19
|
-
require('../../chunk-
|
|
20
|
-
require('../../chunk-
|
|
18
|
+
require('../../chunk-NRU5APUE.cjs');
|
|
19
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
20
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
21
21
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
22
22
|
require('../../chunk-FHNIGHN5.cjs');
|
|
23
23
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -41,4 +41,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.NumberField =
|
|
44
|
+
exports.NumberField = _chunkNXVSNESKcjs.NumberField; exports.NumberFieldDecrement = _chunkNXVSNESKcjs.NumberFieldDecrement; exports.NumberFieldField = _chunkNXVSNESKcjs.NumberFieldField; exports.NumberFieldIncrement = _chunkNXVSNESKcjs.NumberFieldIncrement; exports.NumberFieldRoot = _chunkNXVSNESKcjs.NumberFieldRoot; exports.canStep = _chunkMPYBJSS7cjs.canStep; exports.clampNumber = _chunkMPYBJSS7cjs.clampNumber; exports.formatNumber = _chunkMPYBJSS7cjs.formatNumber; exports.numberFieldRecipe = _chunkNXVSNESKcjs.numberFieldRecipe; exports.numberMarks = _chunkMPYBJSS7cjs.numberMarks; exports.parseNumber = _chunkMPYBJSS7cjs.parseNumber; exports.stepNumber = _chunkMPYBJSS7cjs.stepNumber; exports.useNumberField = _chunkNXVSNESKcjs.useNumberField;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
NumberFieldRoot,
|
|
7
7
|
numberFieldRecipe,
|
|
8
8
|
useNumberField
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-VTGWFZCA.js";
|
|
10
10
|
import {
|
|
11
11
|
canStep,
|
|
12
12
|
clampNumber,
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
parseNumber,
|
|
16
16
|
stepNumber
|
|
17
17
|
} from "../../chunk-CG4NONIL.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-MZUYTCCB.js";
|
|
19
|
+
import "../../chunk-JYV53WUN.js";
|
|
20
|
+
import "../../chunk-NTVPLDJC.js";
|
|
21
21
|
import "../../chunk-JN6IRT2M.js";
|
|
22
22
|
import "../../chunk-WFZDAXDI.js";
|
|
23
23
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -10,8 +10,8 @@ import type { View } from 'react-native';
|
|
|
10
10
|
* </FieldGroup>
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
|
-
* It goes in a `FieldGroup
|
|
14
|
-
*
|
|
13
|
+
* It goes in a `FieldGroup`: that is the thing that lays a control over a field and measures
|
|
14
|
+
* it, and the field reads the same measurement to leave it room.
|
|
15
15
|
*
|
|
16
16
|
* **The trailing edge is not a choice.** The value sits between the two buttons, which is
|
|
17
17
|
* the only arrangement in which they read as one control rather than as two marks that
|
|
@@ -10,8 +10,8 @@ import type { View } from 'react-native';
|
|
|
10
10
|
* </FieldGroup>
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
|
-
* It goes in a `FieldGroup
|
|
14
|
-
*
|
|
13
|
+
* It goes in a `FieldGroup`: that is the thing that lays a control over a field and measures
|
|
14
|
+
* it, and the field reads the same measurement to leave it room.
|
|
15
15
|
*
|
|
16
16
|
* **The trailing edge is not a choice.** The value sits between the two buttons, which is
|
|
17
17
|
* the only arrangement in which they read as one control rather than as two marks that
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkYRANVNJGcjs = require('../../chunk-YRANVNJG.cjs');
|
|
15
15
|
require('../../chunk-7EIHHOHP.cjs');
|
|
16
|
-
require('../../chunk-
|
|
16
|
+
require('../../chunk-HBYT7B47.cjs');
|
|
17
17
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
18
18
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
19
19
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -37,4 +37,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
exports.NUMBER_PAD_ROWS =
|
|
40
|
+
exports.NUMBER_PAD_ROWS = _chunkYRANVNJGcjs.NUMBER_PAD_ROWS; exports.NUMBER_PAD_ZERO = _chunkYRANVNJGcjs.NUMBER_PAD_ZERO; exports.NumberPad = _chunkYRANVNJGcjs.NumberPad; exports.NumberPadAction = _chunkYRANVNJGcjs.NumberPadAction; exports.NumberPadBackspace = _chunkYRANVNJGcjs.NumberPadBackspace; exports.NumberPadIcon = _chunkYRANVNJGcjs.NumberPadIcon; exports.NumberPadKey = _chunkYRANVNJGcjs.NumberPadKey; exports.NumberPadLabel = _chunkYRANVNJGcjs.NumberPadLabel; exports.NumberPadRoot = _chunkYRANVNJGcjs.NumberPadRoot; exports.numberPadRecipe = _chunkYRANVNJGcjs.numberPadRecipe; exports.useNumberPad = _chunkYRANVNJGcjs.useNumberPad; exports.useNumberPadCell = _chunkYRANVNJGcjs.useNumberPadCell;
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
numberPadRecipe,
|
|
12
12
|
useNumberPad,
|
|
13
13
|
useNumberPadCell
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-T5ES7FOL.js";
|
|
15
15
|
import "../../chunk-F6W3JQ7K.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-KQW25RCC.js";
|
|
17
17
|
import "../../chunk-423RQBOX.js";
|
|
18
18
|
import "../../chunk-JN6IRT2M.js";
|
|
19
19
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkD22K3NZUcjs = require('../../chunk-D22K3NZU.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ var _chunkPDSR42YCcjs = require('../../chunk-PDSR42YC.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkMPYBJSS7cjs = require('../../chunk-MPYBJSS7.cjs');
|
|
19
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-HBYT7B47.cjs');
|
|
20
20
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
21
21
|
require('../../chunk-FHNIGHN5.cjs');
|
|
22
22
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -41,4 +41,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.NumberStepper =
|
|
44
|
+
exports.NumberStepper = _chunkD22K3NZUcjs.NumberStepper; exports.NumberStepperDecrement = _chunkD22K3NZUcjs.NumberStepperDecrement; exports.NumberStepperIncrement = _chunkD22K3NZUcjs.NumberStepperIncrement; exports.NumberStepperRoot = _chunkD22K3NZUcjs.NumberStepperRoot; exports.NumberStepperTrack = _chunkD22K3NZUcjs.NumberStepperTrack; exports.NumberStepperValue = _chunkD22K3NZUcjs.NumberStepperValue; exports.canStep = _chunkMPYBJSS7cjs.canStep; exports.clampNumber = _chunkMPYBJSS7cjs.clampNumber; exports.formatNumber = _chunkMPYBJSS7cjs.formatNumber; exports.numberMarks = _chunkMPYBJSS7cjs.numberMarks; exports.numberStepperRecipe = _chunkD22K3NZUcjs.numberStepperRecipe; exports.parseNumber = _chunkMPYBJSS7cjs.parseNumber; exports.stepNumber = _chunkMPYBJSS7cjs.stepNumber; exports.useNumberStepper = _chunkD22K3NZUcjs.useNumberStepper;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
NumberStepperValue,
|
|
8
8
|
numberStepperRecipe,
|
|
9
9
|
useNumberStepper
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-AYOJXFHR.js";
|
|
11
11
|
import {
|
|
12
12
|
canStep,
|
|
13
13
|
clampNumber,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseNumber,
|
|
17
17
|
stepNumber
|
|
18
18
|
} from "../../chunk-CG4NONIL.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-KQW25RCC.js";
|
|
20
20
|
import "../../chunk-423RQBOX.js";
|
|
21
21
|
import "../../chunk-WFZDAXDI.js";
|
|
22
22
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkAHKKEM3Kcjs = require('../../chunk-AHKKEM3K.cjs');
|
|
12
12
|
require('../../chunk-FTPPUTWL.cjs');
|
|
13
13
|
require('../../chunk-WFEMJCXO.cjs');
|
|
14
14
|
require('../../chunk-7EIHHOHP.cjs');
|
|
@@ -30,4 +30,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.DOT_REST_OPACITY =
|
|
33
|
+
exports.DOT_REST_OPACITY = _chunkAHKKEM3Kcjs.DOT_REST_OPACITY; exports.Pager = _chunkAHKKEM3Kcjs.Pager; exports.PagerContent = _chunkAHKKEM3Kcjs.PagerContent; exports.PagerDot = _chunkAHKKEM3Kcjs.PagerDot; exports.PagerIndicator = _chunkAHKKEM3Kcjs.PagerIndicator; exports.PagerPage = _chunkAHKKEM3Kcjs.PagerPage; exports.PagerRoot = _chunkAHKKEM3Kcjs.PagerRoot; exports.pagerRecipe = _chunkAHKKEM3Kcjs.pagerRecipe; exports.usePager = _chunkAHKKEM3Kcjs.usePager;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNRU5APUEcjs = require('../../chunk-NRU5APUE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -11,8 +11,7 @@ var _chunkNADCILBLcjs = require('../../chunk-NADCILBL.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('../../chunk-WLWZG2PA.cjs');
|
|
14
|
+
var _chunk2IOL3VDPcjs = require('../../chunk-2IOL3VDP.cjs');
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
|
|
@@ -21,19 +20,20 @@ require('../../chunk-WLWZG2PA.cjs');
|
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
|
|
24
|
-
var
|
|
23
|
+
var _chunk3TBT6ORWcjs = require('../../chunk-3TBT6ORW.cjs');
|
|
25
24
|
|
|
26
25
|
|
|
27
|
-
var
|
|
26
|
+
var _chunk6NRWZR7Tcjs = require('../../chunk-6NRWZR7T.cjs');
|
|
28
27
|
require('../../chunk-XSQPVDFH.cjs');
|
|
29
28
|
require('../../chunk-H2FTAU5C.cjs');
|
|
29
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
30
30
|
require('../../chunk-WDDXU3OH.cjs');
|
|
31
31
|
require('../../chunk-EKS3W46M.cjs');
|
|
32
32
|
require('../../chunk-WFEMJCXO.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunk7EIHHOHPcjs = require('../../chunk-7EIHHOHP.cjs');
|
|
36
|
-
require('../../chunk-
|
|
36
|
+
require('../../chunk-HBYT7B47.cjs');
|
|
37
37
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
38
38
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
39
39
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -59,11 +59,18 @@ var _react = require('react');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var _min = require('libphonenumber-js/min');
|
|
62
|
+
function regionNames(locale) {
|
|
63
|
+
try {
|
|
64
|
+
return new Intl.DisplayNames([locale], { type: "region" });
|
|
65
|
+
} catch (e) {
|
|
66
|
+
return void 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
62
69
|
function phoneCountries(locale, codes = _min.getCountries.call(void 0, )) {
|
|
63
|
-
const names =
|
|
70
|
+
const names = regionNames(locale);
|
|
64
71
|
return [...new Set(codes)].map((code) => ({
|
|
65
72
|
code,
|
|
66
|
-
name: _nullishCoalesce(names.of(code), () => ( code)),
|
|
73
|
+
name: _nullishCoalesce(_optionalChain([names, 'optionalAccess', _ => _.of, 'call', _2 => _2(code)]), () => ( code)),
|
|
67
74
|
callingCode: _min.getCountryCallingCode.call(void 0, code),
|
|
68
75
|
flag: String.fromCodePoint(
|
|
69
76
|
...[...code].map((letter) => letter.charCodeAt(0) + 127397)
|
|
@@ -83,7 +90,7 @@ function filterPhoneCountries(countries, query) {
|
|
|
83
90
|
}
|
|
84
91
|
function readPhoneNumber(value) {
|
|
85
92
|
const parsed = _min.parsePhoneNumberFromString.call(void 0, value.nationalNumber, value.country);
|
|
86
|
-
return _optionalChain([parsed, 'optionalAccess',
|
|
93
|
+
return _optionalChain([parsed, 'optionalAccess', _3 => _3.isPossible, 'call', _4 => _4()]) ? parsed : null;
|
|
87
94
|
}
|
|
88
95
|
function editPhoneNumber(text, current, allowed) {
|
|
89
96
|
const normalized = _min.parseIncompletePhoneNumber.call(void 0, text);
|
|
@@ -91,7 +98,7 @@ function editPhoneNumber(text, current, allowed) {
|
|
|
91
98
|
return { country: current.country, nationalNumber: normalized.slice(0, 17) };
|
|
92
99
|
}
|
|
93
100
|
const parsed = _min.parsePhoneNumberFromString.call(void 0, normalized);
|
|
94
|
-
if (!_optionalChain([parsed, 'optionalAccess',
|
|
101
|
+
if (!_optionalChain([parsed, 'optionalAccess', _5 => _5.country])) {
|
|
95
102
|
return { country: current.country, nationalNumber: normalized.slice(0, 16) };
|
|
96
103
|
}
|
|
97
104
|
if (allowed && !allowed.includes(parsed.country)) return current;
|
|
@@ -117,7 +124,7 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
117
124
|
const [value, setValue] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
|
|
118
125
|
value: controlled,
|
|
119
126
|
defaultValue: _nullishCoalesce(defaultValue, () => ( {
|
|
120
|
-
country: _nullishCoalesce(_optionalChain([countryCodes, 'optionalAccess',
|
|
127
|
+
country: _nullishCoalesce(_optionalChain([countryCodes, 'optionalAccess', _6 => _6[0]]), () => ( "US")),
|
|
121
128
|
nationalNumber: ""
|
|
122
129
|
})),
|
|
123
130
|
onChange: onValueChange
|
|
@@ -165,7 +172,7 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
165
172
|
value,
|
|
166
173
|
country,
|
|
167
174
|
countries,
|
|
168
|
-
phoneNumber: _nullishCoalesce(_optionalChain([phoneNumber, 'optionalAccess',
|
|
175
|
+
phoneNumber: _nullishCoalesce(_optionalChain([phoneNumber, 'optionalAccess', _7 => _7.number]), () => ( null)),
|
|
169
176
|
setNumber,
|
|
170
177
|
selectCountry,
|
|
171
178
|
formatNumber,
|
|
@@ -189,13 +196,13 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
189
196
|
]
|
|
190
197
|
);
|
|
191
198
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
-
|
|
199
|
+
_chunk3TBT6ORWcjs.BottomSheet,
|
|
193
200
|
{
|
|
194
201
|
isOpen: context.isOpen,
|
|
195
202
|
onOpenChange: setOpen,
|
|
196
203
|
isDisabled,
|
|
197
204
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
198
|
-
|
|
205
|
+
_chunk2IOL3VDPcjs.TextFieldRoot,
|
|
199
206
|
{
|
|
200
207
|
ref,
|
|
201
208
|
variant: "primary",
|
|
@@ -215,13 +222,13 @@ PhoneNumberFieldRoot.displayName = "XAUI.PhoneNumberField.Root";
|
|
|
215
222
|
|
|
216
223
|
var PhoneNumberFieldField = _react.forwardRef.call(void 0, function PhoneNumberFieldField2({ style, onBlur, ...props }, ref) {
|
|
217
224
|
const { value, setNumber, formatNumber } = usePhoneNumberField();
|
|
218
|
-
const group =
|
|
225
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
219
226
|
const padding = _react.useMemo.call(void 0,
|
|
220
|
-
() =>
|
|
221
|
-
[_optionalChain([group, 'optionalAccess',
|
|
227
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _8 => _8.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _9 => _9.suffixWidth]), () => ( 0))),
|
|
228
|
+
[_optionalChain([group, 'optionalAccess', _10 => _10.prefixWidth]), _optionalChain([group, 'optionalAccess', _11 => _11.suffixWidth])]
|
|
222
229
|
);
|
|
223
230
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
224
|
-
|
|
231
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
225
232
|
{
|
|
226
233
|
ref,
|
|
227
234
|
keyboardType: "phone-pad",
|
|
@@ -231,7 +238,7 @@ var PhoneNumberFieldField = _react.forwardRef.call(void 0, function PhoneNumberF
|
|
|
231
238
|
onChangeText: setNumber,
|
|
232
239
|
onBlur: (event) => {
|
|
233
240
|
formatNumber();
|
|
234
|
-
_optionalChain([onBlur, 'optionalCall',
|
|
241
|
+
_optionalChain([onBlur, 'optionalCall', _12 => _12(event)]);
|
|
235
242
|
},
|
|
236
243
|
style: [padding, style]
|
|
237
244
|
}
|
|
@@ -245,9 +252,9 @@ var _reactnative = require('react-native');
|
|
|
245
252
|
|
|
246
253
|
var PhoneNumberFieldCountry = _react.forwardRef.call(void 0, function PhoneNumberFieldCountry2({ children, asChild, ...props }, ref) {
|
|
247
254
|
const { country } = usePhoneNumberField();
|
|
248
|
-
const { labelStyle } =
|
|
255
|
+
const { labelStyle } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
249
256
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
250
|
-
|
|
257
|
+
_chunk3TBT6ORWcjs.BottomSheetTrigger,
|
|
251
258
|
{
|
|
252
259
|
ref,
|
|
253
260
|
asChild,
|
|
@@ -271,8 +278,8 @@ function PhoneNumberFieldContent({
|
|
|
271
278
|
...props
|
|
272
279
|
}) {
|
|
273
280
|
const context = usePhoneNumberField();
|
|
274
|
-
const field =
|
|
275
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
281
|
+
const field = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
282
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheetContent, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldProvider, { value: field, children }) }) });
|
|
276
283
|
}
|
|
277
284
|
PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
|
|
278
285
|
|
|
@@ -281,8 +288,8 @@ PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
|
|
|
281
288
|
|
|
282
289
|
var PhoneNumberFieldSearch = _react.forwardRef.call(void 0, function PhoneNumberFieldSearch2(props, ref) {
|
|
283
290
|
const { query, setQuery } = usePhoneNumberField();
|
|
284
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
291
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextField, { variant: "secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
292
|
+
_chunk2IOL3VDPcjs.TextField.Field,
|
|
286
293
|
{
|
|
287
294
|
ref,
|
|
288
295
|
accessibilityRole: "search",
|
|
@@ -318,7 +325,7 @@ var PhoneNumberFieldCountryList = _react.forwardRef.call(void 0, function PhoneN
|
|
|
318
325
|
data: filtered,
|
|
319
326
|
extraData: value.country,
|
|
320
327
|
renderItem: ({ item }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
-
|
|
328
|
+
_chunk6NRWZR7Tcjs.Button,
|
|
322
329
|
{
|
|
323
330
|
variant: "ghost",
|
|
324
331
|
justifyContent: "flex-start",
|
|
@@ -329,13 +336,13 @@ var PhoneNumberFieldCountryList = _react.forwardRef.call(void 0, function PhoneN
|
|
|
329
336
|
_reactnative.Keyboard.dismiss();
|
|
330
337
|
},
|
|
331
338
|
children: renderCountry ? renderCountry(item) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
332
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
339
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6NRWZR7Tcjs.Button.Label, { children: [
|
|
333
340
|
item.flag,
|
|
334
341
|
" +",
|
|
335
342
|
item.callingCode
|
|
336
343
|
] }),
|
|
337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
338
|
-
item.code === value.country ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NRWZR7Tcjs.Button.Label, { flex: 1, children: item.name }),
|
|
345
|
+
item.code === value.country ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6NRWZR7Tcjs.Button.Label, { children: "\u2713" }) : null
|
|
339
346
|
] })
|
|
340
347
|
}
|
|
341
348
|
)
|
|
@@ -346,16 +353,16 @@ PhoneNumberFieldCountryList.displayName = "XAUI.PhoneNumberField.CountryList";
|
|
|
346
353
|
|
|
347
354
|
// src/components/phone-number-field/index.ts
|
|
348
355
|
var PhoneNumberField2 = Object.assign(PhoneNumberFieldRoot, {
|
|
349
|
-
Label:
|
|
356
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
350
357
|
Field: PhoneNumberFieldField,
|
|
351
358
|
Country: PhoneNumberFieldCountry,
|
|
352
|
-
Description:
|
|
353
|
-
Error:
|
|
354
|
-
Overlay:
|
|
359
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
360
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError,
|
|
361
|
+
Overlay: _chunk3TBT6ORWcjs.BottomSheetOverlay,
|
|
355
362
|
Content: PhoneNumberFieldContent,
|
|
356
|
-
Handle:
|
|
357
|
-
Title:
|
|
358
|
-
Close:
|
|
363
|
+
Handle: _chunk3TBT6ORWcjs.BottomSheetHandle,
|
|
364
|
+
Title: _chunk3TBT6ORWcjs.BottomSheetTitle,
|
|
365
|
+
Close: _chunk3TBT6ORWcjs.BottomSheetClose,
|
|
359
366
|
Search: PhoneNumberFieldSearch,
|
|
360
367
|
CountryList: PhoneNumberFieldCountryList
|
|
361
368
|
});
|