@backstage/ui 0.0.0-nightly-20251009023727 → 0.0.0-nightly-20251022024054
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 +34 -1
- package/css/styles.css +6581 -8397
- package/dist/components/Avatar/Avatar.esm.js +21 -7
- package/dist/components/Avatar/Avatar.esm.js.map +1 -1
- package/dist/components/Avatar/Avatar.module.css.esm.js +8 -0
- package/dist/components/Avatar/Avatar.module.css.esm.js.map +1 -0
- package/dist/components/Box/Box.esm.js +20 -23
- package/dist/components/Box/Box.esm.js.map +1 -1
- package/dist/components/Box/Box.module.css.esm.js +8 -0
- package/dist/components/Box/Box.module.css.esm.js.map +1 -0
- package/dist/components/Button/Button.esm.js +7 -13
- package/dist/components/Button/Button.esm.js.map +1 -1
- package/dist/components/Button/Button.module.css.esm.js +8 -0
- package/dist/components/Button/Button.module.css.esm.js.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.esm.js +14 -12
- package/dist/components/ButtonIcon/ButtonIcon.esm.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.module.css.esm.js +8 -0
- package/dist/components/ButtonIcon/ButtonIcon.module.css.esm.js.map +1 -0
- package/dist/components/ButtonLink/ButtonLink.esm.js +8 -13
- package/dist/components/ButtonLink/ButtonLink.esm.js.map +1 -1
- package/dist/components/Card/Card.esm.js +46 -28
- package/dist/components/Card/Card.esm.js.map +1 -1
- package/dist/components/Card/Card.module.css.esm.js +8 -0
- package/dist/components/Card/Card.module.css.esm.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.esm.js +14 -49
- package/dist/components/Checkbox/Checkbox.esm.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.module.css.esm.js +8 -0
- package/dist/components/Checkbox/Checkbox.module.css.esm.js.map +1 -0
- package/dist/components/Collapsible/Collapsible.esm.js +14 -9
- package/dist/components/Collapsible/Collapsible.esm.js.map +1 -1
- package/dist/components/Collapsible/Collapsible.module.css.esm.js +8 -0
- package/dist/components/Collapsible/Collapsible.module.css.esm.js.map +1 -0
- package/dist/components/Container/Container.esm.js +22 -25
- package/dist/components/Container/Container.esm.js.map +1 -1
- package/dist/components/Container/Container.module.css.esm.js +8 -0
- package/dist/components/Container/Container.module.css.esm.js.map +1 -0
- package/dist/components/Dialog/Dialog.esm.js +103 -0
- package/dist/components/Dialog/Dialog.esm.js.map +1 -0
- package/dist/components/Dialog/Dialog.module.css.esm.js +8 -0
- package/dist/components/Dialog/Dialog.module.css.esm.js.map +1 -0
- package/dist/components/FieldError/FieldError.esm.js +5 -2
- package/dist/components/FieldError/FieldError.esm.js.map +1 -1
- package/dist/components/FieldError/FieldError.module.css.esm.js +8 -0
- package/dist/components/FieldError/FieldError.module.css.esm.js.map +1 -0
- package/dist/components/FieldLabel/FieldLabel.esm.js +50 -13
- package/dist/components/FieldLabel/FieldLabel.esm.js.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.module.css.esm.js +8 -0
- package/dist/components/FieldLabel/FieldLabel.module.css.esm.js.map +1 -0
- package/dist/components/Flex/Flex.esm.js +22 -18
- package/dist/components/Flex/Flex.esm.js.map +1 -1
- package/dist/components/Flex/Flex.module.css.esm.js +8 -0
- package/dist/components/Flex/Flex.module.css.esm.js.map +1 -0
- package/dist/components/Grid/Grid.esm.js +41 -29
- package/dist/components/Grid/Grid.esm.js.map +1 -1
- package/dist/components/Grid/Grid.module.css.esm.js +8 -0
- package/dist/components/Grid/Grid.module.css.esm.js.map +1 -0
- package/dist/components/Header/Header.esm.js +22 -11
- package/dist/components/Header/Header.esm.js.map +1 -1
- package/dist/components/Header/Header.module.css.esm.js +8 -0
- package/dist/components/Header/Header.module.css.esm.js.map +1 -0
- package/dist/components/Header/HeaderToolbar.esm.js +71 -7
- package/dist/components/Header/HeaderToolbar.esm.js.map +1 -1
- package/dist/components/HeaderPage/HeaderPage.esm.js +51 -31
- package/dist/components/HeaderPage/HeaderPage.esm.js.map +1 -1
- package/dist/components/HeaderPage/HeaderPage.module.css.esm.js +8 -0
- package/dist/components/HeaderPage/HeaderPage.module.css.esm.js.map +1 -0
- package/dist/components/Link/Link.esm.js +26 -15
- package/dist/components/Link/Link.esm.js.map +1 -1
- package/dist/components/Link/Link.module.css.esm.js +8 -0
- package/dist/components/Link/Link.module.css.esm.js.map +1 -0
- package/dist/components/Menu/Menu.esm.js +376 -118
- package/dist/components/Menu/Menu.esm.js.map +1 -1
- package/dist/components/Menu/Menu.module.css.esm.js +8 -0
- package/dist/components/Menu/Menu.module.css.esm.js.map +1 -0
- package/dist/components/Popover/Popover.module.css.esm.js +8 -0
- package/dist/components/Popover/Popover.module.css.esm.js.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.esm.js +6 -5
- package/dist/components/RadioGroup/RadioGroup.esm.js.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.module.css.esm.js +8 -0
- package/dist/components/RadioGroup/RadioGroup.module.css.esm.js.map +1 -0
- package/dist/components/SearchField/SearchField.esm.js +44 -23
- package/dist/components/SearchField/SearchField.esm.js.map +1 -1
- package/dist/components/SearchField/SearchField.module.css.esm.js +8 -0
- package/dist/components/SearchField/SearchField.module.css.esm.js.map +1 -0
- package/dist/components/Select/Select.esm.js +60 -25
- package/dist/components/Select/Select.esm.js.map +1 -1
- package/dist/components/Select/Select.module.css.esm.js +8 -0
- package/dist/components/Select/Select.module.css.esm.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.esm.js +12 -4
- package/dist/components/Skeleton/Skeleton.esm.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.module.css.esm.js +8 -0
- package/dist/components/Skeleton/Skeleton.module.css.esm.js.map +1 -0
- package/dist/components/Switch/Switch.esm.js +22 -6
- package/dist/components/Switch/Switch.esm.js.map +1 -1
- package/dist/components/Switch/Switch.module.css.esm.js +8 -0
- package/dist/components/Switch/Switch.module.css.esm.js.map +1 -0
- package/dist/components/Table/Table.module.css.esm.js +8 -0
- package/dist/components/Table/Table.module.css.esm.js.map +1 -0
- package/dist/components/Table/components/Cell.esm.js +44 -17
- package/dist/components/Table/components/Cell.esm.js.map +1 -1
- package/dist/components/Table/components/CellProfile.esm.js +71 -26
- package/dist/components/Table/components/CellProfile.esm.js.map +1 -1
- package/dist/components/Table/components/Column.esm.js +39 -9
- package/dist/components/Table/components/Column.esm.js.map +1 -1
- package/dist/components/Table/components/Row.esm.js +19 -11
- package/dist/components/Table/components/Row.esm.js.map +1 -1
- package/dist/components/Table/components/Table.esm.js +8 -3
- package/dist/components/Table/components/Table.esm.js.map +1 -1
- package/dist/components/Table/components/TableBody.esm.js +13 -2
- package/dist/components/Table/components/TableBody.esm.js.map +1 -1
- package/dist/components/Table/components/TableHeader.esm.js +20 -10
- package/dist/components/Table/components/TableHeader.esm.js.map +1 -1
- package/dist/components/TablePagination/TablePagination.esm.js +80 -63
- package/dist/components/TablePagination/TablePagination.esm.js.map +1 -1
- package/dist/components/TablePagination/TablePagination.module.css.esm.js +8 -0
- package/dist/components/TablePagination/TablePagination.module.css.esm.js.map +1 -0
- package/dist/components/Tabs/Tabs.esm.js +55 -31
- package/dist/components/Tabs/Tabs.esm.js.map +1 -1
- package/dist/components/Tabs/Tabs.module.css.esm.js +8 -0
- package/dist/components/Tabs/Tabs.module.css.esm.js.map +1 -0
- package/dist/components/Tabs/TabsIndicators.esm.js +14 -2
- package/dist/components/Tabs/TabsIndicators.esm.js.map +1 -1
- package/dist/components/TagGroup/TagGroup.esm.js +35 -19
- package/dist/components/TagGroup/TagGroup.esm.js.map +1 -1
- package/dist/components/TagGroup/TagGroup.module.css.esm.js +8 -0
- package/dist/components/TagGroup/TagGroup.module.css.esm.js.map +1 -0
- package/dist/components/Text/Text.esm.js +10 -19
- package/dist/components/Text/Text.esm.js.map +1 -1
- package/dist/components/Text/Text.module.css.esm.js +8 -0
- package/dist/components/Text/Text.module.css.esm.js.map +1 -0
- package/dist/components/TextField/TextField.esm.js +29 -16
- package/dist/components/TextField/TextField.esm.js.map +1 -1
- package/dist/components/TextField/TextField.module.css.esm.js +8 -0
- package/dist/components/TextField/TextField.module.css.esm.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.esm.js +19 -7
- package/dist/components/Tooltip/Tooltip.esm.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.module.css.esm.js +8 -0
- package/dist/components/Tooltip/Tooltip.module.css.esm.js.map +1 -0
- package/dist/hooks/useStyles.esm.js +65 -9
- package/dist/hooks/useStyles.esm.js.map +1 -1
- package/dist/index.d.ts +133 -433
- package/dist/index.esm.js +1 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/node_modules_dist/style-inject/dist/style-inject.es.esm.js +29 -0
- package/dist/node_modules_dist/style-inject/dist/style-inject.es.esm.js.map +1 -0
- package/dist/utils/componentDefinitions.esm.js +105 -15
- package/dist/utils/componentDefinitions.esm.js.map +1 -1
- package/dist/utils/utilityClassMap.esm.js +189 -0
- package/dist/utils/utilityClassMap.esm.js.map +1 -0
- package/package.json +3 -3
- package/dist/components/Box/Box.props.esm.js +0 -7
- package/dist/components/Box/Box.props.esm.js.map +0 -1
- package/dist/components/Flex/Flex.props.esm.js +0 -31
- package/dist/components/Flex/Flex.props.esm.js.map +0 -1
- package/dist/components/Grid/Grid.props.esm.js +0 -58
- package/dist/components/Grid/Grid.props.esm.js.map +0 -1
- package/dist/components/Icon/Icon.esm.js +0 -29
- package/dist/components/Icon/Icon.esm.js.map +0 -1
- package/dist/components/Icon/context.esm.js +0 -10
- package/dist/components/Icon/context.esm.js.map +0 -1
- package/dist/components/Icon/icons.esm.js +0 -63
- package/dist/components/Icon/icons.esm.js.map +0 -1
- package/dist/components/Icon/provider.esm.js +0 -12
- package/dist/components/Icon/provider.esm.js.map +0 -1
- package/dist/components/ScrollArea/ScrollArea.esm.js +0 -63
- package/dist/components/ScrollArea/ScrollArea.esm.js.map +0 -1
- package/dist/props/display.props.esm.js +0 -12
- package/dist/props/display.props.esm.js.map +0 -1
- package/dist/props/gap-props.esm.js +0 -15
- package/dist/props/gap-props.esm.js.map +0 -1
- package/dist/props/height.props.esm.js +0 -23
- package/dist/props/height.props.esm.js.map +0 -1
- package/dist/props/margin.props.esm.js +0 -54
- package/dist/props/margin.props.esm.js.map +0 -1
- package/dist/props/padding.props.esm.js +0 -54
- package/dist/props/padding.props.esm.js.map +0 -1
- package/dist/props/position.props.esm.js +0 -18
- package/dist/props/position.props.esm.js.map +0 -1
- package/dist/props/prop-def.esm.js +0 -4
- package/dist/props/prop-def.esm.js.map +0 -1
- package/dist/props/spacing.props.esm.js +0 -28
- package/dist/props/spacing.props.esm.js.map +0 -1
- package/dist/props/width.props.esm.js +0 -23
- package/dist/props/width.props.esm.js.map +0 -1
- package/dist/utils/extractProps.esm.js +0 -49
- package/dist/utils/extractProps.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,38 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { RemixiconComponentType } from '@remixicon/react';
|
|
2
|
+
import { ReactElement, ReactNode, ElementType, ComponentPropsWithRef, ComponentProps } from 'react';
|
|
4
3
|
import { Avatar as Avatar$1 } from '@base-ui-components/react/avatar';
|
|
5
|
-
import { ButtonProps as ButtonProps$1, TabsProps as TabsProps$1, TabListProps as TabListProps$1, TabProps as TabProps$1, TabPanelProps as TabPanelProps$1, LinkProps as LinkProps$1, RadioGroupProps as RadioGroupProps$1, RadioProps as RadioProps$1, TableProps, TableHeaderProps, TableBodyProps, ColumnProps
|
|
4
|
+
import { ButtonProps as ButtonProps$1, DialogTriggerProps as DialogTriggerProps$1, ModalOverlayProps, HeadingProps, TabsProps as TabsProps$1, TabListProps as TabListProps$1, TabProps as TabProps$1, TabPanelProps as TabPanelProps$1, LinkProps as LinkProps$1, RadioGroupProps as RadioGroupProps$1, RadioProps as RadioProps$1, TableProps, TableHeaderProps, TableBodyProps, ColumnProps as ColumnProps$1, CellProps as CellProps$1, RowProps, TagGroupProps as TagGroupProps$1, TagListProps, TagProps as TagProps$1, TextFieldProps as TextFieldProps$1, TooltipProps as TooltipProps$1, TooltipTriggerComponentProps, MenuTriggerProps as MenuTriggerProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, MenuProps as MenuProps$1, PopoverProps, ListBoxProps, MenuItemProps as MenuItemProps$1, ListBoxItemProps, MenuSectionProps as MenuSectionProps$1, SeparatorProps, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1 } from 'react-aria-components';
|
|
6
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { NavigateOptions } from 'react-router-dom';
|
|
8
7
|
import { Collapsible as Collapsible$1 } from '@base-ui-components/react/collapsible';
|
|
9
|
-
import { ScrollArea as ScrollArea$1 } from '@base-ui-components/react/scroll-area';
|
|
10
|
-
|
|
11
|
-
/** @public */
|
|
12
|
-
type IconNames = 'account-circle' | 'alert' | 'arrow-down' | 'arrow-down-circle' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'arrow-left' | 'arrow-left-circle' | 'arrow-left-down' | 'arrow-left-up' | 'arrow-right' | 'arrow-right-circle' | 'arrow-right-down' | 'arrow-right-up' | 'arrow-up' | 'arrow-up-circle' | 'braces' | 'brackets' | 'bug' | 'check' | 'check-double' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'close' | 'cloud' | 'code' | 'discord' | 'download' | 'external-link' | 'eye' | 'eye-off' | 'filter' | 'flower' | 'github' | 'git-repository' | 'group' | 'heart' | 'moon' | 'plus' | 'search' | 'sidebar-fold' | 'sidebar-unfold' | 'sparkling' | 'star' | 'sun' | 'terminal' | 'trash' | 'upload' | 'user' | 'youtube' | 'zoom-in' | 'zoom-out';
|
|
13
|
-
/** @public */
|
|
14
|
-
type IconMap = Partial<Record<IconNames, RemixiconComponentType>>;
|
|
15
|
-
/** @public */
|
|
16
|
-
type IconProps = {
|
|
17
|
-
name: IconNames;
|
|
18
|
-
size?: number;
|
|
19
|
-
className?: string;
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
};
|
|
22
|
-
/** @public */
|
|
23
|
-
interface IconContextProps {
|
|
24
|
-
icons: IconMap;
|
|
25
|
-
}
|
|
26
|
-
/** @public */
|
|
27
|
-
interface IconProviderProps {
|
|
28
|
-
children?: ReactNode;
|
|
29
|
-
overrides?: Partial<Record<IconNames, RemixiconComponentType>>;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/** @public */
|
|
33
|
-
declare const IconContext: react.Context<IconContextProps>;
|
|
34
|
-
/** @public */
|
|
35
|
-
declare const useIcons: () => IconContextProps;
|
|
36
8
|
|
|
37
9
|
/**
|
|
38
10
|
* Component definitions for the Backstage UI library
|
|
@@ -53,6 +25,7 @@ declare const componentDefinitions: {
|
|
|
53
25
|
readonly classNames: {
|
|
54
26
|
readonly root: "bui-Box";
|
|
55
27
|
};
|
|
28
|
+
readonly utilityProps: ["m", "mb", "ml", "mr", "mt", "mx", "my", "p", "pb", "pl", "pr", "pt", "px", "py", "position", "display", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"];
|
|
56
29
|
};
|
|
57
30
|
readonly Button: {
|
|
58
31
|
readonly classNames: {
|
|
@@ -102,6 +75,22 @@ declare const componentDefinitions: {
|
|
|
102
75
|
readonly classNames: {
|
|
103
76
|
readonly root: "bui-Container";
|
|
104
77
|
};
|
|
78
|
+
readonly utilityProps: ["my", "mt", "mb", "py", "pt", "pb", "display"];
|
|
79
|
+
};
|
|
80
|
+
readonly Dialog: {
|
|
81
|
+
readonly classNames: {
|
|
82
|
+
readonly overlay: "bui-DialogOverlay";
|
|
83
|
+
readonly dialog: "bui-Dialog";
|
|
84
|
+
readonly header: "bui-DialogHeader";
|
|
85
|
+
readonly headerTitle: "bui-DialogHeaderTitle";
|
|
86
|
+
readonly body: "bui-DialogBody";
|
|
87
|
+
readonly footer: "bui-DialogFooter";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
readonly FieldError: {
|
|
91
|
+
readonly classNames: {
|
|
92
|
+
readonly root: "bui-FieldError";
|
|
93
|
+
};
|
|
105
94
|
};
|
|
106
95
|
readonly FieldLabel: {
|
|
107
96
|
readonly classNames: {
|
|
@@ -115,12 +104,19 @@ declare const componentDefinitions: {
|
|
|
115
104
|
readonly classNames: {
|
|
116
105
|
readonly root: "bui-Flex";
|
|
117
106
|
};
|
|
107
|
+
readonly utilityProps: ["m", "mb", "ml", "mr", "mt", "mx", "my", "p", "pb", "pl", "pr", "pt", "px", "py", "gap", "align", "justify", "direction"];
|
|
118
108
|
};
|
|
119
109
|
readonly Grid: {
|
|
120
110
|
readonly classNames: {
|
|
121
111
|
readonly root: "bui-Grid";
|
|
122
|
-
readonly item: "bui-GridItem";
|
|
123
112
|
};
|
|
113
|
+
readonly utilityProps: ["columns", "gap", "m", "mb", "ml", "mr", "mt", "mx", "my", "p", "pb", "pl", "pr", "pt", "px", "py"];
|
|
114
|
+
};
|
|
115
|
+
readonly GridItem: {
|
|
116
|
+
readonly classNames: {
|
|
117
|
+
readonly root: "bui-GridItem";
|
|
118
|
+
};
|
|
119
|
+
readonly utilityProps: ["colSpan", "colEnd", "colStart", "rowSpan"];
|
|
124
120
|
};
|
|
125
121
|
readonly Header: {
|
|
126
122
|
readonly classNames: {
|
|
@@ -183,6 +179,7 @@ declare const componentDefinitions: {
|
|
|
183
179
|
readonly item: "bui-MenuItem";
|
|
184
180
|
readonly itemListBox: "bui-MenuItemListBox";
|
|
185
181
|
readonly itemListBoxCheck: "bui-MenuItemListBoxCheck";
|
|
182
|
+
readonly itemWrapper: "bui-MenuItemWrapper";
|
|
186
183
|
readonly itemContent: "bui-MenuItemContent";
|
|
187
184
|
readonly itemArrow: "bui-MenuItemArrow";
|
|
188
185
|
readonly separator: "bui-MenuSeparator";
|
|
@@ -197,6 +194,9 @@ declare const componentDefinitions: {
|
|
|
197
194
|
readonly root: "bui-PasswordField";
|
|
198
195
|
readonly inputVisibility: "bui-InputVisibility";
|
|
199
196
|
};
|
|
197
|
+
readonly dataAttributes: {
|
|
198
|
+
readonly size: readonly ["small", "medium"];
|
|
199
|
+
};
|
|
200
200
|
};
|
|
201
201
|
readonly Popover: {
|
|
202
202
|
readonly classNames: {
|
|
@@ -210,14 +210,6 @@ declare const componentDefinitions: {
|
|
|
210
210
|
readonly radio: "bui-Radio";
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
readonly ScrollArea: {
|
|
214
|
-
readonly classNames: {
|
|
215
|
-
readonly root: "bui-ScrollAreaRoot";
|
|
216
|
-
readonly viewport: "bui-ScrollAreaViewport";
|
|
217
|
-
readonly scrollbar: "bui-ScrollAreaScrollbar";
|
|
218
|
-
readonly thumb: "bui-ScrollAreaThumb";
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
213
|
readonly SearchField: {
|
|
222
214
|
readonly classNames: {
|
|
223
215
|
readonly root: "bui-SearchField";
|
|
@@ -225,6 +217,7 @@ declare const componentDefinitions: {
|
|
|
225
217
|
};
|
|
226
218
|
readonly dataAttributes: {
|
|
227
219
|
readonly startCollapsed: readonly [true, false];
|
|
220
|
+
readonly size: readonly ["small", "medium"];
|
|
228
221
|
};
|
|
229
222
|
};
|
|
230
223
|
readonly Select: {
|
|
@@ -260,6 +253,7 @@ declare const componentDefinitions: {
|
|
|
260
253
|
readonly body: "bui-TableBody";
|
|
261
254
|
readonly row: "bui-TableRow";
|
|
262
255
|
readonly head: "bui-TableHead";
|
|
256
|
+
readonly headContent: "bui-TableHeadContent";
|
|
263
257
|
readonly headSortButton: "bui-TableHeadSortButton";
|
|
264
258
|
readonly caption: "bui-TableCaption";
|
|
265
259
|
readonly cell: "bui-TableCell";
|
|
@@ -273,6 +267,14 @@ declare const componentDefinitions: {
|
|
|
273
267
|
readonly cellProfileLink: "bui-TableCellProfileLink";
|
|
274
268
|
};
|
|
275
269
|
};
|
|
270
|
+
readonly TablePagination: {
|
|
271
|
+
readonly classNames: {
|
|
272
|
+
readonly root: "bui-TablePagination";
|
|
273
|
+
readonly left: "bui-TablePaginationLeft";
|
|
274
|
+
readonly right: "bui-TablePaginationRight";
|
|
275
|
+
readonly select: "bui-TablePaginationSelect";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
276
278
|
readonly Tabs: {
|
|
277
279
|
readonly classNames: {
|
|
278
280
|
readonly tabs: "bui-Tabs";
|
|
@@ -315,6 +317,7 @@ declare const componentDefinitions: {
|
|
|
315
317
|
readonly dataAttributes: {
|
|
316
318
|
readonly invalid: readonly [true, false];
|
|
317
319
|
readonly disabled: readonly [true, false];
|
|
320
|
+
readonly size: readonly ["small", "medium"];
|
|
318
321
|
};
|
|
319
322
|
};
|
|
320
323
|
readonly Tooltip: {
|
|
@@ -346,7 +349,7 @@ type BorderRadius = 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
|
346
349
|
/** @public */
|
|
347
350
|
type Border = 'none' | 'base' | 'error' | 'warning' | 'selected';
|
|
348
351
|
/** @public */
|
|
349
|
-
type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
|
|
352
|
+
type Columns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
|
|
350
353
|
/** @public */
|
|
351
354
|
interface SpaceProps {
|
|
352
355
|
m?: Responsive<Space>;
|
|
@@ -410,6 +413,7 @@ type DataAttributesMap = Record<string, DataAttributeValues>;
|
|
|
410
413
|
interface ComponentDefinition {
|
|
411
414
|
classNames: ClassNamesMap;
|
|
412
415
|
dataAttributes?: DataAttributesMap;
|
|
416
|
+
utilityProps?: string[];
|
|
413
417
|
}
|
|
414
418
|
/**
|
|
415
419
|
* Type utilities for extracting information from the component styles
|
|
@@ -422,167 +426,17 @@ type ComponentDefinitionName = keyof typeof componentDefinitions;
|
|
|
422
426
|
*/
|
|
423
427
|
type ComponentClassNames<T extends ComponentDefinitionName> = (typeof componentDefinitions)[T]['classNames'];
|
|
424
428
|
|
|
425
|
-
/** @public */
|
|
426
|
-
declare const breakpoints: Breakpoint[];
|
|
427
|
-
/** @public */
|
|
428
|
-
type BooleanPropDef = {
|
|
429
|
-
type: 'boolean';
|
|
430
|
-
default?: boolean;
|
|
431
|
-
required?: boolean;
|
|
432
|
-
className?: string;
|
|
433
|
-
};
|
|
434
|
-
/** @public */
|
|
435
|
-
type StringPropDef = {
|
|
436
|
-
type: 'string';
|
|
437
|
-
default?: string;
|
|
438
|
-
required?: boolean;
|
|
439
|
-
};
|
|
440
|
-
/** @public */
|
|
441
|
-
type ReactNodePropDef = {
|
|
442
|
-
type: 'ReactNode';
|
|
443
|
-
default?: ReactNode;
|
|
444
|
-
required?: boolean;
|
|
445
|
-
};
|
|
446
|
-
/** @public */
|
|
447
|
-
type EnumPropDef<T> = {
|
|
448
|
-
type: 'enum';
|
|
449
|
-
values: readonly T[];
|
|
450
|
-
default?: T;
|
|
451
|
-
required?: boolean;
|
|
452
|
-
};
|
|
453
|
-
/** @public */
|
|
454
|
-
type EnumOrStringPropDef<T> = {
|
|
455
|
-
type: 'enum | string';
|
|
456
|
-
values: readonly T[];
|
|
457
|
-
default?: T | string;
|
|
458
|
-
required?: boolean;
|
|
459
|
-
};
|
|
460
|
-
/** @public */
|
|
461
|
-
type NonStylingPropDef = {
|
|
462
|
-
className?: never;
|
|
463
|
-
customProperties?: never;
|
|
464
|
-
parseValue?: never;
|
|
465
|
-
};
|
|
466
|
-
/** @public */
|
|
467
|
-
type StylingPropDef = {
|
|
468
|
-
className: string;
|
|
469
|
-
parseValue?: (value: string) => string | undefined;
|
|
470
|
-
};
|
|
471
|
-
/** @public */
|
|
472
|
-
type ArbitraryStylingPropDef = {
|
|
473
|
-
className: string;
|
|
474
|
-
customProperties: `--${string}`[];
|
|
475
|
-
parseValue?: (value: string) => string | undefined;
|
|
476
|
-
};
|
|
477
|
-
/** @public */
|
|
478
|
-
type RegularPropDef<T> = ReactNodePropDef | BooleanPropDef | (StringPropDef & ArbitraryStylingPropDef) | (StringPropDef & NonStylingPropDef) | (EnumPropDef<T> & StylingPropDef) | (EnumPropDef<T> & NonStylingPropDef) | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef) | (EnumOrStringPropDef<T> & NonStylingPropDef);
|
|
479
|
-
/** @public */
|
|
480
|
-
type ResponsivePropDef<T = any> = RegularPropDef<T> & {
|
|
481
|
-
responsive: true;
|
|
482
|
-
};
|
|
483
|
-
/** @public */
|
|
484
|
-
type PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;
|
|
485
|
-
/** @public */
|
|
486
|
-
type GetPropDefType<Def> = Def extends BooleanPropDef ? Def extends ResponsivePropDef ? Responsive<boolean> : boolean : Def extends StringPropDef ? Def extends ResponsivePropDef ? Responsive<string> : string : Def extends ReactNodePropDef ? Def extends ResponsivePropDef ? Responsive<ReactNode> : ReactNode : Def extends EnumOrStringPropDef<infer Type> ? Def extends ResponsivePropDef<infer Type extends string> ? Responsive<string | Type> : string | Type : Def extends EnumPropDef<infer Type> ? Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type : never;
|
|
487
|
-
/** @public */
|
|
488
|
-
type GetPropDefTypes<P> = {
|
|
489
|
-
[K in keyof P]?: GetPropDefType<P[K]>;
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
/** @public */
|
|
493
|
-
declare const heightPropDefs: {
|
|
494
|
-
height: {
|
|
495
|
-
type: "string";
|
|
496
|
-
className: string;
|
|
497
|
-
customProperties: "--height"[];
|
|
498
|
-
responsive: true;
|
|
499
|
-
};
|
|
500
|
-
minHeight: {
|
|
501
|
-
type: "string";
|
|
502
|
-
className: string;
|
|
503
|
-
customProperties: "--min-height"[];
|
|
504
|
-
responsive: true;
|
|
505
|
-
};
|
|
506
|
-
maxHeight: {
|
|
507
|
-
type: "string";
|
|
508
|
-
className: string;
|
|
509
|
-
customProperties: "--max-height"[];
|
|
510
|
-
responsive: true;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
/** @public */
|
|
514
|
-
type HeightProps = GetPropDefTypes<typeof heightPropDefs>;
|
|
515
|
-
|
|
516
|
-
/** @public */
|
|
517
|
-
declare const widthPropDefs: {
|
|
518
|
-
width: {
|
|
519
|
-
type: "string";
|
|
520
|
-
className: string;
|
|
521
|
-
customProperties: "--width"[];
|
|
522
|
-
responsive: true;
|
|
523
|
-
};
|
|
524
|
-
minWidth: {
|
|
525
|
-
type: "string";
|
|
526
|
-
className: string;
|
|
527
|
-
customProperties: "--min-width"[];
|
|
528
|
-
responsive: true;
|
|
529
|
-
};
|
|
530
|
-
maxWidth: {
|
|
531
|
-
type: "string";
|
|
532
|
-
className: string;
|
|
533
|
-
customProperties: "--max-width"[];
|
|
534
|
-
responsive: true;
|
|
535
|
-
};
|
|
536
|
-
};
|
|
537
|
-
/** @public */
|
|
538
|
-
type WidthProps = GetPropDefTypes<typeof widthPropDefs>;
|
|
539
|
-
|
|
540
|
-
/** @public */
|
|
541
|
-
declare const positionPropDefs: {
|
|
542
|
-
position: {
|
|
543
|
-
type: "enum";
|
|
544
|
-
className: string;
|
|
545
|
-
values: readonly ["static", "relative", "absolute", "fixed", "sticky"];
|
|
546
|
-
responsive: true;
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
|
-
/** @public */
|
|
550
|
-
type PositionProps = GetPropDefTypes<typeof positionPropDefs>;
|
|
551
|
-
|
|
552
|
-
/** @public */
|
|
553
|
-
declare const displayPropDefs: {
|
|
554
|
-
display: {
|
|
555
|
-
type: "enum";
|
|
556
|
-
className: string;
|
|
557
|
-
values: readonly ["none", "inline", "inline-block", "block"];
|
|
558
|
-
responsive: true;
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
|
-
/** @public */
|
|
562
|
-
type DisplayProps = GetPropDefTypes<typeof displayPropDefs>;
|
|
563
|
-
|
|
564
|
-
/** @public */
|
|
565
|
-
declare const boxPropDefs: {
|
|
566
|
-
as: {
|
|
567
|
-
type: "enum";
|
|
568
|
-
values: readonly ["div", "span"];
|
|
569
|
-
default: "div";
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
/** @public */
|
|
573
|
-
type BoxOwnProps = GetPropDefTypes<typeof boxPropDefs>;
|
|
574
|
-
|
|
575
429
|
/** @public */
|
|
576
430
|
interface BoxProps extends SpaceProps {
|
|
577
|
-
display?:
|
|
578
|
-
as?:
|
|
579
|
-
width?:
|
|
580
|
-
minWidth?:
|
|
581
|
-
maxWidth?:
|
|
582
|
-
height?:
|
|
583
|
-
minHeight?:
|
|
584
|
-
maxHeight?:
|
|
585
|
-
position?:
|
|
431
|
+
display?: Responsive<'none' | 'flex' | 'block' | 'inline'>;
|
|
432
|
+
as?: keyof JSX.IntrinsicElements;
|
|
433
|
+
width?: Responsive<string>;
|
|
434
|
+
minWidth?: Responsive<string>;
|
|
435
|
+
maxWidth?: Responsive<string>;
|
|
436
|
+
height?: Responsive<string>;
|
|
437
|
+
minHeight?: Responsive<string>;
|
|
438
|
+
maxHeight?: Responsive<string>;
|
|
439
|
+
position?: Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'>;
|
|
586
440
|
children?: React.ReactNode;
|
|
587
441
|
className?: string;
|
|
588
442
|
style?: React.CSSProperties;
|
|
@@ -591,83 +445,22 @@ interface BoxProps extends SpaceProps {
|
|
|
591
445
|
/** @public */
|
|
592
446
|
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
593
447
|
|
|
594
|
-
/** @public */
|
|
595
|
-
declare const gapPropDefs: {
|
|
596
|
-
gap: {
|
|
597
|
-
type: "enum | string";
|
|
598
|
-
className: string;
|
|
599
|
-
customProperties: "--gap"[];
|
|
600
|
-
values: string[];
|
|
601
|
-
responsive: true;
|
|
602
|
-
default: string;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
/** @public */
|
|
606
|
-
type GapProps = GetPropDefTypes<typeof gapPropDefs>;
|
|
607
|
-
|
|
608
|
-
/** @public */
|
|
609
|
-
declare const gridPropDefs: {
|
|
610
|
-
columns: {
|
|
611
|
-
type: "enum | string";
|
|
612
|
-
className: string;
|
|
613
|
-
customProperties: "--columns"[];
|
|
614
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
615
|
-
responsive: true;
|
|
616
|
-
default: string;
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
/** @public */
|
|
620
|
-
declare const gridItemPropDefs: {
|
|
621
|
-
colSpan: {
|
|
622
|
-
type: "enum | string";
|
|
623
|
-
className: string;
|
|
624
|
-
customProperties: "--col-span"[];
|
|
625
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
626
|
-
responsive: true;
|
|
627
|
-
};
|
|
628
|
-
colEnd: {
|
|
629
|
-
type: "enum | string";
|
|
630
|
-
className: string;
|
|
631
|
-
customProperties: "--col-end"[];
|
|
632
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
633
|
-
responsive: true;
|
|
634
|
-
};
|
|
635
|
-
colStart: {
|
|
636
|
-
type: "enum | string";
|
|
637
|
-
className: string;
|
|
638
|
-
customProperties: "--col-start"[];
|
|
639
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
640
|
-
responsive: true;
|
|
641
|
-
};
|
|
642
|
-
rowSpan: {
|
|
643
|
-
type: "enum | string";
|
|
644
|
-
className: string;
|
|
645
|
-
customProperties: "--row-span"[];
|
|
646
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
647
|
-
responsive: true;
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
/** @public */
|
|
651
|
-
type GridOwnProps = GetPropDefTypes<typeof gridPropDefs>;
|
|
652
|
-
/** @public */
|
|
653
|
-
type GridItemOwnProps = GetPropDefTypes<typeof gridItemPropDefs>;
|
|
654
|
-
|
|
655
448
|
/** @public */
|
|
656
449
|
interface GridProps extends SpaceProps {
|
|
657
450
|
children?: React.ReactNode;
|
|
658
451
|
className?: string;
|
|
659
|
-
columns?:
|
|
660
|
-
gap?:
|
|
452
|
+
columns?: Responsive<Columns>;
|
|
453
|
+
gap?: Responsive<Space>;
|
|
661
454
|
style?: React.CSSProperties;
|
|
662
455
|
}
|
|
663
456
|
/** @public */
|
|
664
457
|
interface GridItemProps {
|
|
665
458
|
children?: React.ReactNode;
|
|
666
459
|
className?: string;
|
|
667
|
-
colSpan?:
|
|
668
|
-
colEnd?:
|
|
669
|
-
colStart?:
|
|
670
|
-
rowSpan?:
|
|
460
|
+
colSpan?: Responsive<Columns>;
|
|
461
|
+
colEnd?: Responsive<Columns>;
|
|
462
|
+
colStart?: Responsive<Columns>;
|
|
463
|
+
rowSpan?: Responsive<Columns>;
|
|
671
464
|
style?: React.CSSProperties;
|
|
672
465
|
}
|
|
673
466
|
|
|
@@ -677,37 +470,13 @@ declare const Grid: {
|
|
|
677
470
|
Item: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
678
471
|
};
|
|
679
472
|
|
|
680
|
-
/** @public */
|
|
681
|
-
declare const flexPropDefs: {
|
|
682
|
-
align: {
|
|
683
|
-
type: "enum";
|
|
684
|
-
className: string;
|
|
685
|
-
values: readonly ["start", "center", "end", "baseline", "stretch"];
|
|
686
|
-
responsive: true;
|
|
687
|
-
};
|
|
688
|
-
direction: {
|
|
689
|
-
type: "enum";
|
|
690
|
-
className: string;
|
|
691
|
-
values: readonly ["row", "column", "row-reverse", "column-reverse"];
|
|
692
|
-
responsive: true;
|
|
693
|
-
};
|
|
694
|
-
justify: {
|
|
695
|
-
type: "enum";
|
|
696
|
-
className: string;
|
|
697
|
-
values: readonly ["start", "center", "end", "between"];
|
|
698
|
-
responsive: true;
|
|
699
|
-
};
|
|
700
|
-
};
|
|
701
|
-
/** @public */
|
|
702
|
-
type FlexOwnProps = GetPropDefTypes<typeof flexPropDefs>;
|
|
703
|
-
|
|
704
473
|
/** @public */
|
|
705
474
|
interface FlexProps extends SpaceProps {
|
|
706
|
-
children
|
|
707
|
-
gap?:
|
|
708
|
-
align?:
|
|
709
|
-
justify?:
|
|
710
|
-
direction?:
|
|
475
|
+
children?: React.ReactNode;
|
|
476
|
+
gap?: Responsive<Space>;
|
|
477
|
+
align?: Responsive<'start' | 'center' | 'end' | 'baseline' | 'stretch'>;
|
|
478
|
+
justify?: Responsive<'start' | 'center' | 'end' | 'between'>;
|
|
479
|
+
direction?: Responsive<'row' | 'column' | 'row-reverse' | 'column-reverse'>;
|
|
711
480
|
className?: string;
|
|
712
481
|
style?: React.CSSProperties;
|
|
713
482
|
}
|
|
@@ -827,6 +596,50 @@ declare const Collapsible: {
|
|
|
827
596
|
Panel: react.ForwardRefExoticComponent<Omit<Collapsible$1.Panel.Props & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
828
597
|
};
|
|
829
598
|
|
|
599
|
+
/**
|
|
600
|
+
* Props for the DialogTrigger component.
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
interface DialogTriggerProps extends DialogTriggerProps$1 {
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Props for the Dialog component.
|
|
607
|
+
* @public
|
|
608
|
+
*/
|
|
609
|
+
interface DialogProps extends ModalOverlayProps {
|
|
610
|
+
className?: string;
|
|
611
|
+
children?: React.ReactNode;
|
|
612
|
+
width?: number | string;
|
|
613
|
+
height?: number | string;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* Props for the DialogHeader component.
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
interface DialogHeaderProps extends HeadingProps {
|
|
620
|
+
children?: React.ReactNode;
|
|
621
|
+
className?: string;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Props for the DialogBody component.
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
interface DialogBodyProps {
|
|
628
|
+
children?: React.ReactNode;
|
|
629
|
+
className?: string;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/** @public */
|
|
633
|
+
declare const DialogTrigger: (props: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
634
|
+
/** @public */
|
|
635
|
+
declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
|
|
636
|
+
/** @public */
|
|
637
|
+
declare const DialogHeader: react.ForwardRefExoticComponent<DialogHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
638
|
+
/** @public */
|
|
639
|
+
declare const DialogBody: react.ForwardRefExoticComponent<DialogBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
640
|
+
/** @public */
|
|
641
|
+
declare const DialogFooter: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
642
|
+
|
|
830
643
|
/** @public */
|
|
831
644
|
interface FieldLabelProps {
|
|
832
645
|
/**
|
|
@@ -990,15 +803,6 @@ interface HeaderPageBreadcrumb {
|
|
|
990
803
|
*/
|
|
991
804
|
declare const HeaderPage: (props: HeaderPageProps) => react_jsx_runtime.JSX.Element;
|
|
992
805
|
|
|
993
|
-
/** @public */
|
|
994
|
-
declare const icons: IconMap;
|
|
995
|
-
|
|
996
|
-
/** @public */
|
|
997
|
-
declare const Icon: (props: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
998
|
-
|
|
999
|
-
/** @public */
|
|
1000
|
-
declare const IconProvider: (props: IconProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1001
|
-
|
|
1002
806
|
/**
|
|
1003
807
|
* Properties for {@link ButtonIcon}
|
|
1004
808
|
*
|
|
@@ -1063,19 +867,11 @@ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttri
|
|
|
1063
867
|
declare const Table: (props: TableProps) => react_jsx_runtime.JSX.Element;
|
|
1064
868
|
|
|
1065
869
|
/** @public */
|
|
1066
|
-
declare const TableHeader: <T extends object>(
|
|
870
|
+
declare const TableHeader: <T extends object>(props: TableHeaderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1067
871
|
|
|
1068
872
|
/** @public */
|
|
1069
873
|
declare const TableBody: <T extends object>(props: TableBodyProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1070
874
|
|
|
1071
|
-
/** @public */
|
|
1072
|
-
declare const Column: (props: Omit<ColumnProps, "children"> & {
|
|
1073
|
-
children?: React.ReactNode;
|
|
1074
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1075
|
-
|
|
1076
|
-
/** @public */
|
|
1077
|
-
declare function Row<T extends object>({ id, columns, children, href, ...otherProps }: RowProps<T>): react_jsx_runtime.JSX.Element;
|
|
1078
|
-
|
|
1079
875
|
/** @public */
|
|
1080
876
|
interface CellProps extends CellProps$1 {
|
|
1081
877
|
title: string;
|
|
@@ -1092,6 +888,16 @@ interface CellProfileProps extends CellProps$1 {
|
|
|
1092
888
|
description?: string;
|
|
1093
889
|
color?: 'primary' | 'secondary';
|
|
1094
890
|
}
|
|
891
|
+
/** @public */
|
|
892
|
+
interface ColumnProps extends Omit<ColumnProps$1, 'children'> {
|
|
893
|
+
children?: React.ReactNode;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/** @public */
|
|
897
|
+
declare const Column: (props: ColumnProps) => react_jsx_runtime.JSX.Element;
|
|
898
|
+
|
|
899
|
+
/** @public */
|
|
900
|
+
declare function Row<T extends object>(props: RowProps<T>): react_jsx_runtime.JSX.Element;
|
|
1095
901
|
|
|
1096
902
|
/** @public */
|
|
1097
903
|
declare const Cell: {
|
|
@@ -1217,7 +1023,7 @@ interface TagProps extends TagProps$1 {
|
|
|
1217
1023
|
*
|
|
1218
1024
|
* @public
|
|
1219
1025
|
*/
|
|
1220
|
-
declare const TagGroup: <T extends object>(
|
|
1026
|
+
declare const TagGroup: <T extends object>(props: TagGroupProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1221
1027
|
/**
|
|
1222
1028
|
* A component that renders a tag.
|
|
1223
1029
|
*
|
|
@@ -1291,20 +1097,32 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
1291
1097
|
/** @public */
|
|
1292
1098
|
interface MenuProps<T> extends MenuProps$1<T>, Omit<MenuProps$1<T>, 'children'> {
|
|
1293
1099
|
placement?: PopoverProps['placement'];
|
|
1100
|
+
virtualized?: boolean;
|
|
1101
|
+
maxWidth?: string;
|
|
1102
|
+
maxHeight?: string;
|
|
1294
1103
|
}
|
|
1295
1104
|
/** @public */
|
|
1296
1105
|
interface MenuListBoxProps<T> extends ListBoxProps<T>, Omit<ListBoxProps<T>, 'children'> {
|
|
1297
1106
|
placement?: PopoverProps['placement'];
|
|
1107
|
+
virtualized?: boolean;
|
|
1108
|
+
maxWidth?: string;
|
|
1109
|
+
maxHeight?: string;
|
|
1298
1110
|
}
|
|
1299
1111
|
/** @public */
|
|
1300
1112
|
interface MenuAutocompleteProps<T> extends MenuProps$1<T>, Omit<MenuProps$1<T>, 'children'> {
|
|
1301
1113
|
placeholder?: string;
|
|
1302
1114
|
placement?: PopoverProps['placement'];
|
|
1115
|
+
virtualized?: boolean;
|
|
1116
|
+
maxWidth?: string;
|
|
1117
|
+
maxHeight?: string;
|
|
1303
1118
|
}
|
|
1304
1119
|
/** @public */
|
|
1305
1120
|
interface MenuAutocompleteListBoxProps<T> extends ListBoxProps<T>, Omit<ListBoxProps<T>, 'children'> {
|
|
1306
1121
|
placeholder?: string;
|
|
1307
1122
|
placement?: PopoverProps['placement'];
|
|
1123
|
+
virtualized?: boolean;
|
|
1124
|
+
maxWidth?: string;
|
|
1125
|
+
maxHeight?: string;
|
|
1308
1126
|
}
|
|
1309
1127
|
/** @public */
|
|
1310
1128
|
interface MenuItemProps extends MenuItemProps$1, Omit<MenuItemProps$1, 'children'> {
|
|
@@ -1346,14 +1164,6 @@ declare const MenuSection: (props: MenuSectionProps<object>) => react_jsx_runtim
|
|
|
1346
1164
|
/** @public */
|
|
1347
1165
|
declare const MenuSeparator: (props: MenuSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
1348
1166
|
|
|
1349
|
-
/** @public */
|
|
1350
|
-
declare const ScrollArea: {
|
|
1351
|
-
Root: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Root.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1352
|
-
Viewport: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Viewport.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1353
|
-
Scrollbar: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Scrollbar.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1354
|
-
Thumb: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Thumb.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1355
|
-
};
|
|
1356
|
-
|
|
1357
1167
|
/** @public */
|
|
1358
1168
|
interface SearchFieldProps extends SearchFieldProps$1, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
|
|
1359
1169
|
/**
|
|
@@ -1437,116 +1247,6 @@ interface SwitchProps extends SwitchProps$1 {
|
|
|
1437
1247
|
/** @public */
|
|
1438
1248
|
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLLabelElement>>;
|
|
1439
1249
|
|
|
1440
|
-
/** @public */
|
|
1441
|
-
declare const marginPropDefs: (spacingValues: string[]) => {
|
|
1442
|
-
m: {
|
|
1443
|
-
type: "enum | string";
|
|
1444
|
-
values: string[];
|
|
1445
|
-
className: string;
|
|
1446
|
-
customProperties: "--m"[];
|
|
1447
|
-
responsive: true;
|
|
1448
|
-
};
|
|
1449
|
-
mx: {
|
|
1450
|
-
type: "enum | string";
|
|
1451
|
-
values: string[];
|
|
1452
|
-
className: string;
|
|
1453
|
-
customProperties: "--mx"[];
|
|
1454
|
-
responsive: true;
|
|
1455
|
-
};
|
|
1456
|
-
my: {
|
|
1457
|
-
type: "enum | string";
|
|
1458
|
-
values: string[];
|
|
1459
|
-
className: string;
|
|
1460
|
-
customProperties: "--my"[];
|
|
1461
|
-
responsive: true;
|
|
1462
|
-
};
|
|
1463
|
-
mt: {
|
|
1464
|
-
type: "enum | string";
|
|
1465
|
-
values: string[];
|
|
1466
|
-
className: string;
|
|
1467
|
-
customProperties: "--mt"[];
|
|
1468
|
-
responsive: true;
|
|
1469
|
-
};
|
|
1470
|
-
mr: {
|
|
1471
|
-
type: "enum | string";
|
|
1472
|
-
values: string[];
|
|
1473
|
-
className: string;
|
|
1474
|
-
customProperties: "--mr"[];
|
|
1475
|
-
responsive: true;
|
|
1476
|
-
};
|
|
1477
|
-
mb: {
|
|
1478
|
-
type: "enum | string";
|
|
1479
|
-
values: string[];
|
|
1480
|
-
className: string;
|
|
1481
|
-
customProperties: "--mb"[];
|
|
1482
|
-
responsive: true;
|
|
1483
|
-
};
|
|
1484
|
-
ml: {
|
|
1485
|
-
type: "enum | string";
|
|
1486
|
-
values: string[];
|
|
1487
|
-
className: string;
|
|
1488
|
-
customProperties: "--ml"[];
|
|
1489
|
-
responsive: true;
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
/** @public */
|
|
1493
|
-
type MarginProps = GetPropDefTypes<typeof marginPropDefs>;
|
|
1494
|
-
|
|
1495
|
-
/** @public */
|
|
1496
|
-
declare const paddingPropDefs: (spacingValues: string[]) => {
|
|
1497
|
-
p: {
|
|
1498
|
-
type: "enum | string";
|
|
1499
|
-
className: string;
|
|
1500
|
-
customProperties: "--p"[];
|
|
1501
|
-
values: string[];
|
|
1502
|
-
responsive: true;
|
|
1503
|
-
};
|
|
1504
|
-
px: {
|
|
1505
|
-
type: "enum | string";
|
|
1506
|
-
className: string;
|
|
1507
|
-
customProperties: "--px"[];
|
|
1508
|
-
values: string[];
|
|
1509
|
-
responsive: true;
|
|
1510
|
-
};
|
|
1511
|
-
py: {
|
|
1512
|
-
type: "enum | string";
|
|
1513
|
-
className: string;
|
|
1514
|
-
customProperties: "--py"[];
|
|
1515
|
-
values: string[];
|
|
1516
|
-
responsive: true;
|
|
1517
|
-
};
|
|
1518
|
-
pt: {
|
|
1519
|
-
type: "enum | string";
|
|
1520
|
-
className: string;
|
|
1521
|
-
customProperties: "--pt"[];
|
|
1522
|
-
values: string[];
|
|
1523
|
-
responsive: true;
|
|
1524
|
-
};
|
|
1525
|
-
pr: {
|
|
1526
|
-
type: "enum | string";
|
|
1527
|
-
className: string;
|
|
1528
|
-
customProperties: "--pr"[];
|
|
1529
|
-
values: string[];
|
|
1530
|
-
responsive: true;
|
|
1531
|
-
};
|
|
1532
|
-
pb: {
|
|
1533
|
-
type: "enum | string";
|
|
1534
|
-
className: string;
|
|
1535
|
-
customProperties: "--pb"[];
|
|
1536
|
-
values: string[];
|
|
1537
|
-
responsive: true;
|
|
1538
|
-
};
|
|
1539
|
-
pl: {
|
|
1540
|
-
type: "enum | string";
|
|
1541
|
-
className: string;
|
|
1542
|
-
customProperties: "--pl"[];
|
|
1543
|
-
values: string[];
|
|
1544
|
-
responsive: true;
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
/** @public */
|
|
1548
|
-
type PaddingProps = GetPropDefTypes<typeof paddingPropDefs>;
|
|
1549
|
-
|
|
1550
1250
|
/** @public */
|
|
1551
1251
|
declare const useBreakpoint: () => {
|
|
1552
1252
|
breakpoint: Breakpoint;
|
|
@@ -1554,4 +1254,4 @@ declare const useBreakpoint: () => {
|
|
|
1554
1254
|
down: (key: Breakpoint) => boolean;
|
|
1555
1255
|
};
|
|
1556
1256
|
|
|
1557
|
-
export { type AlignItems,
|
|
1257
|
+
export { type AlignItems, Avatar, type AvatarProps, type Border, type BorderRadius, Box, type BoxProps, type Breakpoint, Button, ButtonIcon, type ButtonIconProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Cell, CellProfile, type CellProfileProps, type CellProps, Checkbox, type CheckboxProps, type ClassNamesMap, Collapsible, Column, type ColumnProps, type Columns, type ComponentClassNames, type ComponentDefinition, type ComponentDefinitionName, Container, type ContainerProps, type DataAttributeValues, type DataAttributesMap, Dialog, DialogBody, type DialogBodyProps, DialogFooter, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTrigger, type DialogTriggerProps, type Display, FieldLabel, type FieldLabelProps, Flex, type FlexDirection, type FlexProps, type FlexWrap, Grid, type GridItemProps, type GridProps, Header, HeaderPage, type HeaderPageBreadcrumb, type HeaderPageProps, type HeaderProps, type HeaderTab, type JustifyContent, Link, type LinkProps, Menu, MenuAutocomplete, type MenuAutocompleteListBoxProps, MenuAutocompleteListbox, type MenuAutocompleteProps, MenuItem, type MenuItemProps, MenuListBox, MenuListBoxItem, type MenuListBoxItemProps, type MenuListBoxProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, type MenuSeparatorProps, MenuTrigger, type MenuTriggerProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type Responsive, Row, SearchField, type SearchFieldProps, Select, type SelectProps, Skeleton, type SkeletonProps, type Space, type SpaceProps, SubmenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, type TabMatchStrategy, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableHeader, TablePagination, type TablePaginationProps, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, Text, type TextColorStatus, type TextColors, TextField, type TextFieldProps, type TextOwnProps, type TextProps, type TextVariants, type TextWeights, Tooltip, type TooltipProps, TooltipTrigger, type UseTableConfig, type UseTablePagination, type UseTablePaginationConfig, type UseTableResult, type UtilityProps, componentDefinitions, useBreakpoint, useTable };
|