@xaui/native 0.9.1-alpha.29 → 0.9.1-alpha.30
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-XYFMSRNJ.js → chunk-27ZRTZEE.js} +14 -10
- package/dist/{chunk-ICR42HHG.js → chunk-3FV4COTM.js} +3 -3
- package/dist/chunk-423RQBOX.js +21 -0
- package/dist/{chunk-TFNB2PNI.cjs → chunk-4XPLPQLM.cjs} +13 -11
- package/dist/{chunk-APONC4DB.cjs → chunk-5GO7MAVY.cjs} +12 -10
- package/dist/{chunk-AQNWXJYV.cjs → chunk-5RQ7AZPN.cjs} +20 -16
- package/dist/{chunk-FFEUGWVA.cjs → chunk-5Z4P6WHR.cjs} +11 -9
- package/dist/{chunk-L3Q5TVYE.js → chunk-6RVCGLKZ.js} +60 -58
- package/dist/chunk-7DPL3ZDS.cjs +21 -0
- package/dist/{chunk-Y4BPKSD3.js → chunk-7SEZGVTY.js} +1 -1
- package/dist/chunk-7XKQJQF2.cjs +70 -0
- package/dist/{chunk-7BOFQN2G.js → chunk-A5OCK3C2.js} +7 -5
- package/dist/{chunk-4HELPMAK.js → chunk-BFMTUMTU.js} +81 -101
- package/dist/chunk-BVJQ3UPZ.js +62 -0
- package/dist/{chunk-NG4GFBDR.js → chunk-DFME724B.js} +8 -6
- package/dist/chunk-E2CWBQTV.js +119 -0
- package/dist/chunk-E4TS6632.cjs +314 -0
- package/dist/{chunk-VUEDYW3M.js → chunk-FMZQW35T.js} +15 -11
- package/dist/{chunk-OYZYWWJ6.js → chunk-G7K652GC.js} +4 -2
- package/dist/{chunk-YGOXQSNU.js → chunk-GI24YJPE.js} +100 -206
- package/dist/chunk-GLGU2WFL.cjs +190 -0
- package/dist/{chunk-IG4Q3WQO.cjs → chunk-GPVNCJ3Z.cjs} +74 -95
- package/dist/{chunk-D4SOU26X.js → chunk-GVQOD3VW.js} +5 -3
- package/dist/chunk-KOC3KQIT.js +124 -0
- package/dist/chunk-KPWZLUES.cjs +124 -0
- package/dist/{chunk-SVRZJEDU.cjs → chunk-KWCHSIMI.cjs} +16 -12
- package/dist/{chunk-GCU5A5MM.cjs → chunk-N527BTY4.cjs} +17 -15
- package/dist/{chunk-F3H4TXAY.cjs → chunk-NBFWWQFW.cjs} +16 -12
- package/dist/{chunk-HOIQRGSK.js → chunk-NYRXUGVL.js} +6 -4
- package/dist/{chunk-V56334S3.js → chunk-Q3WFY5N3.js} +9 -7
- package/dist/{chunk-FXHRNUCS.cjs → chunk-QGN2BBJO.cjs} +8 -6
- package/dist/{chunk-J2JJLKLG.cjs → chunk-TGZZ3RZU.cjs} +7 -5
- package/dist/{chunk-YWBTIWT5.cjs → chunk-UBQLKIZC.cjs} +22 -18
- package/dist/{chunk-PMO62QK4.js → chunk-URSKA2VR.js} +1 -114
- package/dist/{chunk-A4RGJBP2.js → chunk-V4WDMM6Z.js} +5 -3
- package/dist/{chunk-FDSQOPJH.js → chunk-VJEER76X.js} +11 -7
- package/dist/{chunk-O5KDIEDH.cjs → chunk-VZBWYWEI.cjs} +25 -24
- package/dist/{chunk-B4W2XNBP.cjs → chunk-WR7YLDVV.cjs} +3 -3
- package/dist/{chunk-5RFRASSB.js → chunk-X4HQ4H2V.js} +16 -15
- package/dist/{chunk-IBEX4XGV.cjs → chunk-XFSW3ZNI.cjs} +13 -11
- package/dist/{chunk-VZGBEGDV.cjs → chunk-XQFAUDR2.cjs} +2 -2
- package/dist/{chunk-V3KS5PPK.js → chunk-YKL6XHM6.js} +14 -10
- package/dist/{chunk-HUZ4AUM2.cjs → chunk-ZP2E2H2G.cjs} +4 -188
- package/dist/{chunk-RZC4VFB5.cjs → chunk-ZSLNGBDS.cjs} +68 -66
- package/dist/components/alert/index.cjs +8 -6
- package/dist/components/alert/index.d.cts +2 -2
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/alert/index.js +7 -5
- package/dist/components/button/index.cjs +9 -5
- package/dist/components/button/index.d.cts +9 -4
- package/dist/components/button/index.d.ts +9 -4
- package/dist/components/button/index.js +8 -4
- package/dist/components/card/index.cjs +6 -4
- package/dist/components/card/index.d.cts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +5 -3
- package/dist/components/checkbox/index.cjs +7 -5
- package/dist/components/checkbox/index.d.cts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +6 -4
- package/dist/components/chip/index.cjs +8 -6
- package/dist/components/chip/index.d.cts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/index.js +7 -5
- package/dist/components/input/index.cjs +4 -3
- package/dist/components/input/index.d.cts +1 -1
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/index.js +3 -2
- package/dist/components/input-group/index.cjs +6 -5
- package/dist/components/input-group/index.d.cts +1 -1
- package/dist/components/input-group/index.d.ts +1 -1
- package/dist/components/input-group/index.js +5 -4
- package/dist/components/input-otp/index.cjs +4 -3
- package/dist/components/input-otp/index.d.cts +2 -2
- package/dist/components/input-otp/index.d.ts +2 -2
- package/dist/components/input-otp/index.js +3 -2
- package/dist/components/radio/index.cjs +7 -5
- package/dist/components/radio/index.d.cts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio/index.js +6 -4
- package/dist/components/spinner/index.cjs +16 -0
- package/dist/components/spinner/index.d.cts +104 -0
- package/dist/components/spinner/index.d.ts +104 -0
- package/dist/components/spinner/index.js +16 -0
- package/dist/components/switch/index.cjs +6 -4
- package/dist/components/switch/index.d.cts +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +5 -3
- package/dist/components/text-area/index.cjs +5 -4
- package/dist/components/text-area/index.js +4 -3
- package/dist/components/typography/index.cjs +4 -3
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +3 -2
- package/dist/components/view/index.cjs +4 -3
- package/dist/components/view/index.js +3 -2
- package/dist/{create-recipe-DUo8doTt.d.ts → create-recipe-BdVd2ffi.d.ts} +1 -1
- package/dist/{create-recipe-CWvI5ot3.d.cts → create-recipe-dC7wMfnj.d.cts} +1 -1
- package/dist/{icon.type-Dq4_qePa.d.ts → icon.type-Kml72iSz.d.ts} +1 -1
- package/dist/{icon.type-CF4KiMKl.d.cts → icon.type-d_i9ma-i.d.cts} +1 -1
- package/dist/index.cjs +39 -37
- package/dist/index.d.cts +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +73 -71
- package/dist/system/index.cjs +11 -8
- package/dist/system/index.d.cts +4 -4
- package/dist/system/index.d.ts +4 -4
- package/dist/system/index.js +11 -8
- package/package.json +11 -1
- package/dist/chunk-E25JH7W2.cjs +0 -456
package/dist/index.cjs
CHANGED
|
@@ -8,97 +8,97 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var _chunkO5KDIEDHcjs = require('./chunk-O5KDIEDH.cjs');
|
|
12
11
|
|
|
12
|
+
var _chunkOHEHPQLCcjs = require('./chunk-OHEHPQLC.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var _chunkSVRZJEDUcjs = require('./chunk-SVRZJEDU.cjs');
|
|
20
19
|
|
|
20
|
+
var _chunkKWCHSIMIcjs = require('./chunk-KWCHSIMI.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
var _chunkKPWZLUEScjs = require('./chunk-KPWZLUES.cjs');
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
var _chunkRZC4VFB5cjs = require('./chunk-RZC4VFB5.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var _chunkAPONC4DBcjs = require('./chunk-APONC4DB.cjs');
|
|
33
32
|
|
|
33
|
+
var _chunkZSLNGBDScjs = require('./chunk-ZSLNGBDS.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunk5GO7MAVYcjs = require('./chunk-5GO7MAVY.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
+
var _chunkQGN2BBJOcjs = require('./chunk-QGN2BBJO.cjs');
|
|
42
43
|
|
|
43
44
|
|
|
44
|
-
var _chunkIBEX4XGVcjs = require('./chunk-IBEX4XGV.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkXFSW3ZNIcjs = require('./chunk-XFSW3ZNI.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
var _chunkXQFAUDR2cjs = require('./chunk-XQFAUDR2.cjs');
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
|
|
59
|
+
var _chunkN527BTY4cjs = require('./chunk-N527BTY4.cjs');
|
|
58
60
|
|
|
59
61
|
|
|
60
62
|
|
|
61
|
-
var _chunkOHEHPQLCcjs = require('./chunk-OHEHPQLC.cjs');
|
|
62
63
|
|
|
64
|
+
var _chunkE4TS6632cjs = require('./chunk-E4TS6632.cjs');
|
|
63
65
|
|
|
64
66
|
|
|
65
67
|
|
|
66
|
-
var _chunkGCU5A5MMcjs = require('./chunk-GCU5A5MM.cjs');
|
|
67
68
|
|
|
68
69
|
|
|
70
|
+
var _chunk7XKQJQF2cjs = require('./chunk-7XKQJQF2.cjs');
|
|
69
71
|
|
|
70
72
|
|
|
71
|
-
var _chunkE25JH7W2cjs = require('./chunk-E25JH7W2.cjs');
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
|
|
75
76
|
|
|
77
|
+
var _chunk5RQ7AZPNcjs = require('./chunk-5RQ7AZPN.cjs');
|
|
76
78
|
|
|
77
79
|
|
|
78
|
-
var _chunkAQNWXJYVcjs = require('./chunk-AQNWXJYV.cjs');
|
|
79
80
|
|
|
80
81
|
|
|
81
82
|
|
|
82
83
|
|
|
83
84
|
|
|
85
|
+
var _chunkNBFWWQFWcjs = require('./chunk-NBFWWQFW.cjs');
|
|
84
86
|
|
|
85
87
|
|
|
86
|
-
var
|
|
88
|
+
var _chunkF6CQ6CBIcjs = require('./chunk-F6CQ6CBI.cjs');
|
|
87
89
|
|
|
88
90
|
|
|
89
|
-
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
90
91
|
|
|
91
92
|
|
|
92
|
-
var
|
|
93
|
+
var _chunkUBQLKIZCcjs = require('./chunk-UBQLKIZC.cjs');
|
|
93
94
|
|
|
94
95
|
|
|
95
96
|
|
|
97
|
+
var _chunkTGZZ3RZUcjs = require('./chunk-TGZZ3RZU.cjs');
|
|
96
98
|
|
|
97
|
-
var _chunkYWBTIWT5cjs = require('./chunk-YWBTIWT5.cjs');
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
|
|
101
|
-
var _chunkJ2JJLKLGcjs = require('./chunk-J2JJLKLG.cjs');
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
@@ -116,50 +116,54 @@ var _chunkJ2JJLKLGcjs = require('./chunk-J2JJLKLG.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
|
|
119
120
|
|
|
120
121
|
|
|
122
|
+
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
121
123
|
|
|
122
124
|
|
|
123
125
|
|
|
124
|
-
var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
|
|
125
|
-
require('./chunk-EJQCQPET.cjs');
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
+
var _chunk4XPLPQLMcjs = require('./chunk-4XPLPQLM.cjs');
|
|
132
133
|
|
|
133
134
|
|
|
134
135
|
|
|
135
|
-
var _chunkTFNB2PNIcjs = require('./chunk-TFNB2PNI.cjs');
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
|
|
141
140
|
|
|
142
141
|
|
|
142
|
+
var _chunk5Z4P6WHRcjs = require('./chunk-5Z4P6WHR.cjs');
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
var _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
|
|
147
148
|
|
|
148
149
|
|
|
149
150
|
|
|
150
|
-
var _chunkFFEUGWVAcjs = require('./chunk-FFEUGWVA.cjs');
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
155
154
|
|
|
156
155
|
|
|
157
156
|
|
|
158
157
|
|
|
158
|
+
var _chunkVZBWYWEIcjs = require('./chunk-VZBWYWEI.cjs');
|
|
159
159
|
|
|
160
160
|
|
|
161
|
+
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
162
|
+
require('./chunk-EJQCQPET.cjs');
|
|
161
163
|
|
|
162
|
-
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
163
167
|
|
|
164
168
|
|
|
165
169
|
|
|
@@ -167,23 +171,20 @@ var _chunkHUZ4AUM2cjs = require('./chunk-HUZ4AUM2.cjs');
|
|
|
167
171
|
|
|
168
172
|
|
|
169
173
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
|
|
170
184
|
require('./chunk-MC7SY2QH.cjs');
|
|
171
185
|
|
|
172
|
-
// src/hooks/use-merged-ref.ts
|
|
173
|
-
var _react = require('react');
|
|
174
|
-
function useMergedRef(...refs) {
|
|
175
|
-
return _react.useMemo.call(void 0, () => _chunkHUZ4AUM2cjs.mergeRefs.call(void 0, ...refs), refs);
|
|
176
|
-
}
|
|
177
186
|
|
|
178
|
-
// src/hooks/use-previous.ts
|
|
179
187
|
|
|
180
|
-
function usePrevious(value) {
|
|
181
|
-
const previous = _react.useRef.call(void 0, void 0);
|
|
182
|
-
_react.useEffect.call(void 0, () => {
|
|
183
|
-
previous.current = value;
|
|
184
|
-
}, [value]);
|
|
185
|
-
return previous.current;
|
|
186
|
-
}
|
|
187
188
|
|
|
188
189
|
|
|
189
190
|
|
|
@@ -309,4 +310,5 @@ function usePrevious(value) {
|
|
|
309
310
|
|
|
310
311
|
|
|
311
312
|
|
|
312
|
-
|
|
313
|
+
|
|
314
|
+
exports.Alert = _chunkN527BTY4cjs.Alert; exports.Button = _chunkE4TS6632cjs.Button; exports.CARD_BACKGROUND = _chunk5RQ7AZPNcjs.CARD_BACKGROUND; exports.Card = _chunk5RQ7AZPNcjs.Card; exports.Checkbox = _chunkNBFWWQFWcjs.Checkbox; exports.CheckboxIndicator = _chunkNBFWWQFWcjs.CheckboxIndicator; exports.CheckboxLabel = _chunkNBFWWQFWcjs.CheckboxLabel; exports.CheckboxRoot = _chunkNBFWWQFWcjs.CheckboxRoot; exports.Chip = _chunkUBQLKIZCcjs.Chip; exports.CloseButton = _chunkTGZZ3RZUcjs.CloseButton; exports.Column = _chunkXFSW3ZNIcjs.Column; exports.FEEDBACK_OVERLAY = _chunkGPVNCJ3Zcjs.FEEDBACK_OVERLAY; exports.Grid = _chunkXFSW3ZNIcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkGPVNCJ3Zcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkGPVNCJ3Zcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkWR7YLDVVcjs.Icon; exports.IconContext = _chunkWR7YLDVVcjs.IconContext; exports.Input = _chunk5Z4P6WHRcjs.Input; exports.InputDescription = _chunk5Z4P6WHRcjs.InputDescription; exports.InputError = _chunk5Z4P6WHRcjs.InputError; exports.InputField = _chunk5Z4P6WHRcjs.InputField; exports.InputGroup = _chunk4XPLPQLMcjs.InputGroup; exports.InputGroupField = _chunk4XPLPQLMcjs.InputGroupField; exports.InputGroupIcon = _chunk4XPLPQLMcjs.InputGroupIcon; exports.InputGroupPrefix = _chunk4XPLPQLMcjs.InputGroupPrefix; exports.InputGroupRoot = _chunk4XPLPQLMcjs.InputGroupRoot; exports.InputGroupSuffix = _chunk4XPLPQLMcjs.InputGroupSuffix; exports.InputLabel = _chunk5Z4P6WHRcjs.InputLabel; exports.InputOTP = _chunkVZBWYWEIcjs.InputOTP; exports.InputRoot = _chunk5Z4P6WHRcjs.InputRoot; exports.OTP_ALPHANUMERIC = _chunkVZBWYWEIcjs.OTP_ALPHANUMERIC; exports.OTP_DIGITS = _chunkVZBWYWEIcjs.OTP_DIGITS; exports.OTP_LETTERS = _chunkVZBWYWEIcjs.OTP_LETTERS; exports.PRESS_DURATION = _chunkGPVNCJ3Zcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkGPVNCJ3Zcjs.PRESS_SCALE; exports.Portal = _chunkXQFAUDR2cjs.Portal; exports.PortalContext = _chunkXQFAUDR2cjs.PortalContext; exports.PortalHost = _chunkXQFAUDR2cjs.PortalHost; exports.PressableFeedback = _chunkGPVNCJ3Zcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkGPVNCJ3Zcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkGPVNCJ3Zcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkGPVNCJ3Zcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkGPVNCJ3Zcjs.RIPPLE_START_SCALE; exports.ROTATION_DURATION = _chunk7XKQJQF2cjs.ROTATION_DURATION; exports.Radio = _chunkKWCHSIMIcjs.Radio; exports.RadioIndicator = _chunkKWCHSIMIcjs.RadioIndicator; exports.RadioLabel = _chunkKWCHSIMIcjs.RadioLabel; exports.RadioRoot = _chunkKWCHSIMIcjs.RadioRoot; exports.Row = _chunkXFSW3ZNIcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkGPVNCJ3Zcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunkZP2E2H2Gcjs.Slot; exports.Spinner = _chunkKPWZLUEScjs.Spinner; exports.Stack = _chunkXFSW3ZNIcjs.Stack; exports.Switch = _chunkZSLNGBDScjs.Switch; exports.SwitchLabel = _chunkZSLNGBDScjs.SwitchLabel; exports.SwitchRoot = _chunkZSLNGBDScjs.SwitchRoot; exports.SwitchThumb = _chunkZSLNGBDScjs.SwitchThumb; exports.SwitchTrack = _chunkZSLNGBDScjs.SwitchTrack; exports.TextArea = _chunk5GO7MAVYcjs.TextArea; exports.TextSpan = _chunkQGN2BBJOcjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkQGN2BBJOcjs.Typography; exports.XAUIProvider = _chunkOHEHPQLCcjs.XAUIProvider; exports.alertRecipe = _chunkN527BTY4cjs.alertRecipe; exports.buildRadius = _chunkOHEHPQLCcjs.buildRadius; exports.buildShadows = _chunkOHEHPQLCcjs.buildShadows; exports.buildSlots = _chunkVZBWYWEIcjs.buildSlots; exports.buttonRecipe = _chunkE4TS6632cjs.buttonRecipe; exports.cardRecipe = _chunk5RQ7AZPNcjs.cardRecipe; exports.checkboxRecipe = _chunkNBFWWQFWcjs.checkboxRecipe; exports.childrenToString = _chunkZP2E2H2Gcjs.childrenToString; exports.chipRecipe = _chunkUBQLKIZCcjs.chipRecipe; exports.closeButtonBase = _chunkTGZZ3RZUcjs.closeButtonBase; exports.createRecipe = _chunkFNEUOBCVcjs.createRecipe; exports.createSlotContext = _chunkZP2E2H2Gcjs.createSlotContext; exports.createTheme = _chunkOHEHPQLCcjs.createTheme; exports.decoratorPadding = _chunk4XPLPQLMcjs.decoratorPadding; exports.defaultTheme = _chunkOHEHPQLCcjs.defaultTheme; exports.deriveColors = _chunkOHEHPQLCcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.extractPastedCode = _chunkVZBWYWEIcjs.extractPastedCode; exports.inputOTPRecipe = _chunkVZBWYWEIcjs.inputOTPRecipe; exports.inputRecipe = _chunk5Z4P6WHRcjs.inputRecipe; exports.markBackground = _chunk5RQ7AZPNcjs.markBackground; exports.markOverlay = _chunkGPVNCJ3Zcjs.markOverlay; exports.mergeProps = _chunkZP2E2H2Gcjs.mergeProps; exports.mergeRefs = _chunkGLGU2WFLcjs.mergeRefs; exports.palette = _chunkOHEHPQLCcjs.palette; exports.pressScaleFor = _chunkGPVNCJ3Zcjs.pressScaleFor; exports.primitives = _chunkOHEHPQLCcjs.primitives; exports.radioRecipe = _chunkKWCHSIMIcjs.radioRecipe; exports.radiusAxis = _chunkFNEUOBCVcjs.radiusAxis; exports.resolveAnimation = _chunkGPVNCJ3Zcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkGPVNCJ3Zcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkGPVNCJ3Zcjs.rippleRadiusFor; exports.sourceKeys = _chunkOHEHPQLCcjs.sourceKeys; exports.spinnerRecipe = _chunkKPWZLUEScjs.spinnerRecipe; exports.switchRecipe = _chunkZSLNGBDScjs.switchRecipe; exports.tokens = _chunkOHEHPQLCcjs.tokens; exports.typographyRecipe = _chunkQGN2BBJOcjs.typographyRecipe; exports.useAlert = _chunkN527BTY4cjs.useAlert; exports.useButton = _chunkE4TS6632cjs.useButton; exports.useCard = _chunk5RQ7AZPNcjs.useCard; exports.useCheckbox = _chunkNBFWWQFWcjs.useCheckbox; exports.useChip = _chunkUBQLKIZCcjs.useChip; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = _chunk7EIHHOHPcjs.useControllableState; exports.useFeedback = _chunkGPVNCJ3Zcjs.useFeedback; exports.useGrid = _chunkXFSW3ZNIcjs.useGrid; exports.useIconContext = _chunkWR7YLDVVcjs.useIconContext; exports.useInput = _chunk5Z4P6WHRcjs.useInput; exports.useInputGroup = _chunk4XPLPQLMcjs.useInputGroup; exports.useInputOTP = _chunkVZBWYWEIcjs.useInputOTP; exports.useInputOTPBox = _chunkVZBWYWEIcjs.useInputOTPBox; exports.useMergedRef = _chunk7XKQJQF2cjs.useMergedRef; exports.usePressState = _chunk7DPL3ZDScjs.usePressState; exports.usePrevious = _chunk7XKQJQF2cjs.usePrevious; exports.useRadio = _chunkKWCHSIMIcjs.useRadio; exports.useRotation = _chunk7XKQJQF2cjs.useRotation; exports.useStyleProps = _chunkGLGU2WFLcjs.useStyleProps; exports.useSwitch = _chunkZSLNGBDScjs.useSwitch; exports.useTextArea = _chunk5GO7MAVYcjs.useTextArea; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
|
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,7 @@ export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot,
|
|
|
7
7
|
export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.cjs';
|
|
8
8
|
export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.cjs';
|
|
9
9
|
export { Radio, RadioContextValue, RadioIndicator, RadioIndicatorProps, RadioLabel, RadioLabelProps, RadioProps, RadioRoot, RadioSize, RadioSlot, RadioVariant, radioRecipe, useRadio } from './components/radio/index.cjs';
|
|
10
|
+
export { Spinner, SpinnerProps, SpinnerSize, SpinnerSlot, SpinnerVariant, spinnerRecipe } from './components/spinner/index.cjs';
|
|
10
11
|
export { Switch, SwitchContextValue, SwitchLabel, SwitchLabelProps, SwitchProps, SwitchRoot, SwitchSize, SwitchSlot, SwitchThumb, SwitchThumbProps, SwitchTrack, SwitchTrackProps, SwitchVariant, switchRecipe, useSwitch } from './components/switch/index.cjs';
|
|
11
12
|
export { TextArea, TextAreaContextValue, TextAreaFieldProps, TextAreaProps, useTextArea } from './components/text-area/index.cjs';
|
|
12
13
|
export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.cjs';
|
|
@@ -14,10 +15,10 @@ export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps,
|
|
|
14
15
|
import { RefCallback } from 'react';
|
|
15
16
|
import { PossibleRef } from './system/index.cjs';
|
|
16
17
|
export { AsChildProps, CloseButton, CloseButtonSlots, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
17
|
-
import { GestureResponderEvent } from 'react-native';
|
|
18
|
+
import { GestureResponderEvent, ViewStyle } from 'react-native';
|
|
18
19
|
export { C as CloseButtonProps } from './close-button.type-CHsgZ3wO.cjs';
|
|
19
|
-
export {
|
|
20
|
-
export { A as Axes, C as CompoundVariant, R as Recipe,
|
|
20
|
+
export { b as IconComponentProps, I as IconContextValue, a as IconProps } from './icon.type-d_i9ma-i.cjs';
|
|
21
|
+
export { A as Axes, C as CompoundVariant, R as Recipe, d as RecipeConfig, b as ResolveArgs, e as ResolvedSelection, f as ResolvedStyles, g as Selection, h as SlotStyle, S as SlotStyles, i as StateName, j as States, a as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-dC7wMfnj.cjs';
|
|
21
22
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.cjs';
|
|
22
23
|
export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.cjs';
|
|
23
24
|
export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.cjs';
|
|
@@ -88,4 +89,23 @@ declare function usePressState(handlers?: PressHandlers): [boolean, {
|
|
|
88
89
|
*/
|
|
89
90
|
declare function usePrevious<T>(value: T): T | undefined;
|
|
90
91
|
|
|
91
|
-
|
|
92
|
+
/**
|
|
93
|
+
* One turn. Slow enough to read as waiting, fast enough not to read as stuck — HeroUI
|
|
94
|
+
* arrives at the same figure from the other side, a 1000ms turn played at 1.1×.
|
|
95
|
+
*
|
|
96
|
+
* It is a constant rather than a parameter because the library turns at one speed: two
|
|
97
|
+
* spinners on one screen at two rates is a bug, and the only way to be sure of that is
|
|
98
|
+
* for there to be one number.
|
|
99
|
+
*/
|
|
100
|
+
declare const ROTATION_DURATION = 900;
|
|
101
|
+
/**
|
|
102
|
+
* A full turn, repeating, on the UI thread. Returns the animated style to merge onto the
|
|
103
|
+
* node that spins.
|
|
104
|
+
*
|
|
105
|
+
* **A caller that must animate nothing does not call it.** Hooks cannot be conditional,
|
|
106
|
+
* so "no animation" is only true if this one is never reached — which is why both call
|
|
107
|
+
* sites render two components rather than branch inside one.
|
|
108
|
+
*/
|
|
109
|
+
declare function useRotation(): ViewStyle;
|
|
110
|
+
|
|
111
|
+
export { type ControllableStateOptions, PossibleRef, type PressHandlers, ROTATION_DURATION, useControllableState, useMergedRef, usePressState, usePrevious, useRotation };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot,
|
|
|
7
7
|
export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.js';
|
|
8
8
|
export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.js';
|
|
9
9
|
export { Radio, RadioContextValue, RadioIndicator, RadioIndicatorProps, RadioLabel, RadioLabelProps, RadioProps, RadioRoot, RadioSize, RadioSlot, RadioVariant, radioRecipe, useRadio } from './components/radio/index.js';
|
|
10
|
+
export { Spinner, SpinnerProps, SpinnerSize, SpinnerSlot, SpinnerVariant, spinnerRecipe } from './components/spinner/index.js';
|
|
10
11
|
export { Switch, SwitchContextValue, SwitchLabel, SwitchLabelProps, SwitchProps, SwitchRoot, SwitchSize, SwitchSlot, SwitchThumb, SwitchThumbProps, SwitchTrack, SwitchTrackProps, SwitchVariant, switchRecipe, useSwitch } from './components/switch/index.js';
|
|
11
12
|
export { TextArea, TextAreaContextValue, TextAreaFieldProps, TextAreaProps, useTextArea } from './components/text-area/index.js';
|
|
12
13
|
export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.js';
|
|
@@ -14,10 +15,10 @@ export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps,
|
|
|
14
15
|
import { RefCallback } from 'react';
|
|
15
16
|
import { PossibleRef } from './system/index.js';
|
|
16
17
|
export { AsChildProps, CloseButton, CloseButtonSlots, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
|
|
17
|
-
import { GestureResponderEvent } from 'react-native';
|
|
18
|
+
import { GestureResponderEvent, ViewStyle } from 'react-native';
|
|
18
19
|
export { C as CloseButtonProps } from './close-button.type-BUYuoSt2.js';
|
|
19
|
-
export {
|
|
20
|
-
export { A as Axes, C as CompoundVariant, R as Recipe,
|
|
20
|
+
export { b as IconComponentProps, I as IconContextValue, a as IconProps } from './icon.type-Kml72iSz.js';
|
|
21
|
+
export { A as Axes, C as CompoundVariant, R as Recipe, d as RecipeConfig, b as ResolveArgs, e as ResolvedSelection, f as ResolvedStyles, g as Selection, h as SlotStyle, S as SlotStyles, i as StateName, j as States, a as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-BdVd2ffi.js';
|
|
21
22
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
|
|
22
23
|
export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.js';
|
|
23
24
|
export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.js';
|
|
@@ -88,4 +89,23 @@ declare function usePressState(handlers?: PressHandlers): [boolean, {
|
|
|
88
89
|
*/
|
|
89
90
|
declare function usePrevious<T>(value: T): T | undefined;
|
|
90
91
|
|
|
91
|
-
|
|
92
|
+
/**
|
|
93
|
+
* One turn. Slow enough to read as waiting, fast enough not to read as stuck — HeroUI
|
|
94
|
+
* arrives at the same figure from the other side, a 1000ms turn played at 1.1×.
|
|
95
|
+
*
|
|
96
|
+
* It is a constant rather than a parameter because the library turns at one speed: two
|
|
97
|
+
* spinners on one screen at two rates is a bug, and the only way to be sure of that is
|
|
98
|
+
* for there to be one number.
|
|
99
|
+
*/
|
|
100
|
+
declare const ROTATION_DURATION = 900;
|
|
101
|
+
/**
|
|
102
|
+
* A full turn, repeating, on the UI thread. Returns the animated style to merge onto the
|
|
103
|
+
* node that spins.
|
|
104
|
+
*
|
|
105
|
+
* **A caller that must animate nothing does not call it.** Hooks cannot be conditional,
|
|
106
|
+
* so "no animation" is only true if this one is never reached — which is why both call
|
|
107
|
+
* sites render two components rather than branch inside one.
|
|
108
|
+
*/
|
|
109
|
+
declare function useRotation(): ViewStyle;
|
|
110
|
+
|
|
111
|
+
export { type ControllableStateOptions, PossibleRef, type PressHandlers, ROTATION_DURATION, useControllableState, useMergedRef, usePressState, usePrevious, useRotation };
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
XAUIProvider,
|
|
3
|
+
buildRadius,
|
|
4
|
+
buildShadows,
|
|
5
|
+
createTheme,
|
|
6
|
+
defaultTheme,
|
|
7
|
+
deriveColors,
|
|
8
|
+
palette,
|
|
9
|
+
primitives,
|
|
10
|
+
sourceKeys,
|
|
11
|
+
tokens
|
|
12
|
+
} from "./chunk-TZG3DERP.js";
|
|
12
13
|
import {
|
|
13
14
|
Radio,
|
|
14
15
|
RadioIndicator,
|
|
@@ -16,7 +17,11 @@ import {
|
|
|
16
17
|
RadioRoot,
|
|
17
18
|
radioRecipe,
|
|
18
19
|
useRadio
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27ZRTZEE.js";
|
|
21
|
+
import {
|
|
22
|
+
Spinner,
|
|
23
|
+
spinnerRecipe
|
|
24
|
+
} from "./chunk-KOC3KQIT.js";
|
|
20
25
|
import {
|
|
21
26
|
Switch,
|
|
22
27
|
SwitchLabel,
|
|
@@ -25,57 +30,51 @@ import {
|
|
|
25
30
|
SwitchTrack,
|
|
26
31
|
switchRecipe,
|
|
27
32
|
useSwitch
|
|
28
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-6RVCGLKZ.js";
|
|
29
34
|
import {
|
|
30
35
|
TextArea,
|
|
31
36
|
useTextArea
|
|
32
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GVQOD3VW.js";
|
|
33
38
|
import {
|
|
34
39
|
TextSpan,
|
|
35
40
|
Typography,
|
|
36
41
|
typographyRecipe
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NYRXUGVL.js";
|
|
38
43
|
import {
|
|
39
44
|
Column,
|
|
40
45
|
Grid,
|
|
41
46
|
Row,
|
|
42
47
|
Stack,
|
|
43
48
|
useGrid
|
|
44
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-G7K652GC.js";
|
|
45
50
|
import {
|
|
46
51
|
Portal,
|
|
47
52
|
PortalContext,
|
|
48
53
|
PortalHost
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
XAUIProvider,
|
|
52
|
-
buildRadius,
|
|
53
|
-
buildShadows,
|
|
54
|
-
createTheme,
|
|
55
|
-
defaultTheme,
|
|
56
|
-
deriveColors,
|
|
57
|
-
palette,
|
|
58
|
-
primitives,
|
|
59
|
-
sourceKeys,
|
|
60
|
-
tokens
|
|
61
|
-
} from "./chunk-TZG3DERP.js";
|
|
54
|
+
} from "./chunk-7SEZGVTY.js";
|
|
62
55
|
import {
|
|
63
56
|
Alert,
|
|
64
57
|
alertRecipe,
|
|
65
58
|
useAlert
|
|
66
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Q3WFY5N3.js";
|
|
67
60
|
import {
|
|
68
61
|
Button,
|
|
69
62
|
buttonRecipe,
|
|
70
63
|
useButton
|
|
71
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GI24YJPE.js";
|
|
65
|
+
import {
|
|
66
|
+
ROTATION_DURATION,
|
|
67
|
+
useMergedRef,
|
|
68
|
+
usePrevious,
|
|
69
|
+
useRotation
|
|
70
|
+
} from "./chunk-BVJQ3UPZ.js";
|
|
72
71
|
import {
|
|
73
72
|
CARD_BACKGROUND,
|
|
74
73
|
Card,
|
|
75
74
|
cardRecipe,
|
|
76
75
|
markBackground,
|
|
77
76
|
useCard
|
|
78
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-VJEER76X.js";
|
|
79
78
|
import {
|
|
80
79
|
Checkbox,
|
|
81
80
|
CheckboxIndicator,
|
|
@@ -83,10 +82,7 @@ import {
|
|
|
83
82
|
CheckboxRoot,
|
|
84
83
|
checkboxRecipe,
|
|
85
84
|
useCheckbox
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import {
|
|
88
|
-
useControllableState
|
|
89
|
-
} from "./chunk-F6W3JQ7K.js";
|
|
85
|
+
} from "./chunk-YKL6XHM6.js";
|
|
90
86
|
import {
|
|
91
87
|
SelectionFill
|
|
92
88
|
} from "./chunk-BA2DBSAN.js";
|
|
@@ -94,11 +90,11 @@ import {
|
|
|
94
90
|
Chip,
|
|
95
91
|
chipRecipe,
|
|
96
92
|
useChip
|
|
97
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-FMZQW35T.js";
|
|
98
94
|
import {
|
|
99
95
|
CloseButton,
|
|
100
96
|
closeButtonBase
|
|
101
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-V4WDMM6Z.js";
|
|
102
98
|
import {
|
|
103
99
|
FEEDBACK_OVERLAY,
|
|
104
100
|
HIGHLIGHT_DURATION,
|
|
@@ -119,10 +115,11 @@ import {
|
|
|
119
115
|
resolveAnimation,
|
|
120
116
|
resolveSlotAnimation,
|
|
121
117
|
rippleRadiusFor,
|
|
122
|
-
useFeedback
|
|
118
|
+
useFeedback
|
|
119
|
+
} from "./chunk-BFMTUMTU.js";
|
|
120
|
+
import {
|
|
123
121
|
usePressState
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-EGLLDKN6.js";
|
|
122
|
+
} from "./chunk-423RQBOX.js";
|
|
126
123
|
import {
|
|
127
124
|
InputGroup,
|
|
128
125
|
InputGroupField,
|
|
@@ -132,12 +129,7 @@ import {
|
|
|
132
129
|
InputGroupSuffix,
|
|
133
130
|
decoratorPadding,
|
|
134
131
|
useInputGroup
|
|
135
|
-
} from "./chunk-
|
|
136
|
-
import {
|
|
137
|
-
Icon,
|
|
138
|
-
IconContext,
|
|
139
|
-
useIconContext
|
|
140
|
-
} from "./chunk-ICR42HHG.js";
|
|
132
|
+
} from "./chunk-DFME724B.js";
|
|
141
133
|
import {
|
|
142
134
|
Input,
|
|
143
135
|
InputDescription,
|
|
@@ -147,19 +139,31 @@ import {
|
|
|
147
139
|
InputRoot,
|
|
148
140
|
inputRecipe,
|
|
149
141
|
useInput
|
|
150
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-A5OCK3C2.js";
|
|
143
|
+
import {
|
|
144
|
+
Icon,
|
|
145
|
+
IconContext,
|
|
146
|
+
useIconContext
|
|
147
|
+
} from "./chunk-3FV4COTM.js";
|
|
148
|
+
import {
|
|
149
|
+
InputOTP,
|
|
150
|
+
OTP_ALPHANUMERIC,
|
|
151
|
+
OTP_DIGITS,
|
|
152
|
+
OTP_LETTERS,
|
|
153
|
+
buildSlots,
|
|
154
|
+
extractPastedCode,
|
|
155
|
+
inputOTPRecipe,
|
|
156
|
+
useInputOTP,
|
|
157
|
+
useInputOTPBox
|
|
158
|
+
} from "./chunk-X4HQ4H2V.js";
|
|
159
|
+
import {
|
|
160
|
+
useControllableState
|
|
161
|
+
} from "./chunk-F6W3JQ7K.js";
|
|
162
|
+
import "./chunk-EGLLDKN6.js";
|
|
151
163
|
import {
|
|
152
164
|
createRecipe,
|
|
153
165
|
radiusAxis
|
|
154
166
|
} from "./chunk-4GTAZM2C.js";
|
|
155
|
-
import {
|
|
156
|
-
Slot,
|
|
157
|
-
childrenToString,
|
|
158
|
-
createSlotContext,
|
|
159
|
-
mergeProps,
|
|
160
|
-
mergeRefs,
|
|
161
|
-
useStyleProps
|
|
162
|
-
} from "./chunk-PMO62QK4.js";
|
|
163
167
|
import {
|
|
164
168
|
ThemeContext,
|
|
165
169
|
deriveTint,
|
|
@@ -167,23 +171,17 @@ import {
|
|
|
167
171
|
useThemeColor,
|
|
168
172
|
useXAUITheme
|
|
169
173
|
} from "./chunk-A3EGFI6T.js";
|
|
174
|
+
import {
|
|
175
|
+
Slot,
|
|
176
|
+
childrenToString,
|
|
177
|
+
createSlotContext,
|
|
178
|
+
mergeProps
|
|
179
|
+
} from "./chunk-E2CWBQTV.js";
|
|
180
|
+
import {
|
|
181
|
+
mergeRefs,
|
|
182
|
+
useStyleProps
|
|
183
|
+
} from "./chunk-URSKA2VR.js";
|
|
170
184
|
import "./chunk-GGW42MY4.js";
|
|
171
|
-
|
|
172
|
-
// src/hooks/use-merged-ref.ts
|
|
173
|
-
import { useMemo } from "react";
|
|
174
|
-
function useMergedRef(...refs) {
|
|
175
|
-
return useMemo(() => mergeRefs(...refs), refs);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// src/hooks/use-previous.ts
|
|
179
|
-
import { useEffect, useRef } from "react";
|
|
180
|
-
function usePrevious(value) {
|
|
181
|
-
const previous = useRef(void 0);
|
|
182
|
-
useEffect(() => {
|
|
183
|
-
previous.current = value;
|
|
184
|
-
}, [value]);
|
|
185
|
-
return previous.current;
|
|
186
|
-
}
|
|
187
185
|
export {
|
|
188
186
|
Alert,
|
|
189
187
|
Button,
|
|
@@ -231,6 +229,7 @@ export {
|
|
|
231
229
|
RIPPLE_FADE_OUT_DELAY,
|
|
232
230
|
RIPPLE_OPACITY,
|
|
233
231
|
RIPPLE_START_SCALE,
|
|
232
|
+
ROTATION_DURATION,
|
|
234
233
|
Radio,
|
|
235
234
|
RadioIndicator,
|
|
236
235
|
RadioLabel,
|
|
@@ -239,6 +238,7 @@ export {
|
|
|
239
238
|
SCALE_REFERENCE_WIDTH,
|
|
240
239
|
SelectionFill,
|
|
241
240
|
Slot,
|
|
241
|
+
Spinner,
|
|
242
242
|
Stack,
|
|
243
243
|
Switch,
|
|
244
244
|
SwitchLabel,
|
|
@@ -283,6 +283,7 @@ export {
|
|
|
283
283
|
resolveSlotAnimation,
|
|
284
284
|
rippleRadiusFor,
|
|
285
285
|
sourceKeys,
|
|
286
|
+
spinnerRecipe,
|
|
286
287
|
switchRecipe,
|
|
287
288
|
tokens,
|
|
288
289
|
typographyRecipe,
|
|
@@ -304,6 +305,7 @@ export {
|
|
|
304
305
|
usePressState,
|
|
305
306
|
usePrevious,
|
|
306
307
|
useRadio,
|
|
308
|
+
useRotation,
|
|
307
309
|
useStyleProps,
|
|
308
310
|
useSwitch,
|
|
309
311
|
useTextArea,
|
package/dist/system/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkXQFAUDR2cjs = require('../chunk-XQFAUDR2.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkTGZZ3RZUcjs = require('../chunk-TGZZ3RZU.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -31,26 +31,29 @@ var _chunkJ2JJLKLGcjs = require('../chunk-J2JJLKLG.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
35
|
-
require('../chunk-
|
|
34
|
+
var _chunkGPVNCJ3Zcjs = require('../chunk-GPVNCJ3Z.cjs');
|
|
35
|
+
require('../chunk-7DPL3ZDS.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkWR7YLDVVcjs = require('../chunk-WR7YLDVV.cjs');
|
|
41
|
+
require('../chunk-EJQCQPET.cjs');
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
var _chunkFNEUOBCVcjs = require('../chunk-FNEUOBCV.cjs');
|
|
46
|
+
require('../chunk-57SJ4LJF.cjs');
|
|
45
47
|
|
|
46
48
|
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
|
|
52
|
+
var _chunkZP2E2H2Gcjs = require('../chunk-ZP2E2H2G.cjs');
|
|
50
53
|
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
require('../chunk-
|
|
55
|
+
|
|
56
|
+
var _chunkGLGU2WFLcjs = require('../chunk-GLGU2WFL.cjs');
|
|
54
57
|
require('../chunk-MC7SY2QH.cjs');
|
|
55
58
|
|
|
56
59
|
|
|
@@ -90,4 +93,4 @@ require('../chunk-MC7SY2QH.cjs');
|
|
|
90
93
|
|
|
91
94
|
|
|
92
95
|
|
|
93
|
-
exports.CloseButton =
|
|
96
|
+
exports.CloseButton = _chunkTGZZ3RZUcjs.CloseButton; exports.FEEDBACK_OVERLAY = _chunkGPVNCJ3Zcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkGPVNCJ3Zcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkGPVNCJ3Zcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkWR7YLDVVcjs.Icon; exports.IconContext = _chunkWR7YLDVVcjs.IconContext; exports.PRESS_DURATION = _chunkGPVNCJ3Zcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkGPVNCJ3Zcjs.PRESS_SCALE; exports.Portal = _chunkXQFAUDR2cjs.Portal; exports.PortalContext = _chunkXQFAUDR2cjs.PortalContext; exports.PortalHost = _chunkXQFAUDR2cjs.PortalHost; exports.PressableFeedback = _chunkGPVNCJ3Zcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkGPVNCJ3Zcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkGPVNCJ3Zcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkGPVNCJ3Zcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkGPVNCJ3Zcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkGPVNCJ3Zcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkGPVNCJ3Zcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunkZP2E2H2Gcjs.Slot; exports.childrenToString = _chunkZP2E2H2Gcjs.childrenToString; exports.closeButtonBase = _chunkTGZZ3RZUcjs.closeButtonBase; exports.createRecipe = _chunkFNEUOBCVcjs.createRecipe; exports.createSlotContext = _chunkZP2E2H2Gcjs.createSlotContext; exports.markOverlay = _chunkGPVNCJ3Zcjs.markOverlay; exports.mergeProps = _chunkZP2E2H2Gcjs.mergeProps; exports.mergeRefs = _chunkGLGU2WFLcjs.mergeRefs; exports.pressScaleFor = _chunkGPVNCJ3Zcjs.pressScaleFor; exports.radiusAxis = _chunkFNEUOBCVcjs.radiusAxis; exports.resolveAnimation = _chunkGPVNCJ3Zcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkGPVNCJ3Zcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkGPVNCJ3Zcjs.rippleRadiusFor; exports.useFeedback = _chunkGPVNCJ3Zcjs.useFeedback; exports.useIconContext = _chunkWR7YLDVVcjs.useIconContext; exports.useStyleProps = _chunkGLGU2WFLcjs.useStyleProps;
|