@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
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { collectItemLabels, useLabelRegistry } from "./chunk-4WCBZFAK.js";
|
|
2
2
|
import { useAnchoredPosition } from "./chunk-Z6FRP4EV.js";
|
|
3
|
-
import {
|
|
3
|
+
import { textFieldRecipe } from "./chunk-NTVPLDJC.js";
|
|
4
|
+
import { selectRecipe } from "./chunk-OUNTRW6E.js";
|
|
4
5
|
import { Portal } from "./chunk-2PMXMKS5.js";
|
|
5
6
|
import { INDICATOR_ROTATION, INDICATOR_SPRING, anchoredEntering, anchoredExiting, overlayEntering, overlayExiting } from "./chunk-64MXEVT3.js";
|
|
6
7
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
7
8
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
8
|
-
import { PressableFeedback } from "./chunk-
|
|
9
|
+
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
9
10
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
10
11
|
import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
|
|
11
12
|
import { childrenToString } from "./chunk-WFZDAXDI.js";
|
|
12
|
-
import { createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
13
|
+
import { Slot, createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
13
14
|
import { useXAUITheme } from "./chunk-Z6JBWRPL.js";
|
|
14
15
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
15
16
|
|
|
@@ -210,14 +211,85 @@ var SelectContent = forwardRef3(function SelectContent2({
|
|
|
210
211
|
});
|
|
211
212
|
SelectContent.displayName = "XAUI.Select.Content";
|
|
212
213
|
|
|
214
|
+
// src/components/select/select-description.tsx
|
|
215
|
+
import { forwardRef as forwardRef4 } from "react";
|
|
216
|
+
import { Text as Text2 } from "react-native";
|
|
217
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
218
|
+
var SelectDescription = forwardRef4(function SelectDescription2({
|
|
219
|
+
children,
|
|
220
|
+
style,
|
|
221
|
+
nativeID,
|
|
222
|
+
...props
|
|
223
|
+
}, ref) {
|
|
224
|
+
const {
|
|
225
|
+
descriptionStyle,
|
|
226
|
+
descriptionId
|
|
227
|
+
} = useSelect();
|
|
228
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
229
|
+
return /* @__PURE__ */jsx4(Text2, {
|
|
230
|
+
ref,
|
|
231
|
+
nativeID: nativeID ?? descriptionId,
|
|
232
|
+
style: [descriptionStyle, styleProps, style],
|
|
233
|
+
...rest,
|
|
234
|
+
children
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
SelectDescription.displayName = "XAUI.Select.Description";
|
|
238
|
+
|
|
239
|
+
// src/components/select/select-error.tsx
|
|
240
|
+
import { forwardRef as forwardRef5 } from "react";
|
|
241
|
+
import { Text as Text3 } from "react-native";
|
|
242
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
243
|
+
var SelectError = forwardRef5(function SelectError2({
|
|
244
|
+
children,
|
|
245
|
+
style,
|
|
246
|
+
...props
|
|
247
|
+
}, ref) {
|
|
248
|
+
const {
|
|
249
|
+
errorStyle
|
|
250
|
+
} = useSelect();
|
|
251
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
252
|
+
return /* @__PURE__ */jsx5(Text3, {
|
|
253
|
+
ref,
|
|
254
|
+
style: [errorStyle, styleProps, style],
|
|
255
|
+
...rest,
|
|
256
|
+
children
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
SelectError.displayName = "XAUI.Select.Error";
|
|
260
|
+
|
|
261
|
+
// src/components/select/select-group-label.tsx
|
|
262
|
+
import { forwardRef as forwardRef6 } from "react";
|
|
263
|
+
import { Text as Text4 } from "react-native";
|
|
264
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
265
|
+
var SelectGroupLabel = forwardRef6(function SelectGroupLabel2({
|
|
266
|
+
children,
|
|
267
|
+
accessibilityRole = "header",
|
|
268
|
+
style,
|
|
269
|
+
...props
|
|
270
|
+
}, ref) {
|
|
271
|
+
const {
|
|
272
|
+
groupLabelStyle
|
|
273
|
+
} = useSelect();
|
|
274
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
275
|
+
return /* @__PURE__ */jsx6(Text4, {
|
|
276
|
+
ref,
|
|
277
|
+
accessibilityRole,
|
|
278
|
+
...rest,
|
|
279
|
+
style: [groupLabelStyle, styleProps, style],
|
|
280
|
+
children
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
SelectGroupLabel.displayName = "XAUI.Select.GroupLabel";
|
|
284
|
+
|
|
213
285
|
// src/components/select/select-indicator.tsx
|
|
214
286
|
import { useEffect as useEffect3 } from "react";
|
|
215
287
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
216
|
-
import { jsx as
|
|
217
|
-
const
|
|
218
|
-
code: "function
|
|
219
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
220
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
288
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
289
|
+
const _worklet_5045454406356_init_data = {
|
|
290
|
+
code: "function chunkWIGDDZHOJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
291
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-WIGDDZHO.js",
|
|
292
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkWIGDDZHOJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-WIGDDZHO.js\"],\"mappings\":\"AA8ToC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
221
293
|
};
|
|
222
294
|
function SelectIndicator({
|
|
223
295
|
as = ChevronDownIcon,
|
|
@@ -231,37 +303,39 @@ function SelectIndicator({
|
|
|
231
303
|
useEffect3(() => {
|
|
232
304
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
233
305
|
}, [isOpen, progress]);
|
|
234
|
-
const rotation = useAnimatedStyle(function
|
|
235
|
-
|
|
306
|
+
const rotation = useAnimatedStyle(function chunkWIGDDZHOJs1Factory({
|
|
307
|
+
_worklet_5045454406356_init_data,
|
|
236
308
|
interpolate,
|
|
237
309
|
progress,
|
|
238
310
|
INDICATOR_ROTATION
|
|
239
311
|
}) {
|
|
240
312
|
const _e = [new global.Error(), -4, -27];
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
313
|
+
const chunkWIGDDZHOJs1 = function () {
|
|
314
|
+
return {
|
|
315
|
+
transform: [{
|
|
316
|
+
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
317
|
+
}]
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
chunkWIGDDZHOJs1.__closure = {
|
|
247
321
|
interpolate,
|
|
248
322
|
progress,
|
|
249
323
|
INDICATOR_ROTATION
|
|
250
324
|
};
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
return
|
|
325
|
+
chunkWIGDDZHOJs1.__workletHash = 5045454406356;
|
|
326
|
+
chunkWIGDDZHOJs1.__pluginVersion = "0.7.4";
|
|
327
|
+
chunkWIGDDZHOJs1.__initData = _worklet_5045454406356_init_data;
|
|
328
|
+
chunkWIGDDZHOJs1.__stackDetails = _e;
|
|
329
|
+
return chunkWIGDDZHOJs1;
|
|
256
330
|
}({
|
|
257
|
-
|
|
331
|
+
_worklet_5045454406356_init_data,
|
|
258
332
|
interpolate,
|
|
259
333
|
progress,
|
|
260
334
|
INDICATOR_ROTATION
|
|
261
|
-
}));
|
|
262
|
-
return /* @__PURE__ */
|
|
335
|
+
}), [progress]);
|
|
336
|
+
return /* @__PURE__ */jsx7(Animated2.View, {
|
|
263
337
|
style: [indicatorStyle, rotation],
|
|
264
|
-
children: /* @__PURE__ */
|
|
338
|
+
children: /* @__PURE__ */jsx7(Icon, {
|
|
265
339
|
as,
|
|
266
340
|
...props
|
|
267
341
|
})
|
|
@@ -270,10 +344,10 @@ function SelectIndicator({
|
|
|
270
344
|
SelectIndicator.displayName = "XAUI.Select.Indicator";
|
|
271
345
|
|
|
272
346
|
// src/components/select/select-item-description.tsx
|
|
273
|
-
import { forwardRef as
|
|
274
|
-
import { Text as
|
|
275
|
-
import { jsx as
|
|
276
|
-
var SelectItemDescription =
|
|
347
|
+
import { forwardRef as forwardRef7 } from "react";
|
|
348
|
+
import { Text as Text5 } from "react-native";
|
|
349
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
350
|
+
var SelectItemDescription = forwardRef7(function SelectItemDescription2({
|
|
277
351
|
children,
|
|
278
352
|
style,
|
|
279
353
|
...props
|
|
@@ -282,7 +356,7 @@ var SelectItemDescription = forwardRef4(function SelectItemDescription2({
|
|
|
282
356
|
itemDescriptionStyle
|
|
283
357
|
} = useSelect();
|
|
284
358
|
const [styleProps, rest] = useStyleProps(props);
|
|
285
|
-
return /* @__PURE__ */
|
|
359
|
+
return /* @__PURE__ */jsx8(Text5, {
|
|
286
360
|
ref,
|
|
287
361
|
...rest,
|
|
288
362
|
style: [itemDescriptionStyle, styleProps, style],
|
|
@@ -296,17 +370,17 @@ import { View } from "react-native";
|
|
|
296
370
|
|
|
297
371
|
// src/components/select/check-icon.tsx
|
|
298
372
|
import { Path, Svg } from "react-native-svg";
|
|
299
|
-
import { jsx as
|
|
373
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
300
374
|
function CheckIcon({
|
|
301
375
|
size = 20,
|
|
302
376
|
color = "currentColor"
|
|
303
377
|
}) {
|
|
304
|
-
return /* @__PURE__ */
|
|
378
|
+
return /* @__PURE__ */jsx9(Svg, {
|
|
305
379
|
width: size,
|
|
306
380
|
height: size,
|
|
307
381
|
viewBox: "0 0 24 24",
|
|
308
382
|
fill: "none",
|
|
309
|
-
children: /* @__PURE__ */
|
|
383
|
+
children: /* @__PURE__ */jsx9(Path, {
|
|
310
384
|
d: "m20 6-11 11-5-5",
|
|
311
385
|
stroke: color,
|
|
312
386
|
strokeWidth: 2,
|
|
@@ -318,7 +392,7 @@ function CheckIcon({
|
|
|
318
392
|
CheckIcon.displayName = "XAUI.Select.CheckIcon";
|
|
319
393
|
|
|
320
394
|
// src/components/select/select-item-indicator.tsx
|
|
321
|
-
import { jsx as
|
|
395
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
322
396
|
function SelectItemIndicator({
|
|
323
397
|
as = CheckIcon,
|
|
324
398
|
color,
|
|
@@ -331,9 +405,9 @@ function SelectItemIndicator({
|
|
|
331
405
|
const {
|
|
332
406
|
isSelected
|
|
333
407
|
} = useSelectItem();
|
|
334
|
-
return /* @__PURE__ */
|
|
408
|
+
return /* @__PURE__ */jsx10(View, {
|
|
335
409
|
style: itemIndicatorStyle,
|
|
336
|
-
children: isSelected ? /* @__PURE__ */
|
|
410
|
+
children: isSelected ? /* @__PURE__ */jsx10(Icon, {
|
|
337
411
|
as,
|
|
338
412
|
color: color ?? checkColor,
|
|
339
413
|
...props
|
|
@@ -343,36 +417,37 @@ function SelectItemIndicator({
|
|
|
343
417
|
SelectItemIndicator.displayName = "XAUI.Select.ItemIndicator";
|
|
344
418
|
|
|
345
419
|
// src/components/select/select-label.tsx
|
|
346
|
-
import { forwardRef as
|
|
347
|
-
import { Text as
|
|
348
|
-
import { jsx as
|
|
349
|
-
var SelectLabel =
|
|
420
|
+
import { forwardRef as forwardRef8 } from "react";
|
|
421
|
+
import { Text as Text6 } from "react-native";
|
|
422
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
423
|
+
var SelectLabel = forwardRef8(function SelectLabel2({
|
|
350
424
|
children,
|
|
351
|
-
accessibilityRole = "header",
|
|
352
425
|
style,
|
|
426
|
+
nativeID,
|
|
353
427
|
...props
|
|
354
428
|
}, ref) {
|
|
355
429
|
const {
|
|
356
|
-
labelStyle
|
|
430
|
+
labelStyle,
|
|
431
|
+
labelId
|
|
357
432
|
} = useSelect();
|
|
358
433
|
const [styleProps, rest] = useStyleProps(props);
|
|
359
|
-
return /* @__PURE__ */
|
|
434
|
+
return /* @__PURE__ */jsx11(Text6, {
|
|
360
435
|
ref,
|
|
361
|
-
|
|
362
|
-
...rest,
|
|
436
|
+
nativeID: nativeID ?? labelId,
|
|
363
437
|
style: [labelStyle, styleProps, style],
|
|
438
|
+
...rest,
|
|
364
439
|
children
|
|
365
440
|
});
|
|
366
441
|
});
|
|
367
442
|
SelectLabel.displayName = "XAUI.Select.Label";
|
|
368
443
|
|
|
369
444
|
// src/components/select/select-overlay.tsx
|
|
370
|
-
import { forwardRef as
|
|
445
|
+
import { forwardRef as forwardRef9 } from "react";
|
|
371
446
|
import { Pressable } from "react-native";
|
|
372
447
|
import Animated3 from "react-native-reanimated";
|
|
373
|
-
import { jsx as
|
|
448
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
374
449
|
var AnimatedPressable = Animated3.createAnimatedComponent(Pressable);
|
|
375
|
-
var SelectOverlay =
|
|
450
|
+
var SelectOverlay = forwardRef9(function SelectOverlay2({
|
|
376
451
|
children,
|
|
377
452
|
isDismissable = true,
|
|
378
453
|
style,
|
|
@@ -386,10 +461,10 @@ var SelectOverlay = forwardRef6(function SelectOverlay2({
|
|
|
386
461
|
} = context;
|
|
387
462
|
const [styleProps, rest] = useStyleProps(props);
|
|
388
463
|
if (!isOpen) return null;
|
|
389
|
-
return /* @__PURE__ */
|
|
390
|
-
children: /* @__PURE__ */
|
|
464
|
+
return /* @__PURE__ */jsx12(Portal, {
|
|
465
|
+
children: /* @__PURE__ */jsx12(SelectProvider, {
|
|
391
466
|
value: context,
|
|
392
|
-
children: /* @__PURE__ */
|
|
467
|
+
children: /* @__PURE__ */jsx12(AnimatedPressable, {
|
|
393
468
|
ref,
|
|
394
469
|
entering: overlayEntering,
|
|
395
470
|
exiting: overlayExiting,
|
|
@@ -406,9 +481,9 @@ var SelectOverlay = forwardRef6(function SelectOverlay2({
|
|
|
406
481
|
SelectOverlay.displayName = "XAUI.Select.Overlay";
|
|
407
482
|
|
|
408
483
|
// src/components/select/select-trigger.tsx
|
|
409
|
-
import { forwardRef as
|
|
410
|
-
import { jsx as
|
|
411
|
-
var SelectTrigger =
|
|
484
|
+
import { forwardRef as forwardRef10, useCallback as useCallback2, useEffect as useEffect4, useRef } from "react";
|
|
485
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
486
|
+
var SelectTrigger = forwardRef10(function SelectTrigger2({
|
|
412
487
|
children,
|
|
413
488
|
asChild = false,
|
|
414
489
|
accessibilityRole = "button",
|
|
@@ -428,7 +503,9 @@ var SelectTrigger = forwardRef7(function SelectTrigger2({
|
|
|
428
503
|
isDisabled,
|
|
429
504
|
isInvalid,
|
|
430
505
|
toggle,
|
|
431
|
-
setAnchor
|
|
506
|
+
setAnchor,
|
|
507
|
+
labelId,
|
|
508
|
+
descriptionId
|
|
432
509
|
} = useSelect();
|
|
433
510
|
const [styleProps, rest] = useStyleProps(props);
|
|
434
511
|
const [isPressed, press] = usePressState({
|
|
@@ -459,9 +536,9 @@ var SelectTrigger = forwardRef7(function SelectTrigger2({
|
|
|
459
536
|
measure();
|
|
460
537
|
toggle();
|
|
461
538
|
}, [measure, onPress, toggle]);
|
|
462
|
-
return /* @__PURE__ */
|
|
539
|
+
return /* @__PURE__ */jsx13(IconContext.Provider, {
|
|
463
540
|
value: glyph,
|
|
464
|
-
children: /* @__PURE__ */
|
|
541
|
+
children: /* @__PURE__ */jsx13(PressableFeedback, {
|
|
465
542
|
ref: refs,
|
|
466
543
|
isPressed,
|
|
467
544
|
isDisabled,
|
|
@@ -473,6 +550,8 @@ var SelectTrigger = forwardRef7(function SelectTrigger2({
|
|
|
473
550
|
...accessibilityState
|
|
474
551
|
},
|
|
475
552
|
"aria-invalid": isInvalid || void 0,
|
|
553
|
+
"aria-labelledby": labelId,
|
|
554
|
+
"aria-describedby": descriptionId,
|
|
476
555
|
...rest,
|
|
477
556
|
onLayout: handleLayout,
|
|
478
557
|
style: [triggerStyle, isPressed && triggerPressedStyle, styleProps, typeof style === "function" ? style({
|
|
@@ -488,10 +567,10 @@ var SelectTrigger = forwardRef7(function SelectTrigger2({
|
|
|
488
567
|
SelectTrigger.displayName = "XAUI.Select.Trigger";
|
|
489
568
|
|
|
490
569
|
// src/components/select/select-value.tsx
|
|
491
|
-
import { forwardRef as
|
|
492
|
-
import { Text as
|
|
493
|
-
import { jsx as
|
|
494
|
-
var SelectValue =
|
|
570
|
+
import { forwardRef as forwardRef11 } from "react";
|
|
571
|
+
import { Text as Text7 } from "react-native";
|
|
572
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
573
|
+
var SelectValue = forwardRef11(function SelectValue2({
|
|
495
574
|
placeholder,
|
|
496
575
|
children,
|
|
497
576
|
numberOfLines = 1,
|
|
@@ -507,7 +586,7 @@ var SelectValue = forwardRef8(function SelectValue2({
|
|
|
507
586
|
const [styleProps, rest] = useStyleProps(props);
|
|
508
587
|
const label = children ?? (value !== void 0 ? labelFor(value) : void 0);
|
|
509
588
|
const isEmpty = label === void 0 || label === "";
|
|
510
|
-
return /* @__PURE__ */
|
|
589
|
+
return /* @__PURE__ */jsx14(Text7, {
|
|
511
590
|
ref,
|
|
512
591
|
numberOfLines,
|
|
513
592
|
...rest,
|
|
@@ -518,10 +597,10 @@ var SelectValue = forwardRef8(function SelectValue2({
|
|
|
518
597
|
SelectValue.displayName = "XAUI.Select.Value";
|
|
519
598
|
|
|
520
599
|
// src/components/select/select.tsx
|
|
521
|
-
import { useCallback as useCallback3, useMemo as useMemo2, useState } from "react";
|
|
522
|
-
import { StyleSheet } from "react-native";
|
|
523
|
-
import { jsx as
|
|
524
|
-
|
|
600
|
+
import { forwardRef as forwardRef12, useCallback as useCallback3, useId, useMemo as useMemo2, useState } from "react";
|
|
601
|
+
import { StyleSheet, View as View2 } from "react-native";
|
|
602
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
603
|
+
var Select = forwardRef12(function Select2({
|
|
525
604
|
children,
|
|
526
605
|
variant,
|
|
527
606
|
size,
|
|
@@ -534,14 +613,21 @@ function Select({
|
|
|
534
613
|
defaultOpen = false,
|
|
535
614
|
onOpenChange,
|
|
536
615
|
isDisabled = false,
|
|
537
|
-
isInvalid = false
|
|
538
|
-
|
|
616
|
+
isInvalid = false,
|
|
617
|
+
asChild = false,
|
|
618
|
+
style,
|
|
619
|
+
...props
|
|
620
|
+
}, ref) {
|
|
539
621
|
const theme = useXAUITheme();
|
|
622
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
540
623
|
const {
|
|
541
624
|
labelFor,
|
|
542
625
|
registerLabel
|
|
543
626
|
} = useLabelRegistry();
|
|
544
627
|
const [anchor, setAnchor] = useState(null);
|
|
628
|
+
const id = useId();
|
|
629
|
+
const labelId = `${id}-label`;
|
|
630
|
+
const descriptionId = `${id}-description`;
|
|
545
631
|
const [value, setValue] = useControllableState({
|
|
546
632
|
value: controlledValue,
|
|
547
633
|
defaultValue,
|
|
@@ -561,10 +647,7 @@ function Select({
|
|
|
561
647
|
};
|
|
562
648
|
const styles = selectRecipe.resolve({
|
|
563
649
|
theme,
|
|
564
|
-
selection
|
|
565
|
-
states: {
|
|
566
|
-
disabled: isDisabled
|
|
567
|
-
}
|
|
650
|
+
selection
|
|
568
651
|
});
|
|
569
652
|
const pressed = selectRecipe.resolve({
|
|
570
653
|
theme,
|
|
@@ -578,6 +661,16 @@ function Select({
|
|
|
578
661
|
color,
|
|
579
662
|
selection
|
|
580
663
|
}) : void 0;
|
|
664
|
+
const labelled = textFieldRecipe.resolve({
|
|
665
|
+
theme,
|
|
666
|
+
selection: {
|
|
667
|
+
size,
|
|
668
|
+
isInvalid: isInvalid ? "true" : void 0
|
|
669
|
+
},
|
|
670
|
+
states: {
|
|
671
|
+
disabled: isDisabled
|
|
672
|
+
}
|
|
673
|
+
});
|
|
581
674
|
const open = useCallback3(() => setOpen(true), [setOpen]);
|
|
582
675
|
const close = useCallback3(() => setOpen(false), [setOpen]);
|
|
583
676
|
const toggle = useCallback3(() => setOpen(!isOpen), [isOpen, setOpen]);
|
|
@@ -600,7 +693,10 @@ function Select({
|
|
|
600
693
|
indicatorStyle: styles.indicator,
|
|
601
694
|
overlayStyle: styles.overlay,
|
|
602
695
|
contentStyle: styles.content,
|
|
603
|
-
|
|
696
|
+
groupLabelStyle: styles.groupLabel,
|
|
697
|
+
labelStyle: labelled.label,
|
|
698
|
+
descriptionStyle: labelled.description,
|
|
699
|
+
errorStyle: labelled.error,
|
|
604
700
|
itemStyle: styles.item,
|
|
605
701
|
itemPressedStyle: pressed.item,
|
|
606
702
|
itemLabelStyle: styles.itemLabel,
|
|
@@ -626,27 +722,47 @@ function Select({
|
|
|
626
722
|
anchor,
|
|
627
723
|
setAnchor,
|
|
628
724
|
labelFor,
|
|
629
|
-
registerLabel
|
|
725
|
+
registerLabel,
|
|
726
|
+
labelId,
|
|
727
|
+
descriptionId
|
|
630
728
|
};
|
|
631
|
-
}, [styles, pressed, tint, value, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
|
|
632
|
-
|
|
633
|
-
|
|
729
|
+
}, [styles, pressed, tint, labelled, labelId, descriptionId, value, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
|
|
730
|
+
const columnStyle = [labelled.root, styleProps, style];
|
|
731
|
+
const column = asChild ?
|
|
732
|
+
// R12 — the caller's element is the column.
|
|
733
|
+
/* @__PURE__ */
|
|
734
|
+
jsx15(Slot, {
|
|
735
|
+
ref,
|
|
736
|
+
...rest,
|
|
737
|
+
style: columnStyle,
|
|
738
|
+
children
|
|
739
|
+
}) : /* @__PURE__ */jsx15(View2, {
|
|
740
|
+
ref,
|
|
741
|
+
...rest,
|
|
742
|
+
style: columnStyle,
|
|
634
743
|
children
|
|
635
744
|
});
|
|
636
|
-
|
|
745
|
+
return /* @__PURE__ */jsx15(SelectProvider, {
|
|
746
|
+
value: context,
|
|
747
|
+
children: column
|
|
748
|
+
});
|
|
749
|
+
});
|
|
637
750
|
Select.displayName = "XAUI.Select.Root";
|
|
638
751
|
|
|
639
752
|
// src/components/select/index.ts
|
|
640
|
-
var
|
|
753
|
+
var Select3 = Object.assign(Select, {
|
|
754
|
+
Label: SelectLabel,
|
|
641
755
|
Trigger: SelectTrigger,
|
|
642
756
|
Value: SelectValue,
|
|
643
757
|
Indicator: SelectIndicator,
|
|
644
758
|
Overlay: SelectOverlay,
|
|
645
759
|
Content: SelectContent,
|
|
646
|
-
|
|
760
|
+
GroupLabel: SelectGroupLabel,
|
|
647
761
|
Item: SelectItem,
|
|
648
762
|
ItemLabel: SelectItemLabel,
|
|
649
763
|
ItemDescription: SelectItemDescription,
|
|
650
|
-
ItemIndicator: SelectItemIndicator
|
|
764
|
+
ItemIndicator: SelectItemIndicator,
|
|
765
|
+
Description: SelectDescription,
|
|
766
|
+
Error: SelectError
|
|
651
767
|
});
|
|
652
|
-
export { useSelect, useSelectItem, SelectItemLabel, SelectItem, SelectContent, SelectIndicator, SelectItemDescription, CheckIcon, SelectItemIndicator, SelectLabel, SelectOverlay, SelectTrigger, SelectValue, Select, Select2 };
|
|
768
|
+
export { useSelect, useSelectItem, SelectItemLabel, SelectItem, SelectContent, SelectDescription, SelectError, SelectGroupLabel, SelectIndicator, SelectItemDescription, CheckIcon, SelectItemIndicator, SelectLabel, SelectOverlay, SelectTrigger, SelectValue, Select, Select3 as Select2 };
|
|
@@ -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(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -47,7 +47,7 @@ var CloseButtonBase = _react.forwardRef.call(void 0,
|
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
50
|
-
|
|
50
|
+
_chunkHBYT7B47cjs.PressableFeedback,
|
|
51
51
|
{
|
|
52
52
|
ref,
|
|
53
53
|
isPressed,
|