@xaui/native 0.9.1-alpha.90 → 0.9.1-alpha.91
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-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-CVPBNJRG.js → chunk-6RU6GUJP.js} +1 -1
- package/dist/{chunk-XUF7K4WP.js → chunk-7EVW6O2Q.js} +1 -1
- 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-AAQIBMJI.js → chunk-FVEMTBU4.js} +2 -2
- package/dist/{chunk-54DVPCYB.cjs → chunk-FXN32S75.cjs} +3 -3
- 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-L5GB6G3L.cjs → chunk-K5UO3HBW.cjs} +29 -29
- package/dist/{chunk-KTI3GCFM.js → chunk-LECYGVIH.js} +43 -43
- package/dist/{chunk-CKADVFCH.js → chunk-LIEXFWTN.js} +56 -56
- 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-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-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-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 +3 -3
- package/dist/components/carousel/index.js +2 -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 +1 -0
- package/dist/components/index.d.ts +1 -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-stepper/index.cjs +3 -3
- package/dist/components/number-stepper/index.js +2 -2
- 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/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 +82 -58
- package/dist/index.js +101 -77
- 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 +11 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Widget,
|
|
3
|
+
WidgetContent,
|
|
4
|
+
WidgetDescription,
|
|
5
|
+
WidgetFooter,
|
|
6
|
+
WidgetHeader,
|
|
7
|
+
WidgetHeading,
|
|
8
|
+
WidgetRoot,
|
|
9
|
+
WidgetTitle,
|
|
10
|
+
useWidget,
|
|
11
|
+
widgetRecipe
|
|
12
|
+
} from "./chunk-Z5KS7OH5.js";
|
|
1
13
|
import "./chunk-WHJTBTYM.js";
|
|
2
14
|
import {
|
|
3
15
|
XAUIProvider,
|
|
@@ -11,6 +23,12 @@ import {
|
|
|
11
23
|
sourceKeys,
|
|
12
24
|
tokens
|
|
13
25
|
} from "./chunk-YGETADPV.js";
|
|
26
|
+
import {
|
|
27
|
+
ToggleButton,
|
|
28
|
+
toggleButtonRecipe,
|
|
29
|
+
useToggleButton,
|
|
30
|
+
useToggleButtonGroup
|
|
31
|
+
} from "./chunk-BJVO7DWJ.js";
|
|
14
32
|
import {
|
|
15
33
|
TimeField,
|
|
16
34
|
TimeFieldField,
|
|
@@ -29,7 +47,7 @@ import {
|
|
|
29
47
|
toastRecipe,
|
|
30
48
|
useToast,
|
|
31
49
|
useToastContext
|
|
32
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JKDWYNSG.js";
|
|
33
51
|
import {
|
|
34
52
|
TextSpan,
|
|
35
53
|
Typography,
|
|
@@ -54,17 +72,9 @@ import {
|
|
|
54
72
|
wheelPickerRecipe
|
|
55
73
|
} from "./chunk-AIND5F7P.js";
|
|
56
74
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
WidgetFooter,
|
|
61
|
-
WidgetHeader,
|
|
62
|
-
WidgetHeading,
|
|
63
|
-
WidgetRoot,
|
|
64
|
-
WidgetTitle,
|
|
65
|
-
useWidget,
|
|
66
|
-
widgetRecipe
|
|
67
|
-
} from "./chunk-Z5KS7OH5.js";
|
|
75
|
+
Surface,
|
|
76
|
+
surfaceRecipe
|
|
77
|
+
} from "./chunk-LHSYCOPP.js";
|
|
68
78
|
import {
|
|
69
79
|
Switch,
|
|
70
80
|
SwitchLabel,
|
|
@@ -73,7 +83,7 @@ import {
|
|
|
73
83
|
SwitchTrack,
|
|
74
84
|
switchRecipe,
|
|
75
85
|
useSwitch
|
|
76
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-ZWS3FQ3J.js";
|
|
77
87
|
import {
|
|
78
88
|
Table,
|
|
79
89
|
TableBody,
|
|
@@ -90,7 +100,7 @@ import {
|
|
|
90
100
|
tableRecipe,
|
|
91
101
|
useTable,
|
|
92
102
|
useTableRow
|
|
93
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-GYEQEF5H.js";
|
|
94
104
|
import {
|
|
95
105
|
TagGroup,
|
|
96
106
|
TagGroupItem,
|
|
@@ -102,7 +112,7 @@ import {
|
|
|
102
112
|
tagGroupRecipe,
|
|
103
113
|
useTagGroup,
|
|
104
114
|
useTagGroupItem
|
|
105
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-RLC3EXMV.js";
|
|
106
116
|
import {
|
|
107
117
|
TextArea,
|
|
108
118
|
useTextArea
|
|
@@ -123,11 +133,15 @@ import {
|
|
|
123
133
|
useTimelineItem
|
|
124
134
|
} from "./chunk-FYL4JEBN.js";
|
|
125
135
|
import {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
136
|
+
SearchField,
|
|
137
|
+
SearchFieldClear,
|
|
138
|
+
SearchFieldField,
|
|
139
|
+
SearchFieldIcon,
|
|
140
|
+
SearchFieldRoot,
|
|
141
|
+
SearchIcon,
|
|
142
|
+
searchFieldRecipe,
|
|
143
|
+
useSearchField
|
|
144
|
+
} from "./chunk-VQGNLX5C.js";
|
|
131
145
|
import {
|
|
132
146
|
CheckIcon,
|
|
133
147
|
Select,
|
|
@@ -144,7 +158,7 @@ import {
|
|
|
144
158
|
SelectValue,
|
|
145
159
|
useSelect,
|
|
146
160
|
useSelectItem
|
|
147
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-JC4YCKKL.js";
|
|
148
162
|
import {
|
|
149
163
|
Snackbar,
|
|
150
164
|
SnackbarAction,
|
|
@@ -156,7 +170,7 @@ import {
|
|
|
156
170
|
SnackbarStack,
|
|
157
171
|
snackbarRecipe,
|
|
158
172
|
useSnackbar
|
|
159
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-PAQZOD2L.js";
|
|
160
174
|
import {
|
|
161
175
|
Skeleton,
|
|
162
176
|
skeletonRecipe
|
|
@@ -179,9 +193,17 @@ import {
|
|
|
179
193
|
spinnerRecipe
|
|
180
194
|
} from "./chunk-EMB55OLA.js";
|
|
181
195
|
import {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
196
|
+
Popover,
|
|
197
|
+
Popover2,
|
|
198
|
+
PopoverClose,
|
|
199
|
+
PopoverContent,
|
|
200
|
+
PopoverDescription,
|
|
201
|
+
PopoverOverlay,
|
|
202
|
+
PopoverTitle,
|
|
203
|
+
PopoverTrigger,
|
|
204
|
+
popoverRecipe,
|
|
205
|
+
usePopover
|
|
206
|
+
} from "./chunk-RXEUKYM5.js";
|
|
185
207
|
import {
|
|
186
208
|
ProgressBar,
|
|
187
209
|
ProgressBarFill,
|
|
@@ -222,23 +244,13 @@ import {
|
|
|
222
244
|
radioRecipe,
|
|
223
245
|
useRadio,
|
|
224
246
|
useRadioGroup
|
|
225
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-TPYOQSKT.js";
|
|
226
248
|
import {
|
|
227
249
|
Scaffold,
|
|
228
250
|
mergeScreenOptions,
|
|
229
251
|
scaffoldRecipe,
|
|
230
252
|
useScaffold
|
|
231
253
|
} from "./chunk-T5HE5RRF.js";
|
|
232
|
-
import {
|
|
233
|
-
SearchField,
|
|
234
|
-
SearchFieldClear,
|
|
235
|
-
SearchFieldField,
|
|
236
|
-
SearchFieldIcon,
|
|
237
|
-
SearchFieldRoot,
|
|
238
|
-
SearchIcon,
|
|
239
|
-
searchFieldRecipe,
|
|
240
|
-
useSearchField
|
|
241
|
-
} from "./chunk-W6TFYAEF.js";
|
|
242
254
|
import {
|
|
243
255
|
List,
|
|
244
256
|
ListAction,
|
|
@@ -283,7 +295,20 @@ import {
|
|
|
283
295
|
menuRecipe,
|
|
284
296
|
useMenu,
|
|
285
297
|
useMenuItem
|
|
286
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-JJYHW4PV.js";
|
|
299
|
+
import {
|
|
300
|
+
MORPH_SPRING,
|
|
301
|
+
MorphButton,
|
|
302
|
+
MorphButtonCollapsed,
|
|
303
|
+
MorphButtonDescription,
|
|
304
|
+
MorphButtonExpanded,
|
|
305
|
+
MorphButtonIcon,
|
|
306
|
+
MorphButtonLabel,
|
|
307
|
+
MorphButtonRoot,
|
|
308
|
+
MorphButtonTitle,
|
|
309
|
+
morphButtonRecipe,
|
|
310
|
+
useMorphButton
|
|
311
|
+
} from "./chunk-RCSEVEIR.js";
|
|
287
312
|
import {
|
|
288
313
|
NumberField,
|
|
289
314
|
NumberFieldDecrement,
|
|
@@ -302,7 +327,7 @@ import {
|
|
|
302
327
|
NumberStepperValue,
|
|
303
328
|
numberStepperRecipe,
|
|
304
329
|
useNumberStepper
|
|
305
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-WRZV6ORJ.js";
|
|
306
331
|
import {
|
|
307
332
|
canStep,
|
|
308
333
|
clampNumber,
|
|
@@ -315,18 +340,6 @@ import {
|
|
|
315
340
|
PieChart,
|
|
316
341
|
pieChartRecipe
|
|
317
342
|
} from "./chunk-VLWZPYAO.js";
|
|
318
|
-
import {
|
|
319
|
-
Popover,
|
|
320
|
-
Popover2,
|
|
321
|
-
PopoverClose,
|
|
322
|
-
PopoverContent,
|
|
323
|
-
PopoverDescription,
|
|
324
|
-
PopoverOverlay,
|
|
325
|
-
PopoverTitle,
|
|
326
|
-
PopoverTrigger,
|
|
327
|
-
popoverRecipe,
|
|
328
|
-
usePopover
|
|
329
|
-
} from "./chunk-5VYB7F3H.js";
|
|
330
343
|
import {
|
|
331
344
|
Divider,
|
|
332
345
|
dividerRecipe
|
|
@@ -370,7 +383,7 @@ import {
|
|
|
370
383
|
useFab,
|
|
371
384
|
useFabDiscovery,
|
|
372
385
|
useFabMenu
|
|
373
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-SUJLTC2K.js";
|
|
374
387
|
import "./chunk-734MFAX4.js";
|
|
375
388
|
import {
|
|
376
389
|
FLIP_SPRING,
|
|
@@ -379,7 +392,7 @@ import {
|
|
|
379
392
|
FlipCardFront,
|
|
380
393
|
FlipCardRoot,
|
|
381
394
|
useFlipCard
|
|
382
|
-
} from "./chunk-
|
|
395
|
+
} from "./chunk-FRLWG5LM.js";
|
|
383
396
|
import {
|
|
384
397
|
InputOTP,
|
|
385
398
|
OTP_ALPHANUMERIC,
|
|
@@ -398,11 +411,11 @@ import {
|
|
|
398
411
|
Chip,
|
|
399
412
|
chipRecipe,
|
|
400
413
|
useChip
|
|
401
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-TRWZEOCO.js";
|
|
402
415
|
import {
|
|
403
416
|
CloseButton,
|
|
404
417
|
closeButtonRecipe
|
|
405
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-6RU6GUJP.js";
|
|
406
419
|
import {
|
|
407
420
|
ColorPicker,
|
|
408
421
|
ColorPickerContent,
|
|
@@ -415,7 +428,7 @@ import {
|
|
|
415
428
|
TAILWIND_PALETTE,
|
|
416
429
|
colorPickerRecipe,
|
|
417
430
|
useColorPicker
|
|
418
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-52XUGOLD.js";
|
|
419
432
|
import {
|
|
420
433
|
DummyField,
|
|
421
434
|
DummyFieldDescription,
|
|
@@ -426,7 +439,7 @@ import {
|
|
|
426
439
|
DummyFieldRoot,
|
|
427
440
|
DummyFieldValue,
|
|
428
441
|
useDummyField
|
|
429
|
-
} from "./chunk-
|
|
442
|
+
} from "./chunk-ZKGVOXLQ.js";
|
|
430
443
|
import {
|
|
431
444
|
FieldGroup,
|
|
432
445
|
FieldGroupField,
|
|
@@ -453,7 +466,7 @@ import {
|
|
|
453
466
|
ComboboxInput,
|
|
454
467
|
ComboboxRoot,
|
|
455
468
|
ComboboxTrigger
|
|
456
|
-
} from "./chunk-
|
|
469
|
+
} from "./chunk-P2CJNTAP.js";
|
|
457
470
|
import {
|
|
458
471
|
CalendarGlyphIcon,
|
|
459
472
|
DatePicker,
|
|
@@ -470,7 +483,7 @@ import {
|
|
|
470
483
|
DatePickerValue,
|
|
471
484
|
datePickerRecipe,
|
|
472
485
|
useDatePicker
|
|
473
|
-
} from "./chunk-
|
|
486
|
+
} from "./chunk-MMFIMQMQ.js";
|
|
474
487
|
import {
|
|
475
488
|
FIELD_GLYPH_SIZES,
|
|
476
489
|
textFieldRecipe
|
|
@@ -484,7 +497,7 @@ import {
|
|
|
484
497
|
DateRangePickerTrigger,
|
|
485
498
|
DateRangePickerValue,
|
|
486
499
|
useDateRangePicker
|
|
487
|
-
} from "./chunk-
|
|
500
|
+
} from "./chunk-ODQHAPQW.js";
|
|
488
501
|
import {
|
|
489
502
|
RangeCalendar,
|
|
490
503
|
RangeCalendarDay,
|
|
@@ -492,7 +505,7 @@ import {
|
|
|
492
505
|
RangeCalendarRoot,
|
|
493
506
|
rangeCalendarRecipe,
|
|
494
507
|
useRangeCalendar
|
|
495
|
-
} from "./chunk-
|
|
508
|
+
} from "./chunk-P7OHZCU3.js";
|
|
496
509
|
import {
|
|
497
510
|
DateTimePicker,
|
|
498
511
|
DateTimePicker2,
|
|
@@ -504,7 +517,7 @@ import {
|
|
|
504
517
|
DateTimePickerTrigger,
|
|
505
518
|
DateTimePickerValue,
|
|
506
519
|
useDateTimePicker
|
|
507
|
-
} from "./chunk-
|
|
520
|
+
} from "./chunk-O6B72H4B.js";
|
|
508
521
|
import {
|
|
509
522
|
TimePicker,
|
|
510
523
|
TimePicker2,
|
|
@@ -516,7 +529,7 @@ import {
|
|
|
516
529
|
TimePickerValue,
|
|
517
530
|
timePickerRecipe,
|
|
518
531
|
useTimePicker
|
|
519
|
-
} from "./chunk-
|
|
532
|
+
} from "./chunk-EBCAPIBD.js";
|
|
520
533
|
import "./chunk-3MRCSXGT.js";
|
|
521
534
|
import {
|
|
522
535
|
Tabs,
|
|
@@ -529,7 +542,7 @@ import {
|
|
|
529
542
|
tabsRecipe,
|
|
530
543
|
useTabs,
|
|
531
544
|
useTabsTrigger
|
|
532
|
-
} from "./chunk-
|
|
545
|
+
} from "./chunk-UYQLW7OD.js";
|
|
533
546
|
import "./chunk-CHFPFYNV.js";
|
|
534
547
|
import {
|
|
535
548
|
Dialog,
|
|
@@ -542,7 +555,7 @@ import {
|
|
|
542
555
|
DialogTrigger,
|
|
543
556
|
dialogRecipe,
|
|
544
557
|
useDialog
|
|
545
|
-
} from "./chunk-
|
|
558
|
+
} from "./chunk-FVEMTBU4.js";
|
|
546
559
|
import {
|
|
547
560
|
Badge,
|
|
548
561
|
badgeRecipe,
|
|
@@ -561,25 +574,25 @@ import {
|
|
|
561
574
|
BottomSheetTrigger,
|
|
562
575
|
bottomSheetRecipe,
|
|
563
576
|
useBottomSheet
|
|
564
|
-
} from "./chunk-
|
|
577
|
+
} from "./chunk-LECYGVIH.js";
|
|
565
578
|
import {
|
|
566
579
|
Button,
|
|
567
580
|
buttonRecipe,
|
|
568
581
|
useButton
|
|
569
|
-
} from "./chunk-
|
|
570
|
-
import "./chunk-7J3M62W5.js";
|
|
582
|
+
} from "./chunk-V2CEKPJ6.js";
|
|
571
583
|
import {
|
|
572
584
|
ROTATION_DURATION,
|
|
573
585
|
usePrevious,
|
|
574
586
|
useRotation
|
|
575
587
|
} from "./chunk-3GFRSZYR.js";
|
|
588
|
+
import "./chunk-7J3M62W5.js";
|
|
576
589
|
import {
|
|
577
590
|
CARD_BACKGROUND,
|
|
578
591
|
Card,
|
|
579
592
|
cardRecipe,
|
|
580
593
|
markBackground,
|
|
581
594
|
useCard
|
|
582
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-QHXTO525.js";
|
|
583
596
|
import {
|
|
584
597
|
Carousel,
|
|
585
598
|
CarouselContent,
|
|
@@ -594,7 +607,7 @@ import {
|
|
|
594
607
|
CarouselThumbnails,
|
|
595
608
|
carouselRecipe,
|
|
596
609
|
useCarousel
|
|
597
|
-
} from "./chunk-
|
|
610
|
+
} from "./chunk-LIEXFWTN.js";
|
|
598
611
|
import {
|
|
599
612
|
Checkbox,
|
|
600
613
|
CheckboxIndicator,
|
|
@@ -602,7 +615,7 @@ import {
|
|
|
602
615
|
CheckboxRoot,
|
|
603
616
|
checkboxRecipe,
|
|
604
617
|
useCheckbox
|
|
605
|
-
} from "./chunk-
|
|
618
|
+
} from "./chunk-OD6H7ANY.js";
|
|
606
619
|
import "./chunk-BTKWPEOF.js";
|
|
607
620
|
import {
|
|
608
621
|
SelectionFill
|
|
@@ -618,7 +631,7 @@ import {
|
|
|
618
631
|
accordionRecipe,
|
|
619
632
|
useAccordion,
|
|
620
633
|
useAccordionItem
|
|
621
|
-
} from "./chunk-
|
|
634
|
+
} from "./chunk-VMPCXS4S.js";
|
|
622
635
|
import {
|
|
623
636
|
AgendaCalendar,
|
|
624
637
|
AgendaCalendarDay,
|
|
@@ -635,7 +648,7 @@ import {
|
|
|
635
648
|
AgendaCalendarYearPicker,
|
|
636
649
|
agendaCalendarRecipe,
|
|
637
650
|
useAgendaCalendar
|
|
638
|
-
} from "./chunk-
|
|
651
|
+
} from "./chunk-TCWW7JI2.js";
|
|
639
652
|
import {
|
|
640
653
|
Calendar,
|
|
641
654
|
CalendarDay,
|
|
@@ -651,23 +664,23 @@ import {
|
|
|
651
664
|
SIZES,
|
|
652
665
|
calendarRecipe,
|
|
653
666
|
useCalendar
|
|
654
|
-
} from "./chunk-
|
|
667
|
+
} from "./chunk-RSIWSVXI.js";
|
|
655
668
|
import "./chunk-SHFUQVLX.js";
|
|
656
669
|
import {
|
|
657
670
|
Alert,
|
|
658
671
|
alertRecipe,
|
|
659
672
|
useAlert
|
|
660
|
-
} from "./chunk-
|
|
673
|
+
} from "./chunk-7EVW6O2Q.js";
|
|
661
674
|
import {
|
|
662
675
|
CloseButtonBase,
|
|
663
676
|
closeButtonGeometry
|
|
664
|
-
} from "./chunk-
|
|
677
|
+
} from "./chunk-USIWPESU.js";
|
|
665
678
|
import {
|
|
666
679
|
AreaChart
|
|
667
680
|
} from "./chunk-3QTXZ44I.js";
|
|
668
681
|
import {
|
|
669
682
|
useAutocomplete
|
|
670
|
-
} from "./chunk-
|
|
683
|
+
} from "./chunk-FOOXBVOQ.js";
|
|
671
684
|
import "./chunk-4WCBZFAK.js";
|
|
672
685
|
import "./chunk-Z6FRP4EV.js";
|
|
673
686
|
import {
|
|
@@ -713,7 +726,7 @@ import {
|
|
|
713
726
|
resolveSlotAnimation,
|
|
714
727
|
rippleRadiusFor,
|
|
715
728
|
useFeedback
|
|
716
|
-
} from "./chunk-
|
|
729
|
+
} from "./chunk-2AFA5HA2.js";
|
|
717
730
|
import {
|
|
718
731
|
usePressState
|
|
719
732
|
} from "./chunk-423RQBOX.js";
|
|
@@ -980,6 +993,7 @@ export {
|
|
|
980
993
|
ListRoot,
|
|
981
994
|
ListTitle,
|
|
982
995
|
MASK_FIELD_MASKS,
|
|
996
|
+
MORPH_SPRING,
|
|
983
997
|
MaskField,
|
|
984
998
|
MaskFieldField,
|
|
985
999
|
MaskFieldRoot,
|
|
@@ -995,6 +1009,14 @@ export {
|
|
|
995
1009
|
Menu as MenuRoot,
|
|
996
1010
|
MenuSeparator,
|
|
997
1011
|
MenuTrigger,
|
|
1012
|
+
MorphButton,
|
|
1013
|
+
MorphButtonCollapsed,
|
|
1014
|
+
MorphButtonDescription,
|
|
1015
|
+
MorphButtonExpanded,
|
|
1016
|
+
MorphButtonIcon,
|
|
1017
|
+
MorphButtonLabel,
|
|
1018
|
+
MorphButtonRoot,
|
|
1019
|
+
MorphButtonTitle,
|
|
998
1020
|
NumberField,
|
|
999
1021
|
NumberFieldDecrement,
|
|
1000
1022
|
NumberFieldField,
|
|
@@ -1240,6 +1262,7 @@ export {
|
|
|
1240
1262
|
mergeProps,
|
|
1241
1263
|
mergeRefs,
|
|
1242
1264
|
mergeScreenOptions,
|
|
1265
|
+
morphButtonRecipe,
|
|
1243
1266
|
nextSelection,
|
|
1244
1267
|
numberFieldRecipe,
|
|
1245
1268
|
numberMarks,
|
|
@@ -1332,6 +1355,7 @@ export {
|
|
|
1332
1355
|
useMenu,
|
|
1333
1356
|
useMenuItem,
|
|
1334
1357
|
useMergedRef,
|
|
1358
|
+
useMorphButton,
|
|
1335
1359
|
useNumberField,
|
|
1336
1360
|
useNumberStepper,
|
|
1337
1361
|
useOptionalChart,
|
package/dist/system/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkZE4IHUUOcjs = require('../chunk-ZE4IHUUO.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -40,7 +40,7 @@ var _chunkEKS3W46Mcjs = require('../chunk-EKS3W46M.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkOW4N2C3Mcjs = require('../chunk-OW4N2C3M.cjs');
|
|
44
44
|
require('../chunk-7DPL3ZDS.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
@@ -116,4 +116,4 @@ var _chunkTK44VBIEcjs = require('../chunk-TK44VBIE.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
exports.ChevronDownIcon = _chunkGSZDN6EZcjs.ChevronDownIcon; exports.CloseButtonBase =
|
|
119
|
+
exports.ChevronDownIcon = _chunkGSZDN6EZcjs.ChevronDownIcon; exports.CloseButtonBase = _chunkZE4IHUUOcjs.CloseButtonBase; exports.FEEDBACK_OVERLAY = _chunkOW4N2C3Mcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkOW4N2C3Mcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkOW4N2C3Mcjs.HIGHLIGHT_OPACITY; exports.INDICATOR_ROTATION = _chunkEKS3W46Mcjs.INDICATOR_ROTATION; exports.INDICATOR_SPRING = _chunkEKS3W46Mcjs.INDICATOR_SPRING; exports.Icon = _chunkGSZDN6EZcjs.Icon; exports.IconContext = _chunkGSZDN6EZcjs.IconContext; exports.PRESS_DURATION = _chunkOW4N2C3Mcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkOW4N2C3Mcjs.PRESS_SCALE; exports.Portal = _chunkWDDXU3OHcjs.Portal; exports.PortalContext = _chunkWDDXU3OHcjs.PortalContext; exports.PortalHost = _chunkWDDXU3OHcjs.PortalHost; exports.PressableFeedback = _chunkOW4N2C3Mcjs.PressableFeedback; exports.RADIUS_KEYS = _chunkSL3V7R2Ycjs.RADIUS_KEYS; exports.RIPPLE_CONFIRM_DURATION = _chunkOW4N2C3Mcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkOW4N2C3Mcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkOW4N2C3Mcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkOW4N2C3Mcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkOW4N2C3Mcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkOW4N2C3Mcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkOW4N2C3Mcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkOW4N2C3Mcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunkCDRGTUYFcjs.Slot; exports.anchoredEntering = _chunkEKS3W46Mcjs.anchoredEntering; exports.anchoredExiting = _chunkEKS3W46Mcjs.anchoredExiting; exports.childrenToString = _chunkFHNIGHN5cjs.childrenToString; exports.closeButtonGeometry = _chunkZE4IHUUOcjs.closeButtonGeometry; exports.createRecipe = _chunkSL3V7R2Ycjs.createRecipe; exports.createSlotContext = _chunkCDRGTUYFcjs.createSlotContext; exports.markOverlay = _chunkOW4N2C3Mcjs.markOverlay; exports.mergeProps = _chunkCDRGTUYFcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.overlayEntering = _chunkEKS3W46Mcjs.overlayEntering; exports.overlayExiting = _chunkEKS3W46Mcjs.overlayExiting; exports.pressScaleFor = _chunkOW4N2C3Mcjs.pressScaleFor; exports.radiusAxis = _chunkSL3V7R2Ycjs.radiusAxis; exports.resolveAnimation = _chunkOW4N2C3Mcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkOW4N2C3Mcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkOW4N2C3Mcjs.rippleRadiusFor; exports.useFeedback = _chunkOW4N2C3Mcjs.useFeedback; exports.useIconContext = _chunkGSZDN6EZcjs.useIconContext; exports.useStyleProps = _chunkTK44VBIEcjs.useStyleProps;
|
package/dist/system/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
CloseButtonBase,
|
|
7
7
|
closeButtonGeometry
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-USIWPESU.js";
|
|
9
9
|
import {
|
|
10
10
|
Portal,
|
|
11
11
|
PortalContext,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
resolveSlotAnimation,
|
|
41
41
|
rippleRadiusFor,
|
|
42
42
|
useFeedback
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-2AFA5HA2.js";
|
|
44
44
|
import "../chunk-423RQBOX.js";
|
|
45
45
|
import {
|
|
46
46
|
ChevronDownIcon,
|
|
@@ -11,6 +11,7 @@ export declare const PressableFeedback: import("react").ForwardRefExoticComponen
|
|
|
11
11
|
isDisabled?: boolean;
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
animation?: import("./pressable-feedback.type").AnimationProp;
|
|
14
|
+
layout?: import("react-native-reanimated").AnimatedProps<import("react-native").PressableProps>["layout"];
|
|
14
15
|
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
16
|
children?: import("react").ReactNode;
|
|
16
17
|
} & import("react").RefAttributes<import("react-native").View>> & {
|
|
@@ -11,6 +11,7 @@ export declare const PressableFeedback: import("react").ForwardRefExoticComponen
|
|
|
11
11
|
isDisabled?: boolean;
|
|
12
12
|
asChild?: boolean;
|
|
13
13
|
animation?: import("./pressable-feedback.type").AnimationProp;
|
|
14
|
+
layout?: import("react-native-reanimated").AnimatedProps<import("react-native").PressableProps>["layout"];
|
|
14
15
|
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
15
16
|
children?: import("react").ReactNode;
|
|
16
17
|
} & import("react").RefAttributes<import("react-native").View>> & {
|
|
@@ -34,6 +34,7 @@ export declare const PressableFeedback: import("react").ForwardRefExoticComponen
|
|
|
34
34
|
isDisabled?: boolean;
|
|
35
35
|
asChild?: boolean;
|
|
36
36
|
animation?: import("./pressable-feedback.type").AnimationProp;
|
|
37
|
+
layout?: import("react-native-reanimated").AnimatedProps<import("react-native").PressableProps>["layout"];
|
|
37
38
|
style?: StyleProp<ViewStyle>;
|
|
38
39
|
children?: import("react").ReactNode;
|
|
39
40
|
} & import("react").RefAttributes<View>>;
|
|
@@ -34,6 +34,7 @@ export declare const PressableFeedback: import("react").ForwardRefExoticComponen
|
|
|
34
34
|
isDisabled?: boolean;
|
|
35
35
|
asChild?: boolean;
|
|
36
36
|
animation?: import("./pressable-feedback.type").AnimationProp;
|
|
37
|
+
layout?: import("react-native-reanimated").AnimatedProps<import("react-native").PressableProps>["layout"];
|
|
37
38
|
style?: StyleProp<ViewStyle>;
|
|
38
39
|
children?: import("react").ReactNode;
|
|
39
40
|
} & import("react").RefAttributes<View>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { PressableProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { SharedValue } from 'react-native-reanimated';
|
|
3
|
+
import type { AnimatedProps, SharedValue } from 'react-native-reanimated';
|
|
4
4
|
import type { ViewStyleProps } from '../style-props';
|
|
5
5
|
export type AnimationConfig = {
|
|
6
6
|
scale?: boolean;
|
|
@@ -40,6 +40,18 @@ export type PressableFeedbackProps = Omit<PressableProps, 'style' | 'children' |
|
|
|
40
40
|
*/
|
|
41
41
|
asChild?: boolean;
|
|
42
42
|
animation?: AnimationProp;
|
|
43
|
+
/**
|
|
44
|
+
* Reanimated's layout transition, for a control whose **own box** changes size — a
|
|
45
|
+
* `MorphButton` growing from a pill into a card. It is here rather than in that
|
|
46
|
+
* component because the box that travels is this node: a transition on a wrapper
|
|
47
|
+
* animates the wrapper's frame while the pressable inside it is already at its final
|
|
48
|
+
* size, so the content spills out of the shape halfway through.
|
|
49
|
+
*
|
|
50
|
+
* It has no effect on the static branch, which mounts a plain `Pressable` and no
|
|
51
|
+
* worklet at all: `animation={false}` turns the morph off with everything else, which
|
|
52
|
+
* is the answer a caller asking for no animation wanted.
|
|
53
|
+
*/
|
|
54
|
+
layout?: AnimatedProps<PressableProps>['layout'];
|
|
43
55
|
style?: StyleProp<ViewStyle>;
|
|
44
56
|
/**
|
|
45
57
|
* The overlays are children, not a prop — `<PressableFeedback.Highlight />` or
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { PressableProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { SharedValue } from 'react-native-reanimated';
|
|
3
|
+
import type { AnimatedProps, SharedValue } from 'react-native-reanimated';
|
|
4
4
|
import type { ViewStyleProps } from '../style-props';
|
|
5
5
|
export type AnimationConfig = {
|
|
6
6
|
scale?: boolean;
|
|
@@ -40,6 +40,18 @@ export type PressableFeedbackProps = Omit<PressableProps, 'style' | 'children' |
|
|
|
40
40
|
*/
|
|
41
41
|
asChild?: boolean;
|
|
42
42
|
animation?: AnimationProp;
|
|
43
|
+
/**
|
|
44
|
+
* Reanimated's layout transition, for a control whose **own box** changes size — a
|
|
45
|
+
* `MorphButton` growing from a pill into a card. It is here rather than in that
|
|
46
|
+
* component because the box that travels is this node: a transition on a wrapper
|
|
47
|
+
* animates the wrapper's frame while the pressable inside it is already at its final
|
|
48
|
+
* size, so the content spills out of the shape halfway through.
|
|
49
|
+
*
|
|
50
|
+
* It has no effect on the static branch, which mounts a plain `Pressable` and no
|
|
51
|
+
* worklet at all: `animation={false}` turns the morph off with everything else, which
|
|
52
|
+
* is the answer a caller asking for no animation wanted.
|
|
53
|
+
*/
|
|
54
|
+
layout?: AnimatedProps<PressableProps>['layout'];
|
|
43
55
|
style?: StyleProp<ViewStyle>;
|
|
44
56
|
/**
|
|
45
57
|
* The overlays are children, not a prop — `<PressableFeedback.Highlight />` or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaui/native",
|
|
3
|
-
"version": "0.9.1-alpha.
|
|
3
|
+
"version": "0.9.1-alpha.91",
|
|
4
4
|
"description": "Composition-first React Native UI components with native animations powered by Reanimated",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -367,6 +367,16 @@
|
|
|
367
367
|
"default": "./dist/components/menu/index.cjs"
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
|
+
"./morph-button": {
|
|
371
|
+
"import": {
|
|
372
|
+
"types": "./dist/components/morph-button/index.d.ts",
|
|
373
|
+
"default": "./dist/components/morph-button/index.js"
|
|
374
|
+
},
|
|
375
|
+
"require": {
|
|
376
|
+
"types": "./dist/components/morph-button/index.d.cts",
|
|
377
|
+
"default": "./dist/components/morph-button/index.cjs"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
370
380
|
"./number-field": {
|
|
371
381
|
"import": {
|
|
372
382
|
"types": "./dist/components/number-field/index.d.ts",
|