liquid-glass-for-react 0.0.4 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +255 -66
  3. package/dist/index.cjs +2 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +765 -0
  6. package/dist/index.d.ts +765 -2
  7. package/dist/index.js +2 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/styles.css +941 -0
  10. package/package.json +67 -36
  11. package/dist/App.d.ts +0 -3
  12. package/dist/App.d.ts.map +0 -1
  13. package/dist/components/Alert/Alert.d.ts +0 -7
  14. package/dist/components/Alert/Alert.d.ts.map +0 -1
  15. package/dist/components/Alert/index.d.ts +0 -2
  16. package/dist/components/Alert/index.d.ts.map +0 -1
  17. package/dist/components/Badge/Badge.d.ts +0 -7
  18. package/dist/components/Badge/Badge.d.ts.map +0 -1
  19. package/dist/components/Badge/index.d.ts +0 -2
  20. package/dist/components/Badge/index.d.ts.map +0 -1
  21. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  22. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  23. package/dist/components/Breadcrumbs/index.d.ts +0 -2
  24. package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
  25. package/dist/components/Button/Button.d.ts +0 -11
  26. package/dist/components/Button/Button.d.ts.map +0 -1
  27. package/dist/components/Button/index.d.ts +0 -2
  28. package/dist/components/Button/index.d.ts.map +0 -1
  29. package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -6
  30. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +0 -1
  31. package/dist/components/ButtonGroup/index.d.ts +0 -2
  32. package/dist/components/ButtonGroup/index.d.ts.map +0 -1
  33. package/dist/components/Calendar/Calendar.d.ts +0 -5
  34. package/dist/components/Calendar/Calendar.d.ts.map +0 -1
  35. package/dist/components/Calendar/index.d.ts +0 -2
  36. package/dist/components/Calendar/index.d.ts.map +0 -1
  37. package/dist/components/Card/Card.d.ts +0 -7
  38. package/dist/components/Card/Card.d.ts.map +0 -1
  39. package/dist/components/Card/CardBody.d.ts +0 -6
  40. package/dist/components/Card/CardBody.d.ts.map +0 -1
  41. package/dist/components/Card/CardFooter.d.ts +0 -6
  42. package/dist/components/Card/CardFooter.d.ts.map +0 -1
  43. package/dist/components/Card/CardHeader.d.ts +0 -14
  44. package/dist/components/Card/CardHeader.d.ts.map +0 -1
  45. package/dist/components/Card/index.d.ts +0 -3
  46. package/dist/components/Card/index.d.ts.map +0 -1
  47. package/dist/components/Checkbox/Checkbox.d.ts +0 -7
  48. package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
  49. package/dist/components/Checkbox/index.d.ts +0 -2
  50. package/dist/components/Checkbox/index.d.ts.map +0 -1
  51. package/dist/components/Chip/Chip.d.ts +0 -6
  52. package/dist/components/Chip/Chip.d.ts.map +0 -1
  53. package/dist/components/Chip/index.d.ts +0 -2
  54. package/dist/components/Chip/index.d.ts.map +0 -1
  55. package/dist/components/Code/Code.d.ts +0 -6
  56. package/dist/components/Code/Code.d.ts.map +0 -1
  57. package/dist/components/Code/index.d.ts +0 -2
  58. package/dist/components/Code/index.d.ts.map +0 -1
  59. package/dist/components/DatePicker/DatePicker.d.ts +0 -2
  60. package/dist/components/DatePicker/DatePicker.d.ts.map +0 -1
  61. package/dist/components/DatePicker/index.d.ts +0 -2
  62. package/dist/components/DatePicker/index.d.ts.map +0 -1
  63. package/dist/components/Dropdown/Dropdown.d.ts +0 -2
  64. package/dist/components/Dropdown/Dropdown.d.ts.map +0 -1
  65. package/dist/components/Dropdown/index.d.ts +0 -2
  66. package/dist/components/Dropdown/index.d.ts.map +0 -1
  67. package/dist/components/Input/Input.d.ts +0 -3
  68. package/dist/components/Input/Input.d.ts.map +0 -1
  69. package/dist/components/Modal/Modal.d.ts +0 -9
  70. package/dist/components/Modal/Modal.d.ts.map +0 -1
  71. package/dist/components/Modal/index.d.ts +0 -2
  72. package/dist/components/Modal/index.d.ts.map +0 -1
  73. package/dist/components/Pagination/Pagination.d.ts +0 -7
  74. package/dist/components/Pagination/Pagination.d.ts.map +0 -1
  75. package/dist/components/Pagination/index.d.ts +0 -2
  76. package/dist/components/Pagination/index.d.ts.map +0 -1
  77. package/dist/components/Radio/Radio.d.ts +0 -8
  78. package/dist/components/Radio/Radio.d.ts.map +0 -1
  79. package/dist/components/Radio/index.d.ts +0 -2
  80. package/dist/components/Radio/index.d.ts.map +0 -1
  81. package/dist/components/index.d.ts +0 -16
  82. package/dist/components/index.d.ts.map +0 -1
  83. package/dist/liquid-glass-for-react.es.js +0 -945
  84. package/dist/liquid-glass-for-react.umd.js +0 -133
  85. package/dist/main.d.ts +0 -1
  86. package/dist/main.d.ts.map +0 -1
  87. package/dist/vite.svg +0 -1
@@ -0,0 +1,765 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, CSSProperties, ReactNode, ElementType, RefObject, Dispatch, SetStateAction, useEffect, ButtonHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes, ImgHTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, ReactElement, TextareaHTMLAttributes, AnchorHTMLAttributes, ChangeEvent } from 'react';
3
+
4
+ type GlassVariant = "regular" | "clear" | "prominent" | "tinted";
5
+ type GlassSize = "sm" | "md" | "lg" | "xl";
6
+ type GlassTone = "neutral" | "accent" | "success" | "warning" | "danger" | "info";
7
+ interface GlassStyleProperties extends CSSProperties {
8
+ "--lg-accent"?: string;
9
+ "--lg-tint"?: string;
10
+ "--lg-radius"?: string;
11
+ "--lg-glass-radius"?: string;
12
+ "--lg-blur"?: string;
13
+ "--lg-glass-blur"?: string;
14
+ "--lg-saturation"?: string;
15
+ "--lg-glass-saturation"?: string;
16
+ "--lg-pointer-x"?: string;
17
+ "--lg-pointer-y"?: string;
18
+ "--lg-motion-duration-standard"?: string;
19
+ "--lg-motion-press-scale"?: string | number;
20
+ "--lg-motion-press-scale-subtle"?: string | number;
21
+ }
22
+ type SlotClassNames<Slot extends string> = Partial<Record<Slot, string>>;
23
+ type SlotStyles<Slot extends string> = Partial<Record<Slot, CSSProperties>>;
24
+ /** Per-instance customization. Theme tokens remain the inherited global fallback. */
25
+ interface ComponentCustomizationProps<Slot extends string = "root"> {
26
+ classNames?: SlotClassNames<Slot>;
27
+ styles?: SlotStyles<Slot>;
28
+ motionDuration?: number | string;
29
+ }
30
+ interface CommonProps {
31
+ className?: string;
32
+ children?: ReactNode;
33
+ style?: GlassStyleProperties;
34
+ }
35
+ interface PolymorphicProps extends CommonProps {
36
+ as?: ElementType;
37
+ id?: string;
38
+ role?: string;
39
+ title?: string;
40
+ tabIndex?: number;
41
+ "aria-label"?: string;
42
+ "aria-labelledby"?: string;
43
+ "aria-describedby"?: string;
44
+ "aria-hidden"?: boolean | "true" | "false";
45
+ "data-testid"?: string;
46
+ onClick?: HTMLAttributes<HTMLElement>["onClick"];
47
+ }
48
+ interface GlassSurfaceProps extends HTMLAttributes<HTMLDivElement>, ComponentCustomizationProps<"root" | "light" | "content"> {
49
+ variant?: GlassVariant;
50
+ tone?: GlassTone;
51
+ interactive?: boolean;
52
+ radius?: string;
53
+ blur?: number;
54
+ saturation?: number;
55
+ tint?: string;
56
+ refraction?: boolean;
57
+ pressScale?: number;
58
+ }
59
+ type Placement = "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
60
+
61
+ type ColorScheme = "light" | "dark" | "auto";
62
+ interface GlassConfig {
63
+ colorScheme: ColorScheme;
64
+ resolvedColorScheme: "light" | "dark";
65
+ accent: string;
66
+ locale?: string;
67
+ reduceTransparency: boolean;
68
+ reduceMotion: boolean;
69
+ }
70
+ interface GlassProviderProps extends HTMLAttributes<HTMLDivElement> {
71
+ children: ReactNode;
72
+ colorScheme?: ColorScheme;
73
+ accent?: string;
74
+ locale?: string;
75
+ reduceTransparency?: boolean;
76
+ reduceMotion?: boolean;
77
+ }
78
+ declare function GlassProvider({ children, colorScheme, accent, locale, reduceTransparency, reduceMotion, className, style, ...props }: GlassProviderProps): react.JSX.Element;
79
+ declare function useGlass(): GlassConfig;
80
+
81
+ declare const useSafeLayoutEffect: typeof useEffect;
82
+ declare function useControllableState<T>(controlled: T | undefined, defaultValue: T, onChange?: (value: T) => void): [T, Dispatch<SetStateAction<T>>];
83
+ declare function useClickAway<T extends HTMLElement>(handler: (event: MouseEvent | TouchEvent) => void): RefObject<T | null>;
84
+ declare function useMediaQuery(query: string, options?: {
85
+ defaultMatches?: boolean;
86
+ }): boolean;
87
+ declare function useFocusTrap<T extends HTMLElement>(open: boolean, mounted: boolean, visible: boolean, onEscape?: () => void): RefObject<T | null>;
88
+ declare function useMergedStateMap<T extends string | number>(initial?: readonly T[]): {
89
+ selected: Set<T>;
90
+ toggle: (item: T) => void;
91
+ clear: () => void;
92
+ };
93
+
94
+ declare const Glass: react.ForwardRefExoticComponent<GlassSurfaceProps & react.RefAttributes<HTMLDivElement>>;
95
+ declare const Title: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
96
+ declare const Description: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
97
+ declare const Content: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
98
+ declare const Actions: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
99
+ declare const Header: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
100
+ declare const Footer: react.ForwardRefExoticComponent<PolymorphicProps & Omit<HTMLAttributes<HTMLElement>, keyof PolymorphicProps> & react.RefAttributes<HTMLElement>>;
101
+ declare const VisuallyHidden: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
102
+ declare const glassStyle: (properties: GlassStyleProperties) => CSSProperties;
103
+
104
+ type ButtonSlot = "root" | "light" | "ripples" | "content" | "label" | "leading" | "trailing";
105
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, ComponentCustomizationProps<ButtonSlot> {
106
+ variant?: GlassVariant;
107
+ tone?: GlassTone;
108
+ size?: GlassSize;
109
+ loading?: boolean;
110
+ block?: boolean;
111
+ leading?: ReactNode;
112
+ trailing?: ReactNode;
113
+ radius?: number | string;
114
+ blur?: number;
115
+ pressScale?: number;
116
+ }
117
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
118
+ interface IconButtonProps extends Omit<ButtonProps, "leading" | "trailing"> {
119
+ "aria-label": string;
120
+ }
121
+ declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
122
+ interface ButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
123
+ orientation?: "horizontal" | "vertical";
124
+ attached?: boolean;
125
+ size?: GlassSize;
126
+ }
127
+ declare const ButtonGroup: react.ForwardRefExoticComponent<ButtonGroupProps & react.RefAttributes<HTMLDivElement>>;
128
+ interface FabProps extends ButtonProps {
129
+ extended?: boolean;
130
+ }
131
+ declare const Fab: react.ForwardRefExoticComponent<FabProps & react.RefAttributes<HTMLButtonElement>>;
132
+ interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
133
+ label?: ReactNode;
134
+ helperText?: ReactNode;
135
+ error?: boolean;
136
+ size?: GlassSize;
137
+ leading?: ReactNode;
138
+ trailing?: ReactNode;
139
+ block?: boolean;
140
+ }
141
+ declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
142
+ interface NumberFieldProps extends Omit<TextFieldProps, "type" | "onChange" | "value" | "defaultValue"> {
143
+ value?: number;
144
+ defaultValue?: number;
145
+ min?: number;
146
+ max?: number;
147
+ step?: number;
148
+ onValueChange?: (value: number) => void;
149
+ }
150
+ declare const NumberField: react.ForwardRefExoticComponent<NumberFieldProps & react.RefAttributes<HTMLInputElement>>;
151
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
152
+ label?: ReactNode;
153
+ description?: ReactNode;
154
+ indeterminate?: boolean;
155
+ size?: "sm" | "md" | "lg";
156
+ }
157
+ declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
158
+ interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
159
+ name?: string;
160
+ value?: string;
161
+ defaultValue?: string;
162
+ onValueChange?: (value: string) => void;
163
+ orientation?: "horizontal" | "vertical";
164
+ disabled?: boolean;
165
+ }
166
+ declare function RadioGroup({ name: providedName, value: controlled, defaultValue, onValueChange, orientation, disabled, className, children, ...props }: RadioGroupProps): react.JSX.Element;
167
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> {
168
+ label?: ReactNode;
169
+ description?: ReactNode;
170
+ value: string;
171
+ size?: "sm" | "md" | "lg";
172
+ }
173
+ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
174
+ type SwitchSlot = "root" | "input" | "track" | "thumb" | "label" | "description";
175
+ interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, ComponentCustomizationProps<SwitchSlot> {
176
+ label?: ReactNode;
177
+ description?: ReactNode;
178
+ size?: "sm" | "md" | "lg";
179
+ trackColor?: string;
180
+ checkedColor?: string;
181
+ thumbColor?: string;
182
+ radius?: number | string;
183
+ }
184
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
185
+ type SliderSlot = "root" | "header" | "value" | "control" | "track" | "fill" | "thumb" | "input";
186
+ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, ComponentCustomizationProps<SliderSlot> {
187
+ label?: ReactNode;
188
+ showValue?: boolean;
189
+ size?: "sm" | "md" | "lg";
190
+ formatValue?: (value: number) => ReactNode;
191
+ trackColor?: string;
192
+ fillColor?: string;
193
+ thumbColor?: string;
194
+ thumbSize?: number | string;
195
+ trackHeight?: number | string;
196
+ radius?: number | string;
197
+ }
198
+ declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
199
+ interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
200
+ label?: ReactNode;
201
+ helperText?: ReactNode;
202
+ error?: boolean;
203
+ block?: boolean;
204
+ }
205
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
206
+ interface RatingProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
207
+ value?: number;
208
+ defaultValue?: number;
209
+ max?: number;
210
+ precision?: 0.5 | 1;
211
+ readOnly?: boolean;
212
+ disabled?: boolean;
213
+ onValueChange?: (value: number) => void;
214
+ emptyIcon?: ReactNode;
215
+ icon?: ReactNode;
216
+ label?: string;
217
+ }
218
+ declare function Rating({ value: controlled, defaultValue, max, precision, readOnly, disabled, onValueChange, emptyIcon, icon, label, className, ...props }: RatingProps): react.JSX.Element;
219
+ interface AutocompleteProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
220
+ options: readonly T[];
221
+ value?: T | null;
222
+ defaultValue?: T | null;
223
+ onValueChange?: (value: T | null) => void;
224
+ getOptionLabel?: (option: T) => string;
225
+ isOptionEqual?: (option: T, value: T) => boolean;
226
+ label?: ReactNode;
227
+ placeholder?: string;
228
+ noOptionsText?: ReactNode;
229
+ disabled?: boolean;
230
+ }
231
+ declare function Autocomplete<T>({ options, value: controlled, defaultValue, onValueChange, getOptionLabel, isOptionEqual, label, placeholder, noOptionsText, disabled, className, ...props }: AutocompleteProps<T>): react.JSX.Element;
232
+ interface ToggleButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
233
+ value?: string | string[];
234
+ defaultValue?: string | string[];
235
+ exclusive?: boolean;
236
+ disabled?: boolean;
237
+ onValueChange?: (value: string | string[]) => void;
238
+ }
239
+ declare function ToggleButtonGroup({ value: controlled, defaultValue, exclusive, disabled, onValueChange, className, children, ...props }: ToggleButtonGroupProps): react.JSX.Element;
240
+ interface ToggleButtonProps extends Omit<ButtonProps, "value"> {
241
+ value: string;
242
+ selected?: boolean;
243
+ onSelectedChange?: (selected: boolean) => void;
244
+ }
245
+ declare const ToggleButton: react.ForwardRefExoticComponent<ToggleButtonProps & react.RefAttributes<HTMLButtonElement>>;
246
+ interface TransferItem {
247
+ id: string;
248
+ label: ReactNode;
249
+ disabled?: boolean;
250
+ }
251
+ interface TransferListProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
252
+ items: readonly TransferItem[];
253
+ value?: readonly string[];
254
+ defaultValue?: readonly string[];
255
+ onValueChange?: (value: string[]) => void;
256
+ availableLabel?: ReactNode;
257
+ selectedLabel?: ReactNode;
258
+ }
259
+ declare function TransferList({ items, value: controlled, defaultValue, onValueChange, availableLabel, selectedLabel, className, ...props }: TransferListProps): react.JSX.Element;
260
+
261
+ interface AvatarProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
262
+ src?: string;
263
+ alt?: string;
264
+ fallback?: ReactNode;
265
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
266
+ shape?: "circle" | "rounded" | "square";
267
+ imgProps?: Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "alt">;
268
+ }
269
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
270
+ interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
271
+ max?: number;
272
+ size?: AvatarProps["size"];
273
+ }
274
+ declare const AvatarGroup: react.ForwardRefExoticComponent<AvatarGroupProps & react.RefAttributes<HTMLDivElement>>;
275
+ interface BadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "content"> {
276
+ content?: ReactNode;
277
+ tone?: GlassTone;
278
+ variant?: "standard" | "dot";
279
+ placement?: "top-start" | "top-end" | "bottom-start" | "bottom-end";
280
+ invisible?: boolean;
281
+ max?: number;
282
+ }
283
+ declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
284
+ interface ChipProps extends HTMLAttributes<HTMLSpanElement> {
285
+ label?: ReactNode;
286
+ tone?: GlassTone;
287
+ variant?: "filled" | "outlined" | "glass";
288
+ size?: "sm" | "md";
289
+ leading?: ReactNode;
290
+ onDelete?: () => void;
291
+ disabled?: boolean;
292
+ clickable?: boolean;
293
+ }
294
+ declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLSpanElement>>;
295
+ interface DividerProps extends HTMLAttributes<HTMLDivElement> {
296
+ orientation?: "horizontal" | "vertical";
297
+ inset?: boolean;
298
+ decorative?: boolean;
299
+ }
300
+ declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
301
+ interface IconProps extends HTMLAttributes<HTMLSpanElement> {
302
+ size?: number | string;
303
+ color?: string;
304
+ label?: string;
305
+ }
306
+ declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
307
+ interface ListProps extends HTMLAttributes<HTMLUListElement> {
308
+ divided?: boolean;
309
+ inset?: boolean;
310
+ }
311
+ declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLUListElement>>;
312
+ interface ListItemProps extends HTMLAttributes<HTMLLIElement> {
313
+ leading?: ReactNode;
314
+ trailing?: ReactNode;
315
+ secondary?: ReactNode;
316
+ selected?: boolean;
317
+ disabled?: boolean;
318
+ interactive?: boolean;
319
+ }
320
+ declare const ListItem: react.ForwardRefExoticComponent<ListItemProps & react.RefAttributes<HTMLLIElement>>;
321
+ declare const ListSubheader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLLIElement> & react.RefAttributes<HTMLLIElement>>;
322
+ interface TableContainerProps extends HTMLAttributes<HTMLDivElement> {
323
+ glass?: boolean;
324
+ }
325
+ declare const TableContainer: react.ForwardRefExoticComponent<TableContainerProps & react.RefAttributes<HTMLDivElement>>;
326
+ declare const Table: react.ForwardRefExoticComponent<TableHTMLAttributes<HTMLTableElement> & react.RefAttributes<HTMLTableElement>>;
327
+ declare const TableHead: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
328
+ declare const TableBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
329
+ declare const TableFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
330
+ declare const TableRow: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
331
+ declare const TableHeader: react.ForwardRefExoticComponent<ThHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
332
+ declare const TableCell: react.ForwardRefExoticComponent<TdHTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
333
+ declare const TableCaption: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & react.RefAttributes<HTMLTableCaptionElement>>;
334
+ interface TooltipProps extends Omit<HTMLAttributes<HTMLSpanElement>, "content"> {
335
+ content: ReactNode;
336
+ placement?: Placement;
337
+ delay?: number;
338
+ disabled?: boolean;
339
+ }
340
+ declare const Tooltip: react.ForwardRefExoticComponent<TooltipProps & react.RefAttributes<HTMLSpanElement>>;
341
+ type TypographyVariant = "largeTitle" | "title1" | "title2" | "title3" | "headline" | "body" | "callout" | "subheadline" | "footnote" | "caption1" | "caption2";
342
+ interface TypographyProps extends PolymorphicProps {
343
+ variant?: TypographyVariant;
344
+ color?: "primary" | "secondary" | "tertiary" | "accent" | "inherit";
345
+ weight?: "regular" | "medium" | "semibold" | "bold";
346
+ truncate?: boolean;
347
+ }
348
+ declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLElement>>;
349
+
350
+ interface PortalProps {
351
+ children: ReactNode;
352
+ container?: Element | DocumentFragment | null;
353
+ disabled?: boolean;
354
+ }
355
+ declare function Portal({ children, container, disabled }: PortalProps): ReactNode;
356
+ interface NoSsrProps {
357
+ children: ReactNode;
358
+ fallback?: ReactNode;
359
+ defer?: boolean;
360
+ }
361
+ declare function NoSsr({ children, fallback, defer }: NoSsrProps): ReactNode;
362
+ interface BackdropProps extends HTMLAttributes<HTMLDivElement> {
363
+ open?: boolean;
364
+ blur?: boolean;
365
+ invisible?: boolean;
366
+ }
367
+ declare const Backdrop: react.ForwardRefExoticComponent<BackdropProps & react.RefAttributes<HTMLDivElement>>;
368
+ interface ModalProps extends HTMLAttributes<HTMLDivElement> {
369
+ open: boolean;
370
+ onClose?: (reason: "escape" | "backdrop") => void;
371
+ closeOnEscape?: boolean;
372
+ closeOnBackdrop?: boolean;
373
+ keepMounted?: boolean;
374
+ portal?: boolean;
375
+ container?: Element | DocumentFragment | null;
376
+ backdrop?: boolean;
377
+ motionDuration?: number;
378
+ }
379
+ declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDivElement>>;
380
+ interface PopperProps extends HTMLAttributes<HTMLDivElement> {
381
+ open: boolean;
382
+ anchor: HTMLElement | null;
383
+ placement?: Placement;
384
+ offset?: number;
385
+ matchAnchorWidth?: boolean;
386
+ portal?: boolean;
387
+ container?: Element | DocumentFragment | null;
388
+ }
389
+ declare const Popper: react.ForwardRefExoticComponent<PopperProps & react.RefAttributes<HTMLDivElement>>;
390
+ interface PopoverProps extends PopperProps {
391
+ onClose?: () => void;
392
+ glass?: boolean;
393
+ }
394
+ declare const Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
395
+ interface ClickAwayListenerProps {
396
+ children: ReactElement;
397
+ onClickAway: (event: MouseEvent | TouchEvent) => void;
398
+ }
399
+ declare function ClickAwayListener({ children, onClickAway }: ClickAwayListenerProps): ReactElement<unknown, string | react.JSXElementConstructor<any>>;
400
+ interface TextareaAutosizeProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
401
+ minRows?: number;
402
+ maxRows?: number;
403
+ }
404
+ declare const TextareaAutosize: react.ForwardRefExoticComponent<TextareaAutosizeProps & react.RefAttributes<HTMLTextAreaElement>>;
405
+ interface TransitionProps extends HTMLAttributes<HTMLDivElement> {
406
+ in: boolean;
407
+ duration?: number;
408
+ appear?: boolean;
409
+ unmountOnExit?: boolean;
410
+ type?: "fade" | "scale" | "slide-up" | "slide-down";
411
+ }
412
+ declare const Transition: react.ForwardRefExoticComponent<TransitionProps & react.RefAttributes<HTMLDivElement>>;
413
+ interface CssBaselineProps {
414
+ colorScheme?: "light" | "dark" | "auto";
415
+ }
416
+ declare function CssBaseline({ colorScheme }: CssBaselineProps): react.JSX.Element;
417
+ interface InitColorSchemeScriptProps {
418
+ attribute?: string;
419
+ storageKey?: string;
420
+ defaultScheme?: "light" | "dark" | "auto";
421
+ }
422
+ declare function InitColorSchemeScript({ attribute, storageKey, defaultScheme, }: InitColorSchemeScriptProps): react.JSX.Element;
423
+
424
+ interface AlertProps extends HTMLAttributes<HTMLDivElement> {
425
+ tone?: GlassTone;
426
+ variant?: "glass" | "soft" | "outlined";
427
+ icon?: ReactNode | false;
428
+ onClose?: () => void;
429
+ action?: ReactNode;
430
+ }
431
+ declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
432
+ interface DialogProps extends Omit<ModalProps, "backdrop"> {
433
+ size?: "sm" | "md" | "lg" | "fullscreen";
434
+ label?: string;
435
+ labelledBy?: string;
436
+ describedBy?: string;
437
+ }
438
+ declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
439
+ interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
440
+ value?: number;
441
+ min?: number;
442
+ max?: number;
443
+ variant?: "linear" | "circular";
444
+ size?: number | string;
445
+ thickness?: number;
446
+ label?: string;
447
+ showValue?: boolean;
448
+ tone?: GlassTone;
449
+ }
450
+ declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
451
+ declare const CircularProgress: react.ForwardRefExoticComponent<Omit<ProgressProps, "variant"> & react.RefAttributes<HTMLDivElement>>;
452
+ declare const LinearProgress: react.ForwardRefExoticComponent<Omit<ProgressProps, "variant"> & react.RefAttributes<HTMLDivElement>>;
453
+ interface SkeletonProps extends HTMLAttributes<HTMLSpanElement> {
454
+ variant?: "text" | "rectangular" | "rounded" | "circular";
455
+ width?: number | string;
456
+ height?: number | string;
457
+ animation?: "pulse" | "wave" | false;
458
+ lines?: number;
459
+ }
460
+ declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLSpanElement>>;
461
+ interface SnackbarProps extends HTMLAttributes<HTMLDivElement> {
462
+ open: boolean;
463
+ message?: ReactNode;
464
+ onClose?: (reason: "timeout" | "escape" | "close") => void;
465
+ duration?: number | null;
466
+ action?: ReactNode;
467
+ placement?: "top-start" | "top" | "top-end" | "bottom-start" | "bottom" | "bottom-end";
468
+ portal?: boolean;
469
+ }
470
+ declare const Snackbar: react.ForwardRefExoticComponent<SnackbarProps & react.RefAttributes<HTMLDivElement>>;
471
+
472
+ interface PaperProps extends GlassSurfaceProps {
473
+ elevation?: 0 | 1 | 2 | 3 | 4;
474
+ }
475
+ declare const Paper: react.ForwardRefExoticComponent<PaperProps & react.RefAttributes<HTMLDivElement>>;
476
+ interface CardProps extends GlassSurfaceProps {
477
+ orientation?: "vertical" | "horizontal";
478
+ selected?: boolean;
479
+ disabled?: boolean;
480
+ }
481
+ declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
482
+ interface AppBarProps extends GlassSurfaceProps {
483
+ position?: "static" | "sticky" | "fixed";
484
+ edge?: "top" | "bottom";
485
+ safeArea?: boolean;
486
+ }
487
+ declare const AppBar: react.ForwardRefExoticComponent<AppBarProps & react.RefAttributes<HTMLDivElement>>;
488
+ interface AccordionProps extends Omit<GlassSurfaceProps, "onChange" | "defaultValue"> {
489
+ expanded?: boolean;
490
+ defaultExpanded?: boolean;
491
+ onExpandedChange?: (expanded: boolean) => void;
492
+ disabled?: boolean;
493
+ }
494
+ declare const Accordion: react.ForwardRefExoticComponent<AccordionProps & react.RefAttributes<HTMLDivElement>>;
495
+ interface AccordionSummaryProps extends ButtonHTMLAttributes<HTMLButtonElement> {
496
+ indicator?: ReactNode;
497
+ }
498
+ declare const AccordionSummary: react.ForwardRefExoticComponent<AccordionSummaryProps & react.RefAttributes<HTMLButtonElement>>;
499
+ declare const AccordionDetails: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
500
+
501
+ interface BottomNavigationProps extends Omit<GlassSurfaceProps, "onChange" | "defaultValue"> {
502
+ value?: string;
503
+ defaultValue?: string;
504
+ onValueChange?: (value: string) => void;
505
+ showLabels?: boolean;
506
+ /** The compact state can replace the tabs, and the expanded state can reveal a search field or other controls. */
507
+ mode?: "default" | "compact" | "expanded";
508
+ compactContent?: ReactNode;
509
+ expandedContent?: ReactNode;
510
+ accessory?: ReactNode;
511
+ }
512
+ declare const BottomNavigation: react.ForwardRefExoticComponent<BottomNavigationProps & react.RefAttributes<HTMLDivElement>>;
513
+ interface BottomNavigationActionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
514
+ value: string;
515
+ label: ReactNode;
516
+ icon?: ReactNode;
517
+ }
518
+ declare const BottomNavigationAction: react.ForwardRefExoticComponent<BottomNavigationActionProps & react.RefAttributes<HTMLButtonElement>>;
519
+ interface BreadcrumbsProps extends HTMLAttributes<HTMLElement> {
520
+ separator?: ReactNode;
521
+ maxItems?: number;
522
+ itemsBeforeCollapse?: number;
523
+ itemsAfterCollapse?: number;
524
+ }
525
+ declare const Breadcrumbs: react.ForwardRefExoticComponent<BreadcrumbsProps & react.RefAttributes<HTMLElement>>;
526
+ interface DrawerProps extends HTMLAttributes<HTMLDivElement> {
527
+ open: boolean;
528
+ onClose?: () => void;
529
+ anchor?: "left" | "right" | "top" | "bottom";
530
+ variant?: "temporary" | "persistent" | "permanent";
531
+ size?: number | string;
532
+ label?: string;
533
+ motionDuration?: number;
534
+ }
535
+ declare const Drawer: react.ForwardRefExoticComponent<DrawerProps & react.RefAttributes<HTMLDivElement>>;
536
+ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
537
+ underline?: "always" | "hover" | "none";
538
+ color?: "accent" | "primary" | "secondary" | "inherit";
539
+ }
540
+ declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
541
+ interface MenuProps extends HTMLAttributes<HTMLDivElement> {
542
+ open: boolean;
543
+ anchor: HTMLElement | null;
544
+ onClose?: () => void;
545
+ placement?: Placement;
546
+ label?: string;
547
+ }
548
+ declare const Menu: react.ForwardRefExoticComponent<MenuProps & react.RefAttributes<HTMLDivElement>>;
549
+ interface MenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
550
+ leading?: ReactNode;
551
+ trailing?: ReactNode;
552
+ selected?: boolean;
553
+ destructive?: boolean;
554
+ }
555
+ declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLButtonElement>>;
556
+ declare const MenuDivider: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
557
+ declare const Menubar: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
558
+ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange"> {
559
+ count: number;
560
+ page?: number;
561
+ defaultPage?: number;
562
+ onPageChange?: (page: number) => void;
563
+ siblingCount?: number;
564
+ boundaryCount?: number;
565
+ showFirstButton?: boolean;
566
+ showLastButton?: boolean;
567
+ disabled?: boolean;
568
+ }
569
+ declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
570
+ interface SpeedDialProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
571
+ open?: boolean;
572
+ defaultOpen?: boolean;
573
+ onOpenChange?: (open: boolean) => void;
574
+ icon: ReactNode;
575
+ openIcon?: ReactNode;
576
+ label: string;
577
+ direction?: "up" | "down" | "left" | "right";
578
+ }
579
+ declare const SpeedDial: react.ForwardRefExoticComponent<SpeedDialProps & react.RefAttributes<HTMLDivElement>>;
580
+ interface SpeedDialActionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
581
+ icon: ReactNode;
582
+ label: string;
583
+ }
584
+ declare const SpeedDialAction: react.ForwardRefExoticComponent<SpeedDialActionProps & react.RefAttributes<HTMLButtonElement>>;
585
+ interface StepperProps extends HTMLAttributes<HTMLDivElement> {
586
+ activeStep?: number;
587
+ orientation?: "horizontal" | "vertical";
588
+ }
589
+ declare const Stepper: react.ForwardRefExoticComponent<StepperProps & react.RefAttributes<HTMLDivElement>>;
590
+ interface StepProps extends HTMLAttributes<HTMLDivElement> {
591
+ index?: number;
592
+ completed?: boolean;
593
+ disabled?: boolean;
594
+ optional?: ReactNode;
595
+ }
596
+ declare const Step: react.ForwardRefExoticComponent<StepProps & react.RefAttributes<HTMLDivElement>>;
597
+ declare const StepLabel: react.ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
598
+ interface TabsProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
599
+ value?: string;
600
+ defaultValue?: string;
601
+ onValueChange?: (value: string) => void;
602
+ variant?: "standard" | "segmented" | "scrollable";
603
+ label?: string;
604
+ }
605
+ declare const Tabs: react.ForwardRefExoticComponent<TabsProps & react.RefAttributes<HTMLDivElement>>;
606
+ interface TabProps extends ButtonHTMLAttributes<HTMLButtonElement> {
607
+ value: string;
608
+ icon?: ReactNode;
609
+ }
610
+ declare const Tab: react.ForwardRefExoticComponent<TabProps & react.RefAttributes<HTMLButtonElement>>;
611
+ interface TabPanelProps extends HTMLAttributes<HTMLDivElement> {
612
+ value: string;
613
+ keepMounted?: boolean;
614
+ }
615
+ declare const TabPanel: react.ForwardRefExoticComponent<TabPanelProps & react.RefAttributes<HTMLDivElement>>;
616
+
617
+ type BottomSheetCloseReason = "escape" | "backdrop" | "swipe";
618
+ interface BottomSheetProps extends HTMLAttributes<HTMLDivElement> {
619
+ open: boolean;
620
+ onClose?: (reason: BottomSheetCloseReason) => void;
621
+ label?: string;
622
+ labelledBy?: string;
623
+ describedBy?: string;
624
+ maxHeight?: number | string;
625
+ swipeToDismiss?: boolean;
626
+ closeOnEscape?: boolean;
627
+ closeOnBackdrop?: boolean;
628
+ motionDuration?: number;
629
+ container?: ModalProps["container"];
630
+ }
631
+ declare const BottomSheet: react.ForwardRefExoticComponent<BottomSheetProps & react.RefAttributes<HTMLDivElement>>;
632
+
633
+ interface BoxProps extends HTMLAttributes<HTMLElement> {
634
+ as?: ElementType;
635
+ }
636
+ declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
637
+ interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
638
+ maxWidth?: "sm" | "md" | "lg" | "xl" | "full";
639
+ gutters?: boolean;
640
+ }
641
+ declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
642
+ interface GridProps extends HTMLAttributes<HTMLDivElement> {
643
+ columns?: number | string;
644
+ gap?: number | string;
645
+ minItemWidth?: number | string;
646
+ align?: CSSProperties["alignItems"];
647
+ justify?: CSSProperties["justifyItems"];
648
+ }
649
+ declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>>;
650
+ interface GridItemProps extends HTMLAttributes<HTMLDivElement> {
651
+ span?: number | "full";
652
+ rowSpan?: number;
653
+ }
654
+ declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLDivElement>>;
655
+ interface StackProps extends HTMLAttributes<HTMLDivElement> {
656
+ direction?: "row" | "column";
657
+ gap?: number | string;
658
+ align?: CSSProperties["alignItems"];
659
+ justify?: CSSProperties["justifyContent"];
660
+ wrap?: boolean;
661
+ divider?: ReactNode;
662
+ }
663
+ declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLDivElement>>;
664
+ interface ImageListProps extends HTMLAttributes<HTMLUListElement> {
665
+ columns?: number;
666
+ gap?: number | string;
667
+ rowHeight?: number | string;
668
+ variant?: "standard" | "quilted" | "woven";
669
+ }
670
+ declare const ImageList: react.ForwardRefExoticComponent<ImageListProps & react.RefAttributes<HTMLUListElement>>;
671
+ interface ImageListItemProps extends Omit<HTMLAttributes<HTMLLIElement>, "title"> {
672
+ cols?: number;
673
+ rows?: number;
674
+ title?: ReactNode;
675
+ subtitle?: ReactNode;
676
+ action?: ReactNode;
677
+ }
678
+ declare const ImageListItem: react.ForwardRefExoticComponent<ImageListItemProps & react.RefAttributes<HTMLLIElement>>;
679
+ interface MasonryProps extends HTMLAttributes<HTMLDivElement> {
680
+ columns?: number;
681
+ gap?: number | string;
682
+ }
683
+ declare const Masonry: react.ForwardRefExoticComponent<MasonryProps & react.RefAttributes<HTMLDivElement>>;
684
+ interface TimelineProps extends HTMLAttributes<HTMLOListElement> {
685
+ position?: "left" | "right" | "alternate";
686
+ }
687
+ declare const Timeline: react.ForwardRefExoticComponent<TimelineProps & react.RefAttributes<HTMLOListElement>>;
688
+ interface TimelineItemProps extends HTMLAttributes<HTMLLIElement> {
689
+ dot?: ReactNode;
690
+ opposite?: ReactNode;
691
+ connector?: boolean;
692
+ }
693
+ declare const TimelineItem: react.ForwardRefExoticComponent<TimelineItemProps & react.RefAttributes<HTMLLIElement>>;
694
+
695
+ interface DataGridColumn<Row> {
696
+ field: keyof Row & string;
697
+ header: ReactNode;
698
+ width?: number | string;
699
+ sortable?: boolean;
700
+ align?: "left" | "center" | "right";
701
+ render?: (value: Row[keyof Row], row: Row) => ReactNode;
702
+ }
703
+ interface DataGridProps<Row extends {
704
+ id: string | number;
705
+ }> extends Omit<HTMLAttributes<HTMLDivElement>, "onSelect"> {
706
+ rows: readonly Row[];
707
+ columns: readonly DataGridColumn<Row>[];
708
+ selectedRows?: readonly Row["id"][];
709
+ onSelectedRowsChange?: (ids: Row["id"][]) => void;
710
+ emptyText?: ReactNode;
711
+ striped?: boolean;
712
+ }
713
+ declare function DataGrid<Row extends {
714
+ id: string | number;
715
+ }>({ rows, columns, selectedRows, onSelectedRowsChange, emptyText, striped, className, ...props }: DataGridProps<Row>): react.JSX.Element;
716
+ interface DatePickerProps extends Omit<TextFieldProps, "type" | "value" | "defaultValue" | "onChange" | "leading" | "trailing"> {
717
+ value?: string;
718
+ defaultValue?: string;
719
+ onValueChange?: (value: string) => void;
720
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
721
+ open?: boolean;
722
+ defaultOpen?: boolean;
723
+ onOpenChange?: (open: boolean) => void;
724
+ locale?: string;
725
+ firstDayOfWeek?: 0 | 1;
726
+ minuteStep?: number;
727
+ formatValue?: (value: string) => ReactNode;
728
+ }
729
+ declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLInputElement>>;
730
+ declare const TimePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLInputElement>>;
731
+ declare const DateTimePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLInputElement>>;
732
+ interface ChartSeries {
733
+ label: string;
734
+ data: readonly number[];
735
+ color?: string;
736
+ }
737
+ interface ChartProps extends HTMLAttributes<HTMLDivElement> {
738
+ labels?: readonly string[];
739
+ series: readonly ChartSeries[];
740
+ type?: "line" | "bar";
741
+ width?: number;
742
+ height?: number;
743
+ showLegend?: boolean;
744
+ ariaLabel?: string;
745
+ }
746
+ declare const Chart: react.ForwardRefExoticComponent<ChartProps & react.RefAttributes<HTMLDivElement>>;
747
+ interface TreeViewProps extends Omit<HTMLAttributes<HTMLUListElement>, "onSelect"> {
748
+ expanded?: readonly string[];
749
+ defaultExpanded?: readonly string[];
750
+ onExpandedChange?: (ids: string[]) => void;
751
+ selected?: string;
752
+ defaultSelected?: string;
753
+ onSelectedChange?: (id: string) => void;
754
+ label?: string;
755
+ }
756
+ declare const TreeView: react.ForwardRefExoticComponent<TreeViewProps & react.RefAttributes<HTMLUListElement>>;
757
+ interface TreeItemProps extends HTMLAttributes<HTMLLIElement> {
758
+ itemId: string;
759
+ label: ReactNode;
760
+ icon?: ReactNode;
761
+ disabled?: boolean;
762
+ }
763
+ declare const TreeItem: react.ForwardRefExoticComponent<TreeItemProps & react.RefAttributes<HTMLLIElement>>;
764
+
765
+ export { Accordion, AccordionDetails, type AccordionProps, AccordionSummary, type AccordionSummaryProps, Actions, Alert, type AlertProps, AppBar, type AppBarProps, Autocomplete, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Backdrop, type BackdropProps, Badge, type BadgeProps, BottomNavigation, BottomNavigationAction, type BottomNavigationActionProps, type BottomNavigationProps, BottomSheet, type BottomSheetCloseReason, type BottomSheetProps, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSlot, Card, type CardProps, Chart, type ChartProps, type ChartSeries, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, ClickAwayListener, type ClickAwayListenerProps, type ColorScheme, type CommonProps, type ComponentCustomizationProps, Container, type ContainerProps, Content, CssBaseline, type CssBaselineProps, DataGrid, type DataGridColumn, type DataGridProps, DatePicker, type DatePickerProps, DateTimePicker, Description, Dialog, type DialogProps, Divider, type DividerProps, Drawer, type DrawerProps, Fab, type FabProps, Footer, Glass, type GlassConfig, GlassProvider, type GlassProviderProps, type GlassSize, type GlassStyleProperties, type GlassSurfaceProps, type GlassTone, type GlassVariant, Grid, GridItem, type GridItemProps, type GridProps, Header, Icon, IconButton, type IconButtonProps, type IconProps, ImageList, ImageListItem, type ImageListItemProps, type ImageListProps, InitColorSchemeScript, type InitColorSchemeScriptProps, LinearProgress, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, ListSubheader, Masonry, type MasonryProps, Menu, MenuDivider, MenuItem, type MenuItemProps, type MenuProps, Menubar, Modal, type ModalProps, NoSsr, type NoSsrProps, NumberField, type NumberFieldProps, Pagination, type PaginationProps, Paper, type PaperProps, type Placement, type PolymorphicProps, Popover, type PopoverProps, Popper, type PopperProps, Portal, type PortalProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, Select, type SelectProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSlot, type SlotClassNames, type SlotStyles, Snackbar, type SnackbarProps, SpeedDial, SpeedDialAction, type SpeedDialActionProps, type SpeedDialProps, Stack, type StackProps, Step, StepLabel, type StepProps, Stepper, type StepperProps, Switch, type SwitchProps, type SwitchSlot, Tab, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableCaption, TableCell, TableContainer, type TableContainerProps, TableFooter, TableHead, TableHeader, TableRow, Tabs, type TabsProps, TextField, type TextFieldProps, TextareaAutosize, type TextareaAutosizeProps, TimePicker, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Title, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, type TransferItem, TransferList, type TransferListProps, Transition, type TransitionProps, TreeItem, type TreeItemProps, TreeView, type TreeViewProps, Typography, type TypographyProps, type TypographyVariant, VisuallyHidden, glassStyle, useClickAway, useControllableState, useFocusTrap, useGlass, useMediaQuery, useMergedStateMap, useSafeLayoutEffect };