@backstage/ui 0.7.2-next.2 → 0.8.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 +37 -0
- package/css/styles.css +6398 -8163
- 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 +10 -19
- 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 +148 -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 +113 -16
- 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";
|
|
@@ -192,6 +189,15 @@ declare const componentDefinitions: {
|
|
|
192
189
|
readonly emptyState: "bui-MenuEmptyState";
|
|
193
190
|
};
|
|
194
191
|
};
|
|
192
|
+
readonly PasswordField: {
|
|
193
|
+
readonly classNames: {
|
|
194
|
+
readonly root: "bui-PasswordField";
|
|
195
|
+
readonly inputVisibility: "bui-InputVisibility";
|
|
196
|
+
};
|
|
197
|
+
readonly dataAttributes: {
|
|
198
|
+
readonly size: readonly ["small", "medium"];
|
|
199
|
+
};
|
|
200
|
+
};
|
|
195
201
|
readonly Popover: {
|
|
196
202
|
readonly classNames: {
|
|
197
203
|
readonly root: "bui-Popover";
|
|
@@ -204,14 +210,6 @@ declare const componentDefinitions: {
|
|
|
204
210
|
readonly radio: "bui-Radio";
|
|
205
211
|
};
|
|
206
212
|
};
|
|
207
|
-
readonly ScrollArea: {
|
|
208
|
-
readonly classNames: {
|
|
209
|
-
readonly root: "bui-ScrollAreaRoot";
|
|
210
|
-
readonly viewport: "bui-ScrollAreaViewport";
|
|
211
|
-
readonly scrollbar: "bui-ScrollAreaScrollbar";
|
|
212
|
-
readonly thumb: "bui-ScrollAreaThumb";
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
213
|
readonly SearchField: {
|
|
216
214
|
readonly classNames: {
|
|
217
215
|
readonly root: "bui-SearchField";
|
|
@@ -219,6 +217,7 @@ declare const componentDefinitions: {
|
|
|
219
217
|
};
|
|
220
218
|
readonly dataAttributes: {
|
|
221
219
|
readonly startCollapsed: readonly [true, false];
|
|
220
|
+
readonly size: readonly ["small", "medium"];
|
|
222
221
|
};
|
|
223
222
|
};
|
|
224
223
|
readonly Select: {
|
|
@@ -254,6 +253,7 @@ declare const componentDefinitions: {
|
|
|
254
253
|
readonly body: "bui-TableBody";
|
|
255
254
|
readonly row: "bui-TableRow";
|
|
256
255
|
readonly head: "bui-TableHead";
|
|
256
|
+
readonly headContent: "bui-TableHeadContent";
|
|
257
257
|
readonly headSortButton: "bui-TableHeadSortButton";
|
|
258
258
|
readonly caption: "bui-TableCaption";
|
|
259
259
|
readonly cell: "bui-TableCell";
|
|
@@ -267,6 +267,14 @@ declare const componentDefinitions: {
|
|
|
267
267
|
readonly cellProfileLink: "bui-TableCellProfileLink";
|
|
268
268
|
};
|
|
269
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
|
+
};
|
|
270
278
|
readonly Tabs: {
|
|
271
279
|
readonly classNames: {
|
|
272
280
|
readonly tabs: "bui-Tabs";
|
|
@@ -304,10 +312,12 @@ declare const componentDefinitions: {
|
|
|
304
312
|
readonly inputWrapper: "bui-InputWrapper";
|
|
305
313
|
readonly input: "bui-Input";
|
|
306
314
|
readonly inputIcon: "bui-InputIcon";
|
|
315
|
+
readonly inputAction: "bui-InputAction";
|
|
307
316
|
};
|
|
308
317
|
readonly dataAttributes: {
|
|
309
318
|
readonly invalid: readonly [true, false];
|
|
310
319
|
readonly disabled: readonly [true, false];
|
|
320
|
+
readonly size: readonly ["small", "medium"];
|
|
311
321
|
};
|
|
312
322
|
};
|
|
313
323
|
readonly Tooltip: {
|
|
@@ -339,7 +349,7 @@ type BorderRadius = 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
|
339
349
|
/** @public */
|
|
340
350
|
type Border = 'none' | 'base' | 'error' | 'warning' | 'selected';
|
|
341
351
|
/** @public */
|
|
342
|
-
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';
|
|
343
353
|
/** @public */
|
|
344
354
|
interface SpaceProps {
|
|
345
355
|
m?: Responsive<Space>;
|
|
@@ -403,6 +413,7 @@ type DataAttributesMap = Record<string, DataAttributeValues>;
|
|
|
403
413
|
interface ComponentDefinition {
|
|
404
414
|
classNames: ClassNamesMap;
|
|
405
415
|
dataAttributes?: DataAttributesMap;
|
|
416
|
+
utilityProps?: string[];
|
|
406
417
|
}
|
|
407
418
|
/**
|
|
408
419
|
* Type utilities for extracting information from the component styles
|
|
@@ -415,167 +426,17 @@ type ComponentDefinitionName = keyof typeof componentDefinitions;
|
|
|
415
426
|
*/
|
|
416
427
|
type ComponentClassNames<T extends ComponentDefinitionName> = (typeof componentDefinitions)[T]['classNames'];
|
|
417
428
|
|
|
418
|
-
/** @public */
|
|
419
|
-
declare const breakpoints: Breakpoint[];
|
|
420
|
-
/** @public */
|
|
421
|
-
type BooleanPropDef = {
|
|
422
|
-
type: 'boolean';
|
|
423
|
-
default?: boolean;
|
|
424
|
-
required?: boolean;
|
|
425
|
-
className?: string;
|
|
426
|
-
};
|
|
427
|
-
/** @public */
|
|
428
|
-
type StringPropDef = {
|
|
429
|
-
type: 'string';
|
|
430
|
-
default?: string;
|
|
431
|
-
required?: boolean;
|
|
432
|
-
};
|
|
433
|
-
/** @public */
|
|
434
|
-
type ReactNodePropDef = {
|
|
435
|
-
type: 'ReactNode';
|
|
436
|
-
default?: ReactNode;
|
|
437
|
-
required?: boolean;
|
|
438
|
-
};
|
|
439
|
-
/** @public */
|
|
440
|
-
type EnumPropDef<T> = {
|
|
441
|
-
type: 'enum';
|
|
442
|
-
values: readonly T[];
|
|
443
|
-
default?: T;
|
|
444
|
-
required?: boolean;
|
|
445
|
-
};
|
|
446
|
-
/** @public */
|
|
447
|
-
type EnumOrStringPropDef<T> = {
|
|
448
|
-
type: 'enum | string';
|
|
449
|
-
values: readonly T[];
|
|
450
|
-
default?: T | string;
|
|
451
|
-
required?: boolean;
|
|
452
|
-
};
|
|
453
|
-
/** @public */
|
|
454
|
-
type NonStylingPropDef = {
|
|
455
|
-
className?: never;
|
|
456
|
-
customProperties?: never;
|
|
457
|
-
parseValue?: never;
|
|
458
|
-
};
|
|
459
|
-
/** @public */
|
|
460
|
-
type StylingPropDef = {
|
|
461
|
-
className: string;
|
|
462
|
-
parseValue?: (value: string) => string | undefined;
|
|
463
|
-
};
|
|
464
|
-
/** @public */
|
|
465
|
-
type ArbitraryStylingPropDef = {
|
|
466
|
-
className: string;
|
|
467
|
-
customProperties: `--${string}`[];
|
|
468
|
-
parseValue?: (value: string) => string | undefined;
|
|
469
|
-
};
|
|
470
|
-
/** @public */
|
|
471
|
-
type RegularPropDef<T> = ReactNodePropDef | BooleanPropDef | (StringPropDef & ArbitraryStylingPropDef) | (StringPropDef & NonStylingPropDef) | (EnumPropDef<T> & StylingPropDef) | (EnumPropDef<T> & NonStylingPropDef) | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef) | (EnumOrStringPropDef<T> & NonStylingPropDef);
|
|
472
|
-
/** @public */
|
|
473
|
-
type ResponsivePropDef<T = any> = RegularPropDef<T> & {
|
|
474
|
-
responsive: true;
|
|
475
|
-
};
|
|
476
|
-
/** @public */
|
|
477
|
-
type PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;
|
|
478
|
-
/** @public */
|
|
479
|
-
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;
|
|
480
|
-
/** @public */
|
|
481
|
-
type GetPropDefTypes<P> = {
|
|
482
|
-
[K in keyof P]?: GetPropDefType<P[K]>;
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
/** @public */
|
|
486
|
-
declare const heightPropDefs: {
|
|
487
|
-
height: {
|
|
488
|
-
type: "string";
|
|
489
|
-
className: string;
|
|
490
|
-
customProperties: "--height"[];
|
|
491
|
-
responsive: true;
|
|
492
|
-
};
|
|
493
|
-
minHeight: {
|
|
494
|
-
type: "string";
|
|
495
|
-
className: string;
|
|
496
|
-
customProperties: "--min-height"[];
|
|
497
|
-
responsive: true;
|
|
498
|
-
};
|
|
499
|
-
maxHeight: {
|
|
500
|
-
type: "string";
|
|
501
|
-
className: string;
|
|
502
|
-
customProperties: "--max-height"[];
|
|
503
|
-
responsive: true;
|
|
504
|
-
};
|
|
505
|
-
};
|
|
506
|
-
/** @public */
|
|
507
|
-
type HeightProps = GetPropDefTypes<typeof heightPropDefs>;
|
|
508
|
-
|
|
509
|
-
/** @public */
|
|
510
|
-
declare const widthPropDefs: {
|
|
511
|
-
width: {
|
|
512
|
-
type: "string";
|
|
513
|
-
className: string;
|
|
514
|
-
customProperties: "--width"[];
|
|
515
|
-
responsive: true;
|
|
516
|
-
};
|
|
517
|
-
minWidth: {
|
|
518
|
-
type: "string";
|
|
519
|
-
className: string;
|
|
520
|
-
customProperties: "--min-width"[];
|
|
521
|
-
responsive: true;
|
|
522
|
-
};
|
|
523
|
-
maxWidth: {
|
|
524
|
-
type: "string";
|
|
525
|
-
className: string;
|
|
526
|
-
customProperties: "--max-width"[];
|
|
527
|
-
responsive: true;
|
|
528
|
-
};
|
|
529
|
-
};
|
|
530
|
-
/** @public */
|
|
531
|
-
type WidthProps = GetPropDefTypes<typeof widthPropDefs>;
|
|
532
|
-
|
|
533
|
-
/** @public */
|
|
534
|
-
declare const positionPropDefs: {
|
|
535
|
-
position: {
|
|
536
|
-
type: "enum";
|
|
537
|
-
className: string;
|
|
538
|
-
values: readonly ["static", "relative", "absolute", "fixed", "sticky"];
|
|
539
|
-
responsive: true;
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
/** @public */
|
|
543
|
-
type PositionProps = GetPropDefTypes<typeof positionPropDefs>;
|
|
544
|
-
|
|
545
|
-
/** @public */
|
|
546
|
-
declare const displayPropDefs: {
|
|
547
|
-
display: {
|
|
548
|
-
type: "enum";
|
|
549
|
-
className: string;
|
|
550
|
-
values: readonly ["none", "inline", "inline-block", "block"];
|
|
551
|
-
responsive: true;
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
/** @public */
|
|
555
|
-
type DisplayProps = GetPropDefTypes<typeof displayPropDefs>;
|
|
556
|
-
|
|
557
|
-
/** @public */
|
|
558
|
-
declare const boxPropDefs: {
|
|
559
|
-
as: {
|
|
560
|
-
type: "enum";
|
|
561
|
-
values: readonly ["div", "span"];
|
|
562
|
-
default: "div";
|
|
563
|
-
};
|
|
564
|
-
};
|
|
565
|
-
/** @public */
|
|
566
|
-
type BoxOwnProps = GetPropDefTypes<typeof boxPropDefs>;
|
|
567
|
-
|
|
568
429
|
/** @public */
|
|
569
430
|
interface BoxProps extends SpaceProps {
|
|
570
|
-
display?:
|
|
571
|
-
as?:
|
|
572
|
-
width?:
|
|
573
|
-
minWidth?:
|
|
574
|
-
maxWidth?:
|
|
575
|
-
height?:
|
|
576
|
-
minHeight?:
|
|
577
|
-
maxHeight?:
|
|
578
|
-
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'>;
|
|
579
440
|
children?: React.ReactNode;
|
|
580
441
|
className?: string;
|
|
581
442
|
style?: React.CSSProperties;
|
|
@@ -584,83 +445,22 @@ interface BoxProps extends SpaceProps {
|
|
|
584
445
|
/** @public */
|
|
585
446
|
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
586
447
|
|
|
587
|
-
/** @public */
|
|
588
|
-
declare const gapPropDefs: {
|
|
589
|
-
gap: {
|
|
590
|
-
type: "enum | string";
|
|
591
|
-
className: string;
|
|
592
|
-
customProperties: "--gap"[];
|
|
593
|
-
values: string[];
|
|
594
|
-
responsive: true;
|
|
595
|
-
default: string;
|
|
596
|
-
};
|
|
597
|
-
};
|
|
598
|
-
/** @public */
|
|
599
|
-
type GapProps = GetPropDefTypes<typeof gapPropDefs>;
|
|
600
|
-
|
|
601
|
-
/** @public */
|
|
602
|
-
declare const gridPropDefs: {
|
|
603
|
-
columns: {
|
|
604
|
-
type: "enum | string";
|
|
605
|
-
className: string;
|
|
606
|
-
customProperties: "--columns"[];
|
|
607
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
608
|
-
responsive: true;
|
|
609
|
-
default: string;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
/** @public */
|
|
613
|
-
declare const gridItemPropDefs: {
|
|
614
|
-
colSpan: {
|
|
615
|
-
type: "enum | string";
|
|
616
|
-
className: string;
|
|
617
|
-
customProperties: "--col-span"[];
|
|
618
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
619
|
-
responsive: true;
|
|
620
|
-
};
|
|
621
|
-
colEnd: {
|
|
622
|
-
type: "enum | string";
|
|
623
|
-
className: string;
|
|
624
|
-
customProperties: "--col-end"[];
|
|
625
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
626
|
-
responsive: true;
|
|
627
|
-
};
|
|
628
|
-
colStart: {
|
|
629
|
-
type: "enum | string";
|
|
630
|
-
className: string;
|
|
631
|
-
customProperties: "--col-start"[];
|
|
632
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
633
|
-
responsive: true;
|
|
634
|
-
};
|
|
635
|
-
rowSpan: {
|
|
636
|
-
type: "enum | string";
|
|
637
|
-
className: string;
|
|
638
|
-
customProperties: "--row-span"[];
|
|
639
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
|
|
640
|
-
responsive: true;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
/** @public */
|
|
644
|
-
type GridOwnProps = GetPropDefTypes<typeof gridPropDefs>;
|
|
645
|
-
/** @public */
|
|
646
|
-
type GridItemOwnProps = GetPropDefTypes<typeof gridItemPropDefs>;
|
|
647
|
-
|
|
648
448
|
/** @public */
|
|
649
449
|
interface GridProps extends SpaceProps {
|
|
650
450
|
children?: React.ReactNode;
|
|
651
451
|
className?: string;
|
|
652
|
-
columns?:
|
|
653
|
-
gap?:
|
|
452
|
+
columns?: Responsive<Columns>;
|
|
453
|
+
gap?: Responsive<Space>;
|
|
654
454
|
style?: React.CSSProperties;
|
|
655
455
|
}
|
|
656
456
|
/** @public */
|
|
657
457
|
interface GridItemProps {
|
|
658
458
|
children?: React.ReactNode;
|
|
659
459
|
className?: string;
|
|
660
|
-
colSpan?:
|
|
661
|
-
colEnd?:
|
|
662
|
-
colStart?:
|
|
663
|
-
rowSpan?:
|
|
460
|
+
colSpan?: Responsive<Columns>;
|
|
461
|
+
colEnd?: Responsive<Columns>;
|
|
462
|
+
colStart?: Responsive<Columns>;
|
|
463
|
+
rowSpan?: Responsive<Columns>;
|
|
664
464
|
style?: React.CSSProperties;
|
|
665
465
|
}
|
|
666
466
|
|
|
@@ -670,37 +470,13 @@ declare const Grid: {
|
|
|
670
470
|
Item: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
671
471
|
};
|
|
672
472
|
|
|
673
|
-
/** @public */
|
|
674
|
-
declare const flexPropDefs: {
|
|
675
|
-
align: {
|
|
676
|
-
type: "enum";
|
|
677
|
-
className: string;
|
|
678
|
-
values: readonly ["start", "center", "end", "baseline", "stretch"];
|
|
679
|
-
responsive: true;
|
|
680
|
-
};
|
|
681
|
-
direction: {
|
|
682
|
-
type: "enum";
|
|
683
|
-
className: string;
|
|
684
|
-
values: readonly ["row", "column", "row-reverse", "column-reverse"];
|
|
685
|
-
responsive: true;
|
|
686
|
-
};
|
|
687
|
-
justify: {
|
|
688
|
-
type: "enum";
|
|
689
|
-
className: string;
|
|
690
|
-
values: readonly ["start", "center", "end", "between"];
|
|
691
|
-
responsive: true;
|
|
692
|
-
};
|
|
693
|
-
};
|
|
694
|
-
/** @public */
|
|
695
|
-
type FlexOwnProps = GetPropDefTypes<typeof flexPropDefs>;
|
|
696
|
-
|
|
697
473
|
/** @public */
|
|
698
474
|
interface FlexProps extends SpaceProps {
|
|
699
|
-
children
|
|
700
|
-
gap?:
|
|
701
|
-
align?:
|
|
702
|
-
justify?:
|
|
703
|
-
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'>;
|
|
704
480
|
className?: string;
|
|
705
481
|
style?: React.CSSProperties;
|
|
706
482
|
}
|
|
@@ -820,6 +596,50 @@ declare const Collapsible: {
|
|
|
820
596
|
Panel: react.ForwardRefExoticComponent<Omit<Collapsible$1.Panel.Props & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
821
597
|
};
|
|
822
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
|
+
|
|
823
643
|
/** @public */
|
|
824
644
|
interface FieldLabelProps {
|
|
825
645
|
/**
|
|
@@ -983,15 +803,6 @@ interface HeaderPageBreadcrumb {
|
|
|
983
803
|
*/
|
|
984
804
|
declare const HeaderPage: (props: HeaderPageProps) => react_jsx_runtime.JSX.Element;
|
|
985
805
|
|
|
986
|
-
/** @public */
|
|
987
|
-
declare const icons: IconMap;
|
|
988
|
-
|
|
989
|
-
/** @public */
|
|
990
|
-
declare const Icon: (props: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
991
|
-
|
|
992
|
-
/** @public */
|
|
993
|
-
declare const IconProvider: (props: IconProviderProps) => react_jsx_runtime.JSX.Element;
|
|
994
|
-
|
|
995
806
|
/**
|
|
996
807
|
* Properties for {@link ButtonIcon}
|
|
997
808
|
*
|
|
@@ -1056,19 +867,11 @@ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttri
|
|
|
1056
867
|
declare const Table: (props: TableProps) => react_jsx_runtime.JSX.Element;
|
|
1057
868
|
|
|
1058
869
|
/** @public */
|
|
1059
|
-
declare const TableHeader: <T extends object>(
|
|
870
|
+
declare const TableHeader: <T extends object>(props: TableHeaderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1060
871
|
|
|
1061
872
|
/** @public */
|
|
1062
873
|
declare const TableBody: <T extends object>(props: TableBodyProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1063
874
|
|
|
1064
|
-
/** @public */
|
|
1065
|
-
declare const Column: (props: Omit<ColumnProps, "children"> & {
|
|
1066
|
-
children?: React.ReactNode;
|
|
1067
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1068
|
-
|
|
1069
|
-
/** @public */
|
|
1070
|
-
declare function Row<T extends object>({ id, columns, children, href, ...otherProps }: RowProps<T>): react_jsx_runtime.JSX.Element;
|
|
1071
|
-
|
|
1072
875
|
/** @public */
|
|
1073
876
|
interface CellProps extends CellProps$1 {
|
|
1074
877
|
title: string;
|
|
@@ -1085,6 +888,16 @@ interface CellProfileProps extends CellProps$1 {
|
|
|
1085
888
|
description?: string;
|
|
1086
889
|
color?: 'primary' | 'secondary';
|
|
1087
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;
|
|
1088
901
|
|
|
1089
902
|
/** @public */
|
|
1090
903
|
declare const Cell: {
|
|
@@ -1210,7 +1023,7 @@ interface TagProps extends TagProps$1 {
|
|
|
1210
1023
|
*
|
|
1211
1024
|
* @public
|
|
1212
1025
|
*/
|
|
1213
|
-
declare const TagGroup: <T extends object>(
|
|
1026
|
+
declare const TagGroup: <T extends object>(props: TagGroupProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1214
1027
|
/**
|
|
1215
1028
|
* A component that renders a tag.
|
|
1216
1029
|
*
|
|
@@ -1239,6 +1052,14 @@ declare const Text: {
|
|
|
1239
1052
|
|
|
1240
1053
|
/** @public */
|
|
1241
1054
|
interface TextFieldProps extends TextFieldProps$1, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
|
|
1055
|
+
/**
|
|
1056
|
+
* The HTML input type for the text field
|
|
1057
|
+
*
|
|
1058
|
+
* @remarks
|
|
1059
|
+
* Use `SearchField` for
|
|
1060
|
+
* search inputs and `PasswordField` for password inputs.
|
|
1061
|
+
*/
|
|
1062
|
+
type?: 'text' | 'email' | 'tel' | 'url';
|
|
1242
1063
|
/**
|
|
1243
1064
|
* An icon to render before the input
|
|
1244
1065
|
*/
|
|
@@ -1276,20 +1097,32 @@ interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
|
1276
1097
|
/** @public */
|
|
1277
1098
|
interface MenuProps<T> extends MenuProps$1<T>, Omit<MenuProps$1<T>, 'children'> {
|
|
1278
1099
|
placement?: PopoverProps['placement'];
|
|
1100
|
+
virtualized?: boolean;
|
|
1101
|
+
maxWidth?: string;
|
|
1102
|
+
maxHeight?: string;
|
|
1279
1103
|
}
|
|
1280
1104
|
/** @public */
|
|
1281
1105
|
interface MenuListBoxProps<T> extends ListBoxProps<T>, Omit<ListBoxProps<T>, 'children'> {
|
|
1282
1106
|
placement?: PopoverProps['placement'];
|
|
1107
|
+
virtualized?: boolean;
|
|
1108
|
+
maxWidth?: string;
|
|
1109
|
+
maxHeight?: string;
|
|
1283
1110
|
}
|
|
1284
1111
|
/** @public */
|
|
1285
1112
|
interface MenuAutocompleteProps<T> extends MenuProps$1<T>, Omit<MenuProps$1<T>, 'children'> {
|
|
1286
1113
|
placeholder?: string;
|
|
1287
1114
|
placement?: PopoverProps['placement'];
|
|
1115
|
+
virtualized?: boolean;
|
|
1116
|
+
maxWidth?: string;
|
|
1117
|
+
maxHeight?: string;
|
|
1288
1118
|
}
|
|
1289
1119
|
/** @public */
|
|
1290
1120
|
interface MenuAutocompleteListBoxProps<T> extends ListBoxProps<T>, Omit<ListBoxProps<T>, 'children'> {
|
|
1291
1121
|
placeholder?: string;
|
|
1292
1122
|
placement?: PopoverProps['placement'];
|
|
1123
|
+
virtualized?: boolean;
|
|
1124
|
+
maxWidth?: string;
|
|
1125
|
+
maxHeight?: string;
|
|
1293
1126
|
}
|
|
1294
1127
|
/** @public */
|
|
1295
1128
|
interface MenuItemProps extends MenuItemProps$1, Omit<MenuItemProps$1, 'children'> {
|
|
@@ -1331,14 +1164,6 @@ declare const MenuSection: (props: MenuSectionProps<object>) => react_jsx_runtim
|
|
|
1331
1164
|
/** @public */
|
|
1332
1165
|
declare const MenuSeparator: (props: MenuSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
1333
1166
|
|
|
1334
|
-
/** @public */
|
|
1335
|
-
declare const ScrollArea: {
|
|
1336
|
-
Root: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Root.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1337
|
-
Viewport: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Viewport.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1338
|
-
Scrollbar: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Scrollbar.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1339
|
-
Thumb: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Thumb.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
1167
|
/** @public */
|
|
1343
1168
|
interface SearchFieldProps extends SearchFieldProps$1, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
|
|
1344
1169
|
/**
|
|
@@ -1422,116 +1247,6 @@ interface SwitchProps extends SwitchProps$1 {
|
|
|
1422
1247
|
/** @public */
|
|
1423
1248
|
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLLabelElement>>;
|
|
1424
1249
|
|
|
1425
|
-
/** @public */
|
|
1426
|
-
declare const marginPropDefs: (spacingValues: string[]) => {
|
|
1427
|
-
m: {
|
|
1428
|
-
type: "enum | string";
|
|
1429
|
-
values: string[];
|
|
1430
|
-
className: string;
|
|
1431
|
-
customProperties: "--m"[];
|
|
1432
|
-
responsive: true;
|
|
1433
|
-
};
|
|
1434
|
-
mx: {
|
|
1435
|
-
type: "enum | string";
|
|
1436
|
-
values: string[];
|
|
1437
|
-
className: string;
|
|
1438
|
-
customProperties: "--mx"[];
|
|
1439
|
-
responsive: true;
|
|
1440
|
-
};
|
|
1441
|
-
my: {
|
|
1442
|
-
type: "enum | string";
|
|
1443
|
-
values: string[];
|
|
1444
|
-
className: string;
|
|
1445
|
-
customProperties: "--my"[];
|
|
1446
|
-
responsive: true;
|
|
1447
|
-
};
|
|
1448
|
-
mt: {
|
|
1449
|
-
type: "enum | string";
|
|
1450
|
-
values: string[];
|
|
1451
|
-
className: string;
|
|
1452
|
-
customProperties: "--mt"[];
|
|
1453
|
-
responsive: true;
|
|
1454
|
-
};
|
|
1455
|
-
mr: {
|
|
1456
|
-
type: "enum | string";
|
|
1457
|
-
values: string[];
|
|
1458
|
-
className: string;
|
|
1459
|
-
customProperties: "--mr"[];
|
|
1460
|
-
responsive: true;
|
|
1461
|
-
};
|
|
1462
|
-
mb: {
|
|
1463
|
-
type: "enum | string";
|
|
1464
|
-
values: string[];
|
|
1465
|
-
className: string;
|
|
1466
|
-
customProperties: "--mb"[];
|
|
1467
|
-
responsive: true;
|
|
1468
|
-
};
|
|
1469
|
-
ml: {
|
|
1470
|
-
type: "enum | string";
|
|
1471
|
-
values: string[];
|
|
1472
|
-
className: string;
|
|
1473
|
-
customProperties: "--ml"[];
|
|
1474
|
-
responsive: true;
|
|
1475
|
-
};
|
|
1476
|
-
};
|
|
1477
|
-
/** @public */
|
|
1478
|
-
type MarginProps = GetPropDefTypes<typeof marginPropDefs>;
|
|
1479
|
-
|
|
1480
|
-
/** @public */
|
|
1481
|
-
declare const paddingPropDefs: (spacingValues: string[]) => {
|
|
1482
|
-
p: {
|
|
1483
|
-
type: "enum | string";
|
|
1484
|
-
className: string;
|
|
1485
|
-
customProperties: "--p"[];
|
|
1486
|
-
values: string[];
|
|
1487
|
-
responsive: true;
|
|
1488
|
-
};
|
|
1489
|
-
px: {
|
|
1490
|
-
type: "enum | string";
|
|
1491
|
-
className: string;
|
|
1492
|
-
customProperties: "--px"[];
|
|
1493
|
-
values: string[];
|
|
1494
|
-
responsive: true;
|
|
1495
|
-
};
|
|
1496
|
-
py: {
|
|
1497
|
-
type: "enum | string";
|
|
1498
|
-
className: string;
|
|
1499
|
-
customProperties: "--py"[];
|
|
1500
|
-
values: string[];
|
|
1501
|
-
responsive: true;
|
|
1502
|
-
};
|
|
1503
|
-
pt: {
|
|
1504
|
-
type: "enum | string";
|
|
1505
|
-
className: string;
|
|
1506
|
-
customProperties: "--pt"[];
|
|
1507
|
-
values: string[];
|
|
1508
|
-
responsive: true;
|
|
1509
|
-
};
|
|
1510
|
-
pr: {
|
|
1511
|
-
type: "enum | string";
|
|
1512
|
-
className: string;
|
|
1513
|
-
customProperties: "--pr"[];
|
|
1514
|
-
values: string[];
|
|
1515
|
-
responsive: true;
|
|
1516
|
-
};
|
|
1517
|
-
pb: {
|
|
1518
|
-
type: "enum | string";
|
|
1519
|
-
className: string;
|
|
1520
|
-
customProperties: "--pb"[];
|
|
1521
|
-
values: string[];
|
|
1522
|
-
responsive: true;
|
|
1523
|
-
};
|
|
1524
|
-
pl: {
|
|
1525
|
-
type: "enum | string";
|
|
1526
|
-
className: string;
|
|
1527
|
-
customProperties: "--pl"[];
|
|
1528
|
-
values: string[];
|
|
1529
|
-
responsive: true;
|
|
1530
|
-
};
|
|
1531
|
-
};
|
|
1532
|
-
/** @public */
|
|
1533
|
-
type PaddingProps = GetPropDefTypes<typeof paddingPropDefs>;
|
|
1534
|
-
|
|
1535
1250
|
/** @public */
|
|
1536
1251
|
declare const useBreakpoint: () => {
|
|
1537
1252
|
breakpoint: Breakpoint;
|
|
@@ -1539,4 +1254,4 @@ declare const useBreakpoint: () => {
|
|
|
1539
1254
|
down: (key: Breakpoint) => boolean;
|
|
1540
1255
|
};
|
|
1541
1256
|
|
|
1542
|
-
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 };
|