@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
|
@@ -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>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SlotStyles } from '../../system/recipe';
|
|
2
|
+
import type { XAUITheme } from '../../theme/theme.type';
|
|
3
|
+
import type { RatingSlot, RatingVariant } from './rating.type';
|
|
4
|
+
export declare const ratingRecipe: import("../..").Recipe<"root" | "glyph" | "item" | "glyphFill", RatingVariant, {
|
|
5
|
+
readonly size: {
|
|
6
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
7
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
8
|
+
readonly md: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
9
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SlotStyles } from '../../system/recipe';
|
|
2
|
+
import type { XAUITheme } from '../../theme/theme.type';
|
|
3
|
+
import type { RatingSlot, RatingVariant } from './rating.type';
|
|
4
|
+
export declare const ratingRecipe: import("../..").Recipe<"root" | "glyph" | "item" | "glyphFill", RatingVariant, {
|
|
5
|
+
readonly size: {
|
|
6
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
7
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
8
|
+
readonly md: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
9
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<RatingSlot>;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The clip the filled layer is drawn inside.
|
|
3
|
+
*
|
|
4
|
+
* **No token in it**, which is why it is here rather than in the recipe: this is geometry.
|
|
5
|
+
* The layer is pinned to the mark's leading edge and its width is the fraction that is
|
|
6
|
+
* filled, so `overflow: 'hidden'` cuts the glyph part-way through and a value of 4.3 shows
|
|
7
|
+
* three tenths of the fifth mark.
|
|
8
|
+
*
|
|
9
|
+
* `start` and `top` rather than `left` (R13): a right-to-left layout fills from the other
|
|
10
|
+
* edge, and the logical key is what makes that happen with no second branch.
|
|
11
|
+
*
|
|
12
|
+
* The glyph inside it must **not** be allowed to shrink to the clip's width, or the
|
|
13
|
+
* character would re-wrap instead of being cut — which is what the mark's own width on the
|
|
14
|
+
* inner node is for.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ratingSheet: {
|
|
17
|
+
clip: {
|
|
18
|
+
position: "absolute";
|
|
19
|
+
top: number;
|
|
20
|
+
start: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
overflow: "hidden";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The clip the filled layer is drawn inside.
|
|
3
|
+
*
|
|
4
|
+
* **No token in it**, which is why it is here rather than in the recipe: this is geometry.
|
|
5
|
+
* The layer is pinned to the mark's leading edge and its width is the fraction that is
|
|
6
|
+
* filled, so `overflow: 'hidden'` cuts the glyph part-way through and a value of 4.3 shows
|
|
7
|
+
* three tenths of the fifth mark.
|
|
8
|
+
*
|
|
9
|
+
* `start` and `top` rather than `left` (R13): a right-to-left layout fills from the other
|
|
10
|
+
* edge, and the logical key is what makes that happen with no second branch.
|
|
11
|
+
*
|
|
12
|
+
* The glyph inside it must **not** be allowed to shrink to the clip's width, or the
|
|
13
|
+
* character would re-wrap instead of being cut — which is what the mark's own width on the
|
|
14
|
+
* inner node is for.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ratingSheet: {
|
|
17
|
+
clip: {
|
|
18
|
+
position: "absolute";
|
|
19
|
+
top: number;
|
|
20
|
+
start: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
overflow: "hidden";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PressableStateCallbackType, StyleProp, TextStyle, ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
import type { IconContextValue, IconProps } from '../../system/icon';
|
|
4
|
+
import type { PressableFeedbackProps } from '../../system/pressable-feedback';
|
|
5
|
+
import type { ViewStyleProps } from '../../system/style-props';
|
|
6
|
+
import type { Size } from '../../theme/theme.type';
|
|
7
|
+
export type RatingSlot = 'root' | 'item' | 'glyph' | 'glyphFill';
|
|
8
|
+
/**
|
|
9
|
+
* Three, naming **which colour a filled mark takes** — the only thing this component paints
|
|
10
|
+
* that is a decision. The unfilled marks keep a neutral fill, which is the ground the filled
|
|
11
|
+
* ones are read against.
|
|
12
|
+
*
|
|
13
|
+
* - `primary` — the accent.
|
|
14
|
+
* - `secondary` — the neutral foreground.
|
|
15
|
+
* - `tertiary` — the page's own foreground, for a rating on a coloured card.
|
|
16
|
+
*
|
|
17
|
+
* The amber every store uses is not a token here, because it is not a role the theme has an
|
|
18
|
+
* opinion about — it is `color="#f59e0b"`, which is what a raw tint is for (R7). `warning`
|
|
19
|
+
* is deliberately not offered in its place: it is a status, and a four-star review is not a
|
|
20
|
+
* warning.
|
|
21
|
+
*/
|
|
22
|
+
export type RatingVariant = 'primary' | 'secondary' | 'tertiary';
|
|
23
|
+
export type RatingSize = Size;
|
|
24
|
+
/** Which layer of a mark a glyph is drawn in. */
|
|
25
|
+
export type RatingTone = 'empty' | 'fill';
|
|
26
|
+
type RatingOwnProps = {
|
|
27
|
+
variant?: RatingVariant;
|
|
28
|
+
/** The mark's size and the gap between marks. */
|
|
29
|
+
size?: RatingSize;
|
|
30
|
+
/** A raw tint (R7) for the filled marks. The unfilled ones keep their neutral ground. */
|
|
31
|
+
color?: string;
|
|
32
|
+
/** How many marks. @default 5 */
|
|
33
|
+
max?: number;
|
|
34
|
+
/** Controlled. Leave it out and the rating keeps the value itself. */
|
|
35
|
+
value?: number;
|
|
36
|
+
/** The starting value when uncontrolled. @default 0 */
|
|
37
|
+
defaultValue?: number;
|
|
38
|
+
onValueChange?: (value: number) => void;
|
|
39
|
+
/**
|
|
40
|
+
* The step a press lands on. `1` is whole marks, `0.5` halves.
|
|
41
|
+
*
|
|
42
|
+
* It governs **input only** — a `value` of any precision displays as it is, so an average
|
|
43
|
+
* of 4.3 fills the fifth mark three tenths of the way whatever this says.
|
|
44
|
+
*
|
|
45
|
+
* @default 1
|
|
46
|
+
*/
|
|
47
|
+
precision?: number;
|
|
48
|
+
/**
|
|
49
|
+
* A display rather than a control: the marks stop responding and announce themselves as
|
|
50
|
+
* an image showing a value, not as buttons.
|
|
51
|
+
*/
|
|
52
|
+
isReadOnly?: boolean;
|
|
53
|
+
isDisabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* **The glyph**, drawn once per mark, in each of the two layers a mark has:
|
|
56
|
+
*
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <Rating max={5} value={value} onValueChange={setValue}>
|
|
59
|
+
* <Rating.Icon as={HeartIcon} />
|
|
60
|
+
* </Rating>
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* One element rather than a row of them, because the number of marks is `max` — data, not
|
|
64
|
+
* markup — and five hand-written marks is a row that disagrees with the prop the moment
|
|
65
|
+
* either changes. Left out, the mark is a star.
|
|
66
|
+
*
|
|
67
|
+
* A label beside the row is **not** in here: that is a `Typography` in a `Row`, and it is
|
|
68
|
+
* the screen's rather than the rating's (R1).
|
|
69
|
+
*/
|
|
70
|
+
children?: ReactNode;
|
|
71
|
+
style?: StyleProp<ViewStyle>;
|
|
72
|
+
};
|
|
73
|
+
/** R14 — it renders a `View`, so it carries that node's style keys. */
|
|
74
|
+
export type RatingProps = RatingOwnProps & Omit<ViewProps, 'style' | 'children'> & Omit<ViewStyleProps, keyof RatingOwnProps>;
|
|
75
|
+
export type RatingItemProps = Omit<PressableFeedbackProps, 'isPressed' | 'layout' | 'style' | 'children'> & {
|
|
76
|
+
/** Which mark this is, counted from zero. */
|
|
77
|
+
index: number;
|
|
78
|
+
/** R9 — `Pressable`'s function form as much as an object or an array. */
|
|
79
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
|
|
80
|
+
children?: ReactNode;
|
|
81
|
+
};
|
|
82
|
+
export type RatingIconProps = IconProps;
|
|
83
|
+
/** R5 — resolved styles, not props for a slot to resolve a second time. */
|
|
84
|
+
export type RatingContextValue = {
|
|
85
|
+
itemStyle: StyleProp<ViewStyle>;
|
|
86
|
+
glyphStyle: StyleProp<TextStyle>;
|
|
87
|
+
glyphFillStyle: StyleProp<TextStyle>;
|
|
88
|
+
/**
|
|
89
|
+
* Values, not a style: `Icon` hands `size` and `color` to a third-party component, so the
|
|
90
|
+
* root flattens each layer once here rather than in every glyph it contains.
|
|
91
|
+
*/
|
|
92
|
+
icon: IconContextValue;
|
|
93
|
+
iconFill: IconContextValue;
|
|
94
|
+
/** How wide one mark is, which is what the fill layer is clipped against. */
|
|
95
|
+
markSize: number;
|
|
96
|
+
value: number;
|
|
97
|
+
max: number;
|
|
98
|
+
precision: number;
|
|
99
|
+
/** What a mark calls with the fraction of itself that was pressed. */
|
|
100
|
+
select: (index: number, ratio: number) => void;
|
|
101
|
+
isReadOnly: boolean;
|
|
102
|
+
isDisabled: boolean;
|
|
103
|
+
};
|
|
104
|
+
/** Which layer a glyph is in, so it needs no prop to know which colour it takes. */
|
|
105
|
+
export type RatingLayerContextValue = {
|
|
106
|
+
tone: RatingTone;
|
|
107
|
+
};
|
|
108
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PressableStateCallbackType, StyleProp, TextStyle, ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
import type { IconContextValue, IconProps } from '../../system/icon';
|
|
4
|
+
import type { PressableFeedbackProps } from '../../system/pressable-feedback';
|
|
5
|
+
import type { ViewStyleProps } from '../../system/style-props';
|
|
6
|
+
import type { Size } from '../../theme/theme.type';
|
|
7
|
+
export type RatingSlot = 'root' | 'item' | 'glyph' | 'glyphFill';
|
|
8
|
+
/**
|
|
9
|
+
* Three, naming **which colour a filled mark takes** — the only thing this component paints
|
|
10
|
+
* that is a decision. The unfilled marks keep a neutral fill, which is the ground the filled
|
|
11
|
+
* ones are read against.
|
|
12
|
+
*
|
|
13
|
+
* - `primary` — the accent.
|
|
14
|
+
* - `secondary` — the neutral foreground.
|
|
15
|
+
* - `tertiary` — the page's own foreground, for a rating on a coloured card.
|
|
16
|
+
*
|
|
17
|
+
* The amber every store uses is not a token here, because it is not a role the theme has an
|
|
18
|
+
* opinion about — it is `color="#f59e0b"`, which is what a raw tint is for (R7). `warning`
|
|
19
|
+
* is deliberately not offered in its place: it is a status, and a four-star review is not a
|
|
20
|
+
* warning.
|
|
21
|
+
*/
|
|
22
|
+
export type RatingVariant = 'primary' | 'secondary' | 'tertiary';
|
|
23
|
+
export type RatingSize = Size;
|
|
24
|
+
/** Which layer of a mark a glyph is drawn in. */
|
|
25
|
+
export type RatingTone = 'empty' | 'fill';
|
|
26
|
+
type RatingOwnProps = {
|
|
27
|
+
variant?: RatingVariant;
|
|
28
|
+
/** The mark's size and the gap between marks. */
|
|
29
|
+
size?: RatingSize;
|
|
30
|
+
/** A raw tint (R7) for the filled marks. The unfilled ones keep their neutral ground. */
|
|
31
|
+
color?: string;
|
|
32
|
+
/** How many marks. @default 5 */
|
|
33
|
+
max?: number;
|
|
34
|
+
/** Controlled. Leave it out and the rating keeps the value itself. */
|
|
35
|
+
value?: number;
|
|
36
|
+
/** The starting value when uncontrolled. @default 0 */
|
|
37
|
+
defaultValue?: number;
|
|
38
|
+
onValueChange?: (value: number) => void;
|
|
39
|
+
/**
|
|
40
|
+
* The step a press lands on. `1` is whole marks, `0.5` halves.
|
|
41
|
+
*
|
|
42
|
+
* It governs **input only** — a `value` of any precision displays as it is, so an average
|
|
43
|
+
* of 4.3 fills the fifth mark three tenths of the way whatever this says.
|
|
44
|
+
*
|
|
45
|
+
* @default 1
|
|
46
|
+
*/
|
|
47
|
+
precision?: number;
|
|
48
|
+
/**
|
|
49
|
+
* A display rather than a control: the marks stop responding and announce themselves as
|
|
50
|
+
* an image showing a value, not as buttons.
|
|
51
|
+
*/
|
|
52
|
+
isReadOnly?: boolean;
|
|
53
|
+
isDisabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* **The glyph**, drawn once per mark, in each of the two layers a mark has:
|
|
56
|
+
*
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <Rating max={5} value={value} onValueChange={setValue}>
|
|
59
|
+
* <Rating.Icon as={HeartIcon} />
|
|
60
|
+
* </Rating>
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* One element rather than a row of them, because the number of marks is `max` — data, not
|
|
64
|
+
* markup — and five hand-written marks is a row that disagrees with the prop the moment
|
|
65
|
+
* either changes. Left out, the mark is a star.
|
|
66
|
+
*
|
|
67
|
+
* A label beside the row is **not** in here: that is a `Typography` in a `Row`, and it is
|
|
68
|
+
* the screen's rather than the rating's (R1).
|
|
69
|
+
*/
|
|
70
|
+
children?: ReactNode;
|
|
71
|
+
style?: StyleProp<ViewStyle>;
|
|
72
|
+
};
|
|
73
|
+
/** R14 — it renders a `View`, so it carries that node's style keys. */
|
|
74
|
+
export type RatingProps = RatingOwnProps & Omit<ViewProps, 'style' | 'children'> & Omit<ViewStyleProps, keyof RatingOwnProps>;
|
|
75
|
+
export type RatingItemProps = Omit<PressableFeedbackProps, 'isPressed' | 'layout' | 'style' | 'children'> & {
|
|
76
|
+
/** Which mark this is, counted from zero. */
|
|
77
|
+
index: number;
|
|
78
|
+
/** R9 — `Pressable`'s function form as much as an object or an array. */
|
|
79
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
|
|
80
|
+
children?: ReactNode;
|
|
81
|
+
};
|
|
82
|
+
export type RatingIconProps = IconProps;
|
|
83
|
+
/** R5 — resolved styles, not props for a slot to resolve a second time. */
|
|
84
|
+
export type RatingContextValue = {
|
|
85
|
+
itemStyle: StyleProp<ViewStyle>;
|
|
86
|
+
glyphStyle: StyleProp<TextStyle>;
|
|
87
|
+
glyphFillStyle: StyleProp<TextStyle>;
|
|
88
|
+
/**
|
|
89
|
+
* Values, not a style: `Icon` hands `size` and `color` to a third-party component, so the
|
|
90
|
+
* root flattens each layer once here rather than in every glyph it contains.
|
|
91
|
+
*/
|
|
92
|
+
icon: IconContextValue;
|
|
93
|
+
iconFill: IconContextValue;
|
|
94
|
+
/** How wide one mark is, which is what the fill layer is clipped against. */
|
|
95
|
+
markSize: number;
|
|
96
|
+
value: number;
|
|
97
|
+
max: number;
|
|
98
|
+
precision: number;
|
|
99
|
+
/** What a mark calls with the fraction of itself that was pressed. */
|
|
100
|
+
select: (index: number, ratio: number) => void;
|
|
101
|
+
isReadOnly: boolean;
|
|
102
|
+
isDisabled: boolean;
|
|
103
|
+
};
|
|
104
|
+
/** Which layer a glyph is in, so it needs no prop to know which colour it takes. */
|
|
105
|
+
export type RatingLayerContextValue = {
|
|
106
|
+
tone: RatingTone;
|
|
107
|
+
};
|
|
108
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How much of the mark at `index` is filled, from 0 to 1.
|
|
3
|
+
*
|
|
4
|
+
* A fraction rather than a boolean, and that is what lets one component be both halves of
|
|
5
|
+
* the job: an average of 4.3 fills the fifth mark three tenths of the way, where a boolean
|
|
6
|
+
* would have to round it to 4 and lose the thing the average was for.
|
|
7
|
+
*/
|
|
8
|
+
export declare function fillFor(value: number, index: number): number;
|
|
9
|
+
export type SnapOptions = {
|
|
10
|
+
/** Where the press landed, in marks — `2.34` is a third of the way into the third. */
|
|
11
|
+
raw: number;
|
|
12
|
+
/** The step a press lands on. `1` is whole marks, `0.5` halves. */
|
|
13
|
+
precision: number;
|
|
14
|
+
max: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The value a press at `raw` marks means.
|
|
18
|
+
*
|
|
19
|
+
* It rounds **up**, which is the only rounding that matches what a finger meant: a tap
|
|
20
|
+
* anywhere in the first mark is one star, not zero, and with `precision={0.5}` a tap on the
|
|
21
|
+
* left half of the third is 2.5 while the right half is 3. Rounding to nearest would make
|
|
22
|
+
* the first sliver of every mark select the one before it, so the leftmost strip of the row
|
|
23
|
+
* would silently rate zero.
|
|
24
|
+
*
|
|
25
|
+
* Clamped into `[precision, max]`: the smallest thing a press can express is one step, and
|
|
26
|
+
* no press can exceed the row it landed in.
|
|
27
|
+
*/
|
|
28
|
+
export declare function snapValue({ raw, precision, max }: SnapOptions): number;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How much of the mark at `index` is filled, from 0 to 1.
|
|
3
|
+
*
|
|
4
|
+
* A fraction rather than a boolean, and that is what lets one component be both halves of
|
|
5
|
+
* the job: an average of 4.3 fills the fifth mark three tenths of the way, where a boolean
|
|
6
|
+
* would have to round it to 4 and lose the thing the average was for.
|
|
7
|
+
*/
|
|
8
|
+
export declare function fillFor(value: number, index: number): number;
|
|
9
|
+
export type SnapOptions = {
|
|
10
|
+
/** Where the press landed, in marks — `2.34` is a third of the way into the third. */
|
|
11
|
+
raw: number;
|
|
12
|
+
/** The step a press lands on. `1` is whole marks, `0.5` halves. */
|
|
13
|
+
precision: number;
|
|
14
|
+
max: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* The value a press at `raw` marks means.
|
|
18
|
+
*
|
|
19
|
+
* It rounds **up**, which is the only rounding that matches what a finger meant: a tap
|
|
20
|
+
* anywhere in the first mark is one star, not zero, and with `precision={0.5}` a tap on the
|
|
21
|
+
* left half of the third is 2.5 while the right half is 3. Rounding to nearest would make
|
|
22
|
+
* the first sliver of every mark select the one before it, so the leftmost strip of the row
|
|
23
|
+
* would silently rate zero.
|
|
24
|
+
*
|
|
25
|
+
* Clamped into `[precision, max]`: the smallest thing a press can express is one step, and
|
|
26
|
+
* no press can exceed the row it landed in.
|
|
27
|
+
*/
|
|
28
|
+
export declare function snapValue({ raw, precision, max }: SnapOptions): number;
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkPAQD6UUFcjs = require('../../chunk-PAQD6UUF.cjs');
|
|
11
11
|
require('../../chunk-NADCILBL.cjs');
|
|
12
12
|
require('../../chunk-AXKDHX5V.cjs');
|
|
13
13
|
require('../../chunk-WLWZG2PA.cjs');
|
|
14
|
-
require('../../chunk-
|
|
15
|
-
require('../../chunk-
|
|
14
|
+
require('../../chunk-ZE4IHUUO.cjs');
|
|
15
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
16
16
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
17
17
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
18
18
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -32,4 +32,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.SearchField =
|
|
35
|
+
exports.SearchField = _chunkPAQD6UUFcjs.SearchField; exports.SearchFieldClear = _chunkPAQD6UUFcjs.SearchFieldClear; exports.SearchFieldField = _chunkPAQD6UUFcjs.SearchFieldField; exports.SearchFieldIcon = _chunkPAQD6UUFcjs.SearchFieldIcon; exports.SearchFieldRoot = _chunkPAQD6UUFcjs.SearchFieldRoot; exports.SearchIcon = _chunkPAQD6UUFcjs.SearchIcon; exports.searchFieldRecipe = _chunkPAQD6UUFcjs.searchFieldRecipe; exports.useSearchField = _chunkPAQD6UUFcjs.useSearchField;
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
SearchIcon,
|
|
8
8
|
searchFieldRecipe,
|
|
9
9
|
useSearchField
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-VQGNLX5C.js";
|
|
11
11
|
import "../../chunk-3CPLJJWX.js";
|
|
12
12
|
import "../../chunk-5YZUYSV7.js";
|
|
13
13
|
import "../../chunk-43S673KF.js";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-USIWPESU.js";
|
|
15
|
+
import "../../chunk-2AFA5HA2.js";
|
|
16
16
|
import "../../chunk-423RQBOX.js";
|
|
17
17
|
import "../../chunk-JN6IRT2M.js";
|
|
18
18
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -6,7 +6,7 @@ var _chunkGBTNFQXNcjs = require('../../chunk-GBTNFQXN.cjs');
|
|
|
6
6
|
var _chunk7EIHHOHPcjs = require('../../chunk-7EIHHOHP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOW4N2C3Mcjs = require('../../chunk-OW4N2C3M.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('../../chunk-7DPL3ZDS.cjs');
|
|
@@ -323,7 +323,7 @@ var SegmentItem = _react.forwardRef.call(void 0, function SegmentItem2({
|
|
|
323
323
|
);
|
|
324
324
|
const text = typeof children === "function" ? null : _chunkFHNIGHN5cjs.childrenToString.call(void 0, children);
|
|
325
325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SegmentItemProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
326
|
-
|
|
326
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
327
327
|
{
|
|
328
328
|
ref,
|
|
329
329
|
isPressed,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk5E6SHYEQcjs = require('../../chunk-5E6SHYEQ.cjs');
|
|
18
18
|
require('../../chunk-FJGPDWMS.cjs');
|
|
19
19
|
require('../../chunk-YVYYONTP.cjs');
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ require('../../chunk-WDDXU3OH.cjs');
|
|
|
24
24
|
require('../../chunk-EKS3W46M.cjs');
|
|
25
25
|
require('../../chunk-WFEMJCXO.cjs');
|
|
26
26
|
require('../../chunk-7EIHHOHP.cjs');
|
|
27
|
-
require('../../chunk-
|
|
27
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
28
28
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
29
29
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
30
30
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -52,4 +52,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.CheckIcon =
|
|
55
|
+
exports.CheckIcon = _chunk5E6SHYEQcjs.CheckIcon; exports.Select = _chunk5E6SHYEQcjs.Select2; exports.SelectContent = _chunk5E6SHYEQcjs.SelectContent; exports.SelectIndicator = _chunk5E6SHYEQcjs.SelectIndicator; exports.SelectItem = _chunk5E6SHYEQcjs.SelectItem; exports.SelectItemDescription = _chunk5E6SHYEQcjs.SelectItemDescription; exports.SelectItemIndicator = _chunk5E6SHYEQcjs.SelectItemIndicator; exports.SelectItemLabel = _chunk5E6SHYEQcjs.SelectItemLabel; exports.SelectLabel = _chunk5E6SHYEQcjs.SelectLabel; exports.SelectOverlay = _chunk5E6SHYEQcjs.SelectOverlay; exports.SelectRoot = _chunk5E6SHYEQcjs.Select; exports.SelectTrigger = _chunk5E6SHYEQcjs.SelectTrigger; exports.SelectValue = _chunk5E6SHYEQcjs.SelectValue; exports.selectRecipe = _chunkJ5COSALOcjs.selectRecipe; exports.useSelect = _chunk5E6SHYEQcjs.useSelect; exports.useSelectItem = _chunk5E6SHYEQcjs.useSelectItem;
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
SelectValue,
|
|
15
15
|
useSelect,
|
|
16
16
|
useSelectItem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-JC4YCKKL.js";
|
|
18
18
|
import "../../chunk-4WCBZFAK.js";
|
|
19
19
|
import "../../chunk-Z6FRP4EV.js";
|
|
20
20
|
import {
|
|
@@ -24,7 +24,7 @@ import "../../chunk-2PMXMKS5.js";
|
|
|
24
24
|
import "../../chunk-64MXEVT3.js";
|
|
25
25
|
import "../../chunk-NCTOTTVW.js";
|
|
26
26
|
import "../../chunk-F6W3JQ7K.js";
|
|
27
|
-
import "../../chunk-
|
|
27
|
+
import "../../chunk-2AFA5HA2.js";
|
|
28
28
|
import "../../chunk-423RQBOX.js";
|
|
29
29
|
import "../../chunk-JN6IRT2M.js";
|
|
30
30
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk6GQ7UTJ7cjs = require('../../chunk-6GQ7UTJ7.cjs');
|
|
13
13
|
require('../../chunk-WDDXU3OH.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.Snackbar =
|
|
36
|
+
exports.Snackbar = _chunk6GQ7UTJ7cjs.Snackbar; exports.SnackbarAction = _chunk6GQ7UTJ7cjs.SnackbarAction; exports.SnackbarActionLabel = _chunk6GQ7UTJ7cjs.SnackbarActionLabel; exports.SnackbarActions = _chunk6GQ7UTJ7cjs.SnackbarActions; exports.SnackbarClose = _chunk6GQ7UTJ7cjs.SnackbarClose; exports.SnackbarMessage = _chunk6GQ7UTJ7cjs.SnackbarMessage; exports.SnackbarRoot = _chunk6GQ7UTJ7cjs.SnackbarRoot; exports.SnackbarStack = _chunk6GQ7UTJ7cjs.SnackbarStack; exports.snackbarRecipe = _chunk6GQ7UTJ7cjs.snackbarRecipe; exports.useSnackbar = _chunk6GQ7UTJ7cjs.useSnackbar;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
SnackbarStack,
|
|
10
10
|
snackbarRecipe,
|
|
11
11
|
useSnackbar
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-PAQZOD2L.js";
|
|
13
13
|
import "../../chunk-2PMXMKS5.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";
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkPYQ2P3M5cjs = require('../../chunk-PYQ2P3M5.cjs');
|
|
10
10
|
require('../../chunk-7EIHHOHP.cjs');
|
|
11
|
-
require('../../chunk-
|
|
11
|
+
require('../../chunk-OW4N2C3M.cjs');
|
|
12
12
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
13
13
|
require('../../chunk-FHNIGHN5.cjs');
|
|
14
14
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -26,4 +26,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.Switch =
|
|
29
|
+
exports.Switch = _chunkPYQ2P3M5cjs.Switch; exports.SwitchLabel = _chunkPYQ2P3M5cjs.SwitchLabel; exports.SwitchRoot = _chunkPYQ2P3M5cjs.SwitchRoot; exports.SwitchThumb = _chunkPYQ2P3M5cjs.SwitchThumb; exports.SwitchTrack = _chunkPYQ2P3M5cjs.SwitchTrack; exports.switchRecipe = _chunkPYQ2P3M5cjs.switchRecipe; exports.useSwitch = _chunkPYQ2P3M5cjs.useSwitch;
|
|
@@ -428,6 +428,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<{
|
|
|
428
428
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
429
429
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
430
430
|
unstable_pressDelay?: number | undefined | undefined;
|
|
431
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
431
432
|
asChild?: boolean | undefined;
|
|
432
433
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
433
434
|
variant?: import("./switch.type").SwitchVariant;
|
|
@@ -428,6 +428,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<{
|
|
|
428
428
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
429
429
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
430
430
|
unstable_pressDelay?: number | undefined | undefined;
|
|
431
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
431
432
|
asChild?: boolean | undefined;
|
|
432
433
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
433
434
|
variant?: import("./switch.type").SwitchVariant;
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
SwitchTrack,
|
|
7
7
|
switchRecipe,
|
|
8
8
|
useSwitch
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-ZWS3FQ3J.js";
|
|
10
10
|
import "../../chunk-F6W3JQ7K.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-2AFA5HA2.js";
|
|
12
12
|
import "../../chunk-423RQBOX.js";
|
|
13
13
|
import "../../chunk-WFZDAXDI.js";
|
|
14
14
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -456,6 +456,7 @@ export declare const SwitchRoot: import("react").ForwardRefExoticComponent<{
|
|
|
456
456
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
457
457
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
458
458
|
unstable_pressDelay?: number | undefined | undefined;
|
|
459
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
459
460
|
asChild?: boolean | undefined;
|
|
460
461
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
461
462
|
variant?: import("./switch.type").SwitchVariant;
|
|
@@ -456,6 +456,7 @@ export declare const SwitchRoot: import("react").ForwardRefExoticComponent<{
|
|
|
456
456
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
|
457
457
|
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
458
458
|
unstable_pressDelay?: number | undefined | undefined;
|
|
459
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
|
|
459
460
|
asChild?: boolean | undefined;
|
|
460
461
|
} & Omit<import("../..").ViewStyleProps, keyof {
|
|
461
462
|
variant?: import("./switch.type").SwitchVariant;
|