@backstage/ui 0.6.0 → 0.7.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/css/styles.css +92 -138
  3. package/dist/components/Avatar/Avatar.esm.js +29 -0
  4. package/dist/components/Avatar/Avatar.esm.js.map +1 -0
  5. package/dist/components/Box/Box.esm.js +34 -0
  6. package/dist/components/Box/Box.esm.js.map +1 -0
  7. package/dist/components/Box/Box.props.esm.js +7 -0
  8. package/dist/components/Box/Box.props.esm.js.map +1 -0
  9. package/dist/components/Button/Button.esm.js +41 -0
  10. package/dist/components/Button/Button.esm.js.map +1 -0
  11. package/dist/components/ButtonIcon/ButtonIcon.esm.js +37 -0
  12. package/dist/components/ButtonIcon/ButtonIcon.esm.js.map +1 -0
  13. package/dist/components/ButtonLink/ButtonLink.esm.js +42 -0
  14. package/dist/components/ButtonLink/ButtonLink.esm.js.map +1 -0
  15. package/dist/components/Card/Card.esm.js +53 -0
  16. package/dist/components/Card/Card.esm.js.map +1 -0
  17. package/dist/components/Checkbox/Checkbox.esm.js +74 -0
  18. package/dist/components/Checkbox/Checkbox.esm.js.map +1 -0
  19. package/dist/components/Collapsible/Collapsible.esm.js +50 -0
  20. package/dist/components/Collapsible/Collapsible.esm.js.map +1 -0
  21. package/dist/components/Container/Container.esm.js +35 -0
  22. package/dist/components/Container/Container.esm.js.map +1 -0
  23. package/dist/components/DataTable/DataTable.esm.js +26 -0
  24. package/dist/components/DataTable/DataTable.esm.js.map +1 -0
  25. package/dist/components/DataTable/Pagination/DataTablePagination.esm.js +84 -0
  26. package/dist/components/DataTable/Pagination/DataTablePagination.esm.js.map +1 -0
  27. package/dist/components/DataTable/Root/DataTableRoot.esm.js +24 -0
  28. package/dist/components/DataTable/Root/DataTableRoot.esm.js.map +1 -0
  29. package/dist/components/DataTable/Table/DataTableTable.esm.js +64 -0
  30. package/dist/components/DataTable/Table/DataTableTable.esm.js.map +1 -0
  31. package/dist/components/FieldError/FieldError.esm.js +22 -0
  32. package/dist/components/FieldError/FieldError.esm.js.map +1 -0
  33. package/dist/components/FieldLabel/FieldLabel.esm.js +27 -0
  34. package/dist/components/FieldLabel/FieldLabel.esm.js.map +1 -0
  35. package/dist/components/Flex/Flex.esm.js +26 -0
  36. package/dist/components/Flex/Flex.esm.js.map +1 -0
  37. package/dist/components/Flex/Flex.props.esm.js +31 -0
  38. package/dist/components/Flex/Flex.props.esm.js.map +1 -0
  39. package/dist/components/Grid/Grid.esm.js +43 -0
  40. package/dist/components/Grid/Grid.esm.js.map +1 -0
  41. package/dist/components/Grid/Grid.props.esm.js +58 -0
  42. package/dist/components/Grid/Grid.props.esm.js.map +1 -0
  43. package/dist/components/Header/Header.esm.js +46 -0
  44. package/dist/components/Header/Header.esm.js.map +1 -0
  45. package/dist/components/Header/HeaderToolbar.esm.js +132 -0
  46. package/dist/components/Header/HeaderToolbar.esm.js.map +1 -0
  47. package/dist/components/HeaderPage/HeaderPage.esm.js +57 -0
  48. package/dist/components/HeaderPage/HeaderPage.esm.js.map +1 -0
  49. package/dist/components/Icon/Icon.esm.js +29 -0
  50. package/dist/components/Icon/Icon.esm.js.map +1 -0
  51. package/dist/components/Icon/context.esm.js +10 -0
  52. package/dist/components/Icon/context.esm.js.map +1 -0
  53. package/dist/components/Icon/icons.esm.js +63 -0
  54. package/dist/components/Icon/icons.esm.js.map +1 -0
  55. package/dist/components/Icon/provider.esm.js +12 -0
  56. package/dist/components/Icon/provider.esm.js.map +1 -0
  57. package/dist/components/Link/Link.esm.js +67 -0
  58. package/dist/components/Link/Link.esm.js.map +1 -0
  59. package/dist/components/Menu/Combobox.esm.js +212 -0
  60. package/dist/components/Menu/Combobox.esm.js.map +1 -0
  61. package/dist/components/Menu/Menu.esm.js +224 -0
  62. package/dist/components/Menu/Menu.esm.js.map +1 -0
  63. package/dist/components/RadioGroup/RadioGroup.esm.js +71 -0
  64. package/dist/components/RadioGroup/RadioGroup.esm.js.map +1 -0
  65. package/dist/components/ScrollArea/ScrollArea.esm.js +63 -0
  66. package/dist/components/ScrollArea/ScrollArea.esm.js.map +1 -0
  67. package/dist/components/SearchField/SearchField.esm.js +107 -0
  68. package/dist/components/SearchField/SearchField.esm.js.map +1 -0
  69. package/dist/components/Select/Select.esm.js +89 -0
  70. package/dist/components/Select/Select.esm.js.map +1 -0
  71. package/dist/components/Select/Select.styles.css.esm.js +7 -0
  72. package/dist/components/Select/Select.styles.css.esm.js.map +1 -0
  73. package/dist/components/Skeleton/Skeleton.esm.js +22 -0
  74. package/dist/components/Skeleton/Skeleton.esm.js.map +1 -0
  75. package/dist/components/Switch/Switch.esm.js +18 -0
  76. package/dist/components/Switch/Switch.esm.js.map +1 -0
  77. package/dist/components/Table/Table.esm.js +68 -0
  78. package/dist/components/Table/Table.esm.js.map +1 -0
  79. package/dist/components/Table/TableCell/TableCell.esm.js +13 -0
  80. package/dist/components/Table/TableCell/TableCell.esm.js.map +1 -0
  81. package/dist/components/Table/TableCellLink/TableCellLink.esm.js +28 -0
  82. package/dist/components/Table/TableCellLink/TableCellLink.esm.js.map +1 -0
  83. package/dist/components/Table/TableCellProfile/TableCellProfile.esm.js +40 -0
  84. package/dist/components/Table/TableCellProfile/TableCellProfile.esm.js.map +1 -0
  85. package/dist/components/Table/TableCellText/TableCellText.esm.js +27 -0
  86. package/dist/components/Table/TableCellText/TableCellText.esm.js.map +1 -0
  87. package/dist/components/Tabs/Tabs.esm.js +139 -0
  88. package/dist/components/Tabs/Tabs.esm.js.map +1 -0
  89. package/dist/components/Tabs/TabsIndicators.esm.js +140 -0
  90. package/dist/components/Tabs/TabsIndicators.esm.js.map +1 -0
  91. package/dist/components/Text/Text.esm.js +40 -0
  92. package/dist/components/Text/Text.esm.js.map +1 -0
  93. package/dist/components/TextField/TextField.esm.js +88 -0
  94. package/dist/components/TextField/TextField.esm.js.map +1 -0
  95. package/dist/components/Tooltip/Tooltip.esm.js +34 -0
  96. package/dist/components/Tooltip/Tooltip.esm.js.map +1 -0
  97. package/dist/hooks/useBreakpoint.esm.js +43 -0
  98. package/dist/hooks/useBreakpoint.esm.js.map +1 -0
  99. package/dist/hooks/useIsomorphicLayoutEffect.esm.js +6 -0
  100. package/dist/hooks/useIsomorphicLayoutEffect.esm.js.map +1 -0
  101. package/dist/hooks/useMediaQuery.esm.js +44 -0
  102. package/dist/hooks/useMediaQuery.esm.js.map +1 -0
  103. package/dist/hooks/useStyles.esm.js +46 -0
  104. package/dist/hooks/useStyles.esm.js.map +1 -0
  105. package/dist/index.d.ts +1410 -0
  106. package/dist/index.esm.js +39 -0
  107. package/dist/index.esm.js.map +1 -0
  108. package/dist/node_modules_dist/style-inject/dist/style-inject.es.esm.js +29 -0
  109. package/dist/node_modules_dist/style-inject/dist/style-inject.es.esm.js.map +1 -0
  110. package/dist/props/display.props.esm.js +12 -0
  111. package/dist/props/display.props.esm.js.map +1 -0
  112. package/dist/props/gap-props.esm.js +15 -0
  113. package/dist/props/gap-props.esm.js.map +1 -0
  114. package/dist/props/height.props.esm.js +23 -0
  115. package/dist/props/height.props.esm.js.map +1 -0
  116. package/dist/props/margin.props.esm.js +54 -0
  117. package/dist/props/margin.props.esm.js.map +1 -0
  118. package/dist/props/padding.props.esm.js +54 -0
  119. package/dist/props/padding.props.esm.js.map +1 -0
  120. package/dist/props/position.props.esm.js +18 -0
  121. package/dist/props/position.props.esm.js.map +1 -0
  122. package/dist/props/prop-def.esm.js +4 -0
  123. package/dist/props/prop-def.esm.js.map +1 -0
  124. package/dist/props/spacing.props.esm.js +28 -0
  125. package/dist/props/spacing.props.esm.js.map +1 -0
  126. package/dist/props/width.props.esm.js +23 -0
  127. package/dist/props/width.props.esm.js.map +1 -0
  128. package/dist/utils/componentDefinitions.esm.js +272 -0
  129. package/dist/utils/componentDefinitions.esm.js.map +1 -0
  130. package/dist/utils/extractProps.esm.js +49 -0
  131. package/dist/utils/extractProps.esm.js.map +1 -0
  132. package/package.json +11 -3
@@ -0,0 +1,1410 @@
1
+ import * as react from 'react';
2
+ import { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import { RemixiconComponentType } from '@remixicon/react';
4
+ 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, TextFieldProps as TextFieldProps$1, TooltipProps as TooltipProps$1, TooltipTriggerComponentProps, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1 } from 'react-aria-components';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
7
+ import { NavigateOptions } from 'react-router-dom';
8
+ import { Collapsible as Collapsible$1 } from '@base-ui-components/react/collapsible';
9
+ import { useRender } from '@base-ui-components/react/use-render';
10
+ import { Table as Table$1 } from '@tanstack/react-table';
11
+ import { Menu as Menu$1 } from '@base-ui-components/react/menu';
12
+ import { ScrollArea as ScrollArea$1 } from '@base-ui-components/react/scroll-area';
13
+
14
+ /** @public */
15
+ 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';
16
+ /** @public */
17
+ type IconMap = Partial<Record<IconNames, RemixiconComponentType>>;
18
+ /** @public */
19
+ type IconProps = {
20
+ name: IconNames;
21
+ size?: number;
22
+ className?: string;
23
+ style?: React.CSSProperties;
24
+ };
25
+ /** @public */
26
+ interface IconContextProps {
27
+ icons: IconMap;
28
+ }
29
+ /** @public */
30
+ interface IconProviderProps {
31
+ children?: ReactNode;
32
+ overrides?: Partial<Record<IconNames, RemixiconComponentType>>;
33
+ }
34
+
35
+ /** @public */
36
+ declare const IconContext: react.Context<IconContextProps>;
37
+ /** @public */
38
+ declare const useIcons: () => IconContextProps;
39
+
40
+ /**
41
+ * Component definitions for the Backstage UI library
42
+ * @public
43
+ */
44
+ declare const componentDefinitions: {
45
+ readonly Avatar: {
46
+ readonly classNames: {
47
+ readonly root: "bui-AvatarRoot";
48
+ readonly image: "bui-AvatarImage";
49
+ readonly fallback: "bui-AvatarFallback";
50
+ };
51
+ readonly dataAttributes: {
52
+ readonly size: readonly ["small", "medium", "large"];
53
+ };
54
+ };
55
+ readonly Box: {
56
+ readonly classNames: {
57
+ readonly root: "bui-Box";
58
+ };
59
+ };
60
+ readonly Button: {
61
+ readonly classNames: {
62
+ readonly root: "bui-Button";
63
+ };
64
+ readonly dataAttributes: {
65
+ readonly size: readonly ["small", "medium", "large"];
66
+ readonly variant: readonly ["primary", "secondary", "ghost"];
67
+ };
68
+ };
69
+ readonly ButtonIcon: {
70
+ readonly classNames: {
71
+ readonly root: "bui-ButtonIcon";
72
+ };
73
+ };
74
+ readonly ButtonLink: {
75
+ readonly classNames: {
76
+ readonly root: "bui-ButtonLink";
77
+ };
78
+ };
79
+ readonly Card: {
80
+ readonly classNames: {
81
+ readonly root: "bui-Card";
82
+ readonly header: "bui-CardHeader";
83
+ readonly body: "bui-CardBody";
84
+ readonly footer: "bui-CardFooter";
85
+ };
86
+ };
87
+ readonly Checkbox: {
88
+ readonly classNames: {
89
+ readonly root: "bui-CheckboxRoot";
90
+ readonly label: "bui-CheckboxLabel";
91
+ readonly indicator: "bui-CheckboxIndicator";
92
+ };
93
+ readonly dataAttributes: {
94
+ readonly checked: readonly [true, false];
95
+ };
96
+ };
97
+ readonly Collapsible: {
98
+ readonly classNames: {
99
+ readonly root: "bui-CollapsibleRoot";
100
+ readonly trigger: "bui-CollapsibleTrigger";
101
+ readonly panel: "bui-CollapsiblePanel";
102
+ };
103
+ };
104
+ readonly Container: {
105
+ readonly classNames: {
106
+ readonly root: "bui-Container";
107
+ };
108
+ };
109
+ readonly FieldLabel: {
110
+ readonly classNames: {
111
+ readonly root: "bui-FieldLabelWrapper";
112
+ readonly label: "bui-FieldLabel";
113
+ readonly secondaryLabel: "bui-FieldSecondaryLabel";
114
+ readonly description: "bui-FieldDescription";
115
+ };
116
+ };
117
+ readonly Flex: {
118
+ readonly classNames: {
119
+ readonly root: "bui-Flex";
120
+ };
121
+ };
122
+ readonly Grid: {
123
+ readonly classNames: {
124
+ readonly root: "bui-Grid";
125
+ readonly item: "bui-GridItem";
126
+ };
127
+ };
128
+ readonly Header: {
129
+ readonly classNames: {
130
+ readonly toolbar: "bui-HeaderToolbar";
131
+ readonly toolbarWrapper: "bui-HeaderToolbarWrapper";
132
+ readonly toolbarContent: "bui-HeaderToolbarContent";
133
+ readonly toolbarControls: "bui-HeaderToolbarControls";
134
+ readonly toolbarIcon: "bui-HeaderToolbarIcon";
135
+ readonly toolbarName: "bui-HeaderToolbarName";
136
+ readonly breadcrumbs: "bui-HeaderBreadcrumbs";
137
+ readonly breadcrumb: "bui-HeaderBreadcrumb";
138
+ readonly breadcrumbLink: "bui-HeaderBreadcrumbLink";
139
+ readonly breadcrumbSeparator: "bui-HeaderBreadcrumbSeparator";
140
+ readonly tabsWrapper: "bui-HeaderTabsWrapper";
141
+ };
142
+ };
143
+ readonly HeaderPage: {
144
+ readonly classNames: {
145
+ readonly root: "bui-HeaderPage";
146
+ readonly content: "bui-HeaderPageContent";
147
+ readonly tabsWrapper: "bui-HeaderPageTabsWrapper";
148
+ readonly controls: "bui-HeaderPageControls";
149
+ };
150
+ };
151
+ readonly Heading: {
152
+ readonly classNames: {
153
+ readonly root: "bui-Heading";
154
+ };
155
+ readonly dataAttributes: {
156
+ readonly variant: readonly ["title1", "title2", "title3", "subtitle"];
157
+ readonly color: readonly ["primary", "secondary", "muted"];
158
+ readonly truncate: readonly [true, false];
159
+ };
160
+ };
161
+ readonly Icon: {
162
+ readonly classNames: {
163
+ readonly root: "bui-Icon";
164
+ };
165
+ };
166
+ readonly Link: {
167
+ readonly classNames: {
168
+ readonly root: "bui-Link";
169
+ };
170
+ readonly dataAttributes: {
171
+ readonly variant: readonly ["subtitle", "body", "caption", "label"];
172
+ readonly weight: readonly ["regular", "bold"];
173
+ };
174
+ };
175
+ readonly List: {
176
+ readonly classNames: {
177
+ readonly root: "bui-List";
178
+ readonly row: "bui-ListRow";
179
+ readonly label: "bui-ListLabel";
180
+ };
181
+ };
182
+ readonly Menu: {
183
+ readonly classNames: {
184
+ readonly trigger: "bui-MenuTrigger";
185
+ readonly backdrop: "bui-MenuBackdrop";
186
+ readonly positioner: "bui-MenuPositioner";
187
+ readonly popup: "bui-MenuPopup";
188
+ readonly arrow: "bui-MenuArrow";
189
+ readonly item: "bui-MenuItem";
190
+ readonly group: "bui-MenuGroup";
191
+ readonly groupLabel: "bui-MenuGroupLabel";
192
+ readonly radioGroup: "bui-MenuRadioGroup";
193
+ readonly radioItem: "bui-MenuRadioItem";
194
+ readonly radioItemIndicator: "bui-MenuRadioItemIndicator";
195
+ readonly checkboxItem: "bui-MenuCheckboxItem";
196
+ readonly checkboxItemIndicator: "bui-MenuCheckboxItemIndicator";
197
+ readonly submenuTrigger: "bui-MenuSubmenuTrigger";
198
+ readonly separator: "bui-MenuSeparator";
199
+ };
200
+ };
201
+ readonly Popover: {
202
+ readonly classNames: {
203
+ readonly root: "bui-Popover";
204
+ };
205
+ };
206
+ readonly RadioGroup: {
207
+ readonly classNames: {
208
+ readonly root: "bui-RadioGroup";
209
+ readonly content: "bui-RadioGroupContent";
210
+ readonly radio: "bui-Radio";
211
+ };
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
+ readonly SearchField: {
222
+ readonly classNames: {
223
+ readonly root: "bui-SearchField";
224
+ readonly clear: "bui-InputClear";
225
+ };
226
+ };
227
+ readonly Select: {
228
+ readonly classNames: {
229
+ readonly root: "bui-Select";
230
+ readonly trigger: "bui-SelectTrigger";
231
+ readonly value: "bui-SelectValue";
232
+ readonly icon: "bui-SelectIcon";
233
+ readonly list: "bui-SelectList";
234
+ readonly item: "bui-SelectItem";
235
+ readonly itemIndicator: "bui-SelectItemIndicator";
236
+ readonly itemLabel: "bui-SelectItemLabel";
237
+ };
238
+ readonly dataAttributes: {
239
+ readonly size: readonly ["small", "medium"];
240
+ };
241
+ };
242
+ readonly Skeleton: {
243
+ readonly classNames: {
244
+ readonly root: "bui-Skeleton";
245
+ };
246
+ };
247
+ readonly Switch: {
248
+ readonly classNames: {
249
+ readonly root: "bui-Switch";
250
+ readonly indicator: "bui-SwitchIndicator";
251
+ };
252
+ };
253
+ readonly Table: {
254
+ readonly classNames: {
255
+ readonly root: "bui-TableRoot";
256
+ readonly header: "bui-TableHeader";
257
+ readonly body: "bui-TableBody";
258
+ readonly row: "bui-TableRow";
259
+ readonly head: "bui-TableHead";
260
+ readonly caption: "bui-TableCaption";
261
+ readonly cell: "bui-TableCell";
262
+ readonly cellText: "bui-TableCellText";
263
+ readonly cellLink: "bui-TableCellLink";
264
+ readonly cellProfile: "bui-TableCellProfile";
265
+ readonly cellProfileAvatar: "bui-TableCellProfileAvatar";
266
+ readonly cellProfileAvatarImage: "bui-TableCellProfileAvatarImage";
267
+ readonly cellProfileAvatarFallback: "bui-TableCellProfileAvatarFallback";
268
+ readonly cellProfileName: "bui-TableCellProfileName";
269
+ readonly cellProfileLink: "bui-TableCellProfileLink";
270
+ };
271
+ };
272
+ readonly Tabs: {
273
+ readonly classNames: {
274
+ readonly tabs: "bui-Tabs";
275
+ readonly tabList: "bui-TabList";
276
+ readonly tabListWrapper: "bui-TabListWrapper";
277
+ readonly tab: "bui-Tab";
278
+ readonly tabActive: "bui-TabActive";
279
+ readonly tabHovered: "bui-TabHovered";
280
+ readonly panel: "bui-TabPanel";
281
+ };
282
+ };
283
+ readonly Text: {
284
+ readonly classNames: {
285
+ readonly root: "bui-Text";
286
+ };
287
+ readonly dataAttributes: {
288
+ readonly variant: readonly ["subtitle", "body", "caption", "label"];
289
+ readonly weight: readonly ["regular", "bold"];
290
+ readonly color: readonly ["primary", "secondary", "danger", "warning", "success"];
291
+ readonly truncate: readonly [true, false];
292
+ };
293
+ };
294
+ readonly TextField: {
295
+ readonly classNames: {
296
+ readonly root: "bui-TextField";
297
+ readonly inputWrapper: "bui-InputWrapper";
298
+ readonly input: "bui-Input";
299
+ readonly inputIcon: "bui-InputIcon";
300
+ };
301
+ readonly dataAttributes: {
302
+ readonly invalid: readonly [true, false];
303
+ readonly disabled: readonly [true, false];
304
+ };
305
+ };
306
+ readonly Tooltip: {
307
+ readonly classNames: {
308
+ readonly tooltip: "bui-Tooltip";
309
+ readonly arrow: "bui-TooltipArrow";
310
+ };
311
+ };
312
+ };
313
+
314
+ /** @public */
315
+ type Breakpoint = 'initial' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
316
+ /** @public */
317
+ type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
318
+ /** @public */
319
+ type Space = '0.5' | '1' | '1.5' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | string;
320
+ /** @public */
321
+ type Display = 'none' | 'flex' | 'block' | 'inline';
322
+ /** @public */
323
+ type FlexDirection = 'row' | 'column';
324
+ /** @public */
325
+ type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
326
+ /** @public */
327
+ type JustifyContent = 'stretch' | 'start' | 'center' | 'end' | 'around' | 'between';
328
+ /** @public */
329
+ type AlignItems = 'stretch' | 'start' | 'center' | 'end';
330
+ /** @public */
331
+ type BorderRadius = 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
332
+ /** @public */
333
+ type Border = 'none' | 'base' | 'error' | 'warning' | 'selected';
334
+ /** @public */
335
+ type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';
336
+ /** @public */
337
+ interface SpaceProps {
338
+ m?: Responsive<Space>;
339
+ mb?: Responsive<Space>;
340
+ ml?: Responsive<Space>;
341
+ mr?: Responsive<Space>;
342
+ mt?: Responsive<Space>;
343
+ mx?: Responsive<Space>;
344
+ my?: Responsive<Space>;
345
+ p?: Responsive<Space>;
346
+ pb?: Responsive<Space>;
347
+ pl?: Responsive<Space>;
348
+ pr?: Responsive<Space>;
349
+ pt?: Responsive<Space>;
350
+ px?: Responsive<Space>;
351
+ py?: Responsive<Space>;
352
+ }
353
+ /** @public */
354
+ type TextVariants = 'title-large' | 'title-medium' | 'title-small' | 'title-x-small' | 'body-large' | 'body-medium' | 'body-small' | 'body-x-small';
355
+ /** @public */
356
+ type TextColors = 'primary' | 'secondary';
357
+ /** @public */
358
+ type TextColorStatus = 'danger' | 'warning' | 'success';
359
+ /** @public */
360
+ type TextWeights = 'regular' | 'bold';
361
+ /** @public */
362
+ interface UtilityProps extends SpaceProps {
363
+ alignItems?: Responsive<AlignItems>;
364
+ border?: Responsive<Border>;
365
+ borderRadius?: Responsive<BorderRadius>;
366
+ colEnd?: Responsive<Columns | 'auto'>;
367
+ colSpan?: Responsive<Columns | 'full'>;
368
+ colStart?: Responsive<Columns | 'auto'>;
369
+ columns?: Responsive<Columns>;
370
+ display?: Responsive<Display>;
371
+ flexDirection?: Responsive<FlexDirection>;
372
+ flexWrap?: Responsive<FlexWrap>;
373
+ gap?: Responsive<Space>;
374
+ justifyContent?: Responsive<JustifyContent>;
375
+ rowSpan?: Responsive<Columns | 'full'>;
376
+ }
377
+ /**
378
+ * Base type for the component styles structure
379
+ * @public
380
+ */
381
+ type ClassNamesMap = Record<string, string>;
382
+ /**
383
+ * Base type for the component styles structure
384
+ * @public
385
+ */
386
+ type DataAttributeValues = readonly (string | number | boolean)[];
387
+ /**
388
+ * Base type for the component styles structure
389
+ * @public
390
+ */
391
+ type DataAttributesMap = Record<string, DataAttributeValues>;
392
+ /**
393
+ * Base type for the component styles structure
394
+ * @public
395
+ */
396
+ interface ComponentDefinition {
397
+ classNames: ClassNamesMap;
398
+ dataAttributes?: DataAttributesMap;
399
+ }
400
+ /**
401
+ * Type utilities for extracting information from the component styles
402
+ * @public
403
+ */
404
+ type ComponentDefinitionName = keyof typeof componentDefinitions;
405
+ /**
406
+ * Helper type to extract class names for a component
407
+ * @public
408
+ */
409
+ type ComponentClassNames<T extends ComponentDefinitionName> = (typeof componentDefinitions)[T]['classNames'];
410
+
411
+ /** @public */
412
+ declare const breakpoints: Breakpoint[];
413
+ /** @public */
414
+ type BooleanPropDef = {
415
+ type: 'boolean';
416
+ default?: boolean;
417
+ required?: boolean;
418
+ className?: string;
419
+ };
420
+ /** @public */
421
+ type StringPropDef = {
422
+ type: 'string';
423
+ default?: string;
424
+ required?: boolean;
425
+ };
426
+ /** @public */
427
+ type ReactNodePropDef = {
428
+ type: 'ReactNode';
429
+ default?: ReactNode;
430
+ required?: boolean;
431
+ };
432
+ /** @public */
433
+ type EnumPropDef<T> = {
434
+ type: 'enum';
435
+ values: readonly T[];
436
+ default?: T;
437
+ required?: boolean;
438
+ };
439
+ /** @public */
440
+ type EnumOrStringPropDef<T> = {
441
+ type: 'enum | string';
442
+ values: readonly T[];
443
+ default?: T | string;
444
+ required?: boolean;
445
+ };
446
+ /** @public */
447
+ type NonStylingPropDef = {
448
+ className?: never;
449
+ customProperties?: never;
450
+ parseValue?: never;
451
+ };
452
+ /** @public */
453
+ type StylingPropDef = {
454
+ className: string;
455
+ parseValue?: (value: string) => string | undefined;
456
+ };
457
+ /** @public */
458
+ type ArbitraryStylingPropDef = {
459
+ className: string;
460
+ customProperties: `--${string}`[];
461
+ parseValue?: (value: string) => string | undefined;
462
+ };
463
+ /** @public */
464
+ type RegularPropDef<T> = ReactNodePropDef | BooleanPropDef | (StringPropDef & ArbitraryStylingPropDef) | (StringPropDef & NonStylingPropDef) | (EnumPropDef<T> & StylingPropDef) | (EnumPropDef<T> & NonStylingPropDef) | (EnumOrStringPropDef<T> & ArbitraryStylingPropDef) | (EnumOrStringPropDef<T> & NonStylingPropDef);
465
+ /** @public */
466
+ type ResponsivePropDef<T = any> = RegularPropDef<T> & {
467
+ responsive: true;
468
+ };
469
+ /** @public */
470
+ type PropDef<T = any> = RegularPropDef<T> | ResponsivePropDef<T>;
471
+ /** @public */
472
+ 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;
473
+ /** @public */
474
+ type GetPropDefTypes<P> = {
475
+ [K in keyof P]?: GetPropDefType<P[K]>;
476
+ };
477
+
478
+ /** @public */
479
+ declare const heightPropDefs: {
480
+ height: {
481
+ type: "string";
482
+ className: string;
483
+ customProperties: "--height"[];
484
+ responsive: true;
485
+ };
486
+ minHeight: {
487
+ type: "string";
488
+ className: string;
489
+ customProperties: "--min-height"[];
490
+ responsive: true;
491
+ };
492
+ maxHeight: {
493
+ type: "string";
494
+ className: string;
495
+ customProperties: "--max-height"[];
496
+ responsive: true;
497
+ };
498
+ };
499
+ /** @public */
500
+ type HeightProps = GetPropDefTypes<typeof heightPropDefs>;
501
+
502
+ /** @public */
503
+ declare const widthPropDefs: {
504
+ width: {
505
+ type: "string";
506
+ className: string;
507
+ customProperties: "--width"[];
508
+ responsive: true;
509
+ };
510
+ minWidth: {
511
+ type: "string";
512
+ className: string;
513
+ customProperties: "--min-width"[];
514
+ responsive: true;
515
+ };
516
+ maxWidth: {
517
+ type: "string";
518
+ className: string;
519
+ customProperties: "--max-width"[];
520
+ responsive: true;
521
+ };
522
+ };
523
+ /** @public */
524
+ type WidthProps = GetPropDefTypes<typeof widthPropDefs>;
525
+
526
+ /** @public */
527
+ declare const positionPropDefs: {
528
+ position: {
529
+ type: "enum";
530
+ className: string;
531
+ values: readonly ["static", "relative", "absolute", "fixed", "sticky"];
532
+ responsive: true;
533
+ };
534
+ };
535
+ /** @public */
536
+ type PositionProps = GetPropDefTypes<typeof positionPropDefs>;
537
+
538
+ /** @public */
539
+ declare const displayPropDefs: {
540
+ display: {
541
+ type: "enum";
542
+ className: string;
543
+ values: readonly ["none", "inline", "inline-block", "block"];
544
+ responsive: true;
545
+ };
546
+ };
547
+ /** @public */
548
+ type DisplayProps = GetPropDefTypes<typeof displayPropDefs>;
549
+
550
+ /** @public */
551
+ declare const boxPropDefs: {
552
+ as: {
553
+ type: "enum";
554
+ values: readonly ["div", "span"];
555
+ default: "div";
556
+ };
557
+ };
558
+ /** @public */
559
+ type BoxOwnProps = GetPropDefTypes<typeof boxPropDefs>;
560
+
561
+ /** @public */
562
+ interface BoxProps extends SpaceProps {
563
+ display?: DisplayProps['display'];
564
+ as?: BoxOwnProps['as'];
565
+ width?: WidthProps['width'];
566
+ minWidth?: WidthProps['minWidth'];
567
+ maxWidth?: WidthProps['maxWidth'];
568
+ height?: HeightProps['height'];
569
+ minHeight?: HeightProps['minHeight'];
570
+ maxHeight?: HeightProps['maxHeight'];
571
+ position?: PositionProps['position'];
572
+ children?: React.ReactNode;
573
+ className?: string;
574
+ style?: React.CSSProperties;
575
+ }
576
+
577
+ /** @public */
578
+ declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
579
+
580
+ /** @public */
581
+ declare const gapPropDefs: {
582
+ gap: {
583
+ type: "enum | string";
584
+ className: string;
585
+ customProperties: "--gap"[];
586
+ values: string[];
587
+ responsive: true;
588
+ default: string;
589
+ };
590
+ };
591
+ /** @public */
592
+ type GapProps = GetPropDefTypes<typeof gapPropDefs>;
593
+
594
+ /** @public */
595
+ declare const gridPropDefs: {
596
+ columns: {
597
+ type: "enum | string";
598
+ className: string;
599
+ customProperties: "--columns"[];
600
+ values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
601
+ responsive: true;
602
+ default: string;
603
+ };
604
+ };
605
+ /** @public */
606
+ declare const gridItemPropDefs: {
607
+ colSpan: {
608
+ type: "enum | string";
609
+ className: string;
610
+ customProperties: "--col-span"[];
611
+ values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
612
+ responsive: true;
613
+ };
614
+ colEnd: {
615
+ type: "enum | string";
616
+ className: string;
617
+ customProperties: "--col-end"[];
618
+ values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
619
+ responsive: true;
620
+ };
621
+ colStart: {
622
+ type: "enum | string";
623
+ className: string;
624
+ customProperties: "--col-start"[];
625
+ values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
626
+ responsive: true;
627
+ };
628
+ rowSpan: {
629
+ type: "enum | string";
630
+ className: string;
631
+ customProperties: "--row-span"[];
632
+ values: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto"];
633
+ responsive: true;
634
+ };
635
+ };
636
+ /** @public */
637
+ type GridOwnProps = GetPropDefTypes<typeof gridPropDefs>;
638
+ /** @public */
639
+ type GridItemOwnProps = GetPropDefTypes<typeof gridItemPropDefs>;
640
+
641
+ /** @public */
642
+ interface GridProps extends SpaceProps {
643
+ children?: React.ReactNode;
644
+ className?: string;
645
+ columns?: GridOwnProps['columns'];
646
+ gap?: GapProps['gap'];
647
+ style?: React.CSSProperties;
648
+ }
649
+ /** @public */
650
+ interface GridItemProps {
651
+ children?: React.ReactNode;
652
+ className?: string;
653
+ colSpan?: GridItemOwnProps['colSpan'];
654
+ colEnd?: GridItemOwnProps['colEnd'];
655
+ colStart?: GridItemOwnProps['colStart'];
656
+ rowSpan?: GridItemOwnProps['rowSpan'];
657
+ style?: React.CSSProperties;
658
+ }
659
+
660
+ /** @public */
661
+ declare const Grid: {
662
+ Root: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>>;
663
+ Item: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLDivElement>>;
664
+ };
665
+
666
+ /** @public */
667
+ declare const flexPropDefs: {
668
+ align: {
669
+ type: "enum";
670
+ className: string;
671
+ values: readonly ["start", "center", "end", "baseline", "stretch"];
672
+ responsive: true;
673
+ };
674
+ direction: {
675
+ type: "enum";
676
+ className: string;
677
+ values: readonly ["row", "column", "row-reverse", "column-reverse"];
678
+ responsive: true;
679
+ };
680
+ justify: {
681
+ type: "enum";
682
+ className: string;
683
+ values: readonly ["start", "center", "end", "between"];
684
+ responsive: true;
685
+ };
686
+ };
687
+ /** @public */
688
+ type FlexOwnProps = GetPropDefTypes<typeof flexPropDefs>;
689
+
690
+ /** @public */
691
+ interface FlexProps extends SpaceProps {
692
+ children: React.ReactNode;
693
+ gap?: GapProps['gap'];
694
+ align?: FlexOwnProps['align'];
695
+ justify?: FlexOwnProps['justify'];
696
+ direction?: FlexOwnProps['direction'];
697
+ className?: string;
698
+ style?: React.CSSProperties;
699
+ }
700
+
701
+ /** @public */
702
+ declare const Flex: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
703
+
704
+ /** @public */
705
+ interface ContainerProps {
706
+ children?: React.ReactNode;
707
+ className?: string;
708
+ my?: SpaceProps['my'];
709
+ mb?: SpaceProps['mb'];
710
+ mt?: SpaceProps['mt'];
711
+ py?: SpaceProps['py'];
712
+ pb?: SpaceProps['pb'];
713
+ pt?: SpaceProps['pt'];
714
+ style?: React.CSSProperties;
715
+ }
716
+
717
+ /** @public */
718
+ declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
719
+
720
+ /** @public */
721
+ interface AvatarProps extends React.ComponentPropsWithoutRef<typeof Avatar$1.Root> {
722
+ src: string;
723
+ name: string;
724
+ size?: 'small' | 'medium' | 'large';
725
+ }
726
+
727
+ /** @public */
728
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
729
+
730
+ /**
731
+ * Properties for {@link Button}
732
+ *
733
+ * @public
734
+ */
735
+ interface ButtonProps extends ButtonProps$1 {
736
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
737
+ variant?: 'primary' | 'secondary' | 'tertiary' | Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>;
738
+ iconStart?: ReactElement;
739
+ iconEnd?: ReactElement;
740
+ children?: ReactNode;
741
+ }
742
+
743
+ /** @public */
744
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
745
+
746
+ /**
747
+ * Props for the Card component.
748
+ *
749
+ * @public
750
+ */
751
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
752
+ children?: React.ReactNode;
753
+ }
754
+ /**
755
+ * Props for the CardHeader component.
756
+ *
757
+ * @public
758
+ */
759
+ interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
760
+ children?: React.ReactNode;
761
+ }
762
+ /**
763
+ * Props for the CardBody component.
764
+ *
765
+ * @public
766
+ */
767
+ interface CardBodyProps extends React.HTMLAttributes<HTMLDivElement> {
768
+ children?: React.ReactNode;
769
+ }
770
+ /**
771
+ * Props for the CardFooter component.
772
+ *
773
+ * @public
774
+ */
775
+ interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
776
+ children?: React.ReactNode;
777
+ }
778
+
779
+ /**
780
+ * Card component.
781
+ *
782
+ * @public
783
+ */
784
+ declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
785
+
786
+ /**
787
+ * Collapsible is a component that allows you to collapse and expand content.
788
+ * It is a wrapper around the CollapsiblePrimitive component from base-ui-components.
789
+ *
790
+ * @public
791
+ */
792
+ declare const Collapsible: {
793
+ Root: react.ForwardRefExoticComponent<Omit<Collapsible$1.Root.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
794
+ Trigger: react.ForwardRefExoticComponent<Omit<Collapsible$1.Trigger.Props & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
795
+ Panel: react.ForwardRefExoticComponent<Omit<Collapsible$1.Panel.Props & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
796
+ };
797
+
798
+ /**
799
+ * Table component for displaying tabular data
800
+ * @public
801
+ */
802
+ declare const Table: {
803
+ Root: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
804
+ Header: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
805
+ Body: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
806
+ Head: react.ForwardRefExoticComponent<react.ThHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
807
+ Row: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
808
+ Cell: react.ForwardRefExoticComponent<react.TdHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
809
+ CellText: react.ForwardRefExoticComponent<TableCellTextProps & react.RefAttributes<HTMLDivElement>>;
810
+ CellLink: react.ForwardRefExoticComponent<TableCellLinkProps & react.RefAttributes<HTMLDivElement>>;
811
+ CellProfile: react.ForwardRefExoticComponent<TableCellProfileProps & react.RefAttributes<HTMLDivElement>>;
812
+ Caption: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableCaptionElement> & react.RefAttributes<HTMLTableCaptionElement>>;
813
+ };
814
+
815
+ /** @public */
816
+ interface TableCellTextProps extends React.HTMLAttributes<HTMLDivElement> {
817
+ title: string;
818
+ description?: string;
819
+ }
820
+
821
+ /** @public */
822
+ interface TableCellLinkProps extends React.HTMLAttributes<HTMLDivElement> {
823
+ title: string;
824
+ description?: string;
825
+ href: string;
826
+ render?: useRender.ComponentProps<'a'>['render'];
827
+ }
828
+
829
+ /** @public */
830
+ interface TableCellProfileProps extends React.HTMLAttributes<HTMLDivElement> {
831
+ src?: string;
832
+ name?: string;
833
+ to?: string;
834
+ withImage?: boolean;
835
+ }
836
+
837
+ /**
838
+ * DataTable component for displaying tabular data with pagination
839
+ * @public
840
+ */
841
+ declare const DataTable: {
842
+ Root: <TData>(props: {
843
+ table: Table$1<TData>;
844
+ } & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
845
+ Pagination: react.ForwardRefExoticComponent<DataTablePaginationProps & react.RefAttributes<HTMLDivElement>>;
846
+ Table: react.ForwardRefExoticComponent<DataTableTableProps & react.RefAttributes<HTMLTableElement>>;
847
+ TableRoot: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>, "ref"> & react.RefAttributes<HTMLTableElement>>;
848
+ TableHeader: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
849
+ TableBody: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
850
+ TableRow: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
851
+ TableCell: react.ForwardRefExoticComponent<react.TdHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
852
+ TableCellText: react.ForwardRefExoticComponent<TableCellTextProps & react.RefAttributes<HTMLDivElement>>;
853
+ TableCellLink: react.ForwardRefExoticComponent<TableCellLinkProps & react.RefAttributes<HTMLDivElement>>;
854
+ TableCellProfile: react.ForwardRefExoticComponent<TableCellProfileProps & react.RefAttributes<HTMLDivElement>>;
855
+ TableHead: react.ForwardRefExoticComponent<react.ThHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
856
+ };
857
+
858
+ /** @public */
859
+ interface DataTableRootProps<TData> extends React.HTMLAttributes<HTMLDivElement> {
860
+ /**
861
+ * The table instance.
862
+ */
863
+ table: Table$1<TData>;
864
+ }
865
+
866
+ /** @public */
867
+ interface DataTablePaginationProps extends React.HTMLAttributes<HTMLDivElement> {
868
+ }
869
+
870
+ /** @public */
871
+ interface DataTableTableProps extends React.HTMLAttributes<HTMLTableElement> {
872
+ }
873
+
874
+ /** @public */
875
+ interface FieldLabelProps {
876
+ /**
877
+ * The label of the text field
878
+ */
879
+ label?: string | null;
880
+ /**
881
+ * The secondary label of the text field
882
+ */
883
+ secondaryLabel?: string | null;
884
+ /**
885
+ * The description of the text field
886
+ */
887
+ description?: string | null;
888
+ /**
889
+ * The HTML for attribute of the text field
890
+ */
891
+ htmlFor?: string;
892
+ /**
893
+ * The id of the text field
894
+ */
895
+ id?: string;
896
+ }
897
+
898
+ /** @public */
899
+ declare const FieldLabel: react.ForwardRefExoticComponent<FieldLabelProps & react.RefAttributes<HTMLDivElement>>;
900
+
901
+ /**
902
+ * Strategies for matching the current route to determine which tab should be active.
903
+ *
904
+ * @public
905
+ */
906
+ type TabMatchStrategy = 'exact' | 'prefix';
907
+ /**
908
+ * Props for the Tabs component.
909
+ *
910
+ * @public
911
+ */
912
+ interface TabsProps extends TabsProps$1 {
913
+ }
914
+ /**
915
+ * Props for the TabList component.
916
+ *
917
+ * @public
918
+ */
919
+ interface TabListProps extends Omit<TabListProps$1<object>, 'items'> {
920
+ }
921
+ /**
922
+ * Props for the Tab component.
923
+ *
924
+ * @public
925
+ */
926
+ interface TabProps extends TabProps$1 {
927
+ /**
928
+ * Strategy for matching the current route to determine if this tab should be active.
929
+ * - 'exact': Tab href must exactly match the current pathname (default)
930
+ * - 'prefix': Tab is active if current pathname starts with tab href
931
+ */
932
+ matchStrategy?: 'exact' | 'prefix';
933
+ }
934
+ /**
935
+ * Props for the TabPanel component.
936
+ *
937
+ * @public
938
+ */
939
+ interface TabPanelProps extends TabPanelProps$1 {
940
+ }
941
+
942
+ /**
943
+ * A component that renders a list of tabs.
944
+ *
945
+ * @public
946
+ */
947
+ declare const Tabs: (props: TabsProps) => react_jsx_runtime.JSX.Element | null;
948
+ /**
949
+ * A component that renders a list of tabs.
950
+ *
951
+ * @public
952
+ */
953
+ declare const TabList: (props: TabListProps) => react_jsx_runtime.JSX.Element;
954
+ /**
955
+ * A component that renders a tab.
956
+ *
957
+ * @public
958
+ */
959
+ declare const Tab: (props: TabProps) => react_jsx_runtime.JSX.Element;
960
+ /**
961
+ * A component that renders the content of a tab.
962
+ *
963
+ * @public
964
+ */
965
+ declare const TabPanel: (props: TabPanelProps) => react_jsx_runtime.JSX.Element;
966
+
967
+ /**
968
+ * Props for the main Header component.
969
+ *
970
+ * @public
971
+ */
972
+ interface HeaderProps {
973
+ icon?: React.ReactNode;
974
+ title?: string;
975
+ titleLink?: string;
976
+ breadcrumbs?: HeaderBreadcrumb[];
977
+ customActions?: React.ReactNode;
978
+ menuItems?: HeaderMenuItem[];
979
+ tabs?: HeaderTab[];
980
+ onTabSelectionChange?: TabsProps$1['onSelectionChange'];
981
+ }
982
+ /**
983
+ * Represents a tab item in the header navigation.
984
+ *
985
+ * @public
986
+ */
987
+ interface HeaderTab {
988
+ id: string;
989
+ label: string;
990
+ href?: string;
991
+ /**
992
+ * Strategy for matching the current route to determine if this tab should be active.
993
+ * - 'exact': Tab href must exactly match the current pathname (default)
994
+ * - 'prefix': Tab is active if current pathname starts with tab href
995
+ */
996
+ matchStrategy?: TabMatchStrategy;
997
+ }
998
+ /**
999
+ * Represents an option item in the header dropdown menu.
1000
+ *
1001
+ * @public
1002
+ */
1003
+ interface HeaderMenuItem {
1004
+ label: string;
1005
+ value: string;
1006
+ onClick?: () => void;
1007
+ }
1008
+ /**
1009
+ * Represents a breadcrumb item in the header.
1010
+ *
1011
+ * @public
1012
+ */
1013
+ interface HeaderBreadcrumb {
1014
+ label: string;
1015
+ href: string;
1016
+ }
1017
+
1018
+ declare module 'react-aria-components' {
1019
+ interface RouterConfig {
1020
+ routerOptions: NavigateOptions;
1021
+ }
1022
+ }
1023
+ /**
1024
+ * A component that renders a toolbar.
1025
+ *
1026
+ * @public
1027
+ */
1028
+ declare const Header: (props: HeaderProps) => react_jsx_runtime.JSX.Element;
1029
+
1030
+ /**
1031
+ * Props for the main HeaderPage component.
1032
+ *
1033
+ * @public
1034
+ */
1035
+ interface HeaderPageProps {
1036
+ title?: string;
1037
+ customActions?: React.ReactNode;
1038
+ menuItems?: HeaderMenuItem[];
1039
+ tabs?: HeaderTab[];
1040
+ }
1041
+
1042
+ /**
1043
+ * A component that renders a header page.
1044
+ *
1045
+ * @public
1046
+ */
1047
+ declare const HeaderPage: (props: HeaderPageProps) => react_jsx_runtime.JSX.Element;
1048
+
1049
+ /** @public */
1050
+ declare const icons: IconMap;
1051
+
1052
+ /** @public */
1053
+ declare const Icon: (props: IconProps) => react_jsx_runtime.JSX.Element | null;
1054
+
1055
+ /** @public */
1056
+ declare const IconProvider: (props: IconProviderProps) => react_jsx_runtime.JSX.Element;
1057
+
1058
+ /**
1059
+ * Properties for {@link ButtonIcon}
1060
+ *
1061
+ * @public
1062
+ */
1063
+ interface ButtonIconProps extends ButtonProps$1 {
1064
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
1065
+ variant?: 'primary' | 'secondary' | 'tertiary' | Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>;
1066
+ icon?: ReactElement;
1067
+ }
1068
+
1069
+ /** @public */
1070
+ declare const ButtonIcon: react.ForwardRefExoticComponent<ButtonIconProps & react.RefAttributes<HTMLButtonElement>>;
1071
+
1072
+ /**
1073
+ * Properties for {@link ButtonLink}
1074
+ *
1075
+ * @public
1076
+ */
1077
+ interface ButtonLinkProps extends LinkProps$1 {
1078
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
1079
+ variant?: 'primary' | 'secondary' | 'tertiary' | Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>;
1080
+ iconStart?: ReactElement;
1081
+ iconEnd?: ReactElement;
1082
+ children?: ReactNode;
1083
+ }
1084
+
1085
+ /** @public */
1086
+ declare const ButtonLink: react.ForwardRefExoticComponent<ButtonLinkProps & react.RefAttributes<HTMLAnchorElement>>;
1087
+
1088
+ /** @public */
1089
+ interface CheckboxProps {
1090
+ label?: string;
1091
+ defaultChecked?: boolean;
1092
+ checked?: boolean;
1093
+ onChange?: (checked: boolean) => void;
1094
+ disabled?: boolean;
1095
+ required?: boolean;
1096
+ className?: string;
1097
+ name?: string;
1098
+ value?: string;
1099
+ style?: React.CSSProperties;
1100
+ }
1101
+
1102
+ /** @public */
1103
+ declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLButtonElement>>;
1104
+
1105
+ /** @public */
1106
+ interface RadioGroupProps extends Omit<RadioGroupProps$1, 'children'>, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
1107
+ children?: ReactNode;
1108
+ }
1109
+ /** @public */
1110
+ interface RadioProps extends RadioProps$1 {
1111
+ }
1112
+
1113
+ /** @public */
1114
+ declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
1115
+ /** @public */
1116
+ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLLabelElement>>;
1117
+
1118
+ /** @public */
1119
+ type TextOwnProps = {
1120
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'label' | 'div' | 'strong' | 'em' | 'small' | 'legend';
1121
+ variant?: TextVariants | Partial<Record<Breakpoint, TextVariants>>;
1122
+ weight?: TextWeights | Partial<Record<Breakpoint, TextWeights>>;
1123
+ color?: TextColors | TextColorStatus | Partial<Record<Breakpoint, TextColors | TextColorStatus>>;
1124
+ truncate?: boolean;
1125
+ };
1126
+ /** @public */
1127
+ type TextProps<T extends ElementType = 'span'> = TextOwnProps & Omit<ComponentPropsWithRef<T>, keyof TextOwnProps>;
1128
+
1129
+ /** @public */
1130
+ declare const Text: {
1131
+ <T extends ElementType = "p">(props: TextProps<T> & {
1132
+ ref?: React.ComponentPropsWithRef<T>["ref"];
1133
+ }): React.ReactElement<TextProps<T>, T>;
1134
+ displayName: string;
1135
+ };
1136
+
1137
+ /** @public */
1138
+ interface TextFieldProps extends TextFieldProps$1, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
1139
+ /**
1140
+ * An icon to render before the input
1141
+ */
1142
+ icon?: ReactNode;
1143
+ /**
1144
+ * The size of the text field
1145
+ * @defaultValue 'medium'
1146
+ */
1147
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
1148
+ /**
1149
+ * Text to display in the input when it has no value
1150
+ */
1151
+ placeholder?: string;
1152
+ }
1153
+
1154
+ /** @public */
1155
+ declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLDivElement>>;
1156
+
1157
+ /** @public */
1158
+ interface TooltipProps extends Omit<TooltipProps$1, 'children'> {
1159
+ children: React.ReactNode;
1160
+ }
1161
+
1162
+ /** @public */
1163
+ declare const TooltipTrigger: (props: TooltipTriggerComponentProps) => react_jsx_runtime.JSX.Element;
1164
+ /** @public */
1165
+ declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLDivElement>>;
1166
+
1167
+ /** @public */
1168
+ type MenuComboboxOption = {
1169
+ label: string;
1170
+ value: string;
1171
+ disabled?: boolean;
1172
+ };
1173
+ /** @public */
1174
+ interface MenuComboboxProps extends ComponentProps<'div'> {
1175
+ options: MenuComboboxOption[];
1176
+ value?: string[];
1177
+ onValueChange?: (value: string[]) => void;
1178
+ multiselect?: boolean;
1179
+ closeParentOnEsc?: boolean;
1180
+ }
1181
+ /** @public */
1182
+ type MenuComponent = {
1183
+ Root: typeof Menu$1.Root;
1184
+ Trigger: typeof Menu$1.Trigger;
1185
+ Portal: typeof Menu$1.Portal;
1186
+ Backdrop: typeof Menu$1.Backdrop;
1187
+ Positioner: typeof Menu$1.Positioner;
1188
+ Popup: typeof Menu$1.Popup;
1189
+ Arrow: typeof Menu$1.Arrow;
1190
+ Item: typeof Menu$1.Item;
1191
+ Group: typeof Menu$1.Group;
1192
+ GroupLabel: typeof Menu$1.GroupLabel;
1193
+ RadioGroup: typeof Menu$1.RadioGroup;
1194
+ RadioItem: typeof Menu$1.RadioItem;
1195
+ RadioItemIndicator: typeof Menu$1.RadioItemIndicator;
1196
+ CheckboxItem: typeof Menu$1.CheckboxItem;
1197
+ CheckboxItemIndicator: typeof Menu$1.CheckboxItemIndicator;
1198
+ SubmenuTrigger: typeof Menu$1.SubmenuTrigger;
1199
+ Separator: typeof Menu$1.Separator;
1200
+ Combobox: ForwardRefExoticComponent<MenuComboboxProps & RefAttributes<HTMLDivElement>>;
1201
+ };
1202
+
1203
+ /** @public */
1204
+ declare const Menu: MenuComponent;
1205
+
1206
+ /** @public */
1207
+ declare const ScrollArea: {
1208
+ Root: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Root.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1209
+ Viewport: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Viewport.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1210
+ Scrollbar: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Scrollbar.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1211
+ Thumb: react.ForwardRefExoticComponent<Omit<ScrollArea$1.Thumb.Props & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1212
+ };
1213
+
1214
+ /** @public */
1215
+ interface SearchFieldProps extends SearchFieldProps$1, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
1216
+ /**
1217
+ * An icon to render before the input
1218
+ */
1219
+ icon?: ReactNode | false;
1220
+ /**
1221
+ * The size of the text field
1222
+ * @defaultValue 'medium'
1223
+ */
1224
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
1225
+ /**
1226
+ * The placeholder text for the input
1227
+ */
1228
+ placeholder?: string;
1229
+ }
1230
+
1231
+ /** @public */
1232
+ declare const SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<HTMLDivElement>>;
1233
+
1234
+ /** @public */
1235
+ interface LinkProps extends LinkProps$1 {
1236
+ variant?: TextVariants | Partial<Record<Breakpoint, TextVariants>>;
1237
+ weight?: TextWeights | Partial<Record<Breakpoint, TextWeights>>;
1238
+ color?: TextColors | TextColorStatus | Partial<Record<Breakpoint, TextColors | TextColorStatus>>;
1239
+ truncate?: boolean;
1240
+ }
1241
+
1242
+ /** @public */
1243
+ declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
1244
+
1245
+ /** @public */
1246
+ interface SelectProps extends SelectProps$1<{
1247
+ name: string;
1248
+ value: string;
1249
+ }>, Omit<FieldLabelProps, 'htmlFor' | 'id'> {
1250
+ /**
1251
+ * An icon to render before the input
1252
+ */
1253
+ icon?: ReactNode;
1254
+ /**
1255
+ * The size of the select field
1256
+ * @defaultValue 'medium'
1257
+ */
1258
+ size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
1259
+ /**
1260
+ * The options of the select field
1261
+ */
1262
+ options?: Array<{
1263
+ value: string;
1264
+ label: string;
1265
+ disabled?: boolean;
1266
+ }>;
1267
+ }
1268
+
1269
+ /** @public */
1270
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>>;
1271
+
1272
+ /** @public */
1273
+ interface SkeletonProps extends ComponentProps<'div'> {
1274
+ width?: number | string;
1275
+ height?: number | string;
1276
+ rounded?: boolean;
1277
+ }
1278
+
1279
+ /** @public */
1280
+ declare const Skeleton: (props: SkeletonProps) => react_jsx_runtime.JSX.Element;
1281
+
1282
+ /** @public */
1283
+ interface SwitchProps extends SwitchProps$1 {
1284
+ /**
1285
+ * The label of the switch
1286
+ */
1287
+ label?: string;
1288
+ }
1289
+
1290
+ /** @public */
1291
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLLabelElement>>;
1292
+
1293
+ /** @public */
1294
+ declare const marginPropDefs: (spacingValues: string[]) => {
1295
+ m: {
1296
+ type: "enum | string";
1297
+ values: string[];
1298
+ className: string;
1299
+ customProperties: "--m"[];
1300
+ responsive: true;
1301
+ };
1302
+ mx: {
1303
+ type: "enum | string";
1304
+ values: string[];
1305
+ className: string;
1306
+ customProperties: "--mx"[];
1307
+ responsive: true;
1308
+ };
1309
+ my: {
1310
+ type: "enum | string";
1311
+ values: string[];
1312
+ className: string;
1313
+ customProperties: "--my"[];
1314
+ responsive: true;
1315
+ };
1316
+ mt: {
1317
+ type: "enum | string";
1318
+ values: string[];
1319
+ className: string;
1320
+ customProperties: "--mt"[];
1321
+ responsive: true;
1322
+ };
1323
+ mr: {
1324
+ type: "enum | string";
1325
+ values: string[];
1326
+ className: string;
1327
+ customProperties: "--mr"[];
1328
+ responsive: true;
1329
+ };
1330
+ mb: {
1331
+ type: "enum | string";
1332
+ values: string[];
1333
+ className: string;
1334
+ customProperties: "--mb"[];
1335
+ responsive: true;
1336
+ };
1337
+ ml: {
1338
+ type: "enum | string";
1339
+ values: string[];
1340
+ className: string;
1341
+ customProperties: "--ml"[];
1342
+ responsive: true;
1343
+ };
1344
+ };
1345
+ /** @public */
1346
+ type MarginProps = GetPropDefTypes<typeof marginPropDefs>;
1347
+
1348
+ /** @public */
1349
+ declare const paddingPropDefs: (spacingValues: string[]) => {
1350
+ p: {
1351
+ type: "enum | string";
1352
+ className: string;
1353
+ customProperties: "--p"[];
1354
+ values: string[];
1355
+ responsive: true;
1356
+ };
1357
+ px: {
1358
+ type: "enum | string";
1359
+ className: string;
1360
+ customProperties: "--px"[];
1361
+ values: string[];
1362
+ responsive: true;
1363
+ };
1364
+ py: {
1365
+ type: "enum | string";
1366
+ className: string;
1367
+ customProperties: "--py"[];
1368
+ values: string[];
1369
+ responsive: true;
1370
+ };
1371
+ pt: {
1372
+ type: "enum | string";
1373
+ className: string;
1374
+ customProperties: "--pt"[];
1375
+ values: string[];
1376
+ responsive: true;
1377
+ };
1378
+ pr: {
1379
+ type: "enum | string";
1380
+ className: string;
1381
+ customProperties: "--pr"[];
1382
+ values: string[];
1383
+ responsive: true;
1384
+ };
1385
+ pb: {
1386
+ type: "enum | string";
1387
+ className: string;
1388
+ customProperties: "--pb"[];
1389
+ values: string[];
1390
+ responsive: true;
1391
+ };
1392
+ pl: {
1393
+ type: "enum | string";
1394
+ className: string;
1395
+ customProperties: "--pl"[];
1396
+ values: string[];
1397
+ responsive: true;
1398
+ };
1399
+ };
1400
+ /** @public */
1401
+ type PaddingProps = GetPropDefTypes<typeof paddingPropDefs>;
1402
+
1403
+ /** @public */
1404
+ declare const useBreakpoint: () => {
1405
+ breakpoint: Breakpoint;
1406
+ up: (key: Breakpoint) => boolean;
1407
+ down: (key: Breakpoint) => boolean;
1408
+ };
1409
+
1410
+ export { type AlignItems, type ArbitraryStylingPropDef, Avatar, type AvatarProps, type BooleanPropDef, type Border, type BorderRadius, Box, type BoxOwnProps, type BoxProps, type Breakpoint, Button, ButtonIcon, type ButtonIconProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardProps, Checkbox, type CheckboxProps, type ClassNamesMap, Collapsible, type Columns, type ComponentClassNames, type ComponentDefinition, type ComponentDefinitionName, Container, type ContainerProps, type DataAttributeValues, type DataAttributesMap, DataTable, type DataTablePaginationProps, type DataTableRootProps, type DataTableTableProps, type Display, type DisplayProps, type EnumOrStringPropDef, type EnumPropDef, FieldLabel, type FieldLabelProps, Flex, type FlexDirection, type FlexOwnProps, type FlexProps, type FlexWrap, type GapProps, type GetPropDefType, type GetPropDefTypes, Grid, type GridItemOwnProps, type GridItemProps, type GridOwnProps, type GridProps, Header, type HeaderBreadcrumb, type HeaderMenuItem, HeaderPage, type HeaderPageProps, type HeaderProps, type HeaderTab, type HeightProps, Icon, IconContext, type IconContextProps, type IconMap, type IconNames, type IconProps, IconProvider, type IconProviderProps, type JustifyContent, Link, type LinkProps, type MarginProps, Menu, type MenuComboboxOption, type MenuComboboxProps, type MenuComponent, type NonStylingPropDef, type PaddingProps, type PositionProps, type PropDef, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type ReactNodePropDef, type RegularPropDef, type Responsive, type ResponsivePropDef, ScrollArea, SearchField, type SearchFieldProps, Select, type SelectProps, Skeleton, type SkeletonProps, type Space, type SpaceProps, type StringPropDef, type StylingPropDef, Switch, type SwitchProps, Tab, TabList, type TabListProps, type TabMatchStrategy, TabPanel, type TabPanelProps, type TabProps, Table, type TableCellLinkProps, type TableCellProfileProps, type TableCellTextProps, Tabs, type TabsProps, Text, type TextColorStatus, type TextColors, TextField, type TextFieldProps, type TextOwnProps, type TextProps, type TextVariants, type TextWeights, Tooltip, type TooltipProps, TooltipTrigger, type UtilityProps, type WidthProps, boxPropDefs, breakpoints, componentDefinitions, displayPropDefs, flexPropDefs, gapPropDefs, gridItemPropDefs, gridPropDefs, heightPropDefs, icons, marginPropDefs, paddingPropDefs, positionPropDefs, useBreakpoint, useIcons, widthPropDefs };