@xaui/native 0.9.1-alpha.90 → 0.9.1-alpha.92
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-XZ42OWKC.js → chunk-2AFA5HA2.js} +78 -74
- package/dist/{chunk-A2JNZMDJ.cjs → chunk-2B6PUYTP.cjs} +2 -2
- package/dist/chunk-3A5RK2R7.js +40 -0
- package/dist/{chunk-HQLJZ6C2.js → chunk-52XUGOLD.js} +3 -3
- package/dist/{chunk-TCDWDTSW.cjs → chunk-5E6SHYEQ.cjs} +3 -3
- package/dist/{chunk-Y36UGSTS.cjs → chunk-62AYYMZP.cjs} +3 -3
- package/dist/{chunk-BLGAFZRI.cjs → chunk-6GQ7UTJ7.cjs} +2 -2
- package/dist/chunk-6JAGPPZU.cjs +788 -0
- package/dist/{chunk-CVPBNJRG.js → chunk-6RU6GUJP.js} +1 -1
- package/dist/{chunk-XUF7K4WP.js → chunk-7EVW6O2Q.js} +1 -1
- package/dist/chunk-7NQL5DXY.js +302 -0
- package/dist/{chunk-ACWFIZKC.cjs → chunk-AR7667VN.cjs} +6 -6
- package/dist/{chunk-DSCZZZIG.cjs → chunk-B33OU34Z.cjs} +12 -12
- package/dist/{chunk-WGXOYMZM.cjs → chunk-BI5ME4QP.cjs} +5 -5
- package/dist/{chunk-IEEUSJBJ.js → chunk-BJVO7DWJ.js} +1 -1
- package/dist/{chunk-5YEMZL4C.cjs → chunk-CBRW53GN.cjs} +7 -7
- package/dist/{chunk-34UJTR37.cjs → chunk-CBXILKQZ.cjs} +3 -3
- package/dist/{chunk-FB4JF34M.cjs → chunk-CEPX7CKM.cjs} +16 -16
- package/dist/{chunk-377XFATD.cjs → chunk-CYOUOQXT.cjs} +5 -5
- package/dist/{chunk-AUYFPVLA.cjs → chunk-DYQB54JA.cjs} +2 -2
- package/dist/{chunk-3OQPAZTF.js → chunk-EBCAPIBD.js} +44 -44
- package/dist/{chunk-M5LTEKGJ.cjs → chunk-EDNCHCIN.cjs} +2 -2
- package/dist/{chunk-34KILEQD.js → chunk-FOOXBVOQ.js} +15 -15
- package/dist/{chunk-24WXPNIT.js → chunk-FRLWG5LM.js} +24 -24
- package/dist/chunk-FTPPUTWL.cjs +40 -0
- package/dist/{chunk-AAQIBMJI.js → chunk-FVEMTBU4.js} +2 -2
- package/dist/{chunk-54DVPCYB.cjs → chunk-FXN32S75.cjs} +3 -3
- package/dist/chunk-GGP2ERSV.js +487 -0
- package/dist/{chunk-6BB6YWEN.js → chunk-GYEQEF5H.js} +1 -1
- package/dist/{chunk-MTGUUW7F.cjs → chunk-GZAGWNQM.cjs} +3 -3
- package/dist/{chunk-OF3E7WVQ.cjs → chunk-ILXKBDC6.cjs} +10 -10
- package/dist/{chunk-D2UYBAGB.cjs → chunk-IPD3IUE2.cjs} +4 -4
- package/dist/{chunk-XLPOJTA2.cjs → chunk-JBZ7SBRV.cjs} +3 -3
- package/dist/{chunk-UMTVYPYK.js → chunk-JC4YCKKL.js} +15 -15
- package/dist/{chunk-GL46PQPW.js → chunk-JJYHW4PV.js} +1 -1
- package/dist/{chunk-2CTIZGMC.js → chunk-JKDWYNSG.js} +99 -99
- package/dist/chunk-KPKEZWZM.js +517 -0
- package/dist/{chunk-KTI3GCFM.js → chunk-LECYGVIH.js} +43 -43
- package/dist/chunk-LKRQUQZQ.cjs +487 -0
- package/dist/{chunk-SYVFU6O5.cjs → chunk-LPJ3UBSO.cjs} +4 -4
- package/dist/{chunk-RS2UWFEG.js → chunk-MMFIMQMQ.js} +2 -2
- package/dist/chunk-MSORLKO7.cjs +422 -0
- package/dist/{chunk-PKVKFZW7.js → chunk-O6B72H4B.js} +5 -5
- package/dist/{chunk-7KQG4JQ2.js → chunk-OD6H7ANY.js} +1 -1
- package/dist/{chunk-UXPBSREP.js → chunk-ODQHAPQW.js} +17 -17
- package/dist/{chunk-TB7V2DO3.cjs → chunk-ORXVXYKC.cjs} +11 -11
- package/dist/{chunk-PIU3JONR.cjs → chunk-OW4N2C3M.cjs} +64 -60
- package/dist/{chunk-NPY7I7JJ.js → chunk-P2CJNTAP.js} +15 -15
- package/dist/{chunk-AOXNVM55.cjs → chunk-P2V6PIM7.cjs} +2 -2
- package/dist/{chunk-CKADVFCH.js → chunk-P5M5URAB.js} +30 -127
- package/dist/{chunk-BPQWLUQU.js → chunk-P7OHZCU3.js} +2 -2
- package/dist/{chunk-DPW25YCM.cjs → chunk-PAQD6UUF.cjs} +3 -3
- package/dist/{chunk-LDFBDFIW.js → chunk-PAQZOD2L.js} +1 -1
- package/dist/{chunk-4TG2OLEM.cjs → chunk-PDSR42YC.cjs} +3 -3
- package/dist/{chunk-AXSY2KPT.cjs → chunk-PROLOLZ5.cjs} +2 -2
- package/dist/{chunk-4SPCZVR6.cjs → chunk-PYQ2P3M5.cjs} +58 -58
- package/dist/{chunk-ZZTUJELK.cjs → chunk-Q2BWXT55.cjs} +9 -9
- package/dist/{chunk-RD3ZUUBC.cjs → chunk-QCH7X7O2.cjs} +14 -14
- package/dist/{chunk-ZYN7XKF5.cjs → chunk-QELEKXN3.cjs} +5 -5
- package/dist/{chunk-ZN5P3VTI.js → chunk-QHXTO525.js} +1 -1
- package/dist/{chunk-EVSQ4CEI.cjs → chunk-QN2D5ZCS.cjs} +3 -3
- package/dist/{chunk-4XZWVJZL.cjs → chunk-QUSQEYLP.cjs} +25 -25
- package/dist/chunk-RCSEVEIR.js +422 -0
- package/dist/{chunk-GOKUBJIK.js → chunk-RLC3EXMV.js} +2 -2
- package/dist/{chunk-BLYKQD47.cjs → chunk-RREJUSAS.cjs} +3 -3
- package/dist/{chunk-BLDMKFIG.js → chunk-RSIWSVXI.js} +1 -1
- package/dist/{chunk-5VYB7F3H.js → chunk-RXEUKYM5.js} +1 -1
- package/dist/{chunk-WRW4JBB4.js → chunk-SUJLTC2K.js} +4 -4
- package/dist/{chunk-KBQT6MZ4.js → chunk-TCWW7JI2.js} +58 -58
- package/dist/{chunk-B2KUGQS5.js → chunk-TPYOQSKT.js} +1 -1
- package/dist/{chunk-SEYZGC4E.js → chunk-TRWZEOCO.js} +2 -2
- package/dist/{chunk-SDLDRTT7.cjs → chunk-UEW3GAP5.cjs} +5 -5
- package/dist/{chunk-WQZJ26SX.cjs → chunk-UFKSUELU.cjs} +2 -2
- package/dist/chunk-UR37LVPU.cjs +382 -0
- package/dist/{chunk-4BAKKBHJ.js → chunk-USIWPESU.js} +1 -1
- package/dist/{chunk-HM6M6SIP.js → chunk-UYQLW7OD.js} +1 -1
- package/dist/{chunk-NIEIDK5Z.js → chunk-V2CEKPJ6.js} +4 -4
- package/dist/{chunk-GPSVJ75L.js → chunk-VMPCXS4S.js} +15 -15
- package/dist/{chunk-W6TFYAEF.js → chunk-VQGNLX5C.js} +1 -1
- package/dist/{chunk-YSZ4K6L6.cjs → chunk-WIX4SYZI.cjs} +2 -2
- package/dist/{chunk-T3WEEHSB.js → chunk-WRZV6ORJ.js} +1 -1
- package/dist/{chunk-UDVKP3V2.cjs → chunk-X4CZYJZ6.cjs} +12 -12
- package/dist/chunk-XWIPLZTD.cjs +302 -0
- package/dist/{chunk-67WT74DY.cjs → chunk-ZE4IHUUO.cjs} +2 -2
- package/dist/{chunk-4JB7XQCJ.js → chunk-ZKGVOXLQ.js} +1 -1
- package/dist/{chunk-U32IGHJ6.js → chunk-ZWS3FQ3J.js} +57 -57
- package/dist/components/accordion/index.cjs +3 -3
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-calendar/index.cjs +4 -4
- package/dist/components/agenda-calendar/index.js +3 -3
- package/dist/components/alert/index.cjs +4 -4
- package/dist/components/alert/index.js +3 -3
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/bottom-sheet/index.cjs +3 -3
- package/dist/components/bottom-sheet/index.js +2 -2
- package/dist/components/button/button.d.cts +1 -0
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/index.cjs +4 -4
- package/dist/components/button/index.d.cts +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +3 -3
- package/dist/components/calendar/index.cjs +3 -3
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/card.d.cts +1 -0
- package/dist/components/card/card.d.ts +1 -0
- package/dist/components/card/index.cjs +3 -3
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.cjs +4 -3
- package/dist/components/carousel/index.js +3 -2
- package/dist/components/checkbox/checkbox.d.cts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/checkbox/index.cjs +3 -3
- package/dist/components/checkbox/index.d.cts +1 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/chip/chip.d.cts +1 -0
- package/dist/components/chip/chip.d.ts +1 -0
- package/dist/components/chip/index.cjs +4 -4
- package/dist/components/chip/index.d.cts +1 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/chip/index.js +3 -3
- package/dist/components/close-button/close-button.d.cts +1 -0
- package/dist/components/close-button/close-button.d.ts +1 -0
- package/dist/components/close-button/index.cjs +4 -4
- package/dist/components/close-button/index.js +3 -3
- package/dist/components/color-picker/color-picker.d.cts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/index.cjs +6 -6
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +5 -5
- package/dist/components/combobox/index.cjs +4 -4
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/date-picker/index.cjs +4 -4
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/date-range-picker/index.cjs +6 -6
- package/dist/components/date-range-picker/index.js +5 -5
- package/dist/components/date-time-picker/index.cjs +7 -7
- package/dist/components/date-time-picker/index.js +6 -6
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dummy-field/index.cjs +3 -3
- package/dist/components/dummy-field/index.js +2 -2
- package/dist/components/fab/index.cjs +4 -4
- package/dist/components/fab/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 +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/list-box/index.cjs +2 -2
- package/dist/components/list-box/index.js +1 -1
- package/dist/components/menu/index.cjs +3 -3
- package/dist/components/menu/index.js +2 -2
- package/dist/components/morph-button/index.cjs +39 -0
- package/dist/components/morph-button/index.d.cts +53 -0
- package/dist/components/morph-button/index.d.ts +53 -0
- package/dist/components/morph-button/index.js +39 -0
- package/dist/components/morph-button/morph-button-face.d.cts +9 -0
- package/dist/components/morph-button/morph-button-face.d.ts +9 -0
- package/dist/components/morph-button/morph-button-icon.d.cts +13 -0
- package/dist/components/morph-button/morph-button-icon.d.ts +13 -0
- package/dist/components/morph-button/morph-button-text.d.cts +16 -0
- package/dist/components/morph-button/morph-button-text.d.ts +16 -0
- package/dist/components/morph-button/morph-button.animation.d.cts +29 -0
- package/dist/components/morph-button/morph-button.animation.d.ts +29 -0
- package/dist/components/morph-button/morph-button.context.d.cts +7 -0
- package/dist/components/morph-button/morph-button.context.d.ts +7 -0
- package/dist/components/morph-button/morph-button.d.cts +61 -0
- package/dist/components/morph-button/morph-button.d.ts +61 -0
- package/dist/components/morph-button/morph-button.recipe.d.cts +11 -0
- package/dist/components/morph-button/morph-button.recipe.d.ts +11 -0
- package/dist/components/morph-button/morph-button.type.d.cts +99 -0
- package/dist/components/morph-button/morph-button.type.d.ts +99 -0
- package/dist/components/number-pad/index.cjs +40 -0
- package/dist/components/number-pad/index.d.cts +60 -0
- package/dist/components/number-pad/index.d.ts +60 -0
- package/dist/components/number-pad/index.js +40 -0
- package/dist/components/number-pad/number-pad-action.d.cts +24 -0
- package/dist/components/number-pad/number-pad-action.d.ts +24 -0
- package/dist/components/number-pad/number-pad-backspace.d.cts +18 -0
- package/dist/components/number-pad/number-pad-backspace.d.ts +18 -0
- package/dist/components/number-pad/number-pad-cell.d.cts +7 -0
- package/dist/components/number-pad/number-pad-cell.d.ts +7 -0
- package/dist/components/number-pad/number-pad-icon.d.cts +13 -0
- package/dist/components/number-pad/number-pad-icon.d.ts +13 -0
- package/dist/components/number-pad/number-pad-key.d.cts +24 -0
- package/dist/components/number-pad/number-pad-key.d.ts +24 -0
- package/dist/components/number-pad/number-pad-label.d.cts +14 -0
- package/dist/components/number-pad/number-pad-label.d.ts +14 -0
- package/dist/components/number-pad/number-pad.context.d.cts +18 -0
- package/dist/components/number-pad/number-pad.context.d.ts +18 -0
- package/dist/components/number-pad/number-pad.d.cts +57 -0
- package/dist/components/number-pad/number-pad.d.ts +57 -0
- package/dist/components/number-pad/number-pad.recipe.d.cts +11 -0
- package/dist/components/number-pad/number-pad.recipe.d.ts +11 -0
- package/dist/components/number-pad/number-pad.style.d.cts +13 -0
- package/dist/components/number-pad/number-pad.style.d.ts +13 -0
- package/dist/components/number-pad/number-pad.type.d.cts +135 -0
- package/dist/components/number-pad/number-pad.type.d.ts +135 -0
- package/dist/components/number-pad/number-pad.utils.d.cts +34 -0
- package/dist/components/number-pad/number-pad.utils.d.ts +34 -0
- package/dist/components/number-stepper/index.cjs +3 -3
- package/dist/components/number-stepper/index.js +2 -2
- package/dist/components/pager/index.cjs +31 -0
- package/dist/components/pager/index.d.cts +60 -0
- package/dist/components/pager/index.d.ts +60 -0
- package/dist/components/pager/index.js +31 -0
- package/dist/components/pager/pager-content.d.cts +24 -0
- package/dist/components/pager/pager-content.d.ts +24 -0
- package/dist/components/pager/pager-indicator.d.cts +47 -0
- package/dist/components/pager/pager-indicator.d.ts +47 -0
- package/dist/components/pager/pager-page.d.cts +16 -0
- package/dist/components/pager/pager-page.d.ts +16 -0
- package/dist/components/pager/pager.context.d.cts +7 -0
- package/dist/components/pager/pager.context.d.ts +7 -0
- package/dist/components/pager/pager.d.cts +71 -0
- package/dist/components/pager/pager.d.ts +71 -0
- package/dist/components/pager/pager.recipe.d.cts +15 -0
- package/dist/components/pager/pager.recipe.d.ts +15 -0
- package/dist/components/pager/pager.type.d.cts +108 -0
- package/dist/components/pager/pager.type.d.ts +108 -0
- package/dist/components/phone-number-field/index.cjs +15 -15
- package/dist/components/phone-number-field/index.js +4 -4
- package/dist/components/popover/index.cjs +3 -3
- package/dist/components/popover/index.js +2 -2
- package/dist/components/radio/index.cjs +3 -3
- package/dist/components/radio/index.d.cts +1 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/index.js +2 -2
- package/dist/components/radio/radio.d.cts +1 -0
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/range-calendar/index.cjs +4 -4
- package/dist/components/range-calendar/index.js +3 -3
- package/dist/components/rating/index.cjs +30 -0
- package/dist/components/rating/index.d.cts +41 -0
- package/dist/components/rating/index.d.ts +41 -0
- package/dist/components/rating/index.js +30 -0
- package/dist/components/rating/rating-icon.d.cts +16 -0
- package/dist/components/rating/rating-icon.d.ts +16 -0
- package/dist/components/rating/rating-item.d.cts +23 -0
- package/dist/components/rating/rating-item.d.ts +23 -0
- package/dist/components/rating/rating-star.d.cts +19 -0
- package/dist/components/rating/rating-star.d.ts +19 -0
- package/dist/components/rating/rating.context.d.cts +16 -0
- package/dist/components/rating/rating.context.d.ts +16 -0
- package/dist/components/rating/rating.d.cts +59 -0
- package/dist/components/rating/rating.d.ts +59 -0
- package/dist/components/rating/rating.recipe.d.cts +11 -0
- package/dist/components/rating/rating.recipe.d.ts +11 -0
- package/dist/components/rating/rating.style.d.cts +24 -0
- package/dist/components/rating/rating.style.d.ts +24 -0
- package/dist/components/rating/rating.type.d.cts +108 -0
- package/dist/components/rating/rating.type.d.ts +108 -0
- package/dist/components/rating/rating.utils.d.cts +28 -0
- package/dist/components/rating/rating.utils.d.ts +28 -0
- package/dist/components/search-field/index.cjs +4 -4
- package/dist/components/search-field/index.js +3 -3
- package/dist/components/segment/index.cjs +2 -2
- package/dist/components/segment/index.js +1 -1
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/snackbar/index.cjs +3 -3
- package/dist/components/snackbar/index.js +2 -2
- package/dist/components/switch/index.cjs +3 -3
- package/dist/components/switch/index.d.cts +1 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +2 -2
- package/dist/components/switch/switch.d.cts +1 -0
- package/dist/components/switch/switch.d.ts +1 -0
- package/dist/components/table/index.cjs +4 -4
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.cjs +3 -3
- package/dist/components/tabs/index.js +2 -2
- package/dist/components/tag-group/index.cjs +4 -4
- package/dist/components/tag-group/index.js +3 -3
- package/dist/components/time-picker/index.cjs +4 -4
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/toast/index.cjs +3 -3
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle-button/index.cjs +3 -3
- package/dist/components/toggle-button/index.d.cts +1 -0
- package/dist/components/toggle-button/index.d.ts +1 -0
- package/dist/components/toggle-button/index.js +2 -2
- package/dist/components/toggle-button/toggle-button.d.cts +1 -0
- package/dist/components/toggle-button/toggle-button.d.ts +1 -0
- package/dist/index.cjs +145 -60
- package/dist/index.js +243 -158
- package/dist/system/index.cjs +3 -3
- package/dist/system/index.js +2 -2
- package/dist/system/pressable-feedback/index.d.cts +1 -0
- package/dist/system/pressable-feedback/index.d.ts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.d.cts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.d.ts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.type.d.cts +13 -1
- package/dist/system/pressable-feedback/pressable-feedback.type.d.ts +13 -1
- package/package.json +41 -1
- package/dist/chunk-L5GB6G3L.cjs +0 -1007
|
@@ -21,19 +21,19 @@ require('../../chunk-WLWZG2PA.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkIPD3IUE2cjs = require('../../chunk-IPD3IUE2.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
28
|
-
require('../../chunk-H2FTAU5C.cjs');
|
|
27
|
+
var _chunkLPJ3UBSOcjs = require('../../chunk-LPJ3UBSO.cjs');
|
|
29
28
|
require('../../chunk-XSQPVDFH.cjs');
|
|
29
|
+
require('../../chunk-H2FTAU5C.cjs');
|
|
30
30
|
require('../../chunk-WDDXU3OH.cjs');
|
|
31
31
|
require('../../chunk-EKS3W46M.cjs');
|
|
32
32
|
require('../../chunk-WFEMJCXO.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunk7EIHHOHPcjs = require('../../chunk-7EIHHOHP.cjs');
|
|
36
|
-
require('../../chunk-
|
|
36
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
37
37
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
38
38
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
39
39
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -189,7 +189,7 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
189
189
|
]
|
|
190
190
|
);
|
|
191
191
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
-
|
|
192
|
+
_chunkIPD3IUE2cjs.BottomSheet,
|
|
193
193
|
{
|
|
194
194
|
isOpen: context.isOpen,
|
|
195
195
|
onOpenChange: setOpen,
|
|
@@ -247,7 +247,7 @@ var PhoneNumberFieldCountry = _react.forwardRef.call(void 0, function PhoneNumbe
|
|
|
247
247
|
const { country } = usePhoneNumberField();
|
|
248
248
|
const { labelStyle } = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
|
|
249
249
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
250
|
-
|
|
250
|
+
_chunkIPD3IUE2cjs.BottomSheetTrigger,
|
|
251
251
|
{
|
|
252
252
|
ref,
|
|
253
253
|
asChild,
|
|
@@ -272,7 +272,7 @@ function PhoneNumberFieldContent({
|
|
|
272
272
|
}) {
|
|
273
273
|
const context = usePhoneNumberField();
|
|
274
274
|
const field = _chunkAXKDHX5Vcjs.useTextField.call(void 0, );
|
|
275
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIPD3IUE2cjs.BottomSheetContent, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXKDHX5Vcjs.TextFieldProvider, { value: field, children }) }) });
|
|
276
276
|
}
|
|
277
277
|
PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
|
|
278
278
|
|
|
@@ -318,7 +318,7 @@ var PhoneNumberFieldCountryList = _react.forwardRef.call(void 0, function PhoneN
|
|
|
318
318
|
data: filtered,
|
|
319
319
|
extraData: value.country,
|
|
320
320
|
renderItem: ({ item }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
-
|
|
321
|
+
_chunkLPJ3UBSOcjs.Button,
|
|
322
322
|
{
|
|
323
323
|
variant: "ghost",
|
|
324
324
|
justifyContent: "flex-start",
|
|
@@ -329,13 +329,13 @@ var PhoneNumberFieldCountryList = _react.forwardRef.call(void 0, function PhoneN
|
|
|
329
329
|
_reactnative.Keyboard.dismiss();
|
|
330
330
|
},
|
|
331
331
|
children: renderCountry ? renderCountry(item) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
332
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
332
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLPJ3UBSOcjs.Button.Label, { children: [
|
|
333
333
|
item.flag,
|
|
334
334
|
" +",
|
|
335
335
|
item.callingCode
|
|
336
336
|
] }),
|
|
337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
338
|
-
item.code === value.country ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLPJ3UBSOcjs.Button.Label, { flex: 1, children: item.name }),
|
|
338
|
+
item.code === value.country ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLPJ3UBSOcjs.Button.Label, { children: "\u2713" }) : null
|
|
339
339
|
] })
|
|
340
340
|
}
|
|
341
341
|
)
|
|
@@ -351,11 +351,11 @@ var PhoneNumberField2 = Object.assign(PhoneNumberFieldRoot, {
|
|
|
351
351
|
Country: PhoneNumberFieldCountry,
|
|
352
352
|
Description: _chunkAXKDHX5Vcjs.TextFieldDescription,
|
|
353
353
|
Error: _chunkAXKDHX5Vcjs.TextFieldError,
|
|
354
|
-
Overlay:
|
|
354
|
+
Overlay: _chunkIPD3IUE2cjs.BottomSheetOverlay,
|
|
355
355
|
Content: PhoneNumberFieldContent,
|
|
356
|
-
Handle:
|
|
357
|
-
Title:
|
|
358
|
-
Close:
|
|
356
|
+
Handle: _chunkIPD3IUE2cjs.BottomSheetHandle,
|
|
357
|
+
Title: _chunkIPD3IUE2cjs.BottomSheetTitle,
|
|
358
|
+
Close: _chunkIPD3IUE2cjs.BottomSheetClose,
|
|
359
359
|
Search: PhoneNumberFieldSearch,
|
|
360
360
|
CountryList: PhoneNumberFieldCountryList
|
|
361
361
|
});
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
BottomSheetOverlay,
|
|
22
22
|
BottomSheetTitle,
|
|
23
23
|
BottomSheetTrigger
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-LECYGVIH.js";
|
|
25
25
|
import {
|
|
26
26
|
Button
|
|
27
|
-
} from "../../chunk-
|
|
28
|
-
import "../../chunk-7J3M62W5.js";
|
|
27
|
+
} from "../../chunk-V2CEKPJ6.js";
|
|
29
28
|
import "../../chunk-3GFRSZYR.js";
|
|
29
|
+
import "../../chunk-7J3M62W5.js";
|
|
30
30
|
import "../../chunk-2PMXMKS5.js";
|
|
31
31
|
import "../../chunk-64MXEVT3.js";
|
|
32
32
|
import "../../chunk-NCTOTTVW.js";
|
|
33
33
|
import {
|
|
34
34
|
useControllableState
|
|
35
35
|
} from "../../chunk-F6W3JQ7K.js";
|
|
36
|
-
import "../../chunk-
|
|
36
|
+
import "../../chunk-2AFA5HA2.js";
|
|
37
37
|
import "../../chunk-423RQBOX.js";
|
|
38
38
|
import "../../chunk-JN6IRT2M.js";
|
|
39
39
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkQN2D5ZCScjs = require('../../chunk-QN2D5ZCS.cjs');
|
|
13
13
|
require('../../chunk-GTR5X65M.cjs');
|
|
14
14
|
require('../../chunk-YVYYONTP.cjs');
|
|
15
15
|
require('../../chunk-WDDXU3OH.cjs');
|
|
16
16
|
require('../../chunk-EKS3W46M.cjs');
|
|
17
17
|
require('../../chunk-WFEMJCXO.cjs');
|
|
18
18
|
require('../../chunk-7EIHHOHP.cjs');
|
|
19
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
20
20
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
21
21
|
require('../../chunk-FHNIGHN5.cjs');
|
|
22
22
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -37,4 +37,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
exports.Popover =
|
|
40
|
+
exports.Popover = _chunkQN2D5ZCScjs.Popover2; exports.PopoverClose = _chunkQN2D5ZCScjs.PopoverClose; exports.PopoverContent = _chunkQN2D5ZCScjs.PopoverContent; exports.PopoverDescription = _chunkQN2D5ZCScjs.PopoverDescription; exports.PopoverOverlay = _chunkQN2D5ZCScjs.PopoverOverlay; exports.PopoverRoot = _chunkQN2D5ZCScjs.Popover; exports.PopoverTitle = _chunkQN2D5ZCScjs.PopoverTitle; exports.PopoverTrigger = _chunkQN2D5ZCScjs.PopoverTrigger; exports.popoverRecipe = _chunkQN2D5ZCScjs.popoverRecipe; exports.usePopover = _chunkQN2D5ZCScjs.usePopover;
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
PopoverTrigger,
|
|
10
10
|
popoverRecipe,
|
|
11
11
|
usePopover
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-RXEUKYM5.js";
|
|
13
13
|
import "../../chunk-734MFAX4.js";
|
|
14
14
|
import "../../chunk-Z6FRP4EV.js";
|
|
15
15
|
import "../../chunk-2PMXMKS5.js";
|
|
16
16
|
import "../../chunk-64MXEVT3.js";
|
|
17
17
|
import "../../chunk-NCTOTTVW.js";
|
|
18
18
|
import "../../chunk-F6W3JQ7K.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-2AFA5HA2.js";
|
|
20
20
|
import "../../chunk-423RQBOX.js";
|
|
21
21
|
import "../../chunk-WFZDAXDI.js";
|
|
22
22
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkDYQB54JAcjs = require('../../chunk-DYQB54JA.cjs');
|
|
13
13
|
require('../../chunk-F6CQ6CBI.cjs');
|
|
14
14
|
require('../../chunk-7EIHHOHP.cjs');
|
|
15
|
-
require('../../chunk-
|
|
15
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
16
16
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
17
17
|
require('../../chunk-FHNIGHN5.cjs');
|
|
18
18
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -33,4 +33,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
exports.Radio =
|
|
36
|
+
exports.Radio = _chunkDYQB54JAcjs.Radio; exports.RadioGroup = _chunkDYQB54JAcjs.RadioGroup; exports.RadioGroupRoot = _chunkDYQB54JAcjs.RadioGroupRoot; exports.RadioIndicator = _chunkDYQB54JAcjs.RadioIndicator; exports.RadioLabel = _chunkDYQB54JAcjs.RadioLabel; exports.RadioRoot = _chunkDYQB54JAcjs.RadioRoot; exports.radioGroupRecipe = _chunkDYQB54JAcjs.radioGroupRecipe; exports.radioRecipe = _chunkDYQB54JAcjs.radioRecipe; exports.useRadio = _chunkDYQB54JAcjs.useRadio; exports.useRadioGroup = _chunkDYQB54JAcjs.useRadioGroup;
|
|
@@ -435,6 +435,7 @@ export declare const Radio: import("react").ForwardRefExoticComponent<{
|
|
|
435
435
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
436
436
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
437
437
|
unstable_pressDelay?: number | undefined | undefined;
|
|
438
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
438
439
|
asChild?: boolean | undefined;
|
|
439
440
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
440
441
|
variant?: import("./radio.type").RadioVariant;
|
|
@@ -435,6 +435,7 @@ export declare const Radio: import("react").ForwardRefExoticComponent<{
|
|
|
435
435
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
436
436
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
437
437
|
unstable_pressDelay?: number | undefined | undefined;
|
|
438
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
438
439
|
asChild?: boolean | undefined;
|
|
439
440
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
440
441
|
variant?: import("./radio.type").RadioVariant;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
radioRecipe,
|
|
10
10
|
useRadio,
|
|
11
11
|
useRadioGroup
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-TPYOQSKT.js";
|
|
13
13
|
import "../../chunk-BA2DBSAN.js";
|
|
14
14
|
import "../../chunk-F6W3JQ7K.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-2AFA5HA2.js";
|
|
16
16
|
import "../../chunk-423RQBOX.js";
|
|
17
17
|
import "../../chunk-WFZDAXDI.js";
|
|
18
18
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -468,6 +468,7 @@ export declare const RadioRoot: import("react").ForwardRefExoticComponent<{
|
|
|
468
468
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
469
469
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
470
470
|
unstable_pressDelay?: number | undefined | undefined;
|
|
471
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
471
472
|
asChild?: boolean | undefined;
|
|
472
473
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
473
474
|
variant?: import("./radio.type").RadioVariant;
|
|
@@ -468,6 +468,7 @@ export declare const RadioRoot: import("react").ForwardRefExoticComponent<{
|
|
|
468
468
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
469
469
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
470
470
|
unstable_pressDelay?: number | undefined | undefined;
|
|
471
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
471
472
|
asChild?: boolean | undefined;
|
|
472
473
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
473
474
|
variant?: import("./radio.type").RadioVariant;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../../chunk-
|
|
8
|
+
var _chunkX4CZYJZ6cjs = require('../../chunk-X4CZYJZ6.cjs');
|
|
9
|
+
require('../../chunk-UEW3GAP5.cjs');
|
|
10
10
|
require('../../chunk-ISHMSP6P.cjs');
|
|
11
11
|
require('../../chunk-WFEMJCXO.cjs');
|
|
12
12
|
require('../../chunk-7EIHHOHP.cjs');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
14
14
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
15
15
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
16
16
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -28,4 +28,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.RangeCalendar =
|
|
31
|
+
exports.RangeCalendar = _chunkX4CZYJZ6cjs.RangeCalendar; exports.RangeCalendarDay = _chunkX4CZYJZ6cjs.RangeCalendarDay; exports.RangeCalendarGrid = _chunkX4CZYJZ6cjs.RangeCalendarGrid; exports.RangeCalendarRoot = _chunkX4CZYJZ6cjs.RangeCalendarRoot; exports.rangeCalendarRecipe = _chunkX4CZYJZ6cjs.rangeCalendarRecipe; exports.useRangeCalendar = _chunkX4CZYJZ6cjs.useRangeCalendar;
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
RangeCalendarRoot,
|
|
6
6
|
rangeCalendarRecipe,
|
|
7
7
|
useRangeCalendar
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-P7OHZCU3.js";
|
|
9
|
+
import "../../chunk-RSIWSVXI.js";
|
|
10
10
|
import "../../chunk-SHFUQVLX.js";
|
|
11
11
|
import "../../chunk-NCTOTTVW.js";
|
|
12
12
|
import "../../chunk-F6W3JQ7K.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-2AFA5HA2.js";
|
|
14
14
|
import "../../chunk-423RQBOX.js";
|
|
15
15
|
import "../../chunk-JN6IRT2M.js";
|
|
16
16
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkXWIPLZTDcjs = require('../../chunk-XWIPLZTD.cjs');
|
|
10
|
+
require('../../chunk-7EIHHOHP.cjs');
|
|
11
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
12
|
+
require('../../chunk-7DPL3ZDS.cjs');
|
|
13
|
+
require('../../chunk-GSZDN6EZ.cjs');
|
|
14
|
+
require('../../chunk-FHNIGHN5.cjs');
|
|
15
|
+
require('../../chunk-SL3V7R2Y.cjs');
|
|
16
|
+
require('../../chunk-TVJXC4HY.cjs');
|
|
17
|
+
require('../../chunk-CDRGTUYF.cjs');
|
|
18
|
+
require('../../chunk-H4E4HDEP.cjs');
|
|
19
|
+
require('../../chunk-EJQCQPET.cjs');
|
|
20
|
+
require('../../chunk-IIAQISBG.cjs');
|
|
21
|
+
require('../../chunk-TK44VBIE.cjs');
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.Rating = _chunkXWIPLZTDcjs.Rating; exports.RatingIcon = _chunkXWIPLZTDcjs.RatingIcon; exports.RatingItem = _chunkXWIPLZTDcjs.RatingItem; exports.RatingRoot = _chunkXWIPLZTDcjs.RatingRoot; exports.ratingRecipe = _chunkXWIPLZTDcjs.ratingRecipe; exports.useRating = _chunkXWIPLZTDcjs.useRating; exports.useRatingLayer = _chunkXWIPLZTDcjs.useRatingLayer;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { RatingIcon } from './rating-icon';
|
|
2
|
+
export declare const Rating: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
variant?: import("./rating.type").RatingVariant;
|
|
4
|
+
size?: import("./rating.type").RatingSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
max?: number;
|
|
7
|
+
value?: number;
|
|
8
|
+
defaultValue?: number;
|
|
9
|
+
onValueChange?: (value: number) => void;
|
|
10
|
+
precision?: number;
|
|
11
|
+
isReadOnly?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
|
+
} & Omit<import("react-native").ViewProps, "style" | "children"> & Omit<import("../..").ViewStyleProps, keyof {
|
|
16
|
+
variant?: import("./rating.type").RatingVariant;
|
|
17
|
+
size?: import("./rating.type").RatingSize;
|
|
18
|
+
color?: string;
|
|
19
|
+
max?: number;
|
|
20
|
+
value?: number;
|
|
21
|
+
defaultValue?: number;
|
|
22
|
+
onValueChange?: (value: number) => void;
|
|
23
|
+
precision?: number;
|
|
24
|
+
isReadOnly?: boolean;
|
|
25
|
+
isDisabled?: boolean;
|
|
26
|
+
children?: import("react").ReactNode;
|
|
27
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
28
|
+
}> & import("react").RefAttributes<import("react-native").View>> & {
|
|
29
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("../..").PressableFeedbackProps, "isPressed" | "style" | "children" | "layout"> & {
|
|
30
|
+
index: number;
|
|
31
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>);
|
|
32
|
+
children?: import("react").ReactNode;
|
|
33
|
+
} & import("react").RefAttributes<import("react-native").View>>;
|
|
34
|
+
Icon: typeof RatingIcon;
|
|
35
|
+
};
|
|
36
|
+
export { RatingRoot } from './rating';
|
|
37
|
+
export { RatingIcon } from './rating-icon';
|
|
38
|
+
export { RatingItem } from './rating-item';
|
|
39
|
+
export { useRating, useRatingLayer } from './rating.context';
|
|
40
|
+
export { ratingRecipe } from './rating.recipe';
|
|
41
|
+
export type { RatingContextValue, RatingIconProps, RatingItemProps, RatingLayerContextValue, RatingProps, RatingSize, RatingSlot, RatingTone, RatingVariant, } from './rating.type';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { RatingIcon } from './rating-icon';
|
|
2
|
+
export declare const Rating: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
variant?: import("./rating.type").RatingVariant;
|
|
4
|
+
size?: import("./rating.type").RatingSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
max?: number;
|
|
7
|
+
value?: number;
|
|
8
|
+
defaultValue?: number;
|
|
9
|
+
onValueChange?: (value: number) => void;
|
|
10
|
+
precision?: number;
|
|
11
|
+
isReadOnly?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
|
+
} & Omit<import("react-native").ViewProps, "style" | "children"> & Omit<import("../..").ViewStyleProps, keyof {
|
|
16
|
+
variant?: import("./rating.type").RatingVariant;
|
|
17
|
+
size?: import("./rating.type").RatingSize;
|
|
18
|
+
color?: string;
|
|
19
|
+
max?: number;
|
|
20
|
+
value?: number;
|
|
21
|
+
defaultValue?: number;
|
|
22
|
+
onValueChange?: (value: number) => void;
|
|
23
|
+
precision?: number;
|
|
24
|
+
isReadOnly?: boolean;
|
|
25
|
+
isDisabled?: boolean;
|
|
26
|
+
children?: import("react").ReactNode;
|
|
27
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
28
|
+
}> & import("react").RefAttributes<import("react-native").View>> & {
|
|
29
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("../..").PressableFeedbackProps, "isPressed" | "style" | "children" | "layout"> & {
|
|
30
|
+
index: number;
|
|
31
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>);
|
|
32
|
+
children?: import("react").ReactNode;
|
|
33
|
+
} & import("react").RefAttributes<import("react-native").View>>;
|
|
34
|
+
Icon: typeof RatingIcon;
|
|
35
|
+
};
|
|
36
|
+
export { RatingRoot } from './rating';
|
|
37
|
+
export { RatingIcon } from './rating-icon';
|
|
38
|
+
export { RatingItem } from './rating-item';
|
|
39
|
+
export { useRating, useRatingLayer } from './rating.context';
|
|
40
|
+
export { ratingRecipe } from './rating.recipe';
|
|
41
|
+
export type { RatingContextValue, RatingIconProps, RatingItemProps, RatingLayerContextValue, RatingProps, RatingSize, RatingSlot, RatingTone, RatingVariant, } from './rating.type';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Rating,
|
|
3
|
+
RatingIcon,
|
|
4
|
+
RatingItem,
|
|
5
|
+
RatingRoot,
|
|
6
|
+
ratingRecipe,
|
|
7
|
+
useRating,
|
|
8
|
+
useRatingLayer
|
|
9
|
+
} from "../../chunk-7NQL5DXY.js";
|
|
10
|
+
import "../../chunk-F6W3JQ7K.js";
|
|
11
|
+
import "../../chunk-2AFA5HA2.js";
|
|
12
|
+
import "../../chunk-423RQBOX.js";
|
|
13
|
+
import "../../chunk-JN6IRT2M.js";
|
|
14
|
+
import "../../chunk-WFZDAXDI.js";
|
|
15
|
+
import "../../chunk-DKVXTMIJ.js";
|
|
16
|
+
import "../../chunk-3Q42X6EQ.js";
|
|
17
|
+
import "../../chunk-TTZOIXKE.js";
|
|
18
|
+
import "../../chunk-36PRYGAM.js";
|
|
19
|
+
import "../../chunk-EGLLDKN6.js";
|
|
20
|
+
import "../../chunk-Z6JBWRPL.js";
|
|
21
|
+
import "../../chunk-M63GFNKV.js";
|
|
22
|
+
export {
|
|
23
|
+
Rating,
|
|
24
|
+
RatingIcon,
|
|
25
|
+
RatingItem,
|
|
26
|
+
RatingRoot,
|
|
27
|
+
ratingRecipe,
|
|
28
|
+
useRating,
|
|
29
|
+
useRatingLayer
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RatingIconProps } from './rating.type';
|
|
2
|
+
/**
|
|
3
|
+
* The mark, as a glyph of your own — a heart, a flame, a paw.
|
|
4
|
+
*
|
|
5
|
+
* Written **once** and drawn twice, because a mark is the same glyph in two layers: the
|
|
6
|
+
* neutral ground, and the filled colour clipped to the fraction given. Which of the two this
|
|
7
|
+
* instance is in comes from the layer rather than from a prop, so the caller never has to
|
|
8
|
+
* keep two copies in step.
|
|
9
|
+
*
|
|
10
|
+
* An explicit `color` wins, as it does everywhere `Icon` appears — which is also how a
|
|
11
|
+
* caller opts out of the two-layer colouring entirely.
|
|
12
|
+
*/
|
|
13
|
+
export declare function RatingIcon({ size, color, ...rest }: RatingIconProps): import("react").JSX.Element;
|
|
14
|
+
export declare namespace RatingIcon {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RatingIconProps } from './rating.type';
|
|
2
|
+
/**
|
|
3
|
+
* The mark, as a glyph of your own — a heart, a flame, a paw.
|
|
4
|
+
*
|
|
5
|
+
* Written **once** and drawn twice, because a mark is the same glyph in two layers: the
|
|
6
|
+
* neutral ground, and the filled colour clipped to the fraction given. Which of the two this
|
|
7
|
+
* instance is in comes from the layer rather than from a prop, so the caller never has to
|
|
8
|
+
* keep two copies in step.
|
|
9
|
+
*
|
|
10
|
+
* An explicit `color` wins, as it does everywhere `Icon` appears — which is also how a
|
|
11
|
+
* caller opts out of the two-layer colouring entirely.
|
|
12
|
+
*/
|
|
13
|
+
export declare function RatingIcon({ size, color, ...rest }: RatingIconProps): import("react").JSX.Element;
|
|
14
|
+
export declare namespace RatingIcon {
|
|
15
|
+
var displayName: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* One mark.
|
|
4
|
+
*
|
|
5
|
+
* **It is the same glyph twice.** The neutral one sits in the flow and decides how wide the
|
|
6
|
+
* mark is; the filled one is pinned over it inside a clip whose width is the fraction given,
|
|
7
|
+
* so a value of 4.3 shows three tenths of the fifth mark. That fraction is what lets one
|
|
8
|
+
* component be both an input and a display of an average — a boolean per mark would have to
|
|
9
|
+
* round 4.3 to 4 and lose the thing the average was for.
|
|
10
|
+
*
|
|
11
|
+
* **The press reads where it landed.** `locationX` over the mark's width is the fraction the
|
|
12
|
+
* finger meant, and `snapValue` rounds it up to the nearest `precision` step: a tap anywhere
|
|
13
|
+
* in the first mark is one star rather than zero, and with `precision={0.5}` the left half of
|
|
14
|
+
* the third is 2.5 while the right half is 3.
|
|
15
|
+
*
|
|
16
|
+
* A mark owns its own press state, which is why the root publishes resolved styles and not
|
|
17
|
+
* the recipe (R5).
|
|
18
|
+
*/
|
|
19
|
+
export declare const RatingItem: import("react").ForwardRefExoticComponent<Omit<import("../..").PressableFeedbackProps, "isPressed" | "style" | "children" | "layout"> & {
|
|
20
|
+
index: number;
|
|
21
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>);
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
} & import("react").RefAttributes<View>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* One mark.
|
|
4
|
+
*
|
|
5
|
+
* **It is the same glyph twice.** The neutral one sits in the flow and decides how wide the
|
|
6
|
+
* mark is; the filled one is pinned over it inside a clip whose width is the fraction given,
|
|
7
|
+
* so a value of 4.3 shows three tenths of the fifth mark. That fraction is what lets one
|
|
8
|
+
* component be both an input and a display of an average — a boolean per mark would have to
|
|
9
|
+
* round 4.3 to 4 and lose the thing the average was for.
|
|
10
|
+
*
|
|
11
|
+
* **The press reads where it landed.** `locationX` over the mark's width is the fraction the
|
|
12
|
+
* finger meant, and `snapValue` rounds it up to the nearest `precision` step: a tap anywhere
|
|
13
|
+
* in the first mark is one star rather than zero, and with `precision={0.5}` the left half of
|
|
14
|
+
* the third is 2.5 while the right half is 3.
|
|
15
|
+
*
|
|
16
|
+
* A mark owns its own press state, which is why the root publishes resolved styles and not
|
|
17
|
+
* the recipe (R5).
|
|
18
|
+
*/
|
|
19
|
+
export declare const RatingItem: import("react").ForwardRefExoticComponent<Omit<import("../..").PressableFeedbackProps, "isPressed" | "style" | "children" | "layout"> & {
|
|
20
|
+
index: number;
|
|
21
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>);
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
} & import("react").RefAttributes<View>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The mark a `Rating` draws when the caller composes nothing.
|
|
3
|
+
*
|
|
4
|
+
* **`★` in both layers**, one in the neutral ground and one in the filled colour — never a
|
|
5
|
+
* hollow `☆` under a solid one. Two reasons, and the second is the load-bearing one: a solid
|
|
6
|
+
* pair is what every store's rating looks like, and `☆` (U+2606) is not in Android's system
|
|
7
|
+
* face, so the empty half of the row would render as a box on the platform where most of it
|
|
8
|
+
* is read. `★` (U+2605) is present on both.
|
|
9
|
+
*
|
|
10
|
+
* A character rather than an SVG, so the component needs no `react-native-svg` for the one
|
|
11
|
+
* glyph it draws itself. `Rating.Icon` replaces it with anything.
|
|
12
|
+
*
|
|
13
|
+
* **Internal** — the two layers are the `Rating.Item`'s arrangement, and a caller reaching
|
|
14
|
+
* for this directly would be reaching past the thing that positions it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function RatingStar(): import("react").JSX.Element;
|
|
17
|
+
export declare namespace RatingStar {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The mark a `Rating` draws when the caller composes nothing.
|
|
3
|
+
*
|
|
4
|
+
* **`★` in both layers**, one in the neutral ground and one in the filled colour — never a
|
|
5
|
+
* hollow `☆` under a solid one. Two reasons, and the second is the load-bearing one: a solid
|
|
6
|
+
* pair is what every store's rating looks like, and `☆` (U+2606) is not in Android's system
|
|
7
|
+
* face, so the empty half of the row would render as a box on the platform where most of it
|
|
8
|
+
* is read. `★` (U+2605) is present on both.
|
|
9
|
+
*
|
|
10
|
+
* A character rather than an SVG, so the component needs no `react-native-svg` for the one
|
|
11
|
+
* glyph it draws itself. `Rating.Icon` replaces it with anything.
|
|
12
|
+
*
|
|
13
|
+
* **Internal** — the two layers are the `Rating.Item`'s arrangement, and a caller reaching
|
|
14
|
+
* for this directly would be reaching past the thing that positions it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function RatingStar(): import("react").JSX.Element;
|
|
17
|
+
export declare namespace RatingStar {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RatingContextValue, RatingLayerContextValue } from './rating.type';
|
|
2
|
+
/**
|
|
3
|
+
* R10 — `useRating` is exported so a control beside the row can read or set the value, and
|
|
4
|
+
* so a caller can write their own mark against the same `select` the built-in ones call.
|
|
5
|
+
* Outside a `<Rating>` it throws by name.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RatingProvider: import("react").Provider<RatingContextValue | null>, useRating: () => RatingContextValue;
|
|
8
|
+
/**
|
|
9
|
+
* Which of a mark's two layers a glyph is drawn in.
|
|
10
|
+
*
|
|
11
|
+
* It exists so `Rating.Icon` needs no prop to know its colour: a mark is the same glyph
|
|
12
|
+
* twice, once in the neutral ground and once in the filled colour clipped to the fraction
|
|
13
|
+
* given, and the caller writes that glyph **once**. A `tone` prop would have made them write
|
|
14
|
+
* it twice and keep the two in step.
|
|
15
|
+
*/
|
|
16
|
+
export declare const RatingLayerProvider: import("react").Provider<RatingLayerContextValue | null>, useRatingLayer: () => RatingLayerContextValue;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RatingContextValue, RatingLayerContextValue } from './rating.type';
|
|
2
|
+
/**
|
|
3
|
+
* R10 — `useRating` is exported so a control beside the row can read or set the value, and
|
|
4
|
+
* so a caller can write their own mark against the same `select` the built-in ones call.
|
|
5
|
+
* Outside a `<Rating>` it throws by name.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RatingProvider: import("react").Provider<RatingContextValue | null>, useRating: () => RatingContextValue;
|
|
8
|
+
/**
|
|
9
|
+
* Which of a mark's two layers a glyph is drawn in.
|
|
10
|
+
*
|
|
11
|
+
* It exists so `Rating.Icon` needs no prop to know its colour: a mark is the same glyph
|
|
12
|
+
* twice, once in the neutral ground and once in the filled colour clipped to the fraction
|
|
13
|
+
* given, and the caller writes that glyph **once**. A `tone` prop would have made them write
|
|
14
|
+
* it twice and keep the two in step.
|
|
15
|
+
*/
|
|
16
|
+
export declare const RatingLayerProvider: import("react").Provider<RatingLayerContextValue | null>, useRatingLayer: () => RatingLayerContextValue;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* A row of marks, given or shown.
|
|
4
|
+
*
|
|
5
|
+
* ```tsx
|
|
6
|
+
* <Rating value={score} onValueChange={setScore} />
|
|
7
|
+
*
|
|
8
|
+
* <Rating value={4.3} isReadOnly />
|
|
9
|
+
*
|
|
10
|
+
* <Rating value={score} onValueChange={setScore} precision={0.5}>
|
|
11
|
+
* <Rating.Icon as={HeartIcon} />
|
|
12
|
+
* </Rating>
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* **One component for the input and the average.** The fill of each mark is a *fraction*,
|
|
16
|
+
* so 4.3 shows three tenths of the fifth mark — a boolean per mark would have had to round
|
|
17
|
+
* it, and rounding is exactly what an average must not do. `precision` governs input only.
|
|
18
|
+
*
|
|
19
|
+
* **The row is data, not markup.** `max` says how many marks there are, so the root renders
|
|
20
|
+
* them; five hand-written marks is a row that disagrees with the prop the moment either
|
|
21
|
+
* changes. `children` is therefore the **glyph**, written once and drawn once per mark.
|
|
22
|
+
*
|
|
23
|
+
* **There is no label.** A "4,3 sur 5" beside the row is a `Typography` in a `Row` — the
|
|
24
|
+
* screen's, not the rating's (R1), and the moment it were a slot it would need an alignment,
|
|
25
|
+
* a format and a language.
|
|
26
|
+
*
|
|
27
|
+
* **There is no `isClearable`**, deliberately. Tapping the mark you already chose to go back
|
|
28
|
+
* to nothing is a gesture half the world's rating inputs have and half do not, so it is not
|
|
29
|
+
* a default either way; a caller who wants it holds the value and compares
|
|
30
|
+
* (`onValueChange={next => setScore(next === score ? 0 : next)}`), which is three words and
|
|
31
|
+
* says which behaviour they picked.
|
|
32
|
+
*/
|
|
33
|
+
export declare const RatingRoot: import("react").ForwardRefExoticComponent<{
|
|
34
|
+
variant?: import("./rating.type").RatingVariant;
|
|
35
|
+
size?: import("./rating.type").RatingSize;
|
|
36
|
+
color?: string;
|
|
37
|
+
max?: number;
|
|
38
|
+
value?: number;
|
|
39
|
+
defaultValue?: number;
|
|
40
|
+
onValueChange?: (value: number) => void;
|
|
41
|
+
precision?: number;
|
|
42
|
+
isReadOnly?: boolean;
|
|
43
|
+
isDisabled?: boolean;
|
|
44
|
+
children?: import("react").ReactNode;
|
|
45
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
46
|
+
} & Omit<import("react-native").ViewProps, "style" | "children"> & Omit<import("../..").ViewStyleProps, keyof {
|
|
47
|
+
variant?: import("./rating.type").RatingVariant;
|
|
48
|
+
size?: import("./rating.type").RatingSize;
|
|
49
|
+
color?: string;
|
|
50
|
+
max?: number;
|
|
51
|
+
value?: number;
|
|
52
|
+
defaultValue?: number;
|
|
53
|
+
onValueChange?: (value: number) => void;
|
|
54
|
+
precision?: number;
|
|
55
|
+
isReadOnly?: boolean;
|
|
56
|
+
isDisabled?: boolean;
|
|
57
|
+
children?: import("react").ReactNode;
|
|
58
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
59
|
+
}> & import("react").RefAttributes<View>>;
|