@xaui/native 0.9.1-beta.95 → 0.9.1-beta.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
- package/dist/{chunk-LUPU7FJK.js → chunk-356DND54.js} +1 -1
- package/dist/{chunk-B5DBFS6M.js → chunk-3BRVAMXQ.js} +1 -1
- package/dist/{chunk-YJIVPYMG.cjs → chunk-3CI4JGY4.cjs} +14 -14
- package/dist/{chunk-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
- package/dist/{chunk-X6GT4H4I.cjs → chunk-3TBT6ORW.cjs} +15 -15
- package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
- package/dist/{chunk-WPYJW3WM.cjs → chunk-435MOVG2.cjs} +3 -3
- package/dist/{chunk-NGXLJ5ZF.cjs → chunk-4R4SIP22.cjs} +22 -22
- package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
- package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
- package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
- package/dist/{chunk-5O7E73QP.cjs → chunk-7CGF3Z5S.cjs} +6 -6
- package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
- package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
- package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
- package/dist/{chunk-E4FWGZH2.js → chunk-AMFGATFY.js} +2 -2
- package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
- package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
- package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
- package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
- package/dist/chunk-C6JO2RTV.cjs +752 -0
- package/dist/{chunk-53E2E7GS.cjs → chunk-CP6AB6N5.cjs} +15 -15
- package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
- package/dist/{chunk-BYDGJU5A.js → chunk-ES7RME6G.js} +3 -3
- package/dist/{chunk-KFB24VYT.js → chunk-EXONAJUX.js} +15 -15
- package/dist/{chunk-ERIGD4SE.cjs → chunk-FWAP4WAJ.cjs} +18 -18
- package/dist/{chunk-KMK6FUTK.cjs → chunk-FZXWZNYY.cjs} +9 -9
- package/dist/{chunk-K7VDLVLE.js → chunk-GKXOHUEW.js} +3 -3
- package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
- package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
- package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
- package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
- package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
- package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
- package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
- package/dist/{chunk-OZLOYXLW.js → chunk-L6EWRWTE.js} +2 -2
- package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
- package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
- package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
- package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
- package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
- package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
- package/dist/{chunk-4AIIAF6U.js → chunk-SRY3HKSC.js} +16 -16
- package/dist/chunk-SVS726BW.js +822 -0
- package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
- package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
- package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
- package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
- package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
- package/dist/{chunk-E5E2QA4K.js → chunk-VQG7K5QE.js} +15 -15
- package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
- package/dist/{chunk-MNBEUNC5.cjs → chunk-WH7MFY3H.cjs} +18 -18
- package/dist/{chunk-OX23MW5E.js → chunk-WMTGDNXU.js} +44 -44
- package/dist/{chunk-2TLPFGGR.cjs → chunk-XCEDD7PE.cjs} +24 -24
- package/dist/{chunk-J5COSALO.cjs → chunk-XILRXEUL.cjs} +2 -2
- package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
- package/dist/{chunk-YI5D4QZP.js → chunk-Z2KK5W7P.js} +15 -15
- package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
- package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
- package/dist/components/accordion/accordion.animation.d.cts +1 -1
- package/dist/components/accordion/accordion.animation.d.ts +1 -1
- package/dist/components/accordion/accordion.type.d.cts +1 -1
- package/dist/components/accordion/accordion.type.d.ts +1 -1
- package/dist/components/accordion/index.cjs +2 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/alert-icon.d.cts +2 -2
- package/dist/components/alert/alert-icon.d.ts +2 -2
- package/dist/components/alert/alert.type.d.cts +1 -1
- package/dist/components/alert/alert.type.d.ts +1 -1
- package/dist/components/alert/index.cjs +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/avatar/avatar-fallback.d.cts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar.d.cts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.type.d.cts +1 -1
- package/dist/components/avatar/avatar.type.d.ts +1 -1
- package/dist/components/avatar/index.cjs +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/index.cjs +2 -2
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/card/card-background.d.cts +1 -1
- package/dist/components/card/card-background.d.ts +1 -1
- package/dist/components/card/card.utils.d.cts +1 -1
- package/dist/components/card/card.utils.d.ts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
- package/dist/components/checkbox/checkbox.type.d.cts +1 -1
- package/dist/components/checkbox/checkbox.type.d.ts +1 -1
- package/dist/components/checkbox/index.cjs +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/chip/chip.type.d.cts +1 -1
- package/dist/components/chip/chip.type.d.ts +1 -1
- package/dist/components/chip/index.cjs +2 -2
- package/dist/components/chip/index.js +1 -1
- package/dist/components/color-picker/index.cjs +7 -7
- package/dist/components/color-picker/index.js +6 -6
- 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 +4 -4
- package/dist/components/date-range-picker/index.js +3 -3
- package/dist/components/date-time-picker/index.cjs +5 -5
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/dialog/index.cjs +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dummy-field/index.cjs +5 -5
- package/dist/components/dummy-field/index.js +4 -4
- package/dist/components/field-group/field-group-icon.d.cts +1 -1
- package/dist/components/field-group/field-group-icon.d.ts +1 -1
- package/dist/components/field-group/index.cjs +4 -4
- package/dist/components/field-group/index.js +3 -3
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input-otp/input-otp.type.d.cts +1 -1
- package/dist/components/input-otp/input-otp.type.d.ts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
- package/dist/components/mask-field/index.cjs +5 -5
- package/dist/components/mask-field/index.js +4 -4
- package/dist/components/menu/index.cjs +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/number-field/index.cjs +5 -5
- package/dist/components/number-field/index.js +4 -4
- package/dist/components/phone-number-field/index.cjs +37 -30
- package/dist/components/phone-number-field/index.js +13 -6
- package/dist/components/popover/index.cjs +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.recipe.d.cts +1 -1
- package/dist/components/popover/popover.recipe.d.ts +1 -1
- package/dist/components/search-field/index.cjs +5 -5
- package/dist/components/search-field/index.js +4 -4
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/select-indicator.d.cts +1 -1
- package/dist/components/select/select-indicator.d.ts +1 -1
- package/dist/components/skeleton/skeleton.type.d.cts +1 -1
- package/dist/components/skeleton/skeleton.type.d.ts +1 -1
- package/dist/components/slide-button/index.cjs +30 -0
- package/dist/components/slide-button/index.d.cts +44 -0
- package/dist/components/slide-button/index.d.ts +44 -0
- package/dist/components/slide-button/index.js +30 -0
- package/dist/components/slide-button/slide-button-fill.d.cts +29 -0
- package/dist/components/slide-button/slide-button-fill.d.ts +29 -0
- package/dist/components/slide-button/slide-button-icon.d.cts +10 -0
- package/dist/components/slide-button/slide-button-icon.d.ts +10 -0
- package/dist/components/slide-button/slide-button-label.d.cts +20 -0
- package/dist/components/slide-button/slide-button-label.d.ts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.cts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.ts +20 -0
- package/dist/components/slide-button/slide-button.animation.d.cts +33 -0
- package/dist/components/slide-button/slide-button.animation.d.ts +33 -0
- package/dist/components/slide-button/slide-button.context.d.cts +7 -0
- package/dist/components/slide-button/slide-button.context.d.ts +7 -0
- package/dist/components/slide-button/slide-button.d.cts +56 -0
- package/dist/components/slide-button/slide-button.d.ts +56 -0
- package/dist/components/slide-button/slide-button.recipe.d.cts +31 -0
- package/dist/components/slide-button/slide-button.recipe.d.ts +31 -0
- package/dist/components/slide-button/slide-button.type.d.cts +79 -0
- package/dist/components/slide-button/slide-button.type.d.ts +79 -0
- package/dist/components/slider/slider-thumb.d.cts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +1 -1
- package/dist/components/slider/slider.recipe.d.cts +1 -1
- package/dist/components/slider/slider.recipe.d.ts +1 -1
- package/dist/components/spinner/spinner.d.cts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/switch/switch.style.d.cts +1 -1
- package/dist/components/switch/switch.style.d.ts +1 -1
- package/dist/components/table/index.cjs +3 -3
- package/dist/components/table/index.js +2 -2
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-area/text-area.d.cts +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/components/text-field/index.cjs +3 -3
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/text-field/text-field.type.d.cts +4 -4
- package/dist/components/text-field/text-field.type.d.ts +4 -4
- package/dist/components/time-picker/index.cjs +4 -4
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/toast/index.cjs +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/toast.animation.d.cts +2 -2
- package/dist/components/toast/toast.animation.d.ts +2 -2
- package/dist/components/toast/toast.utils.d.cts +1 -1
- package/dist/components/toast/toast.utils.d.ts +1 -1
- package/dist/components/typography/typography.type.d.cts +1 -1
- package/dist/components/typography/typography.type.d.ts +1 -1
- package/dist/hooks/use-rotation.d.cts +1 -1
- package/dist/hooks/use-rotation.d.ts +1 -1
- package/dist/index.cjs +56 -38
- package/dist/index.js +64 -46
- package/dist/system/anchored/indicator-spring.d.cts +2 -2
- package/dist/system/anchored/indicator-spring.d.ts +2 -2
- package/dist/theme/derive-colors.d.cts +1 -1
- package/dist/theme/derive-colors.d.ts +1 -1
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +1 -1
- package/package.json +11 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TextSpan,
|
|
3
|
+
Typography,
|
|
4
|
+
typographyRecipe
|
|
5
|
+
} from "./chunk-3VJQDSII.js";
|
|
1
6
|
import {
|
|
2
7
|
Column,
|
|
3
8
|
Grid,
|
|
@@ -40,11 +45,23 @@ import {
|
|
|
40
45
|
primitives,
|
|
41
46
|
sourceKeys,
|
|
42
47
|
tokens
|
|
43
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-V7YT4SDX.js";
|
|
49
|
+
import {
|
|
50
|
+
TagGroup,
|
|
51
|
+
TagGroupItem,
|
|
52
|
+
TagGroupItemLabel,
|
|
53
|
+
TagGroupItemRemoveButton,
|
|
54
|
+
TagGroupList,
|
|
55
|
+
TagGroupRoot,
|
|
56
|
+
nextSelection,
|
|
57
|
+
tagGroupRecipe,
|
|
58
|
+
useTagGroup,
|
|
59
|
+
useTagGroupItem
|
|
60
|
+
} from "./chunk-XM4IN4Q6.js";
|
|
44
61
|
import {
|
|
45
62
|
TextArea,
|
|
46
63
|
useTextArea
|
|
47
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3VMKOQXH.js";
|
|
48
65
|
import {
|
|
49
66
|
Timeline,
|
|
50
67
|
TimelineConnector,
|
|
@@ -77,12 +94,17 @@ import {
|
|
|
77
94
|
toastRecipe,
|
|
78
95
|
useToast,
|
|
79
96
|
useToastContext
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
97
|
+
} from "./chunk-IVELCJEN.js";
|
|
98
|
+
import {
|
|
99
|
+
SlideButton,
|
|
100
|
+
SlideButtonFill,
|
|
101
|
+
SlideButtonIcon,
|
|
102
|
+
SlideButtonLabel,
|
|
103
|
+
SlideButtonRoot,
|
|
104
|
+
SlideButtonThumb,
|
|
105
|
+
slideButtonRecipe,
|
|
106
|
+
useSlideButton
|
|
107
|
+
} from "./chunk-SVS726BW.js";
|
|
86
108
|
import {
|
|
87
109
|
Slider,
|
|
88
110
|
SliderFill,
|
|
@@ -129,19 +151,7 @@ import {
|
|
|
129
151
|
tableRecipe,
|
|
130
152
|
useTable,
|
|
131
153
|
useTableRow
|
|
132
|
-
} from "./chunk-
|
|
133
|
-
import {
|
|
134
|
-
TagGroup,
|
|
135
|
-
TagGroupItem,
|
|
136
|
-
TagGroupItemLabel,
|
|
137
|
-
TagGroupItemRemoveButton,
|
|
138
|
-
TagGroupList,
|
|
139
|
-
TagGroupRoot,
|
|
140
|
-
nextSelection,
|
|
141
|
-
tagGroupRecipe,
|
|
142
|
-
useTagGroup,
|
|
143
|
-
useTagGroupItem
|
|
144
|
-
} from "./chunk-XM4IN4Q6.js";
|
|
154
|
+
} from "./chunk-356DND54.js";
|
|
145
155
|
import {
|
|
146
156
|
Radio,
|
|
147
157
|
RadioGroup,
|
|
@@ -169,7 +179,7 @@ import {
|
|
|
169
179
|
SearchIcon,
|
|
170
180
|
searchFieldRecipe,
|
|
171
181
|
useSearchField
|
|
172
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-ES7RME6G.js";
|
|
173
183
|
import {
|
|
174
184
|
CheckIcon,
|
|
175
185
|
Select,
|
|
@@ -186,7 +196,7 @@ import {
|
|
|
186
196
|
SelectValue,
|
|
187
197
|
useSelect,
|
|
188
198
|
useSelectItem
|
|
189
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-Z2KK5W7P.js";
|
|
190
200
|
import {
|
|
191
201
|
Snackbar,
|
|
192
202
|
SnackbarAction,
|
|
@@ -237,7 +247,7 @@ import {
|
|
|
237
247
|
PopoverTrigger,
|
|
238
248
|
popoverRecipe,
|
|
239
249
|
usePopover
|
|
240
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-BH4IN6H6.js";
|
|
241
251
|
import {
|
|
242
252
|
ProgressBar,
|
|
243
253
|
ProgressBarFill,
|
|
@@ -294,7 +304,7 @@ import {
|
|
|
294
304
|
parseMaskedTime,
|
|
295
305
|
resolveMask,
|
|
296
306
|
useMaskField
|
|
297
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-KZZWNDDO.js";
|
|
298
308
|
import {
|
|
299
309
|
Menu,
|
|
300
310
|
Menu2,
|
|
@@ -311,7 +321,7 @@ import {
|
|
|
311
321
|
menuRecipe,
|
|
312
322
|
useMenu,
|
|
313
323
|
useMenuItem
|
|
314
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-TNFLBURM.js";
|
|
315
325
|
import {
|
|
316
326
|
MORPH_SPRING,
|
|
317
327
|
MorphButton,
|
|
@@ -333,7 +343,7 @@ import {
|
|
|
333
343
|
NumberFieldRoot,
|
|
334
344
|
numberFieldRecipe,
|
|
335
345
|
useNumberField
|
|
336
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-VTGWFZCA.js";
|
|
337
347
|
import {
|
|
338
348
|
canStep,
|
|
339
349
|
clampNumber,
|
|
@@ -438,7 +448,7 @@ import {
|
|
|
438
448
|
Chip,
|
|
439
449
|
chipRecipe,
|
|
440
450
|
useChip
|
|
441
|
-
} from "./chunk-
|
|
451
|
+
} from "./chunk-VL2ZT4BB.js";
|
|
442
452
|
import {
|
|
443
453
|
CloseButton,
|
|
444
454
|
closeButtonRecipe
|
|
@@ -455,7 +465,7 @@ import {
|
|
|
455
465
|
TAILWIND_PALETTE,
|
|
456
466
|
colorPickerRecipe,
|
|
457
467
|
useColorPicker
|
|
458
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-ZBY7Q7WJ.js";
|
|
459
469
|
import {
|
|
460
470
|
DummyField,
|
|
461
471
|
DummyFieldDescription,
|
|
@@ -466,7 +476,7 @@ import {
|
|
|
466
476
|
DummyFieldRoot,
|
|
467
477
|
DummyFieldValue,
|
|
468
478
|
useDummyField
|
|
469
|
-
} from "./chunk-
|
|
479
|
+
} from "./chunk-MXSIY6QQ.js";
|
|
470
480
|
import {
|
|
471
481
|
FieldGroup,
|
|
472
482
|
FieldGroupField,
|
|
@@ -477,7 +487,7 @@ import {
|
|
|
477
487
|
decoratorPadding,
|
|
478
488
|
useFieldGroup,
|
|
479
489
|
useOptionalFieldGroup
|
|
480
|
-
} from "./chunk-
|
|
490
|
+
} from "./chunk-MZUYTCCB.js";
|
|
481
491
|
import {
|
|
482
492
|
TextField,
|
|
483
493
|
TextFieldDescription,
|
|
@@ -486,14 +496,14 @@ import {
|
|
|
486
496
|
TextFieldLabel,
|
|
487
497
|
TextFieldRoot,
|
|
488
498
|
useTextField
|
|
489
|
-
} from "./chunk-
|
|
499
|
+
} from "./chunk-JYV53WUN.js";
|
|
490
500
|
import {
|
|
491
501
|
Combobox,
|
|
492
502
|
ComboboxIndicator,
|
|
493
503
|
ComboboxInput,
|
|
494
504
|
ComboboxRoot,
|
|
495
505
|
ComboboxTrigger
|
|
496
|
-
} from "./chunk-
|
|
506
|
+
} from "./chunk-EXONAJUX.js";
|
|
497
507
|
import {
|
|
498
508
|
CalendarGlyphIcon,
|
|
499
509
|
DatePicker,
|
|
@@ -510,11 +520,11 @@ import {
|
|
|
510
520
|
DatePickerValue,
|
|
511
521
|
datePickerRecipe,
|
|
512
522
|
useDatePicker
|
|
513
|
-
} from "./chunk-
|
|
523
|
+
} from "./chunk-L6EWRWTE.js";
|
|
514
524
|
import {
|
|
515
525
|
FIELD_GLYPH_SIZES,
|
|
516
526
|
textFieldRecipe
|
|
517
|
-
} from "./chunk-
|
|
527
|
+
} from "./chunk-NTVPLDJC.js";
|
|
518
528
|
import {
|
|
519
529
|
DateRangePicker,
|
|
520
530
|
DateRangePicker2,
|
|
@@ -524,7 +534,7 @@ import {
|
|
|
524
534
|
DateRangePickerTrigger,
|
|
525
535
|
DateRangePickerValue,
|
|
526
536
|
useDateRangePicker
|
|
527
|
-
} from "./chunk-
|
|
537
|
+
} from "./chunk-SRY3HKSC.js";
|
|
528
538
|
import {
|
|
529
539
|
RangeCalendar,
|
|
530
540
|
RangeCalendarDay,
|
|
@@ -544,7 +554,7 @@ import {
|
|
|
544
554
|
DateTimePickerTrigger,
|
|
545
555
|
DateTimePickerValue,
|
|
546
556
|
useDateTimePicker
|
|
547
|
-
} from "./chunk-
|
|
557
|
+
} from "./chunk-GKXOHUEW.js";
|
|
548
558
|
import {
|
|
549
559
|
TimePicker,
|
|
550
560
|
TimePicker2,
|
|
@@ -556,7 +566,7 @@ import {
|
|
|
556
566
|
TimePickerValue,
|
|
557
567
|
timePickerRecipe,
|
|
558
568
|
useTimePicker
|
|
559
|
-
} from "./chunk-
|
|
569
|
+
} from "./chunk-WMTGDNXU.js";
|
|
560
570
|
import {
|
|
561
571
|
Tabs,
|
|
562
572
|
TabsContent,
|
|
@@ -581,7 +591,7 @@ import {
|
|
|
581
591
|
DialogTrigger,
|
|
582
592
|
dialogRecipe,
|
|
583
593
|
useDialog
|
|
584
|
-
} from "./chunk-
|
|
594
|
+
} from "./chunk-5G36GMFS.js";
|
|
585
595
|
import {
|
|
586
596
|
Badge,
|
|
587
597
|
badgeRecipe,
|
|
@@ -600,7 +610,7 @@ import {
|
|
|
600
610
|
BottomSheetTrigger,
|
|
601
611
|
bottomSheetRecipe,
|
|
602
612
|
useBottomSheet
|
|
603
|
-
} from "./chunk-
|
|
613
|
+
} from "./chunk-LYWXGEED.js";
|
|
604
614
|
import {
|
|
605
615
|
Button,
|
|
606
616
|
buttonRecipe,
|
|
@@ -642,7 +652,7 @@ import {
|
|
|
642
652
|
CheckboxRoot,
|
|
643
653
|
checkboxRecipe,
|
|
644
654
|
useCheckbox
|
|
645
|
-
} from "./chunk-
|
|
655
|
+
} from "./chunk-3BRVAMXQ.js";
|
|
646
656
|
import "./chunk-BTKWPEOF.js";
|
|
647
657
|
import {
|
|
648
658
|
SelectionFill
|
|
@@ -658,7 +668,7 @@ import {
|
|
|
658
668
|
accordionRecipe,
|
|
659
669
|
useAccordion,
|
|
660
670
|
useAccordionItem
|
|
661
|
-
} from "./chunk-
|
|
671
|
+
} from "./chunk-7EPH24S2.js";
|
|
662
672
|
import {
|
|
663
673
|
AgendaCalendar,
|
|
664
674
|
AgendaCalendarDay,
|
|
@@ -697,7 +707,7 @@ import {
|
|
|
697
707
|
Alert,
|
|
698
708
|
alertRecipe,
|
|
699
709
|
useAlert
|
|
700
|
-
} from "./chunk-
|
|
710
|
+
} from "./chunk-HDERVGWZ.js";
|
|
701
711
|
import {
|
|
702
712
|
CloseButtonBase,
|
|
703
713
|
closeButtonGeometry
|
|
@@ -707,12 +717,12 @@ import {
|
|
|
707
717
|
} from "./chunk-3QTXZ44I.js";
|
|
708
718
|
import {
|
|
709
719
|
useAutocomplete
|
|
710
|
-
} from "./chunk-
|
|
720
|
+
} from "./chunk-VQG7K5QE.js";
|
|
711
721
|
import "./chunk-4WCBZFAK.js";
|
|
712
722
|
import "./chunk-Z6FRP4EV.js";
|
|
713
723
|
import {
|
|
714
724
|
selectRecipe
|
|
715
|
-
} from "./chunk-
|
|
725
|
+
} from "./chunk-AMFGATFY.js";
|
|
716
726
|
import {
|
|
717
727
|
Portal,
|
|
718
728
|
PortalContext,
|
|
@@ -761,7 +771,7 @@ import {
|
|
|
761
771
|
Avatar,
|
|
762
772
|
avatarRecipe,
|
|
763
773
|
useAvatar
|
|
764
|
-
} from "./chunk-
|
|
774
|
+
} from "./chunk-ZR5YOCOQ.js";
|
|
765
775
|
import {
|
|
766
776
|
ChevronDownIcon,
|
|
767
777
|
Icon,
|
|
@@ -1148,6 +1158,12 @@ export {
|
|
|
1148
1158
|
SelectValue,
|
|
1149
1159
|
SelectionFill,
|
|
1150
1160
|
Skeleton,
|
|
1161
|
+
SlideButton,
|
|
1162
|
+
SlideButtonFill,
|
|
1163
|
+
SlideButtonIcon,
|
|
1164
|
+
SlideButtonLabel,
|
|
1165
|
+
SlideButtonRoot,
|
|
1166
|
+
SlideButtonThumb,
|
|
1151
1167
|
Slider,
|
|
1152
1168
|
SliderFill,
|
|
1153
1169
|
SliderOutput,
|
|
@@ -1340,6 +1356,7 @@ export {
|
|
|
1340
1356
|
searchFieldRecipe,
|
|
1341
1357
|
selectRecipe,
|
|
1342
1358
|
skeletonRecipe,
|
|
1359
|
+
slideButtonRecipe,
|
|
1343
1360
|
sliderRecipe,
|
|
1344
1361
|
snackbarRecipe,
|
|
1345
1362
|
snap,
|
|
@@ -1424,6 +1441,7 @@ export {
|
|
|
1424
1441
|
useSearchField,
|
|
1425
1442
|
useSelect,
|
|
1426
1443
|
useSelectItem,
|
|
1444
|
+
useSlideButton,
|
|
1427
1445
|
useSlider,
|
|
1428
1446
|
useSnackbar,
|
|
1429
1447
|
useStyleProps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The chevron's turn, shared by the `Select` and the `Accordion`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* The reference implementation's numbers. Heavily damped against a very high stiffness: it arrives in about a
|
|
5
5
|
* fifth of a second and does not overshoot, which is what a turn of 180 degrees needs —
|
|
6
6
|
* an oscillating chevron reads as a bug rather than as motion.
|
|
7
7
|
*/
|
|
@@ -10,5 +10,5 @@ export declare const INDICATOR_SPRING: {
|
|
|
10
10
|
readonly stiffness: 1000;
|
|
11
11
|
readonly mass: 4;
|
|
12
12
|
};
|
|
13
|
-
/** Degrees. Down when closed, up when open, turning anticlockwise as
|
|
13
|
+
/** Degrees. Down when closed, up when open, turning anticlockwise as the reference implementation's does. */
|
|
14
14
|
export declare const INDICATOR_ROTATION: readonly [0, -180];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The chevron's turn, shared by the `Select` and the `Accordion`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* The reference implementation's numbers. Heavily damped against a very high stiffness: it arrives in about a
|
|
5
5
|
* fifth of a second and does not overshoot, which is what a turn of 180 degrees needs —
|
|
6
6
|
* an oscillating chevron reads as a bug rather than as motion.
|
|
7
7
|
*/
|
|
@@ -10,5 +10,5 @@ export declare const INDICATOR_SPRING: {
|
|
|
10
10
|
readonly stiffness: 1000;
|
|
11
11
|
readonly mass: 4;
|
|
12
12
|
};
|
|
13
|
-
/** Degrees. Down when closed, up when open, turning anticlockwise as
|
|
13
|
+
/** Degrees. Down when closed, up when open, turning anticlockwise as the reference implementation's does. */
|
|
14
14
|
export declare const INDICATOR_ROTATION: readonly [0, -180];
|
|
@@ -3,7 +3,7 @@ import type { XAUIDerivedColors, XAUISourceColors } from './theme.type';
|
|
|
3
3
|
* The derived layer: ~30 tokens computed from the source layer, never written by hand.
|
|
4
4
|
* Override `accent` and `accentPressed`, `accentSoft`, `accentSoftForeground` follow.
|
|
5
5
|
*
|
|
6
|
-
* These are
|
|
6
|
+
* These are the reference implementation's `color-mix(in oklab, …)` formulas transposed to JS, because React
|
|
7
7
|
* Native has no `color-mix()`. Their `-hover` names became `-pressed`: what they feed is
|
|
8
8
|
* the press overlay, and the web name was a leftover.
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@ import type { XAUIDerivedColors, XAUISourceColors } from './theme.type';
|
|
|
3
3
|
* The derived layer: ~30 tokens computed from the source layer, never written by hand.
|
|
4
4
|
* Override `accent` and `accentPressed`, `accentSoft`, `accentSoftForeground` follow.
|
|
5
5
|
*
|
|
6
|
-
* These are
|
|
6
|
+
* These are the reference implementation's `color-mix(in oklab, …)` formulas transposed to JS, because React
|
|
7
7
|
* Native has no `color-mix()`. Their `-hover` names became `-pressed`: what they feed is
|
|
8
8
|
* the press overlay, and the web name was a leftover.
|
|
9
9
|
*
|
package/dist/theme/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk5CXOSDFIcjs = require('../chunk-5CXOSDFI.cjs');
|
|
13
13
|
require('../chunk-WDDXU3OH.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -41,4 +41,4 @@ require('../chunk-TK44VBIE.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.ThemeContext = _chunkIIAQISBGcjs.ThemeContext; exports.XAUIProvider =
|
|
44
|
+
exports.ThemeContext = _chunkIIAQISBGcjs.ThemeContext; exports.XAUIProvider = _chunk5CXOSDFIcjs.XAUIProvider; exports.appearanceFor = _chunkIIAQISBGcjs.appearanceFor; exports.buildRadius = _chunk5CXOSDFIcjs.buildRadius; exports.buildShadows = _chunk5CXOSDFIcjs.buildShadows; exports.createTheme = _chunk5CXOSDFIcjs.createTheme; exports.defaultTheme = _chunk5CXOSDFIcjs.defaultTheme; exports.deriveColors = _chunk5CXOSDFIcjs.deriveColors; exports.deriveTint = _chunkTVJXC4HYcjs.deriveTint; exports.palette = _chunk5CXOSDFIcjs.palette; exports.primitives = _chunk5CXOSDFIcjs.primitives; exports.sourceKeys = _chunk5CXOSDFIcjs.sourceKeys; exports.tokens = _chunk5CXOSDFIcjs.tokens; exports.useAppearance = _chunkIIAQISBGcjs.useAppearance; exports.useColorMode = _chunkIIAQISBGcjs.useColorMode; exports.useThemeColor = _chunkIIAQISBGcjs.useThemeColor; exports.useXAUITheme = _chunkIIAQISBGcjs.useXAUITheme;
|
package/dist/theme/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaui/native",
|
|
3
|
-
"version": "0.9.1-beta.
|
|
3
|
+
"version": "0.9.1-beta.97",
|
|
4
4
|
"description": "Composition-first React Native UI components with native animations powered by Reanimated",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -547,6 +547,16 @@
|
|
|
547
547
|
"default": "./dist/components/skeleton/index.cjs"
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
|
+
"./slide-button": {
|
|
551
|
+
"import": {
|
|
552
|
+
"types": "./dist/components/slide-button/index.d.ts",
|
|
553
|
+
"default": "./dist/components/slide-button/index.js"
|
|
554
|
+
},
|
|
555
|
+
"require": {
|
|
556
|
+
"types": "./dist/components/slide-button/index.d.cts",
|
|
557
|
+
"default": "./dist/components/slide-button/index.cjs"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
550
560
|
"./slider": {
|
|
551
561
|
"import": {
|
|
552
562
|
"types": "./dist/components/slider/index.d.ts",
|