@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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Text } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* What is wrong with the chosen value, in `danger` — the `TextField.Error`, on a field
|
|
4
|
+
* that opens a list.
|
|
5
|
+
*
|
|
6
|
+
* **It always renders what it is given.** `isInvalid` paints the trigger's border and
|
|
7
|
+
* turns the label and the description, but it does not mount or unmount this slot: a slot
|
|
8
|
+
* that silently renders nothing is one you cannot debug, so you write the condition
|
|
9
|
+
* yourself.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SelectError: import("react").ForwardRefExoticComponent<{
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<Text>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Text } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* What is wrong with the chosen value, in `danger` — the `TextField.Error`, on a field
|
|
4
|
+
* that opens a list.
|
|
5
|
+
*
|
|
6
|
+
* **It always renders what it is given.** `isInvalid` paints the trigger's border and
|
|
7
|
+
* turns the label and the description, but it does not mount or unmount this slot: a slot
|
|
8
|
+
* that silently renders nothing is one you cannot debug, so you write the condition
|
|
9
|
+
* yourself.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SelectError: import("react").ForwardRefExoticComponent<{
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<Text>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Text } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* A heading over a run of rows, **inside the panel**. It is not a row: it takes no press,
|
|
4
|
+
* and a screen reader announces it as a header so the group it opens is announced with it.
|
|
5
|
+
*
|
|
6
|
+
* It is not `Select.Label` either. That one names the field on the form; this one names a
|
|
7
|
+
* section of the list, and the two were one name until the field grew a label of its own.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SelectGroupLabel: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<Text>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Text } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* A heading over a run of rows, **inside the panel**. It is not a row: it takes no press,
|
|
4
|
+
* and a screen reader announces it as a header so the group it opens is announced with it.
|
|
5
|
+
*
|
|
6
|
+
* It is not `Select.Label` either. That one names the field on the form; this one names a
|
|
7
|
+
* section of the list, and the two were one name until the field grew a label of its own.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SelectGroupLabel: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<Text>>;
|
|
@@ -4,7 +4,7 @@ import type { SelectIndicatorProps } from './select.type';
|
|
|
4
4
|
*
|
|
5
5
|
* It rotates on a spring rather than a timing curve. A 180-degree turn on a curve reads
|
|
6
6
|
* as an animation playing next to the list; on a spring heavy enough not to overshoot it
|
|
7
|
-
* reads as the list pushing the glyph round — which is the same trade
|
|
7
|
+
* reads as the list pushing the glyph round — which is the same trade the reference implementation makes, with
|
|
8
8
|
* the same numbers.
|
|
9
9
|
*
|
|
10
10
|
* The rotation is a worklet on the UI thread, so it keeps turning while JavaScript is
|
|
@@ -4,7 +4,7 @@ import type { SelectIndicatorProps } from './select.type';
|
|
|
4
4
|
*
|
|
5
5
|
* It rotates on a spring rather than a timing curve. A 180-degree turn on a curve reads
|
|
6
6
|
* as an animation playing next to the list; on a spring heavy enough not to overshoot it
|
|
7
|
-
* reads as the list pushing the glyph round — which is the same trade
|
|
7
|
+
* reads as the list pushing the glyph round — which is the same trade the reference implementation makes, with
|
|
8
8
|
* the same numbers.
|
|
9
9
|
*
|
|
10
10
|
* The rotation is a worklet on the UI thread, so it keeps turning while JavaScript is
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Text } from 'react-native';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* What the field is for — the `TextField.Label`, on a field that opens a list.
|
|
4
|
+
*
|
|
5
|
+
* It turns `danger` with `isInvalid`, so the field that is wrong is findable on a long
|
|
6
|
+
* form without reading every message. Its colour is the theme's `foreground` rather than
|
|
7
|
+
* the variant's: the label sits outside the box, on the screen behind it, so a tinted
|
|
8
|
+
* trigger does not tint it.
|
|
9
|
+
*
|
|
10
|
+
* It carries the id the trigger points at, which is what makes a screen reader announce
|
|
11
|
+
* "Langue, bouton" instead of reading the placeholder and hoping.
|
|
12
|
+
*
|
|
13
|
+
* The heading over a run of rows *inside* the panel is `Select.GroupLabel`.
|
|
5
14
|
*/
|
|
6
15
|
export declare const SelectLabel: import("react").ForwardRefExoticComponent<{
|
|
7
16
|
children?: import("react").ReactNode;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Text } from 'react-native';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* What the field is for — the `TextField.Label`, on a field that opens a list.
|
|
4
|
+
*
|
|
5
|
+
* It turns `danger` with `isInvalid`, so the field that is wrong is findable on a long
|
|
6
|
+
* form without reading every message. Its colour is the theme's `foreground` rather than
|
|
7
|
+
* the variant's: the label sits outside the box, on the screen behind it, so a tinted
|
|
8
|
+
* trigger does not tint it.
|
|
9
|
+
*
|
|
10
|
+
* It carries the id the trigger points at, which is what makes a screen reader announce
|
|
11
|
+
* "Langue, bouton" instead of reading the placeholder and hoping.
|
|
12
|
+
*
|
|
13
|
+
* The heading over a run of rows *inside* the panel is `Select.GroupLabel`.
|
|
5
14
|
*/
|
|
6
15
|
export declare const SelectLabel: import("react").ForwardRefExoticComponent<{
|
|
7
16
|
children?: import("react").ReactNode;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* A field that opens a list.
|
|
4
4
|
*
|
|
5
5
|
* ```tsx
|
|
6
6
|
* <Select defaultValue="fr" onValueChange={setLocale}>
|
|
7
|
+
* <Select.Label>Langue</Select.Label>
|
|
7
8
|
* <Select.Trigger>
|
|
8
9
|
* <Select.Value placeholder="Choisir une langue" />
|
|
9
10
|
* <Select.Indicator />
|
|
@@ -15,15 +16,54 @@ import type { SelectProps } from './select.type';
|
|
|
15
16
|
* <Select.ItemIndicator />
|
|
16
17
|
* </Select.Item>
|
|
17
18
|
* </Select.Content>
|
|
19
|
+
* <Select.Description>Celle de l'interface.</Select.Description>
|
|
18
20
|
* </Select>
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
21
|
-
* **The root
|
|
22
|
-
*
|
|
23
|
-
* `Select.
|
|
24
|
-
*
|
|
23
|
+
* **The root is the column, not the field** — the `TextField`'s shape, and the
|
|
24
|
+
* `Autocomplete`'s: a `View` stacking `Select.Label`, the trigger and
|
|
25
|
+
* `Select.Description` / `.Error` with one `gap`, so JSX order is screen order. It is the
|
|
26
|
+
* column and the help lines that make this a field on a form rather than a button that
|
|
27
|
+
* opens a list, and they are the `TextField`'s token for token — a text field and a
|
|
28
|
+
* select on the same form read as one control.
|
|
29
|
+
*
|
|
30
|
+
* `Select.Trigger` is the field, and it keeps its own `ref`: it is the node the panel
|
|
31
|
+
* measures and the node a screen reader stops on. `Select.Overlay` and `Select.Content`
|
|
32
|
+
* render into the nearest `PortalHost` rather than where they are written, so their
|
|
33
|
+
* position in the JSX says when they exist, not where they appear — and they add nothing
|
|
34
|
+
* to the column.
|
|
35
|
+
*
|
|
36
|
+
* The heading over a run of rows *inside* the panel is `Select.GroupLabel`. It was
|
|
37
|
+
* `Select.Label` until the field grew a label of its own.
|
|
25
38
|
*/
|
|
26
|
-
export declare
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
export declare const Select: import("react").ForwardRefExoticComponent<{
|
|
40
|
+
children?: import("react").ReactNode;
|
|
41
|
+
variant?: import("./select.type").SelectVariant;
|
|
42
|
+
size?: import("./select.type").SelectSize;
|
|
43
|
+
radius?: import("../..").RadiusKey;
|
|
44
|
+
color?: string;
|
|
45
|
+
value?: string;
|
|
46
|
+
defaultValue?: string;
|
|
47
|
+
onValueChange?: (value: string) => void;
|
|
48
|
+
isOpen?: boolean;
|
|
49
|
+
defaultOpen?: boolean;
|
|
50
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
51
|
+
isDisabled?: boolean;
|
|
52
|
+
isInvalid?: boolean;
|
|
53
|
+
asChild?: boolean;
|
|
54
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
55
|
+
children?: import("react").ReactNode;
|
|
56
|
+
variant?: import("./select.type").SelectVariant;
|
|
57
|
+
size?: import("./select.type").SelectSize;
|
|
58
|
+
radius?: import("../..").RadiusKey;
|
|
59
|
+
color?: string;
|
|
60
|
+
value?: string;
|
|
61
|
+
defaultValue?: string;
|
|
62
|
+
onValueChange?: (value: string) => void;
|
|
63
|
+
isOpen?: boolean;
|
|
64
|
+
defaultOpen?: boolean;
|
|
65
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
66
|
+
isDisabled?: boolean;
|
|
67
|
+
isInvalid?: boolean;
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "asChild" | "radius" | "size" | "variant" | "defaultValue" | "onValueChange" | "isOpen" | "defaultOpen" | "onOpenChange" | "isInvalid"> & import("react").RefAttributes<View>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* A field that opens a list.
|
|
4
4
|
*
|
|
5
5
|
* ```tsx
|
|
6
6
|
* <Select defaultValue="fr" onValueChange={setLocale}>
|
|
7
|
+
* <Select.Label>Langue</Select.Label>
|
|
7
8
|
* <Select.Trigger>
|
|
8
9
|
* <Select.Value placeholder="Choisir une langue" />
|
|
9
10
|
* <Select.Indicator />
|
|
@@ -15,15 +16,54 @@ import type { SelectProps } from './select.type';
|
|
|
15
16
|
* <Select.ItemIndicator />
|
|
16
17
|
* </Select.Item>
|
|
17
18
|
* </Select.Content>
|
|
19
|
+
* <Select.Description>Celle de l'interface.</Select.Description>
|
|
18
20
|
* </Select>
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
21
|
-
* **The root
|
|
22
|
-
*
|
|
23
|
-
* `Select.
|
|
24
|
-
*
|
|
23
|
+
* **The root is the column, not the field** — the `TextField`'s shape, and the
|
|
24
|
+
* `Autocomplete`'s: a `View` stacking `Select.Label`, the trigger and
|
|
25
|
+
* `Select.Description` / `.Error` with one `gap`, so JSX order is screen order. It is the
|
|
26
|
+
* column and the help lines that make this a field on a form rather than a button that
|
|
27
|
+
* opens a list, and they are the `TextField`'s token for token — a text field and a
|
|
28
|
+
* select on the same form read as one control.
|
|
29
|
+
*
|
|
30
|
+
* `Select.Trigger` is the field, and it keeps its own `ref`: it is the node the panel
|
|
31
|
+
* measures and the node a screen reader stops on. `Select.Overlay` and `Select.Content`
|
|
32
|
+
* render into the nearest `PortalHost` rather than where they are written, so their
|
|
33
|
+
* position in the JSX says when they exist, not where they appear — and they add nothing
|
|
34
|
+
* to the column.
|
|
35
|
+
*
|
|
36
|
+
* The heading over a run of rows *inside* the panel is `Select.GroupLabel`. It was
|
|
37
|
+
* `Select.Label` until the field grew a label of its own.
|
|
25
38
|
*/
|
|
26
|
-
export declare
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
export declare const Select: import("react").ForwardRefExoticComponent<{
|
|
40
|
+
children?: import("react").ReactNode;
|
|
41
|
+
variant?: import("./select.type").SelectVariant;
|
|
42
|
+
size?: import("./select.type").SelectSize;
|
|
43
|
+
radius?: import("../..").RadiusKey;
|
|
44
|
+
color?: string;
|
|
45
|
+
value?: string;
|
|
46
|
+
defaultValue?: string;
|
|
47
|
+
onValueChange?: (value: string) => void;
|
|
48
|
+
isOpen?: boolean;
|
|
49
|
+
defaultOpen?: boolean;
|
|
50
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
51
|
+
isDisabled?: boolean;
|
|
52
|
+
isInvalid?: boolean;
|
|
53
|
+
asChild?: boolean;
|
|
54
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
55
|
+
children?: import("react").ReactNode;
|
|
56
|
+
variant?: import("./select.type").SelectVariant;
|
|
57
|
+
size?: import("./select.type").SelectSize;
|
|
58
|
+
radius?: import("../..").RadiusKey;
|
|
59
|
+
color?: string;
|
|
60
|
+
value?: string;
|
|
61
|
+
defaultValue?: string;
|
|
62
|
+
onValueChange?: (value: string) => void;
|
|
63
|
+
isOpen?: boolean;
|
|
64
|
+
defaultOpen?: boolean;
|
|
65
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
66
|
+
isDisabled?: boolean;
|
|
67
|
+
isInvalid?: boolean;
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "asChild" | "radius" | "size" | "variant" | "defaultValue" | "onValueChange" | "isOpen" | "defaultOpen" | "onOpenChange" | "isInvalid"> & import("react").RefAttributes<View>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SlotStyles } from '../../system/recipe';
|
|
2
2
|
import type { XAUITheme } from '../../theme/theme.type';
|
|
3
3
|
import type { SelectSlot, SelectVariant } from './select.type';
|
|
4
|
-
export declare const selectRecipe: import("../..").Recipe<"value" | "
|
|
4
|
+
export declare const selectRecipe: import("../..").Recipe<"value" | "overlay" | "content" | "indicator" | "item" | "trigger" | "placeholder" | "groupLabel" | "itemLabel" | "itemDescription" | "itemIndicator", SelectVariant, {
|
|
5
5
|
readonly size: {
|
|
6
6
|
readonly sm: (theme: XAUITheme) => SlotStyles<SelectSlot>;
|
|
7
7
|
readonly md: (theme: XAUITheme) => SlotStyles<SelectSlot>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SlotStyles } from '../../system/recipe';
|
|
2
2
|
import type { XAUITheme } from '../../theme/theme.type';
|
|
3
3
|
import type { SelectSlot, SelectVariant } from './select.type';
|
|
4
|
-
export declare const selectRecipe: import("../..").Recipe<"value" | "
|
|
4
|
+
export declare const selectRecipe: import("../..").Recipe<"value" | "overlay" | "content" | "indicator" | "item" | "trigger" | "placeholder" | "groupLabel" | "itemLabel" | "itemDescription" | "itemIndicator", SelectVariant, {
|
|
5
5
|
readonly size: {
|
|
6
6
|
readonly sm: (theme: XAUITheme) => SlotStyles<SelectSlot>;
|
|
7
7
|
readonly md: (theme: XAUITheme) => SlotStyles<SelectSlot>;
|
|
@@ -5,7 +5,7 @@ import type { IconComponentProps, IconContextValue } from '../../system/icon';
|
|
|
5
5
|
import type { TextStyleProps, ViewStyleProps } from '../../system/style-props';
|
|
6
6
|
import type { RadiusKey, Size } from '../../theme/theme.type';
|
|
7
7
|
import type { Align, Anchor, AnchoredWidth, Insets, Placement } from '../../utils/placement';
|
|
8
|
-
export type SelectSlot = 'trigger' | 'value' | 'placeholder' | 'indicator' | 'overlay' | 'content' | '
|
|
8
|
+
export type SelectSlot = 'trigger' | 'value' | 'placeholder' | 'indicator' | 'overlay' | 'content' | 'groupLabel' | 'item' | 'itemLabel' | 'itemDescription' | 'itemIndicator';
|
|
9
9
|
/**
|
|
10
10
|
* The trigger **is** a field, so it takes the field's four emphasis levels rather than
|
|
11
11
|
* the button's ten. A select that offers `danger` would be offering an intent to a
|
|
@@ -51,15 +51,17 @@ type SelectOwnProps = {
|
|
|
51
51
|
onOpenChange?: (isOpen: boolean) => void;
|
|
52
52
|
isDisabled?: boolean;
|
|
53
53
|
isInvalid?: boolean;
|
|
54
|
+
asChild?: boolean;
|
|
54
55
|
};
|
|
55
56
|
/**
|
|
56
|
-
* The root
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
57
|
+
* The root is the **column** — a `View` stacking `Select.Label`, the trigger and
|
|
58
|
+
* `Select.Description` / `.Error` with one `gap` — so `ref`, `style` and R14's style props
|
|
59
|
+
* here dress that column. The control itself is `Select.Trigger`, which keeps its own
|
|
60
|
+
* `ref` and its own a11y props: it is the node the panel measures and the node a screen
|
|
61
|
+
* reader stops on. `Select.Overlay` and `Select.Content` portal out, so they add nothing
|
|
62
|
+
* to the column.
|
|
61
63
|
*/
|
|
62
|
-
export type SelectProps = SelectOwnProps
|
|
64
|
+
export type SelectProps = SelectOwnProps & Omit<ViewProps, keyof SelectOwnProps> & Omit<ViewStyleProps, keyof SelectOwnProps | keyof ViewProps>;
|
|
63
65
|
type SelectTriggerOwnProps = {
|
|
64
66
|
children?: ReactNode;
|
|
65
67
|
asChild?: boolean;
|
|
@@ -112,10 +114,20 @@ type SelectContentOwnProps = {
|
|
|
112
114
|
insets?: SelectInsets;
|
|
113
115
|
};
|
|
114
116
|
export type SelectContentProps = SelectContentOwnProps & Omit<ViewProps, keyof SelectContentOwnProps> & Omit<ViewStyleProps, keyof SelectContentOwnProps | keyof ViewProps>;
|
|
115
|
-
type
|
|
117
|
+
type SelectTextSlotOwnProps = {
|
|
116
118
|
children?: ReactNode;
|
|
117
119
|
};
|
|
118
|
-
|
|
120
|
+
/**
|
|
121
|
+
* What the field is for — the `TextField.Label`, on a field that opens a list. The
|
|
122
|
+
* heading over a run of rows *inside* the panel is `Select.GroupLabel`.
|
|
123
|
+
*/
|
|
124
|
+
export type SelectLabelProps = SelectTextSlotOwnProps & Omit<TextProps, keyof SelectTextSlotOwnProps> & Omit<TextStyleProps, keyof SelectTextSlotOwnProps | keyof TextProps>;
|
|
125
|
+
/** The hint under the field — the `TextField.Description`. */
|
|
126
|
+
export type SelectDescriptionProps = SelectLabelProps;
|
|
127
|
+
/** What is wrong with the chosen value — the `TextField.Error`. */
|
|
128
|
+
export type SelectErrorProps = SelectLabelProps;
|
|
129
|
+
/** A heading over a run of rows, inside the panel. */
|
|
130
|
+
export type SelectGroupLabelProps = SelectLabelProps;
|
|
119
131
|
/** What an item's render function is handed, so it can paint its own selected state. */
|
|
120
132
|
export type SelectItemRenderState = {
|
|
121
133
|
isSelected: boolean;
|
|
@@ -160,7 +172,16 @@ export type SelectContextValue = {
|
|
|
160
172
|
indicatorStyle: StyleProp<ViewStyle>;
|
|
161
173
|
overlayStyle: StyleProp<ViewStyle>;
|
|
162
174
|
contentStyle: StyleProp<ViewStyle>;
|
|
175
|
+
/** The panel's section heading. The field's own label is `labelStyle`. */
|
|
176
|
+
groupLabelStyle: StyleProp<TextStyle>;
|
|
177
|
+
/**
|
|
178
|
+
* The column's three text slots, resolved through `textFieldRecipe` rather than this
|
|
179
|
+
* component's own: a select and a text field stacked in one form read as one control,
|
|
180
|
+
* and a second table here would be two to keep in step.
|
|
181
|
+
*/
|
|
163
182
|
labelStyle: StyleProp<TextStyle>;
|
|
183
|
+
descriptionStyle: StyleProp<TextStyle>;
|
|
184
|
+
errorStyle: StyleProp<TextStyle>;
|
|
164
185
|
itemStyle: StyleProp<ViewStyle>;
|
|
165
186
|
/** The same split as the trigger's, for the row a finger happens to be on. */
|
|
166
187
|
itemPressedStyle: StyleProp<ViewStyle>;
|
|
@@ -188,6 +209,9 @@ export type SelectContextValue = {
|
|
|
188
209
|
/** Labels registered by the items, so `Select.Value` can name the chosen one. */
|
|
189
210
|
labelFor: (value: string) => string | undefined;
|
|
190
211
|
registerLabel: (value: string, label: string) => void;
|
|
212
|
+
/** The ids the trigger points at with `aria-labelledby` / `aria-describedby`. */
|
|
213
|
+
labelId: string;
|
|
214
|
+
descriptionId: string;
|
|
191
215
|
};
|
|
192
216
|
/** The trigger's rectangle in window coordinates. */
|
|
193
217
|
export type SelectAnchor = Anchor;
|
|
@@ -5,7 +5,7 @@ import type { IconComponentProps, IconContextValue } from '../../system/icon';
|
|
|
5
5
|
import type { TextStyleProps, ViewStyleProps } from '../../system/style-props';
|
|
6
6
|
import type { RadiusKey, Size } from '../../theme/theme.type';
|
|
7
7
|
import type { Align, Anchor, AnchoredWidth, Insets, Placement } from '../../utils/placement';
|
|
8
|
-
export type SelectSlot = 'trigger' | 'value' | 'placeholder' | 'indicator' | 'overlay' | 'content' | '
|
|
8
|
+
export type SelectSlot = 'trigger' | 'value' | 'placeholder' | 'indicator' | 'overlay' | 'content' | 'groupLabel' | 'item' | 'itemLabel' | 'itemDescription' | 'itemIndicator';
|
|
9
9
|
/**
|
|
10
10
|
* The trigger **is** a field, so it takes the field's four emphasis levels rather than
|
|
11
11
|
* the button's ten. A select that offers `danger` would be offering an intent to a
|
|
@@ -51,15 +51,17 @@ type SelectOwnProps = {
|
|
|
51
51
|
onOpenChange?: (isOpen: boolean) => void;
|
|
52
52
|
isDisabled?: boolean;
|
|
53
53
|
isInvalid?: boolean;
|
|
54
|
+
asChild?: boolean;
|
|
54
55
|
};
|
|
55
56
|
/**
|
|
56
|
-
* The root
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
57
|
+
* The root is the **column** — a `View` stacking `Select.Label`, the trigger and
|
|
58
|
+
* `Select.Description` / `.Error` with one `gap` — so `ref`, `style` and R14's style props
|
|
59
|
+
* here dress that column. The control itself is `Select.Trigger`, which keeps its own
|
|
60
|
+
* `ref` and its own a11y props: it is the node the panel measures and the node a screen
|
|
61
|
+
* reader stops on. `Select.Overlay` and `Select.Content` portal out, so they add nothing
|
|
62
|
+
* to the column.
|
|
61
63
|
*/
|
|
62
|
-
export type SelectProps = SelectOwnProps
|
|
64
|
+
export type SelectProps = SelectOwnProps & Omit<ViewProps, keyof SelectOwnProps> & Omit<ViewStyleProps, keyof SelectOwnProps | keyof ViewProps>;
|
|
63
65
|
type SelectTriggerOwnProps = {
|
|
64
66
|
children?: ReactNode;
|
|
65
67
|
asChild?: boolean;
|
|
@@ -112,10 +114,20 @@ type SelectContentOwnProps = {
|
|
|
112
114
|
insets?: SelectInsets;
|
|
113
115
|
};
|
|
114
116
|
export type SelectContentProps = SelectContentOwnProps & Omit<ViewProps, keyof SelectContentOwnProps> & Omit<ViewStyleProps, keyof SelectContentOwnProps | keyof ViewProps>;
|
|
115
|
-
type
|
|
117
|
+
type SelectTextSlotOwnProps = {
|
|
116
118
|
children?: ReactNode;
|
|
117
119
|
};
|
|
118
|
-
|
|
120
|
+
/**
|
|
121
|
+
* What the field is for — the `TextField.Label`, on a field that opens a list. The
|
|
122
|
+
* heading over a run of rows *inside* the panel is `Select.GroupLabel`.
|
|
123
|
+
*/
|
|
124
|
+
export type SelectLabelProps = SelectTextSlotOwnProps & Omit<TextProps, keyof SelectTextSlotOwnProps> & Omit<TextStyleProps, keyof SelectTextSlotOwnProps | keyof TextProps>;
|
|
125
|
+
/** The hint under the field — the `TextField.Description`. */
|
|
126
|
+
export type SelectDescriptionProps = SelectLabelProps;
|
|
127
|
+
/** What is wrong with the chosen value — the `TextField.Error`. */
|
|
128
|
+
export type SelectErrorProps = SelectLabelProps;
|
|
129
|
+
/** A heading over a run of rows, inside the panel. */
|
|
130
|
+
export type SelectGroupLabelProps = SelectLabelProps;
|
|
119
131
|
/** What an item's render function is handed, so it can paint its own selected state. */
|
|
120
132
|
export type SelectItemRenderState = {
|
|
121
133
|
isSelected: boolean;
|
|
@@ -160,7 +172,16 @@ export type SelectContextValue = {
|
|
|
160
172
|
indicatorStyle: StyleProp<ViewStyle>;
|
|
161
173
|
overlayStyle: StyleProp<ViewStyle>;
|
|
162
174
|
contentStyle: StyleProp<ViewStyle>;
|
|
175
|
+
/** The panel's section heading. The field's own label is `labelStyle`. */
|
|
176
|
+
groupLabelStyle: StyleProp<TextStyle>;
|
|
177
|
+
/**
|
|
178
|
+
* The column's three text slots, resolved through `textFieldRecipe` rather than this
|
|
179
|
+
* component's own: a select and a text field stacked in one form read as one control,
|
|
180
|
+
* and a second table here would be two to keep in step.
|
|
181
|
+
*/
|
|
163
182
|
labelStyle: StyleProp<TextStyle>;
|
|
183
|
+
descriptionStyle: StyleProp<TextStyle>;
|
|
184
|
+
errorStyle: StyleProp<TextStyle>;
|
|
164
185
|
itemStyle: StyleProp<ViewStyle>;
|
|
165
186
|
/** The same split as the trigger's, for the row a finger happens to be on. */
|
|
166
187
|
itemPressedStyle: StyleProp<ViewStyle>;
|
|
@@ -188,6 +209,9 @@ export type SelectContextValue = {
|
|
|
188
209
|
/** Labels registered by the items, so `Select.Value` can name the chosen one. */
|
|
189
210
|
labelFor: (value: string) => string | undefined;
|
|
190
211
|
registerLabel: (value: string, label: string) => void;
|
|
212
|
+
/** The ids the trigger points at with `aria-labelledby` / `aria-describedby`. */
|
|
213
|
+
labelId: string;
|
|
214
|
+
descriptionId: string;
|
|
191
215
|
};
|
|
192
216
|
/** The trigger's rectangle in window coordinates. */
|
|
193
217
|
export type SelectAnchor = Anchor;
|
|
@@ -51,7 +51,7 @@ type SkeletonOwnProps = {
|
|
|
51
51
|
/**
|
|
52
52
|
* `false` freezes the block at full opacity and mounts no worklet.
|
|
53
53
|
*
|
|
54
|
-
* A boolean rather than
|
|
54
|
+
* A boolean rather than the reference implementation's `'shimmer' | 'pulse' | 'none'`: a shimmer is a
|
|
55
55
|
* gradient sweeping across the block, a gradient needs `react-native-svg`, and that is
|
|
56
56
|
* an optional peer a component in the core cannot require. One animation, so there is
|
|
57
57
|
* nothing for a name to choose between.
|
|
@@ -51,7 +51,7 @@ type SkeletonOwnProps = {
|
|
|
51
51
|
/**
|
|
52
52
|
* `false` freezes the block at full opacity and mounts no worklet.
|
|
53
53
|
*
|
|
54
|
-
* A boolean rather than
|
|
54
|
+
* A boolean rather than the reference implementation's `'shimmer' | 'pulse' | 'none'`: a shimmer is a
|
|
55
55
|
* gradient sweeping across the block, a gradient needs `react-native-svg`, and that is
|
|
56
56
|
* an optional peer a component in the core cannot require. One animation, so there is
|
|
57
57
|
* nothing for a name to choose between.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkC6JO2RTVcjs = require('../../chunk-C6JO2RTV.cjs');
|
|
11
|
+
require('../../chunk-7EIHHOHP.cjs');
|
|
12
|
+
require('../../chunk-GSZDN6EZ.cjs');
|
|
13
|
+
require('../../chunk-FHNIGHN5.cjs');
|
|
14
|
+
require('../../chunk-SL3V7R2Y.cjs');
|
|
15
|
+
require('../../chunk-TVJXC4HY.cjs');
|
|
16
|
+
require('../../chunk-CDRGTUYF.cjs');
|
|
17
|
+
require('../../chunk-H4E4HDEP.cjs');
|
|
18
|
+
require('../../chunk-EJQCQPET.cjs');
|
|
19
|
+
require('../../chunk-IIAQISBG.cjs');
|
|
20
|
+
require('../../chunk-TK44VBIE.cjs');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.SlideButton = _chunkC6JO2RTVcjs.SlideButton; exports.SlideButtonFill = _chunkC6JO2RTVcjs.SlideButtonFill; exports.SlideButtonIcon = _chunkC6JO2RTVcjs.SlideButtonIcon; exports.SlideButtonLabel = _chunkC6JO2RTVcjs.SlideButtonLabel; exports.SlideButtonRoot = _chunkC6JO2RTVcjs.SlideButtonRoot; exports.SlideButtonThumb = _chunkC6JO2RTVcjs.SlideButtonThumb; exports.slideButtonRecipe = _chunkC6JO2RTVcjs.slideButtonRecipe; exports.useSlideButton = _chunkC6JO2RTVcjs.useSlideButton;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SlideButtonIcon } from './slide-button-icon';
|
|
2
|
+
import { SlideButtonThumb } from './slide-button-thumb';
|
|
3
|
+
export declare const SlideButton: import("react").ForwardRefExoticComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
variant?: import("./slide-button.type").SlideButtonVariant;
|
|
6
|
+
size?: import("./slide-button.type").SlideButtonSize;
|
|
7
|
+
radius?: import("../..").RadiusKey;
|
|
8
|
+
color?: string;
|
|
9
|
+
threshold?: number;
|
|
10
|
+
isConfirmed?: boolean;
|
|
11
|
+
defaultConfirmed?: boolean;
|
|
12
|
+
onConfirm?: () => void;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
variant?: import("./slide-button.type").SlideButtonVariant;
|
|
18
|
+
size?: import("./slide-button.type").SlideButtonSize;
|
|
19
|
+
radius?: import("../..").RadiusKey;
|
|
20
|
+
color?: string;
|
|
21
|
+
threshold?: number;
|
|
22
|
+
isConfirmed?: boolean;
|
|
23
|
+
defaultConfirmed?: boolean;
|
|
24
|
+
onConfirm?: () => void;
|
|
25
|
+
isDisabled?: boolean;
|
|
26
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
27
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "radius" | "size" | "variant" | "threshold" | "isConfirmed" | "defaultConfirmed" | "onConfirm"> & import("react").RefAttributes<import("react-native").View>> & {
|
|
28
|
+
Fill: import("react").ForwardRefExoticComponent<{
|
|
29
|
+
children?: never;
|
|
30
|
+
} & Omit<import("react-native").ViewProps, "children"> & Omit<import("../..").ViewStyleProps, keyof import("react-native").ViewProps> & import("react").RefAttributes<import("react-native").View>>;
|
|
31
|
+
Label: import("react").ForwardRefExoticComponent<import("react-native").TextProps & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & {
|
|
32
|
+
children?: import("react").ReactNode;
|
|
33
|
+
} & import("react").RefAttributes<import("react-native").Text>>;
|
|
34
|
+
Thumb: typeof SlideButtonThumb;
|
|
35
|
+
Icon: typeof SlideButtonIcon;
|
|
36
|
+
};
|
|
37
|
+
export { SlideButtonRoot } from './slide-button';
|
|
38
|
+
export { SlideButtonFill } from './slide-button-fill';
|
|
39
|
+
export { SlideButtonLabel } from './slide-button-label';
|
|
40
|
+
export { SlideButtonThumb } from './slide-button-thumb';
|
|
41
|
+
export { SlideButtonIcon } from './slide-button-icon';
|
|
42
|
+
export { useSlideButton } from './slide-button.context';
|
|
43
|
+
export { slideButtonRecipe } from './slide-button.recipe';
|
|
44
|
+
export type { SlideButtonContextValue, SlideButtonFillProps, SlideButtonIconProps, SlideButtonLabelProps, SlideButtonProps, SlideButtonSize, SlideButtonSlot, SlideButtonThumbProps, SlideButtonVariant, } from './slide-button.type';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SlideButtonIcon } from './slide-button-icon';
|
|
2
|
+
import { SlideButtonThumb } from './slide-button-thumb';
|
|
3
|
+
export declare const SlideButton: import("react").ForwardRefExoticComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
variant?: import("./slide-button.type").SlideButtonVariant;
|
|
6
|
+
size?: import("./slide-button.type").SlideButtonSize;
|
|
7
|
+
radius?: import("../..").RadiusKey;
|
|
8
|
+
color?: string;
|
|
9
|
+
threshold?: number;
|
|
10
|
+
isConfirmed?: boolean;
|
|
11
|
+
defaultConfirmed?: boolean;
|
|
12
|
+
onConfirm?: () => void;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
variant?: import("./slide-button.type").SlideButtonVariant;
|
|
18
|
+
size?: import("./slide-button.type").SlideButtonSize;
|
|
19
|
+
radius?: import("../..").RadiusKey;
|
|
20
|
+
color?: string;
|
|
21
|
+
threshold?: number;
|
|
22
|
+
isConfirmed?: boolean;
|
|
23
|
+
defaultConfirmed?: boolean;
|
|
24
|
+
onConfirm?: () => void;
|
|
25
|
+
isDisabled?: boolean;
|
|
26
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
27
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "radius" | "size" | "variant" | "threshold" | "isConfirmed" | "defaultConfirmed" | "onConfirm"> & import("react").RefAttributes<import("react-native").View>> & {
|
|
28
|
+
Fill: import("react").ForwardRefExoticComponent<{
|
|
29
|
+
children?: never;
|
|
30
|
+
} & Omit<import("react-native").ViewProps, "children"> & Omit<import("../..").ViewStyleProps, keyof import("react-native").ViewProps> & import("react").RefAttributes<import("react-native").View>>;
|
|
31
|
+
Label: import("react").ForwardRefExoticComponent<import("react-native").TextProps & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & {
|
|
32
|
+
children?: import("react").ReactNode;
|
|
33
|
+
} & import("react").RefAttributes<import("react-native").Text>>;
|
|
34
|
+
Thumb: typeof SlideButtonThumb;
|
|
35
|
+
Icon: typeof SlideButtonIcon;
|
|
36
|
+
};
|
|
37
|
+
export { SlideButtonRoot } from './slide-button';
|
|
38
|
+
export { SlideButtonFill } from './slide-button-fill';
|
|
39
|
+
export { SlideButtonLabel } from './slide-button-label';
|
|
40
|
+
export { SlideButtonThumb } from './slide-button-thumb';
|
|
41
|
+
export { SlideButtonIcon } from './slide-button-icon';
|
|
42
|
+
export { useSlideButton } from './slide-button.context';
|
|
43
|
+
export { slideButtonRecipe } from './slide-button.recipe';
|
|
44
|
+
export type { SlideButtonContextValue, SlideButtonFillProps, SlideButtonIconProps, SlideButtonLabelProps, SlideButtonProps, SlideButtonSize, SlideButtonSlot, SlideButtonThumbProps, SlideButtonVariant, } from './slide-button.type';
|