@backstage/ui 0.14.0-next.0 → 0.14.0-next.1
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/CHANGELOG.md +30 -0
- package/dist/components/Accordion/Accordion.esm.js.map +1 -1
- package/dist/components/Accordion/definition.esm.js +1 -0
- package/dist/components/Accordion/definition.esm.js.map +1 -1
- package/dist/components/Alert/definition.esm.js +1 -0
- package/dist/components/Alert/definition.esm.js.map +1 -1
- package/dist/components/Avatar/Avatar.esm.js.map +1 -1
- package/dist/components/Avatar/Avatar.module.css.esm.js +2 -2
- package/dist/components/Avatar/definition.esm.js +1 -0
- package/dist/components/Avatar/definition.esm.js.map +1 -1
- package/dist/components/Box/Box.esm.js.map +1 -1
- package/dist/components/Box/definition.esm.js +1 -0
- package/dist/components/Box/definition.esm.js.map +1 -1
- package/dist/components/Button/definition.esm.js +1 -0
- package/dist/components/Button/definition.esm.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.esm.js.map +1 -1
- package/dist/components/ButtonIcon/definition.esm.js +1 -0
- package/dist/components/ButtonIcon/definition.esm.js.map +1 -1
- package/dist/components/ButtonLink/ButtonLink.esm.js.map +1 -1
- package/dist/components/ButtonLink/definition.esm.js +2 -0
- package/dist/components/ButtonLink/definition.esm.js.map +1 -1
- package/dist/components/Card/definition.esm.js +2 -0
- package/dist/components/Card/definition.esm.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.esm.js.map +1 -1
- package/dist/components/Checkbox/definition.esm.js +1 -0
- package/dist/components/Checkbox/definition.esm.js.map +1 -1
- package/dist/components/Container/Container.esm.js.map +1 -1
- package/dist/components/Container/definition.esm.js +1 -0
- package/dist/components/Container/definition.esm.js.map +1 -1
- package/dist/components/Dialog/Dialog.esm.js.map +1 -1
- package/dist/components/Dialog/definition.esm.js +1 -0
- package/dist/components/Dialog/definition.esm.js.map +1 -1
- package/dist/components/FieldError/FieldError.esm.js.map +1 -1
- package/dist/components/FieldError/definition.esm.js +1 -0
- package/dist/components/FieldError/definition.esm.js.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.esm.js +10 -2
- package/dist/components/FieldLabel/FieldLabel.esm.js.map +1 -1
- package/dist/components/FieldLabel/definition.esm.js +2 -0
- package/dist/components/FieldLabel/definition.esm.js.map +1 -1
- package/dist/components/Flex/Flex.esm.js.map +1 -1
- package/dist/components/Flex/definition.esm.js +1 -0
- package/dist/components/Flex/definition.esm.js.map +1 -1
- package/dist/components/FullPage/definition.esm.js +1 -0
- package/dist/components/FullPage/definition.esm.js.map +1 -1
- package/dist/components/Grid/definition.esm.js +1 -0
- package/dist/components/Grid/definition.esm.js.map +1 -1
- package/dist/components/Header/Header.esm.js +1 -1
- package/dist/components/Header/HeaderNav.module.css.esm.js +2 -2
- package/dist/components/Header/HeaderNavDefinition.esm.js +1 -0
- package/dist/components/Header/HeaderNavDefinition.esm.js.map +1 -1
- package/dist/components/Header/definition.esm.js +1 -0
- package/dist/components/Header/definition.esm.js.map +1 -1
- package/dist/components/Link/Link.esm.js.map +1 -1
- package/dist/components/Link/definition.esm.js +2 -0
- package/dist/components/Link/definition.esm.js.map +1 -1
- package/dist/components/List/definition.esm.js +2 -0
- package/dist/components/List/definition.esm.js.map +1 -1
- package/dist/components/Menu/Menu.esm.js +2 -2
- package/dist/components/Menu/Menu.esm.js.map +1 -1
- package/dist/components/Menu/definition.esm.js +3 -0
- package/dist/components/Menu/definition.esm.js.map +1 -1
- package/dist/components/PasswordField/PasswordField.esm.js.map +1 -1
- package/dist/components/PasswordField/definition.esm.js +1 -0
- package/dist/components/PasswordField/definition.esm.js.map +1 -1
- package/dist/components/PluginHeader/definition.esm.js +1 -0
- package/dist/components/PluginHeader/definition.esm.js.map +1 -1
- package/dist/components/Popover/definition.esm.js +1 -0
- package/dist/components/Popover/definition.esm.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.esm.js.map +1 -1
- package/dist/components/RadioGroup/definition.esm.js +1 -0
- package/dist/components/RadioGroup/definition.esm.js.map +1 -1
- package/dist/components/SearchAutocomplete/SearchAutocomplete.esm.js.map +1 -1
- package/dist/components/SearchAutocomplete/definition.esm.js +2 -0
- package/dist/components/SearchAutocomplete/definition.esm.js.map +1 -1
- package/dist/components/SearchField/SearchField.esm.js.map +1 -1
- package/dist/components/SearchField/definition.esm.js +1 -0
- package/dist/components/SearchField/definition.esm.js.map +1 -1
- package/dist/components/Select/Select.esm.js.map +1 -1
- package/dist/components/Select/definition.esm.js +1 -0
- package/dist/components/Select/definition.esm.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.esm.js.map +1 -1
- package/dist/components/Skeleton/definition.esm.js +1 -0
- package/dist/components/Skeleton/definition.esm.js.map +1 -1
- package/dist/components/Slider/Slider.esm.js +76 -0
- package/dist/components/Slider/Slider.esm.js.map +1 -0
- package/dist/components/Slider/Slider.module.css.esm.js +8 -0
- package/dist/components/Slider/Slider.module.css.esm.js.map +1 -0
- package/dist/components/Slider/definition.esm.js +31 -0
- package/dist/components/Slider/definition.esm.js.map +1 -0
- package/dist/components/Switch/Switch.esm.js.map +1 -1
- package/dist/components/Switch/definition.esm.js +1 -0
- package/dist/components/Switch/definition.esm.js.map +1 -1
- package/dist/components/Table/components/Cell.esm.js.map +1 -1
- package/dist/components/Table/components/CellProfile.esm.js.map +1 -1
- package/dist/components/Table/components/CellText.esm.js.map +1 -1
- package/dist/components/Table/components/Column.esm.js.map +1 -1
- package/dist/components/Table/components/Row.esm.js.map +1 -1
- package/dist/components/Table/components/Table.esm.js +2 -1
- package/dist/components/Table/components/Table.esm.js.map +1 -1
- package/dist/components/Table/components/TableBody.esm.js.map +1 -1
- package/dist/components/Table/components/TableBodySkeleton.esm.js +1 -0
- package/dist/components/Table/components/TableBodySkeleton.esm.js.map +1 -1
- package/dist/components/Table/components/TableHeader.esm.js.map +1 -1
- package/dist/components/Table/components/TableRoot.esm.js.map +1 -1
- package/dist/components/Table/definition.esm.js +4 -0
- package/dist/components/Table/definition.esm.js.map +1 -1
- package/dist/components/Table/hooks/useCompletePagination.esm.js +10 -5
- package/dist/components/Table/hooks/useCompletePagination.esm.js.map +1 -1
- package/dist/components/Table/hooks/useTable.esm.js +28 -22
- package/dist/components/Table/hooks/useTable.esm.js.map +1 -1
- package/dist/components/TablePagination/TablePagination.esm.js +6 -4
- package/dist/components/TablePagination/TablePagination.esm.js.map +1 -1
- package/dist/components/TablePagination/definition.esm.js +3 -1
- package/dist/components/TablePagination/definition.esm.js.map +1 -1
- package/dist/components/Tabs/Tabs.esm.js +4 -4
- package/dist/components/Tabs/definition.esm.js +2 -0
- package/dist/components/Tabs/definition.esm.js.map +1 -1
- package/dist/components/TagGroup/definition.esm.js +2 -0
- package/dist/components/TagGroup/definition.esm.js.map +1 -1
- package/dist/components/Text/Text.esm.js.map +1 -1
- package/dist/components/Text/definition.esm.js +1 -0
- package/dist/components/Text/definition.esm.js.map +1 -1
- package/dist/components/TextField/TextField.esm.js.map +1 -1
- package/dist/components/TextField/definition.esm.js +1 -0
- package/dist/components/TextField/definition.esm.js.map +1 -1
- package/dist/components/ToggleButton/ToggleButton.esm.js.map +1 -1
- package/dist/components/ToggleButton/definition.esm.js +1 -0
- package/dist/components/ToggleButton/definition.esm.js.map +1 -1
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.esm.js.map +1 -1
- package/dist/components/ToggleButtonGroup/definition.esm.js +1 -0
- package/dist/components/ToggleButtonGroup/definition.esm.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.esm.js.map +1 -1
- package/dist/components/Tooltip/definition.esm.js +1 -0
- package/dist/components/Tooltip/definition.esm.js.map +1 -1
- package/dist/components/VisuallyHidden/definition.esm.js +1 -0
- package/dist/components/VisuallyHidden/definition.esm.js.map +1 -1
- package/dist/hooks/useDefinition/useDefinition.esm.js +12 -1
- package/dist/hooks/useDefinition/useDefinition.esm.js.map +1 -1
- package/dist/index.d.ts +298 -49
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties, HTMLAttributes, ComponentPropsWithoutRef, ReactElement, ElementType, ComponentPropsWithRef, ComponentProps } from 'react';
|
|
3
|
-
import { DisclosureProps,
|
|
3
|
+
import { DisclosureProps, DisclosureGroupProps, DisclosurePanelProps, HeadingProps, ButtonProps as ButtonProps$1, ModalOverlayProps, DialogTriggerProps as DialogTriggerProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps as TabPanelProps$1, TabsProps as TabsProps$1, LinkProps as LinkProps$1, CheckboxProps as CheckboxProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SliderProps as SliderProps$1, CellProps as CellProps$1, ColumnProps as ColumnProps$1, RowProps as RowProps$1, TableProps as TableProps$1, TableBodyProps as TableBodyProps$1, TableHeaderProps as TableHeaderProps$1, TagProps as TagProps$1, TagListProps, TagGroupProps as TagGroupProps$1, TextFieldProps as TextFieldProps$1, TooltipProps as TooltipProps$1, TooltipTriggerComponentProps, PopoverProps as PopoverProps$1, MenuProps as MenuProps$1, ListBoxProps, MenuItemProps as MenuItemProps$1, ListBoxItemProps, MenuSectionProps as MenuSectionProps$1, SeparatorProps, MenuTriggerProps as MenuTriggerProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, SearchFieldProps as SearchFieldProps$1, GridListProps, GridListItemProps, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1 } from 'react-aria-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { NavigateOptions } from 'react-router-dom';
|
|
6
6
|
import { SortDescriptor as SortDescriptor$1 } from 'react-stately';
|
|
@@ -126,7 +126,11 @@ type BoxUtilityProps = {
|
|
|
126
126
|
interface BoxProps extends SpaceProps, BoxOwnProps, BoxUtilityProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* A general-purpose layout primitive that can render as any HTML element and supports spacing, sizing, and background props.
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
130
134
|
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
131
135
|
|
|
132
136
|
/**
|
|
@@ -248,7 +252,11 @@ interface FlexProps extends SpaceProps, FlexOwnProps, Omit<React.HTMLAttributes<
|
|
|
248
252
|
direction?: Responsive<'row' | 'column' | 'row-reverse' | 'column-reverse'>;
|
|
249
253
|
}
|
|
250
254
|
|
|
251
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* A flexbox layout container with props for controlling gap, alignment, justification, and direction.
|
|
257
|
+
*
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
252
260
|
declare const Flex: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
|
|
253
261
|
|
|
254
262
|
/**
|
|
@@ -290,7 +298,11 @@ interface ContainerProps extends ContainerOwnProps, Omit<React.ComponentPropsWit
|
|
|
290
298
|
pt?: SpaceProps['pt'];
|
|
291
299
|
}
|
|
292
300
|
|
|
293
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* A centered layout wrapper that constrains content to a maximum width and provides consistent page-level padding.
|
|
303
|
+
*
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
294
306
|
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
|
|
295
307
|
|
|
296
308
|
/**
|
|
@@ -415,13 +427,29 @@ type AccordionGroupOwnProps = {
|
|
|
415
427
|
interface AccordionGroupProps extends Omit<DisclosureGroupProps, 'className'>, AccordionGroupOwnProps {
|
|
416
428
|
}
|
|
417
429
|
|
|
418
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* A collapsible section that reveals or hides its content when the trigger is activated.
|
|
432
|
+
*
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
419
435
|
declare const Accordion: react.ForwardRefExoticComponent<AccordionProps & react.RefAttributes<HTMLDivElement>>;
|
|
420
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* The clickable heading that toggles the visibility of an accordion panel.
|
|
438
|
+
*
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
421
441
|
declare const AccordionTrigger: react.ForwardRefExoticComponent<AccordionTriggerProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
422
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* The content area of an accordion that is revealed when the trigger is activated.
|
|
444
|
+
*
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
423
447
|
declare const AccordionPanel: react.ForwardRefExoticComponent<AccordionPanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
424
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* A container that groups multiple Accordion items, optionally allowing several panels to be expanded at once.
|
|
450
|
+
*
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
425
453
|
declare const AccordionGroup: react.ForwardRefExoticComponent<AccordionGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
426
454
|
|
|
427
455
|
/**
|
|
@@ -631,7 +659,11 @@ type AvatarOwnProps = {
|
|
|
631
659
|
interface AvatarProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children' | 'className'>, AvatarOwnProps {
|
|
632
660
|
}
|
|
633
661
|
|
|
634
|
-
/**
|
|
662
|
+
/**
|
|
663
|
+
* Displays a user's profile image with an automatic fallback to their initials when the image fails to load.
|
|
664
|
+
*
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
635
667
|
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLDivElement>>;
|
|
636
668
|
|
|
637
669
|
/**
|
|
@@ -869,6 +901,7 @@ declare const CardDefinition: {
|
|
|
869
901
|
readonly styles: {
|
|
870
902
|
readonly [key: string]: string;
|
|
871
903
|
};
|
|
904
|
+
readonly resolveHref: true;
|
|
872
905
|
readonly classNames: {
|
|
873
906
|
readonly root: "bui-Card";
|
|
874
907
|
readonly trigger: "bui-CardTrigger";
|
|
@@ -987,15 +1020,35 @@ type DialogFooterOwnProps = {
|
|
|
987
1020
|
interface DialogFooterProps extends DialogFooterOwnProps, Omit<React.ComponentPropsWithoutRef<'div'>, keyof DialogFooterOwnProps> {
|
|
988
1021
|
}
|
|
989
1022
|
|
|
990
|
-
/**
|
|
1023
|
+
/**
|
|
1024
|
+
* A wrapper that connects a trigger element to a Dialog, controlling its open and close state.
|
|
1025
|
+
*
|
|
1026
|
+
* @public
|
|
1027
|
+
*/
|
|
991
1028
|
declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
992
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* A modal overlay that presents content requiring user interaction or acknowledgment, dismissible by clicking outside or pressing Escape.
|
|
1031
|
+
*
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
993
1034
|
declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
|
|
994
|
-
/**
|
|
1035
|
+
/**
|
|
1036
|
+
* The header section of a Dialog, containing the title and a close button.
|
|
1037
|
+
*
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
995
1040
|
declare const DialogHeader: react.ForwardRefExoticComponent<DialogHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
996
|
-
/**
|
|
1041
|
+
/**
|
|
1042
|
+
* The main scrollable content area of a Dialog.
|
|
1043
|
+
*
|
|
1044
|
+
* @public
|
|
1045
|
+
*/
|
|
997
1046
|
declare const DialogBody: react.ForwardRefExoticComponent<DialogBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
998
|
-
/**
|
|
1047
|
+
/**
|
|
1048
|
+
* The footer section of a Dialog, typically used to place action buttons.
|
|
1049
|
+
*
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
999
1052
|
declare const DialogFooter: react.ForwardRefExoticComponent<DialogFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
1000
1053
|
|
|
1001
1054
|
/**
|
|
@@ -1091,13 +1144,21 @@ type FieldLabelOwnProps = {
|
|
|
1091
1144
|
* The id of the text field
|
|
1092
1145
|
*/
|
|
1093
1146
|
id?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* The id to apply to the description element for aria-describedby
|
|
1149
|
+
*/
|
|
1150
|
+
descriptionId?: string;
|
|
1094
1151
|
className?: string;
|
|
1095
1152
|
};
|
|
1096
1153
|
/** @public */
|
|
1097
1154
|
interface FieldLabelProps extends FieldLabelOwnProps, Omit<React.ComponentPropsWithoutRef<'div'>, keyof FieldLabelOwnProps> {
|
|
1098
1155
|
}
|
|
1099
1156
|
|
|
1100
|
-
/**
|
|
1157
|
+
/**
|
|
1158
|
+
* Renders a label for a form field with optional secondary label and description text.
|
|
1159
|
+
*
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1101
1162
|
declare const FieldLabel: react.ForwardRefExoticComponent<FieldLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
1102
1163
|
|
|
1103
1164
|
/**
|
|
@@ -1120,6 +1181,7 @@ declare const FieldLabelDefinition: {
|
|
|
1120
1181
|
readonly description: {};
|
|
1121
1182
|
readonly htmlFor: {};
|
|
1122
1183
|
readonly id: {};
|
|
1184
|
+
readonly descriptionId: {};
|
|
1123
1185
|
readonly className: {};
|
|
1124
1186
|
};
|
|
1125
1187
|
};
|
|
@@ -1517,7 +1579,11 @@ type ButtonIconOwnProps = {
|
|
|
1517
1579
|
interface ButtonIconProps extends Omit<ButtonProps$1, keyof ButtonIconOwnProps>, ButtonIconOwnProps {
|
|
1518
1580
|
}
|
|
1519
1581
|
|
|
1520
|
-
/**
|
|
1582
|
+
/**
|
|
1583
|
+
* An icon-only button that supports a loading state and requires an accessible label.
|
|
1584
|
+
*
|
|
1585
|
+
* @public
|
|
1586
|
+
*/
|
|
1521
1587
|
declare const ButtonIcon: react.ForwardRefExoticComponent<ButtonIconProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1522
1588
|
|
|
1523
1589
|
/**
|
|
@@ -1569,7 +1635,11 @@ type ButtonLinkOwnProps = {
|
|
|
1569
1635
|
interface ButtonLinkProps extends Omit<LinkProps$1, keyof ButtonLinkOwnProps>, ButtonLinkOwnProps {
|
|
1570
1636
|
}
|
|
1571
1637
|
|
|
1572
|
-
/**
|
|
1638
|
+
/**
|
|
1639
|
+
* A button-styled anchor element for navigation, supporting optional start and end icon slots and analytics event tracking.
|
|
1640
|
+
*
|
|
1641
|
+
* @public
|
|
1642
|
+
*/
|
|
1573
1643
|
declare const ButtonLink: react.ForwardRefExoticComponent<ButtonLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
1574
1644
|
|
|
1575
1645
|
/**
|
|
@@ -1586,6 +1656,7 @@ declare const ButtonLinkDefinition: {
|
|
|
1586
1656
|
};
|
|
1587
1657
|
readonly bg: "consumer";
|
|
1588
1658
|
readonly analytics: true;
|
|
1659
|
+
readonly resolveHref: true;
|
|
1589
1660
|
readonly propDefs: {
|
|
1590
1661
|
readonly noTrack: {};
|
|
1591
1662
|
readonly size: {
|
|
@@ -1612,7 +1683,11 @@ type CheckboxOwnProps = {
|
|
|
1612
1683
|
interface CheckboxProps extends Omit<CheckboxProps$1, 'children' | 'className'>, CheckboxOwnProps {
|
|
1613
1684
|
}
|
|
1614
1685
|
|
|
1615
|
-
/**
|
|
1686
|
+
/**
|
|
1687
|
+
* A form checkbox input with support for indeterminate state and accessible labeling.
|
|
1688
|
+
*
|
|
1689
|
+
* @public
|
|
1690
|
+
*/
|
|
1616
1691
|
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLLabelElement>>;
|
|
1617
1692
|
|
|
1618
1693
|
/**
|
|
@@ -1653,9 +1728,17 @@ type RadioOwnProps = {
|
|
|
1653
1728
|
interface RadioProps extends RadioOwnProps, Omit<RadioProps$1, keyof RadioOwnProps> {
|
|
1654
1729
|
}
|
|
1655
1730
|
|
|
1656
|
-
/**
|
|
1731
|
+
/**
|
|
1732
|
+
* A group of radio buttons for selecting a single option from a set, with an integrated label, description, and error display.
|
|
1733
|
+
*
|
|
1734
|
+
* @public
|
|
1735
|
+
*/
|
|
1657
1736
|
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
1658
|
-
/**
|
|
1737
|
+
/**
|
|
1738
|
+
* A single radio button for use within a RadioGroup.
|
|
1739
|
+
*
|
|
1740
|
+
* @public
|
|
1741
|
+
*/
|
|
1659
1742
|
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLLabelElement>>;
|
|
1660
1743
|
|
|
1661
1744
|
/**
|
|
@@ -1695,6 +1778,54 @@ declare const RadioDefinition: {
|
|
|
1695
1778
|
};
|
|
1696
1779
|
};
|
|
1697
1780
|
|
|
1781
|
+
/** @public */
|
|
1782
|
+
interface SliderOwnProps {
|
|
1783
|
+
className?: string;
|
|
1784
|
+
label?: FieldLabelProps['label'];
|
|
1785
|
+
secondaryLabel?: FieldLabelProps['secondaryLabel'];
|
|
1786
|
+
description?: FieldLabelProps['description'];
|
|
1787
|
+
isRequired?: boolean;
|
|
1788
|
+
}
|
|
1789
|
+
/** @public */
|
|
1790
|
+
interface SliderProps<T extends number | number[]> extends Omit<SliderProps$1<T>, 'children' | 'className'>, SliderOwnProps {
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* A draggable input for selecting a numeric value or range within a defined interval, with an integrated label and value output.
|
|
1795
|
+
*
|
|
1796
|
+
* @public
|
|
1797
|
+
*/
|
|
1798
|
+
declare const Slider: (<T extends number | number[]>(props: SliderProps<T> & {
|
|
1799
|
+
ref?: React.ForwardedRef<HTMLDivElement>;
|
|
1800
|
+
}) => JSX.Element) & {
|
|
1801
|
+
displayName: string;
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Component definition for Slider
|
|
1806
|
+
* @public
|
|
1807
|
+
*/
|
|
1808
|
+
declare const SliderDefinition: {
|
|
1809
|
+
readonly styles: {
|
|
1810
|
+
readonly [key: string]: string;
|
|
1811
|
+
};
|
|
1812
|
+
readonly classNames: {
|
|
1813
|
+
readonly root: "bui-Slider";
|
|
1814
|
+
readonly header: "bui-SliderHeader";
|
|
1815
|
+
readonly track: "bui-SliderTrack";
|
|
1816
|
+
readonly trackFill: "bui-SliderTrackFill";
|
|
1817
|
+
readonly thumb: "bui-SliderThumb";
|
|
1818
|
+
readonly output: "bui-SliderOutput";
|
|
1819
|
+
};
|
|
1820
|
+
readonly propDefs: {
|
|
1821
|
+
readonly className: {};
|
|
1822
|
+
readonly label: {};
|
|
1823
|
+
readonly secondaryLabel: {};
|
|
1824
|
+
readonly description: {};
|
|
1825
|
+
readonly isRequired: {};
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1698
1829
|
/** @public */
|
|
1699
1830
|
interface PageSizeOption {
|
|
1700
1831
|
label: string;
|
|
@@ -1717,6 +1848,7 @@ type TablePaginationOwnProps = {
|
|
|
1717
1848
|
offset?: number;
|
|
1718
1849
|
totalCount?: number;
|
|
1719
1850
|
}) => string;
|
|
1851
|
+
showPaginationLabel?: boolean;
|
|
1720
1852
|
};
|
|
1721
1853
|
/** @public */
|
|
1722
1854
|
interface TablePaginationProps extends TablePaginationOwnProps {
|
|
@@ -1759,6 +1891,9 @@ declare const TablePaginationDefinition: {
|
|
|
1759
1891
|
readonly default: true;
|
|
1760
1892
|
};
|
|
1761
1893
|
readonly getLabel: {};
|
|
1894
|
+
readonly showPaginationLabel: {
|
|
1895
|
+
readonly default: true;
|
|
1896
|
+
};
|
|
1762
1897
|
};
|
|
1763
1898
|
};
|
|
1764
1899
|
|
|
@@ -1976,37 +2111,76 @@ interface TableProps<T extends TableItem> {
|
|
|
1976
2111
|
virtualized?: VirtualizedProp;
|
|
1977
2112
|
}
|
|
1978
2113
|
|
|
1979
|
-
/**
|
|
2114
|
+
/**
|
|
2115
|
+
* A full-featured data table with built-in pagination, sorting, row selection, loading and error states, and optional virtualization.
|
|
2116
|
+
* Pair with `useTable` to manage data fetching and state, or pass `data`, `columnConfig`, and `pagination` directly for manual control.
|
|
2117
|
+
*
|
|
2118
|
+
* @public
|
|
2119
|
+
*/
|
|
1980
2120
|
declare function Table<T extends TableItem>({ columnConfig, data, loading, isStale, error, pagination, sort, rowConfig, selection, emptyState, className, style, virtualized, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1981
2121
|
|
|
1982
|
-
/**
|
|
2122
|
+
/**
|
|
2123
|
+
* The low-level table root element for building custom table layouts from atomic components.
|
|
2124
|
+
* For most use cases, prefer the `Table` convenience wrapper.
|
|
2125
|
+
*
|
|
2126
|
+
* @public
|
|
2127
|
+
*/
|
|
1983
2128
|
declare const TableRoot: (props: TableRootProps) => react_jsx_runtime.JSX.Element;
|
|
1984
2129
|
|
|
1985
|
-
/**
|
|
2130
|
+
/**
|
|
2131
|
+
* The header row of a table, rendering column labels and an optional select-all checkbox for toggle selection mode.
|
|
2132
|
+
*
|
|
2133
|
+
* @public
|
|
2134
|
+
*/
|
|
1986
2135
|
declare const TableHeader: <T extends object>(props: TableHeaderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1987
2136
|
|
|
1988
|
-
/**
|
|
2137
|
+
/**
|
|
2138
|
+
* The body section of a table that renders data rows from the provided items collection.
|
|
2139
|
+
*
|
|
2140
|
+
* @public
|
|
2141
|
+
*/
|
|
1989
2142
|
declare const TableBody: <T extends object>(props: TableBodyProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1990
2143
|
|
|
1991
|
-
/**
|
|
2144
|
+
/**
|
|
2145
|
+
* A table column header cell with an optional sort toggle and support for resizable widths.
|
|
2146
|
+
*
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
1992
2149
|
declare const Column: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
1993
2150
|
|
|
1994
|
-
/**
|
|
2151
|
+
/**
|
|
2152
|
+
* A table row that can optionally act as a navigation link or trigger an action when clicked, with analytics tracking.
|
|
2153
|
+
*
|
|
2154
|
+
* @public
|
|
2155
|
+
*/
|
|
1995
2156
|
declare function Row<T extends object>(props: RowProps<T>): react_jsx_runtime.JSX.Element;
|
|
1996
2157
|
|
|
1997
|
-
/**
|
|
2158
|
+
/**
|
|
2159
|
+
* A low-level table cell primitive for building custom cell content.
|
|
2160
|
+
* For standard use cases, prefer `CellText` or `CellProfile`.
|
|
2161
|
+
*
|
|
2162
|
+
* @public
|
|
2163
|
+
*/
|
|
1998
2164
|
declare const Cell: {
|
|
1999
2165
|
(props: CellProps): react_jsx_runtime.JSX.Element;
|
|
2000
2166
|
displayName: string;
|
|
2001
2167
|
};
|
|
2002
2168
|
|
|
2003
|
-
/**
|
|
2169
|
+
/**
|
|
2170
|
+
* A table cell that renders a primary text title with an optional secondary description, leading icon, and link.
|
|
2171
|
+
*
|
|
2172
|
+
* @public
|
|
2173
|
+
*/
|
|
2004
2174
|
declare const CellText: {
|
|
2005
2175
|
(props: CellTextProps): react_jsx_runtime.JSX.Element;
|
|
2006
2176
|
displayName: string;
|
|
2007
2177
|
};
|
|
2008
2178
|
|
|
2009
|
-
/**
|
|
2179
|
+
/**
|
|
2180
|
+
* A table cell that renders an avatar image alongside a name, with an optional description and link.
|
|
2181
|
+
*
|
|
2182
|
+
* @public
|
|
2183
|
+
*/
|
|
2010
2184
|
declare const CellProfile: (props: CellProfileProps) => react_jsx_runtime.JSX.Element;
|
|
2011
2185
|
|
|
2012
2186
|
/** @public */
|
|
@@ -2032,10 +2206,14 @@ interface QueryOptions<TFilter> {
|
|
|
2032
2206
|
onSearchChange?: (search: string) => void;
|
|
2033
2207
|
}
|
|
2034
2208
|
/** @public */
|
|
2035
|
-
interface PaginationOptions extends Partial<Pick<TablePaginationProps, 'pageSize' | 'pageSizeOptions' | 'onPageSizeChange' | 'onNextPage' | 'onPreviousPage' | 'showPageSizeOptions' | 'getLabel'>> {
|
|
2209
|
+
interface PaginationOptions extends Partial<Pick<TablePaginationProps, 'pageSize' | 'pageSizeOptions' | 'onPageSizeChange' | 'onNextPage' | 'onPreviousPage' | 'showPageSizeOptions' | 'getLabel' | 'showPaginationLabel'>> {
|
|
2036
2210
|
initialOffset?: number;
|
|
2037
2211
|
}
|
|
2038
2212
|
/** @public */
|
|
2213
|
+
interface CompletePaginationOptions extends PaginationOptions {
|
|
2214
|
+
type?: 'page' | 'none';
|
|
2215
|
+
}
|
|
2216
|
+
/** @public */
|
|
2039
2217
|
interface OffsetParams<TFilter> {
|
|
2040
2218
|
offset: number;
|
|
2041
2219
|
pageSize: number;
|
|
@@ -2068,7 +2246,7 @@ interface CursorResponse<T> {
|
|
|
2068
2246
|
/** @public */
|
|
2069
2247
|
type UseTableCompleteOptions<T extends TableItem, TFilter = unknown> = QueryOptions<TFilter> & {
|
|
2070
2248
|
mode: 'complete';
|
|
2071
|
-
paginationOptions?:
|
|
2249
|
+
paginationOptions?: CompletePaginationOptions;
|
|
2072
2250
|
sortFn?: (data: T[], sort: SortDescriptor) => T[];
|
|
2073
2251
|
filterFn?: (data: T[], filter: TFilter) => T[];
|
|
2074
2252
|
searchFn?: (data: T[], search: string) => T[];
|
|
@@ -2101,8 +2279,17 @@ interface UseTableResult<T extends TableItem, TFilter = unknown> {
|
|
|
2101
2279
|
search: SearchState;
|
|
2102
2280
|
}
|
|
2103
2281
|
|
|
2282
|
+
/**
|
|
2283
|
+
* A hook that manages table data fetching, pagination, sorting, search, and filtering.
|
|
2284
|
+
* Supports three modes: `complete` for client-side data, `offset` for server-side offset pagination, and `cursor` for server-side cursor pagination.
|
|
2285
|
+
*
|
|
2286
|
+
* @public
|
|
2287
|
+
*/
|
|
2288
|
+
declare function useTable<T extends TableItem, TFilter = unknown>(options: UseTableCompleteOptions<T, TFilter>): UseTableResult<T, TFilter>;
|
|
2289
|
+
/** @public */
|
|
2290
|
+
declare function useTable<T extends TableItem, TFilter = unknown>(options: UseTableOffsetOptions<T, TFilter>): UseTableResult<T, TFilter>;
|
|
2104
2291
|
/** @public */
|
|
2105
|
-
declare function useTable<T extends TableItem, TFilter = unknown>(options:
|
|
2292
|
+
declare function useTable<T extends TableItem, TFilter = unknown>(options: UseTableCursorOptions<T, TFilter>): UseTableResult<T, TFilter>;
|
|
2106
2293
|
|
|
2107
2294
|
/**
|
|
2108
2295
|
* Component definition for Table
|
|
@@ -2215,7 +2402,11 @@ type TextOwnProps = {
|
|
|
2215
2402
|
/** @public */
|
|
2216
2403
|
type TextProps<T extends ElementType = 'span'> = TextOwnProps & Omit<ComponentPropsWithRef<T>, keyof TextOwnProps>;
|
|
2217
2404
|
|
|
2218
|
-
/**
|
|
2405
|
+
/**
|
|
2406
|
+
* A typographic primitive that renders text with design system variants, weights, and colors, and can render as any HTML element.
|
|
2407
|
+
*
|
|
2408
|
+
* @public
|
|
2409
|
+
*/
|
|
2219
2410
|
declare const Text: {
|
|
2220
2411
|
<T extends ElementType = "p">(props: TextProps<T> & {
|
|
2221
2412
|
ref?: React.ComponentPropsWithRef<T>["ref"];
|
|
@@ -2289,7 +2480,11 @@ interface TextFieldProps extends Omit<TextFieldProps$1, 'className' | 'descripti
|
|
|
2289
2480
|
type?: 'text' | 'email' | 'tel' | 'url';
|
|
2290
2481
|
}
|
|
2291
2482
|
|
|
2292
|
-
/**
|
|
2483
|
+
/**
|
|
2484
|
+
* A single-line text input with an integrated label, optional icon, and inline error display.
|
|
2485
|
+
*
|
|
2486
|
+
* @public
|
|
2487
|
+
*/
|
|
2293
2488
|
declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
2294
2489
|
|
|
2295
2490
|
/**
|
|
@@ -2346,7 +2541,11 @@ type PasswordFieldOwnProps = {
|
|
|
2346
2541
|
interface PasswordFieldProps extends Omit<TextFieldProps$1, 'className' | 'description'>, PasswordFieldOwnProps {
|
|
2347
2542
|
}
|
|
2348
2543
|
|
|
2349
|
-
/**
|
|
2544
|
+
/**
|
|
2545
|
+
* A text input for password entry with a toggleable visibility button, integrated label, and inline error display.
|
|
2546
|
+
*
|
|
2547
|
+
* @public
|
|
2548
|
+
*/
|
|
2350
2549
|
declare const PasswordField: react.ForwardRefExoticComponent<PasswordFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
2351
2550
|
|
|
2352
2551
|
/**
|
|
@@ -2387,9 +2586,17 @@ type TooltipOwnProps = {
|
|
|
2387
2586
|
interface TooltipProps extends Omit<TooltipProps$1, 'children' | 'className'>, TooltipOwnProps {
|
|
2388
2587
|
}
|
|
2389
2588
|
|
|
2390
|
-
/**
|
|
2589
|
+
/**
|
|
2590
|
+
* A wrapper that connects a trigger element to a Tooltip, controlling its show and hide behavior with a configurable delay.
|
|
2591
|
+
*
|
|
2592
|
+
* @public
|
|
2593
|
+
*/
|
|
2391
2594
|
declare const TooltipTrigger: (props: TooltipTriggerComponentProps) => react_jsx_runtime.JSX.Element;
|
|
2392
|
-
/**
|
|
2595
|
+
/**
|
|
2596
|
+
* A floating label that provides contextual information about an element when it receives hover or focus.
|
|
2597
|
+
*
|
|
2598
|
+
* @public
|
|
2599
|
+
*/
|
|
2393
2600
|
declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
|
|
2394
2601
|
|
|
2395
2602
|
/**
|
|
@@ -2494,7 +2701,11 @@ type MenuSeparatorOwnProps = {
|
|
|
2494
2701
|
interface MenuSeparatorProps extends MenuSeparatorOwnProps, Omit<SeparatorProps, keyof MenuSeparatorOwnProps> {
|
|
2495
2702
|
}
|
|
2496
2703
|
|
|
2497
|
-
/**
|
|
2704
|
+
/**
|
|
2705
|
+
* A wrapper that connects a trigger element to a dropdown menu, controlling its open and close state.
|
|
2706
|
+
*
|
|
2707
|
+
* @public
|
|
2708
|
+
*/
|
|
2498
2709
|
declare const MenuTrigger: (props: MenuTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
2499
2710
|
/** @public */
|
|
2500
2711
|
declare const SubmenuTrigger: (props: SubmenuTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -2688,9 +2899,17 @@ type SearchAutocompleteItemOwnProps = {
|
|
|
2688
2899
|
interface SearchAutocompleteItemProps extends SearchAutocompleteItemOwnProps, Omit<ListBoxItemProps, keyof SearchAutocompleteItemOwnProps> {
|
|
2689
2900
|
}
|
|
2690
2901
|
|
|
2691
|
-
/**
|
|
2902
|
+
/**
|
|
2903
|
+
* A search input that shows a dropdown list of suggestions as the user types, with loading and empty states.
|
|
2904
|
+
*
|
|
2905
|
+
* @public
|
|
2906
|
+
*/
|
|
2692
2907
|
declare function SearchAutocomplete(props: SearchAutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
2693
|
-
/**
|
|
2908
|
+
/**
|
|
2909
|
+
* An individual option item within a SearchAutocomplete dropdown.
|
|
2910
|
+
*
|
|
2911
|
+
* @public
|
|
2912
|
+
*/
|
|
2694
2913
|
declare function SearchAutocompleteItem(props: SearchAutocompleteItemProps): react_jsx_runtime.JSX.Element;
|
|
2695
2914
|
|
|
2696
2915
|
/**
|
|
@@ -2763,7 +2982,11 @@ type SearchFieldOwnProps = {
|
|
|
2763
2982
|
interface SearchFieldProps extends Omit<SearchFieldProps$1, 'className' | 'description'>, SearchFieldOwnProps {
|
|
2764
2983
|
}
|
|
2765
2984
|
|
|
2766
|
-
/**
|
|
2985
|
+
/**
|
|
2986
|
+
* A text input optimized for search queries, with a built-in clear button, optional icon, and support for a collapsible mode.
|
|
2987
|
+
*
|
|
2988
|
+
* @public
|
|
2989
|
+
*/
|
|
2767
2990
|
declare const SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
2768
2991
|
|
|
2769
2992
|
/**
|
|
@@ -2818,7 +3041,11 @@ type LinkOwnProps = {
|
|
|
2818
3041
|
interface LinkProps extends Omit<LinkProps$1, 'children' | 'className'>, LinkOwnProps {
|
|
2819
3042
|
}
|
|
2820
3043
|
|
|
2821
|
-
/**
|
|
3044
|
+
/**
|
|
3045
|
+
* A styled anchor element that supports analytics event tracking on click.
|
|
3046
|
+
*
|
|
3047
|
+
* @public
|
|
3048
|
+
*/
|
|
2822
3049
|
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
2823
3050
|
|
|
2824
3051
|
/**
|
|
@@ -2833,6 +3060,7 @@ declare const LinkDefinition: {
|
|
|
2833
3060
|
readonly root: "bui-Link";
|
|
2834
3061
|
};
|
|
2835
3062
|
readonly analytics: true;
|
|
3063
|
+
readonly resolveHref: true;
|
|
2836
3064
|
readonly propDefs: {
|
|
2837
3065
|
readonly noTrack: {};
|
|
2838
3066
|
readonly variant: {
|
|
@@ -2957,6 +3185,7 @@ declare const ListRowDefinition: {
|
|
|
2957
3185
|
readonly [key: string]: string;
|
|
2958
3186
|
};
|
|
2959
3187
|
readonly bg: "consumer";
|
|
3188
|
+
readonly resolveHref: true;
|
|
2960
3189
|
readonly classNames: {
|
|
2961
3190
|
readonly root: "bui-ListRow";
|
|
2962
3191
|
readonly check: "bui-ListRowCheck";
|
|
@@ -3022,7 +3251,11 @@ interface SelectProps<T extends 'single' | 'multiple'> extends SelectOwnProps, O
|
|
|
3022
3251
|
selectionMode?: T;
|
|
3023
3252
|
}
|
|
3024
3253
|
|
|
3025
|
-
/**
|
|
3254
|
+
/**
|
|
3255
|
+
* A dropdown picker for selecting one or multiple options from a list, with optional search filtering and inline error display.
|
|
3256
|
+
*
|
|
3257
|
+
* @public
|
|
3258
|
+
*/
|
|
3026
3259
|
declare const Select: react.ForwardRefExoticComponent<SelectProps<"multiple" | "single"> & react.RefAttributes<HTMLDivElement>>;
|
|
3027
3260
|
|
|
3028
3261
|
/**
|
|
@@ -3066,7 +3299,11 @@ type SkeletonOwnProps = {
|
|
|
3066
3299
|
interface SkeletonProps extends Omit<ComponentProps<'div'>, 'children' | 'className' | 'style'>, SkeletonOwnProps {
|
|
3067
3300
|
}
|
|
3068
3301
|
|
|
3069
|
-
/**
|
|
3302
|
+
/**
|
|
3303
|
+
* A placeholder shape displayed while content is loading, matching the size and layout of the content it replaces.
|
|
3304
|
+
*
|
|
3305
|
+
* @public
|
|
3306
|
+
*/
|
|
3070
3307
|
declare const Skeleton: (props: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
3071
3308
|
|
|
3072
3309
|
/**
|
|
@@ -3108,7 +3345,11 @@ type SwitchOwnProps = {
|
|
|
3108
3345
|
interface SwitchProps extends Omit<SwitchProps$1, 'className'>, SwitchOwnProps {
|
|
3109
3346
|
}
|
|
3110
3347
|
|
|
3111
|
-
/**
|
|
3348
|
+
/**
|
|
3349
|
+
* A toggle control for switching between on and off states, with an optional visible label.
|
|
3350
|
+
*
|
|
3351
|
+
* @public
|
|
3352
|
+
*/
|
|
3112
3353
|
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLLabelElement>>;
|
|
3113
3354
|
|
|
3114
3355
|
/**
|
|
@@ -3145,7 +3386,11 @@ type ToggleButtonOwnProps = {
|
|
|
3145
3386
|
interface ToggleButtonProps extends Omit<ToggleButtonProps$1, 'children' | 'className'>, ToggleButtonOwnProps {
|
|
3146
3387
|
}
|
|
3147
3388
|
|
|
3148
|
-
/**
|
|
3389
|
+
/**
|
|
3390
|
+
* A button that maintains a pressed or unpressed state, with optional start and end icon slots.
|
|
3391
|
+
*
|
|
3392
|
+
* @public
|
|
3393
|
+
*/
|
|
3149
3394
|
declare const ToggleButton: react.ForwardRefExoticComponent<ToggleButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
3150
3395
|
|
|
3151
3396
|
/**
|
|
@@ -3181,7 +3426,11 @@ type ToggleButtonGroupOwnProps = {
|
|
|
3181
3426
|
interface ToggleButtonGroupProps extends Omit<ToggleButtonGroupProps$1, 'className' | 'children'>, ToggleButtonGroupOwnProps {
|
|
3182
3427
|
}
|
|
3183
3428
|
|
|
3184
|
-
/**
|
|
3429
|
+
/**
|
|
3430
|
+
* A container that groups ToggleButton items and manages their collective selection state.
|
|
3431
|
+
*
|
|
3432
|
+
* @public
|
|
3433
|
+
*/
|
|
3185
3434
|
declare const ToggleButtonGroup: react.ForwardRefExoticComponent<ToggleButtonGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
3186
3435
|
|
|
3187
3436
|
/**
|
|
@@ -3374,5 +3623,5 @@ declare function useAnalytics(): AnalyticsTracker;
|
|
|
3374
3623
|
*/
|
|
3375
3624
|
declare function getNodeText(node: ReactNode | ((...args: any[]) => ReactNode)): string | undefined;
|
|
3376
3625
|
|
|
3377
|
-
export { Accordion, AccordionDefinition, AccordionGroup, AccordionGroupDefinition, AccordionPanel, AccordionPanelDefinition, AccordionTrigger, AccordionTriggerDefinition, Alert, AlertDefinition, Avatar, AvatarDefinition, BUIProvider, BgProvider, Box, BoxDefinition, Button, ButtonDefinition, ButtonIcon, ButtonIconDefinition, ButtonLink, ButtonLinkDefinition, Card, CardBody, CardBodyDefinition, CardDefinition, CardFooter, CardFooterDefinition, CardHeader, CardHeaderDefinition, Cell, CellProfile, CellText, Checkbox, CheckboxDefinition, Column, Container, ContainerDefinition, Dialog, DialogBody, DialogBodyDefinition, DialogDefinition, DialogFooter, DialogFooterDefinition, DialogHeader, DialogHeaderDefinition, DialogTrigger, FieldLabel, FieldLabelDefinition, Flex, FlexDefinition, FullPage, FullPageDefinition, Grid, GridDefinition, GridItemDefinition, Header, HeaderDefinition, HeaderNavDefinition, HeaderNavGroupDefinition, HeaderNavItemDefinition, HeaderPage, HeaderPageDefinition, Link, LinkDefinition, List, ListDefinition, ListRow, ListRowDefinition, Menu, MenuAutocomplete, MenuAutocompleteListbox, MenuDefinition, MenuItem, MenuListBox, MenuListBoxItem, MenuSection, MenuSeparator, MenuTrigger, PasswordField, PasswordFieldDefinition, PluginHeader, PluginHeaderDefinition, Popover, PopoverDefinition, Radio, RadioDefinition, RadioGroup, RadioGroupDefinition, Row, SearchAutocomplete, SearchAutocompleteDefinition, SearchAutocompleteItem, SearchField, SearchFieldDefinition, Select, SelectDefinition, Skeleton, SkeletonDefinition, SubmenuTrigger, Switch, SwitchDefinition, Tab, TabList, TabPanel, Table, TableBody, TableDefinition, TableHeader, TablePagination, TablePaginationDefinition, TableRoot, Tabs, TabsDefinition, Tag, TagGroup, TagGroupDefinition, Text, TextDefinition, TextField, TextFieldDefinition, ToggleButton, ToggleButtonDefinition, ToggleButtonGroup, ToggleButtonGroupDefinition, Tooltip, TooltipDefinition, TooltipTrigger, VisuallyHidden, VisuallyHiddenDefinition, getNodeText, useAnalytics, useBgConsumer, useBgProvider, useBreakpoint, useTable };
|
|
3378
|
-
export type { AccordionGroupOwnProps, AccordionGroupProps, AccordionOwnProps, AccordionPanelOwnProps, AccordionPanelProps, AccordionProps, AccordionTriggerOwnProps, AccordionTriggerProps, AlertOwnProps, AlertProps, AlignItems, AnalyticsEventAttributes, AnalyticsTracker, AvatarOwnProps, AvatarProps, BUIProviderProps, BgContextValue, BgProviderProps, Border, BorderRadius, BoxOwnProps, BoxProps, BoxUtilityProps, Breakpoint, ButtonIconOwnProps, ButtonIconProps, ButtonLinkOwnProps, ButtonLinkProps, ButtonOwnProps, ButtonProps, CardBaseProps, CardBodyOwnProps, CardBodyProps, CardButtonVariant, CardFooterOwnProps, CardFooterProps, CardHeaderOwnProps, CardHeaderProps, CardLinkVariant, CardOwnProps, CardProps, CardStaticVariant, CellOwnProps, CellProfileOwnProps, CellProfileProps, CellProps, CellTextOwnProps, CellTextProps, CheckboxOwnProps, CheckboxProps, ColumnConfig, ColumnOwnProps, ColumnProps, Columns, ContainerBg, ContainerOwnProps, ContainerProps, CursorParams, CursorResponse, DialogBodyOwnProps, DialogBodyProps, DialogFooterOwnProps, DialogFooterProps, DialogHeaderOwnProps, DialogHeaderProps, DialogOwnProps, DialogProps, DialogTriggerProps, Display, FieldLabelOwnProps, FieldLabelProps, FilterState, FlexDirection, FlexOwnProps, FlexProps, FlexWrap, FullPageOwnProps, FullPageProps, GridItemOwnProps, GridItemProps, GridOwnProps, GridProps, HeaderBreadcrumb, HeaderNavTab, HeaderNavTabGroup, HeaderNavTabItem, HeaderOwnProps, HeaderPageBreadcrumb, HeaderPageOwnProps, HeaderPageProps, HeaderProps, HeaderTab, JustifyContent, LinkOwnProps, LinkProps, ListOwnProps, ListProps, ListRowOwnProps, ListRowProps, MarginProps, MenuAutocompleteListBoxOwnProps, MenuAutocompleteListBoxProps, MenuAutocompleteOwnProps, MenuAutocompleteProps, MenuItemOwnProps, MenuItemProps, MenuListBoxItemOwnProps, MenuListBoxItemProps, MenuListBoxOwnProps, MenuListBoxProps, MenuOwnProps, MenuPopoverOwnProps, MenuProps, MenuSectionOwnProps, MenuSectionProps, MenuSeparatorOwnProps, MenuSeparatorProps, MenuTriggerProps, NoPagination, OffsetParams, OffsetResponse, Option, PaddingProps, PagePagination, PageSizeOption, PaginationOptions, PasswordFieldOwnProps, PasswordFieldProps, PluginHeaderOwnProps, PluginHeaderProps, PopoverOwnProps, PopoverProps, ProviderBg, QueryOptions, RadioGroupOwnProps, RadioGroupProps, RadioOwnProps, RadioProps, Responsive, RowConfig, RowOwnProps, RowProps, RowRenderFn, SearchAutocompleteItemOwnProps, SearchAutocompleteItemProps, SearchAutocompleteOwnProps, SearchAutocompleteProps, SearchFieldOwnProps, SearchFieldProps, SearchState, SelectOwnProps, SelectProps, SkeletonOwnProps, SkeletonProps, SortDescriptor, SortState, Space, SpaceProps, SubmenuTriggerProps, SwitchOwnProps, SwitchProps, TabListOwnProps, TabListProps, TabMatchStrategy, TabOwnProps, TabPanelOwnProps, TabPanelProps, TabProps, TableBodyOwnProps, TableBodyProps, TableHeaderOwnProps, TableHeaderProps, TableItem, TablePaginationOwnProps, TablePaginationProps, TablePaginationType, TableProps, TableRootOwnProps, TableRootProps, TableSelection, TabsOwnProps, TabsProps, TagGroupOwnProps, TagGroupProps, TagOwnProps, TagProps, TextColorStatus, TextColors, TextFieldOwnProps, TextFieldProps, TextOwnProps, TextProps, TextVariants, TextWeights, ToggleButtonGroupOwnProps, ToggleButtonGroupProps, ToggleButtonOwnProps, ToggleButtonProps, TooltipOwnProps, TooltipProps, UseAnalyticsFn, UseTableCompleteOptions, UseTableCursorOptions, UseTableOffsetOptions, UseTableOptions, UseTableResult, UtilityProps, VirtualizedProp, VisuallyHiddenOwnProps, VisuallyHiddenProps };
|
|
3626
|
+
export { Accordion, AccordionDefinition, AccordionGroup, AccordionGroupDefinition, AccordionPanel, AccordionPanelDefinition, AccordionTrigger, AccordionTriggerDefinition, Alert, AlertDefinition, Avatar, AvatarDefinition, BUIProvider, BgProvider, Box, BoxDefinition, Button, ButtonDefinition, ButtonIcon, ButtonIconDefinition, ButtonLink, ButtonLinkDefinition, Card, CardBody, CardBodyDefinition, CardDefinition, CardFooter, CardFooterDefinition, CardHeader, CardHeaderDefinition, Cell, CellProfile, CellText, Checkbox, CheckboxDefinition, Column, Container, ContainerDefinition, Dialog, DialogBody, DialogBodyDefinition, DialogDefinition, DialogFooter, DialogFooterDefinition, DialogHeader, DialogHeaderDefinition, DialogTrigger, FieldLabel, FieldLabelDefinition, Flex, FlexDefinition, FullPage, FullPageDefinition, Grid, GridDefinition, GridItemDefinition, Header, HeaderDefinition, HeaderNavDefinition, HeaderNavGroupDefinition, HeaderNavItemDefinition, HeaderPage, HeaderPageDefinition, Link, LinkDefinition, List, ListDefinition, ListRow, ListRowDefinition, Menu, MenuAutocomplete, MenuAutocompleteListbox, MenuDefinition, MenuItem, MenuListBox, MenuListBoxItem, MenuSection, MenuSeparator, MenuTrigger, PasswordField, PasswordFieldDefinition, PluginHeader, PluginHeaderDefinition, Popover, PopoverDefinition, Radio, RadioDefinition, RadioGroup, RadioGroupDefinition, Row, SearchAutocomplete, SearchAutocompleteDefinition, SearchAutocompleteItem, SearchField, SearchFieldDefinition, Select, SelectDefinition, Skeleton, SkeletonDefinition, Slider, SliderDefinition, SubmenuTrigger, Switch, SwitchDefinition, Tab, TabList, TabPanel, Table, TableBody, TableDefinition, TableHeader, TablePagination, TablePaginationDefinition, TableRoot, Tabs, TabsDefinition, Tag, TagGroup, TagGroupDefinition, Text, TextDefinition, TextField, TextFieldDefinition, ToggleButton, ToggleButtonDefinition, ToggleButtonGroup, ToggleButtonGroupDefinition, Tooltip, TooltipDefinition, TooltipTrigger, VisuallyHidden, VisuallyHiddenDefinition, getNodeText, useAnalytics, useBgConsumer, useBgProvider, useBreakpoint, useTable };
|
|
3627
|
+
export type { AccordionGroupOwnProps, AccordionGroupProps, AccordionOwnProps, AccordionPanelOwnProps, AccordionPanelProps, AccordionProps, AccordionTriggerOwnProps, AccordionTriggerProps, AlertOwnProps, AlertProps, AlignItems, AnalyticsEventAttributes, AnalyticsTracker, AvatarOwnProps, AvatarProps, BUIProviderProps, BgContextValue, BgProviderProps, Border, BorderRadius, BoxOwnProps, BoxProps, BoxUtilityProps, Breakpoint, ButtonIconOwnProps, ButtonIconProps, ButtonLinkOwnProps, ButtonLinkProps, ButtonOwnProps, ButtonProps, CardBaseProps, CardBodyOwnProps, CardBodyProps, CardButtonVariant, CardFooterOwnProps, CardFooterProps, CardHeaderOwnProps, CardHeaderProps, CardLinkVariant, CardOwnProps, CardProps, CardStaticVariant, CellOwnProps, CellProfileOwnProps, CellProfileProps, CellProps, CellTextOwnProps, CellTextProps, CheckboxOwnProps, CheckboxProps, ColumnConfig, ColumnOwnProps, ColumnProps, Columns, CompletePaginationOptions, ContainerBg, ContainerOwnProps, ContainerProps, CursorParams, CursorResponse, DialogBodyOwnProps, DialogBodyProps, DialogFooterOwnProps, DialogFooterProps, DialogHeaderOwnProps, DialogHeaderProps, DialogOwnProps, DialogProps, DialogTriggerProps, Display, FieldLabelOwnProps, FieldLabelProps, FilterState, FlexDirection, FlexOwnProps, FlexProps, FlexWrap, FullPageOwnProps, FullPageProps, GridItemOwnProps, GridItemProps, GridOwnProps, GridProps, HeaderBreadcrumb, HeaderNavTab, HeaderNavTabGroup, HeaderNavTabItem, HeaderOwnProps, HeaderPageBreadcrumb, HeaderPageOwnProps, HeaderPageProps, HeaderProps, HeaderTab, JustifyContent, LinkOwnProps, LinkProps, ListOwnProps, ListProps, ListRowOwnProps, ListRowProps, MarginProps, MenuAutocompleteListBoxOwnProps, MenuAutocompleteListBoxProps, MenuAutocompleteOwnProps, MenuAutocompleteProps, MenuItemOwnProps, MenuItemProps, MenuListBoxItemOwnProps, MenuListBoxItemProps, MenuListBoxOwnProps, MenuListBoxProps, MenuOwnProps, MenuPopoverOwnProps, MenuProps, MenuSectionOwnProps, MenuSectionProps, MenuSeparatorOwnProps, MenuSeparatorProps, MenuTriggerProps, NoPagination, OffsetParams, OffsetResponse, Option, PaddingProps, PagePagination, PageSizeOption, PaginationOptions, PasswordFieldOwnProps, PasswordFieldProps, PluginHeaderOwnProps, PluginHeaderProps, PopoverOwnProps, PopoverProps, ProviderBg, QueryOptions, RadioGroupOwnProps, RadioGroupProps, RadioOwnProps, RadioProps, Responsive, RowConfig, RowOwnProps, RowProps, RowRenderFn, SearchAutocompleteItemOwnProps, SearchAutocompleteItemProps, SearchAutocompleteOwnProps, SearchAutocompleteProps, SearchFieldOwnProps, SearchFieldProps, SearchState, SelectOwnProps, SelectProps, SkeletonOwnProps, SkeletonProps, SliderOwnProps, SliderProps, SortDescriptor, SortState, Space, SpaceProps, SubmenuTriggerProps, SwitchOwnProps, SwitchProps, TabListOwnProps, TabListProps, TabMatchStrategy, TabOwnProps, TabPanelOwnProps, TabPanelProps, TabProps, TableBodyOwnProps, TableBodyProps, TableHeaderOwnProps, TableHeaderProps, TableItem, TablePaginationOwnProps, TablePaginationProps, TablePaginationType, TableProps, TableRootOwnProps, TableRootProps, TableSelection, TabsOwnProps, TabsProps, TagGroupOwnProps, TagGroupProps, TagOwnProps, TagProps, TextColorStatus, TextColors, TextFieldOwnProps, TextFieldProps, TextOwnProps, TextProps, TextVariants, TextWeights, ToggleButtonGroupOwnProps, ToggleButtonGroupProps, ToggleButtonOwnProps, ToggleButtonProps, TooltipOwnProps, TooltipProps, UseAnalyticsFn, UseTableCompleteOptions, UseTableCursorOptions, UseTableOffsetOptions, UseTableOptions, UseTableResult, UtilityProps, VirtualizedProp, VisuallyHiddenOwnProps, VisuallyHiddenProps };
|
package/dist/index.esm.js
CHANGED
|
@@ -35,6 +35,8 @@ export { Checkbox } from './components/Checkbox/Checkbox.esm.js';
|
|
|
35
35
|
export { CheckboxDefinition } from './components/Checkbox/definition.esm.js';
|
|
36
36
|
export { Radio, RadioGroup } from './components/RadioGroup/RadioGroup.esm.js';
|
|
37
37
|
export { RadioDefinition, RadioGroupDefinition } from './components/RadioGroup/definition.esm.js';
|
|
38
|
+
export { Slider } from './components/Slider/Slider.esm.js';
|
|
39
|
+
export { SliderDefinition } from './components/Slider/definition.esm.js';
|
|
38
40
|
export { Table } from './components/Table/components/Table.esm.js';
|
|
39
41
|
export { TableRoot } from './components/Table/components/TableRoot.esm.js';
|
|
40
42
|
export { TableHeader } from './components/Table/components/TableHeader.esm.js';
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|