@lumx/react 4.2.1-alpha.6 → 4.2.1-alpha.7
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 +83 -82
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Size as Size$1, ColorPalette as ColorPalette$1, GenericProps as GenericProps$
|
|
1
|
+
import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Size as Size$1, ColorPalette as ColorPalette$1, GenericProps as GenericProps$2, Orientation as Orientation$1, Alignment as Alignment$1, AspectRatio, ColorWithVariants as ColorWithVariants$1, ColorVariant as ColorVariant$1, Typography as Typography$1, Emphasis as Emphasis$1, GlobalSize, TypographyInterface as TypographyInterface$1, Theme as Theme$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, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode, Falsy, HasClassName as HasClassName$1, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
|
|
4
|
+
import { GenericProps as GenericProps$1, HasTheme as HasTheme$1, ValueOf, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode, Falsy, HasClassName as HasClassName$1, 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, InputHTMLAttributes, RefObject, CSSProperties, ImgHTMLAttributes, AriaAttributes as AriaAttributes$1, SetStateAction, Key, ElementType, ComponentProps } from 'react';
|
|
8
|
-
import { GenericProps
|
|
8
|
+
import { GenericProps } from '@lumx/core/js/types/GenericProps';
|
|
9
|
+
import { GenericProps as GenericProps$3 } from '@lumx/core/js/utils/disabledState';
|
|
9
10
|
|
|
10
11
|
/** LumX Component Type. */
|
|
11
12
|
type Comp<P, T = HTMLElement> = {
|
|
12
13
|
(props: P & {
|
|
13
14
|
ref?: Ref<T>;
|
|
14
|
-
}): ReactElement | null;
|
|
15
|
+
} & GenericProps): ReactElement | null;
|
|
15
16
|
/** React component type. */
|
|
16
17
|
readonly $$typeof: symbol;
|
|
17
18
|
/** Component default props. */
|
|
@@ -69,7 +70,7 @@ declare const AlertDialog: Comp<AlertDialogProps, HTMLDivElement>;
|
|
|
69
70
|
/**
|
|
70
71
|
* Defines the props of the component.
|
|
71
72
|
*/
|
|
72
|
-
interface AutocompleteProps extends GenericProps, HasTheme$1 {
|
|
73
|
+
interface AutocompleteProps extends GenericProps$1, HasTheme$1 {
|
|
73
74
|
/**
|
|
74
75
|
* Whether the suggestions list should display anchored to the input or to the wrapper.
|
|
75
76
|
* @see {@link DropdownProps#anchorToInput}
|
|
@@ -262,7 +263,7 @@ type AvatarSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>
|
|
|
262
263
|
/**
|
|
263
264
|
* Defines the props of the component.
|
|
264
265
|
*/
|
|
265
|
-
interface AvatarProps extends GenericProps, HasTheme$1 {
|
|
266
|
+
interface AvatarProps extends GenericProps$1, HasTheme$1 {
|
|
266
267
|
/** Action toolbar content. */
|
|
267
268
|
actions?: ReactNode;
|
|
268
269
|
/** Image alternative text. */
|
|
@@ -296,7 +297,7 @@ declare const Avatar: Comp<AvatarProps, HTMLDivElement>;
|
|
|
296
297
|
/**
|
|
297
298
|
* Defines the props of the component.
|
|
298
299
|
*/
|
|
299
|
-
interface BadgeProps extends GenericProps {
|
|
300
|
+
interface BadgeProps extends GenericProps$1 {
|
|
300
301
|
/** Badge content. */
|
|
301
302
|
children?: ReactNode;
|
|
302
303
|
/** Color variant. */
|
|
@@ -311,7 +312,7 @@ interface BadgeProps extends GenericProps {
|
|
|
311
312
|
*/
|
|
312
313
|
declare const Badge: Comp<BadgeProps, HTMLDivElement>;
|
|
313
314
|
|
|
314
|
-
interface BadgeWrapperProps extends GenericProps {
|
|
315
|
+
interface BadgeWrapperProps extends GenericProps$1 {
|
|
315
316
|
/** Badge. */
|
|
316
317
|
badge: ReactElement;
|
|
317
318
|
/** Node to display the badge on */
|
|
@@ -626,7 +627,7 @@ declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
|
|
|
626
627
|
*/
|
|
627
628
|
declare const DEFAULT_PROPS: Partial<ButtonProps$1>;
|
|
628
629
|
|
|
629
|
-
interface ButtonProps extends GenericProps$
|
|
630
|
+
interface ButtonProps extends GenericProps$2, ButtonProps$1 {
|
|
630
631
|
}
|
|
631
632
|
/**
|
|
632
633
|
* Button component.
|
|
@@ -659,7 +660,7 @@ interface IconButtonProps$1 extends BaseButtonProps {
|
|
|
659
660
|
title?: string;
|
|
660
661
|
}
|
|
661
662
|
|
|
662
|
-
interface IconButtonProps extends GenericProps$
|
|
663
|
+
interface IconButtonProps extends GenericProps$2, IconButtonProps$1 {
|
|
663
664
|
/**
|
|
664
665
|
* Props to pass to the tooltip.
|
|
665
666
|
* If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
|
|
@@ -689,7 +690,7 @@ interface ButtonGroupProps$1 extends HasClassName {
|
|
|
689
690
|
ref?: CommonRef;
|
|
690
691
|
}
|
|
691
692
|
|
|
692
|
-
interface ButtonGroupProps extends ButtonGroupProps$1, GenericProps {
|
|
693
|
+
interface ButtonGroupProps extends ButtonGroupProps$1, GenericProps$1 {
|
|
693
694
|
}
|
|
694
695
|
/**
|
|
695
696
|
* ButtonGroup component.
|
|
@@ -703,7 +704,7 @@ declare const ButtonGroup: Comp<ButtonGroupProps, HTMLDivElement>;
|
|
|
703
704
|
/**
|
|
704
705
|
* Defines the props of the component.
|
|
705
706
|
*/
|
|
706
|
-
interface CheckboxProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
707
|
+
interface CheckboxProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
707
708
|
/** Helper text. */
|
|
708
709
|
helper?: string;
|
|
709
710
|
/** Native input id property. */
|
|
@@ -741,7 +742,7 @@ type ChipSize = Extract<Size$1, 's' | 'm'>;
|
|
|
741
742
|
/**
|
|
742
743
|
* Defines the props of the component.
|
|
743
744
|
*/
|
|
744
|
-
interface ChipProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
745
|
+
interface ChipProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
745
746
|
/** A component to be rendered after the content. */
|
|
746
747
|
after?: ReactNode;
|
|
747
748
|
/** A component to be rendered before the content. */
|
|
@@ -787,7 +788,7 @@ type useChipGroupNavigationType<C = any> = (chips: C[], onChipDeleted: (chip: C)
|
|
|
787
788
|
/**
|
|
788
789
|
* Defines the props of the component.
|
|
789
790
|
*/
|
|
790
|
-
interface ChipGroupProps extends GenericProps {
|
|
791
|
+
interface ChipGroupProps extends GenericProps$1 {
|
|
791
792
|
/**
|
|
792
793
|
* Chip horizontal alignment.
|
|
793
794
|
* @deprecated
|
|
@@ -811,7 +812,7 @@ type CommentBlockVariant = ValueOf<typeof CommentBlockVariant>;
|
|
|
811
812
|
/**
|
|
812
813
|
* Defines the props of the component.
|
|
813
814
|
*/
|
|
814
|
-
interface CommentBlockProps extends GenericProps, HasTheme$1 {
|
|
815
|
+
interface CommentBlockProps extends GenericProps$1, HasTheme$1 {
|
|
815
816
|
/** Action toolbar content. */
|
|
816
817
|
actions?: ReactNode;
|
|
817
818
|
/** Props to pass to the avatar. */
|
|
@@ -864,7 +865,7 @@ declare const CommentBlock: Comp<CommentBlockProps, HTMLDivElement>;
|
|
|
864
865
|
/**
|
|
865
866
|
* Defines the props of the component.
|
|
866
867
|
*/
|
|
867
|
-
interface DatePickerProps extends GenericProps {
|
|
868
|
+
interface DatePickerProps extends GenericProps$1 {
|
|
868
869
|
/** Default month. */
|
|
869
870
|
defaultMonth?: Date;
|
|
870
871
|
/** Locale (language or region) to use. */
|
|
@@ -919,7 +920,7 @@ declare const DatePickerControlled: Comp<DatePickerControlledProps, HTMLDivEleme
|
|
|
919
920
|
/**
|
|
920
921
|
* Defines the props of the component.
|
|
921
922
|
*/
|
|
922
|
-
interface DatePickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'>, GenericProps {
|
|
923
|
+
interface DatePickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'>, GenericProps$1 {
|
|
923
924
|
/** Default month. */
|
|
924
925
|
defaultMonth?: Date;
|
|
925
926
|
/** Locale (language or region) to use. */
|
|
@@ -949,7 +950,7 @@ declare const DatePickerField: Comp<DatePickerFieldProps, HTMLDivElement>;
|
|
|
949
950
|
/**
|
|
950
951
|
* Defines the props of the component.
|
|
951
952
|
*/
|
|
952
|
-
interface DialogProps extends GenericProps {
|
|
953
|
+
interface DialogProps extends GenericProps$1 {
|
|
953
954
|
/** Footer content. */
|
|
954
955
|
footer?: ReactNode;
|
|
955
956
|
/** Whether the divider between the dialog content and the footer is always displayed (instead of showing it on scroll). */
|
|
@@ -979,7 +980,7 @@ interface DialogProps extends GenericProps {
|
|
|
979
980
|
/** Z-axis position. */
|
|
980
981
|
zIndex?: number;
|
|
981
982
|
/** Z-axis position. */
|
|
982
|
-
dialogProps?: GenericProps;
|
|
983
|
+
dialogProps?: GenericProps$1;
|
|
983
984
|
/** On close callback. */
|
|
984
985
|
onClose?(): void;
|
|
985
986
|
/** Callback called when the open animation starts and the close animation finishes. */
|
|
@@ -1002,7 +1003,7 @@ declare const Dialog: Comp<DialogProps, HTMLDivElement>;
|
|
|
1002
1003
|
/**
|
|
1003
1004
|
* Defines the props of the component.
|
|
1004
1005
|
*/
|
|
1005
|
-
interface DividerProps extends GenericProps, HasTheme$1 {
|
|
1006
|
+
interface DividerProps extends GenericProps$1, HasTheme$1 {
|
|
1006
1007
|
}
|
|
1007
1008
|
/**
|
|
1008
1009
|
* Divider component.
|
|
@@ -1016,7 +1017,7 @@ declare const Divider: Comp<DividerProps, HTMLHRElement>;
|
|
|
1016
1017
|
/**
|
|
1017
1018
|
* Defines the props of the component.
|
|
1018
1019
|
*/
|
|
1019
|
-
interface DragHandleProps extends GenericProps, HasTheme$1 {
|
|
1020
|
+
interface DragHandleProps extends GenericProps$1, HasTheme$1 {
|
|
1020
1021
|
}
|
|
1021
1022
|
/**
|
|
1022
1023
|
* DragHandle component.
|
|
@@ -1074,7 +1075,7 @@ type FitAnchorWidth = ValueOf<typeof FitAnchorWidth>;
|
|
|
1074
1075
|
/**
|
|
1075
1076
|
* Defines the props of the component.
|
|
1076
1077
|
*/
|
|
1077
|
-
interface PopoverProps extends GenericProps, HasTheme$1 {
|
|
1078
|
+
interface PopoverProps extends GenericProps$1, HasTheme$1 {
|
|
1078
1079
|
/** Reference to the DOM element used to set the position of the popover. */
|
|
1079
1080
|
anchorRef: React.RefObject<HTMLElement>;
|
|
1080
1081
|
/** Customize the root element. (Must accept ref forwarding and props forwarding!). */
|
|
@@ -1135,7 +1136,7 @@ declare const Popover: Comp<PopoverProps, HTMLDivElement>;
|
|
|
1135
1136
|
/**
|
|
1136
1137
|
* Defines the props of the component.
|
|
1137
1138
|
*/
|
|
1138
|
-
interface DropdownProps extends GenericProps {
|
|
1139
|
+
interface DropdownProps extends GenericProps$1 {
|
|
1139
1140
|
/**
|
|
1140
1141
|
* Reference to the element around which the dropdown is placed.
|
|
1141
1142
|
* @see {@link PopoverProps#anchorRef}
|
|
@@ -1216,7 +1217,7 @@ declare const Dropdown: Comp<DropdownProps, HTMLDivElement>;
|
|
|
1216
1217
|
/**
|
|
1217
1218
|
* Defines the props of the component.
|
|
1218
1219
|
*/
|
|
1219
|
-
interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme$1 {
|
|
1220
|
+
interface ExpansionPanelProps extends GenericProps$1, HasCloseMode, HasTheme$1 {
|
|
1220
1221
|
/** Whether the expansion panel has a background. */
|
|
1221
1222
|
hasBackground?: boolean;
|
|
1222
1223
|
/** Whether the header has a divider. */
|
|
@@ -1307,7 +1308,7 @@ interface FlagProps$1 extends HasClassName, HasTheme {
|
|
|
1307
1308
|
Text: (props: TextProps$1) => any;
|
|
1308
1309
|
}
|
|
1309
1310
|
|
|
1310
|
-
interface FlagProps extends GenericProps$
|
|
1311
|
+
interface FlagProps extends GenericProps$2, Omit<FlagProps$1, 'children' | 'Text'> {
|
|
1311
1312
|
label: React.ReactNode;
|
|
1312
1313
|
}
|
|
1313
1314
|
/**
|
|
@@ -1352,7 +1353,7 @@ interface FlexBoxProps$1 extends HasClassName {
|
|
|
1352
1353
|
/**
|
|
1353
1354
|
* Defines the props of the component.
|
|
1354
1355
|
*/
|
|
1355
|
-
interface FlexBoxProps extends FlexBoxProps$1, GenericProps {
|
|
1356
|
+
interface FlexBoxProps extends FlexBoxProps$1, GenericProps$1 {
|
|
1356
1357
|
/** Customize the root element. */
|
|
1357
1358
|
as?: React__default.ElementType;
|
|
1358
1359
|
}
|
|
@@ -1476,7 +1477,7 @@ interface HeadingProps$1 extends Partial<TextProps$1> {
|
|
|
1476
1477
|
as?: HeadingElement;
|
|
1477
1478
|
}
|
|
1478
1479
|
|
|
1479
|
-
interface HeadingProps extends HeadingProps$1, GenericProps {
|
|
1480
|
+
interface HeadingProps extends HeadingProps$1, GenericProps$1 {
|
|
1480
1481
|
}
|
|
1481
1482
|
/**
|
|
1482
1483
|
* Renders a heading component.
|
|
@@ -1505,7 +1506,7 @@ type GridGutterSize = Extract<Size$1, 'regular' | 'big' | 'huge'>;
|
|
|
1505
1506
|
/**
|
|
1506
1507
|
* Defines the props of the component.
|
|
1507
1508
|
*/
|
|
1508
|
-
interface GridProps extends GenericProps {
|
|
1509
|
+
interface GridProps extends GenericProps$1 {
|
|
1509
1510
|
/** Orientation. */
|
|
1510
1511
|
orientation?: Orientation$1;
|
|
1511
1512
|
/** Whether the children are wrapped or not. */
|
|
@@ -1532,7 +1533,7 @@ type Columns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11'
|
|
|
1532
1533
|
/**
|
|
1533
1534
|
* Defines the props of the component.
|
|
1534
1535
|
*/
|
|
1535
|
-
interface GridItemProps extends GenericProps {
|
|
1536
|
+
interface GridItemProps extends GenericProps$1 {
|
|
1536
1537
|
/** Alignment. */
|
|
1537
1538
|
align?: Alignment$1;
|
|
1538
1539
|
/** Order. */
|
|
@@ -1555,7 +1556,7 @@ type GridColumnGapSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
|
|
|
1555
1556
|
/**
|
|
1556
1557
|
* Defines the props of the component.
|
|
1557
1558
|
*/
|
|
1558
|
-
interface GridColumnProps extends GenericProps {
|
|
1559
|
+
interface GridColumnProps extends GenericProps$1 {
|
|
1559
1560
|
/** Customize the root element. */
|
|
1560
1561
|
as?: React.ElementType;
|
|
1561
1562
|
/** Children elements. */
|
|
@@ -1606,7 +1607,7 @@ interface IconProps$1 extends HasClassName, HasTheme {
|
|
|
1606
1607
|
ref?: CommonRef;
|
|
1607
1608
|
}
|
|
1608
1609
|
|
|
1609
|
-
interface IconProps extends IconProps$1, GenericProps {
|
|
1610
|
+
interface IconProps extends IconProps$1, GenericProps$1 {
|
|
1610
1611
|
}
|
|
1611
1612
|
/**
|
|
1612
1613
|
* Icon component.
|
|
@@ -1664,7 +1665,7 @@ type ImgHTMLProps = ImgHTMLAttributes<HTMLImageElement>;
|
|
|
1664
1665
|
/**
|
|
1665
1666
|
* Defines the props of the component.
|
|
1666
1667
|
*/
|
|
1667
|
-
interface ThumbnailProps extends GenericProps, HasTheme$1 {
|
|
1668
|
+
interface ThumbnailProps extends GenericProps$1, HasTheme$1 {
|
|
1668
1669
|
/** Alignment of the thumbnail in it's parent (requires flex parent). */
|
|
1669
1670
|
align?: HorizontalAlignment$1;
|
|
1670
1671
|
/** Image alternative text. */
|
|
@@ -1750,7 +1751,7 @@ type ImageBlockSize = Extract<Size$1, 'xl' | 'xxl'>;
|
|
|
1750
1751
|
/**
|
|
1751
1752
|
* Defines the props of the component.
|
|
1752
1753
|
*/
|
|
1753
|
-
interface ImageBlockProps extends GenericProps, HasTheme$1, ImageCaptionMetadata {
|
|
1754
|
+
interface ImageBlockProps extends GenericProps$1, HasTheme$1, ImageCaptionMetadata {
|
|
1754
1755
|
/** Action toolbar content. */
|
|
1755
1756
|
actions?: ReactNode;
|
|
1756
1757
|
/** Alignment. */
|
|
@@ -1842,7 +1843,7 @@ declare const ImageLightbox: Comp<ImageLightboxProps, HTMLDivElement> & {
|
|
|
1842
1843
|
/**
|
|
1843
1844
|
* Defines the props of the component.
|
|
1844
1845
|
*/
|
|
1845
|
-
interface InlineListProps extends GenericProps {
|
|
1846
|
+
interface InlineListProps extends GenericProps$1 {
|
|
1846
1847
|
/**
|
|
1847
1848
|
* Text color.
|
|
1848
1849
|
*/
|
|
@@ -1885,7 +1886,7 @@ interface InputHelperProps$1 extends HasClassName, HasTheme {
|
|
|
1885
1886
|
ref?: CommonRef;
|
|
1886
1887
|
}
|
|
1887
1888
|
|
|
1888
|
-
interface InputHelperProps extends InputHelperProps$1, GenericProps$
|
|
1889
|
+
interface InputHelperProps extends InputHelperProps$1, GenericProps$3 {
|
|
1889
1890
|
}
|
|
1890
1891
|
/**
|
|
1891
1892
|
* InputHelper component.
|
|
@@ -1909,7 +1910,7 @@ interface InputLabelProps$1 extends HasClassName, HasTheme {
|
|
|
1909
1910
|
ref?: CommonRef;
|
|
1910
1911
|
}
|
|
1911
1912
|
|
|
1912
|
-
interface InputLabelProps extends InputLabelProps$1, GenericProps$
|
|
1913
|
+
interface InputLabelProps extends InputLabelProps$1, GenericProps$2 {
|
|
1913
1914
|
}
|
|
1914
1915
|
/**
|
|
1915
1916
|
* InputLabel component.
|
|
@@ -1923,7 +1924,7 @@ declare const InputLabel: Comp<InputLabelProps, HTMLLabelElement>;
|
|
|
1923
1924
|
/**
|
|
1924
1925
|
* Defines the props of the component.
|
|
1925
1926
|
*/
|
|
1926
|
-
interface LightboxProps extends GenericProps, HasTheme$1, Pick<AriaAttributes$1, 'aria-label' | 'aria-labelledby'> {
|
|
1927
|
+
interface LightboxProps extends GenericProps$1, HasTheme$1, Pick<AriaAttributes$1, 'aria-label' | 'aria-labelledby'> {
|
|
1927
1928
|
/** Props to pass to the close button (minus those already set by the Lightbox props). */
|
|
1928
1929
|
closeButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis' | 'color'>;
|
|
1929
1930
|
/** Whether the component is open or not. */
|
|
@@ -1954,7 +1955,7 @@ type HTMLAnchorProps = React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAn
|
|
|
1954
1955
|
/**
|
|
1955
1956
|
* Defines the props of the component.
|
|
1956
1957
|
*/
|
|
1957
|
-
interface LinkProps extends GenericProps, HasAriaDisabled$1 {
|
|
1958
|
+
interface LinkProps extends GenericProps$1, HasAriaDisabled$1 {
|
|
1958
1959
|
/** Color variant. */
|
|
1959
1960
|
color?: ColorWithVariants$1;
|
|
1960
1961
|
/** Lightened or darkened variant of the selected icon color. */
|
|
@@ -1994,7 +1995,7 @@ declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
|
1994
1995
|
/**
|
|
1995
1996
|
* Defines the props of the component.
|
|
1996
1997
|
*/
|
|
1997
|
-
interface LinkPreviewProps extends GenericProps, HasTheme$1 {
|
|
1998
|
+
interface LinkPreviewProps extends GenericProps$1, HasTheme$1 {
|
|
1998
1999
|
/** Description. */
|
|
1999
2000
|
description?: string;
|
|
2000
2001
|
/** Link URL. */
|
|
@@ -2037,7 +2038,7 @@ type useKeyboardListNavigationType = <I>(items: I[], ref: RefObject<HTMLElement>
|
|
|
2037
2038
|
/**
|
|
2038
2039
|
* Defines the props of the component.
|
|
2039
2040
|
*/
|
|
2040
|
-
interface ListProps extends GenericProps {
|
|
2041
|
+
interface ListProps extends GenericProps$1 {
|
|
2041
2042
|
/** List content (should be ListItem, ListSubheader or ListDivider). */
|
|
2042
2043
|
children: ReactNode;
|
|
2043
2044
|
/**
|
|
@@ -2066,7 +2067,7 @@ type ListItemSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
|
|
|
2066
2067
|
/**
|
|
2067
2068
|
* Defines the props of the component.
|
|
2068
2069
|
*/
|
|
2069
|
-
interface ListItemProps extends GenericProps, HasAriaDisabled$1 {
|
|
2070
|
+
interface ListItemProps extends GenericProps$1, HasAriaDisabled$1 {
|
|
2070
2071
|
/** A component to be rendered after the content. */
|
|
2071
2072
|
after?: ReactNode;
|
|
2072
2073
|
/** A component to be rendered before the content. */
|
|
@@ -2109,7 +2110,7 @@ declare const ListItem: Comp<ListItemProps, HTMLLIElement>;
|
|
|
2109
2110
|
/**
|
|
2110
2111
|
* Defines the props of the component.
|
|
2111
2112
|
*/
|
|
2112
|
-
type ListDividerProps = GenericProps;
|
|
2113
|
+
type ListDividerProps = GenericProps$1;
|
|
2113
2114
|
/**
|
|
2114
2115
|
* ListDivider component.
|
|
2115
2116
|
*
|
|
@@ -2117,12 +2118,12 @@ type ListDividerProps = GenericProps;
|
|
|
2117
2118
|
* @param ref Component ref.
|
|
2118
2119
|
* @return React element.
|
|
2119
2120
|
*/
|
|
2120
|
-
declare const ListDivider: Comp<GenericProps, HTMLLIElement>;
|
|
2121
|
+
declare const ListDivider: Comp<GenericProps$1, HTMLLIElement>;
|
|
2121
2122
|
|
|
2122
2123
|
/**
|
|
2123
2124
|
* Defines the props of the component.
|
|
2124
2125
|
*/
|
|
2125
|
-
interface ListSubheaderProps extends GenericProps {
|
|
2126
|
+
interface ListSubheaderProps extends GenericProps$1 {
|
|
2126
2127
|
/** Content. */
|
|
2127
2128
|
children: string | ReactNode;
|
|
2128
2129
|
}
|
|
@@ -2178,7 +2179,7 @@ declare const Message: Comp<MessageProps, HTMLDivElement>;
|
|
|
2178
2179
|
/**
|
|
2179
2180
|
* Defines the props of the component.
|
|
2180
2181
|
*/
|
|
2181
|
-
interface MosaicProps extends GenericProps, HasTheme$1 {
|
|
2182
|
+
interface MosaicProps extends GenericProps$1, HasTheme$1 {
|
|
2182
2183
|
/** Thumbnails. */
|
|
2183
2184
|
thumbnails: ThumbnailProps[];
|
|
2184
2185
|
/** On image click callback. */
|
|
@@ -2234,7 +2235,7 @@ declare const Navigation: Comp<NavigationProps, HTMLElement> & SubComponents;
|
|
|
2234
2235
|
/**
|
|
2235
2236
|
* Defines the props of the component.
|
|
2236
2237
|
*/
|
|
2237
|
-
interface NotificationProps extends GenericProps, HasTheme$1 {
|
|
2238
|
+
interface NotificationProps extends GenericProps$1, HasTheme$1 {
|
|
2238
2239
|
/** Action button label. */
|
|
2239
2240
|
actionLabel?: string;
|
|
2240
2241
|
/** Content. */
|
|
@@ -2278,7 +2279,7 @@ declare const PopoverDialog: Comp<PopoverDialogProps, HTMLDivElement>;
|
|
|
2278
2279
|
/**
|
|
2279
2280
|
* Defines the props of the component.
|
|
2280
2281
|
*/
|
|
2281
|
-
interface PostBlockProps extends GenericProps, HasTheme$1 {
|
|
2282
|
+
interface PostBlockProps extends GenericProps$1, HasTheme$1 {
|
|
2282
2283
|
/** Action toolbar content. */
|
|
2283
2284
|
actions?: ReactNode;
|
|
2284
2285
|
/** Attachment content. */
|
|
@@ -2322,7 +2323,7 @@ type ProgressVariant = ValueOf<typeof ProgressVariant>;
|
|
|
2322
2323
|
/**
|
|
2323
2324
|
* Defines the props of the component.
|
|
2324
2325
|
*/
|
|
2325
|
-
interface ProgressProps extends GenericProps, HasTheme$1 {
|
|
2326
|
+
interface ProgressProps extends GenericProps$1, HasTheme$1 {
|
|
2326
2327
|
/** Progress variant. */
|
|
2327
2328
|
variant?: ProgressVariant;
|
|
2328
2329
|
}
|
|
@@ -2343,7 +2344,7 @@ type ProgressCircularSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm'>;
|
|
|
2343
2344
|
/**
|
|
2344
2345
|
* Defines the props of the component.
|
|
2345
2346
|
*/
|
|
2346
|
-
interface ProgressCircularProps extends GenericProps, HasTheme$1 {
|
|
2347
|
+
interface ProgressCircularProps extends GenericProps$1, HasTheme$1 {
|
|
2347
2348
|
/**
|
|
2348
2349
|
* Progress circular size.
|
|
2349
2350
|
*/
|
|
@@ -2363,7 +2364,7 @@ interface ProgressCircularProps extends GenericProps, HasTheme$1 {
|
|
|
2363
2364
|
*/
|
|
2364
2365
|
declare const ProgressCircular: Comp<ProgressCircularProps, HTMLDivElement>;
|
|
2365
2366
|
|
|
2366
|
-
interface ProgressLinearProps extends GenericProps, HasTheme$1 {
|
|
2367
|
+
interface ProgressLinearProps extends GenericProps$1, HasTheme$1 {
|
|
2367
2368
|
}
|
|
2368
2369
|
/**
|
|
2369
2370
|
* ProgressLinear component.
|
|
@@ -2402,7 +2403,7 @@ declare const ProgressTrackerProvider: React.FC<ProgressTrackerProviderProps>;
|
|
|
2402
2403
|
/**
|
|
2403
2404
|
* Defines the props of the component.
|
|
2404
2405
|
*/
|
|
2405
|
-
interface ProgressTrackerProps extends GenericProps {
|
|
2406
|
+
interface ProgressTrackerProps extends GenericProps$1 {
|
|
2406
2407
|
/** ARIA label (purpose of the set of steps). */
|
|
2407
2408
|
['aria-label']: string;
|
|
2408
2409
|
/** Step list. */
|
|
@@ -2422,7 +2423,7 @@ declare const ProgressTracker: Comp<ProgressTrackerProps, HTMLDivElement>;
|
|
|
2422
2423
|
/**
|
|
2423
2424
|
* Defines the props of the component.
|
|
2424
2425
|
*/
|
|
2425
|
-
interface ProgressTrackerStepProps extends GenericProps {
|
|
2426
|
+
interface ProgressTrackerStepProps extends GenericProps$1 {
|
|
2426
2427
|
/** Children are not supported. */
|
|
2427
2428
|
children?: never;
|
|
2428
2429
|
/** Whether the step should be in error state or not. */
|
|
@@ -2454,7 +2455,7 @@ declare const ProgressTrackerStep: Comp<ProgressTrackerStepProps, HTMLButtonElem
|
|
|
2454
2455
|
/**
|
|
2455
2456
|
* Defines the props of the component.
|
|
2456
2457
|
*/
|
|
2457
|
-
interface ProgressTrackerStepPanelProps extends GenericProps {
|
|
2458
|
+
interface ProgressTrackerStepPanelProps extends GenericProps$1 {
|
|
2458
2459
|
/** Native id property. */
|
|
2459
2460
|
id?: string;
|
|
2460
2461
|
/** Whether the step is active or not. */
|
|
@@ -2476,7 +2477,7 @@ declare const ProgressTrackerStepPanel: Comp<ProgressTrackerStepPanelProps, HTML
|
|
|
2476
2477
|
/**
|
|
2477
2478
|
* Defines the props of the component.
|
|
2478
2479
|
*/
|
|
2479
|
-
interface RadioButtonProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
2480
|
+
interface RadioButtonProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
2480
2481
|
/** Helper text. */
|
|
2481
2482
|
helper?: string;
|
|
2482
2483
|
/** Native input id property. */
|
|
@@ -2510,7 +2511,7 @@ declare const RadioButton: Comp<RadioButtonProps, HTMLDivElement>;
|
|
|
2510
2511
|
/**
|
|
2511
2512
|
* Defines the props of the component.
|
|
2512
2513
|
*/
|
|
2513
|
-
interface RadioGroupProps extends GenericProps {
|
|
2514
|
+
interface RadioGroupProps extends GenericProps$1 {
|
|
2514
2515
|
/** RadioButton elements */
|
|
2515
2516
|
children: ReactNode;
|
|
2516
2517
|
}
|
|
@@ -2531,7 +2532,7 @@ declare const SelectVariant: {
|
|
|
2531
2532
|
readonly chip: "chip";
|
|
2532
2533
|
};
|
|
2533
2534
|
type SelectVariant = ValueOf<typeof SelectVariant>;
|
|
2534
|
-
interface CoreSelectProps extends GenericProps, HasTheme$1 {
|
|
2535
|
+
interface CoreSelectProps extends GenericProps$1, HasTheme$1 {
|
|
2535
2536
|
/** Props to pass to the clear button (minus those already set by the Select props). If not specified, the button won't be displayed. */
|
|
2536
2537
|
clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
|
|
2537
2538
|
/** Whether the select (input variant) is displayed with error style or not. */
|
|
@@ -2611,7 +2612,7 @@ declare const SelectMultiple: Comp<SelectMultipleProps, HTMLDivElement>;
|
|
|
2611
2612
|
/**
|
|
2612
2613
|
* Defines the props of the component.
|
|
2613
2614
|
*/
|
|
2614
|
-
interface SideNavigationProps extends GenericProps, HasTheme$1 {
|
|
2615
|
+
interface SideNavigationProps extends GenericProps$1, HasTheme$1 {
|
|
2615
2616
|
/** SideNavigationItem elements. */
|
|
2616
2617
|
children: ReactNode;
|
|
2617
2618
|
}
|
|
@@ -2627,7 +2628,7 @@ declare const SideNavigation: Comp<SideNavigationProps, HTMLUListElement>;
|
|
|
2627
2628
|
/**
|
|
2628
2629
|
* Defines the props of the component.
|
|
2629
2630
|
*/
|
|
2630
|
-
interface SideNavigationItemProps extends GenericProps, HasCloseMode {
|
|
2631
|
+
interface SideNavigationItemProps extends GenericProps$1, HasCloseMode {
|
|
2631
2632
|
/** SideNavigationItem elements. */
|
|
2632
2633
|
children?: ReactNode;
|
|
2633
2634
|
/** Emphasis variant. */
|
|
@@ -2663,7 +2664,7 @@ declare const SideNavigationItem: Comp<SideNavigationItemProps, HTMLLIElement>;
|
|
|
2663
2664
|
/**
|
|
2664
2665
|
* Defines the props of the component.
|
|
2665
2666
|
*/
|
|
2666
|
-
interface SkeletonCircleProps extends GenericProps, HasTheme$1 {
|
|
2667
|
+
interface SkeletonCircleProps extends GenericProps$1, HasTheme$1 {
|
|
2667
2668
|
/** Size variant. */
|
|
2668
2669
|
size: GlobalSize;
|
|
2669
2670
|
/** The color of the skeleton. */
|
|
@@ -2690,7 +2691,7 @@ type SkeletonRectangleVariant = ValueOf<typeof SkeletonRectangleVariant>;
|
|
|
2690
2691
|
/**
|
|
2691
2692
|
* Defines the props of the component.
|
|
2692
2693
|
*/
|
|
2693
|
-
interface SkeletonRectangleProps extends GenericProps, HasTheme$1 {
|
|
2694
|
+
interface SkeletonRectangleProps extends GenericProps$1, HasTheme$1 {
|
|
2694
2695
|
/** Aspect ratio (use with width and not height). */
|
|
2695
2696
|
aspectRatio?: Extract<AspectRatio, 'square' | 'horizontal' | 'vertical' | 'wide'>;
|
|
2696
2697
|
/** Height size. */
|
|
@@ -2714,7 +2715,7 @@ declare const SkeletonRectangle: Comp<SkeletonRectangleProps, HTMLDivElement>;
|
|
|
2714
2715
|
/**
|
|
2715
2716
|
* Defines the props of the component.
|
|
2716
2717
|
*/
|
|
2717
|
-
interface SkeletonTypographyProps extends GenericProps, HasTheme$1 {
|
|
2718
|
+
interface SkeletonTypographyProps extends GenericProps$1, HasTheme$1 {
|
|
2718
2719
|
/** Typography variant. */
|
|
2719
2720
|
typography: TypographyInterface$1;
|
|
2720
2721
|
/** Width CSS property. */
|
|
@@ -2734,7 +2735,7 @@ declare const SkeletonTypography: Comp<SkeletonTypographyProps, HTMLDivElement>;
|
|
|
2734
2735
|
/**
|
|
2735
2736
|
* Defines the props of the component.
|
|
2736
2737
|
*/
|
|
2737
|
-
interface SliderProps extends GenericProps, HasTheme$1 {
|
|
2738
|
+
interface SliderProps extends GenericProps$1, HasTheme$1 {
|
|
2738
2739
|
/** Helper text. */
|
|
2739
2740
|
helper?: string;
|
|
2740
2741
|
/** Whether the min and max labels should be hidden or not. */
|
|
@@ -2793,7 +2794,7 @@ type SlideMode = ValueOf<typeof SlideMode>;
|
|
|
2793
2794
|
/**
|
|
2794
2795
|
* Defines the props of the component.
|
|
2795
2796
|
*/
|
|
2796
|
-
interface SlideshowProps extends GenericProps, Pick<SlidesProps, 'autoPlay' | 'slidesId' | 'id' | 'theme' | 'fillHeight' | 'groupBy' | 'slideGroupLabel'> {
|
|
2797
|
+
interface SlideshowProps extends GenericProps$1, Pick<SlidesProps, 'autoPlay' | 'slidesId' | 'id' | 'theme' | 'fillHeight' | 'groupBy' | 'slideGroupLabel'> {
|
|
2797
2798
|
/** Whether to use CSS transform translate or native scroll snap. */
|
|
2798
2799
|
slideMode?: SlideMode;
|
|
2799
2800
|
/** current slide active */
|
|
@@ -2819,7 +2820,7 @@ declare const Slideshow: Comp<SlideshowProps, HTMLDivElement>;
|
|
|
2819
2820
|
/**
|
|
2820
2821
|
* Defines the props of the component.
|
|
2821
2822
|
*/
|
|
2822
|
-
interface SlideshowItemProps extends GenericProps {
|
|
2823
|
+
interface SlideshowItemProps extends GenericProps$1 {
|
|
2823
2824
|
/** interval in which slides are automatically shown */
|
|
2824
2825
|
interval?: number;
|
|
2825
2826
|
/** Children */
|
|
@@ -2898,7 +2899,7 @@ interface UseSlideshowControls {
|
|
|
2898
2899
|
/**
|
|
2899
2900
|
* Defines the props of the component.
|
|
2900
2901
|
*/
|
|
2901
|
-
interface SlideshowControlsProps extends GenericProps, HasTheme$1 {
|
|
2902
|
+
interface SlideshowControlsProps extends GenericProps$1, HasTheme$1 {
|
|
2902
2903
|
/** Index of the current slide. */
|
|
2903
2904
|
activeIndex?: number;
|
|
2904
2905
|
/** Props to pass to the next button (minus those already set by the SlideshowControls props). */
|
|
@@ -2942,7 +2943,7 @@ declare const SlideshowControls: Comp<SlideshowControlsProps, HTMLDivElement> &
|
|
|
2942
2943
|
};
|
|
2943
2944
|
};
|
|
2944
2945
|
|
|
2945
|
-
interface SlidesProps extends GenericProps, HasTheme$1 {
|
|
2946
|
+
interface SlidesProps extends GenericProps$1, HasTheme$1 {
|
|
2946
2947
|
/** current slide active */
|
|
2947
2948
|
activeIndex: number;
|
|
2948
2949
|
/** slides id to be added to the wrapper */
|
|
@@ -2987,7 +2988,7 @@ declare const Slides: Comp<SlidesProps, HTMLDivElement>;
|
|
|
2987
2988
|
/**
|
|
2988
2989
|
* Defines the props of the component.
|
|
2989
2990
|
*/
|
|
2990
|
-
interface SwitchProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
2991
|
+
interface SwitchProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
2991
2992
|
/** Helper text. */
|
|
2992
2993
|
helper?: string;
|
|
2993
2994
|
/** Whether it is checked or not. */
|
|
@@ -3019,7 +3020,7 @@ declare const Switch: Comp<SwitchProps, HTMLDivElement>;
|
|
|
3019
3020
|
/**
|
|
3020
3021
|
* Defines the props of the component.
|
|
3021
3022
|
*/
|
|
3022
|
-
interface TableProps extends GenericProps, HasTheme$1 {
|
|
3023
|
+
interface TableProps extends GenericProps$1, HasTheme$1 {
|
|
3023
3024
|
/** Whether the table has checkbox or thumbnail on first cell or not. */
|
|
3024
3025
|
hasBefore?: boolean;
|
|
3025
3026
|
/** Whether the table has dividers or not. */
|
|
@@ -3039,7 +3040,7 @@ declare const Table: Comp<TableProps, HTMLTableElement>;
|
|
|
3039
3040
|
/**
|
|
3040
3041
|
* Defines the props of the component.
|
|
3041
3042
|
*/
|
|
3042
|
-
interface TableBodyProps extends GenericProps {
|
|
3043
|
+
interface TableBodyProps extends GenericProps$1 {
|
|
3043
3044
|
/** Children */
|
|
3044
3045
|
children?: React.ReactNode;
|
|
3045
3046
|
}
|
|
@@ -3071,7 +3072,7 @@ type TableCellVariant = ValueOf<typeof TableCellVariant>;
|
|
|
3071
3072
|
/**
|
|
3072
3073
|
* Defines the props of the component.
|
|
3073
3074
|
*/
|
|
3074
|
-
interface TableCellProps extends GenericProps {
|
|
3075
|
+
interface TableCellProps extends GenericProps$1 {
|
|
3075
3076
|
/** Icon (SVG path).(thead only). */
|
|
3076
3077
|
icon?: string;
|
|
3077
3078
|
/** Whether the column is sortable or not (thead only). */
|
|
@@ -3097,7 +3098,7 @@ declare const TableCell: Comp<TableCellProps, HTMLTableCellElement>;
|
|
|
3097
3098
|
/**
|
|
3098
3099
|
* Defines the props of the component.
|
|
3099
3100
|
*/
|
|
3100
|
-
interface TableHeaderProps extends GenericProps {
|
|
3101
|
+
interface TableHeaderProps extends GenericProps$1 {
|
|
3101
3102
|
/** Children */
|
|
3102
3103
|
children?: React.ReactNode;
|
|
3103
3104
|
}
|
|
@@ -3113,7 +3114,7 @@ declare const TableHeader: Comp<TableHeaderProps, HTMLTableSectionElement>;
|
|
|
3113
3114
|
/**
|
|
3114
3115
|
* Defines the props of the component.
|
|
3115
3116
|
*/
|
|
3116
|
-
interface TableRowProps extends GenericProps {
|
|
3117
|
+
interface TableRowProps extends GenericProps$1 {
|
|
3117
3118
|
/** Whether the component is clickable or not. */
|
|
3118
3119
|
isClickable?: boolean;
|
|
3119
3120
|
/** Whether the component is disabled or not. */
|
|
@@ -3162,7 +3163,7 @@ declare enum TabListLayout {
|
|
|
3162
3163
|
/**
|
|
3163
3164
|
* Defines the props of the component.
|
|
3164
3165
|
*/
|
|
3165
|
-
interface TabListProps extends GenericProps, HasTheme$1 {
|
|
3166
|
+
interface TabListProps extends GenericProps$1, HasTheme$1 {
|
|
3166
3167
|
/** ARIA label (purpose of the set of tabs). */
|
|
3167
3168
|
['aria-label']: string;
|
|
3168
3169
|
/** Tab list. */
|
|
@@ -3186,7 +3187,7 @@ declare const TabList: Comp<TabListProps, HTMLDivElement>;
|
|
|
3186
3187
|
/**
|
|
3187
3188
|
* Defines the props of the component.
|
|
3188
3189
|
*/
|
|
3189
|
-
interface TabProps extends GenericProps {
|
|
3190
|
+
interface TabProps extends GenericProps$1 {
|
|
3190
3191
|
/** Children are not supported. */
|
|
3191
3192
|
children?: never;
|
|
3192
3193
|
/** Icon (SVG path). */
|
|
@@ -3216,7 +3217,7 @@ declare const Tab: Comp<TabProps, HTMLButtonElement>;
|
|
|
3216
3217
|
/**
|
|
3217
3218
|
* Defines the props of the component.
|
|
3218
3219
|
*/
|
|
3219
|
-
interface TabPanelProps extends GenericProps {
|
|
3220
|
+
interface TabPanelProps extends GenericProps$1 {
|
|
3220
3221
|
/** Native id property */
|
|
3221
3222
|
id?: string;
|
|
3222
3223
|
/** Whether the tab is active or not. */
|
|
@@ -3235,7 +3236,7 @@ interface TabPanelProps extends GenericProps {
|
|
|
3235
3236
|
*/
|
|
3236
3237
|
declare const TabPanel: Comp<TabPanelProps, HTMLDivElement>;
|
|
3237
3238
|
|
|
3238
|
-
interface TextProps extends TextProps$1, GenericProps {
|
|
3239
|
+
interface TextProps extends TextProps$1, GenericProps$1 {
|
|
3239
3240
|
}
|
|
3240
3241
|
/**
|
|
3241
3242
|
* Text component.
|
|
@@ -3249,7 +3250,7 @@ declare const Text: Comp<TextProps, HTMLElement>;
|
|
|
3249
3250
|
/**
|
|
3250
3251
|
* Defines the props of the component.
|
|
3251
3252
|
*/
|
|
3252
|
-
interface TextFieldProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
3253
|
+
interface TextFieldProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
3253
3254
|
/** Chip Group to be rendered before the main text input. */
|
|
3254
3255
|
chips?: ReactNode;
|
|
3255
3256
|
/** Props to pass to the clear button (minus those already set by the TextField props). If not specified, the button won't be displayed. */
|
|
@@ -3348,7 +3349,7 @@ declare const useFocusPointStyle: ({ image, aspectRatio, focusPoint, imgProps: {
|
|
|
3348
3349
|
/**
|
|
3349
3350
|
* Defines the props of the component.
|
|
3350
3351
|
*/
|
|
3351
|
-
interface ToolbarProps extends GenericProps {
|
|
3352
|
+
interface ToolbarProps extends GenericProps$1 {
|
|
3352
3353
|
/** After content (placed after the label). */
|
|
3353
3354
|
after?: ReactNode;
|
|
3354
3355
|
/** Before content (placed before the label). */
|
|
@@ -3372,7 +3373,7 @@ type TooltipPlacement = Extract<Placement, 'top' | 'right' | 'bottom' | 'left'>;
|
|
|
3372
3373
|
/**
|
|
3373
3374
|
* Defines the props of the component.
|
|
3374
3375
|
*/
|
|
3375
|
-
interface TooltipProps extends GenericProps, HasCloseMode {
|
|
3376
|
+
interface TooltipProps extends GenericProps$1, HasCloseMode {
|
|
3376
3377
|
/** Anchor (element on which we activate the tooltip). */
|
|
3377
3378
|
children: ReactNode;
|
|
3378
3379
|
/** Delay (in ms) before closing the tooltip. */
|
|
@@ -3417,7 +3418,7 @@ interface FileInputProps extends Omit<React__default.ComponentProps<'input'>, 'o
|
|
|
3417
3418
|
/**
|
|
3418
3419
|
* Defines the props of the component.
|
|
3419
3420
|
*/
|
|
3420
|
-
interface UploaderProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
|
|
3421
|
+
interface UploaderProps extends GenericProps$1, HasTheme$1, HasAriaDisabled$1 {
|
|
3421
3422
|
/** Image aspect ratio. */
|
|
3422
3423
|
aspectRatio?: AspectRatio;
|
|
3423
3424
|
/** Icon (SVG path). */
|
|
@@ -3451,7 +3452,7 @@ type UserBlockSize = Extract<Size$1, 'xs' | 's' | 'm' | 'l'>;
|
|
|
3451
3452
|
/**
|
|
3452
3453
|
* Defines the props of the component.
|
|
3453
3454
|
*/
|
|
3454
|
-
interface UserBlockProps extends GenericProps, HasTheme$1 {
|
|
3455
|
+
interface UserBlockProps extends GenericProps$1, HasTheme$1 {
|
|
3455
3456
|
/** Props to pass to the avatar. */
|
|
3456
3457
|
avatarProps?: Omit<AvatarProps, 'alt'>;
|
|
3457
3458
|
/** Additional fields used to describe the user. */
|
|
@@ -3465,7 +3466,7 @@ interface UserBlockProps extends GenericProps, HasTheme$1 {
|
|
|
3465
3466
|
/** User name. */
|
|
3466
3467
|
name?: React__default.ReactNode;
|
|
3467
3468
|
/** Props to pass to the name block. */
|
|
3468
|
-
nameProps?: GenericProps;
|
|
3469
|
+
nameProps?: GenericProps$1;
|
|
3469
3470
|
/** Orientation. */
|
|
3470
3471
|
orientation?: Orientation$1;
|
|
3471
3472
|
/** Simple action toolbar content. */
|