@motech-development/breeze-ui 3.8.3 → 4.1.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/lib/{Cabin-LICENSE.txt → Public-Sans-LICENSE.txt} +1 -1
- package/lib/assets/public-sans-latin-wght-normal-DdeTHZLK.woff2 +0 -0
- package/lib/index.d.ts +6 -99
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +195 -6169
- package/lib/index.js.map +1 -1
- package/lib/patterns/AppearanceControl/AppearanceControl.d.ts +8 -0
- package/lib/patterns/AppearanceControl/AppearanceControl.d.ts.map +1 -0
- package/lib/primitives/Button/Button.d.ts +51 -25
- package/lib/primitives/Button/Button.d.ts.map +1 -1
- package/lib/provider/BreezeContext.d.ts +10 -14
- package/lib/provider/BreezeContext.d.ts.map +1 -1
- package/lib/provider/BreezeProvider.d.ts +26 -22
- package/lib/provider/BreezeProvider.d.ts.map +1 -1
- package/lib/provider/en-GB.d.ts +9 -0
- package/lib/provider/en-GB.d.ts.map +1 -0
- package/lib/reset.css +1 -2
- package/lib/styles.css +1 -1
- package/package.json +4 -13
- package/lib/assets/cabin-latin-wght-normal-DZW_uTKI.woff2 +0 -0
- package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts +0 -17
- package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts.map +0 -1
- package/lib/formatting/FormattedList/FormattedList.d.ts +0 -17
- package/lib/formatting/FormattedList/FormattedList.d.ts.map +0 -1
- package/lib/formatting/FormattedNumber/FormattedNumber.d.ts +0 -17
- package/lib/formatting/FormattedNumber/FormattedNumber.d.ts.map +0 -1
- package/lib/formatting/RelativeTime/RelativeTime.d.ts +0 -21
- package/lib/formatting/RelativeTime/RelativeTime.d.ts.map +0 -1
- package/lib/icons/index.d.ts +0 -83
- package/lib/icons/index.d.ts.map +0 -1
- package/lib/icons.js +0 -29
- package/lib/icons.js.map +0 -1
- package/lib/internal/collections/VirtualizedCollection.d.ts +0 -16
- package/lib/internal/collections/VirtualizedCollection.d.ts.map +0 -1
- package/lib/internal/collections/collectionKey.d.ts +0 -6
- package/lib/internal/collections/collectionKey.d.ts.map +0 -1
- package/lib/internal/collections/useCollectionEmptyContent.d.ts +0 -3
- package/lib/internal/collections/useCollectionEmptyContent.d.ts.map +0 -1
- package/lib/internal/collections/useLoadMoreHandler.d.ts +0 -7
- package/lib/internal/collections/useLoadMoreHandler.d.ts.map +0 -1
- package/lib/internal/date/conversion.d.ts +0 -16
- package/lib/internal/date/conversion.d.ts.map +0 -1
- package/lib/internal/files/validation.d.ts +0 -17
- package/lib/internal/files/validation.d.ts.map +0 -1
- package/lib/internal/hooks/useForwardedRef.d.ts +0 -3
- package/lib/internal/hooks/useForwardedRef.d.ts.map +0 -1
- package/lib/internal/react-aria/DisclosureParts.d.ts +0 -27
- package/lib/internal/react-aria/DisclosureParts.d.ts.map +0 -1
- package/lib/internal/react-aria/OverlayParts.d.ts +0 -56
- package/lib/internal/react-aria/OverlayParts.d.ts.map +0 -1
- package/lib/internal/react-aria/renderNativeButton.d.ts +0 -6
- package/lib/internal/react-aria/renderNativeButton.d.ts.map +0 -1
- package/lib/internal/styling/actions.d.ts +0 -72
- package/lib/internal/styling/actions.d.ts.map +0 -1
- package/lib/internal/styling/breakpoints.d.ts +0 -5
- package/lib/internal/styling/breakpoints.d.ts.map +0 -1
- package/lib/internal/styling/formControls.d.ts +0 -23
- package/lib/internal/styling/formControls.d.ts.map +0 -1
- package/lib/internal/styling/layout.d.ts +0 -108
- package/lib/internal/styling/layout.d.ts.map +0 -1
- package/lib/internal/styling/responsive.d.ts +0 -22
- package/lib/internal/styling/responsive.d.ts.map +0 -1
- package/lib/internal/styling/visual.d.ts +0 -7
- package/lib/internal/styling/visual.d.ts.map +0 -1
- package/lib/internal/types/collection.d.ts +0 -60
- package/lib/internal/types/collection.d.ts.map +0 -1
- package/lib/internal/types/date.d.ts +0 -8
- package/lib/internal/types/date.d.ts.map +0 -1
- package/lib/internal/types/file.d.ts +0 -21
- package/lib/internal/types/file.d.ts.map +0 -1
- package/lib/internal/types/native.d.ts +0 -8
- package/lib/internal/types/native.d.ts.map +0 -1
- package/lib/patterns/ApplicationShell/ApplicationShell.d.ts +0 -50
- package/lib/patterns/ApplicationShell/ApplicationShell.d.ts.map +0 -1
- package/lib/patterns/ButtonGroup/ButtonGroup.d.ts +0 -20
- package/lib/patterns/ButtonGroup/ButtonGroup.d.ts.map +0 -1
- package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts +0 -76
- package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts.map +0 -1
- package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts +0 -42
- package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts.map +0 -1
- package/lib/patterns/FileAttachment/FileAttachment.d.ts +0 -17
- package/lib/patterns/FileAttachment/FileAttachment.d.ts.map +0 -1
- package/lib/patterns/FileUpload/FileUpload.d.ts +0 -35
- package/lib/patterns/FileUpload/FileUpload.d.ts.map +0 -1
- package/lib/patterns/FormActions/FormActions.d.ts +0 -25
- package/lib/patterns/FormActions/FormActions.d.ts.map +0 -1
- package/lib/patterns/FormSection/FormSection.d.ts +0 -31
- package/lib/patterns/FormSection/FormSection.d.ts.map +0 -1
- package/lib/patterns/MetricCard/MetricCard.d.ts +0 -28
- package/lib/patterns/MetricCard/MetricCard.d.ts.map +0 -1
- package/lib/patterns/NavigationSection/NavigationSection.d.ts +0 -17
- package/lib/patterns/NavigationSection/NavigationSection.d.ts.map +0 -1
- package/lib/patterns/PageHeader/PageHeader.d.ts +0 -21
- package/lib/patterns/PageHeader/PageHeader.d.ts.map +0 -1
- package/lib/patterns/Pagination/Pagination.d.ts +0 -23
- package/lib/patterns/Pagination/Pagination.d.ts.map +0 -1
- package/lib/patterns/PasswordField/PasswordField.d.ts +0 -58
- package/lib/patterns/PasswordField/PasswordField.d.ts.map +0 -1
- package/lib/patterns/SectionHeader/SectionHeader.d.ts +0 -21
- package/lib/patterns/SectionHeader/SectionHeader.d.ts.map +0 -1
- package/lib/patterns/SegmentedControl/SegmentedControl.d.ts +0 -56
- package/lib/patterns/SegmentedControl/SegmentedControl.d.ts.map +0 -1
- package/lib/patterns/StatePanel/StatePanel.d.ts +0 -25
- package/lib/patterns/StatePanel/StatePanel.d.ts.map +0 -1
- package/lib/patterns/UserMenu/UserMenu.d.ts +0 -63
- package/lib/patterns/UserMenu/UserMenu.d.ts.map +0 -1
- package/lib/primitives/Accordion/Accordion.d.ts +0 -76
- package/lib/primitives/Accordion/Accordion.d.ts.map +0 -1
- package/lib/primitives/Alert/Alert.d.ts +0 -23
- package/lib/primitives/Alert/Alert.d.ts.map +0 -1
- package/lib/primitives/AlertDialog/AlertDialog.d.ts +0 -77
- package/lib/primitives/AlertDialog/AlertDialog.d.ts.map +0 -1
- package/lib/primitives/Avatar/Avatar.d.ts +0 -308
- package/lib/primitives/Avatar/Avatar.d.ts.map +0 -1
- package/lib/primitives/Badge/Badge.d.ts +0 -299
- package/lib/primitives/Badge/Badge.d.ts.map +0 -1
- package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts +0 -40
- package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/lib/primitives/Calendar/Calendar.d.ts +0 -61
- package/lib/primitives/Calendar/Calendar.d.ts.map +0 -1
- package/lib/primitives/Card/Card.d.ts +0 -63
- package/lib/primitives/Card/Card.d.ts.map +0 -1
- package/lib/primitives/Center/Center.d.ts +0 -295
- package/lib/primitives/Center/Center.d.ts.map +0 -1
- package/lib/primitives/Checkbox/Checkbox.d.ts +0 -106
- package/lib/primitives/Checkbox/Checkbox.d.ts.map +0 -1
- package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts +0 -76
- package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
- package/lib/primitives/ComboBox/ComboBox.d.ts +0 -174
- package/lib/primitives/ComboBox/ComboBox.d.ts.map +0 -1
- package/lib/primitives/Container/Container.d.ts +0 -296
- package/lib/primitives/Container/Container.d.ts.map +0 -1
- package/lib/primitives/DateField/DateField.d.ts +0 -87
- package/lib/primitives/DateField/DateField.d.ts.map +0 -1
- package/lib/primitives/DatePicker/DatePicker.d.ts +0 -74
- package/lib/primitives/DatePicker/DatePicker.d.ts.map +0 -1
- package/lib/primitives/DateRangePicker/DateRangePicker.d.ts +0 -116
- package/lib/primitives/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/primitives/DateTimePicker/DateTimePicker.d.ts +0 -93
- package/lib/primitives/DateTimePicker/DateTimePicker.d.ts.map +0 -1
- package/lib/primitives/DescriptionList/DescriptionList.d.ts +0 -45
- package/lib/primitives/DescriptionList/DescriptionList.d.ts.map +0 -1
- package/lib/primitives/Dialog/Dialog.d.ts +0 -56
- package/lib/primitives/Dialog/Dialog.d.ts.map +0 -1
- package/lib/primitives/Disclosure/Disclosure.d.ts +0 -59
- package/lib/primitives/Disclosure/Disclosure.d.ts.map +0 -1
- package/lib/primitives/Drawer/Drawer.d.ts +0 -87
- package/lib/primitives/Drawer/Drawer.d.ts.map +0 -1
- package/lib/primitives/DropZone/DropZone.d.ts +0 -85
- package/lib/primitives/DropZone/DropZone.d.ts.map +0 -1
- package/lib/primitives/Fieldset/Fieldset.d.ts +0 -57
- package/lib/primitives/Fieldset/Fieldset.d.ts.map +0 -1
- package/lib/primitives/FileTrigger/FileTrigger.d.ts +0 -72
- package/lib/primitives/FileTrigger/FileTrigger.d.ts.map +0 -1
- package/lib/primitives/Grid/Grid.d.ts +0 -307
- package/lib/primitives/Grid/Grid.d.ts.map +0 -1
- package/lib/primitives/GridList/GridList.d.ts +0 -131
- package/lib/primitives/GridList/GridList.d.ts.map +0 -1
- package/lib/primitives/IconButton/IconButton.d.ts +0 -37
- package/lib/primitives/IconButton/IconButton.d.ts.map +0 -1
- package/lib/primitives/IconTile/IconTile.d.ts +0 -312
- package/lib/primitives/IconTile/IconTile.d.ts.map +0 -1
- package/lib/primitives/Inline/Inline.d.ts +0 -302
- package/lib/primitives/Inline/Inline.d.ts.map +0 -1
- package/lib/primitives/InputGroup/InputGroup.d.ts +0 -36
- package/lib/primitives/InputGroup/InputGroup.d.ts.map +0 -1
- package/lib/primitives/Link/Link.d.ts +0 -28
- package/lib/primitives/Link/Link.d.ts.map +0 -1
- package/lib/primitives/LinkButton/LinkButton.d.ts +0 -31
- package/lib/primitives/LinkButton/LinkButton.d.ts.map +0 -1
- package/lib/primitives/List/List.d.ts +0 -29
- package/lib/primitives/List/List.d.ts.map +0 -1
- package/lib/primitives/ListBox/ListBox.d.ts +0 -102
- package/lib/primitives/ListBox/ListBox.d.ts.map +0 -1
- package/lib/primitives/Logo/Logo.d.ts +0 -292
- package/lib/primitives/Logo/Logo.d.ts.map +0 -1
- package/lib/primitives/Menu/Menu.d.ts +0 -161
- package/lib/primitives/Menu/Menu.d.ts.map +0 -1
- package/lib/primitives/Meter/Meter.d.ts +0 -28
- package/lib/primitives/Meter/Meter.d.ts.map +0 -1
- package/lib/primitives/NavigationList/NavigationList.d.ts +0 -44
- package/lib/primitives/NavigationList/NavigationList.d.ts.map +0 -1
- package/lib/primitives/NumberField/NumberField.d.ts +0 -118
- package/lib/primitives/NumberField/NumberField.d.ts.map +0 -1
- package/lib/primitives/Popover/Popover.d.ts +0 -61
- package/lib/primitives/Popover/Popover.d.ts.map +0 -1
- package/lib/primitives/ProgressBar/ProgressBar.d.ts +0 -41
- package/lib/primitives/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/primitives/RadioGroup/RadioGroup.d.ts +0 -131
- package/lib/primitives/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/lib/primitives/RangeCalendar/RangeCalendar.d.ts +0 -57
- package/lib/primitives/RangeCalendar/RangeCalendar.d.ts.map +0 -1
- package/lib/primitives/SearchField/SearchField.d.ts +0 -70
- package/lib/primitives/SearchField/SearchField.d.ts.map +0 -1
- package/lib/primitives/Select/Select.d.ts +0 -110
- package/lib/primitives/Select/Select.d.ts.map +0 -1
- package/lib/primitives/Separator/Separator.d.ts +0 -302
- package/lib/primitives/Separator/Separator.d.ts.map +0 -1
- package/lib/primitives/Skeleton/Skeleton.d.ts +0 -27
- package/lib/primitives/Skeleton/Skeleton.d.ts.map +0 -1
- package/lib/primitives/SkipLink/SkipLink.d.ts +0 -21
- package/lib/primitives/SkipLink/SkipLink.d.ts.map +0 -1
- package/lib/primitives/Slider/Slider.d.ts +0 -148
- package/lib/primitives/Slider/Slider.d.ts.map +0 -1
- package/lib/primitives/Spinner/Spinner.d.ts +0 -23
- package/lib/primitives/Spinner/Spinner.d.ts.map +0 -1
- package/lib/primitives/Stack/Stack.d.ts +0 -300
- package/lib/primitives/Stack/Stack.d.ts.map +0 -1
- package/lib/primitives/Stepper/Stepper.d.ts +0 -42
- package/lib/primitives/Stepper/Stepper.d.ts.map +0 -1
- package/lib/primitives/Surface/Surface.d.ts +0 -306
- package/lib/primitives/Surface/Surface.d.ts.map +0 -1
- package/lib/primitives/Switch/Switch.d.ts +0 -118
- package/lib/primitives/Switch/Switch.d.ts.map +0 -1
- package/lib/primitives/Table/Table.d.ts +0 -233
- package/lib/primitives/Table/Table.d.ts.map +0 -1
- package/lib/primitives/Tabs/Tabs.d.ts +0 -105
- package/lib/primitives/Tabs/Tabs.d.ts.map +0 -1
- package/lib/primitives/Tag/Tag.d.ts +0 -18
- package/lib/primitives/Tag/Tag.d.ts.map +0 -1
- package/lib/primitives/TagGroup/TagGroup.d.ts +0 -60
- package/lib/primitives/TagGroup/TagGroup.d.ts.map +0 -1
- package/lib/primitives/TextArea/TextArea.d.ts +0 -40
- package/lib/primitives/TextArea/TextArea.d.ts.map +0 -1
- package/lib/primitives/TextField/TextField.d.ts +0 -102
- package/lib/primitives/TextField/TextField.d.ts.map +0 -1
- package/lib/primitives/TimeField/TimeField.d.ts +0 -58
- package/lib/primitives/TimeField/TimeField.d.ts.map +0 -1
- package/lib/primitives/Toast/Toast.d.ts +0 -88
- package/lib/primitives/Toast/Toast.d.ts.map +0 -1
- package/lib/primitives/ToggleButton/ToggleButton.d.ts +0 -55
- package/lib/primitives/ToggleButton/ToggleButton.d.ts.map +0 -1
- package/lib/primitives/ToggleGroup/ToggleGroup.d.ts +0 -48
- package/lib/primitives/ToggleGroup/ToggleGroup.d.ts.map +0 -1
- package/lib/primitives/Toolbar/Toolbar.d.ts +0 -17
- package/lib/primitives/Toolbar/Toolbar.d.ts.map +0 -1
- package/lib/primitives/Tooltip/Tooltip.d.ts +0 -66
- package/lib/primitives/Tooltip/Tooltip.d.ts.map +0 -1
- package/lib/primitives/Typography/Typography.d.ts +0 -317
- package/lib/primitives/Typography/Typography.d.ts.map +0 -1
- package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts +0 -294
- package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts.map +0 -1
- package/lib/primitives/date/CalendarParts.d.ts +0 -26
- package/lib/primitives/date/CalendarParts.d.ts.map +0 -1
- package/lib/primitives/date/DateInput.d.ts +0 -9
- package/lib/primitives/date/DateInput.d.ts.map +0 -1
- package/lib/primitives/date/PickerFieldParts.d.ts +0 -11
- package/lib/primitives/date/PickerFieldParts.d.ts.map +0 -1
- package/lib/primitives/date/PickerParts.d.ts +0 -29
- package/lib/primitives/date/PickerParts.d.ts.map +0 -1
- package/lib/primitives/file/FileFeedback.d.ts +0 -14
- package/lib/primitives/file/FileFeedback.d.ts.map +0 -1
- package/lib/provider/messages.d.ts +0 -43
- package/lib/provider/messages.d.ts.map +0 -1
- package/lib/theme.css +0 -5
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref, RefObject } from 'react';
|
|
2
|
-
import type { BreezeCollectionItem, CollectionContentProps, CollectionKey, CollectionSelection } from '../../internal/types/collection';
|
|
3
|
-
import type { NativeButtonProps } from '../../internal/types/native';
|
|
4
|
-
interface MenuRootSharedProps {
|
|
5
|
-
/** Trigger and popover parts. */
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
interface ControlledMenuRootProps {
|
|
9
|
-
/** Current popup state. */
|
|
10
|
-
open: boolean;
|
|
11
|
-
/** Called with the next popup state. */
|
|
12
|
-
onOpenChange: (open: boolean) => void;
|
|
13
|
-
defaultOpen?: never;
|
|
14
|
-
readOnly?: false;
|
|
15
|
-
}
|
|
16
|
-
interface ReadOnlyMenuRootProps {
|
|
17
|
-
/** Current immutable popup state. */
|
|
18
|
-
open: boolean;
|
|
19
|
-
/** Marks controlled popup state as intentionally immutable. */
|
|
20
|
-
readOnly: true;
|
|
21
|
-
defaultOpen?: never;
|
|
22
|
-
onOpenChange?: never;
|
|
23
|
-
}
|
|
24
|
-
interface UncontrolledMenuRootProps {
|
|
25
|
-
/** Initial popup state. Defaults to `false`. */
|
|
26
|
-
defaultOpen?: boolean;
|
|
27
|
-
/** Called with the next popup state. */
|
|
28
|
-
onOpenChange?: (open: boolean) => void;
|
|
29
|
-
open?: never;
|
|
30
|
-
readOnly?: false;
|
|
31
|
-
}
|
|
32
|
-
/** Props for controlled, read-only, or uncontrolled menu popup state. */
|
|
33
|
-
export type MenuRootProps = MenuRootSharedProps & (ControlledMenuRootProps | ReadOnlyMenuRootProps | UncontrolledMenuRootProps);
|
|
34
|
-
/** Props for the button that opens a menu. */
|
|
35
|
-
export interface MenuTriggerProps extends NativeButtonProps {
|
|
36
|
-
/** Trigger label or content. */
|
|
37
|
-
children: ReactNode;
|
|
38
|
-
/** Placement and composition classes. */
|
|
39
|
-
className?: string;
|
|
40
|
-
/** Prevents opening the menu. Defaults to `false`. */
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
/** Ref to the rendered trigger button. */
|
|
43
|
-
ref?: Ref<HTMLButtonElement>;
|
|
44
|
-
}
|
|
45
|
-
/** Props for the positioned menu popup. */
|
|
46
|
-
export interface MenuPopoverProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
|
|
47
|
-
/** Menu list content. */
|
|
48
|
-
children: ReactNode;
|
|
49
|
-
/** Allows interaction outside the popover while retaining outside-dismissal. Defaults to `false`. */
|
|
50
|
-
nonModal?: boolean;
|
|
51
|
-
/** Popup placement relative to its trigger. Defaults to `bottom start`. */
|
|
52
|
-
placement?: 'bottom start' | 'bottom end' | 'top start' | 'top end';
|
|
53
|
-
/** Ref to the rendered popover. */
|
|
54
|
-
ref?: Ref<HTMLElement>;
|
|
55
|
-
}
|
|
56
|
-
type MenuListNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'style'>;
|
|
57
|
-
type MenuListSharedProps<Item extends BreezeCollectionItem> = MenuListNativeProps & CollectionContentProps<Item> & {
|
|
58
|
-
/** Keys whose items cannot receive focus, selection, or actions. */
|
|
59
|
-
disabledKeys?: Iterable<CollectionKey>;
|
|
60
|
-
/** Content displayed when the menu has no items. */
|
|
61
|
-
emptyContent?: ReactNode;
|
|
62
|
-
/** Enables multiple selection. Defaults to `false`. */
|
|
63
|
-
multiple?: boolean;
|
|
64
|
-
/** Ref to the rendered menu. */
|
|
65
|
-
ref?: Ref<HTMLDivElement>;
|
|
66
|
-
};
|
|
67
|
-
interface ControlledMenuListProps {
|
|
68
|
-
/** Current selected item keys. */
|
|
69
|
-
selection: CollectionSelection;
|
|
70
|
-
/** Called with the next selected item keys. */
|
|
71
|
-
onSelectionChange: (selection: CollectionSelection) => void;
|
|
72
|
-
defaultSelection?: never;
|
|
73
|
-
readOnly?: false;
|
|
74
|
-
}
|
|
75
|
-
interface ReadOnlyMenuListProps {
|
|
76
|
-
/** Current immutable selected item keys. */
|
|
77
|
-
selection: CollectionSelection;
|
|
78
|
-
/** Marks controlled selection as intentionally immutable. */
|
|
79
|
-
readOnly: true;
|
|
80
|
-
defaultSelection?: never;
|
|
81
|
-
onSelectionChange?: never;
|
|
82
|
-
}
|
|
83
|
-
interface UncontrolledMenuListProps {
|
|
84
|
-
/** Initial selected item keys. */
|
|
85
|
-
defaultSelection?: CollectionSelection;
|
|
86
|
-
/** Called with the next selected item keys. */
|
|
87
|
-
onSelectionChange?: (selection: CollectionSelection) => void;
|
|
88
|
-
readOnly?: false;
|
|
89
|
-
selection?: never;
|
|
90
|
-
}
|
|
91
|
-
/** Props for a static or generic menu with optional selection state. */
|
|
92
|
-
export type MenuListProps<Item extends BreezeCollectionItem = BreezeCollectionItem> = MenuListSharedProps<Item> & (ControlledMenuListProps | ReadOnlyMenuListProps | UncontrolledMenuListProps);
|
|
93
|
-
/** Props for one keyed menu action or destination. */
|
|
94
|
-
export interface MenuItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id' | 'onClick' | 'onClickCapture' | 'style'> {
|
|
95
|
-
/** Visible item content. */
|
|
96
|
-
children: ReactNode;
|
|
97
|
-
/** Prevents focus, selection, and action. Defaults to `false`. */
|
|
98
|
-
disabled?: boolean;
|
|
99
|
-
/** Optional native destination URL. */
|
|
100
|
-
href?: string;
|
|
101
|
-
/** Stable string or number item key. */
|
|
102
|
-
id: CollectionKey;
|
|
103
|
-
/** Called with this item key when activated. */
|
|
104
|
-
onAction?: (key: CollectionKey) => void;
|
|
105
|
-
/** Ref to the rendered menu item. */
|
|
106
|
-
ref?: Ref<HTMLDivElement>;
|
|
107
|
-
/** Plain-text representation used for typeahead and accessibility. */
|
|
108
|
-
textValue: string;
|
|
109
|
-
}
|
|
110
|
-
/** Props for a nested menu trigger and its popup. */
|
|
111
|
-
export interface MenuSubmenuProps {
|
|
112
|
-
/** Trigger item followed by a submenu popover. */
|
|
113
|
-
children: [ReactElement, ReactElement];
|
|
114
|
-
/** Hover delay before opening, in milliseconds. Defaults to `200`. */
|
|
115
|
-
delay?: number;
|
|
116
|
-
/** Ref to the rendered submenu trigger item. */
|
|
117
|
-
ref?: Ref<HTMLDivElement>;
|
|
118
|
-
}
|
|
119
|
-
/** Coordinates popup state, trigger focus, and dismissal. */
|
|
120
|
-
export declare function Root({ defaultOpen, onOpenChange, open, readOnly: _readOnly, ...props }: Readonly<MenuRootProps>): ReactElement;
|
|
121
|
-
/** Renders the menu trigger button. */
|
|
122
|
-
export declare function Trigger({ className, disabled, ref, ...props }: Readonly<MenuTriggerProps>): ReactElement;
|
|
123
|
-
/** Positions a root or nested menu and portals it through the Breeze provider. */
|
|
124
|
-
export declare function Popover({ className, nonModal, placement, ref, ...props }: Readonly<MenuPopoverProps>): ReactElement;
|
|
125
|
-
interface NonModalMenuPopoverProps extends Omit<MenuPopoverProps, 'nonModal'> {
|
|
126
|
-
triggerRef: RefObject<Element | null>;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Positions a non-modal menu without treating its own trigger as an outside
|
|
130
|
-
* dismissal target.
|
|
131
|
-
*
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
export declare function NonModalMenuPopover({ className, placement, ref, triggerRef, ...props }: Readonly<NonModalMenuPopoverProps>): ReactElement;
|
|
135
|
-
/** Renders a static or generic collection with keyboard focus and optional selection. */
|
|
136
|
-
export declare function List<Item extends BreezeCollectionItem>({ children, className, defaultSelection, disabledKeys, emptyContent, items, multiple, onSelectionChange, ref, selection, ...props }: Readonly<MenuListProps<Item>>): ReactElement;
|
|
137
|
-
/** Renders one action, selectable item, or router-neutral destination. */
|
|
138
|
-
export declare function Item({ className, disabled, href, id, onAction, ref, textValue, ...props }: Readonly<MenuItemProps>): ReactElement;
|
|
139
|
-
/** Coordinates nested-menu focus, opening, direction, and Escape dismissal. */
|
|
140
|
-
export declare function Submenu({ ref, ...props }: Readonly<MenuSubmenuProps>): ReactElement;
|
|
141
|
-
/**
|
|
142
|
-
* Accessible compound action-menu primitive.
|
|
143
|
-
*
|
|
144
|
-
* @summary transient keyboard-navigable actions, destinations, and submenus
|
|
145
|
-
*/
|
|
146
|
-
export declare const Menu: {
|
|
147
|
-
/** One keyed action, selectable item, or destination. */
|
|
148
|
-
Item: typeof Item;
|
|
149
|
-
/** Static or generic keyboard-navigable collection. */
|
|
150
|
-
List: typeof List;
|
|
151
|
-
/** Positioned root or nested popup. */
|
|
152
|
-
Popover: typeof Popover;
|
|
153
|
-
/** Popup state and focus coordination root. */
|
|
154
|
-
Root: typeof Root;
|
|
155
|
-
/** Nested-menu trigger and popup pair. */
|
|
156
|
-
Submenu: typeof Submenu;
|
|
157
|
-
/** Button that opens the root popup. */
|
|
158
|
-
Trigger: typeof Trigger;
|
|
159
|
-
};
|
|
160
|
-
export {};
|
|
161
|
-
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/primitives/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACH,SAAS,EACV,MAAM,OAAO,CAAC;AAcf,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,6BAA6B,CAAC;AAgBrC,UAAU,mBAAmB;IAC3B,iCAAiC;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,UAAU,uBAAuB;IAC/B,2BAA2B;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,wCAAwC;IACxC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,qBAAqB;IAC7B,qCAAqC;IACrC,IAAI,EAAE,OAAO,CAAC;IACd,+DAA+D;IAC/D,QAAQ,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED,UAAU,yBAAyB;IACjC,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IA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AC,wBAAwB,CAAC,GAAG,YAAY,CAYnD;AAED,yFAAyF;AACzF,wBAAgB,IAAI,CAAC,IAAI,SAAS,oBAAoB,EAAE,EACtD,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,QAAgB,EAChB,iBAAiB,EACjB,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,GAAG,YAAY,CAwB9C;AAED,0EAA0E;AAC1E,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,QAAgB,EAChB,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,aAAa,CAAC,GAAG,YAAY,CA0BxC;AAED,+EAA+E;AAC/E,wBAAgB,OAAO,CAAC,EACtB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,YAAY,CAK3C;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI;IACf,yDAAyD;;IAEzD,uDAAuD;;IAEvD,uCAAuC;;IAEvC,+CAA+C;;IAE/C,0CAA0C;;IAE1C,wCAAwC;;CAEzC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import type { VisualVariant } from '../../internal/styling/visual';
|
|
3
|
-
type MeterNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role' | 'style'>;
|
|
4
|
-
/** Props for a scalar measurement within a known range. */
|
|
5
|
-
export interface MeterProps extends MeterNativeProps {
|
|
6
|
-
/** Visible application-owned translated measurement label. */
|
|
7
|
-
label: ReactNode;
|
|
8
|
-
/** Finite maximum range value, greater than or equal to `minimum`. Defaults to `100`. */
|
|
9
|
-
maximum?: number;
|
|
10
|
-
/** Finite minimum range value. Defaults to `0`. */
|
|
11
|
-
minimum?: number;
|
|
12
|
-
/** Ref to the rendered meter element. */
|
|
13
|
-
ref?: Ref<HTMLDivElement>;
|
|
14
|
-
/** Current measurement. Finite values are clamped to the configured range. */
|
|
15
|
-
value: number;
|
|
16
|
-
/** Optional translated value announced instead of the numeric value. */
|
|
17
|
-
valueText?: ReactNode;
|
|
18
|
-
/** Bootstrap-aligned semantic colour. Defaults to `primary`. */
|
|
19
|
-
variant?: VisualVariant;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Displays a scalar measurement with explicit range semantics.
|
|
23
|
-
*
|
|
24
|
-
* @summary labelled scalar measurement within a known finite range
|
|
25
|
-
*/
|
|
26
|
-
export declare function Meter({ className, label, maximum, minimum, ref, value, valueText, variant, ...props }: Readonly<MeterProps>): ReactElement;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=Meter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Meter.d.ts","sourceRoot":"","sources":["../../../src/primitives/Meter/Meter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AA6BnE,KAAK,gBAAgB,GAAG,IAAI,CAC1B,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,MAAM,GAAG,OAAO,CAC9B,CAAC;AAEF,2DAA2D;AAC3D,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAClD,8DAA8D;IAC9D,KAAK,EAAE,SAAS,CAAC;IACjB,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gEAAgE;IAChE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,KAAK,EACL,OAAa,EACb,OAAW,EACX,GAAG,EACH,KAAK,EACL,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,YAAY,CAoErC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import type { CollectionKey } from '../../internal/types/collection';
|
|
3
|
-
/** Props for a semantic application navigation list. */
|
|
4
|
-
export interface NavigationListRootProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
|
|
5
|
-
/** Navigation items. */
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/** Layout direction. Defaults to `vertical`. */
|
|
8
|
-
orientation?: 'horizontal' | 'vertical';
|
|
9
|
-
/** Ref to the rendered navigation landmark. */
|
|
10
|
-
ref?: Ref<HTMLElement>;
|
|
11
|
-
}
|
|
12
|
-
/** Props for one navigation destination. */
|
|
13
|
-
export interface NavigationListItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'id' | 'onClick' | 'onClickCapture' | 'style'> {
|
|
14
|
-
/** Visible destination label. */
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
/** Marks this destination as the current page. Defaults to `false`. */
|
|
17
|
-
current?: boolean;
|
|
18
|
-
/** Prevents navigation and action. Defaults to `false`. */
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
/** Destination URL. */
|
|
21
|
-
href: string;
|
|
22
|
-
/** Stable string or number destination key. */
|
|
23
|
-
id: CollectionKey;
|
|
24
|
-
/** Called with this destination key after activation. */
|
|
25
|
-
onAction?: (key: CollectionKey) => void;
|
|
26
|
-
/** Ref to the rendered list item. */
|
|
27
|
-
ref?: Ref<HTMLLIElement>;
|
|
28
|
-
}
|
|
29
|
-
/** Renders a navigation landmark with horizontal or vertical list layout. */
|
|
30
|
-
export declare function Root({ children, className, orientation, ref, ...props }: Readonly<NavigationListRootProps>): ReactElement;
|
|
31
|
-
/** Renders one router-neutral navigation destination. */
|
|
32
|
-
export declare function Item({ children, className, current, disabled, href, id, onAction, ref, ...props }: Readonly<NavigationListItemProps>): ReactElement;
|
|
33
|
-
/**
|
|
34
|
-
* Semantic compound navigation-list primitive.
|
|
35
|
-
*
|
|
36
|
-
* @summary labelled persistent navigation with current destination state
|
|
37
|
-
*/
|
|
38
|
-
export declare const NavigationList: {
|
|
39
|
-
/** One keyed destination. */
|
|
40
|
-
Item: typeof Item;
|
|
41
|
-
/** Navigation landmark and list root. */
|
|
42
|
-
Root: typeof Root;
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=NavigationList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationList.d.ts","sourceRoot":"","sources":["../../../src/primitives/NavigationList/NavigationList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAkBrE,wDAAwD;AACxD,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAClD,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,+CAA+C;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CACxB;AAED,4CAA4C;AAC5C,MAAM,WAAW,uBACf,SAAQ,IAAI,CACV,cAAc,CAAC,aAAa,CAAC,EAC7B,IAAI,GAAG,SAAS,GAAG,gBAAgB,GAAG,OAAO,CAC9C;IACD,iCAAiC;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,EAAE,EAAE,aAAa,CAAC;IAClB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,qCAAqC;IACrC,GAAG,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CAC1B;AAED,6EAA6E;AAC7E,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,WAAwB,EACxB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAelD;AAED,yDAAyD;AACzD,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,OAAe,EACf,QAAgB,EAChB,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAoBlD;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACzB,6BAA6B;;IAE7B,yCAAyC;;CAE1C,CAAC"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import type { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import type { ControlSize } from '../../internal/styling/visual';
|
|
3
|
-
import { type TextFieldDescriptionProps, type TextFieldErrorProps, type TextFieldLabelProps } from '../TextField/TextField';
|
|
4
|
-
type NumberFieldRootNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'style'>;
|
|
5
|
-
interface NumberFieldRootSharedProps extends NumberFieldRootNativeProps {
|
|
6
|
-
/** Compound label, group, input, stepper, description, and error parts. */
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/** Prevents editing, stepping, and focus. Defaults to `false`. */
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/** Locale-aware number formatting options. */
|
|
11
|
-
formatOptions?: Intl.NumberFormatOptions;
|
|
12
|
-
/** Exposes invalid state to assistive technology and error styling. Defaults to `false`. */
|
|
13
|
-
invalid?: boolean;
|
|
14
|
-
/** Largest permitted value. */
|
|
15
|
-
max?: number;
|
|
16
|
-
/** Smallest permitted value. */
|
|
17
|
-
min?: number;
|
|
18
|
-
/** Marks the field as required for native validation and assistive technology. Defaults to `false`. */
|
|
19
|
-
required?: boolean;
|
|
20
|
-
/** Ref to the rendered field container. */
|
|
21
|
-
ref?: Ref<HTMLDivElement>;
|
|
22
|
-
/** Amount applied by stepper buttons and arrow keys. Defaults to `1`. */
|
|
23
|
-
step?: number;
|
|
24
|
-
}
|
|
25
|
-
interface ControlledNumberFieldRootProps {
|
|
26
|
-
/** Current number, or `null` for an empty input. */
|
|
27
|
-
value: number | null;
|
|
28
|
-
/** Called with the next number, or `null` when the input becomes empty. */
|
|
29
|
-
onChange: (value: number | null) => void;
|
|
30
|
-
defaultValue?: never;
|
|
31
|
-
readOnly?: false;
|
|
32
|
-
}
|
|
33
|
-
interface ReadOnlyNumberFieldRootProps {
|
|
34
|
-
/** Current immutable number, or `null` for an empty input. */
|
|
35
|
-
value: number | null;
|
|
36
|
-
/** Marks a controlled value as intentionally immutable. */
|
|
37
|
-
readOnly: true;
|
|
38
|
-
defaultValue?: never;
|
|
39
|
-
onChange?: never;
|
|
40
|
-
}
|
|
41
|
-
interface UncontrolledNumberFieldRootProps {
|
|
42
|
-
/** Initial number, or `null` for an empty input. */
|
|
43
|
-
defaultValue?: number | null;
|
|
44
|
-
/** Called with the next number, or `null` when the input becomes empty. */
|
|
45
|
-
onChange?: (value: number | null) => void;
|
|
46
|
-
readOnly?: false;
|
|
47
|
-
value?: never;
|
|
48
|
-
}
|
|
49
|
-
/** Props for controlled, read-only, or uncontrolled numeric field state. */
|
|
50
|
-
export type NumberFieldRootProps = NumberFieldRootSharedProps & (ControlledNumberFieldRootProps | ReadOnlyNumberFieldRootProps | UncontrolledNumberFieldRootProps);
|
|
51
|
-
/** Props for the visible numeric field label. */
|
|
52
|
-
export type NumberFieldLabelProps = TextFieldLabelProps;
|
|
53
|
-
/** Props for the numeric input and stepper layout group. */
|
|
54
|
-
export interface NumberFieldGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
55
|
-
/** Numeric input and stepper buttons. */
|
|
56
|
-
children: ReactNode;
|
|
57
|
-
/** Ref to the rendered group. */
|
|
58
|
-
ref?: Ref<HTMLDivElement>;
|
|
59
|
-
}
|
|
60
|
-
/** Props for the native locale-aware numeric input part. */
|
|
61
|
-
export interface NumberFieldInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'children' | 'className' | 'defaultValue' | 'disabled' | 'max' | 'min' | 'onChange' | 'readOnly' | 'required' | 'size' | 'step' | 'style' | 'type' | 'value'> {
|
|
62
|
-
/** Placement and composition classes. */
|
|
63
|
-
className?: string;
|
|
64
|
-
/** Ref to the rendered input. */
|
|
65
|
-
ref?: Ref<HTMLInputElement>;
|
|
66
|
-
/** Canonical control size. Defaults to `md`. */
|
|
67
|
-
size?: ControlSize;
|
|
68
|
-
}
|
|
69
|
-
/** Props shared by numeric increment and decrement actions. */
|
|
70
|
-
export interface NumberFieldStepButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onClickCapture' | 'style' | 'type'> {
|
|
71
|
-
/** Accessible action name describing the step direction. */
|
|
72
|
-
'aria-label': string;
|
|
73
|
-
/** Visible stepper content. */
|
|
74
|
-
children: ReactNode;
|
|
75
|
-
/** Ref to the rendered stepper button. */
|
|
76
|
-
ref?: Ref<HTMLButtonElement>;
|
|
77
|
-
/** Canonical square control size. Defaults to `md`. */
|
|
78
|
-
size?: ControlSize;
|
|
79
|
-
}
|
|
80
|
-
/** Props for supporting text associated with the numeric input. */
|
|
81
|
-
export type NumberFieldDescriptionProps = TextFieldDescriptionProps;
|
|
82
|
-
/** Props for an accessible numeric validation message. */
|
|
83
|
-
export type NumberFieldErrorProps = TextFieldErrorProps;
|
|
84
|
-
/** Coordinates locale-aware numeric state, constraints, and compound anatomy. */
|
|
85
|
-
export declare function Root({ children, className, defaultValue, disabled, formatOptions, invalid, max, min, onChange, readOnly, ref, required, step, value, ...props }: Readonly<NumberFieldRootProps>): ReactElement;
|
|
86
|
-
/** Groups the NumberField input and stepper buttons as one interactive control. */
|
|
87
|
-
export declare function Group({ className, ref, ...props }: Readonly<NumberFieldGroupProps>): ReactElement;
|
|
88
|
-
/** Renders the editable locale-aware spinbutton for a NumberField. */
|
|
89
|
-
export declare function Input({ className, ref, size, ...props }: Readonly<NumberFieldInputProps>): ReactElement;
|
|
90
|
-
/** Decreases the NumberField value by its configured step. */
|
|
91
|
-
export declare function DecrementButton({ 'aria-label': ariaLabel, children, ref, size, ...props }: Readonly<NumberFieldStepButtonProps>): ReactElement;
|
|
92
|
-
/** Increases the NumberField value by its configured step. */
|
|
93
|
-
export declare function IncrementButton({ 'aria-label': ariaLabel, children, ref, size, ...props }: Readonly<NumberFieldStepButtonProps>): ReactElement;
|
|
94
|
-
/**
|
|
95
|
-
* Accessible compound locale-aware numeric-entry primitive.
|
|
96
|
-
*
|
|
97
|
-
* @summary locale-aware numeric entry with optional stepper controls
|
|
98
|
-
*/
|
|
99
|
-
export declare const NumberField: {
|
|
100
|
-
/** Decrement action. */
|
|
101
|
-
DecrementButton: typeof DecrementButton;
|
|
102
|
-
/** Supporting guidance associated with the numeric input. */
|
|
103
|
-
Description: typeof import("../TextField/TextField").Description;
|
|
104
|
-
/** Validation message associated with an invalid numeric input. */
|
|
105
|
-
Error: typeof import("../TextField/TextField").Error;
|
|
106
|
-
/** Numeric input and stepper layout group. */
|
|
107
|
-
Group: typeof Group;
|
|
108
|
-
/** Increment action. */
|
|
109
|
-
IncrementButton: typeof IncrementButton;
|
|
110
|
-
/** Locale-aware native spinbutton. */
|
|
111
|
-
Input: typeof Input;
|
|
112
|
-
/** Persistent accessible label. */
|
|
113
|
-
Label: typeof import("../TextField/TextField").Label;
|
|
114
|
-
/** State, constraints, and accessibility root. */
|
|
115
|
-
Root: typeof Root;
|
|
116
|
-
};
|
|
117
|
-
export {};
|
|
118
|
-
//# sourceMappingURL=NumberField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/primitives/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAEpB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,wBAAwB,CAAC;AA4BhC,KAAK,0BAA0B,GAAG,IAAI,CACpC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CACnD,CAAC;AAEF,UAAU,0BAA2B,SAAQ,0BAA0B;IACrE,2EAA2E;IAC3E,QAAQ,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;IACzC,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uGAAuG;IACvG,QAAQ,CAAC,EAAE,OAAO,CA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AC,EACpB,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CAShD;AAED,sEAAsE;AACtE,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,GAAG,EACH,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CAWhD;AA0BD,8DAA8D;AAC9D,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,0BAA0B,CAAC,GAAG,YAAY,CAYrD;AAED,8DAA8D;AAC9D,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,0BAA0B,CAAC,GAAG,YAAY,CAYrD;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;IACtB,wBAAwB;;IAExB,6DAA6D;;IAE7D,mEAAmE;;IAEnE,8CAA8C;;IAE9C,wBAAwB;;IAExB,sCAAsC;;IAEtC,mCAAmC;;IAEnC,kDAAkD;;CAEnD,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import { SharedOverlayClose, type SharedOverlayCloseProps, SharedOverlayDescription, type SharedOverlayDescriptionProps, SharedOverlayTitle, type SharedOverlayTitleProps, SharedOverlayTrigger, type SharedOverlayTriggerProps } from '../../internal/react-aria/OverlayParts';
|
|
3
|
-
interface PopoverRootSharedProps {
|
|
4
|
-
/** Trigger and content. */ children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
interface ControlledPopoverRootProps {
|
|
7
|
-
/** Current open state. */ open: boolean;
|
|
8
|
-
/** Called with next open state. */ onOpenChange: (open: boolean) => void;
|
|
9
|
-
defaultOpen?: never;
|
|
10
|
-
readOnly?: false;
|
|
11
|
-
}
|
|
12
|
-
interface ReadOnlyPopoverRootProps {
|
|
13
|
-
/** Current immutable open state. */ open: boolean;
|
|
14
|
-
/** Marks controlled state immutable. */ readOnly: true;
|
|
15
|
-
defaultOpen?: never;
|
|
16
|
-
onOpenChange?: never;
|
|
17
|
-
}
|
|
18
|
-
interface UncontrolledPopoverRootProps {
|
|
19
|
-
/** Initial open state. */ defaultOpen?: boolean;
|
|
20
|
-
/** Called with next open state. */ onOpenChange?: (open: boolean) => void;
|
|
21
|
-
open?: never;
|
|
22
|
-
readOnly?: false;
|
|
23
|
-
}
|
|
24
|
-
/** Props for controlled, read-only, or uncontrolled popover state. */ export type PopoverRootProps = PopoverRootSharedProps & (ControlledPopoverRootProps | ReadOnlyPopoverRootProps | UncontrolledPopoverRootProps);
|
|
25
|
-
/** Props for the popover trigger. */ export type PopoverTriggerProps = SharedOverlayTriggerProps;
|
|
26
|
-
/** Props for positioned popover content. */ export interface PopoverContentProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
|
|
27
|
-
/** Popover anatomy. */ children: ReactNode;
|
|
28
|
-
/** Allows outside pointer dismissal. Defaults to `true`. */ dismissible?: boolean;
|
|
29
|
-
/** Prevents Escape dismissal. */ keyboardDismissDisabled?: boolean;
|
|
30
|
-
/** Traps outside interaction when true. Defaults to `false`. */ modal?: boolean;
|
|
31
|
-
/** Gap from trigger. Defaults to `8`. */ offset?: number;
|
|
32
|
-
/** Logical placement. Defaults to `bottom start`. */ placement?: 'top' | 'bottom' | 'left' | 'right' | 'top start' | 'top end' | 'bottom start' | 'bottom end';
|
|
33
|
-
/** Ref to rendered dialog surface. */ ref?: Ref<HTMLElement>;
|
|
34
|
-
}
|
|
35
|
-
/** Props for required popover title. */ export type PopoverTitleProps = SharedOverlayTitleProps;
|
|
36
|
-
/** Props for required popover description. */ export type PopoverDescriptionProps = SharedOverlayDescriptionProps;
|
|
37
|
-
/** Props for semantic popover close action. */ export type PopoverCloseProps = SharedOverlayCloseProps;
|
|
38
|
-
/** Coordinates non-modal contextual content anchored to a trigger. */
|
|
39
|
-
export declare function Root({ defaultOpen, onOpenChange, open, readOnly: _readOnly, ...props }: Readonly<PopoverRootProps>): ReactElement;
|
|
40
|
-
export declare function Content({ children, className, dismissible, keyboardDismissDisabled, modal, offset, placement, ref, ...props }: Readonly<PopoverContentProps>): ReactElement;
|
|
41
|
-
/**
|
|
42
|
-
* Accessible compound positioned popover primitive.
|
|
43
|
-
*
|
|
44
|
-
* @summary contextual modal or nonmodal dialog anchored to a trigger
|
|
45
|
-
*/
|
|
46
|
-
export declare const Popover: {
|
|
47
|
-
/** Semantic action that closes the popover. */
|
|
48
|
-
Close: typeof SharedOverlayClose;
|
|
49
|
-
/** Positioned modal or nonmodal dialog surface. */
|
|
50
|
-
Content: typeof Content;
|
|
51
|
-
/** Required accessible popover description. */
|
|
52
|
-
Description: typeof SharedOverlayDescription;
|
|
53
|
-
/** Controlled, read-only, or uncontrolled open-state coordinator. */
|
|
54
|
-
Root: typeof Root;
|
|
55
|
-
/** Required accessible popover title. */
|
|
56
|
-
Title: typeof SharedOverlayTitle;
|
|
57
|
-
/** Semantic action that opens the popover. */
|
|
58
|
-
Trigger: typeof SharedOverlayTrigger;
|
|
59
|
-
};
|
|
60
|
-
export {};
|
|
61
|
-
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/primitives/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AASf,OAAO,EAEL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,oBAAoB,EACpB,KAAK,yBAAyB,EAC/B,MAAM,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,CAAC,EAAE,MAAM,CAAC;IAC1D,qDAAqD,CAAC,SAAS,CAAC,EAC5D,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;IACjB,sCAAsC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CAC/D;AACD,wCAAwC,CAAC,MAAM,MAAM,iBAAiB,GACpE,uBAAuB,CAAC;AAC1B,8CAA8C,CAAC,MAAM,MAAM,uBAAuB,GAChF,6BAA6B,CAAC;AAChC,+CAA+C,CAAC,MAAM,MAAM,iBAAiB,GAC3E,uBAAuB,CAAC;AAE1B,sEAAsE;AACtE,wBAAgB,IAAI,CAAC,EACnB,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EAAE,SAAS,EACnB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,YAAY,CAQ3C;AACD,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,WAAkB,EAClB,uBAA+B,EAC/B,KAAa,EACb,MAAU,EACV,SAA0B,EAC1B,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAAG,YAAY,CA4B9C;AACD;;;;GAIG;AACH,eAAO,MAAM,OAAO;IAClB,+CAA+C;;IAE/C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,qEAAqE;;IAErE,yCAAyC;;IAEzC,8CAA8C;;CAE/C,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import type { VisualVariant } from '../../internal/styling/visual';
|
|
3
|
-
type ProgressBarNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role' | 'style'>;
|
|
4
|
-
interface ProgressBarSharedProps extends ProgressBarNativeProps {
|
|
5
|
-
/** Visible application-owned translated progress label. */
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
/** Maximum range value. Defaults to `100`. */
|
|
8
|
-
maximum?: number;
|
|
9
|
-
/** Minimum range value. Defaults to `0`. */
|
|
10
|
-
minimum?: number;
|
|
11
|
-
/** Ref to the rendered progress element. */
|
|
12
|
-
ref?: Ref<HTMLDivElement>;
|
|
13
|
-
/** Bootstrap-aligned semantic colour. Defaults to `primary`. */
|
|
14
|
-
variant?: VisualVariant;
|
|
15
|
-
}
|
|
16
|
-
interface DeterminateProgressBarProps {
|
|
17
|
-
/** Excluded or false when progress has a measurable value. */
|
|
18
|
-
indeterminate?: false;
|
|
19
|
-
/** Current progress value within the configured range. */
|
|
20
|
-
value: number;
|
|
21
|
-
/** Optional translated value announced instead of the numeric value. */
|
|
22
|
-
valueText?: string;
|
|
23
|
-
}
|
|
24
|
-
interface IndeterminateProgressBarProps {
|
|
25
|
-
/** Marks progress as ongoing without a measurable value. */
|
|
26
|
-
indeterminate: true;
|
|
27
|
-
/** Excluded because indeterminate progress has no current value. */
|
|
28
|
-
value?: never;
|
|
29
|
-
/** Excluded because indeterminate progress has no current value text. */
|
|
30
|
-
valueText?: never;
|
|
31
|
-
}
|
|
32
|
-
/** Props for determinate or indeterminate operation progress. */
|
|
33
|
-
export type ProgressBarProps = ProgressBarSharedProps & (DeterminateProgressBarProps | IndeterminateProgressBarProps);
|
|
34
|
-
/**
|
|
35
|
-
* Shows measurable or indeterminate operation progress with range semantics.
|
|
36
|
-
*
|
|
37
|
-
* @summary labelled determinate or indeterminate operation progress
|
|
38
|
-
*/
|
|
39
|
-
export declare function ProgressBar({ className, indeterminate, label, maximum, minimum, ref, value, valueText, variant, ...props }: Readonly<ProgressBarProps>): ReactElement;
|
|
40
|
-
export {};
|
|
41
|
-
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/primitives/ProgressBar/ProgressBar.tsx"],"names":[],"mapp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AY,CA2D3C"}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, LabelHTMLAttributes, ReactElement, ReactNode, Ref, RefObject } from 'react';
|
|
2
|
-
import type { ControlSize } from '../../internal/styling/visual';
|
|
3
|
-
import { type TextFieldDescriptionProps, type TextFieldErrorProps, type TextFieldLabelProps } from '../TextField/TextField';
|
|
4
|
-
type RadioGroupRootNativeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'style'>;
|
|
5
|
-
interface RadioGroupRootSharedProps extends RadioGroupRootNativeProps {
|
|
6
|
-
/** Compound label, radio items, description, and error parts. */
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/** Prevents focus and selection changes for every option. Defaults to `false`. */
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/** Exposes invalid group state to assistive technology and error styling. Defaults to `false`. */
|
|
11
|
-
invalid?: boolean;
|
|
12
|
-
/** Native form field name shared by every radio option. */
|
|
13
|
-
name?: string;
|
|
14
|
-
/** Option layout and arrow-key navigation axis. Defaults to `vertical`. */
|
|
15
|
-
orientation?: 'horizontal' | 'vertical';
|
|
16
|
-
/** Marks the radio group as requiring a selection. Defaults to `false`. */
|
|
17
|
-
required?: boolean;
|
|
18
|
-
/** Ref to the rendered radio group. */
|
|
19
|
-
ref?: Ref<HTMLDivElement>;
|
|
20
|
-
}
|
|
21
|
-
interface ControlledRadioGroupRootProps {
|
|
22
|
-
/** Current selected option, or `null` when no option is selected. */
|
|
23
|
-
selection: string | null;
|
|
24
|
-
/** Called with the next selected option value. */
|
|
25
|
-
onSelectionChange: (selection: string) => void;
|
|
26
|
-
defaultSelection?: never;
|
|
27
|
-
readOnly?: false;
|
|
28
|
-
}
|
|
29
|
-
interface ReadOnlyRadioGroupRootProps {
|
|
30
|
-
/** Current immutable option, or `null` when no option is selected. */
|
|
31
|
-
selection: string | null;
|
|
32
|
-
/** Marks a controlled selection as intentionally immutable. */
|
|
33
|
-
readOnly: true;
|
|
34
|
-
defaultSelection?: never;
|
|
35
|
-
onSelectionChange?: never;
|
|
36
|
-
}
|
|
37
|
-
interface UncontrolledRadioGroupRootProps {
|
|
38
|
-
/** Initial selected option. Defaults to no selection. */
|
|
39
|
-
defaultSelection?: string;
|
|
40
|
-
/** Called with the next selected option value. */
|
|
41
|
-
onSelectionChange?: (selection: string) => void;
|
|
42
|
-
readOnly?: false;
|
|
43
|
-
selection?: never;
|
|
44
|
-
}
|
|
45
|
-
/** Props for controlled, read-only, or uncontrolled radio-group selection. */
|
|
46
|
-
export type RadioGroupRootProps = RadioGroupRootSharedProps & (ControlledRadioGroupRootProps | ReadOnlyRadioGroupRootProps | UncontrolledRadioGroupRootProps);
|
|
47
|
-
/** Props for the visible radio-group label. */
|
|
48
|
-
export type RadioGroupLabelProps = TextFieldLabelProps;
|
|
49
|
-
/** Props for supporting text associated with the radio group. */
|
|
50
|
-
export type RadioGroupDescriptionProps = TextFieldDescriptionProps;
|
|
51
|
-
/** Props for an accessible radio-group validation message. */
|
|
52
|
-
export type RadioGroupErrorProps = TextFieldErrorProps;
|
|
53
|
-
/** Props for one radio option and its optional description. */
|
|
54
|
-
export interface RadioGroupItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'style'> {
|
|
55
|
-
/** Compound control and optional item description. */
|
|
56
|
-
children: ReactNode;
|
|
57
|
-
/** Prevents selection of this option. Defaults to `false`. */
|
|
58
|
-
disabled?: boolean;
|
|
59
|
-
/** Ref to the hidden native radio input. */
|
|
60
|
-
inputRef?: RefObject<HTMLInputElement | null>;
|
|
61
|
-
/** Ref to the rendered option field. */
|
|
62
|
-
ref?: Ref<HTMLDivElement>;
|
|
63
|
-
/** Stable native form value for this option. */
|
|
64
|
-
value: string;
|
|
65
|
-
}
|
|
66
|
-
/** Props for the clickable radio option and native label. */
|
|
67
|
-
export interface RadioGroupControlProps extends Omit<LabelHTMLAttributes<HTMLLabelElement>, 'onClick' | 'onClickCapture' | 'style'> {
|
|
68
|
-
/** Indicator and persistent option label. */
|
|
69
|
-
children: ReactNode;
|
|
70
|
-
/** Ref to the rendered native label. */
|
|
71
|
-
ref?: Ref<HTMLLabelElement>;
|
|
72
|
-
}
|
|
73
|
-
/** Props for the visual radio selection indicator. */
|
|
74
|
-
export interface RadioGroupIndicatorProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'style'> {
|
|
75
|
-
/** Ref to the rendered indicator. */
|
|
76
|
-
ref?: Ref<HTMLSpanElement>;
|
|
77
|
-
/** Canonical indicator size. Defaults to `md`. */
|
|
78
|
-
size?: ControlSize;
|
|
79
|
-
}
|
|
80
|
-
/** Props for persistent visible radio-option label text. */
|
|
81
|
-
export interface RadioGroupItemLabelProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'style'> {
|
|
82
|
-
/** Text naming the radio option. */
|
|
83
|
-
children: ReactNode;
|
|
84
|
-
/** Ref to the rendered option label text. */
|
|
85
|
-
ref?: Ref<HTMLSpanElement>;
|
|
86
|
-
}
|
|
87
|
-
/** Props for supporting text associated with one radio option. */
|
|
88
|
-
export type RadioGroupItemDescriptionProps = TextFieldDescriptionProps;
|
|
89
|
-
/** Coordinates exclusive selection, validation, orientation, and native form naming. */
|
|
90
|
-
export declare function Root({ children, className, defaultSelection, disabled, invalid, name, onSelectionChange, orientation, readOnly, ref, required, selection, ...props }: Readonly<RadioGroupRootProps>): ReactElement;
|
|
91
|
-
/** Renders one radio option field with native form value and optional guidance. */
|
|
92
|
-
export declare function Item({ children, className, disabled, inputRef, ref, value, ...props }: Readonly<RadioGroupItemProps>): ReactElement;
|
|
93
|
-
/** Renders the persistent accessible label owned by the radio group. */
|
|
94
|
-
export declare function Label({ className, ref, ...props }: Readonly<RadioGroupLabelProps>): ReactElement;
|
|
95
|
-
/** Renders supporting guidance on its own radio-group row. */
|
|
96
|
-
export declare function Description(props: Readonly<RadioGroupDescriptionProps>): ReactElement;
|
|
97
|
-
/** Renders associated validation feedback on its own radio-group row. */
|
|
98
|
-
declare function ErrorMessage(props: Readonly<RadioGroupErrorProps>): ReactElement;
|
|
99
|
-
export { ErrorMessage as Error };
|
|
100
|
-
/** Renders the pointer, touch, and keyboard target for one radio option. */
|
|
101
|
-
export declare function Control({ className, ref, ...props }: Readonly<RadioGroupControlProps>): ReactElement;
|
|
102
|
-
/** Renders the visual selected state for one radio option. */
|
|
103
|
-
export declare function Indicator({ className, ref, size, ...props }: Readonly<RadioGroupIndicatorProps>): ReactElement;
|
|
104
|
-
/** Renders persistent visible label text within RadioGroup.Control. */
|
|
105
|
-
export declare function ItemLabel({ ref, ...props }: Readonly<RadioGroupItemLabelProps>): ReactElement;
|
|
106
|
-
/**
|
|
107
|
-
* Accessible compound exclusive-selection primitive.
|
|
108
|
-
*
|
|
109
|
-
* @summary labelled exclusive selection with native radio semantics
|
|
110
|
-
*/
|
|
111
|
-
export declare const RadioGroup: {
|
|
112
|
-
/** Pointer, touch, and keyboard selection target for one option. */
|
|
113
|
-
Control: typeof Control;
|
|
114
|
-
/** Supporting guidance associated with the group. */
|
|
115
|
-
Description: typeof Description;
|
|
116
|
-
/** Validation message associated with an invalid group. */
|
|
117
|
-
Error: typeof ErrorMessage;
|
|
118
|
-
/** Visual selected-state indicator. */
|
|
119
|
-
Indicator: typeof Indicator;
|
|
120
|
-
/** One radio option field. */
|
|
121
|
-
Item: typeof Item;
|
|
122
|
-
/** Supporting guidance associated with one option. */
|
|
123
|
-
ItemDescription: typeof import("../TextField/TextField").Description;
|
|
124
|
-
/** Persistent visible option label text. */
|
|
125
|
-
ItemLabel: typeof ItemLabel;
|
|
126
|
-
/** Persistent accessible group label. */
|
|
127
|
-
Label: typeof Label;
|
|
128
|
-
/** Selection, validation, orientation, and native form root. */
|
|
129
|
-
Root: typeof Root;
|
|
130
|
-
};
|
|
131
|
-
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/primitives/Radio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