@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,22 +1,23 @@
|
|
|
1
1
|
import { collectItemLabels, readItemLabel, 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
13
|
import { createRecipe } from "./chunk-DKVXTMIJ.js";
|
|
13
|
-
import { createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
14
|
+
import { Slot, createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
14
15
|
import { useXAUITheme } from "./chunk-Z6JBWRPL.js";
|
|
15
16
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
16
17
|
|
|
17
18
|
// src/components/autocomplete/autocomplete.tsx
|
|
18
|
-
import { useCallback, useMemo, useState } from "react";
|
|
19
|
-
import { StyleSheet } from "react-native";
|
|
19
|
+
import { forwardRef, useCallback, useId, useMemo, useState } from "react";
|
|
20
|
+
import { StyleSheet, View } from "react-native";
|
|
20
21
|
|
|
21
22
|
// src/components/autocomplete/autocomplete.context.ts
|
|
22
23
|
var [AutocompleteProvider, useAutocomplete] = createSlotContext("Autocomplete");
|
|
@@ -101,7 +102,7 @@ var autocompleteRecipe = createRecipe({
|
|
|
101
102
|
|
|
102
103
|
// src/components/autocomplete/autocomplete.tsx
|
|
103
104
|
import { jsx } from "react/jsx-runtime";
|
|
104
|
-
|
|
105
|
+
var Autocomplete = forwardRef(function Autocomplete2({
|
|
105
106
|
children,
|
|
106
107
|
variant,
|
|
107
108
|
size,
|
|
@@ -117,14 +118,21 @@ function Autocomplete({
|
|
|
117
118
|
defaultQuery = "",
|
|
118
119
|
onQueryChange,
|
|
119
120
|
isDisabled = false,
|
|
120
|
-
isInvalid = false
|
|
121
|
-
|
|
121
|
+
isInvalid = false,
|
|
122
|
+
asChild = false,
|
|
123
|
+
style,
|
|
124
|
+
...props
|
|
125
|
+
}, ref) {
|
|
122
126
|
const theme = useXAUITheme();
|
|
127
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
123
128
|
const {
|
|
124
129
|
labelFor,
|
|
125
130
|
registerLabel
|
|
126
131
|
} = useLabelRegistry();
|
|
127
132
|
const [anchor, setAnchor] = useState(null);
|
|
133
|
+
const id = useId();
|
|
134
|
+
const labelId = `${id}-label`;
|
|
135
|
+
const descriptionId = `${id}-description`;
|
|
128
136
|
const [value, setValue] = useControllableState({
|
|
129
137
|
value: controlledValue,
|
|
130
138
|
defaultValue,
|
|
@@ -149,10 +157,7 @@ function Autocomplete({
|
|
|
149
157
|
};
|
|
150
158
|
const styles = selectRecipe.resolve({
|
|
151
159
|
theme,
|
|
152
|
-
selection
|
|
153
|
-
states: {
|
|
154
|
-
disabled: isDisabled
|
|
155
|
-
}
|
|
160
|
+
selection
|
|
156
161
|
});
|
|
157
162
|
const pressed = selectRecipe.resolve({
|
|
158
163
|
theme,
|
|
@@ -166,6 +171,16 @@ function Autocomplete({
|
|
|
166
171
|
color,
|
|
167
172
|
selection
|
|
168
173
|
}) : void 0;
|
|
174
|
+
const labelled = textFieldRecipe.resolve({
|
|
175
|
+
theme,
|
|
176
|
+
selection: {
|
|
177
|
+
size,
|
|
178
|
+
isInvalid: isInvalid ? "true" : void 0
|
|
179
|
+
},
|
|
180
|
+
states: {
|
|
181
|
+
disabled: isDisabled
|
|
182
|
+
}
|
|
183
|
+
});
|
|
169
184
|
const own = autocompleteRecipe.resolve({
|
|
170
185
|
theme,
|
|
171
186
|
selection: {
|
|
@@ -208,6 +223,9 @@ function Autocomplete({
|
|
|
208
223
|
itemStyle: styles.item,
|
|
209
224
|
itemPressedStyle: pressed.item,
|
|
210
225
|
itemLabelStyle: styles.itemLabel,
|
|
226
|
+
labelStyle: labelled.label,
|
|
227
|
+
descriptionStyle: labelled.description,
|
|
228
|
+
errorStyle: labelled.error,
|
|
211
229
|
glyph: {
|
|
212
230
|
size: indicator.fontSize,
|
|
213
231
|
color: typeof indicator.color === "string" ? indicator.color : void 0
|
|
@@ -226,18 +244,35 @@ function Autocomplete({
|
|
|
226
244
|
anchor,
|
|
227
245
|
setAnchor,
|
|
228
246
|
labelFor,
|
|
229
|
-
registerLabel
|
|
247
|
+
registerLabel,
|
|
248
|
+
labelId,
|
|
249
|
+
descriptionId
|
|
230
250
|
};
|
|
231
|
-
}, [styles, pressed, tint, own, ownTint, value, query, setQueryState, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
|
|
251
|
+
}, [styles, pressed, tint, own, ownTint, labelled, labelId, descriptionId, value, query, setQueryState, isOpen, isDisabled, isInvalid, open, close, toggle, select, anchor, labelFor, registerLabel]);
|
|
252
|
+
const columnStyle = [labelled.root, styleProps, style];
|
|
253
|
+
const column = asChild ?
|
|
254
|
+
// R12 — the caller's element is the column.
|
|
255
|
+
/* @__PURE__ */
|
|
256
|
+
jsx(Slot, {
|
|
257
|
+
ref,
|
|
258
|
+
...rest,
|
|
259
|
+
style: columnStyle,
|
|
260
|
+
children
|
|
261
|
+
}) : /* @__PURE__ */jsx(View, {
|
|
262
|
+
ref,
|
|
263
|
+
...rest,
|
|
264
|
+
style: columnStyle,
|
|
265
|
+
children
|
|
266
|
+
});
|
|
232
267
|
return /* @__PURE__ */jsx(AutocompleteProvider, {
|
|
233
268
|
value: context,
|
|
234
|
-
children
|
|
269
|
+
children: column
|
|
235
270
|
});
|
|
236
|
-
}
|
|
271
|
+
});
|
|
237
272
|
Autocomplete.displayName = "XAUI.Autocomplete.Root";
|
|
238
273
|
|
|
239
274
|
// src/components/autocomplete/autocomplete-content.tsx
|
|
240
|
-
import { Children as Children2, forwardRef as
|
|
275
|
+
import { Children as Children2, forwardRef as forwardRef6, isValidElement as isValidElement2, useEffect, useMemo as useMemo3 } from "react";
|
|
241
276
|
import { ScrollView } from "react-native";
|
|
242
277
|
import Animated from "react-native-reanimated";
|
|
243
278
|
|
|
@@ -270,10 +305,10 @@ function filterItems(children, query, isItem2) {
|
|
|
270
305
|
}
|
|
271
306
|
|
|
272
307
|
// src/components/autocomplete/autocomplete-empty.tsx
|
|
273
|
-
import { forwardRef } from "react";
|
|
308
|
+
import { forwardRef as forwardRef2 } from "react";
|
|
274
309
|
import { Text } from "react-native";
|
|
275
310
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
276
|
-
var AutocompleteEmpty =
|
|
311
|
+
var AutocompleteEmpty = forwardRef2(function AutocompleteEmpty2({
|
|
277
312
|
children,
|
|
278
313
|
style,
|
|
279
314
|
...props
|
|
@@ -292,13 +327,13 @@ var AutocompleteEmpty = forwardRef(function AutocompleteEmpty2({
|
|
|
292
327
|
AutocompleteEmpty.displayName = "XAUI.Autocomplete.Empty";
|
|
293
328
|
|
|
294
329
|
// src/components/autocomplete/autocomplete-item.tsx
|
|
295
|
-
import { forwardRef as
|
|
330
|
+
import { forwardRef as forwardRef4, useCallback as useCallback2, useMemo as useMemo2 } from "react";
|
|
296
331
|
|
|
297
332
|
// src/components/autocomplete/autocomplete-item-label.tsx
|
|
298
|
-
import { forwardRef as
|
|
333
|
+
import { forwardRef as forwardRef3 } from "react";
|
|
299
334
|
import { Text as Text2 } from "react-native";
|
|
300
335
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
301
|
-
var AutocompleteItemLabel =
|
|
336
|
+
var AutocompleteItemLabel = forwardRef3(function AutocompleteItemLabel2({
|
|
302
337
|
children,
|
|
303
338
|
style,
|
|
304
339
|
...props
|
|
@@ -318,7 +353,7 @@ AutocompleteItemLabel.displayName = "XAUI.Autocomplete.ItemLabel";
|
|
|
318
353
|
|
|
319
354
|
// src/components/autocomplete/autocomplete-item.tsx
|
|
320
355
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
321
|
-
var AutocompleteItem =
|
|
356
|
+
var AutocompleteItem = forwardRef4(function AutocompleteItem2({
|
|
322
357
|
value,
|
|
323
358
|
label,
|
|
324
359
|
children,
|
|
@@ -385,10 +420,10 @@ var AutocompleteItem = forwardRef3(function AutocompleteItem2({
|
|
|
385
420
|
AutocompleteItem.displayName = "XAUI.Autocomplete.Item";
|
|
386
421
|
|
|
387
422
|
// src/components/autocomplete/autocomplete-search.tsx
|
|
388
|
-
import { forwardRef as
|
|
423
|
+
import { forwardRef as forwardRef5 } from "react";
|
|
389
424
|
import { TextInput } from "react-native";
|
|
390
425
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
391
|
-
var AutocompleteSearch =
|
|
426
|
+
var AutocompleteSearch = forwardRef5(function AutocompleteSearch2({
|
|
392
427
|
autoFocus = true,
|
|
393
428
|
style,
|
|
394
429
|
...props
|
|
@@ -429,7 +464,7 @@ var DEFAULT_INSETS = {
|
|
|
429
464
|
var isItem = type => type === AutocompleteItem;
|
|
430
465
|
var isSearch = type => type === AutocompleteSearch;
|
|
431
466
|
var isEmpty = type => type === AutocompleteEmpty;
|
|
432
|
-
var AutocompleteContent =
|
|
467
|
+
var AutocompleteContent = forwardRef6(function AutocompleteContent2({
|
|
433
468
|
children,
|
|
434
469
|
placement = "bottom",
|
|
435
470
|
align = "center",
|
|
@@ -533,14 +568,61 @@ function partition(children) {
|
|
|
533
568
|
};
|
|
534
569
|
}
|
|
535
570
|
|
|
571
|
+
// src/components/autocomplete/autocomplete-description.tsx
|
|
572
|
+
import { forwardRef as forwardRef7 } from "react";
|
|
573
|
+
import { Text as Text3 } from "react-native";
|
|
574
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
575
|
+
var AutocompleteDescription = forwardRef7(function AutocompleteDescription2({
|
|
576
|
+
children,
|
|
577
|
+
style,
|
|
578
|
+
nativeID,
|
|
579
|
+
...props
|
|
580
|
+
}, ref) {
|
|
581
|
+
const {
|
|
582
|
+
descriptionStyle,
|
|
583
|
+
descriptionId
|
|
584
|
+
} = useAutocomplete();
|
|
585
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
586
|
+
return /* @__PURE__ */jsx7(Text3, {
|
|
587
|
+
ref,
|
|
588
|
+
nativeID: nativeID ?? descriptionId,
|
|
589
|
+
style: [descriptionStyle, styleProps, style],
|
|
590
|
+
...rest,
|
|
591
|
+
children
|
|
592
|
+
});
|
|
593
|
+
});
|
|
594
|
+
AutocompleteDescription.displayName = "XAUI.Autocomplete.Description";
|
|
595
|
+
|
|
596
|
+
// src/components/autocomplete/autocomplete-error.tsx
|
|
597
|
+
import { forwardRef as forwardRef8 } from "react";
|
|
598
|
+
import { Text as Text4 } from "react-native";
|
|
599
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
600
|
+
var AutocompleteError = forwardRef8(function AutocompleteError2({
|
|
601
|
+
children,
|
|
602
|
+
style,
|
|
603
|
+
...props
|
|
604
|
+
}, ref) {
|
|
605
|
+
const {
|
|
606
|
+
errorStyle
|
|
607
|
+
} = useAutocomplete();
|
|
608
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
609
|
+
return /* @__PURE__ */jsx8(Text4, {
|
|
610
|
+
ref,
|
|
611
|
+
style: [errorStyle, styleProps, style],
|
|
612
|
+
...rest,
|
|
613
|
+
children
|
|
614
|
+
});
|
|
615
|
+
});
|
|
616
|
+
AutocompleteError.displayName = "XAUI.Autocomplete.Error";
|
|
617
|
+
|
|
536
618
|
// src/components/autocomplete/autocomplete-indicator.tsx
|
|
537
619
|
import { useEffect as useEffect2 } from "react";
|
|
538
620
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
539
|
-
import { jsx as
|
|
540
|
-
const
|
|
541
|
-
code: "function
|
|
542
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
543
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
621
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
622
|
+
const _worklet_618153933488_init_data = {
|
|
623
|
+
code: "function chunkGVZJNIHNJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
624
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GVZJNIHN.js",
|
|
625
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkGVZJNIHNJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GVZJNIHN.js\"],\"mappings\":\"AAwlBoC,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\":[]}"
|
|
544
626
|
};
|
|
545
627
|
function AutocompleteIndicator(props) {
|
|
546
628
|
const {
|
|
@@ -554,50 +636,77 @@ function AutocompleteIndicator(props) {
|
|
|
554
636
|
useEffect2(() => {
|
|
555
637
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
556
638
|
}, [isOpen, progress]);
|
|
557
|
-
const rotation = useAnimatedStyle(function
|
|
558
|
-
|
|
639
|
+
const rotation = useAnimatedStyle(function chunkGVZJNIHNJs1Factory({
|
|
640
|
+
_worklet_618153933488_init_data,
|
|
559
641
|
interpolate,
|
|
560
642
|
progress,
|
|
561
643
|
INDICATOR_ROTATION
|
|
562
644
|
}) {
|
|
563
645
|
const _e = [new global.Error(), -4, -27];
|
|
564
|
-
const
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
646
|
+
const chunkGVZJNIHNJs1 = function () {
|
|
647
|
+
return {
|
|
648
|
+
transform: [{
|
|
649
|
+
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
650
|
+
}]
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
chunkGVZJNIHNJs1.__closure = {
|
|
570
654
|
interpolate,
|
|
571
655
|
progress,
|
|
572
656
|
INDICATOR_ROTATION
|
|
573
657
|
};
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
return
|
|
658
|
+
chunkGVZJNIHNJs1.__workletHash = 618153933488;
|
|
659
|
+
chunkGVZJNIHNJs1.__pluginVersion = "0.7.4";
|
|
660
|
+
chunkGVZJNIHNJs1.__initData = _worklet_618153933488_init_data;
|
|
661
|
+
chunkGVZJNIHNJs1.__stackDetails = _e;
|
|
662
|
+
return chunkGVZJNIHNJs1;
|
|
579
663
|
}({
|
|
580
|
-
|
|
664
|
+
_worklet_618153933488_init_data,
|
|
581
665
|
interpolate,
|
|
582
666
|
progress,
|
|
583
667
|
INDICATOR_ROTATION
|
|
584
|
-
}));
|
|
585
|
-
return /* @__PURE__ */
|
|
668
|
+
}), [progress]);
|
|
669
|
+
return /* @__PURE__ */jsx9(Animated2.View, {
|
|
586
670
|
style: [indicatorStyle, rotation],
|
|
587
|
-
children: /* @__PURE__ */
|
|
671
|
+
children: /* @__PURE__ */jsx9(Icon, {
|
|
588
672
|
as
|
|
589
673
|
})
|
|
590
674
|
});
|
|
591
675
|
}
|
|
592
676
|
AutocompleteIndicator.displayName = "XAUI.Autocomplete.Indicator";
|
|
593
677
|
|
|
678
|
+
// src/components/autocomplete/autocomplete-label.tsx
|
|
679
|
+
import { forwardRef as forwardRef9 } from "react";
|
|
680
|
+
import { Text as Text5 } from "react-native";
|
|
681
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
682
|
+
var AutocompleteLabel = forwardRef9(function AutocompleteLabel2({
|
|
683
|
+
children,
|
|
684
|
+
style,
|
|
685
|
+
nativeID,
|
|
686
|
+
...props
|
|
687
|
+
}, ref) {
|
|
688
|
+
const {
|
|
689
|
+
labelStyle,
|
|
690
|
+
labelId
|
|
691
|
+
} = useAutocomplete();
|
|
692
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
693
|
+
return /* @__PURE__ */jsx10(Text5, {
|
|
694
|
+
ref,
|
|
695
|
+
nativeID: nativeID ?? labelId,
|
|
696
|
+
style: [labelStyle, styleProps, style],
|
|
697
|
+
...rest,
|
|
698
|
+
children
|
|
699
|
+
});
|
|
700
|
+
});
|
|
701
|
+
AutocompleteLabel.displayName = "XAUI.Autocomplete.Label";
|
|
702
|
+
|
|
594
703
|
// src/components/autocomplete/autocomplete-overlay.tsx
|
|
595
|
-
import { forwardRef as
|
|
704
|
+
import { forwardRef as forwardRef10 } from "react";
|
|
596
705
|
import { Pressable } from "react-native";
|
|
597
706
|
import Animated3 from "react-native-reanimated";
|
|
598
|
-
import { jsx as
|
|
707
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
599
708
|
var AnimatedPressable = Animated3.createAnimatedComponent(Pressable);
|
|
600
|
-
var AutocompleteOverlay =
|
|
709
|
+
var AutocompleteOverlay = forwardRef10(function AutocompleteOverlay2({
|
|
601
710
|
children,
|
|
602
711
|
style,
|
|
603
712
|
...props
|
|
@@ -610,10 +719,10 @@ var AutocompleteOverlay = forwardRef6(function AutocompleteOverlay2({
|
|
|
610
719
|
} = context;
|
|
611
720
|
const [styleProps, rest] = useStyleProps(props);
|
|
612
721
|
if (!isOpen) return null;
|
|
613
|
-
return /* @__PURE__ */
|
|
614
|
-
children: /* @__PURE__ */
|
|
722
|
+
return /* @__PURE__ */jsx11(Portal, {
|
|
723
|
+
children: /* @__PURE__ */jsx11(AutocompleteProvider, {
|
|
615
724
|
value: context,
|
|
616
|
-
children: /* @__PURE__ */
|
|
725
|
+
children: /* @__PURE__ */jsx11(AnimatedPressable, {
|
|
617
726
|
ref,
|
|
618
727
|
entering: overlayEntering,
|
|
619
728
|
exiting: overlayExiting,
|
|
@@ -630,9 +739,9 @@ var AutocompleteOverlay = forwardRef6(function AutocompleteOverlay2({
|
|
|
630
739
|
AutocompleteOverlay.displayName = "XAUI.Autocomplete.Overlay";
|
|
631
740
|
|
|
632
741
|
// src/components/autocomplete/autocomplete-trigger.tsx
|
|
633
|
-
import { forwardRef as
|
|
634
|
-
import { jsx as
|
|
635
|
-
var AutocompleteTrigger =
|
|
742
|
+
import { forwardRef as forwardRef11, useCallback as useCallback3, useEffect as useEffect3, useRef } from "react";
|
|
743
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
744
|
+
var AutocompleteTrigger = forwardRef11(function AutocompleteTrigger2({
|
|
636
745
|
children,
|
|
637
746
|
asChild = false,
|
|
638
747
|
accessibilityRole = "combobox",
|
|
@@ -652,7 +761,9 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
|
|
|
652
761
|
isDisabled,
|
|
653
762
|
isInvalid,
|
|
654
763
|
toggle,
|
|
655
|
-
setAnchor
|
|
764
|
+
setAnchor,
|
|
765
|
+
labelId,
|
|
766
|
+
descriptionId
|
|
656
767
|
} = useAutocomplete();
|
|
657
768
|
const [styleProps, rest] = useStyleProps(props);
|
|
658
769
|
const [isPressed, press] = usePressState({
|
|
@@ -683,9 +794,9 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
|
|
|
683
794
|
measure();
|
|
684
795
|
toggle();
|
|
685
796
|
}, [measure, onPress, toggle]);
|
|
686
|
-
return /* @__PURE__ */
|
|
797
|
+
return /* @__PURE__ */jsx12(IconContext.Provider, {
|
|
687
798
|
value: glyph,
|
|
688
|
-
children: /* @__PURE__ */
|
|
799
|
+
children: /* @__PURE__ */jsx12(PressableFeedback, {
|
|
689
800
|
ref: refs,
|
|
690
801
|
isPressed,
|
|
691
802
|
isDisabled,
|
|
@@ -697,6 +808,8 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
|
|
|
697
808
|
...accessibilityState
|
|
698
809
|
},
|
|
699
810
|
"aria-invalid": isInvalid || void 0,
|
|
811
|
+
"aria-labelledby": labelId,
|
|
812
|
+
"aria-describedby": descriptionId,
|
|
700
813
|
...rest,
|
|
701
814
|
onLayout: handleLayout,
|
|
702
815
|
style: [triggerStyle, isPressed && triggerPressedStyle, styleProps, typeof style === "function" ? style({
|
|
@@ -712,10 +825,10 @@ var AutocompleteTrigger = forwardRef7(function AutocompleteTrigger2({
|
|
|
712
825
|
AutocompleteTrigger.displayName = "XAUI.Autocomplete.Trigger";
|
|
713
826
|
|
|
714
827
|
// src/components/autocomplete/autocomplete-value.tsx
|
|
715
|
-
import { forwardRef as
|
|
716
|
-
import { Text as
|
|
717
|
-
import { jsx as
|
|
718
|
-
var AutocompleteValue =
|
|
828
|
+
import { forwardRef as forwardRef12 } from "react";
|
|
829
|
+
import { Text as Text6 } from "react-native";
|
|
830
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
831
|
+
var AutocompleteValue = forwardRef12(function AutocompleteValue2({
|
|
719
832
|
children,
|
|
720
833
|
placeholder,
|
|
721
834
|
style,
|
|
@@ -730,7 +843,7 @@ var AutocompleteValue = forwardRef8(function AutocompleteValue2({
|
|
|
730
843
|
const [styleProps, rest] = useStyleProps(props);
|
|
731
844
|
const label = children ?? (value === void 0 ? void 0 : labelFor(value));
|
|
732
845
|
const isEmpty2 = label === void 0 || label === null;
|
|
733
|
-
return /* @__PURE__ */
|
|
846
|
+
return /* @__PURE__ */jsx13(Text6, {
|
|
734
847
|
ref,
|
|
735
848
|
numberOfLines: 1,
|
|
736
849
|
...rest,
|
|
@@ -741,7 +854,8 @@ var AutocompleteValue = forwardRef8(function AutocompleteValue2({
|
|
|
741
854
|
AutocompleteValue.displayName = "XAUI.Autocomplete.Value";
|
|
742
855
|
|
|
743
856
|
// src/components/autocomplete/index.ts
|
|
744
|
-
var
|
|
857
|
+
var Autocomplete3 = Object.assign(Autocomplete, {
|
|
858
|
+
Label: AutocompleteLabel,
|
|
745
859
|
Trigger: AutocompleteTrigger,
|
|
746
860
|
Value: AutocompleteValue,
|
|
747
861
|
Indicator: AutocompleteIndicator,
|
|
@@ -750,6 +864,8 @@ var Autocomplete2 = Object.assign(Autocomplete, {
|
|
|
750
864
|
Search: AutocompleteSearch,
|
|
751
865
|
Item: AutocompleteItem,
|
|
752
866
|
ItemLabel: AutocompleteItemLabel,
|
|
753
|
-
Empty: AutocompleteEmpty
|
|
867
|
+
Empty: AutocompleteEmpty,
|
|
868
|
+
Description: AutocompleteDescription,
|
|
869
|
+
Error: AutocompleteError
|
|
754
870
|
});
|
|
755
|
-
export { useAutocomplete, useAutocompleteItem, autocompleteRecipe, Autocomplete, AutocompleteEmpty, AutocompleteItemLabel, AutocompleteItem, AutocompleteSearch, AutocompleteContent, AutocompleteIndicator, AutocompleteOverlay, AutocompleteTrigger, AutocompleteValue, Autocomplete2 };
|
|
871
|
+
export { useAutocomplete, useAutocompleteItem, autocompleteRecipe, Autocomplete, AutocompleteEmpty, AutocompleteItemLabel, AutocompleteItem, AutocompleteSearch, AutocompleteContent, AutocompleteDescription, AutocompleteError, AutocompleteIndicator, AutocompleteLabel, AutocompleteOverlay, AutocompleteTrigger, AutocompleteValue, Autocomplete3 as Autocomplete2 };
|