@lumx/react 4.3.2-alpha.33 → 4.3.2-alpha.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Size as Size$1, ColorPalette as ColorPalette$1, Theme as Theme$1, Orientation as Orientation$1, Alignment as Alignment$1, AspectRatio as AspectRatio$1, ColorWithVariants as ColorWithVariants$1, ColorVariant as ColorVariant$1, Typography as Typography$1, Emphasis as Emphasis$1 } from '@lumx/core/js/constants';
2
2
  export * from '@lumx/core/js/constants';
3
3
  import * as _lumx_core_js_types from '@lumx/core/js/types';
4
- import { GenericProps, HasTheme as HasTheme$1, ValueOf as ValueOf$1, PropsToOverride, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode, HasClassName as HasClassName$1, JSXElement as JSXElement$1, CommonRef as CommonRef$1, Falsy, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
4
+ import { GenericProps as GenericProps$1, HasTheme as HasTheme$1, ValueOf as ValueOf$1, PropsToOverride, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode, HasClassName as HasClassName$1, JSXElement as JSXElement$1, CommonRef as CommonRef$1, Falsy, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
5
5
  export * from '@lumx/core/js/types';
6
6
  import * as React$1 from 'react';
7
7
  import React__default, { Ref, ReactElement, ReactNode, SyntheticEvent, MouseEventHandler, KeyboardEventHandler, RefObject, CSSProperties, ImgHTMLAttributes, AriaAttributes as AriaAttributes$1, SetStateAction, Key, ElementType, ComponentProps } from 'react';
@@ -69,7 +69,7 @@ declare const AlertDialog: Comp<AlertDialogProps, HTMLDivElement>;
69
69
  /**
70
70
  * Defines the props of the component.
71
71
  */
72
- interface AutocompleteProps extends GenericProps, HasTheme$1 {
72
+ interface AutocompleteProps extends GenericProps$1, HasTheme$1 {
73
73
  /**
74
74
  * Whether the suggestions list should display anchored to the input or to the wrapper.
75
75
  * @see {@link DropdownProps#anchorToInput}
@@ -262,7 +262,7 @@ type AvatarSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>
262
262
  /**
263
263
  * Defines the props of the component.
264
264
  */
265
- interface AvatarProps extends GenericProps, HasTheme$1 {
265
+ interface AvatarProps extends GenericProps$1, HasTheme$1 {
266
266
  /** Action toolbar content. */
267
267
  actions?: ReactNode;
268
268
  /** Image alternative text. */
@@ -494,6 +494,16 @@ interface HasTheme {
494
494
  theme?: Theme;
495
495
  }
496
496
 
497
+ /**
498
+ * Define a generic props types.
499
+ */
500
+ interface GenericProps extends HasClassName {
501
+ /**
502
+ * Any prop (particularly any supported prop for a HTML element).
503
+ */
504
+ [propName: string]: any;
505
+ }
506
+
497
507
  /**
498
508
  * Framework-agnostic type for renderable content.
499
509
  * Vue components should cast VNode[] from slots to this type.
@@ -605,7 +615,7 @@ type ReactToJSX<Props, OmitProps extends keyof Props = never> = Omit<Props, Prop
605
615
  /**
606
616
  * Defines the props of the component.
607
617
  */
608
- interface BadgeProps extends ReactToJSX<BadgeProps$1>, GenericProps {
618
+ interface BadgeProps extends ReactToJSX<BadgeProps$1>, GenericProps$1 {
609
619
  /** Badge content. */
610
620
  children?: ReactNode;
611
621
  }
@@ -627,7 +637,7 @@ interface BadgeWrapperProps$1 extends HasClassName {
627
637
  ref?: CommonRef;
628
638
  }
629
639
 
630
- interface BadgeWrapperProps extends GenericProps, ReactToJSX<BadgeWrapperProps$1, 'children' | 'badge'> {
640
+ interface BadgeWrapperProps extends GenericProps$1, ReactToJSX<BadgeWrapperProps$1, 'children' | 'badge'> {
631
641
  /** Badge element to display */
632
642
  badge: ReactElement;
633
643
  /** Content to wrap with badge */
@@ -713,7 +723,7 @@ declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
713
723
  */
714
724
  declare const DEFAULT_PROPS: Partial<ButtonProps$1>;
715
725
 
716
- interface ButtonProps extends GenericProps, ReactToJSX<ButtonProps$1> {
726
+ interface ButtonProps extends GenericProps$1, ReactToJSX<ButtonProps$1> {
717
727
  /** callback for clicking on the button */
718
728
  onClick?: (event: React.MouseEvent) => void;
719
729
  }
@@ -724,7 +734,7 @@ interface ButtonProps extends GenericProps, ReactToJSX<ButtonProps$1> {
724
734
  * @param ref Component ref.
725
735
  * @return React element.
726
736
  */
727
- declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
737
+ declare const Button: Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>;
728
738
 
729
739
  interface IconButtonProps$1 extends BaseButtonProps {
730
740
  /**
@@ -746,7 +756,7 @@ interface IconButtonProps$1 extends BaseButtonProps {
746
756
  title?: string;
747
757
  }
748
758
 
749
- interface IconButtonProps extends GenericProps, ReactToJSX<IconButtonProps$1, 'title' | 'children'> {
759
+ interface IconButtonProps extends GenericProps$1, ReactToJSX<IconButtonProps$1, 'title' | 'children'> {
750
760
  /**
751
761
  * Props to pass to the tooltip.
752
762
  * If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
@@ -778,7 +788,7 @@ interface ButtonGroupProps$1 extends HasClassName {
778
788
  ref?: CommonRef;
779
789
  }
780
790
 
781
- interface ButtonGroupProps extends GenericProps, ReactToJSX<ButtonGroupProps$1> {
791
+ interface ButtonGroupProps extends GenericProps$1, ReactToJSX<ButtonGroupProps$1> {
782
792
  }
783
793
  /**
784
794
  * ButtonGroup component.
@@ -818,7 +828,7 @@ interface CheckboxProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDi
818
828
  /**
819
829
  * Defines the props of the component.
820
830
  */
821
- interface CheckboxProps extends GenericProps, ReactToJSX<CheckboxProps$1, 'inputId'> {
831
+ interface CheckboxProps extends GenericProps$1, ReactToJSX<CheckboxProps$1, 'inputId'> {
822
832
  /** On change callback. */
823
833
  onChange?(isChecked: boolean, value?: string, name?: string, event?: React__default.ChangeEvent): void;
824
834
  }
@@ -838,7 +848,7 @@ type ChipSize = Extract<Size$1, 's' | 'm'>;
838
848
  /**
839
849
  * Defines the props of the component.
840
850
  */
841
- interface ChipProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
851
+ interface ChipProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
842
852
  /** A component to be rendered after the content. */
843
853
  after?: ReactNode;
844
854
  /** A component to be rendered before the content. */
@@ -884,7 +894,7 @@ type useChipGroupNavigationType<C = any> = (chips: C[], onChipDeleted: (chip: C)
884
894
  /**
885
895
  * Defines the props of the component.
886
896
  */
887
- interface ChipGroupProps extends GenericProps {
897
+ interface ChipGroupProps extends GenericProps$1 {
888
898
  /**
889
899
  * Chip horizontal alignment.
890
900
  * @deprecated
@@ -897,7 +907,7 @@ declare const ChipGroup: Comp<ChipGroupProps, HTMLDivElement> & {
897
907
  useChipGroupNavigation: useChipGroupNavigationType<any>;
898
908
  };
899
909
 
900
- interface SelectionChipGroupProps<O> extends GenericProps {
910
+ interface SelectionChipGroupProps<O> extends GenericProps$1 {
901
911
  /**
902
912
  * Option object id selector (either the property name or a function to get the id)
903
913
  */
@@ -964,7 +974,7 @@ type CommentBlockVariant = ValueOf$1<typeof CommentBlockVariant>;
964
974
  /**
965
975
  * Defines the props of the component.
966
976
  */
967
- interface CommentBlockProps extends GenericProps, HasTheme$1 {
977
+ interface CommentBlockProps extends GenericProps$1, HasTheme$1 {
968
978
  /** Action toolbar content. */
969
979
  actions?: ReactNode;
970
980
  /** Props to pass to the avatar. */
@@ -1017,7 +1027,7 @@ declare const CommentBlock: Comp<CommentBlockProps, HTMLDivElement>;
1017
1027
  /**
1018
1028
  * Defines the props of the component.
1019
1029
  */
1020
- interface DatePickerProps extends GenericProps {
1030
+ interface DatePickerProps extends GenericProps$1 {
1021
1031
  /** Default month. */
1022
1032
  defaultMonth?: Date;
1023
1033
  /** Locale (language or region) to use. */
@@ -1072,7 +1082,7 @@ declare const DatePickerControlled: Comp<DatePickerControlledProps, HTMLDivEleme
1072
1082
  /**
1073
1083
  * Defines the props of the component.
1074
1084
  */
1075
- interface DatePickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'>, GenericProps {
1085
+ interface DatePickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'>, GenericProps$1 {
1076
1086
  /** Default month. */
1077
1087
  defaultMonth?: Date;
1078
1088
  /** Locale (language or region) to use. */
@@ -1102,7 +1112,7 @@ declare const DatePickerField: Comp<DatePickerFieldProps, HTMLDivElement>;
1102
1112
  /**
1103
1113
  * Defines the props of the component.
1104
1114
  */
1105
- interface DialogProps extends GenericProps {
1115
+ interface DialogProps extends GenericProps$1 {
1106
1116
  /** Footer content. */
1107
1117
  footer?: ReactNode;
1108
1118
  /** Whether the divider between the dialog content and the footer is always displayed (instead of showing it on scroll). */
@@ -1132,7 +1142,7 @@ interface DialogProps extends GenericProps {
1132
1142
  /** Z-axis position. */
1133
1143
  zIndex?: number;
1134
1144
  /** Z-axis position. */
1135
- dialogProps?: GenericProps;
1145
+ dialogProps?: GenericProps$1;
1136
1146
  /** On close callback. */
1137
1147
  onClose?(): void;
1138
1148
  /** Callback called when the open animation starts and the close animation finishes. */
@@ -1163,7 +1173,7 @@ interface DividerProps$1 extends HasTheme, HasClassName {
1163
1173
  /**
1164
1174
  * Defines the props of the component.
1165
1175
  */
1166
- interface DividerProps extends GenericProps, ReactToJSX<DividerProps$1> {
1176
+ interface DividerProps extends GenericProps$1, ReactToJSX<DividerProps$1> {
1167
1177
  }
1168
1178
  /**
1169
1179
  * Divider component.
@@ -1177,7 +1187,7 @@ declare const Divider: Comp<DividerProps, HTMLHRElement>;
1177
1187
  /**
1178
1188
  * Defines the props of the component.
1179
1189
  */
1180
- interface DragHandleProps extends GenericProps, HasTheme$1 {
1190
+ interface DragHandleProps extends GenericProps$1, HasTheme$1 {
1181
1191
  }
1182
1192
  /**
1183
1193
  * DragHandle component.
@@ -1235,7 +1245,7 @@ type FitAnchorWidth = ValueOf$1<typeof FitAnchorWidth>;
1235
1245
  /**
1236
1246
  * Defines the props of the component.
1237
1247
  */
1238
- interface PopoverProps extends GenericProps, HasTheme$1 {
1248
+ interface PopoverProps extends GenericProps$1, HasTheme$1 {
1239
1249
  /** Reference to the DOM element used to set the position of the popover. */
1240
1250
  anchorRef: React.RefObject<HTMLElement>;
1241
1251
  /** Customize the root element. (Must accept ref forwarding and props forwarding!). */
@@ -1296,7 +1306,7 @@ declare const Popover: Comp<PopoverProps, HTMLDivElement>;
1296
1306
  /**
1297
1307
  * Defines the props of the component.
1298
1308
  */
1299
- interface DropdownProps extends GenericProps {
1309
+ interface DropdownProps extends GenericProps$1 {
1300
1310
  /**
1301
1311
  * Reference to the element around which the dropdown is placed.
1302
1312
  * @see {@link PopoverProps#anchorRef}
@@ -1377,7 +1387,7 @@ declare const Dropdown: Comp<DropdownProps, HTMLDivElement>;
1377
1387
  /**
1378
1388
  * Defines the props of the component.
1379
1389
  */
1380
- interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme$1 {
1390
+ interface ExpansionPanelProps extends GenericProps$1, HasCloseMode, HasTheme$1 {
1381
1391
  /** Whether the expansion panel has a background. */
1382
1392
  hasBackground?: boolean;
1383
1393
  /** Whether the header has a divider. */
@@ -1468,7 +1478,7 @@ interface FlagProps$1 extends HasClassName, HasTheme {
1468
1478
  Text: (props: TextProps$1) => any;
1469
1479
  }
1470
1480
 
1471
- interface FlagProps extends GenericProps, ReactToJSX<FlagProps$1, 'children' | 'Text'> {
1481
+ interface FlagProps extends GenericProps$1, ReactToJSX<FlagProps$1, 'children' | 'Text'> {
1472
1482
  /** Text label of the flag. */
1473
1483
  label: React.ReactNode;
1474
1484
  }
@@ -1514,7 +1524,7 @@ interface FlexBoxProps$1 extends HasClassName {
1514
1524
  /**
1515
1525
  * Defines the props of the component.
1516
1526
  */
1517
- interface FlexBoxProps extends GenericProps, ReactToJSX<FlexBoxProps$1> {
1527
+ interface FlexBoxProps extends GenericProps$1, ReactToJSX<FlexBoxProps$1> {
1518
1528
  /** Customize the root element. */
1519
1529
  as?: React__default.ElementType;
1520
1530
  }
@@ -1638,7 +1648,7 @@ interface HeadingProps$1 extends Partial<TextProps$1> {
1638
1648
  as?: HeadingElement;
1639
1649
  }
1640
1650
 
1641
- interface HeadingProps extends GenericProps, HeadingProps$1 {
1651
+ interface HeadingProps extends GenericProps$1, HeadingProps$1 {
1642
1652
  }
1643
1653
  /**
1644
1654
  * Renders a heading component.
@@ -1667,7 +1677,7 @@ type GridGutterSize = Extract<Size$1, 'regular' | 'big' | 'huge'>;
1667
1677
  /**
1668
1678
  * Defines the props of the component.
1669
1679
  */
1670
- interface GridProps extends GenericProps {
1680
+ interface GridProps extends GenericProps$1 {
1671
1681
  /** Orientation. */
1672
1682
  orientation?: Orientation$1;
1673
1683
  /** Whether the children are wrapped or not. */
@@ -1694,7 +1704,7 @@ type Columns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11'
1694
1704
  /**
1695
1705
  * Defines the props of the component.
1696
1706
  */
1697
- interface GridItemProps extends GenericProps {
1707
+ interface GridItemProps extends GenericProps$1 {
1698
1708
  /** Alignment. */
1699
1709
  align?: Alignment$1;
1700
1710
  /** Order. */
@@ -1737,7 +1747,7 @@ interface GridColumnProps$1 extends HasClassName {
1737
1747
  /**
1738
1748
  * Defines the props of the component.
1739
1749
  */
1740
- interface GridColumnProps extends GenericProps, ReactToJSX<GridColumnProps$1> {
1750
+ interface GridColumnProps extends GenericProps$1, ReactToJSX<GridColumnProps$1> {
1741
1751
  /** Customize the root element. */
1742
1752
  as?: React.ElementType;
1743
1753
  }
@@ -1781,7 +1791,7 @@ interface IconProps$1 extends HasClassName, HasTheme {
1781
1791
  ref?: CommonRef;
1782
1792
  }
1783
1793
 
1784
- interface IconProps extends ReactToJSX<IconProps$1>, GenericProps {
1794
+ interface IconProps extends ReactToJSX<IconProps$1>, GenericProps$1 {
1785
1795
  }
1786
1796
  /**
1787
1797
  * Icon component.
@@ -1867,9 +1877,9 @@ interface ThumbnailProps$1 extends HasTheme$1, HasClassName$1 {
1867
1877
  /** Variant of the component. */
1868
1878
  variant?: ThumbnailVariant$1;
1869
1879
  /** Props to pass to the link wrapping the thumbnail. */
1870
- linkProps?: GenericProps;
1871
- focusPointStyle?: GenericProps;
1872
- disabledStateProps?: GenericProps;
1880
+ linkProps?: GenericProps$1;
1881
+ focusPointStyle?: GenericProps$1;
1882
+ disabledStateProps?: GenericProps$1;
1873
1883
  isAnyDisabled?: boolean;
1874
1884
  /** Custom react component for the link (can be used to inject react router Link). */
1875
1885
  linkAs?: 'a' | any;
@@ -1922,7 +1932,7 @@ type ThumbnailObjectFit = ValueOf$1<typeof ThumbnailObjectFit>;
1922
1932
  /**
1923
1933
  * Defines the props of the component.
1924
1934
  */
1925
- interface ThumbnailProps extends GenericProps, ReactToJSX<ThumbnailProps$1, 'loadingState' | 'isAnyDisabled' | 'focusPointStyle' | 'disabledStateProps' | 'badge'> {
1935
+ interface ThumbnailProps extends GenericProps$1, ReactToJSX<ThumbnailProps$1, 'loadingState' | 'isAnyDisabled' | 'focusPointStyle' | 'disabledStateProps' | 'badge'> {
1926
1936
  /** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
1927
1937
  focusPoint?: FocusPoint;
1928
1938
  /** Badge. */
@@ -1974,7 +1984,7 @@ type ImageBlockSize = Extract<Size$1, 'xl' | 'xxl'>;
1974
1984
  /**
1975
1985
  * Defines the props of the component.
1976
1986
  */
1977
- interface ImageBlockProps extends GenericProps, HasTheme$1, ImageCaptionMetadata {
1987
+ interface ImageBlockProps extends GenericProps$1, HasTheme$1, ImageCaptionMetadata {
1978
1988
  /** Action toolbar content. */
1979
1989
  actions?: ReactNode;
1980
1990
  /** Alignment. */
@@ -2066,7 +2076,7 @@ declare const ImageLightbox: Comp<ImageLightboxProps, HTMLDivElement> & {
2066
2076
  /**
2067
2077
  * Defines the props of the component.
2068
2078
  */
2069
- interface InlineListProps extends GenericProps {
2079
+ interface InlineListProps extends GenericProps$1 {
2070
2080
  /**
2071
2081
  * Text color.
2072
2082
  */
@@ -2111,7 +2121,7 @@ interface InputHelperProps$1 extends HasClassName, HasTheme {
2111
2121
  id?: string;
2112
2122
  }
2113
2123
 
2114
- interface InputHelperProps extends ReactToJSX<InputHelperProps$1>, GenericProps {
2124
+ interface InputHelperProps extends ReactToJSX<InputHelperProps$1>, GenericProps$1 {
2115
2125
  }
2116
2126
  /**
2117
2127
  * InputHelper component.
@@ -2135,7 +2145,7 @@ interface InputLabelProps$1 extends HasClassName, HasTheme {
2135
2145
  ref?: CommonRef;
2136
2146
  }
2137
2147
 
2138
- interface InputLabelProps extends ReactToJSX<InputLabelProps$1>, GenericProps {
2148
+ interface InputLabelProps extends ReactToJSX<InputLabelProps$1>, GenericProps$1 {
2139
2149
  }
2140
2150
  /**
2141
2151
  * InputLabel component.
@@ -2149,7 +2159,7 @@ declare const InputLabel: Comp<InputLabelProps, HTMLLabelElement>;
2149
2159
  /**
2150
2160
  * Defines the props of the component.
2151
2161
  */
2152
- interface LightboxProps extends GenericProps, HasTheme$1, Pick<AriaAttributes$1, 'aria-label' | 'aria-labelledby'> {
2162
+ interface LightboxProps extends GenericProps$1, HasTheme$1, Pick<AriaAttributes$1, 'aria-label' | 'aria-labelledby'> {
2153
2163
  /** Props to pass to the close button (minus those already set by the Lightbox props). */
2154
2164
  closeButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis' | 'color'>;
2155
2165
  /** Whether the component is open or not. */
@@ -2205,7 +2215,7 @@ interface LinkProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabl
2205
2215
  /** Typography variant. */
2206
2216
  typography?: string;
2207
2217
  /** Click handler. */
2208
- onClick?: (event: any) => void;
2218
+ handleClick?: (event: any) => void;
2209
2219
  /** Reference to the root element. */
2210
2220
  ref?: CommonRef;
2211
2221
  }
@@ -2214,7 +2224,7 @@ type HTMLAnchorProps = React__default.DetailedHTMLProps<React__default.AnchorHTM
2214
2224
  /**
2215
2225
  * Defines the props of the component.
2216
2226
  */
2217
- interface LinkProps extends GenericProps, ReactToJSX<LinkProps$1, 'label'> {
2227
+ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1, 'label'> {
2218
2228
  /** Link href. */
2219
2229
  href?: HTMLAnchorProps['href'];
2220
2230
  /** Custom react component for the link (can be used to inject react router Link). */
@@ -2233,12 +2243,12 @@ interface LinkProps extends GenericProps, ReactToJSX<LinkProps$1, 'label'> {
2233
2243
  * @param ref Component ref.
2234
2244
  * @return React element.
2235
2245
  */
2236
- declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
2246
+ declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
2237
2247
 
2238
2248
  /**
2239
2249
  * Defines the props of the component.
2240
2250
  */
2241
- interface LinkPreviewProps extends GenericProps, HasTheme$1 {
2251
+ interface LinkPreviewProps extends GenericProps$1, HasTheme$1 {
2242
2252
  /** Description. */
2243
2253
  description?: string;
2244
2254
  /** Link URL. */
@@ -2281,7 +2291,7 @@ type useKeyboardListNavigationType = <I>(items: I[], ref: RefObject<HTMLElement>
2281
2291
  /**
2282
2292
  * Defines the props of the component.
2283
2293
  */
2284
- interface ListProps extends GenericProps {
2294
+ interface ListProps extends GenericProps$1 {
2285
2295
  /** List content (should be ListItem, ListSubheader or ListDivider). */
2286
2296
  children: ReactNode;
2287
2297
  /**
@@ -2310,7 +2320,7 @@ type ListItemSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
2310
2320
  /**
2311
2321
  * Defines the props of the component.
2312
2322
  */
2313
- interface ListItemProps extends GenericProps, HasAriaDisabled$1 {
2323
+ interface ListItemProps extends GenericProps$1, HasAriaDisabled$1 {
2314
2324
  /** A component to be rendered after the content. */
2315
2325
  after?: ReactNode;
2316
2326
  /** A component to be rendered before the content. */
@@ -2353,7 +2363,7 @@ declare const ListItem: Comp<ListItemProps, HTMLLIElement>;
2353
2363
  /**
2354
2364
  * Defines the props of the component.
2355
2365
  */
2356
- type ListDividerProps = GenericProps;
2366
+ type ListDividerProps = GenericProps$1;
2357
2367
  /**
2358
2368
  * ListDivider component.
2359
2369
  *
@@ -2361,12 +2371,12 @@ type ListDividerProps = GenericProps;
2361
2371
  * @param ref Component ref.
2362
2372
  * @return React element.
2363
2373
  */
2364
- declare const ListDivider: Comp<GenericProps, HTMLLIElement>;
2374
+ declare const ListDivider: Comp<GenericProps$1, HTMLLIElement>;
2365
2375
 
2366
2376
  /**
2367
2377
  * Defines the props of the component.
2368
2378
  */
2369
- interface ListSubheaderProps extends GenericProps {
2379
+ interface ListSubheaderProps extends GenericProps$1 {
2370
2380
  /** Content. */
2371
2381
  children: string | ReactNode;
2372
2382
  }
@@ -2406,7 +2416,7 @@ interface MessageProps$1 extends HasClassName {
2406
2416
  };
2407
2417
  }
2408
2418
 
2409
- interface MessageProps extends GenericProps, ReactToJSX<MessageProps$1> {
2419
+ interface MessageProps extends GenericProps$1, ReactToJSX<MessageProps$1> {
2410
2420
  }
2411
2421
  /**
2412
2422
  * Message component.
@@ -2420,7 +2430,7 @@ declare const Message: Comp<MessageProps, HTMLDivElement>;
2420
2430
  /**
2421
2431
  * Defines the props of the component.
2422
2432
  */
2423
- interface MosaicProps extends GenericProps, HasTheme$1 {
2433
+ interface MosaicProps extends GenericProps$1, HasTheme$1 {
2424
2434
  /** Thumbnails. */
2425
2435
  thumbnails: ThumbnailProps[];
2426
2436
  /** On image click callback. */
@@ -2476,7 +2486,7 @@ declare const Navigation: Comp<NavigationProps, HTMLElement> & SubComponents;
2476
2486
  /**
2477
2487
  * Defines the props of the component.
2478
2488
  */
2479
- interface NotificationProps extends GenericProps, HasTheme$1 {
2489
+ interface NotificationProps extends GenericProps$1, HasTheme$1 {
2480
2490
  /** Action button label. */
2481
2491
  actionLabel?: string;
2482
2492
  /** Content. */
@@ -2520,7 +2530,7 @@ declare const PopoverDialog: Comp<PopoverDialogProps, HTMLDivElement>;
2520
2530
  /**
2521
2531
  * Defines the props of the component.
2522
2532
  */
2523
- interface PostBlockProps extends GenericProps, HasTheme$1 {
2533
+ interface PostBlockProps extends GenericProps$1, HasTheme$1 {
2524
2534
  /** Action toolbar content. */
2525
2535
  actions?: ReactNode;
2526
2536
  /** Attachment content. */
@@ -2564,7 +2574,7 @@ type ProgressVariant = ValueOf$1<typeof ProgressVariant>;
2564
2574
  /**
2565
2575
  * Defines the props of the component.
2566
2576
  */
2567
- interface ProgressProps extends GenericProps, HasTheme$1 {
2577
+ interface ProgressProps extends GenericProps$1, HasTheme$1 {
2568
2578
  /** Progress variant. */
2569
2579
  variant?: ProgressVariant;
2570
2580
  }
@@ -2581,11 +2591,11 @@ declare const Progress: Comp<ProgressProps, HTMLDivElement>;
2581
2591
  /**
2582
2592
  * Progress sizes.
2583
2593
  */
2584
- type ProgressCircularSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm'>;
2594
+ type ProgressCircularSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm'>;
2585
2595
  /**
2586
2596
  * Defines the props of the component.
2587
2597
  */
2588
- interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2598
+ interface ProgressCircularProps$1 extends HasTheme, HasClassName {
2589
2599
  /**
2590
2600
  * Progress circular size.
2591
2601
  */
@@ -2595,9 +2605,22 @@ interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2595
2605
  * @default 'block'
2596
2606
  */
2597
2607
  display?: 'inline' | 'block';
2608
+ /** Component ref */
2609
+ ref?: CommonRef;
2610
+ /** additional props for the svg */
2611
+ svgProps?: GenericProps;
2612
+ /** additional props for the circle */
2613
+ circleProps?: GenericProps;
2598
2614
  }
2615
+
2599
2616
  /**
2600
- * ProgressCircularProps component.
2617
+ * Defines the props of the component.
2618
+ */
2619
+ interface ProgressCircularProps extends GenericProps$1, ReactToJSX<ProgressCircularProps$1> {
2620
+ }
2621
+
2622
+ /**
2623
+ * ProgressCircular component.
2601
2624
  *
2602
2625
  * @param props Component props.
2603
2626
  * @param ref Component ref.
@@ -2605,7 +2628,18 @@ interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2605
2628
  */
2606
2629
  declare const ProgressCircular: Comp<ProgressCircularProps, HTMLDivElement>;
2607
2630
 
2608
- interface ProgressLinearProps extends GenericProps, HasTheme$1 {
2631
+ /**
2632
+ * Defines the props of the component.
2633
+ */
2634
+ interface ProgressLinearProps$1 extends HasTheme, HasClassName {
2635
+ /** Component ref */
2636
+ ref?: CommonRef;
2637
+ }
2638
+
2639
+ /**
2640
+ * Defines the props of the component.
2641
+ */
2642
+ interface ProgressLinearProps extends GenericProps$1, ReactToJSX<ProgressLinearProps$1> {
2609
2643
  }
2610
2644
  /**
2611
2645
  * ProgressLinear component.
@@ -2644,7 +2678,7 @@ declare const ProgressTrackerProvider: React.FC<ProgressTrackerProviderProps>;
2644
2678
  /**
2645
2679
  * Defines the props of the component.
2646
2680
  */
2647
- interface ProgressTrackerProps extends GenericProps {
2681
+ interface ProgressTrackerProps extends GenericProps$1 {
2648
2682
  /** ARIA label (purpose of the set of steps). */
2649
2683
  ['aria-label']: string;
2650
2684
  /** Step list. */
@@ -2664,7 +2698,7 @@ declare const ProgressTracker: Comp<ProgressTrackerProps, HTMLDivElement>;
2664
2698
  /**
2665
2699
  * Defines the props of the component.
2666
2700
  */
2667
- interface ProgressTrackerStepProps extends GenericProps {
2701
+ interface ProgressTrackerStepProps extends GenericProps$1 {
2668
2702
  /** Children are not supported. */
2669
2703
  children?: never;
2670
2704
  /** Whether the step should be in error state or not. */
@@ -2696,7 +2730,7 @@ declare const ProgressTrackerStep: Comp<ProgressTrackerStepProps, HTMLButtonElem
2696
2730
  /**
2697
2731
  * Defines the props of the component.
2698
2732
  */
2699
- interface ProgressTrackerStepPanelProps extends GenericProps {
2733
+ interface ProgressTrackerStepPanelProps extends GenericProps$1 {
2700
2734
  /** Native id property. */
2701
2735
  id?: string;
2702
2736
  /** Whether the step is active or not. */
@@ -2744,7 +2778,7 @@ interface RadioButtonProps$1 extends HasTheme, HasClassName, HasAriaDisabled, Ha
2744
2778
  /**
2745
2779
  * Defines the props of the component.
2746
2780
  */
2747
- interface RadioButtonProps extends GenericProps, ReactToJSX<RadioButtonProps$1, 'inputId'> {
2781
+ interface RadioButtonProps extends GenericProps$1, ReactToJSX<RadioButtonProps$1, 'inputId'> {
2748
2782
  /** On change callback. */
2749
2783
  onChange?(value?: string, name?: string, event?: React.ChangeEvent): void;
2750
2784
  }
@@ -2770,7 +2804,7 @@ interface RadioGroupProps$1 extends HasClassName {
2770
2804
  /**
2771
2805
  * Defines the props of the component.
2772
2806
  */
2773
- interface RadioGroupProps extends GenericProps, ReactToJSX<RadioGroupProps$1> {
2807
+ interface RadioGroupProps extends GenericProps$1, ReactToJSX<RadioGroupProps$1> {
2774
2808
  }
2775
2809
  /**
2776
2810
  * RadioGroup component.
@@ -2789,7 +2823,7 @@ declare const SelectVariant: {
2789
2823
  readonly chip: "chip";
2790
2824
  };
2791
2825
  type SelectVariant = ValueOf$1<typeof SelectVariant>;
2792
- interface CoreSelectProps extends GenericProps, HasTheme$1 {
2826
+ interface CoreSelectProps extends GenericProps$1, HasTheme$1 {
2793
2827
  /** Props to pass to the clear button (minus those already set by the Select props). If not specified, the button won't be displayed. */
2794
2828
  clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
2795
2829
  /** Whether the select (input variant) is displayed with error style or not. */
@@ -2869,7 +2903,7 @@ declare const SelectMultiple: Comp<SelectMultipleProps, HTMLDivElement>;
2869
2903
  /**
2870
2904
  * Defines the props of the component.
2871
2905
  */
2872
- interface SideNavigationProps extends GenericProps, HasTheme$1 {
2906
+ interface SideNavigationProps extends GenericProps$1, HasTheme$1 {
2873
2907
  /** SideNavigationItem elements. */
2874
2908
  children: ReactNode;
2875
2909
  }
@@ -2885,7 +2919,7 @@ declare const SideNavigation: Comp<SideNavigationProps, HTMLUListElement>;
2885
2919
  /**
2886
2920
  * Defines the props of the component.
2887
2921
  */
2888
- interface SideNavigationItemProps extends GenericProps, HasCloseMode {
2922
+ interface SideNavigationItemProps extends GenericProps$1, HasCloseMode {
2889
2923
  /** SideNavigationItem elements. */
2890
2924
  children?: ReactNode;
2891
2925
  /** Emphasis variant. */
@@ -2976,7 +3010,7 @@ interface SkeletonTypographyProps$1 extends HasTheme, HasClassName {
2976
3010
  /**
2977
3011
  * Defines the props of the component.
2978
3012
  */
2979
- interface SkeletonCircleProps extends GenericProps, ReactToJSX<SkeletonCircleProps$1> {
3013
+ interface SkeletonCircleProps extends GenericProps$1, ReactToJSX<SkeletonCircleProps$1> {
2980
3014
  }
2981
3015
  /**
2982
3016
  * SkeletonCircle component.
@@ -2990,7 +3024,7 @@ declare const SkeletonCircle: Comp<SkeletonCircleProps, HTMLDivElement>;
2990
3024
  /**
2991
3025
  * Defines the props of the component.
2992
3026
  */
2993
- interface SkeletonRectangleProps extends GenericProps, ReactToJSX<SkeletonRectangleProps$1> {
3027
+ interface SkeletonRectangleProps extends GenericProps$1, ReactToJSX<SkeletonRectangleProps$1> {
2994
3028
  }
2995
3029
  /**
2996
3030
  * SkeletonRectangle component.
@@ -3004,7 +3038,7 @@ declare const SkeletonRectangle: Comp<SkeletonRectangleProps, HTMLDivElement>;
3004
3038
  /**
3005
3039
  * Defines the props of the component.
3006
3040
  */
3007
- interface SkeletonTypographyProps extends GenericProps, ReactToJSX<SkeletonTypographyProps$1> {
3041
+ interface SkeletonTypographyProps extends GenericProps$1, ReactToJSX<SkeletonTypographyProps$1> {
3008
3042
  }
3009
3043
  /**
3010
3044
  * SkeletonTypography component.
@@ -3018,7 +3052,7 @@ declare const SkeletonTypography: Comp<SkeletonTypographyProps, HTMLDivElement>;
3018
3052
  /**
3019
3053
  * Defines the props of the component.
3020
3054
  */
3021
- interface SliderProps extends GenericProps, HasTheme$1 {
3055
+ interface SliderProps extends GenericProps$1, HasTheme$1 {
3022
3056
  /** Helper text. */
3023
3057
  helper?: string;
3024
3058
  /** Whether the min and max labels should be hidden or not. */
@@ -3077,7 +3111,7 @@ type SlideMode = ValueOf$1<typeof SlideMode>;
3077
3111
  /**
3078
3112
  * Defines the props of the component.
3079
3113
  */
3080
- interface SlideshowProps extends GenericProps, Pick<SlidesProps, 'autoPlay' | 'slidesId' | 'id' | 'theme' | 'fillHeight' | 'groupBy' | 'slideGroupLabel'> {
3114
+ interface SlideshowProps extends GenericProps$1, Pick<SlidesProps, 'autoPlay' | 'slidesId' | 'id' | 'theme' | 'fillHeight' | 'groupBy' | 'slideGroupLabel'> {
3081
3115
  /** Whether to use CSS transform translate or native scroll snap. */
3082
3116
  slideMode?: SlideMode;
3083
3117
  /** current slide active */
@@ -3103,7 +3137,7 @@ declare const Slideshow: Comp<SlideshowProps, HTMLDivElement>;
3103
3137
  /**
3104
3138
  * Defines the props of the component.
3105
3139
  */
3106
- interface SlideshowItemProps extends GenericProps {
3140
+ interface SlideshowItemProps extends GenericProps$1 {
3107
3141
  /** interval in which slides are automatically shown */
3108
3142
  interval?: number;
3109
3143
  /** Children */
@@ -3182,7 +3216,7 @@ interface UseSlideshowControls {
3182
3216
  /**
3183
3217
  * Defines the props of the component.
3184
3218
  */
3185
- interface SlideshowControlsProps extends GenericProps, HasTheme$1 {
3219
+ interface SlideshowControlsProps extends GenericProps$1, HasTheme$1 {
3186
3220
  /** Index of the current slide. */
3187
3221
  activeIndex?: number;
3188
3222
  /** Props to pass to the next button (minus those already set by the SlideshowControls props). */
@@ -3226,7 +3260,7 @@ declare const SlideshowControls: Comp<SlideshowControlsProps, HTMLDivElement> &
3226
3260
  };
3227
3261
  };
3228
3262
 
3229
- interface SlidesProps extends GenericProps, HasTheme$1 {
3263
+ interface SlidesProps extends GenericProps$1, HasTheme$1 {
3230
3264
  /** current slide active */
3231
3265
  activeIndex: number;
3232
3266
  /** slides id to be added to the wrapper */
@@ -3299,7 +3333,7 @@ interface SwitchProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisa
3299
3333
  /**
3300
3334
  * Defines the props of the component.
3301
3335
  */
3302
- interface SwitchProps extends GenericProps, ReactToJSX<SwitchProps$1, 'inputId' | 'label'> {
3336
+ interface SwitchProps extends GenericProps$1, ReactToJSX<SwitchProps$1, 'inputId' | 'label'> {
3303
3337
  /** On change callback. */
3304
3338
  onChange?(isChecked: boolean, value?: string, name?: string, event?: React__default.ChangeEvent): void;
3305
3339
  }
@@ -3329,7 +3363,7 @@ interface TableProps$1 extends HasTheme, HasClassName {
3329
3363
  /**
3330
3364
  * Defines the props of the component.
3331
3365
  */
3332
- interface TableProps extends GenericProps, Omit<TableProps$1, 'ref'> {
3366
+ interface TableProps extends GenericProps$1, Omit<TableProps$1, 'ref'> {
3333
3367
  /** Children */
3334
3368
  children?: React.ReactNode;
3335
3369
  }
@@ -3355,7 +3389,7 @@ interface TableBodyProps$1 extends HasClassName {
3355
3389
  /**
3356
3390
  * Defines the props of the component.
3357
3391
  */
3358
- interface TableBodyProps extends GenericProps, Omit<TableBodyProps$1, 'ref'> {
3392
+ interface TableBodyProps extends GenericProps$1, Omit<TableBodyProps$1, 'ref'> {
3359
3393
  /** Children */
3360
3394
  children?: React.ReactNode;
3361
3395
  }
@@ -3407,7 +3441,7 @@ interface TableCellProps$1 extends HasClassName {
3407
3441
  /**
3408
3442
  * Defines the props of the component.
3409
3443
  */
3410
- interface TableCellProps extends GenericProps, Omit<TableCellProps$1, 'ref'> {
3444
+ interface TableCellProps extends GenericProps$1, Omit<TableCellProps$1, 'ref'> {
3411
3445
  /** Children */
3412
3446
  children?: React.ReactNode;
3413
3447
  }
@@ -3433,7 +3467,7 @@ interface TableHeaderProps$1 extends HasClassName {
3433
3467
  /**
3434
3468
  * Defines the props of the component.
3435
3469
  */
3436
- interface TableHeaderProps extends GenericProps, Omit<TableHeaderProps$1, 'ref'> {
3470
+ interface TableHeaderProps extends GenericProps$1, Omit<TableHeaderProps$1, 'ref'> {
3437
3471
  /** Children */
3438
3472
  children?: React.ReactNode;
3439
3473
  }
@@ -3465,7 +3499,7 @@ interface TableRowProps$1 extends HasClassName, HasAriaDisabled {
3465
3499
  /**
3466
3500
  * Defines the props of the component.
3467
3501
  */
3468
- interface TableRowProps extends GenericProps, Omit<TableRowProps$1, 'ref' | 'tabIndex' | 'aria-disabled'> {
3502
+ interface TableRowProps extends GenericProps$1, Omit<TableRowProps$1, 'ref' | 'tabIndex' | 'aria-disabled'> {
3469
3503
  /** Whether the component is disabled or not. */
3470
3504
  isDisabled?: boolean;
3471
3505
  /** Children */
@@ -3510,7 +3544,7 @@ declare enum TabListLayout {
3510
3544
  /**
3511
3545
  * Defines the props of the component.
3512
3546
  */
3513
- interface TabListProps extends GenericProps, HasTheme$1 {
3547
+ interface TabListProps extends GenericProps$1, HasTheme$1 {
3514
3548
  /** ARIA label (purpose of the set of tabs). */
3515
3549
  ['aria-label']: string;
3516
3550
  /** Tab list. */
@@ -3534,7 +3568,7 @@ declare const TabList: Comp<TabListProps, HTMLDivElement>;
3534
3568
  /**
3535
3569
  * Defines the props of the component.
3536
3570
  */
3537
- interface TabProps extends GenericProps {
3571
+ interface TabProps extends GenericProps$1 {
3538
3572
  /** Children are not supported. */
3539
3573
  children?: never;
3540
3574
  /** Icon (SVG path). */
@@ -3564,7 +3598,7 @@ declare const Tab: Comp<TabProps, HTMLButtonElement>;
3564
3598
  /**
3565
3599
  * Defines the props of the component.
3566
3600
  */
3567
- interface TabPanelProps extends GenericProps {
3601
+ interface TabPanelProps extends GenericProps$1 {
3568
3602
  /** Native id property */
3569
3603
  id?: string;
3570
3604
  /** Whether the tab is active or not. */
@@ -3583,7 +3617,7 @@ interface TabPanelProps extends GenericProps {
3583
3617
  */
3584
3618
  declare const TabPanel: Comp<TabPanelProps, HTMLDivElement>;
3585
3619
 
3586
- interface TextProps extends ReactToJSX<TextProps$1>, GenericProps {
3620
+ interface TextProps extends ReactToJSX<TextProps$1>, GenericProps$1 {
3587
3621
  }
3588
3622
  /**
3589
3623
  * Text component.
@@ -3597,7 +3631,7 @@ declare const Text: Comp<TextProps, HTMLElement>;
3597
3631
  /**
3598
3632
  * Defines the props of the component.
3599
3633
  */
3600
- interface TextFieldProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3634
+ interface TextFieldProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
3601
3635
  /** Chip Group to be rendered before the main text input. */
3602
3636
  chips?: ReactNode;
3603
3637
  /** Props to pass to the clear button (minus those already set by the TextField props). If not specified, the button won't be displayed. */
@@ -3710,7 +3744,7 @@ interface ToolbarProps$1 extends HasClassName {
3710
3744
  /**
3711
3745
  * Defines the props of the component.
3712
3746
  */
3713
- interface ToolbarProps extends GenericProps, ReactToJSX<ToolbarProps$1> {
3747
+ interface ToolbarProps extends GenericProps$1, ReactToJSX<ToolbarProps$1> {
3714
3748
  /** After content (placed after the label). */
3715
3749
  after?: ReactNode;
3716
3750
  /** Before content (placed before the label). */
@@ -3734,7 +3768,7 @@ type TooltipPlacement = Extract<Placement, 'top' | 'right' | 'bottom' | 'left'>;
3734
3768
  /**
3735
3769
  * Defines the props of the component.
3736
3770
  */
3737
- interface TooltipProps extends GenericProps, HasCloseMode {
3771
+ interface TooltipProps extends GenericProps$1, HasCloseMode {
3738
3772
  /** Anchor (element on which we activate the tooltip). */
3739
3773
  children: ReactNode;
3740
3774
  /** Delay (in ms) before closing the tooltip. */
@@ -3779,7 +3813,7 @@ interface FileInputProps extends Omit<React__default.ComponentProps<'input'>, 'o
3779
3813
  /**
3780
3814
  * Defines the props of the component.
3781
3815
  */
3782
- interface UploaderProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3816
+ interface UploaderProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
3783
3817
  /** Image aspect ratio. */
3784
3818
  aspectRatio?: AspectRatio$1;
3785
3819
  /** Icon (SVG path). */
@@ -3813,7 +3847,7 @@ type UserBlockSize = Extract<Size$1, 'xs' | 's' | 'm' | 'l'>;
3813
3847
  /**
3814
3848
  * Defines the props of the component.
3815
3849
  */
3816
- interface UserBlockProps extends GenericProps, HasTheme$1 {
3850
+ interface UserBlockProps extends GenericProps$1, HasTheme$1 {
3817
3851
  /** Props to pass to the avatar. */
3818
3852
  avatarProps?: Omit<AvatarProps, 'alt'>;
3819
3853
  /** Additional fields used to describe the user. */
@@ -3827,7 +3861,7 @@ interface UserBlockProps extends GenericProps, HasTheme$1 {
3827
3861
  /** User name. */
3828
3862
  name?: React__default.ReactNode;
3829
3863
  /** Props to pass to the name block. */
3830
- nameProps?: GenericProps;
3864
+ nameProps?: GenericProps$1;
3831
3865
  /** Orientation. */
3832
3866
  orientation?: Orientation$1;
3833
3867
  /** Simple action toolbar content. */