@wix/site-ui 1.346.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
|
@@ -68,14 +68,151 @@ declare const DEFAULT_SIZE: {
|
|
|
68
68
|
height: number;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Present when the scroll area content is wider than the viewport.
|
|
73
|
+
*/
|
|
74
|
+
declare const hasOverflowX = "data-has-overflow-x";
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Present when the scroll area content is wider than the viewport.
|
|
78
|
+
*/
|
|
79
|
+
declare const hasOverflowX_2 = "data-has-overflow-x";
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Present when the scroll area content is wider than the viewport.
|
|
83
|
+
*/
|
|
84
|
+
declare const hasOverflowX_3 = "data-has-overflow-x";
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Present when the scroll area content is wider than the viewport.
|
|
88
|
+
*/
|
|
89
|
+
declare const hasOverflowX_4 = "data-has-overflow-x";
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Present when the scroll area content is taller than the viewport.
|
|
93
|
+
*/
|
|
94
|
+
declare const hasOverflowY = "data-has-overflow-y";
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Present when the scroll area content is taller than the viewport.
|
|
98
|
+
*/
|
|
99
|
+
declare const hasOverflowY_2 = "data-has-overflow-y";
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Present when the scroll area content is taller than the viewport.
|
|
103
|
+
*/
|
|
104
|
+
declare const hasOverflowY_3 = "data-has-overflow-y";
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Present when the scroll area content is taller than the viewport.
|
|
108
|
+
*/
|
|
109
|
+
declare const hasOverflowY_4 = "data-has-overflow-y";
|
|
110
|
+
|
|
71
111
|
export declare type HiddenState = typeof DEFAULT_HIDDEN_STATE;
|
|
72
112
|
|
|
113
|
+
/**
|
|
114
|
+
* Present when the pointer is over the scroll area.
|
|
115
|
+
*/
|
|
116
|
+
declare const hovering = "data-hovering";
|
|
117
|
+
|
|
73
118
|
declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
74
119
|
ref?: React_2.Ref<T> | undefined;
|
|
75
120
|
};
|
|
76
121
|
|
|
122
|
+
/**
|
|
123
|
+
* Indicates the orientation of the scrollbar.
|
|
124
|
+
* @type {'horizontal' | 'vertical'}
|
|
125
|
+
*/
|
|
126
|
+
declare const orientation_2 = "data-orientation";
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Indicates the orientation of the scrollbar.
|
|
130
|
+
* @type {'horizontal' | 'vertical'}
|
|
131
|
+
*/
|
|
132
|
+
declare const orientation_3 = "data-orientation";
|
|
133
|
+
|
|
77
134
|
export declare type OverflowEdges = typeof DEFAULT_OVERFLOW_EDGES;
|
|
78
135
|
|
|
136
|
+
/**
|
|
137
|
+
* Present when there is overflow on the horizontal end side.
|
|
138
|
+
*/
|
|
139
|
+
declare const overflowXEnd = "data-overflow-x-end";
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Present when there is overflow on the horizontal end side.
|
|
143
|
+
*/
|
|
144
|
+
declare const overflowXEnd_2 = "data-overflow-x-end";
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Present when there is overflow on the horizontal end side.
|
|
148
|
+
*/
|
|
149
|
+
declare const overflowXEnd_3 = "data-overflow-x-end";
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Present when there is overflow on the horizontal end side.
|
|
153
|
+
*/
|
|
154
|
+
declare const overflowXEnd_4 = "data-overflow-x-end";
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Present when there is overflow on the horizontal start side.
|
|
158
|
+
*/
|
|
159
|
+
declare const overflowXStart = "data-overflow-x-start";
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Present when there is overflow on the horizontal start side.
|
|
163
|
+
*/
|
|
164
|
+
declare const overflowXStart_2 = "data-overflow-x-start";
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Present when there is overflow on the horizontal start side.
|
|
168
|
+
*/
|
|
169
|
+
declare const overflowXStart_3 = "data-overflow-x-start";
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Present when there is overflow on the horizontal start side.
|
|
173
|
+
*/
|
|
174
|
+
declare const overflowXStart_4 = "data-overflow-x-start";
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Present when there is overflow on the vertical end side.
|
|
178
|
+
*/
|
|
179
|
+
declare const overflowYEnd = "data-overflow-y-end";
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Present when there is overflow on the vertical end side.
|
|
183
|
+
*/
|
|
184
|
+
declare const overflowYEnd_2 = "data-overflow-y-end";
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Present when there is overflow on the vertical end side.
|
|
188
|
+
*/
|
|
189
|
+
declare const overflowYEnd_3 = "data-overflow-y-end";
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Present when there is overflow on the vertical end side.
|
|
193
|
+
*/
|
|
194
|
+
declare const overflowYEnd_4 = "data-overflow-y-end";
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Present when there is overflow on the vertical start side.
|
|
198
|
+
*/
|
|
199
|
+
declare const overflowYStart = "data-overflow-y-start";
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Present when there is overflow on the vertical start side.
|
|
203
|
+
*/
|
|
204
|
+
declare const overflowYStart_2 = "data-overflow-y-start";
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Present when there is overflow on the vertical start side.
|
|
208
|
+
*/
|
|
209
|
+
declare const overflowYStart_3 = "data-overflow-y-start";
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Present when there is overflow on the vertical start side.
|
|
213
|
+
*/
|
|
214
|
+
declare const overflowYStart_4 = "data-overflow-y-start";
|
|
215
|
+
|
|
79
216
|
export declare const ScrollArea: {
|
|
80
217
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaRootProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
81
218
|
className?: string;
|
|
@@ -110,6 +247,18 @@ export declare namespace ScrollAreaContent {
|
|
|
110
247
|
export type Props = ScrollAreaContentProps;
|
|
111
248
|
}
|
|
112
249
|
|
|
250
|
+
export declare namespace ScrollAreaContentDataAttributes {
|
|
251
|
+
export {
|
|
252
|
+
scrolling_4 as scrolling,
|
|
253
|
+
hasOverflowX_4 as hasOverflowX,
|
|
254
|
+
hasOverflowY_4 as hasOverflowY,
|
|
255
|
+
overflowXStart_4 as overflowXStart,
|
|
256
|
+
overflowXEnd_4 as overflowXEnd,
|
|
257
|
+
overflowYStart_4 as overflowYStart,
|
|
258
|
+
overflowYEnd_4 as overflowYEnd
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
113
262
|
export declare interface ScrollAreaContentProps extends BaseUIComponentProps<'div', ScrollAreaContentState> {}
|
|
114
263
|
|
|
115
264
|
export declare interface ScrollAreaContentState extends ScrollAreaRootState {}
|
|
@@ -127,10 +276,46 @@ export declare namespace ScrollAreaCorner {
|
|
|
127
276
|
export type Props = ScrollAreaCornerProps;
|
|
128
277
|
}
|
|
129
278
|
|
|
279
|
+
/**
|
|
280
|
+
* The scroll area's corner height.
|
|
281
|
+
* @type {number}
|
|
282
|
+
*/
|
|
283
|
+
declare const scrollAreaCornerHeight = "--scroll-area-corner-height";
|
|
284
|
+
|
|
130
285
|
export declare interface ScrollAreaCornerProps extends BaseUIComponentProps<'div', ScrollAreaCornerState> {}
|
|
131
286
|
|
|
132
287
|
export declare interface ScrollAreaCornerState {}
|
|
133
288
|
|
|
289
|
+
/**
|
|
290
|
+
* The scroll area's corner width.
|
|
291
|
+
* @type {number}
|
|
292
|
+
*/
|
|
293
|
+
declare const scrollAreaCornerWidth = "--scroll-area-corner-width";
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* The distance from the horizontal end edge in pixels.
|
|
297
|
+
* @type {number}
|
|
298
|
+
*/
|
|
299
|
+
declare const scrollAreaOverflowXEnd = "--scroll-area-overflow-x-end";
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* The distance from the horizontal start edge in pixels.
|
|
303
|
+
* @type {number}
|
|
304
|
+
*/
|
|
305
|
+
declare const scrollAreaOverflowXStart = "--scroll-area-overflow-x-start";
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The distance from the vertical end edge in pixels.
|
|
309
|
+
* @type {number}
|
|
310
|
+
*/
|
|
311
|
+
declare const scrollAreaOverflowYEnd = "--scroll-area-overflow-y-end";
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* The distance from the vertical start edge in pixels.
|
|
315
|
+
* @type {number}
|
|
316
|
+
*/
|
|
317
|
+
declare const scrollAreaOverflowYStart = "--scroll-area-overflow-y-start";
|
|
318
|
+
|
|
134
319
|
/**
|
|
135
320
|
* Groups all parts of the scroll area.
|
|
136
321
|
* Renders a `<div>` element.
|
|
@@ -144,6 +329,25 @@ export declare namespace ScrollAreaRoot {
|
|
|
144
329
|
export type Props = ScrollAreaRootProps;
|
|
145
330
|
}
|
|
146
331
|
|
|
332
|
+
export declare namespace ScrollAreaRootCssVariables {
|
|
333
|
+
export {
|
|
334
|
+
scrollAreaCornerHeight,
|
|
335
|
+
scrollAreaCornerWidth
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export declare namespace ScrollAreaRootDataAttributes {
|
|
340
|
+
export {
|
|
341
|
+
scrolling,
|
|
342
|
+
hasOverflowX,
|
|
343
|
+
hasOverflowY,
|
|
344
|
+
overflowXStart,
|
|
345
|
+
overflowXEnd,
|
|
346
|
+
overflowYStart,
|
|
347
|
+
overflowYEnd
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
147
351
|
export declare interface ScrollAreaRootProps extends BaseUIComponentProps<'div', ScrollAreaRootState> {
|
|
148
352
|
/**
|
|
149
353
|
* The threshold in pixels that must be passed before the overflow edge attributes are applied.
|
|
@@ -206,6 +410,27 @@ export declare namespace ScrollAreaScrollbar {
|
|
|
206
410
|
export type Props = ScrollAreaScrollbarProps;
|
|
207
411
|
}
|
|
208
412
|
|
|
413
|
+
export declare namespace ScrollAreaScrollbarCssVariables {
|
|
414
|
+
export {
|
|
415
|
+
scrollAreaThumbHeight,
|
|
416
|
+
scrollAreaThumbWidth
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export declare namespace ScrollAreaScrollbarDataAttributes {
|
|
421
|
+
export {
|
|
422
|
+
orientation_2 as orientation,
|
|
423
|
+
hovering,
|
|
424
|
+
scrolling_3 as scrolling,
|
|
425
|
+
hasOverflowX_3 as hasOverflowX,
|
|
426
|
+
hasOverflowY_3 as hasOverflowY,
|
|
427
|
+
overflowXStart_3 as overflowXStart,
|
|
428
|
+
overflowXEnd_3 as overflowXEnd,
|
|
429
|
+
overflowYStart_3 as overflowYStart,
|
|
430
|
+
overflowYEnd_3 as overflowYEnd
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
209
434
|
export declare interface ScrollAreaScrollbarProps extends BaseUIComponentProps<'div', ScrollAreaScrollbarState> {
|
|
210
435
|
/**
|
|
211
436
|
* Whether the scrollbar controls vertical or horizontal scroll.
|
|
@@ -247,15 +472,38 @@ export declare namespace ScrollAreaThumb {
|
|
|
247
472
|
export type Props = ScrollAreaThumbProps;
|
|
248
473
|
}
|
|
249
474
|
|
|
475
|
+
export declare namespace ScrollAreaThumbDataAttributes {
|
|
476
|
+
export {
|
|
477
|
+
orientation_3 as orientation,
|
|
478
|
+
scrolling_5 as scrolling
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* The scroll area thumb's height.
|
|
484
|
+
* @type {number}
|
|
485
|
+
*/
|
|
486
|
+
declare const scrollAreaThumbHeight = "--scroll-area-thumb-height";
|
|
487
|
+
|
|
250
488
|
export declare interface ScrollAreaThumbProps extends BaseUIComponentProps<'div', ScrollAreaThumbState> {}
|
|
251
489
|
|
|
252
490
|
export declare interface ScrollAreaThumbState {
|
|
491
|
+
/**
|
|
492
|
+
* Whether the scroll area is being scrolled.
|
|
493
|
+
*/
|
|
494
|
+
scrolling: boolean;
|
|
253
495
|
/**
|
|
254
496
|
* The component orientation.
|
|
255
497
|
*/
|
|
256
|
-
orientation
|
|
498
|
+
orientation: 'horizontal' | 'vertical';
|
|
257
499
|
}
|
|
258
500
|
|
|
501
|
+
/**
|
|
502
|
+
* The scroll area thumb's width.
|
|
503
|
+
* @type {number}
|
|
504
|
+
*/
|
|
505
|
+
declare const scrollAreaThumbWidth = "--scroll-area-thumb-width";
|
|
506
|
+
|
|
259
507
|
/**
|
|
260
508
|
* The actual scrollable container of the scroll area.
|
|
261
509
|
* Renders a `<div>` element.
|
|
@@ -269,10 +517,56 @@ export declare namespace ScrollAreaViewport {
|
|
|
269
517
|
export type State = ScrollAreaViewportState;
|
|
270
518
|
}
|
|
271
519
|
|
|
520
|
+
export declare namespace ScrollAreaViewportCssVariables {
|
|
521
|
+
export {
|
|
522
|
+
scrollAreaOverflowXStart,
|
|
523
|
+
scrollAreaOverflowXEnd,
|
|
524
|
+
scrollAreaOverflowYStart,
|
|
525
|
+
scrollAreaOverflowYEnd
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export declare namespace ScrollAreaViewportDataAttributes {
|
|
530
|
+
export {
|
|
531
|
+
scrolling_2 as scrolling,
|
|
532
|
+
hasOverflowX_2 as hasOverflowX,
|
|
533
|
+
hasOverflowY_2 as hasOverflowY,
|
|
534
|
+
overflowXStart_2 as overflowXStart,
|
|
535
|
+
overflowXEnd_2 as overflowXEnd,
|
|
536
|
+
overflowYStart_2 as overflowYStart,
|
|
537
|
+
overflowYEnd_2 as overflowYEnd
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
272
541
|
export declare interface ScrollAreaViewportProps extends BaseUIComponentProps<'div', ScrollAreaViewportState> {}
|
|
273
542
|
|
|
274
543
|
export declare interface ScrollAreaViewportState extends ScrollAreaRootState {}
|
|
275
544
|
|
|
545
|
+
/**
|
|
546
|
+
* Present when the user scrolls inside the scroll area.
|
|
547
|
+
*/
|
|
548
|
+
declare const scrolling = "data-scrolling";
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Present when the user scrolls inside the scroll area.
|
|
552
|
+
*/
|
|
553
|
+
declare const scrolling_2 = "data-scrolling";
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Present when the user scrolls inside the scroll area.
|
|
557
|
+
*/
|
|
558
|
+
declare const scrolling_3 = "data-scrolling";
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Present when the user scrolls inside the scroll area.
|
|
562
|
+
*/
|
|
563
|
+
declare const scrolling_4 = "data-scrolling";
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Present when the user scrolls inside the scroll area.
|
|
567
|
+
*/
|
|
568
|
+
declare const scrolling_5 = "data-scrolling";
|
|
569
|
+
|
|
276
570
|
export declare type Size = typeof DEFAULT_SIZE;
|
|
277
571
|
|
|
278
572
|
/**
|