@wix/site-ui 1.347.0 → 1.349.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/Button/index.d.ts
CHANGED
|
@@ -46,6 +46,12 @@ declare namespace Button_2 {
|
|
|
46
46
|
type Props = ButtonProps;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
export declare namespace ButtonDataAttributes {
|
|
50
|
+
export {
|
|
51
|
+
disabled
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
49
55
|
export declare interface ButtonProps extends NativeButtonProps, BaseUIComponentProps<'button', ButtonState> {
|
|
50
56
|
/**
|
|
51
57
|
* Whether the button should be focusable when disabled.
|
|
@@ -75,6 +81,11 @@ declare type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
|
|
|
75
81
|
*/
|
|
76
82
|
declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
|
|
77
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Present when the button is disabled.
|
|
86
|
+
*/
|
|
87
|
+
declare const disabled = "data-disabled";
|
|
88
|
+
|
|
78
89
|
declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
79
90
|
ref?: React_2.Ref<T> | undefined;
|
|
80
91
|
};
|
package/dist/Button/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { useButton } from "../
|
|
4
|
-
import { useRenderElement } from "../
|
|
3
|
+
import { useButton } from "../9248.js";
|
|
4
|
+
import { useRenderElement } from "../9591.js";
|
|
5
5
|
import * as __rspack_external_react from "react";
|
|
6
6
|
const Button_Button = /*#__PURE__*/ __rspack_external_react.forwardRef(function(componentProps, forwardedRef) {
|
|
7
7
|
const { render, className, disabled = false, focusableWhenDisabled = false, nativeButton = true, style, ...elementProps } = componentProps;
|
package/dist/Checkbox/index.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ declare type BaseUIEvent<E extends React_2.SyntheticEvent<Element, Event>> = E &
|
|
|
67
67
|
readonly baseUIHandlerPrevented?: boolean | undefined;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
declare const cancelOpen:
|
|
70
|
+
declare const cancelOpen: 'cancel-open';
|
|
71
71
|
|
|
72
72
|
export declare const Checkbox: {
|
|
73
73
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<CheckboxRootProps_2, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
@@ -100,6 +100,25 @@ export declare namespace CheckboxIndicator {
|
|
|
100
100
|
export type Props = CheckboxIndicatorProps;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
export declare namespace CheckboxIndicatorDataAttributes {
|
|
104
|
+
export {
|
|
105
|
+
checked_2 as checked,
|
|
106
|
+
unchecked_2 as unchecked,
|
|
107
|
+
indeterminate_2 as indeterminate,
|
|
108
|
+
disabled_3 as disabled,
|
|
109
|
+
readonly_2 as readonly,
|
|
110
|
+
required_2 as required,
|
|
111
|
+
startingStyle,
|
|
112
|
+
endingStyle,
|
|
113
|
+
valid_2 as valid,
|
|
114
|
+
invalid_2 as invalid,
|
|
115
|
+
touched_2 as touched,
|
|
116
|
+
dirty_2 as dirty,
|
|
117
|
+
filled_2 as filled,
|
|
118
|
+
focused_2 as focused
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
103
122
|
export declare interface CheckboxIndicatorProps extends BaseUIComponentProps<'span', CheckboxIndicatorState> {
|
|
104
123
|
/**
|
|
105
124
|
* Whether to keep the element in the DOM when the checkbox is not checked.
|
|
@@ -134,6 +153,23 @@ export declare type CheckboxRootChangeEventDetails = BaseUIChangeEventDetails<Ch
|
|
|
134
153
|
|
|
135
154
|
export declare type CheckboxRootChangeEventReason = typeof REASONS.none;
|
|
136
155
|
|
|
156
|
+
export declare namespace CheckboxRootDataAttributes {
|
|
157
|
+
export {
|
|
158
|
+
checked,
|
|
159
|
+
unchecked,
|
|
160
|
+
indeterminate,
|
|
161
|
+
disabled_2 as disabled,
|
|
162
|
+
readonly,
|
|
163
|
+
required,
|
|
164
|
+
valid,
|
|
165
|
+
invalid,
|
|
166
|
+
touched,
|
|
167
|
+
dirty,
|
|
168
|
+
filled,
|
|
169
|
+
focused
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
137
173
|
export declare interface CheckboxRootProps extends NonNativeButtonProps, Omit<BaseUIComponentProps<'span', CheckboxRootState>, 'onChange' | 'value'> {
|
|
138
174
|
/**
|
|
139
175
|
* The id of the input element.
|
|
@@ -204,7 +240,8 @@ export declare interface CheckboxRootProps extends NonNativeButtonProps, Omit<Ba
|
|
|
204
240
|
*/
|
|
205
241
|
uncheckedValue?: string | undefined;
|
|
206
242
|
/**
|
|
207
|
-
* The value
|
|
243
|
+
* The checkbox's value. Identifies it within a [Checkbox Group](https://base-ui.com/react/components/checkbox-group), falling back to `name` when omitted.
|
|
244
|
+
* When submitting a form, a checked box submits `value`; with no `value`, it submits the native "on".
|
|
208
245
|
*/
|
|
209
246
|
value?: string | undefined;
|
|
210
247
|
}
|
|
@@ -238,13 +275,23 @@ export declare const CheckboxSize: {
|
|
|
238
275
|
readonly large: 20;
|
|
239
276
|
};
|
|
240
277
|
|
|
241
|
-
|
|
278
|
+
/**
|
|
279
|
+
* Present when the checkbox is checked.
|
|
280
|
+
*/
|
|
281
|
+
declare const checked = "data-checked";
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Present when the checkbox is checked.
|
|
285
|
+
*/
|
|
286
|
+
declare const checked_2 = "data-checked";
|
|
287
|
+
|
|
288
|
+
declare const chipRemovePress: 'chip-remove-press';
|
|
242
289
|
|
|
243
|
-
declare const clearPress:
|
|
290
|
+
declare const clearPress: 'clear-press';
|
|
244
291
|
|
|
245
|
-
declare const closePress:
|
|
292
|
+
declare const closePress: 'close-press';
|
|
246
293
|
|
|
247
|
-
declare const closeWatcher:
|
|
294
|
+
declare const closeWatcher: 'close-watcher';
|
|
248
295
|
|
|
249
296
|
/**
|
|
250
297
|
* 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.
|
|
@@ -254,13 +301,38 @@ declare const closeWatcher: "close-watcher";
|
|
|
254
301
|
*/
|
|
255
302
|
declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
|
|
256
303
|
|
|
257
|
-
declare const decrementPress:
|
|
304
|
+
declare const decrementPress: 'decrement-press';
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Present when the checkbox's value has changed (when wrapped in Field.Root).
|
|
308
|
+
*/
|
|
309
|
+
declare const dirty = "data-dirty";
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Present when the checkbox's value has changed (when wrapped in Field.Root).
|
|
313
|
+
*/
|
|
314
|
+
declare const dirty_2 = "data-dirty";
|
|
315
|
+
|
|
316
|
+
declare const disabled: 'disabled';
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Present when the checkbox is disabled.
|
|
320
|
+
*/
|
|
321
|
+
declare const disabled_2 = "data-disabled";
|
|
258
322
|
|
|
259
|
-
|
|
323
|
+
/**
|
|
324
|
+
* Present when the checkbox is disabled.
|
|
325
|
+
*/
|
|
326
|
+
declare const disabled_3 = "data-disabled";
|
|
260
327
|
|
|
261
|
-
declare const drag:
|
|
328
|
+
declare const drag: 'drag';
|
|
262
329
|
|
|
263
|
-
|
|
330
|
+
/**
|
|
331
|
+
* Present when the checkbox indicator is animating out.
|
|
332
|
+
*/
|
|
333
|
+
declare const endingStyle = "data-ending-style";
|
|
334
|
+
|
|
335
|
+
declare const escapeKey: 'escape-key';
|
|
264
336
|
|
|
265
337
|
declare interface FieldRootState {
|
|
266
338
|
/**
|
|
@@ -289,39 +361,79 @@ declare interface FieldRootState {
|
|
|
289
361
|
focused: boolean;
|
|
290
362
|
}
|
|
291
363
|
|
|
292
|
-
|
|
364
|
+
/**
|
|
365
|
+
* Present when the checkbox is checked (when wrapped in Field.Root).
|
|
366
|
+
*/
|
|
367
|
+
declare const filled = "data-filled";
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Present when the checkbox is checked (when wrapped in Field.Root).
|
|
371
|
+
*/
|
|
372
|
+
declare const filled_2 = "data-filled";
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Present when the checkbox is focused (when wrapped in Field.Root).
|
|
376
|
+
*/
|
|
377
|
+
declare const focused = "data-focused";
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Present when the checkbox is focused (when wrapped in Field.Root).
|
|
381
|
+
*/
|
|
382
|
+
declare const focused_2 = "data-focused";
|
|
383
|
+
|
|
384
|
+
declare const focusOut: 'focus-out';
|
|
293
385
|
|
|
294
386
|
declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
295
387
|
ref?: React_2.Ref<T> | undefined;
|
|
296
388
|
};
|
|
297
389
|
|
|
298
|
-
declare const imperativeAction:
|
|
390
|
+
declare const imperativeAction: 'imperative-action';
|
|
299
391
|
|
|
300
|
-
declare const incrementPress:
|
|
392
|
+
declare const incrementPress: 'increment-press';
|
|
301
393
|
|
|
302
|
-
|
|
394
|
+
/**
|
|
395
|
+
* Present when the checkbox is in an indeterminate state.
|
|
396
|
+
*/
|
|
397
|
+
declare const indeterminate = "data-indeterminate";
|
|
303
398
|
|
|
304
|
-
|
|
399
|
+
/**
|
|
400
|
+
* Present when the checkbox is in an indeterminate state.
|
|
401
|
+
*/
|
|
402
|
+
declare const indeterminate_2 = "data-indeterminate";
|
|
403
|
+
|
|
404
|
+
declare const initial: 'initial';
|
|
305
405
|
|
|
306
|
-
declare const
|
|
406
|
+
declare const inputBlur: 'input-blur';
|
|
307
407
|
|
|
308
|
-
declare const
|
|
408
|
+
declare const inputChange: 'input-change';
|
|
309
409
|
|
|
310
|
-
declare const
|
|
410
|
+
declare const inputClear: 'input-clear';
|
|
311
411
|
|
|
312
|
-
declare const
|
|
412
|
+
declare const inputPaste: 'input-paste';
|
|
313
413
|
|
|
314
|
-
declare const
|
|
414
|
+
declare const inputPress: 'input-press';
|
|
315
415
|
|
|
316
|
-
|
|
416
|
+
/**
|
|
417
|
+
* Present when the checkbox is in an invalid state (when wrapped in Field.Root).
|
|
418
|
+
*/
|
|
419
|
+
declare const invalid = "data-invalid";
|
|
317
420
|
|
|
318
|
-
|
|
421
|
+
/**
|
|
422
|
+
* Present when the checkbox is in an invalid state (when wrapped in Field.Root).
|
|
423
|
+
*/
|
|
424
|
+
declare const invalid_2 = "data-invalid";
|
|
319
425
|
|
|
320
|
-
declare const
|
|
426
|
+
declare const itemPress: 'item-press';
|
|
321
427
|
|
|
322
|
-
declare const
|
|
428
|
+
declare const keyboard: 'keyboard';
|
|
323
429
|
|
|
324
|
-
declare const
|
|
430
|
+
declare const linkPress: 'link-press';
|
|
431
|
+
|
|
432
|
+
declare const listNavigation: 'list-navigation';
|
|
433
|
+
|
|
434
|
+
declare const missing: 'missing';
|
|
435
|
+
|
|
436
|
+
declare const none: 'none';
|
|
325
437
|
|
|
326
438
|
declare interface NonNativeButtonProps {
|
|
327
439
|
/**
|
|
@@ -333,11 +445,23 @@ declare interface NonNativeButtonProps {
|
|
|
333
445
|
nativeButton?: boolean | undefined;
|
|
334
446
|
}
|
|
335
447
|
|
|
336
|
-
declare const outsidePress:
|
|
448
|
+
declare const outsidePress: 'outside-press';
|
|
337
449
|
|
|
338
450
|
export declare const PARENT_CHECKBOX = "data-parent";
|
|
339
451
|
|
|
340
|
-
declare const pointer:
|
|
452
|
+
declare const pointer: 'pointer';
|
|
453
|
+
|
|
454
|
+
declare const popupClose: 'popup-close';
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Present when the checkbox is readonly.
|
|
458
|
+
*/
|
|
459
|
+
declare const readonly = "data-readonly";
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Present when the checkbox is readonly.
|
|
463
|
+
*/
|
|
464
|
+
declare const readonly_2 = "data-readonly";
|
|
341
465
|
|
|
342
466
|
declare namespace REASONS {
|
|
343
467
|
export {
|
|
@@ -368,6 +492,7 @@ declare namespace REASONS {
|
|
|
368
492
|
drag,
|
|
369
493
|
wheel,
|
|
370
494
|
scrub,
|
|
495
|
+
popupClose,
|
|
371
496
|
cancelOpen,
|
|
372
497
|
siblingOpen,
|
|
373
498
|
disabled,
|
|
@@ -422,29 +547,74 @@ declare interface ReasonToEventMap {
|
|
|
422
547
|
[REASONS.windowResize]: UIEvent;
|
|
423
548
|
}
|
|
424
549
|
|
|
550
|
+
/**
|
|
551
|
+
* Present when the checkbox is required.
|
|
552
|
+
*/
|
|
553
|
+
declare const required = "data-required";
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Present when the checkbox is required.
|
|
557
|
+
*/
|
|
558
|
+
declare const required_2 = "data-required";
|
|
559
|
+
|
|
425
560
|
export declare type RootProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Checkbox_2.Root>> & {
|
|
426
561
|
size?: number;
|
|
427
562
|
};
|
|
428
563
|
|
|
429
|
-
declare const scrub:
|
|
564
|
+
declare const scrub: 'scrub';
|
|
430
565
|
|
|
431
|
-
declare const siblingOpen:
|
|
566
|
+
declare const siblingOpen: 'sibling-open';
|
|
432
567
|
|
|
433
|
-
|
|
568
|
+
/**
|
|
569
|
+
* Present when the checkbox indicator begins animating in.
|
|
570
|
+
*/
|
|
571
|
+
declare const startingStyle = "data-starting-style";
|
|
572
|
+
|
|
573
|
+
declare const swipe: 'swipe';
|
|
434
574
|
|
|
435
|
-
|
|
575
|
+
/**
|
|
576
|
+
* Present when the checkbox has been touched (when wrapped in Field.Root).
|
|
577
|
+
*/
|
|
578
|
+
declare const touched = "data-touched";
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Present when the checkbox has been touched (when wrapped in Field.Root).
|
|
582
|
+
*/
|
|
583
|
+
declare const touched_2 = "data-touched";
|
|
584
|
+
|
|
585
|
+
declare const trackPress: 'track-press';
|
|
436
586
|
|
|
437
587
|
declare type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
|
|
438
588
|
|
|
439
|
-
declare const triggerFocus:
|
|
589
|
+
declare const triggerFocus: 'trigger-focus';
|
|
440
590
|
|
|
441
|
-
declare const triggerHover:
|
|
591
|
+
declare const triggerHover: 'trigger-hover';
|
|
442
592
|
|
|
443
|
-
declare const triggerPress:
|
|
593
|
+
declare const triggerPress: 'trigger-press';
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Present when the checkbox is not checked.
|
|
597
|
+
*/
|
|
598
|
+
declare const unchecked = "data-unchecked";
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Present when the checkbox is not checked.
|
|
602
|
+
*/
|
|
603
|
+
declare const unchecked_2 = "data-unchecked";
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Present when the checkbox is in a valid state (when wrapped in Field.Root).
|
|
607
|
+
*/
|
|
608
|
+
declare const valid = "data-valid";
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Present when the checkbox is in a valid state (when wrapped in Field.Root).
|
|
612
|
+
*/
|
|
613
|
+
declare const valid_2 = "data-valid";
|
|
444
614
|
|
|
445
|
-
declare const wheel:
|
|
615
|
+
declare const wheel: 'wheel';
|
|
446
616
|
|
|
447
|
-
declare const windowResize:
|
|
617
|
+
declare const windowResize: 'window-resize';
|
|
448
618
|
|
|
449
619
|
/**
|
|
450
620
|
* Adds a `preventBaseUIHandler` method to all event handlers.
|