react-magma-dom 7.0.0-next.0 → 7.0.0-next.1
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/dist/components/AlertBase/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Card/Card.d.ts +22 -0
- package/dist/components/Card/Card.stories.d.ts +4 -1
- package/dist/components/CharacterCounter/CharacterCounter.d.ts +4 -0
- package/dist/components/Checkbox/index.d.ts +7 -1
- package/dist/components/DatePicker/DateField/DateFieldInput.d.ts +1 -0
- package/dist/components/DatePicker/DateField/StyledDateFieldInput.d.ts +1 -0
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +2 -0
- package/dist/components/FormFieldContainer/FormFieldContainer.d.ts +22 -0
- package/dist/components/Input/InputMessage.d.ts +6 -0
- package/dist/components/InputBase/index.d.ts +53 -0
- package/dist/components/Label/index.d.ts +8 -0
- package/dist/components/NavTabs/NavTab.d.ts +6 -2
- package/dist/components/NavTabs/NavTabs.d.ts +6 -1
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Select/components.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +4 -0
- package/dist/components/SelectionControls/StyledLabel.d.ts +1 -0
- package/dist/components/StyledButton/styles.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +4 -16
- package/dist/components/Tabs/Tab.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +18 -6
- package/dist/components/Tag/Tag.d.ts +4 -1
- package/dist/components/TimePicker/TimePicker.d.ts +2 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +6 -0
- package/dist/components/TimePicker/useTimePicker.d.ts +5 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/TreeView/utils.d.ts +1 -0
- package/dist/esm/index.js +2139 -1371
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/properties.json +276 -24
- package/dist/react-magma-dom.cjs.development.js +2101 -1357
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/dist/theme/GlobalStyles/index.d.ts +2 -0
- package/dist/theme/ThemeContext.d.ts +2 -674
- package/dist/theme/magma.d.ts +237 -82
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ export interface AlertBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
33
33
|
}
|
|
34
34
|
export declare const transitionDuration = 500;
|
|
35
35
|
export declare function buildAlertBackground(props: any): any;
|
|
36
|
-
export declare function buildAlertBorder(props: any):
|
|
36
|
+
export declare function buildAlertBorder(props: any): string;
|
|
37
37
|
export declare function buildAlertColor(props: any): any;
|
|
38
38
|
export declare function buildLinkColor(props: any): any;
|
|
39
39
|
export declare function buildLinkHoverColor(props: any): any;
|
|
@@ -55,7 +55,7 @@ export declare enum BadgeWeight {
|
|
|
55
55
|
default = "default",
|
|
56
56
|
light = "light"
|
|
57
57
|
}
|
|
58
|
-
export declare function buildInverseLightWeightBadgeBackground(props: any):
|
|
58
|
+
export declare function buildInverseLightWeightBadgeBackground(props: any): any;
|
|
59
59
|
export declare function buildLightWeightBadgeBackground(props: any): any;
|
|
60
60
|
export declare function buildBadgeBackground(props: any): any;
|
|
61
61
|
export declare function buildInverseLightWeightBadgeTextColor(props: any): any;
|
|
@@ -19,6 +19,16 @@ export interface CardProps extends React.LabelHTMLAttributes<HTMLDivElement> {
|
|
|
19
19
|
* @default none
|
|
20
20
|
*/
|
|
21
21
|
calloutType?: CardCalloutType;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the radius size used by the card corners.
|
|
24
|
+
* @default CardBorderRadius.medium
|
|
25
|
+
*/
|
|
26
|
+
borderRadius?: CardBorderRadius;
|
|
27
|
+
/**
|
|
28
|
+
* Sets whether all corners are rounded or the top-left corner is square.
|
|
29
|
+
* @default CardCornerTreatment.all
|
|
30
|
+
*/
|
|
31
|
+
cornerTreatment?: CardCornerTreatment;
|
|
22
32
|
/**
|
|
23
33
|
* If true, card will render with a box-shadow
|
|
24
34
|
* @default false
|
|
@@ -46,6 +56,18 @@ export declare enum CardCalloutType {
|
|
|
46
56
|
warning = "warning",
|
|
47
57
|
info = "info"
|
|
48
58
|
}
|
|
59
|
+
export declare enum CardBorderRadius {
|
|
60
|
+
none = "none",
|
|
61
|
+
extraSmall = "extraSmall",
|
|
62
|
+
small = "small",
|
|
63
|
+
medium = "medium",
|
|
64
|
+
large = "large",
|
|
65
|
+
extraLarge = "extraLarge"
|
|
66
|
+
}
|
|
67
|
+
export declare enum CardCornerTreatment {
|
|
68
|
+
all = "all",
|
|
69
|
+
squareTopLeft = "squareTopLeft"
|
|
70
|
+
}
|
|
49
71
|
export declare function buildCalloutBackground(props: CardProps & {
|
|
50
72
|
theme: ThemeInterface;
|
|
51
73
|
}): string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { CardBorderRadius, CardCornerTreatment, CardProps } from '.';
|
|
2
3
|
declare const _default: any;
|
|
3
4
|
export default _default;
|
|
4
5
|
export declare const Default: {
|
|
5
|
-
render: (args:
|
|
6
|
+
render: (args: CardProps) => React.JSX.Element;
|
|
6
7
|
args: {
|
|
8
|
+
borderRadius: CardBorderRadius;
|
|
9
|
+
cornerTreatment: CardCornerTreatment;
|
|
7
10
|
isInverse: boolean;
|
|
8
11
|
align: string;
|
|
9
12
|
background: string;
|
|
@@ -12,7 +12,7 @@ export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElemen
|
|
|
12
12
|
checked?: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Hex code for the background color
|
|
15
|
-
* @default #
|
|
15
|
+
* @default #007085 (theme.colors.cyan700)
|
|
16
16
|
*/
|
|
17
17
|
color?: string;
|
|
18
18
|
/**
|
|
@@ -82,13 +82,19 @@ export declare const HiddenInput: React.FC<React.InputHTMLAttributes<HTMLInputEl
|
|
|
82
82
|
interface FakeInputStyleProps {
|
|
83
83
|
isChecked?: boolean;
|
|
84
84
|
color: string;
|
|
85
|
+
disabledColor?: string;
|
|
85
86
|
disabled?: boolean;
|
|
86
87
|
isIndeterminate?: boolean;
|
|
87
88
|
isInverse?: boolean;
|
|
88
89
|
hasError?: boolean;
|
|
89
90
|
hideFocus?: boolean;
|
|
91
|
+
inverseCheckedColor?: string;
|
|
92
|
+
inverseDisabledColor?: string;
|
|
93
|
+
inverseErrorColor?: string;
|
|
94
|
+
inverseUncheckedColor?: string;
|
|
90
95
|
textPosition?: CheckboxTextPosition;
|
|
91
96
|
theme: ThemeInterface;
|
|
97
|
+
uncheckedColor?: string;
|
|
92
98
|
}
|
|
93
99
|
export interface StyledFakeInputProps extends FakeInputStyleProps {
|
|
94
100
|
children?: React.ReactNode;
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { ReferenceType } from '@floating-ui/react-dom';
|
|
3
3
|
import { FormFieldContainerBaseProps } from '../../FormFieldContainer';
|
|
4
4
|
export interface DateFieldInputProps extends Omit<FormFieldContainerBaseProps, 'inputSize' | 'fieldId'> {
|
|
5
|
+
disabled?: boolean;
|
|
5
6
|
id?: string;
|
|
6
7
|
dateFormat?: string;
|
|
7
8
|
inputStyle?: React.CSSProperties;
|
|
@@ -4,6 +4,7 @@ export declare const InputsContainer: import("@emotion/styled").StyledComponent<
|
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
5
|
as?: import("react").ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
6
6
|
} & {
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
hasError?: boolean;
|
|
8
9
|
isInverse?: boolean;
|
|
9
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -30,11 +30,13 @@ export interface DropdownMenuItemProps extends Omit<React.HTMLAttributes<HTMLDiv
|
|
|
30
30
|
}
|
|
31
31
|
export declare function menuColors(props: any): any;
|
|
32
32
|
export declare function menuBackground(props: any): any;
|
|
33
|
+
export declare function menuFocusBackground(): string;
|
|
33
34
|
export declare const MenuItemStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
34
35
|
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
35
36
|
theme?: import("@emotion/react").Theme;
|
|
36
37
|
as?: React.ElementType<any, "symbol" | "object" | "slot" | "style" | "title" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
37
38
|
} & {
|
|
39
|
+
disabled?: boolean;
|
|
38
40
|
isInverse?: boolean;
|
|
39
41
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
40
42
|
export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ThemeInterface } from '../../theme/magma';
|
|
2
3
|
import { InputIconPosition, InputSize } from '../InputBase';
|
|
3
4
|
import { LabelPosition } from '../Label';
|
|
4
5
|
/**
|
|
@@ -20,6 +21,14 @@ export interface FormFieldContainerBaseProps {
|
|
|
20
21
|
* Content of the error message. If a value is provided, the field will be styled as an error state and the error message will display.
|
|
21
22
|
*/
|
|
22
23
|
errorMessage?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
errorMessageColor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
errorIconColor?: string;
|
|
23
32
|
/**
|
|
24
33
|
* ID of the form field. Also used in the description ID.
|
|
25
34
|
*/
|
|
@@ -72,6 +81,14 @@ export interface FormFieldContainerBaseProps {
|
|
|
72
81
|
* If the labelPosition value is 'left' then Input labels have a specified width in percentage, otherwise no width is set.
|
|
73
82
|
*/
|
|
74
83
|
labelWidth?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
labelColor?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
labelFontWeight?: React.CSSProperties['fontWeight'];
|
|
75
92
|
/**
|
|
76
93
|
* Enables the Character Counter and sets the maximum amount of characters allowed within the Input.
|
|
77
94
|
*/
|
|
@@ -85,6 +102,10 @@ export interface FormFieldContainerBaseProps {
|
|
|
85
102
|
* Style properties for the helper or error message
|
|
86
103
|
*/
|
|
87
104
|
messageStyle?: React.CSSProperties;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
messageColor?: string;
|
|
88
109
|
/**
|
|
89
110
|
* @internal
|
|
90
111
|
*/
|
|
@@ -94,4 +115,5 @@ export interface FormFieldContainerBaseProps {
|
|
|
94
115
|
*/
|
|
95
116
|
additionalContent?: React.ReactNode;
|
|
96
117
|
}
|
|
118
|
+
export declare const getInputFormFieldColors: (theme: ThemeInterface, isInverse: boolean) => Pick<FormFieldContainerBaseProps, 'errorIconColor' | 'errorMessageColor' | 'labelColor' | 'labelFontWeight' | 'messageColor'>;
|
|
97
119
|
export declare const FormFieldContainer: React.ForwardRefExoticComponent<FormFieldContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { InputSize } from '../InputBase';
|
|
3
3
|
export interface InputMessageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
errorColor?: string;
|
|
5
|
+
errorIconColor?: string;
|
|
4
6
|
hasError?: boolean;
|
|
5
7
|
id?: string;
|
|
6
8
|
/**
|
|
@@ -9,5 +11,9 @@ export interface InputMessageProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
9
11
|
inputSize?: InputSize;
|
|
10
12
|
isInverse?: boolean;
|
|
11
13
|
maxCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
messageColor?: string;
|
|
12
18
|
}
|
|
13
19
|
export declare const InputMessage: React.FunctionComponent<InputMessageProps>;
|
|
@@ -23,6 +23,38 @@ export declare enum InputIconPosition {
|
|
|
23
23
|
right = "right"
|
|
24
24
|
}
|
|
25
25
|
export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
backgroundColor?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
borderColor?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
errorBorderColor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
disabledBackgroundColor?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
disabledBorderColor?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
disabledIconColor?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
disabledPlaceholderColor?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
disabledTextColor?: string;
|
|
26
58
|
/**
|
|
27
59
|
* @internal
|
|
28
60
|
*/
|
|
@@ -47,6 +79,10 @@ export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
47
79
|
* Icon to display within the component
|
|
48
80
|
*/
|
|
49
81
|
icon?: React.ReactElement<IconProps>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
iconColor?: string;
|
|
50
86
|
/**
|
|
51
87
|
* Text for the aria-label attribute for an icon, if provided
|
|
52
88
|
*/
|
|
@@ -147,6 +183,14 @@ export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
147
183
|
* @default LabelPosition.top
|
|
148
184
|
*/
|
|
149
185
|
labelPosition?: LabelPosition;
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
*/
|
|
189
|
+
placeholderColor?: string;
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
textColor?: string;
|
|
150
194
|
/**
|
|
151
195
|
* If true, label text will be hidden visually, but will still be read by assistive technology
|
|
152
196
|
* @default false
|
|
@@ -163,6 +207,11 @@ export interface InputWrapperStylesProps {
|
|
|
163
207
|
hasError?: boolean;
|
|
164
208
|
disabled?: boolean;
|
|
165
209
|
inputSize?: InputSize;
|
|
210
|
+
backgroundColor?: string;
|
|
211
|
+
borderColor?: string;
|
|
212
|
+
errorBorderColor?: string;
|
|
213
|
+
disabledBackgroundColor?: string;
|
|
214
|
+
disabledBorderColor?: string;
|
|
166
215
|
}
|
|
167
216
|
export declare const inputWrapperStyles: (props: InputWrapperStylesProps) => import("@emotion/react").SerializedStyles;
|
|
168
217
|
export interface InputBaseStylesProps {
|
|
@@ -175,6 +224,10 @@ export interface InputBaseStylesProps {
|
|
|
175
224
|
disabled?: boolean;
|
|
176
225
|
hasError?: boolean;
|
|
177
226
|
isClearable?: boolean;
|
|
227
|
+
placeholderColor?: string;
|
|
228
|
+
textColor?: string;
|
|
229
|
+
disabledPlaceholderColor?: string;
|
|
230
|
+
disabledTextColor?: string;
|
|
178
231
|
}
|
|
179
232
|
export declare const inputBaseStyles: (props: InputBaseStylesProps) => import("@emotion/react").SerializedStyles;
|
|
180
233
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
@@ -13,10 +13,18 @@ export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>
|
|
|
13
13
|
* @default LabelPosition.top
|
|
14
14
|
*/
|
|
15
15
|
labelPosition?: LabelPosition;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
fontWeight?: React.CSSProperties['fontWeight'];
|
|
16
20
|
/**
|
|
17
21
|
* @default InputSize.medium
|
|
18
22
|
*/
|
|
19
23
|
size?: InputSize;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
textColor?: string;
|
|
20
28
|
theme?: ThemeInterface;
|
|
21
29
|
/**
|
|
22
30
|
* @internal
|
|
@@ -28,7 +28,7 @@ export interface BaseNavTabProps extends React.HTMLAttributes<HTMLAnchorElement>
|
|
|
28
28
|
orientation?: TabsOrientation;
|
|
29
29
|
/**
|
|
30
30
|
* Determines whether the tab appears in all-caps
|
|
31
|
-
* @default TabsTextTransform.
|
|
31
|
+
* @default TabsTextTransform.none
|
|
32
32
|
*/
|
|
33
33
|
textTransform?: TabsTextTransform;
|
|
34
34
|
/**
|
|
@@ -64,9 +64,13 @@ export interface NavTabComponentProps extends BaseNavTabProps {
|
|
|
64
64
|
isFullWidth?: boolean;
|
|
65
65
|
}
|
|
66
66
|
export declare type NavTabProps = XOR<NavTabChildrenProps, NavTabComponentProps>;
|
|
67
|
-
|
|
67
|
+
interface StyledCustomTabProps extends NavTabComponentProps {
|
|
68
|
+
hasStackedIcon?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare const StyledCustomTab: React.ForwardRefExoticComponent<StyledCustomTabProps & React.RefAttributes<any>>;
|
|
68
71
|
export declare const NavTab: React.ForwardRefExoticComponent<({} & NavTabComponentProps & React.RefAttributes<any>) | ({
|
|
69
72
|
component?: never;
|
|
70
73
|
iconPosition?: never;
|
|
71
74
|
isFullWidth?: never;
|
|
72
75
|
} & NavTabChildrenProps & React.RefAttributes<any>)>;
|
|
76
|
+
export {};
|
|
@@ -2,8 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
import { TabsBorderPosition, TabsIconPosition, TabsProps } from '../Tabs';
|
|
3
3
|
import { Omit } from '../../utils';
|
|
4
4
|
import { TabsOrientation, TabsTextTransform } from '../Tabs/shared';
|
|
5
|
-
export interface NavTabsProps extends Omit<TabsProps, 'onChange'> {
|
|
5
|
+
export interface NavTabsProps extends Omit<TabsProps, 'hasBorder' | 'onChange'> {
|
|
6
6
|
'aria-label'?: string;
|
|
7
|
+
/**
|
|
8
|
+
* If true, a divider border is displayed
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
hasBorder?: boolean;
|
|
7
12
|
}
|
|
8
13
|
interface NavTabsContextInterface {
|
|
9
14
|
borderPosition?: TabsBorderPosition;
|
|
@@ -23,7 +23,7 @@ export declare type SelectComponents<T> = {
|
|
|
23
23
|
export declare const DefaultClearIndicator: (props: any) => React.JSX.Element;
|
|
24
24
|
export declare const DefaultDropdownIndicator: (props: any) => React.JSX.Element;
|
|
25
25
|
export declare const DefaultLoadingIndicator: (props: any) => React.JSX.Element;
|
|
26
|
-
export declare function DefaultItem<T>({ itemRef, itemString, isInverse, isDisabled, isSelected, ...props }: ItemRenderOptions<T>): React.JSX.Element;
|
|
26
|
+
export declare function DefaultItem<T>({ itemRef, itemString, isInverse, isDisabled, isSelected, theme, ...props }: ItemRenderOptions<T>): React.JSX.Element;
|
|
27
27
|
export declare function defaultComponents<T>(props: SelectComponents<T>): {
|
|
28
28
|
ClearIndicator: React.FunctionComponent<({} & import("../IconButton").IconTextButtonProps) | ({
|
|
29
29
|
children?: never;
|
|
@@ -39,6 +39,10 @@ export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
|
39
39
|
isFocused?: boolean;
|
|
40
40
|
isDisabled?: boolean;
|
|
41
41
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
42
|
+
export declare const SelectedItemIndicator: import("@emotion/styled").StyledComponent<{
|
|
43
|
+
theme?: import("@emotion/react").Theme;
|
|
44
|
+
as?: import("react").ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
45
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
42
46
|
export declare const SelectedItemsWrapper: import("@emotion/styled").StyledComponent<{
|
|
43
47
|
theme?: import("@emotion/react").Theme;
|
|
44
48
|
as?: import("react").ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
@@ -9,6 +9,8 @@ export declare function buildBorderWidth(props: any): "1px solid" | 0;
|
|
|
9
9
|
export declare function buildBorderColor(props: any): any;
|
|
10
10
|
export declare function buildColor(props: any): any;
|
|
11
11
|
export declare function buildFocusBackground(props: any): any;
|
|
12
|
+
export declare function buildHoverBackground(props: any): any;
|
|
12
13
|
export declare function buildFocusColor(props: any): any;
|
|
14
|
+
export declare function buildHoverColor(props: any): any;
|
|
13
15
|
export declare function buildActiveBackground(props: any): any;
|
|
14
16
|
export declare function buildActiveColor(props: any): any;
|
|
@@ -103,10 +103,7 @@ interface TableContextInterface {
|
|
|
103
103
|
export declare const TableContext: React.Context<TableContextInterface>;
|
|
104
104
|
export declare const TableContainer: import("@emotion/styled").StyledComponent<{
|
|
105
105
|
theme?: import("@emotion/react").Theme;
|
|
106
|
-
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
107
|
-
* If true, row will be visually highlighted on hover
|
|
108
|
-
* @default false
|
|
109
|
-
*/
|
|
106
|
+
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
110
107
|
} & {
|
|
111
108
|
isInverse?: boolean;
|
|
112
109
|
minWidth: number;
|
|
@@ -114,29 +111,20 @@ export declare const TableContainer: import("@emotion/styled").StyledComponent<{
|
|
|
114
111
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
115
112
|
export declare const TableWrapper: import("@emotion/styled").StyledComponent<{
|
|
116
113
|
theme?: import("@emotion/react").Theme;
|
|
117
|
-
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
118
|
-
* If true, row will be visually highlighted on hover
|
|
119
|
-
* @default false
|
|
120
|
-
*/
|
|
114
|
+
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
121
115
|
} & {
|
|
122
116
|
minWidth: number;
|
|
123
117
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
124
118
|
export declare const StyledTableTitle: import("@emotion/styled").StyledComponent<{
|
|
125
119
|
theme?: import("@emotion/react").Theme;
|
|
126
|
-
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
127
|
-
* If true, row will be visually highlighted on hover
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
120
|
+
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
130
121
|
} & {
|
|
131
122
|
isInverse: boolean;
|
|
132
123
|
isTitleNode: boolean;
|
|
133
124
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
134
125
|
export declare const StyledTable: import("@emotion/styled").StyledComponent<{
|
|
135
126
|
theme?: import("@emotion/react").Theme;
|
|
136
|
-
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
137
|
-
* If true, row will be visually highlighted on hover
|
|
138
|
-
* @default false
|
|
139
|
-
*/
|
|
127
|
+
as?: React.ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
140
128
|
} & {
|
|
141
129
|
hasOutsideBorder?: boolean;
|
|
142
130
|
hasSquareCorners?: boolean;
|
|
@@ -15,7 +15,7 @@ export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
15
15
|
unstyled?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* Determines whether the tab appears in all-caps
|
|
18
|
-
* @default TabsTextTransform.
|
|
18
|
+
* @default TabsTextTransform.none
|
|
19
19
|
*/
|
|
20
20
|
textTransform?: TabsTextTransform;
|
|
21
21
|
/**
|