@lumx/react 4.3.2-alpha.1 → 4.3.2-alpha.3
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 +171 -56
- package/index.js +722 -364
- package/index.js.map +1 -1
- package/package.json +8 -3
- package/utils/index.js +1 -1
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, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode,
|
|
4
|
+
import { GenericProps, HasTheme as HasTheme$1, ValueOf as ValueOf$1, 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, AriaAttributes, RefObject, CSSProperties, ImgHTMLAttributes, SetStateAction, Key, ElementType, ComponentProps } from 'react';
|
|
@@ -673,7 +673,7 @@ interface ButtonProps extends GenericProps, ButtonProps$1 {
|
|
|
673
673
|
* @param ref Component ref.
|
|
674
674
|
* @return React element.
|
|
675
675
|
*/
|
|
676
|
-
declare const Button: Comp<ButtonProps,
|
|
676
|
+
declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
677
677
|
|
|
678
678
|
interface IconButtonProps$1 extends BaseButtonProps {
|
|
679
679
|
/**
|
|
@@ -1488,7 +1488,7 @@ declare const GenericBlockGapSize: Pick<{
|
|
|
1488
1488
|
readonly medium: "medium";
|
|
1489
1489
|
readonly big: "big";
|
|
1490
1490
|
readonly huge: "huge";
|
|
1491
|
-
}, "
|
|
1491
|
+
}, "tiny" | "regular" | "medium" | "big" | "huge">;
|
|
1492
1492
|
type GenericBlockGapSize = ValueOf$1<typeof GenericBlockGapSize>;
|
|
1493
1493
|
|
|
1494
1494
|
interface GenericBlockProps extends FlexBoxProps {
|
|
@@ -1724,54 +1724,42 @@ interface IconProps extends Omit<IconProps$1, 'children'>, GenericProps {
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
declare const Icon: Comp<IconProps, HTMLElement>;
|
|
1726
1726
|
|
|
1727
|
-
/**
|
|
1728
|
-
* Focal point using vertical alignment, horizontal alignment or coordinates (from -1 to 1).
|
|
1729
|
-
*/
|
|
1730
|
-
type FocusPoint = {
|
|
1731
|
-
x?: number;
|
|
1732
|
-
y?: number;
|
|
1733
|
-
};
|
|
1734
1727
|
/**
|
|
1735
1728
|
* Loading attribute is not yet supported in typescript, so we need
|
|
1736
1729
|
* to add it in order to avoid a ts error.
|
|
1737
1730
|
* https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/blob/master/ADVANCED.md#adding-non-standard-attributes
|
|
1738
1731
|
*/
|
|
1739
1732
|
declare module 'react' {
|
|
1740
|
-
interface ImgHTMLAttributes<T> extends
|
|
1733
|
+
interface ImgHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
1741
1734
|
loading?: 'eager' | 'lazy';
|
|
1742
1735
|
}
|
|
1743
1736
|
}
|
|
1744
|
-
/**
|
|
1745
|
-
* All available aspect ratios.
|
|
1746
|
-
* @deprecated
|
|
1747
|
-
*/
|
|
1748
|
-
declare const ThumbnailAspectRatio: Record<string, AspectRatio$1>;
|
|
1749
1737
|
/**
|
|
1750
1738
|
* Thumbnail sizes.
|
|
1751
1739
|
*/
|
|
1752
|
-
type ThumbnailSize = Extract<Size
|
|
1740
|
+
type ThumbnailSize$1 = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
|
|
1753
1741
|
/**
|
|
1754
1742
|
* Thumbnail variants.
|
|
1755
1743
|
*/
|
|
1756
|
-
declare const ThumbnailVariant: {
|
|
1744
|
+
declare const ThumbnailVariant$1: {
|
|
1757
1745
|
readonly squared: "squared";
|
|
1758
1746
|
readonly rounded: "rounded";
|
|
1759
1747
|
};
|
|
1760
|
-
type ThumbnailVariant = ValueOf
|
|
1748
|
+
type ThumbnailVariant$1 = ValueOf<typeof ThumbnailVariant$1>;
|
|
1761
1749
|
/**
|
|
1762
1750
|
* Thumbnail object fit.
|
|
1763
1751
|
*/
|
|
1764
|
-
declare const ThumbnailObjectFit: {
|
|
1752
|
+
declare const ThumbnailObjectFit$1: {
|
|
1765
1753
|
readonly cover: "cover";
|
|
1766
1754
|
readonly contain: "contain";
|
|
1767
1755
|
};
|
|
1768
|
-
type ThumbnailObjectFit = ValueOf
|
|
1756
|
+
type ThumbnailObjectFit$1 = ValueOf<typeof ThumbnailObjectFit$1>;
|
|
1769
1757
|
|
|
1770
1758
|
type ImgHTMLProps = ImgHTMLAttributes<HTMLImageElement>;
|
|
1771
1759
|
/**
|
|
1772
1760
|
* Defines the props of the component.
|
|
1773
1761
|
*/
|
|
1774
|
-
interface ThumbnailProps extends
|
|
1762
|
+
interface ThumbnailProps$1 extends HasTheme$1, HasClassName$1 {
|
|
1775
1763
|
/** Alignment of the thumbnail in it's parent (requires flex parent). */
|
|
1776
1764
|
align?: HorizontalAlignment$1;
|
|
1777
1765
|
/** Image alternative text. */
|
|
@@ -1779,41 +1767,98 @@ interface ThumbnailProps extends GenericProps, HasTheme$1 {
|
|
|
1779
1767
|
/** Image aspect ratio. */
|
|
1780
1768
|
aspectRatio?: AspectRatio$1;
|
|
1781
1769
|
/** Badge. */
|
|
1782
|
-
badge?:
|
|
1770
|
+
badge?: JSXElement$1;
|
|
1783
1771
|
/** Image cross origin resource policy. */
|
|
1784
1772
|
crossOrigin?: ImgHTMLProps['crossOrigin'];
|
|
1785
1773
|
/** Fallback icon (SVG path) or react node when image fails to load. */
|
|
1786
|
-
fallback?: string |
|
|
1774
|
+
fallback?: string | JSXElement$1;
|
|
1787
1775
|
/** Whether the thumbnail should fill it's parent size (requires flex parent) or not. */
|
|
1788
1776
|
fillHeight?: boolean;
|
|
1789
|
-
/** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
|
|
1790
|
-
focusPoint?: FocusPoint;
|
|
1791
1777
|
/** Image URL. */
|
|
1792
1778
|
image: string;
|
|
1779
|
+
loadingState: string;
|
|
1793
1780
|
/** Props to inject into the native <img> element. */
|
|
1794
1781
|
imgProps?: ImgHTMLProps;
|
|
1795
1782
|
/** Reference to the native <img> element. */
|
|
1796
|
-
imgRef?:
|
|
1783
|
+
imgRef?: CommonRef$1;
|
|
1784
|
+
ref?: CommonRef$1;
|
|
1797
1785
|
/** Set to true to force the display of the loading skeleton. */
|
|
1798
1786
|
isLoading?: boolean;
|
|
1799
1787
|
/** Set how the image should fit when its aspect ratio is constrained */
|
|
1800
|
-
objectFit?: ThumbnailObjectFit;
|
|
1788
|
+
objectFit?: ThumbnailObjectFit$1;
|
|
1801
1789
|
/** Size variant of the component. */
|
|
1802
|
-
size?: ThumbnailSize;
|
|
1790
|
+
size?: ThumbnailSize$1;
|
|
1803
1791
|
/** Image loading mode. */
|
|
1804
|
-
loading?:
|
|
1792
|
+
loading?: 'eager' | 'lazy';
|
|
1805
1793
|
/** Ref of an existing placeholder image to display while loading. */
|
|
1806
|
-
loadingPlaceholderImageRef?:
|
|
1794
|
+
loadingPlaceholderImageRef?: React.RefObject<HTMLImageElement>;
|
|
1807
1795
|
/** On click callback. */
|
|
1808
|
-
onClick?:
|
|
1796
|
+
onClick?: (event: any) => void;
|
|
1809
1797
|
/** On key press callback. */
|
|
1810
|
-
onKeyPress?:
|
|
1798
|
+
onKeyPress?: (event: any) => void;
|
|
1811
1799
|
/** Variant of the component. */
|
|
1812
|
-
variant?: ThumbnailVariant;
|
|
1800
|
+
variant?: ThumbnailVariant$1;
|
|
1813
1801
|
/** Props to pass to the link wrapping the thumbnail. */
|
|
1814
|
-
linkProps?:
|
|
1802
|
+
linkProps?: GenericProps;
|
|
1803
|
+
focusPointStyle?: GenericProps;
|
|
1804
|
+
disabledStateProps?: GenericProps;
|
|
1805
|
+
isAnyDisabled?: boolean;
|
|
1815
1806
|
/** Custom react component for the link (can be used to inject react router Link). */
|
|
1816
1807
|
linkAs?: 'a' | any;
|
|
1808
|
+
'aria-label'?: string;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Focal point using vertical alignment, horizontal alignment or coordinates (from -1 to 1).
|
|
1813
|
+
*/
|
|
1814
|
+
type FocusPoint = {
|
|
1815
|
+
x?: number;
|
|
1816
|
+
y?: number;
|
|
1817
|
+
};
|
|
1818
|
+
/**
|
|
1819
|
+
* Loading attribute is not yet supported in typescript, so we need
|
|
1820
|
+
* to add it in order to avoid a ts error.
|
|
1821
|
+
* https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/blob/master/ADVANCED.md#adding-non-standard-attributes
|
|
1822
|
+
*/
|
|
1823
|
+
declare module 'react' {
|
|
1824
|
+
interface ImgHTMLAttributes<T> extends React__default.HTMLAttributes<T> {
|
|
1825
|
+
loading?: 'eager' | 'lazy';
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* All available aspect ratios.
|
|
1830
|
+
* @deprecated
|
|
1831
|
+
*/
|
|
1832
|
+
declare const ThumbnailAspectRatio: Record<string, AspectRatio$1>;
|
|
1833
|
+
/**
|
|
1834
|
+
* Thumbnail sizes.
|
|
1835
|
+
*/
|
|
1836
|
+
type ThumbnailSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
|
|
1837
|
+
/**
|
|
1838
|
+
* Thumbnail variants.
|
|
1839
|
+
*/
|
|
1840
|
+
declare const ThumbnailVariant: {
|
|
1841
|
+
readonly squared: "squared";
|
|
1842
|
+
readonly rounded: "rounded";
|
|
1843
|
+
};
|
|
1844
|
+
type ThumbnailVariant = ValueOf$1<typeof ThumbnailVariant>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Thumbnail object fit.
|
|
1847
|
+
*/
|
|
1848
|
+
declare const ThumbnailObjectFit: {
|
|
1849
|
+
readonly cover: "cover";
|
|
1850
|
+
readonly contain: "contain";
|
|
1851
|
+
};
|
|
1852
|
+
type ThumbnailObjectFit = ValueOf$1<typeof ThumbnailObjectFit>;
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Defines the props of the component.
|
|
1856
|
+
*/
|
|
1857
|
+
interface ThumbnailProps extends GenericProps, Omit<ThumbnailProps$1, 'loadingState' | 'isAnyDisabled' | 'focusPointStyle' | 'disabledStateProps' | 'badge'> {
|
|
1858
|
+
/** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
|
|
1859
|
+
focusPoint?: FocusPoint;
|
|
1860
|
+
/** Badge. */
|
|
1861
|
+
badge?: ReactElement | Falsy;
|
|
1817
1862
|
}
|
|
1818
1863
|
/**
|
|
1819
1864
|
* Thumbnail component.
|
|
@@ -2059,37 +2104,55 @@ interface LightboxProps extends GenericProps, HasTheme$1, Pick<AriaAttributes, '
|
|
|
2059
2104
|
*/
|
|
2060
2105
|
declare const Lightbox: Comp<LightboxProps, HTMLDivElement>;
|
|
2061
2106
|
|
|
2062
|
-
type HTMLAnchorProps = React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
2063
2107
|
/**
|
|
2064
2108
|
* Defines the props of the component.
|
|
2065
2109
|
*/
|
|
2066
|
-
interface LinkProps extends
|
|
2110
|
+
interface LinkProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled {
|
|
2111
|
+
/** Link label content. */
|
|
2112
|
+
label?: JSXElement;
|
|
2067
2113
|
/** Color variant. */
|
|
2068
2114
|
color?: ColorWithVariants$1;
|
|
2069
2115
|
/** Lightened or darkened variant of the selected icon color. */
|
|
2070
2116
|
colorVariant?: ColorVariant$1;
|
|
2071
2117
|
/** Link href. */
|
|
2072
|
-
href?:
|
|
2073
|
-
/** Whether the component is disabled or not. */
|
|
2074
|
-
isDisabled?: boolean;
|
|
2118
|
+
href?: string;
|
|
2075
2119
|
/**
|
|
2076
2120
|
* Left icon (SVG path).
|
|
2077
|
-
* @deprecated Instead, simply nest `<Icon />` in the
|
|
2121
|
+
* @deprecated Instead, simply nest `<Icon />` in the label
|
|
2078
2122
|
*/
|
|
2079
2123
|
leftIcon?: string;
|
|
2080
|
-
/**
|
|
2081
|
-
|
|
2124
|
+
/** Element type or custom component for the link. */
|
|
2125
|
+
as?: string | any;
|
|
2082
2126
|
/**
|
|
2083
2127
|
* Right icon (SVG path).
|
|
2084
|
-
* @deprecated Instead, simply nest `<Icon />` in the
|
|
2128
|
+
* @deprecated Instead, simply nest `<Icon />` in the label
|
|
2085
2129
|
*/
|
|
2086
2130
|
rightIcon?: string;
|
|
2087
2131
|
/** Link target. */
|
|
2132
|
+
target?: string;
|
|
2133
|
+
/** Typography variant. */
|
|
2134
|
+
typography?: string;
|
|
2135
|
+
/** Click handler. */
|
|
2136
|
+
onClick?: (event: any) => void;
|
|
2137
|
+
/** Reference to the root element. */
|
|
2138
|
+
ref?: CommonRef;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
type HTMLAnchorProps = React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
2142
|
+
/**
|
|
2143
|
+
* Defines the props of the component.
|
|
2144
|
+
*/
|
|
2145
|
+
interface LinkProps extends GenericProps, Omit<LinkProps$1, 'label'> {
|
|
2146
|
+
/** Link href. */
|
|
2147
|
+
href?: HTMLAnchorProps['href'];
|
|
2148
|
+
/** Custom react component for the link (can be used to inject react router Link). */
|
|
2149
|
+
linkAs?: 'a' | any;
|
|
2150
|
+
/** Link target. */
|
|
2088
2151
|
target?: HTMLAnchorProps['target'];
|
|
2089
2152
|
/** Typography variant. */
|
|
2090
2153
|
typography?: Typography$1;
|
|
2091
2154
|
/** Children */
|
|
2092
|
-
children?:
|
|
2155
|
+
children?: React__default.ReactNode;
|
|
2093
2156
|
}
|
|
2094
2157
|
/**
|
|
2095
2158
|
* Link component.
|
|
@@ -2098,7 +2161,7 @@ interface LinkProps extends GenericProps, HasAriaDisabled$1 {
|
|
|
2098
2161
|
* @param ref Component ref.
|
|
2099
2162
|
* @return React element.
|
|
2100
2163
|
*/
|
|
2101
|
-
declare const Link: Comp<LinkProps,
|
|
2164
|
+
declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
2102
2165
|
|
|
2103
2166
|
/**
|
|
2104
2167
|
* Defines the props of the component.
|
|
@@ -3172,11 +3235,21 @@ declare const Switch: Comp<SwitchProps, HTMLDivElement>;
|
|
|
3172
3235
|
/**
|
|
3173
3236
|
* Defines the props of the component.
|
|
3174
3237
|
*/
|
|
3175
|
-
interface TableProps extends
|
|
3238
|
+
interface TableProps$1 extends HasTheme, HasClassName {
|
|
3176
3239
|
/** Whether the table has checkbox or thumbnail on first cell or not. */
|
|
3177
3240
|
hasBefore?: boolean;
|
|
3178
3241
|
/** Whether the table has dividers or not. */
|
|
3179
3242
|
hasDividers?: boolean;
|
|
3243
|
+
/** Children */
|
|
3244
|
+
children?: JSXElement;
|
|
3245
|
+
/** reference to the root element */
|
|
3246
|
+
ref?: CommonRef;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* Defines the props of the component.
|
|
3251
|
+
*/
|
|
3252
|
+
interface TableProps extends GenericProps, Omit<TableProps$1, 'ref'> {
|
|
3180
3253
|
/** Children */
|
|
3181
3254
|
children?: React.ReactNode;
|
|
3182
3255
|
}
|
|
@@ -3192,7 +3265,17 @@ declare const Table: Comp<TableProps, HTMLTableElement>;
|
|
|
3192
3265
|
/**
|
|
3193
3266
|
* Defines the props of the component.
|
|
3194
3267
|
*/
|
|
3195
|
-
interface TableBodyProps extends
|
|
3268
|
+
interface TableBodyProps$1 extends HasClassName {
|
|
3269
|
+
/** Children */
|
|
3270
|
+
children?: JSXElement;
|
|
3271
|
+
/** reference to the root element */
|
|
3272
|
+
ref?: CommonRef;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* Defines the props of the component.
|
|
3277
|
+
*/
|
|
3278
|
+
interface TableBodyProps extends GenericProps, Omit<TableBodyProps$1, 'ref'> {
|
|
3196
3279
|
/** Children */
|
|
3197
3280
|
children?: React.ReactNode;
|
|
3198
3281
|
}
|
|
@@ -3212,7 +3295,7 @@ declare const ThOrder: {
|
|
|
3212
3295
|
readonly asc: "asc";
|
|
3213
3296
|
readonly desc: "desc";
|
|
3214
3297
|
};
|
|
3215
|
-
type ThOrder = ValueOf
|
|
3298
|
+
type ThOrder = ValueOf<typeof ThOrder>;
|
|
3216
3299
|
/**
|
|
3217
3300
|
* Table cell variants.
|
|
3218
3301
|
*/
|
|
@@ -3220,11 +3303,11 @@ declare const TableCellVariant: {
|
|
|
3220
3303
|
readonly body: "body";
|
|
3221
3304
|
readonly head: "head";
|
|
3222
3305
|
};
|
|
3223
|
-
type TableCellVariant = ValueOf
|
|
3306
|
+
type TableCellVariant = ValueOf<typeof TableCellVariant>;
|
|
3224
3307
|
/**
|
|
3225
3308
|
* Defines the props of the component.
|
|
3226
3309
|
*/
|
|
3227
|
-
interface TableCellProps extends
|
|
3310
|
+
interface TableCellProps$1 extends HasClassName {
|
|
3228
3311
|
/** Icon (SVG path).(thead only). */
|
|
3229
3312
|
icon?: string;
|
|
3230
3313
|
/** Whether the column is sortable or not (thead only). */
|
|
@@ -3235,6 +3318,16 @@ interface TableCellProps extends GenericProps {
|
|
|
3235
3318
|
variant?: TableCellVariant;
|
|
3236
3319
|
/** On header cell click callback. */
|
|
3237
3320
|
onHeaderClick?(): void;
|
|
3321
|
+
/** Children */
|
|
3322
|
+
children?: JSXElement;
|
|
3323
|
+
/** reference to the root element */
|
|
3324
|
+
ref?: CommonRef;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
/**
|
|
3328
|
+
* Defines the props of the component.
|
|
3329
|
+
*/
|
|
3330
|
+
interface TableCellProps extends GenericProps, Omit<TableCellProps$1, 'ref'> {
|
|
3238
3331
|
/** Children */
|
|
3239
3332
|
children?: React.ReactNode;
|
|
3240
3333
|
}
|
|
@@ -3250,7 +3343,17 @@ declare const TableCell: Comp<TableCellProps, HTMLTableCellElement>;
|
|
|
3250
3343
|
/**
|
|
3251
3344
|
* Defines the props of the component.
|
|
3252
3345
|
*/
|
|
3253
|
-
interface TableHeaderProps extends
|
|
3346
|
+
interface TableHeaderProps$1 extends HasClassName {
|
|
3347
|
+
/** Children */
|
|
3348
|
+
children?: JSXElement;
|
|
3349
|
+
/** reference to the root element */
|
|
3350
|
+
ref?: CommonRef;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
/**
|
|
3354
|
+
* Defines the props of the component.
|
|
3355
|
+
*/
|
|
3356
|
+
interface TableHeaderProps extends GenericProps, Omit<TableHeaderProps$1, 'ref'> {
|
|
3254
3357
|
/** Children */
|
|
3255
3358
|
children?: React.ReactNode;
|
|
3256
3359
|
}
|
|
@@ -3266,13 +3369,25 @@ declare const TableHeader: Comp<TableHeaderProps, HTMLTableSectionElement>;
|
|
|
3266
3369
|
/**
|
|
3267
3370
|
* Defines the props of the component.
|
|
3268
3371
|
*/
|
|
3269
|
-
interface TableRowProps extends
|
|
3372
|
+
interface TableRowProps$1 extends HasClassName, HasAriaDisabled {
|
|
3270
3373
|
/** Whether the component is clickable or not. */
|
|
3271
3374
|
isClickable?: boolean;
|
|
3272
|
-
/** Whether the component is disabled or not. */
|
|
3273
|
-
isDisabled?: boolean;
|
|
3274
3375
|
/** Whether the component is selected or not. */
|
|
3275
3376
|
isSelected?: boolean;
|
|
3377
|
+
/** Tab index */
|
|
3378
|
+
tabIndex?: number;
|
|
3379
|
+
/** Children */
|
|
3380
|
+
children?: JSXElement;
|
|
3381
|
+
/** reference to the root element */
|
|
3382
|
+
ref?: CommonRef;
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
/**
|
|
3386
|
+
* Defines the props of the component.
|
|
3387
|
+
*/
|
|
3388
|
+
interface TableRowProps extends GenericProps, Omit<TableRowProps$1, 'ref' | 'tabIndex' | 'aria-disabled'> {
|
|
3389
|
+
/** Whether the component is disabled or not. */
|
|
3390
|
+
isDisabled?: boolean;
|
|
3276
3391
|
/** Children */
|
|
3277
3392
|
children?: React.ReactNode;
|
|
3278
3393
|
}
|
|
@@ -3654,5 +3769,5 @@ declare const ThemeProvider: React__default.FC<{
|
|
|
3654
3769
|
/** Get the theme in the current context. */
|
|
3655
3770
|
declare function useTheme(): ThemeContextValue;
|
|
3656
3771
|
|
|
3657
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
3772
|
+
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableCellVariant as TableCellVariantType, TableHeader, TableRow, Text, TextField, ThOrder, ThOrder as ThOrderType, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
3658
3773
|
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconButtonProps, IconProps, IconSizes, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, InputLabelProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSubheaderProps, MarginAutoAlignment, MessageProps, MosaicProps, NavigationProps, NotificationProps, Offset, PopoverDialogProps, PopoverProps, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectMultipleProps, SelectProps, SelectionChipGroupProps, SideNavigationItemProps, SideNavigationProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, TooltipPlacement, TooltipProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
|