@boostdev/design-system-components 1.2.1 → 1.2.2

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 (51) hide show
  1. package/AGENTS.md +21 -0
  2. package/README.md +15 -15
  3. package/dist/client.cjs +141 -120
  4. package/dist/client.css +468 -468
  5. package/dist/client.d.cts +71 -96
  6. package/dist/client.d.ts +71 -96
  7. package/dist/client.js +141 -120
  8. package/dist/index.cjs +141 -120
  9. package/dist/index.css +468 -468
  10. package/dist/index.d.cts +71 -96
  11. package/dist/index.d.ts +71 -96
  12. package/dist/index.js +141 -120
  13. package/package.json +1 -1
  14. package/src/components/interaction/Command/Command.tsx +4 -3
  15. package/src/components/interaction/Dialog/Dialog.tsx +4 -5
  16. package/src/components/interaction/Drawer/Drawer.spec.tsx +3 -3
  17. package/src/components/interaction/Drawer/Drawer.tsx +4 -7
  18. package/src/components/interaction/DropdownMenu/DropdownMenu.tsx +4 -2
  19. package/src/components/interaction/Popover/Popover.tsx +4 -3
  20. package/src/components/interaction/Rating/Rating.tsx +4 -2
  21. package/src/components/interaction/form/CheckboxGroup/CheckboxGroup.tsx +4 -6
  22. package/src/components/interaction/form/Combobox/Combobox.tsx +4 -2
  23. package/src/components/interaction/form/FileInput/FileInput.tsx +4 -3
  24. package/src/components/interaction/form/NumberInput/NumberInput.tsx +4 -3
  25. package/src/components/interaction/form/RadioGroup/RadioGroup.tsx +4 -6
  26. package/src/components/interaction/form/SegmentedControl/SegmentedControl.tsx +4 -6
  27. package/src/components/interaction/form/atoms/InputContainer.tsx +2 -2
  28. package/src/components/layout/ButtonGroup/ButtonGroup.tsx +4 -6
  29. package/src/components/layout/Card/Card.tsx +4 -10
  30. package/src/components/layout/IconWrapper/IconWrapper.tsx +4 -5
  31. package/src/components/layout/SectionHeader/SectionHeader.tsx +5 -4
  32. package/src/components/ui/Accordion/Accordion.tsx +4 -3
  33. package/src/components/ui/Alert/Alert.tsx +4 -3
  34. package/src/components/ui/Avatar/Avatar.tsx +5 -3
  35. package/src/components/ui/Badge/Badge.tsx +4 -5
  36. package/src/components/ui/Breadcrumb/Breadcrumb.tsx +4 -3
  37. package/src/components/ui/Calendar/Calendar.tsx +4 -4
  38. package/src/components/ui/Carousel/Carousel.tsx +4 -4
  39. package/src/components/ui/DescriptionList/DescriptionList.tsx +4 -4
  40. package/src/components/ui/Loading/Loading.tsx +4 -3
  41. package/src/components/ui/NotificationBanner/NotificationBanner.tsx +4 -2
  42. package/src/components/ui/Pagination/Pagination.tsx +4 -2
  43. package/src/components/ui/Progress/Progress.tsx +4 -2
  44. package/src/components/ui/ProgressCircle/ProgressCircle.tsx +4 -1
  45. package/src/components/ui/Separator/Separator.tsx +5 -3
  46. package/src/components/ui/Skeleton/Skeleton.tsx +4 -3
  47. package/src/components/ui/SkipLink/SkipLink.tsx +4 -5
  48. package/src/components/ui/Tabs/Tabs.tsx +4 -4
  49. package/src/components/ui/Tooltip/Tooltip.tsx +4 -2
  50. package/src/components/ui/Typography/Typography.tsx +4 -5
  51. package/src/stories/DesignSystem/Grid.mdx +2 -0
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode, HTMLAttributes, ElementType, ComponentPropsWithoutRef, ReactElement, ButtonHTMLAttributes, MouseEventHandler, InputHTMLAttributes, HTMLInputTypeAttribute, SelectHTMLAttributes, TextareaHTMLAttributes, CSSProperties, JSX } from 'react';
2
+ import { HTMLAttributes, ReactNode, ElementType, ComponentPropsWithoutRef, AnchorHTMLAttributes, ReactElement, ButtonHTMLAttributes, MouseEventHandler, InputHTMLAttributes, FieldsetHTMLAttributes, HTMLInputTypeAttribute, SelectHTMLAttributes, TextareaHTMLAttributes, JSX } from 'react';
3
3
  export { cn } from '@boostdev/design-system-foundation';
4
4
 
5
5
  /** Allows consumers to pass a CSS class to the component's root element. */
@@ -13,44 +13,42 @@ interface AccordionItem {
13
13
  content: ReactNode;
14
14
  disabled?: boolean;
15
15
  }
16
- interface AccordionProps extends WithClassName {
16
+ interface AccordionProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
17
17
  items: AccordionItem[];
18
18
  allowMultiple?: boolean;
19
19
  defaultOpen?: string[];
20
20
  }
21
- declare function Accordion({ items, allowMultiple, defaultOpen, className, }: Readonly<AccordionProps>): react_jsx_runtime.JSX.Element;
21
+ declare function Accordion({ items, allowMultiple, defaultOpen, className, ...rest }: Readonly<AccordionProps>): react_jsx_runtime.JSX.Element;
22
22
 
23
- interface AlertProps extends WithClassName {
23
+ interface AlertProps extends WithClassName, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
24
24
  variant?: 'info' | 'success' | 'warning' | 'error';
25
25
  icon?: ReactNode;
26
26
  title?: string;
27
- children: ReactNode;
28
27
  onDismiss?: () => void;
29
28
  }
30
- declare function Alert({ variant, icon, title, children, onDismiss, className, }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
29
+ declare function Alert({ variant, icon, title, children, onDismiss, className, ...rest }: Readonly<AlertProps>): react_jsx_runtime.JSX.Element;
31
30
 
32
- interface AvatarProps extends WithClassName {
31
+ interface AvatarProps extends WithClassName, HTMLAttributes<HTMLSpanElement> {
33
32
  src?: string;
34
33
  alt?: string;
35
34
  name?: string;
36
35
  size?: 'small' | 'medium' | 'large';
37
36
  }
38
- declare function Avatar({ src, alt, name, size, className }: Readonly<AvatarProps>): react_jsx_runtime.JSX.Element;
37
+ declare function Avatar({ src, alt, name, size, className, ...rest }: Readonly<AvatarProps>): react_jsx_runtime.JSX.Element;
39
38
 
40
- interface BadgeProps extends WithClassName {
41
- children: ReactNode;
39
+ interface BadgeProps extends WithClassName, HTMLAttributes<HTMLSpanElement> {
42
40
  variant?: 'primary' | 'secondary' | 'success' | 'error' | 'warning';
43
41
  }
44
- declare function Badge({ children, variant, className }: BadgeProps): react_jsx_runtime.JSX.Element;
42
+ declare function Badge({ children, variant, className, ...rest }: BadgeProps): react_jsx_runtime.JSX.Element;
45
43
 
46
44
  interface BreadcrumbItem {
47
45
  label: string;
48
46
  href?: string;
49
47
  }
50
- interface BreadcrumbProps extends WithClassName {
48
+ interface BreadcrumbProps extends WithClassName, HTMLAttributes<HTMLElement> {
51
49
  items: BreadcrumbItem[];
52
50
  }
53
- declare function Breadcrumb({ items, className }: Readonly<BreadcrumbProps>): react_jsx_runtime.JSX.Element;
51
+ declare function Breadcrumb({ items, className, ...rest }: Readonly<BreadcrumbProps>): react_jsx_runtime.JSX.Element;
54
52
 
55
53
  interface CollapsibleProps extends WithClassName, Omit<HTMLAttributes<HTMLDetailsElement>, 'onToggle'> {
56
54
  /** The trigger label — always visible */
@@ -71,30 +69,30 @@ interface CollapsibleProps extends WithClassName, Omit<HTMLAttributes<HTMLDetail
71
69
  }
72
70
  declare function Collapsible({ summary, children, open, defaultOpen, onToggle, name, className, ...rest }: Readonly<CollapsibleProps>): react_jsx_runtime.JSX.Element;
73
71
 
74
- interface CalendarProps extends WithClassName {
72
+ interface CalendarProps extends WithClassName, Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'> {
75
73
  value?: Date;
76
74
  defaultValue?: Date;
77
75
  min?: Date;
78
76
  max?: Date;
79
77
  onChange?: (date: Date) => void;
80
78
  }
81
- declare function Calendar({ value, defaultValue, min, max, onChange, className }: Readonly<CalendarProps>): react_jsx_runtime.JSX.Element;
79
+ declare function Calendar({ value, defaultValue, min, max, onChange, className, ...rest }: Readonly<CalendarProps>): react_jsx_runtime.JSX.Element;
82
80
 
83
- interface CarouselProps extends WithClassName {
81
+ interface CarouselProps extends WithClassName, HTMLAttributes<HTMLElement> {
84
82
  items: ReactNode[];
85
83
  label: string;
86
84
  }
87
- declare function Carousel({ items, label, className }: Readonly<CarouselProps>): react_jsx_runtime.JSX.Element;
85
+ declare function Carousel({ items, label, className, ...rest }: Readonly<CarouselProps>): react_jsx_runtime.JSX.Element;
88
86
 
89
87
  interface DescriptionItem {
90
88
  term: ReactNode;
91
89
  details: ReactNode | ReactNode[];
92
90
  }
93
- interface DescriptionListProps extends WithClassName {
91
+ interface DescriptionListProps extends WithClassName, HTMLAttributes<HTMLDListElement> {
94
92
  items: DescriptionItem[];
95
93
  layout?: 'stacked' | 'inline';
96
94
  }
97
- declare function DescriptionList({ items, layout, className }: Readonly<DescriptionListProps>): react_jsx_runtime.JSX.Element;
95
+ declare function DescriptionList({ items, layout, className, ...rest }: Readonly<DescriptionListProps>): react_jsx_runtime.JSX.Element;
98
96
 
99
97
  type LinkOwnProps<T extends ElementType> = WithClassName & {
100
98
  as?: T;
@@ -106,57 +104,55 @@ type LinkOwnProps<T extends ElementType> = WithClassName & {
106
104
  type LinkProps<T extends ElementType = 'a'> = LinkOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof LinkOwnProps<T>>;
107
105
  declare function Link<T extends ElementType = 'a'>({ as, children, variant, external, externalLabel, className, ...props }: LinkProps<T>): react_jsx_runtime.JSX.Element;
108
106
 
109
- interface LoadingProps extends WithClassName {
107
+ interface LoadingProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
110
108
  size?: 'small' | 'medium' | 'large';
111
109
  }
112
- declare function Loading({ size, className }: LoadingProps): react_jsx_runtime.JSX.Element;
110
+ declare function Loading({ size, className, ...rest }: LoadingProps): react_jsx_runtime.JSX.Element;
113
111
 
114
- interface NotificationBannerProps extends WithClassName {
112
+ interface NotificationBannerProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
115
113
  variant?: 'info' | 'success' | 'warning' | 'error';
116
114
  children: ReactNode;
117
115
  action?: ReactNode;
118
116
  onDismiss?: () => void;
119
117
  }
120
- declare function NotificationBanner({ variant, children, action, onDismiss, className, }: Readonly<NotificationBannerProps>): react_jsx_runtime.JSX.Element;
118
+ declare function NotificationBanner({ variant, children, action, onDismiss, className, ...rest }: Readonly<NotificationBannerProps>): react_jsx_runtime.JSX.Element;
121
119
 
122
- interface PaginationProps extends WithClassName {
120
+ interface PaginationProps extends WithClassName, HTMLAttributes<HTMLElement> {
123
121
  currentPage: number;
124
122
  totalPages: number;
125
123
  onPageChange: (page: number) => void;
126
124
  }
127
- declare function Pagination({ currentPage, totalPages, onPageChange, className, }: Readonly<PaginationProps>): react_jsx_runtime.JSX.Element;
125
+ declare function Pagination({ currentPage, totalPages, onPageChange, className, ...rest }: Readonly<PaginationProps>): react_jsx_runtime.JSX.Element;
128
126
 
129
- interface ProgressProps extends WithClassName {
127
+ interface ProgressProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
130
128
  value: number;
131
129
  max?: number;
132
130
  label: string;
133
131
  showLabel?: boolean;
134
132
  size?: 'small' | 'medium' | 'large';
135
133
  }
136
- declare function Progress({ value, max, label, showLabel, size, className, }: Readonly<ProgressProps>): react_jsx_runtime.JSX.Element;
134
+ declare function Progress({ value, max, label, showLabel, size, className, ...rest }: Readonly<ProgressProps>): react_jsx_runtime.JSX.Element;
137
135
 
138
- interface ProgressCircleProps extends WithClassName {
136
+ interface ProgressCircleProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
139
137
  value: number;
140
138
  max?: number;
141
139
  label: string;
142
140
  showValue?: boolean;
143
141
  size?: 'small' | 'medium' | 'large';
144
142
  }
145
- declare function ProgressCircle({ value, max, label, showValue, size, className, }: Readonly<ProgressCircleProps>): react_jsx_runtime.JSX.Element;
143
+ declare function ProgressCircle({ value, max, label, showValue, size, className, ...rest }: Readonly<ProgressCircleProps>): react_jsx_runtime.JSX.Element;
146
144
 
147
- interface SeparatorProps extends WithClassName {
145
+ interface SeparatorProps extends WithClassName, HTMLAttributes<HTMLElement> {
148
146
  orientation?: 'horizontal' | 'vertical';
149
147
  }
150
- declare function Separator({ orientation, className }: Readonly<SeparatorProps>): react_jsx_runtime.JSX.Element;
148
+ declare function Separator({ orientation, className, ...rest }: Readonly<SeparatorProps>): react_jsx_runtime.JSX.Element;
151
149
 
152
- type SkeletonProps = WithClassName;
153
- declare function Skeleton({ className }: SkeletonProps): react_jsx_runtime.JSX.Element;
150
+ type SkeletonProps = WithClassName & HTMLAttributes<HTMLDivElement>;
151
+ declare function Skeleton({ className, ...rest }: SkeletonProps): react_jsx_runtime.JSX.Element;
154
152
 
155
- interface SkipLinkProps extends WithClassName {
156
- href?: string;
157
- children?: string;
153
+ interface SkipLinkProps extends WithClassName, AnchorHTMLAttributes<HTMLAnchorElement> {
158
154
  }
159
- declare function SkipLink({ href, children, className }: SkipLinkProps): react_jsx_runtime.JSX.Element;
155
+ declare function SkipLink({ href, children, className, ...rest }: SkipLinkProps): react_jsx_runtime.JSX.Element;
160
156
 
161
157
  interface TableColumn<Row> {
162
158
  key: string;
@@ -180,26 +176,25 @@ interface TabItem {
180
176
  content: ReactNode;
181
177
  disabled?: boolean;
182
178
  }
183
- interface TabsProps extends WithClassName {
179
+ interface TabsProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
184
180
  tabs: TabItem[];
185
181
  defaultTab?: string;
186
182
  }
187
- declare function Tabs({ tabs, defaultTab, className }: Readonly<TabsProps>): react_jsx_runtime.JSX.Element;
183
+ declare function Tabs({ tabs, defaultTab, className, ...rest }: Readonly<TabsProps>): react_jsx_runtime.JSX.Element;
188
184
 
189
- interface TooltipProps extends WithClassName {
185
+ interface TooltipProps extends WithClassName, Omit<HTMLAttributes<HTMLSpanElement>, 'content'> {
190
186
  content: ReactNode;
191
187
  placement?: 'top' | 'bottom' | 'left' | 'right';
192
188
  children: ReactElement;
193
189
  }
194
- declare function Tooltip({ content, placement, children, className, }: Readonly<TooltipProps>): react_jsx_runtime.JSX.Element;
190
+ declare function Tooltip({ content, placement, children, className, ...rest }: Readonly<TooltipProps>): react_jsx_runtime.JSX.Element;
195
191
 
196
192
  type TypographyVariant = 'h1' | 'h2' | 'h3' | 'body' | 'body_s';
197
- interface TypographyProps extends WithClassName {
193
+ interface TypographyProps extends WithClassName, HTMLAttributes<HTMLElement> {
198
194
  variant?: TypographyVariant;
199
195
  component?: ElementType;
200
- children: ReactNode;
201
196
  }
202
- declare function Typography({ variant, component, children, className }: TypographyProps): react_jsx_runtime.JSX.Element;
197
+ declare function Typography({ variant, component, children, className, ...rest }: TypographyProps): react_jsx_runtime.JSX.Element;
203
198
 
204
199
  interface ButtonProps extends WithClassName, ButtonHTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
205
200
  href?: string;
@@ -227,36 +222,30 @@ interface CommandItem {
227
222
  shortcut?: string;
228
223
  onSelect: () => void;
229
224
  }
230
- interface CommandProps extends WithClassName {
231
- id?: string;
225
+ interface CommandProps extends WithClassName, HTMLAttributes<HTMLDialogElement> {
232
226
  isOpen: boolean;
233
227
  onOpen?: () => void;
234
228
  onClose: () => void;
235
229
  items: CommandItem[];
236
230
  placeholder?: string;
237
231
  }
238
- declare function Command({ id: idProp, isOpen, onOpen, onClose, items, placeholder, className, }: Readonly<CommandProps>): react_jsx_runtime.JSX.Element;
232
+ declare function Command({ id: idProp, isOpen, onOpen, onClose, items, placeholder, className, ...rest }: Readonly<CommandProps>): react_jsx_runtime.JSX.Element;
239
233
 
240
- interface DialogProps extends WithClassName {
241
- children: ReactNode;
242
- id?: string;
234
+ interface DialogProps extends WithClassName, HTMLAttributes<HTMLDialogElement> {
243
235
  isOpen?: boolean;
244
236
  onOpen?: () => void;
245
237
  onClose?: () => void;
246
238
  }
247
- declare function Dialog({ children, id: idProp, isOpen, className, onOpen, onClose }: DialogProps): react_jsx_runtime.JSX.Element;
239
+ declare function Dialog({ children, id: idProp, isOpen, className, onOpen, onClose, ...rest }: DialogProps): react_jsx_runtime.JSX.Element;
248
240
 
249
- interface DrawerProps extends WithClassName {
250
- id?: string;
241
+ interface DrawerProps extends WithClassName, Omit<HTMLAttributes<HTMLDialogElement>, 'title'> {
251
242
  isOpen: boolean;
252
243
  onOpen?: () => void;
253
244
  onClose: () => void;
254
245
  title: ReactNode;
255
- children: ReactNode;
256
246
  side?: 'left' | 'right';
257
- ariaLabel?: string;
258
247
  }
259
- declare function Drawer({ id: idProp, isOpen, onOpen, onClose, title, children, side, ariaLabel, className, }: Readonly<DrawerProps>): react_jsx_runtime.JSX.Element;
248
+ declare function Drawer({ id: idProp, isOpen, onOpen, onClose, title, children, side, className, ...rest }: Readonly<DrawerProps>): react_jsx_runtime.JSX.Element;
260
249
 
261
250
  interface DropdownMenuItem {
262
251
  id: string;
@@ -266,26 +255,25 @@ interface DropdownMenuItem {
266
255
  icon?: ReactElement;
267
256
  separator?: boolean;
268
257
  }
269
- interface DropdownMenuProps extends WithClassName {
258
+ interface DropdownMenuProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
270
259
  trigger: ReactElement;
271
260
  items: DropdownMenuItem[];
272
261
  placement?: 'bottom-start' | 'bottom-end';
273
262
  }
274
- declare function DropdownMenu({ trigger, items, placement, className, }: Readonly<DropdownMenuProps>): react_jsx_runtime.JSX.Element;
263
+ declare function DropdownMenu({ trigger, items, placement, className, ...rest }: Readonly<DropdownMenuProps>): react_jsx_runtime.JSX.Element;
275
264
 
276
- interface PopoverProps extends WithClassName {
265
+ interface PopoverProps extends WithClassName, Omit<HTMLAttributes<HTMLSpanElement>, 'content'> {
277
266
  children: ReactElement;
278
267
  content: ReactNode;
279
268
  placement?: 'top' | 'bottom' | 'left' | 'right';
280
- 'aria-label'?: string;
281
269
  }
282
- declare function Popover({ children, content, placement, className, 'aria-label': ariaLabel, }: Readonly<PopoverProps>): react_jsx_runtime.JSX.Element;
270
+ declare function Popover({ children, content, placement, className, 'aria-label': ariaLabel, ...rest }: Readonly<PopoverProps>): react_jsx_runtime.JSX.Element;
283
271
 
284
- interface RatingProps extends WithClassName {
272
+ interface RatingProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
285
273
  value: number;
286
274
  max?: number;
287
275
  }
288
- declare function Rating({ value, max, className }: RatingProps): react_jsx_runtime.JSX.Element;
276
+ declare function Rating({ value, max, className, ...rest }: RatingProps): react_jsx_runtime.JSX.Element;
289
277
 
290
278
  type ToastVariant = 'success' | 'error' | 'info';
291
279
  interface ToastContextType {
@@ -304,22 +292,20 @@ interface CheckboxProps extends WithClassName, Omit<InputHTMLAttributes<HTMLInpu
304
292
  }
305
293
  declare function Checkbox({ label, name, error, hint, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
306
294
 
307
- interface CheckboxGroupProps extends WithClassName {
295
+ interface CheckboxGroupProps extends WithClassName, FieldsetHTMLAttributes<HTMLFieldSetElement> {
308
296
  legend: string;
309
- children: ReactNode;
310
297
  error?: string;
311
298
  hint?: string;
312
299
  required?: boolean;
313
- disabled?: boolean;
314
300
  }
315
- declare function CheckboxGroup({ legend, children, error, hint, required, disabled, className, }: Readonly<CheckboxGroupProps>): react_jsx_runtime.JSX.Element;
301
+ declare function CheckboxGroup({ legend, children, error, hint, required, className, ...rest }: Readonly<CheckboxGroupProps>): react_jsx_runtime.JSX.Element;
316
302
 
317
303
  interface ComboboxOption {
318
304
  value: string;
319
305
  label: string;
320
306
  disabled?: boolean;
321
307
  }
322
- interface ComboboxProps extends WithClassName {
308
+ interface ComboboxProps extends WithClassName, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
323
309
  label: ReactNode;
324
310
  name: string;
325
311
  options: ComboboxOption[];
@@ -330,9 +316,9 @@ interface ComboboxProps extends WithClassName {
330
316
  error?: string;
331
317
  hint?: string;
332
318
  }
333
- declare function Combobox({ label, name, options, placeholder, value, onChange, disabled, error, hint, className, }: Readonly<ComboboxProps>): react_jsx_runtime.JSX.Element;
319
+ declare function Combobox({ label, name, options, placeholder, value, onChange, disabled, error, hint, className, ...rest }: Readonly<ComboboxProps>): react_jsx_runtime.JSX.Element;
334
320
 
335
- interface FileInputProps extends WithClassName {
321
+ interface FileInputProps extends WithClassName, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
336
322
  label: string;
337
323
  name: string;
338
324
  accept?: string;
@@ -343,7 +329,7 @@ interface FileInputProps extends WithClassName {
343
329
  hint?: string;
344
330
  onChange?: (files: FileList | null) => void;
345
331
  }
346
- declare function FileInput({ label, name, accept, multiple, disabled, required, error, hint, onChange, className, }: Readonly<FileInputProps>): react_jsx_runtime.JSX.Element;
332
+ declare function FileInput({ label, name, accept, multiple, disabled, required, error, hint, onChange, className, ...rest }: Readonly<FileInputProps>): react_jsx_runtime.JSX.Element;
347
333
 
348
334
  interface FormInputProps extends WithClassName, Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
349
335
  label: ReactNode;
@@ -355,7 +341,7 @@ interface FormInputProps extends WithClassName, Omit<InputHTMLAttributes<HTMLInp
355
341
  }
356
342
  declare function FormInput({ label, name, ariaLabel, error, hint, className, required, ...props }: FormInputProps): react_jsx_runtime.JSX.Element;
357
343
 
358
- interface NumberInputProps extends WithClassName {
344
+ interface NumberInputProps extends WithClassName, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
359
345
  label: string;
360
346
  name: string;
361
347
  value?: number;
@@ -368,7 +354,7 @@ interface NumberInputProps extends WithClassName {
368
354
  hint?: string;
369
355
  onChange?: (value: number) => void;
370
356
  }
371
- declare function NumberInput({ label, name, value, defaultValue, min, max, step, disabled, error, hint, onChange, className, }: Readonly<NumberInputProps>): react_jsx_runtime.JSX.Element;
357
+ declare function NumberInput({ label, name, value, defaultValue, min, max, step, disabled, error, hint, onChange, className, ...rest }: Readonly<NumberInputProps>): react_jsx_runtime.JSX.Element;
372
358
 
373
359
  interface RadioProps extends WithClassName, Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
374
360
  label: ReactNode;
@@ -379,18 +365,15 @@ interface RadioProps extends WithClassName, Omit<InputHTMLAttributes<HTMLInputEl
379
365
  }
380
366
  declare function Radio({ label, name, description, error, hint, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
381
367
 
382
- interface RadioGroupProps extends WithClassName {
368
+ interface RadioGroupProps extends WithClassName, FieldsetHTMLAttributes<HTMLFieldSetElement> {
383
369
  legend: string;
384
- children: ReactNode;
385
370
  error?: string;
386
371
  hint?: string;
387
372
  required?: boolean;
388
- disabled?: boolean;
389
373
  }
390
- declare function RadioGroup({ legend, children, error, hint, required, disabled, className, }: Readonly<RadioGroupProps>): react_jsx_runtime.JSX.Element;
374
+ declare function RadioGroup({ legend, children, error, hint, required, className, ...rest }: Readonly<RadioGroupProps>): react_jsx_runtime.JSX.Element;
391
375
 
392
- interface SegmentedControlProps extends WithClassName {
393
- children: ReactNode;
376
+ interface SegmentedControlProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
394
377
  /**
395
378
  * Zero-based index of the active item.
396
379
  * When omitted, auto-detected from the first child that has
@@ -401,9 +384,8 @@ interface SegmentedControlProps extends WithClassName {
401
384
  size?: 'small' | 'medium' | 'large';
402
385
  /** "outline" (default) — sliding inset border; "filled" — sliding filled thumb */
403
386
  variant?: 'outline' | 'filled';
404
- 'aria-label'?: string;
405
387
  }
406
- declare function SegmentedControl({ children, selectedIndex: selectedIndexProp, disabled, size, variant, className, 'aria-label': ariaLabel, }: Readonly<SegmentedControlProps>): react_jsx_runtime.JSX.Element;
388
+ declare function SegmentedControl({ children, selectedIndex: selectedIndexProp, disabled, size, variant, className, ...rest }: Readonly<SegmentedControlProps>): react_jsx_runtime.JSX.Element;
407
389
 
408
390
  interface SelectOption {
409
391
  value: string;
@@ -449,38 +431,31 @@ interface TextareaProps extends WithClassName, TextareaHTMLAttributes<HTMLTextAr
449
431
  }
450
432
  declare function Textarea({ label, name, error, hint, className, required, ...props }: Readonly<TextareaProps>): react_jsx_runtime.JSX.Element;
451
433
 
452
- interface ButtonGroupProps extends WithClassName {
453
- children: ReactNode;
434
+ interface ButtonGroupProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
454
435
  variant?: 'flow' | 'card' | 'modal' | 'content';
455
- 'aria-label'?: string;
456
436
  }
457
- declare function ButtonGroup({ children, className, variant, 'aria-label': ariaLabel }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
437
+ declare function ButtonGroup({ children, className, variant, ...rest }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
458
438
 
459
- interface CardProps extends WithClassName {
460
- children: ReactNode;
439
+ interface CardProps extends WithClassName, HTMLAttributes<HTMLElement> {
461
440
  variant?: 'default' | 'elevated' | 'outlined';
462
441
  padding?: 'none' | 'small' | 'medium' | 'large';
463
442
  textAlign?: 'start' | 'center' | 'end';
464
- style?: CSSProperties;
465
- onClick?: () => void;
466
- 'aria-label'?: string;
467
443
  }
468
- declare function Card({ children, className, variant, padding, textAlign, style, onClick, 'aria-label': ariaLabel, }: CardProps): react_jsx_runtime.JSX.Element;
444
+ declare function Card({ children, className, variant, padding, textAlign, onClick, ...rest }: CardProps): react_jsx_runtime.JSX.Element;
469
445
 
470
446
  type IntrinsicElement = keyof JSX.IntrinsicElements;
471
- type SectionHeaderProps = WithClassName & {
447
+ type SectionHeaderProps = WithClassName & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
472
448
  title: string;
473
449
  subtitle?: string;
474
450
  alignment?: 'start' | 'center' | 'end';
475
451
  size?: 'small' | 'medium' | 'large';
476
452
  titleAs?: IntrinsicElement;
477
453
  };
478
- declare function SectionHeader({ title, subtitle, className, alignment, size, titleAs }: Readonly<SectionHeaderProps>): react_jsx_runtime.JSX.Element;
454
+ declare function SectionHeader({ title, subtitle, className, alignment, size, titleAs, ...rest }: Readonly<SectionHeaderProps>): react_jsx_runtime.JSX.Element;
479
455
 
480
- interface IconWrapperProps extends WithClassName {
456
+ interface IconWrapperProps extends WithClassName, HTMLAttributes<HTMLDivElement> {
481
457
  children: ReactNode;
482
- 'aria-hidden'?: boolean | 'true' | 'false';
483
458
  }
484
- declare function IconWrapper({ children, className, 'aria-hidden': ariaHidden }: IconWrapperProps): react_jsx_runtime.JSX.Element;
459
+ declare function IconWrapper({ children, className, ...rest }: IconWrapperProps): react_jsx_runtime.JSX.Element;
485
460
 
486
461
  export { Accordion, type AccordionItem, Alert, Avatar, Badge, Breadcrumb, type BreadcrumbItem, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, Card, Carousel, Checkbox, CheckboxGroup, type CheckboxGroupProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, Command, type CommandItem, type DescriptionItem, DescriptionList, Dialog, Drawer, DropdownMenu, type DropdownMenuItem, FileInput, FormInput, IconWrapper, type IconWrapperProps, Link, Loading, NotificationBanner, NumberInput, Pagination, Popover, Progress, ProgressCircle, Radio, RadioGroup, type RadioGroupProps, Rating, SectionHeader, SegmentedControl, type SegmentedControlProps, Select, type SelectOption, Separator, Skeleton, SkipLink, Slider, Switch, type TabItem, Table, type TableColumn, Tabs, Textarea, ToastProvider, Tooltip, Typography, type WithClassName, useToast };