@wix/site-ui 1.347.0 → 1.348.0
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/{6706.js → 1093.js} +3 -3
- package/dist/{8724.js → 1219.js} +2 -2
- package/dist/{7373.js → 1288.js} +8 -2
- package/dist/{5299.js → 1381.js} +98 -127
- package/dist/{3056.js → 1607.js} +32 -34
- package/dist/1629.js +2 -0
- package/dist/1669.js +75 -0
- package/dist/1718.js +26 -0
- package/dist/{1477.js → 201.js} +17 -26
- package/dist/2221.js +9 -0
- package/dist/{2445.js → 226.js} +12 -48
- package/dist/2387.js +7 -0
- package/dist/2580.js +6 -0
- package/dist/{1500.js → 2859.js} +10 -34
- package/dist/3014.js +178 -0
- package/dist/{6247.js → 3054.js} +3 -3
- package/dist/{7642.js → 3093.js} +1 -1
- package/dist/3189.js +5 -0
- package/dist/{7564.js → 331.js} +2 -2
- package/dist/3357.js +7 -0
- package/dist/{487.js → 3398.js} +38 -39
- package/dist/3502.js +224 -0
- package/dist/3695.js +50 -0
- package/dist/3829.js +1 -1
- package/dist/{6588.js → 3859.js} +115 -92
- package/dist/{3670.js → 3910.js} +28 -21
- package/dist/392.js +7 -0
- package/dist/{4549.js → 4155.js} +11 -3
- package/dist/4226.js +7 -0
- package/dist/{6329.js → 4229.js} +1 -1
- package/dist/4293.js +3 -0
- package/dist/4346.js +853 -2
- package/dist/{285.js → 4472.js} +3 -3
- package/dist/4605.js +207 -0
- package/dist/{7366.js → 488.js} +60 -7
- package/dist/{8750.js → 497.js} +190 -375
- package/dist/4989.js +35 -0
- package/dist/{6270.js → 510.js} +157 -196
- package/dist/5258.js +26 -0
- package/dist/{5036.js → 5275.js} +0 -3
- package/dist/{8171.js → 5298.js} +90 -102
- package/dist/5473.js +11 -0
- package/dist/{4745.js → 5490.js} +3 -1
- package/dist/{6089.js → 5561.js} +869 -786
- package/dist/{8996.js → 5595.js} +4 -3
- package/dist/5890.js +25 -0
- package/dist/{6046.js → 5969.js} +1 -1
- package/dist/5984.js +38 -0
- package/dist/{8527.js → 6006.js} +3 -3
- package/dist/6040.js +97 -0
- package/dist/{8758.js → 6137.js} +10 -8
- package/dist/{4281.js → 6140.js} +18 -10
- package/dist/{8960.js → 6191.js} +2 -2
- package/dist/6240.js +121 -0
- package/dist/{4490.js → 6373.js} +7 -5
- package/dist/{904.js → 6487.js} +19 -17
- package/dist/{9635.js → 6498.js} +1 -1
- package/dist/6499.js +4 -7
- package/dist/6508.js +7 -0
- package/dist/{8225.js → 6540.js} +1 -0
- package/dist/6551.js +46 -0
- package/dist/{9369.js → 6620.js} +35 -34
- package/dist/{4143.js → 6838.js} +19 -10
- package/dist/6902.js +48 -0
- package/dist/6904.js +51 -0
- package/dist/70.js +24 -0
- package/dist/7024.js +39 -0
- package/dist/{6882.js → 721.js} +737 -362
- package/dist/{951.js → 7270.js} +4 -4
- package/dist/{3485.js → 7323.js} +143 -111
- package/dist/{7541.js → 7488.js} +2 -2
- package/dist/{4863.js → 7542.js} +7 -6
- package/dist/7551.js +28 -0
- package/dist/{7021.js → 7640.js} +1 -1
- package/dist/{353.js → 7692.js} +3 -7
- package/dist/{4707.js → 7930.js} +2 -2
- package/dist/{8052.js → 8.js} +80 -64
- package/dist/{6914.js → 8129.js} +3 -15
- package/dist/{3319.js → 8358.js} +62 -63
- package/dist/{5864.js → 8407.js} +13 -13
- package/dist/8488.js +15 -0
- package/dist/{4768.js → 8495.js} +1 -1
- package/dist/8734.js +171 -0
- package/dist/{1763.js → 9018.js} +205 -331
- package/dist/9053.js +29 -0
- package/dist/9067.js +41 -0
- package/dist/{2861.js → 9120.js} +2 -2
- package/dist/{42.js → 9197.js} +2 -2
- package/dist/{9189.js → 9248.js} +36 -17
- package/dist/{2801.js → 9252.js} +4 -9
- package/dist/9295.js +7 -0
- package/dist/9303.js +8 -0
- package/dist/{167.js → 9374.js} +1 -1
- package/dist/{9352.js → 9540.js} +17 -47
- package/dist/9576.js +51 -0
- package/dist/{8272.js → 9591.js} +36 -46
- package/dist/{6107.js → 9770.js} +2 -2
- package/dist/{5085.js → 9880.js} +6 -3
- package/dist/Accordion/index.d.ts +207 -41
- package/dist/Accordion/index.js +75 -177
- package/dist/AlertDialog/index.d.ts +440 -140
- package/dist/AlertDialog/index.js +3 -13
- package/dist/Autocomplete/index.d.ts +722 -150
- package/dist/Autocomplete/index.js +16 -29
- package/dist/Avatar/index.d.ts +38 -3
- package/dist/Avatar/index.js +82 -28
- package/dist/Breadcrumbs/index.d.ts +63 -91
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/Button/index.d.ts +11 -0
- package/dist/Button/index.js +2 -2
- package/dist/Checkbox/index.d.ts +206 -36
- package/dist/Checkbox/index.js +293 -8
- package/dist/CheckboxField/index.css +1 -1
- package/dist/CheckboxField/index.d.ts +40 -36
- package/dist/CheckboxGroup/index.d.ts +50 -36
- package/dist/CheckboxGroup/index.js +87 -58
- package/dist/CheckboxGroupField/index.css +1 -1
- package/dist/Collapsible/index.d.ts +128 -36
- package/dist/Collapsible/index.js +21 -25
- package/dist/Combobox/index.d.ts +801 -158
- package/dist/Combobox/index.js +70 -114
- package/dist/ContextMenu/index.d.ts +1162 -195
- package/dist/ContextMenu/index.js +46 -36
- package/dist/Dialog/index.d.ts +425 -133
- package/dist/Dialog/index.js +8 -4
- package/dist/Drawer/index.d.ts +589 -144
- package/dist/Drawer/index.js +482 -562
- package/dist/Field/index.css +1 -1
- package/dist/Field/index.d.ts +341 -42
- package/dist/Field/index.js +123 -273
- package/dist/Fieldset/index.d.ts +11 -0
- package/dist/Fieldset/index.js +10 -17
- package/dist/Form/index.d.ts +43 -39
- package/dist/Form/index.js +58 -50
- package/dist/Input/index.css +1 -1
- package/dist/Input/index.d.ts +94 -42
- package/dist/Input/index.js +1 -1
- package/dist/Menu/index.d.ts +1140 -175
- package/dist/Menu/index.js +51 -67
- package/dist/Menubar/index.d.ts +651 -173
- package/dist/Menubar/index.js +12 -16
- package/dist/Meter/index.js +21 -18
- package/dist/NavigationMenu/index.d.ts +370 -86
- package/dist/NavigationMenu/index.js +144 -178
- package/dist/NumberField/index.css +1 -1
- package/dist/NumberField/index.d.ts +507 -47
- package/dist/NumberField/index.js +434 -718
- package/dist/Popover/index.d.ts +561 -142
- package/dist/Popover/index.js +181 -252
- package/dist/PreviewCard/index.d.ts +507 -143
- package/dist/PreviewCard/index.js +97 -151
- package/dist/Progress/index.d.ts +117 -3
- package/dist/Progress/index.js +37 -36
- package/dist/Radio/index.d.ts +177 -7
- package/dist/Radio/index.js +54 -70
- package/dist/RadioField/index.css +1 -1
- package/dist/RadioField/index.d.ts +23 -7
- package/dist/RadioGroup/index.d.ts +51 -37
- package/dist/RadioGroup/index.js +60 -51
- package/dist/RadioGroupField/index.css +1 -1
- package/dist/RadioGroupField/index.d.ts +40 -37
- package/dist/ScrollArea/index.d.ts +295 -1
- package/dist/ScrollArea/index.js +256 -324
- package/dist/Select/index.d.ts +516 -123
- package/dist/Select/index.js +513 -635
- package/dist/SelectField/index.css +1 -1
- package/dist/SelectField/index.d.ts +109 -134
- package/dist/SelectField/index.js +5 -1
- package/dist/Separator/index.d.ts +12 -0
- package/dist/Separator/index.js +1 -1
- package/dist/Slider/index.d.ts +383 -64
- package/dist/Slider/index.js +298 -374
- package/dist/Switch/index.d.ts +184 -37
- package/dist/Switch/index.js +44 -58
- package/dist/Tabs/index.d.ts +220 -35
- package/dist/Tabs/index.js +199 -193
- package/dist/Toast/index.d.ts +280 -64
- package/dist/Toast/index.js +299 -374
- package/dist/Toggle/index.d.ts +55 -35
- package/dist/Toggle/index.js +19 -13
- package/dist/ToggleGroup/index.d.ts +62 -35
- package/dist/ToggleGroup/index.js +13 -31
- package/dist/Toolbar/index.d.ts +117 -2
- package/dist/Toolbar/index.js +31 -43
- package/dist/Tooltip/index.d.ts +507 -150
- package/dist/Tooltip/index.js +163 -213
- package/dist/index.d.ts +12912 -5382
- package/package.json +3 -3
- package/dist/2205.js +0 -26
- package/dist/2274.js +0 -34
- package/dist/2287.js +0 -17
- package/dist/3020.js +0 -7
- package/dist/3021.js +0 -72
- package/dist/3140.js +0 -4
- package/dist/3248.js +0 -307
- package/dist/4026.js +0 -12
- package/dist/4922.js +0 -15
- package/dist/5659.js +0 -4
- package/dist/5992.js +0 -447
- package/dist/6330.js +0 -30
- package/dist/6535.js +0 -72
- package/dist/6917.js +0 -55
- package/dist/7725.js +0 -10
- package/dist/7871.js +0 -38
- package/dist/8106.js +0 -239
- package/dist/8685.js +0 -102
- package/dist/8935.js +0 -8
- package/dist/8971.js +0 -40
- package/dist/8979.js +0 -10
- package/dist/9048.js +0 -52
- package/dist/9087.js +0 -256
- package/dist/9255.js +0 -136
- /package/dist/{1457.js → 1068.js} +0 -0
- /package/dist/{6003.js → 1234.js} +0 -0
- /package/dist/{4723.js → 1282.js} +0 -0
- /package/dist/{6825.js → 1876.js} +0 -0
- /package/dist/{5778.js → 1885.js} +0 -0
- /package/dist/{2445.js.LICENSE.txt → 226.js.LICENSE.txt} +0 -0
- /package/dist/{1279.js → 3278.js} +0 -0
- /package/dist/{3296.js → 5568.js} +0 -0
- /package/dist/{8685.css → 6240.css} +0 -0
- /package/dist/{9829.js → 6488.js} +0 -0
- /package/dist/{9863.js → 6534.js} +0 -0
- /package/dist/{4495.js → 7718.js} +0 -0
- /package/dist/{3395.js → 8866.js} +0 -0
- /package/dist/{2418.js → 9837.js} +0 -0
package/dist/Tabs/index.d.ts
CHANGED
|
@@ -4,6 +4,77 @@ import { TabsPanelProps as TabsPanelProps_2 } from '@base-ui/react';
|
|
|
4
4
|
import { TabsRootProps as TabsRootProps_2 } from '@base-ui/react';
|
|
5
5
|
import { TabsTabProps as TabsTabProps_2 } from '@base-ui/react';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Indicates the direction of the activation (based on the previous active tab).
|
|
9
|
+
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
|
|
10
|
+
*/
|
|
11
|
+
declare const activationDirection = "data-activation-direction";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Indicates the direction of the activation (based on the previous active tab).
|
|
15
|
+
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
|
|
16
|
+
*/
|
|
17
|
+
declare const activationDirection_2 = "data-activation-direction";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Indicates the direction of the activation (based on the previous active tab).
|
|
21
|
+
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
|
|
22
|
+
*/
|
|
23
|
+
declare const activationDirection_3 = "data-activation-direction";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Indicates the direction of the activation (based on the previous active tab).
|
|
27
|
+
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
|
|
28
|
+
*/
|
|
29
|
+
declare const activationDirection_4 = "data-activation-direction";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Indicates the direction of the activation (based on the previous active tab).
|
|
33
|
+
* @type {'left' | 'right' | 'up' | 'down' | 'none'}
|
|
34
|
+
*/
|
|
35
|
+
declare const activationDirection_5 = "data-activation-direction";
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Present when the tab is active.
|
|
39
|
+
*/
|
|
40
|
+
declare const active = "data-active";
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Indicates the distance on the bottom side from the parent's container if the tab is active.
|
|
44
|
+
* @type {number}
|
|
45
|
+
*/
|
|
46
|
+
declare const activeTabBottom = "--active-tab-bottom";
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Indicates the height of the tab if it is active.
|
|
50
|
+
* @type {number}
|
|
51
|
+
*/
|
|
52
|
+
declare const activeTabHeight = "--active-tab-height";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Indicates the distance on the left side from the parent's container if the tab is active.
|
|
56
|
+
* @type {number}
|
|
57
|
+
*/
|
|
58
|
+
declare const activeTabLeft = "--active-tab-left";
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Indicates the distance on the right side from the parent's container if the tab is active.
|
|
62
|
+
* @type {number}
|
|
63
|
+
*/
|
|
64
|
+
declare const activeTabRight = "--active-tab-right";
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Indicates the distance on the top side from the parent's container if the tab is active.
|
|
68
|
+
* @type {number}
|
|
69
|
+
*/
|
|
70
|
+
declare const activeTabTop = "--active-tab-top";
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Indicates the width of the tab if it is active.
|
|
74
|
+
* @type {number}
|
|
75
|
+
*/
|
|
76
|
+
declare const activeTabWidth = "--active-tab-width";
|
|
77
|
+
|
|
7
78
|
declare type BaseListProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Tabs_2.List>>;
|
|
8
79
|
|
|
9
80
|
declare type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends object> = {
|
|
@@ -71,15 +142,15 @@ declare type BaseUIEvent<E extends React_2.SyntheticEvent<Element, Event>> = E &
|
|
|
71
142
|
readonly baseUIHandlerPrevented?: boolean | undefined;
|
|
72
143
|
};
|
|
73
144
|
|
|
74
|
-
declare const cancelOpen:
|
|
145
|
+
declare const cancelOpen: 'cancel-open';
|
|
75
146
|
|
|
76
|
-
declare const chipRemovePress:
|
|
147
|
+
declare const chipRemovePress: 'chip-remove-press';
|
|
77
148
|
|
|
78
|
-
declare const clearPress:
|
|
149
|
+
declare const clearPress: 'clear-press';
|
|
79
150
|
|
|
80
|
-
declare const closePress:
|
|
151
|
+
declare const closePress: 'close-press';
|
|
81
152
|
|
|
82
|
-
declare const closeWatcher:
|
|
153
|
+
declare const closeWatcher: 'close-watcher';
|
|
83
154
|
|
|
84
155
|
/**
|
|
85
156
|
* Shape of the render prop: a function that takes props to be spread on the element and component's state and returns a React element.
|
|
@@ -89,50 +160,70 @@ declare const closeWatcher: "close-watcher";
|
|
|
89
160
|
*/
|
|
90
161
|
declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
|
|
91
162
|
|
|
92
|
-
declare const decrementPress:
|
|
163
|
+
declare const decrementPress: 'decrement-press';
|
|
93
164
|
|
|
94
|
-
declare const disabled:
|
|
165
|
+
declare const disabled: 'disabled';
|
|
95
166
|
|
|
96
|
-
|
|
167
|
+
/**
|
|
168
|
+
* Present when the tab is disabled.
|
|
169
|
+
*/
|
|
170
|
+
declare const disabled_2 = "data-disabled";
|
|
171
|
+
|
|
172
|
+
declare const drag: 'drag';
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Present when the panel is animating out.
|
|
176
|
+
*/
|
|
177
|
+
declare const endingStyle = "data-ending-style";
|
|
97
178
|
|
|
98
|
-
declare const escapeKey:
|
|
179
|
+
declare const escapeKey: 'escape-key';
|
|
99
180
|
|
|
100
|
-
declare const focusOut:
|
|
181
|
+
declare const focusOut: 'focus-out';
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Present when the panel is hidden.
|
|
185
|
+
*/
|
|
186
|
+
declare const hidden = "data-hidden";
|
|
101
187
|
|
|
102
188
|
declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
103
189
|
ref?: React_2.Ref<T> | undefined;
|
|
104
190
|
};
|
|
105
191
|
|
|
106
|
-
declare const imperativeAction:
|
|
192
|
+
declare const imperativeAction: 'imperative-action';
|
|
107
193
|
|
|
108
|
-
declare const incrementPress:
|
|
194
|
+
declare const incrementPress: 'increment-press';
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Indicates the index of the tab panel.
|
|
198
|
+
*/
|
|
199
|
+
declare const index = "data-index";
|
|
109
200
|
|
|
110
|
-
declare const initial:
|
|
201
|
+
declare const initial: 'initial';
|
|
111
202
|
|
|
112
|
-
declare const inputBlur:
|
|
203
|
+
declare const inputBlur: 'input-blur';
|
|
113
204
|
|
|
114
|
-
declare const inputChange:
|
|
205
|
+
declare const inputChange: 'input-change';
|
|
115
206
|
|
|
116
|
-
declare const inputClear:
|
|
207
|
+
declare const inputClear: 'input-clear';
|
|
117
208
|
|
|
118
|
-
declare const inputPaste:
|
|
209
|
+
declare const inputPaste: 'input-paste';
|
|
119
210
|
|
|
120
|
-
declare const inputPress:
|
|
211
|
+
declare const inputPress: 'input-press';
|
|
121
212
|
|
|
122
|
-
declare const itemPress:
|
|
213
|
+
declare const itemPress: 'item-press';
|
|
123
214
|
|
|
124
|
-
declare const keyboard:
|
|
215
|
+
declare const keyboard: 'keyboard';
|
|
125
216
|
|
|
126
|
-
declare const linkPress:
|
|
217
|
+
declare const linkPress: 'link-press';
|
|
127
218
|
|
|
128
|
-
declare const listNavigation:
|
|
219
|
+
declare const listNavigation: 'list-navigation';
|
|
129
220
|
|
|
130
221
|
declare interface ListProps extends BaseListProps {
|
|
131
222
|
underline?: TabListUnderlineType;
|
|
132
223
|
align?: TabListAlignType;
|
|
133
224
|
}
|
|
134
225
|
|
|
135
|
-
declare const missing:
|
|
226
|
+
declare const missing: 'missing';
|
|
136
227
|
|
|
137
228
|
declare interface NativeButtonProps {
|
|
138
229
|
/**
|
|
@@ -144,13 +235,45 @@ declare interface NativeButtonProps {
|
|
|
144
235
|
nativeButton?: boolean | undefined;
|
|
145
236
|
}
|
|
146
237
|
|
|
147
|
-
declare const none:
|
|
238
|
+
declare const none: 'none';
|
|
148
239
|
|
|
149
240
|
declare type Orientation = 'horizontal' | 'vertical';
|
|
150
241
|
|
|
151
|
-
|
|
242
|
+
/**
|
|
243
|
+
* Indicates the orientation of the tabs.
|
|
244
|
+
* @type {'horizontal' | 'vertical'}
|
|
245
|
+
*/
|
|
246
|
+
declare const orientation_2 = "data-orientation";
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Indicates the orientation of the tabs.
|
|
250
|
+
* @type {'horizontal' | 'vertical'}
|
|
251
|
+
*/
|
|
252
|
+
declare const orientation_3 = "data-orientation";
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Indicates the orientation of the tabs.
|
|
256
|
+
* @type {'horizontal' | 'vertical'}
|
|
257
|
+
*/
|
|
258
|
+
declare const orientation_4 = "data-orientation";
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Indicates the orientation of the tabs.
|
|
262
|
+
* @type {'horizontal' | 'vertical'}
|
|
263
|
+
*/
|
|
264
|
+
declare const orientation_5 = "data-orientation";
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Indicates the orientation of the tabs.
|
|
268
|
+
* @type {'horizontal' | 'vertical'}
|
|
269
|
+
*/
|
|
270
|
+
declare const orientation_6 = "data-orientation";
|
|
271
|
+
|
|
272
|
+
declare const outsidePress: 'outside-press';
|
|
152
273
|
|
|
153
|
-
declare const pointer:
|
|
274
|
+
declare const pointer: 'pointer';
|
|
275
|
+
|
|
276
|
+
declare const popupClose: 'popup-close';
|
|
154
277
|
|
|
155
278
|
declare namespace REASONS {
|
|
156
279
|
export {
|
|
@@ -181,6 +304,7 @@ declare namespace REASONS {
|
|
|
181
304
|
drag,
|
|
182
305
|
wheel,
|
|
183
306
|
scrub,
|
|
307
|
+
popupClose,
|
|
184
308
|
cancelOpen,
|
|
185
309
|
siblingOpen,
|
|
186
310
|
disabled,
|
|
@@ -235,11 +359,16 @@ declare interface ReasonToEventMap {
|
|
|
235
359
|
[REASONS.windowResize]: UIEvent;
|
|
236
360
|
}
|
|
237
361
|
|
|
238
|
-
declare const scrub:
|
|
362
|
+
declare const scrub: 'scrub';
|
|
363
|
+
|
|
364
|
+
declare const siblingOpen: 'sibling-open';
|
|
239
365
|
|
|
240
|
-
|
|
366
|
+
/**
|
|
367
|
+
* Present when the panel begins animating in.
|
|
368
|
+
*/
|
|
369
|
+
declare const startingStyle = "data-starting-style";
|
|
241
370
|
|
|
242
|
-
declare const swipe:
|
|
371
|
+
declare const swipe: 'swipe';
|
|
243
372
|
|
|
244
373
|
export declare const TabListAlign: {
|
|
245
374
|
readonly start: "start";
|
|
@@ -296,6 +425,24 @@ export declare namespace TabsIndicator {
|
|
|
296
425
|
export type Props = TabsIndicatorProps;
|
|
297
426
|
}
|
|
298
427
|
|
|
428
|
+
export declare namespace TabsIndicatorCssVariables {
|
|
429
|
+
export {
|
|
430
|
+
activeTabLeft,
|
|
431
|
+
activeTabRight,
|
|
432
|
+
activeTabTop,
|
|
433
|
+
activeTabBottom,
|
|
434
|
+
activeTabWidth,
|
|
435
|
+
activeTabHeight
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export declare namespace TabsIndicatorDataAttributes {
|
|
440
|
+
export {
|
|
441
|
+
activationDirection_3 as activationDirection,
|
|
442
|
+
orientation_4 as orientation
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
299
446
|
export declare interface TabsIndicatorProps extends BaseUIComponentProps<'span', TabsIndicatorState> {
|
|
300
447
|
/**
|
|
301
448
|
* Whether to render itself before React hydrates.
|
|
@@ -333,6 +480,13 @@ export declare namespace TabsList {
|
|
|
333
480
|
export type Props = TabsListProps;
|
|
334
481
|
}
|
|
335
482
|
|
|
483
|
+
export declare namespace TabsListDataAttributes {
|
|
484
|
+
export {
|
|
485
|
+
activationDirection_5 as activationDirection,
|
|
486
|
+
orientation_6 as orientation
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
336
490
|
export declare interface TabsListProps extends BaseUIComponentProps<'div', TabsListState> {
|
|
337
491
|
/**
|
|
338
492
|
* Whether to automatically change the active tab on arrow key focus.
|
|
@@ -364,6 +518,17 @@ export declare namespace TabsPanel {
|
|
|
364
518
|
export type Props = TabsPanelProps;
|
|
365
519
|
}
|
|
366
520
|
|
|
521
|
+
export declare namespace TabsPanelDataAttributes {
|
|
522
|
+
export {
|
|
523
|
+
index,
|
|
524
|
+
activationDirection_4 as activationDirection,
|
|
525
|
+
orientation_5 as orientation,
|
|
526
|
+
hidden,
|
|
527
|
+
startingStyle,
|
|
528
|
+
endingStyle
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
367
532
|
export declare interface TabsPanelMetadata {
|
|
368
533
|
id?: string | undefined;
|
|
369
534
|
value: TabsTab.Value;
|
|
@@ -414,6 +579,13 @@ export declare type TabsRootChangeEventDetails = BaseUIChangeEventDetails<TabsRo
|
|
|
414
579
|
|
|
415
580
|
export declare type TabsRootChangeEventReason = typeof REASONS.none | typeof REASONS.disabled | typeof REASONS.missing | typeof REASONS.initial;
|
|
416
581
|
|
|
582
|
+
export declare namespace TabsRootDataAttributes {
|
|
583
|
+
export {
|
|
584
|
+
activationDirection,
|
|
585
|
+
orientation_2 as orientation
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
417
589
|
export declare type TabsRootOrientation = Orientation;
|
|
418
590
|
|
|
419
591
|
export declare interface TabsRootProps extends BaseUIComponentProps<'div', TabsRootState> {
|
|
@@ -485,6 +657,15 @@ export declare namespace TabsTab {
|
|
|
485
657
|
|
|
486
658
|
export declare type TabsTabActivationDirection = 'left' | 'right' | 'up' | 'down' | 'none';
|
|
487
659
|
|
|
660
|
+
export declare namespace TabsTabDataAttributes {
|
|
661
|
+
export {
|
|
662
|
+
activationDirection_2 as activationDirection,
|
|
663
|
+
orientation_3 as orientation,
|
|
664
|
+
disabled_2 as disabled,
|
|
665
|
+
active
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
|
|
488
669
|
export declare interface TabsTabMetadata {
|
|
489
670
|
disabled: boolean;
|
|
490
671
|
id: string | undefined;
|
|
@@ -533,23 +714,27 @@ export declare interface TabsTabState {
|
|
|
533
714
|
* The component orientation.
|
|
534
715
|
*/
|
|
535
716
|
orientation: TabsRoot.Orientation;
|
|
717
|
+
/**
|
|
718
|
+
* The direction used for tab activation.
|
|
719
|
+
*/
|
|
720
|
+
tabActivationDirection: TabsTab.ActivationDirection;
|
|
536
721
|
}
|
|
537
722
|
|
|
538
723
|
export declare type TabsTabValue = any | null;
|
|
539
724
|
|
|
540
|
-
declare const trackPress:
|
|
725
|
+
declare const trackPress: 'track-press';
|
|
541
726
|
|
|
542
727
|
declare type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
|
|
543
728
|
|
|
544
|
-
declare const triggerFocus:
|
|
729
|
+
declare const triggerFocus: 'trigger-focus';
|
|
545
730
|
|
|
546
|
-
declare const triggerHover:
|
|
731
|
+
declare const triggerHover: 'trigger-hover';
|
|
547
732
|
|
|
548
|
-
declare const triggerPress:
|
|
733
|
+
declare const triggerPress: 'trigger-press';
|
|
549
734
|
|
|
550
|
-
declare const wheel:
|
|
735
|
+
declare const wheel: 'wheel';
|
|
551
736
|
|
|
552
|
-
declare const windowResize:
|
|
737
|
+
declare const windowResize: 'window-resize';
|
|
553
738
|
|
|
554
739
|
/**
|
|
555
740
|
* Adds a `preventBaseUIHandler` method to all event handlers.
|