@wix/site-ui 1.129.0 → 1.130.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/Accordion/index.d.ts +12 -12
- package/dist/AlertDialog/index.d.ts +13 -13
- package/dist/Autocomplete/index.d.ts +31 -31
- package/dist/Avatar/index.d.ts +7 -7
- package/dist/Breadcrumbs/index.d.ts +7 -7
- package/dist/Checkbox/index.d.ts +5 -5
- package/dist/CheckboxGroup/index.d.ts +2 -2
- package/dist/CheckboxGroupField/index.d.ts +2 -2
- package/dist/Collapsible/index.d.ts +6 -6
- package/dist/Combobox/index.d.ts +57 -57
- package/dist/ContextMenu/index.d.ts +32 -32
- package/dist/Dialog/index.d.ts +20 -20
- package/dist/Drawer/index.d.ts +14 -14
- package/dist/Field/index.d.ts +15 -15
- package/dist/Fieldset/index.d.ts +4 -4
- package/dist/Form/index.d.ts +1 -1
- package/dist/Input/index.d.ts +2 -2
- package/dist/Menu/index.d.ts +46 -46
- package/dist/Menubar/index.d.ts +2 -2
- package/dist/Meter/index.d.ts +10 -10
- package/dist/NavigationMenu/index.d.ts +23 -23
- package/dist/NumberField/index.d.ts +14 -14
- package/dist/Popover/index.d.ts +16 -16
- package/dist/PreviewCard/index.d.ts +10 -10
- package/dist/Progress/index.d.ts +11 -11
- package/dist/Radio/index.d.ts +2 -2
- package/dist/RadioField/index.d.ts +42 -61
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/RadioGroupField/index.d.ts +9 -9
- package/dist/ScrollArea/index.d.ts +12 -12
- package/dist/Select/index.d.ts +34 -34
- package/dist/SelectField/index.d.ts +45 -45
- package/dist/Slider/index.d.ts +12 -12
- package/dist/Switch/index.d.ts +6 -6
- package/dist/Tabs/index.d.ts +8 -8
- package/dist/Toggle/index.d.ts +1 -1
- package/dist/ToggleGroup/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +12 -12
- package/dist/Tooltip/index.d.ts +9 -9
- package/dist/index.d.ts +460 -515
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { NumberFieldDecrementProps as NumberFieldDecrementProps_2 } from '@base-ui/react
|
|
2
|
-
import { NumberFieldGroupProps as NumberFieldGroupProps_2 } from '@base-ui/react
|
|
3
|
-
import { NumberFieldIncrementProps as NumberFieldIncrementProps_2 } from '@base-ui/react
|
|
4
|
-
import { NumberFieldInputProps as NumberFieldInputProps_2 } from '@base-ui/react
|
|
5
|
-
import { NumberFieldRootProps as NumberFieldRootProps_2 } from '@base-ui/react
|
|
6
|
-
import { NumberFieldScrubAreaCursorProps as NumberFieldScrubAreaCursorProps_2 } from '@base-ui/react
|
|
7
|
-
import { NumberFieldScrubAreaProps as NumberFieldScrubAreaProps_2 } from '@base-ui/react
|
|
1
|
+
import { NumberFieldDecrementProps as NumberFieldDecrementProps_2 } from '@base-ui/react';
|
|
2
|
+
import { NumberFieldGroupProps as NumberFieldGroupProps_2 } from '@base-ui/react';
|
|
3
|
+
import { NumberFieldIncrementProps as NumberFieldIncrementProps_2 } from '@base-ui/react';
|
|
4
|
+
import { NumberFieldInputProps as NumberFieldInputProps_2 } from '@base-ui/react';
|
|
5
|
+
import { NumberFieldRootProps as NumberFieldRootProps_2 } from '@base-ui/react';
|
|
6
|
+
import { NumberFieldScrubAreaCursorProps as NumberFieldScrubAreaCursorProps_2 } from '@base-ui/react';
|
|
7
|
+
import { NumberFieldScrubAreaProps as NumberFieldScrubAreaProps_2 } from '@base-ui/react';
|
|
8
8
|
import * as React_2 from 'react';
|
|
9
9
|
|
|
10
10
|
declare type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends object> = {
|
|
@@ -193,25 +193,25 @@ declare const none: "none";
|
|
|
193
193
|
|
|
194
194
|
export declare const NumberField: {
|
|
195
195
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldRootProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
196
|
-
className?: string
|
|
196
|
+
className?: string;
|
|
197
197
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
198
198
|
Group: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldGroupProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
199
|
-
className?: string
|
|
199
|
+
className?: string;
|
|
200
200
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
201
201
|
Increment: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldIncrementProps_2, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
202
|
-
className?: string
|
|
202
|
+
className?: string;
|
|
203
203
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
204
204
|
Decrement: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldDecrementProps_2, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
205
|
-
className?: string
|
|
205
|
+
className?: string;
|
|
206
206
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
207
207
|
Input: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldInputProps_2, "ref"> & React_2.RefAttributes<HTMLInputElement>, "ref">, "className"> & {
|
|
208
|
-
className?: string
|
|
208
|
+
className?: string;
|
|
209
209
|
} & React_2.RefAttributes<HTMLInputElement>>;
|
|
210
210
|
ScrubArea: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldScrubAreaProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
211
|
-
className?: string
|
|
211
|
+
className?: string;
|
|
212
212
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
213
213
|
ScrubAreaCursor: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldScrubAreaCursorProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
214
|
-
className?: string
|
|
214
|
+
className?: string;
|
|
215
215
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
216
216
|
};
|
|
217
217
|
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import { HTMLProps as HTMLProps_2 } from '../../index.js';
|
|
|
4
4
|
import { InteractionType } from '@base-ui/utils/useEnhancedClickHandler';
|
|
5
5
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
6
6
|
import { Padding } from '@floating-ui/react-dom';
|
|
7
|
-
import { PopoverArrowProps as PopoverArrowProps_2 } from '@base-ui/react
|
|
8
|
-
import { PopoverBackdropProps as PopoverBackdropProps_2 } from '@base-ui/react
|
|
9
|
-
import { PopoverCloseProps as PopoverCloseProps_2 } from '@base-ui/react
|
|
10
|
-
import { PopoverDescriptionProps as PopoverDescriptionProps_2 } from '@base-ui/react
|
|
11
|
-
import { PopoverPopupProps as PopoverPopupProps_2 } from '@base-ui/react
|
|
12
|
-
import { PopoverPortalProps as PopoverPortalProps_2 } from '@base-ui/react
|
|
13
|
-
import { PopoverPositionerProps as PopoverPositionerProps_2 } from '@base-ui/react
|
|
7
|
+
import { PopoverArrowProps as PopoverArrowProps_2 } from '@base-ui/react';
|
|
8
|
+
import { PopoverBackdropProps as PopoverBackdropProps_2 } from '@base-ui/react';
|
|
9
|
+
import { PopoverCloseProps as PopoverCloseProps_2 } from '@base-ui/react';
|
|
10
|
+
import { PopoverDescriptionProps as PopoverDescriptionProps_2 } from '@base-ui/react';
|
|
11
|
+
import { PopoverPopupProps as PopoverPopupProps_2 } from '@base-ui/react';
|
|
12
|
+
import { PopoverPortalProps as PopoverPortalProps_2 } from '@base-ui/react';
|
|
13
|
+
import { PopoverPositionerProps as PopoverPositionerProps_2 } from '@base-ui/react';
|
|
14
14
|
import { PopoverRootChangeEventReason as PopoverRootChangeEventReason_2 } from '../index.js';
|
|
15
|
-
import { PopoverTitleProps as PopoverTitleProps_2 } from '@base-ui/react
|
|
15
|
+
import { PopoverTitleProps as PopoverTitleProps_2 } from '@base-ui/react';
|
|
16
16
|
import * as React_2 from 'react';
|
|
17
17
|
import { ReactStore } from '@base-ui/utils/store';
|
|
18
18
|
import { Rect } from '@floating-ui/utils';
|
|
@@ -324,28 +324,28 @@ declare const pointer: "pointer";
|
|
|
324
324
|
|
|
325
325
|
export declare const Popover: {
|
|
326
326
|
Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverPositionerProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
327
|
-
className?: string
|
|
327
|
+
className?: string;
|
|
328
328
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
329
329
|
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverPopupProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
330
|
-
className?: string
|
|
330
|
+
className?: string;
|
|
331
331
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
332
332
|
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverArrowProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
333
|
-
className?: string
|
|
333
|
+
className?: string;
|
|
334
334
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
335
335
|
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverBackdropProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
336
|
-
className?: string
|
|
336
|
+
className?: string;
|
|
337
337
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
338
338
|
Title: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverTitleProps_2, "ref"> & React_2.RefAttributes<HTMLHeadingElement>, "ref">, "className"> & {
|
|
339
|
-
className?: string
|
|
339
|
+
className?: string;
|
|
340
340
|
} & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
341
341
|
Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverDescriptionProps_2, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "className"> & {
|
|
342
|
-
className?: string
|
|
342
|
+
className?: string;
|
|
343
343
|
} & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
344
344
|
Close: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PopoverCloseProps_2, "ref"> & React_2.RefAttributes<HTMLButtonElement>, "ref">, "className"> & {
|
|
345
|
-
className?: string
|
|
345
|
+
className?: string;
|
|
346
346
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
347
347
|
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<Popover_2.Viewport.Props, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
348
|
-
className?: string
|
|
348
|
+
className?: string;
|
|
349
349
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
350
350
|
Root: typeof Popover_2.Root;
|
|
351
351
|
Trigger: typeof Trigger;
|
|
@@ -3,11 +3,11 @@ import { FloatingRootStore as FloatingRootStore_2 } from '../../floating-ui-reac
|
|
|
3
3
|
import { HTMLProps as HTMLProps_2 } from '../../index.js';
|
|
4
4
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
5
5
|
import { Padding } from '@floating-ui/react-dom';
|
|
6
|
-
import { PreviewCardArrowProps as PreviewCardArrowProps_2 } from '@base-ui/react
|
|
7
|
-
import { PreviewCardBackdropProps as PreviewCardBackdropProps_2 } from '@base-ui/react
|
|
8
|
-
import { PreviewCardPopupProps as PreviewCardPopupProps_2 } from '@base-ui/react
|
|
9
|
-
import { PreviewCardPortalProps as PreviewCardPortalProps_2 } from '@base-ui/react
|
|
10
|
-
import { PreviewCardPositionerProps as PreviewCardPositionerProps_2 } from '@base-ui/react
|
|
6
|
+
import { PreviewCardArrowProps as PreviewCardArrowProps_2 } from '@base-ui/react';
|
|
7
|
+
import { PreviewCardBackdropProps as PreviewCardBackdropProps_2 } from '@base-ui/react';
|
|
8
|
+
import { PreviewCardPopupProps as PreviewCardPopupProps_2 } from '@base-ui/react';
|
|
9
|
+
import { PreviewCardPortalProps as PreviewCardPortalProps_2 } from '@base-ui/react';
|
|
10
|
+
import { PreviewCardPositionerProps as PreviewCardPositionerProps_2 } from '@base-ui/react';
|
|
11
11
|
import * as React_2 from 'react';
|
|
12
12
|
import { ReactStore } from '@base-ui/utils/store';
|
|
13
13
|
import { Rect } from '@floating-ui/utils';
|
|
@@ -464,19 +464,19 @@ declare class PopupTriggerMap {
|
|
|
464
464
|
|
|
465
465
|
export declare const PreviewCard: {
|
|
466
466
|
Positioner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PreviewCardPositionerProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
467
|
-
className?: string
|
|
467
|
+
className?: string;
|
|
468
468
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
469
469
|
Popup: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PreviewCardPopupProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
470
|
-
className?: string
|
|
470
|
+
className?: string;
|
|
471
471
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
472
472
|
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PreviewCardArrowProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
473
|
-
className?: string
|
|
473
|
+
className?: string;
|
|
474
474
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
475
475
|
Backdrop: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PreviewCardBackdropProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
476
|
-
className?: string
|
|
476
|
+
className?: string;
|
|
477
477
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
478
478
|
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<PreviewCard_2.Viewport.Props, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
479
|
-
className?: string
|
|
479
|
+
className?: string;
|
|
480
480
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
481
481
|
Root: <Payload>(props: PreviewCard_2.Root.Props<Payload>) => JSX_2.Element;
|
|
482
482
|
Trigger: typeof Trigger;
|
package/dist/Progress/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ProgressIndicatorProps as ProgressIndicatorProps_2 } from '@base-ui/react
|
|
2
|
-
import { ProgressLabelProps as ProgressLabelProps_2 } from '@base-ui/react
|
|
3
|
-
import { ProgressRootProps as ProgressRootProps_2 } from '@base-ui/react
|
|
4
|
-
import { ProgressTrackProps as ProgressTrackProps_2 } from '@base-ui/react
|
|
5
|
-
import { ProgressValueProps as ProgressValueProps_2 } from '@base-ui/react
|
|
1
|
+
import { ProgressIndicatorProps as ProgressIndicatorProps_2 } from '@base-ui/react';
|
|
2
|
+
import { ProgressLabelProps as ProgressLabelProps_2 } from '@base-ui/react';
|
|
3
|
+
import { ProgressRootProps as ProgressRootProps_2 } from '@base-ui/react';
|
|
4
|
+
import { ProgressTrackProps as ProgressTrackProps_2 } from '@base-ui/react';
|
|
5
|
+
import { ProgressValueProps as ProgressValueProps_2 } from '@base-ui/react';
|
|
6
6
|
import * as React_2 from 'react';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -48,21 +48,21 @@ declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
|
48
48
|
|
|
49
49
|
export declare const Progress: {
|
|
50
50
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressRootProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
51
|
-
className?: string
|
|
51
|
+
className?: string;
|
|
52
52
|
} & {
|
|
53
|
-
size?: number
|
|
53
|
+
size?: number;
|
|
54
54
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
55
55
|
Track: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressTrackProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
56
|
-
className?: string
|
|
56
|
+
className?: string;
|
|
57
57
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
58
58
|
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressIndicatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
59
|
-
className?: string
|
|
59
|
+
className?: string;
|
|
60
60
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
61
61
|
Value: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressValueProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
62
|
-
className?: string
|
|
62
|
+
className?: string;
|
|
63
63
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
64
64
|
Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressLabelProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
65
|
-
className?: string
|
|
65
|
+
className?: string;
|
|
66
66
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
67
67
|
};
|
|
68
68
|
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
-
import { RadioIndicatorProps as RadioIndicatorProps_2 } from '@base-ui/react
|
|
2
|
+
import { RadioIndicatorProps as RadioIndicatorProps_2 } from '@base-ui/react';
|
|
3
3
|
import * as React_2 from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -83,7 +83,7 @@ declare interface NonNativeButtonProps {
|
|
|
83
83
|
export declare const Radio: {
|
|
84
84
|
Root: typeof Root;
|
|
85
85
|
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<RadioIndicatorProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
86
|
-
className?: string
|
|
86
|
+
className?: string;
|
|
87
87
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
88
88
|
};
|
|
89
89
|
|
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { FieldItemProps as FieldItemProps_2 } from '@base-ui/react/field';
|
|
9
|
-
import { FieldLabelProps } from '../Field';
|
|
10
|
-
import { FieldLabelProps as FieldLabelProps_2 } from '@base-ui/react/field';
|
|
11
|
-
import { FieldRootProps } from '../Field';
|
|
12
|
-
import { FieldRootProps as FieldRootProps_3 } from '@base-ui/react/field';
|
|
13
|
-
import { FieldValidityProps } from '@base-ui/react/field';
|
|
1
|
+
import { FieldControlProps } from '@base-ui/react';
|
|
2
|
+
import { FieldDescriptionProps } from '@base-ui/react';
|
|
3
|
+
import { FieldErrorProps } from '@base-ui/react';
|
|
4
|
+
import { FieldItemProps as FieldItemProps_2 } from '@base-ui/react';
|
|
5
|
+
import { FieldLabelProps } from '@base-ui/react';
|
|
6
|
+
import { FieldRootProps } from '@base-ui/react';
|
|
7
|
+
import { FieldValidityProps } from '@base-ui/react';
|
|
14
8
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
15
|
-
import {
|
|
16
|
-
import { RadioIndicatorProps as RadioIndicatorProps_2 } from '@base-ui/react/radio';
|
|
9
|
+
import { RadioIndicatorProps as RadioIndicatorProps_2 } from '@base-ui/react';
|
|
17
10
|
import * as React_2 from 'react';
|
|
18
11
|
|
|
19
12
|
/**
|
|
@@ -55,48 +48,48 @@ declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => R
|
|
|
55
48
|
|
|
56
49
|
declare type ControlVariant = 'box' | 'line';
|
|
57
50
|
|
|
58
|
-
declare type
|
|
51
|
+
declare type DescriptionAlign = 'start' | 'end';
|
|
59
52
|
|
|
60
53
|
declare const Field: {
|
|
61
|
-
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
62
|
-
className?: string
|
|
54
|
+
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
55
|
+
className?: string;
|
|
63
56
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
64
|
-
Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
65
|
-
className?: string
|
|
57
|
+
Label: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldLabelProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
58
|
+
className?: string;
|
|
66
59
|
} & {
|
|
67
60
|
/** `floating` lifts the label into the control until it is focused or filled. */
|
|
68
|
-
variant?:
|
|
61
|
+
variant?: LabelVariant;
|
|
69
62
|
} & React_2.RefAttributes<HTMLElement>>;
|
|
70
|
-
Error: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
71
|
-
className?: string
|
|
63
|
+
Error: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldErrorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
64
|
+
className?: string;
|
|
72
65
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
73
|
-
Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
74
|
-
className?: string
|
|
66
|
+
Description: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldDescriptionProps, "ref"> & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "className"> & {
|
|
67
|
+
className?: string;
|
|
75
68
|
} & {
|
|
76
69
|
/** Horizontal alignment of the text. */
|
|
77
|
-
align?:
|
|
70
|
+
align?: DescriptionAlign;
|
|
78
71
|
} & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
79
72
|
Control: React_2.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<Omit<FieldControlProps, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">>, "prefix" | "suffix"> & {
|
|
80
73
|
/** `line` swaps the boxed border for a single bottom border. */
|
|
81
|
-
variant?: ControlVariant
|
|
74
|
+
variant?: ControlVariant;
|
|
82
75
|
/** Content shown inside the field before the input. */
|
|
83
76
|
prefix?: React_2.ReactNode;
|
|
84
77
|
/** Content shown inside the field after the input. */
|
|
85
78
|
suffix?: React_2.ReactNode;
|
|
86
79
|
} & React_2.RefAttributes<HTMLElement>>;
|
|
87
80
|
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<FieldItemProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
88
|
-
className?: string
|
|
81
|
+
className?: string;
|
|
89
82
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
90
83
|
Validity: React_2.FC<FieldValidityProps>;
|
|
91
84
|
};
|
|
92
85
|
|
|
93
|
-
declare type
|
|
86
|
+
declare type FieldDescriptionProps_2 = React_2.ComponentPropsWithoutRef<typeof Field.Description>;
|
|
94
87
|
|
|
95
|
-
declare type
|
|
88
|
+
declare type FieldErrorProps_2 = React_2.ComponentPropsWithoutRef<typeof Field.Error>;
|
|
96
89
|
|
|
97
|
-
declare type
|
|
90
|
+
declare type FieldItemProps = React_2.ComponentPropsWithoutRef<typeof Field.Item>;
|
|
98
91
|
|
|
99
|
-
declare type
|
|
92
|
+
declare type FieldLabelProps_2 = React_2.ComponentPropsWithoutRef<typeof Field.Label>;
|
|
100
93
|
|
|
101
94
|
declare type FieldRootProps_2 = React_2.ComponentPropsWithoutRef<typeof Field.Root>;
|
|
102
95
|
|
|
@@ -133,7 +126,7 @@ declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
|
|
|
133
126
|
|
|
134
127
|
declare type IndicatorProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Radio_2.Indicator>>;
|
|
135
128
|
|
|
136
|
-
declare type
|
|
129
|
+
declare type LabelVariant = 'default' | 'floating';
|
|
137
130
|
|
|
138
131
|
declare interface NonNativeButtonProps {
|
|
139
132
|
/**
|
|
@@ -155,55 +148,43 @@ export declare namespace Radio {
|
|
|
155
148
|
declare const Radio_2: {
|
|
156
149
|
Root: typeof Root;
|
|
157
150
|
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<RadioIndicatorProps_2, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
158
|
-
className?: string
|
|
151
|
+
className?: string;
|
|
159
152
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
160
153
|
};
|
|
161
154
|
|
|
162
155
|
export declare const RadioField: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<FieldRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
163
|
-
className?: string
|
|
156
|
+
className?: string;
|
|
164
157
|
} & React_2.RefAttributes<HTMLDivElement>, "ref">, "children"> & {
|
|
165
158
|
/** The unique value this option contributes to its `RadioGroup`. */
|
|
166
159
|
value: string;
|
|
167
160
|
/** Visible label rendered beside the radio. */
|
|
168
161
|
label: React_2.ReactNode;
|
|
169
162
|
/** Visual style: a plain radio row or a selectable `box` tile. */
|
|
170
|
-
variant?: RadioFieldVariant
|
|
163
|
+
variant?: RadioFieldVariant;
|
|
171
164
|
/** Renders the option selected (for standalone, controlled usage). */
|
|
172
|
-
checked?: boolean
|
|
165
|
+
checked?: boolean;
|
|
173
166
|
/** Supporting text rendered below the label. */
|
|
174
167
|
description?: React_2.ReactNode;
|
|
175
168
|
/** Error message rendered below the option; also marks the field invalid. */
|
|
176
169
|
error?: React_2.ReactNode;
|
|
177
170
|
/** Called with `value` when the option is chosen via click. */
|
|
178
|
-
onSelect?: (
|
|
171
|
+
onSelect?: (value: string) => void;
|
|
179
172
|
/** Size of the radio control in pixels. */
|
|
180
|
-
size?: number
|
|
173
|
+
size?: number;
|
|
181
174
|
/** Extra inline content rendered after the label. */
|
|
182
175
|
suffix?: React_2.ReactNode;
|
|
183
176
|
/** Props forwarded to the `Field.Item` wrapping the radio and label. */
|
|
184
|
-
itemProps?: Omit<
|
|
185
|
-
className?: string | undefined;
|
|
186
|
-
} & React_2.RefAttributes<HTMLDivElement>, "ref">, "children"> | undefined;
|
|
177
|
+
itemProps?: Omit<FieldItemProps, "children">;
|
|
187
178
|
/** Props forwarded to the `Field.Label`. */
|
|
188
|
-
labelProps?: Omit<
|
|
189
|
-
className?: string | undefined;
|
|
190
|
-
} & {
|
|
191
|
-
variant?: LabelVariant | undefined;
|
|
192
|
-
} & React_2.RefAttributes<HTMLElement>, "ref">, "children"> | undefined;
|
|
179
|
+
labelProps?: Omit<FieldLabelProps_2, "children">;
|
|
193
180
|
/** Props forwarded to the `Field.Description`. */
|
|
194
|
-
descriptionProps?: Omit<
|
|
195
|
-
className?: string | undefined;
|
|
196
|
-
} & {
|
|
197
|
-
align?: DescriptionAlign | undefined;
|
|
198
|
-
} & React_2.RefAttributes<HTMLParagraphElement>, "ref">, "children"> | undefined;
|
|
181
|
+
descriptionProps?: Omit<FieldDescriptionProps_2, "children">;
|
|
199
182
|
/** Props forwarded to the `Field.Error`. */
|
|
200
|
-
errorProps?: Omit<
|
|
201
|
-
className?: string | undefined;
|
|
202
|
-
} & React_2.RefAttributes<HTMLDivElement>, "ref">, "children"> | undefined;
|
|
183
|
+
errorProps?: Omit<FieldErrorProps_2, "children">;
|
|
203
184
|
/** Props forwarded to the underlying `Radio.Root`. */
|
|
204
|
-
radioProps?: RadioRootProps
|
|
185
|
+
radioProps?: RadioRootProps;
|
|
205
186
|
/** Props forwarded to the `Radio.Indicator`. */
|
|
206
|
-
indicatorProps?: IndicatorProps
|
|
187
|
+
indicatorProps?: IndicatorProps;
|
|
207
188
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
208
189
|
|
|
209
190
|
export declare type RadioFieldProps = Omit<FieldRootProps_2, 'children'> & {
|
|
@@ -226,13 +207,13 @@ export declare type RadioFieldProps = Omit<FieldRootProps_2, 'children'> & {
|
|
|
226
207
|
/** Extra inline content rendered after the label. */
|
|
227
208
|
suffix?: React_2.ReactNode;
|
|
228
209
|
/** Props forwarded to the `Field.Item` wrapping the radio and label. */
|
|
229
|
-
itemProps?: Omit<
|
|
210
|
+
itemProps?: Omit<FieldItemProps, 'children'>;
|
|
230
211
|
/** Props forwarded to the `Field.Label`. */
|
|
231
|
-
labelProps?: Omit<
|
|
212
|
+
labelProps?: Omit<FieldLabelProps_2, 'children'>;
|
|
232
213
|
/** Props forwarded to the `Field.Description`. */
|
|
233
|
-
descriptionProps?: Omit<
|
|
214
|
+
descriptionProps?: Omit<FieldDescriptionProps_2, 'children'>;
|
|
234
215
|
/** Props forwarded to the `Field.Error`. */
|
|
235
|
-
errorProps?: Omit<
|
|
216
|
+
errorProps?: Omit<FieldErrorProps_2, 'children'>;
|
|
236
217
|
/** Props forwarded to the underlying `Radio.Root`. */
|
|
237
218
|
radioProps?: RadioRootProps;
|
|
238
219
|
/** Props forwarded to the `Radio.Indicator`. */
|
|
@@ -157,9 +157,9 @@ declare const outsidePress: "outside-press";
|
|
|
157
157
|
declare const pointer: "pointer";
|
|
158
158
|
|
|
159
159
|
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<Omit<RadioGroup_2.Props<unknown>, "ref">, "className"> & {
|
|
160
|
-
className?: string
|
|
160
|
+
className?: string;
|
|
161
161
|
} & {
|
|
162
|
-
orientation?: RadioGroupOrientation
|
|
162
|
+
orientation?: RadioGroupOrientation;
|
|
163
163
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
164
164
|
|
|
165
165
|
/**
|
|
@@ -159,9 +159,9 @@ declare const outsidePress: "outside-press";
|
|
|
159
159
|
declare const pointer: "pointer";
|
|
160
160
|
|
|
161
161
|
declare const RadioGroup_2: React_2.ForwardRefExoticComponent<Omit<Omit<RadioGroup_3.Props<unknown>, "ref">, "className"> & {
|
|
162
|
-
className?: string
|
|
162
|
+
className?: string;
|
|
163
163
|
} & {
|
|
164
|
-
orientation?: RadioGroupOrientation_2
|
|
164
|
+
orientation?: RadioGroupOrientation_2;
|
|
165
165
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
166
166
|
|
|
167
167
|
/**
|
|
@@ -186,9 +186,9 @@ declare type RadioGroupChangeEventDetails = BaseUIChangeEventDetails<RadioGroup_
|
|
|
186
186
|
declare type RadioGroupChangeEventReason = typeof REASONS.none;
|
|
187
187
|
|
|
188
188
|
export declare const RadioGroupField: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<RadioGroup.Props<unknown>, "ref">, "className"> & {
|
|
189
|
-
className?: string
|
|
189
|
+
className?: string;
|
|
190
190
|
} & {
|
|
191
|
-
orientation?: RadioGroupOrientation
|
|
191
|
+
orientation?: RadioGroupOrientation;
|
|
192
192
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
193
193
|
/** Accessible label rendered above the group. */
|
|
194
194
|
label?: React_2.ReactNode;
|
|
@@ -197,15 +197,15 @@ export declare const RadioGroupField: React_2.ForwardRefExoticComponent<Omit<Omi
|
|
|
197
197
|
/** Always-visible helper text rendered below the group. */
|
|
198
198
|
description?: React_2.ReactNode;
|
|
199
199
|
/** Visual style applied to every radio in the group. */
|
|
200
|
-
variant?: RadioGroupFieldVariant
|
|
200
|
+
variant?: RadioGroupFieldVariant;
|
|
201
201
|
/** Separates `box` tiles instead of collapsing their borders. */
|
|
202
|
-
withSpacing?: boolean
|
|
202
|
+
withSpacing?: boolean;
|
|
203
203
|
/** Stretches `box` tiles to the available width. */
|
|
204
|
-
fluid?: boolean
|
|
204
|
+
fluid?: boolean;
|
|
205
205
|
/** Marks the group invalid, styling every radio and revealing `error`. */
|
|
206
|
-
invalid?: boolean
|
|
206
|
+
invalid?: boolean;
|
|
207
207
|
/** Size in pixels applied to every radio in the group. */
|
|
208
|
-
size?: number
|
|
208
|
+
size?: number;
|
|
209
209
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
210
210
|
|
|
211
211
|
export declare type RadioGroupFieldProps = RadioGroupProps & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React_2 from 'react';
|
|
2
|
-
import { ScrollAreaContentProps as ScrollAreaContentProps_2 } from '@base-ui/react
|
|
3
|
-
import { ScrollAreaCornerProps as ScrollAreaCornerProps_2 } from '@base-ui/react
|
|
4
|
-
import { ScrollAreaRootProps as ScrollAreaRootProps_2 } from '@base-ui/react
|
|
5
|
-
import { ScrollAreaScrollbarProps as ScrollAreaScrollbarProps_2 } from '@base-ui/react
|
|
6
|
-
import { ScrollAreaThumbProps as ScrollAreaThumbProps_2 } from '@base-ui/react
|
|
7
|
-
import { ScrollAreaViewportProps as ScrollAreaViewportProps_2 } from '@base-ui/react
|
|
2
|
+
import { ScrollAreaContentProps as ScrollAreaContentProps_2 } from '@base-ui/react';
|
|
3
|
+
import { ScrollAreaCornerProps as ScrollAreaCornerProps_2 } from '@base-ui/react';
|
|
4
|
+
import { ScrollAreaRootProps as ScrollAreaRootProps_2 } from '@base-ui/react';
|
|
5
|
+
import { ScrollAreaScrollbarProps as ScrollAreaScrollbarProps_2 } from '@base-ui/react';
|
|
6
|
+
import { ScrollAreaThumbProps as ScrollAreaThumbProps_2 } from '@base-ui/react';
|
|
7
|
+
import { ScrollAreaViewportProps as ScrollAreaViewportProps_2 } from '@base-ui/react';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Props shared by all Base UI components.
|
|
@@ -78,22 +78,22 @@ export declare type OverflowEdges = typeof DEFAULT_OVERFLOW_EDGES;
|
|
|
78
78
|
|
|
79
79
|
export declare const ScrollArea: {
|
|
80
80
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaRootProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
81
|
-
className?: string
|
|
81
|
+
className?: string;
|
|
82
82
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
83
83
|
Viewport: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaViewportProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
84
|
-
className?: string
|
|
84
|
+
className?: string;
|
|
85
85
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
86
86
|
Scrollbar: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaScrollbarProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
87
|
-
className?: string
|
|
87
|
+
className?: string;
|
|
88
88
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
89
89
|
Content: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaContentProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
90
|
-
className?: string
|
|
90
|
+
className?: string;
|
|
91
91
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
92
92
|
Thumb: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaThumbProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
93
|
-
className?: string
|
|
93
|
+
className?: string;
|
|
94
94
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
95
95
|
Corner: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ScrollAreaCornerProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
96
|
-
className?: string
|
|
96
|
+
className?: string;
|
|
97
97
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
98
98
|
};
|
|
99
99
|
|