react-magma-dom 4.5.0-next.8 → 4.5.0
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 +4 -2
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -1
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +0 -2
- package/dist/components/Checkbox/index.d.ts +13 -4
- package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +6 -4
- package/dist/components/Grid/Grid.d.ts +8 -2
- package/dist/components/Input/Input.stories.d.ts +3 -3
- package/dist/components/InputBase/index.d.ts +15 -5
- package/dist/components/Pagination/Pagination.d.ts +6 -2
- package/dist/components/Select/SelectContainer.d.ts +5 -2
- package/dist/components/Select/shared.d.ts +39 -14
- package/dist/components/SelectionControls/InputStyles.d.ts +3 -3
- package/dist/components/Stepper/Step.d.ts +4 -1
- package/dist/components/StyledButton/index.d.ts +5 -2
- package/dist/components/Table/Table.d.ts +10 -5
- package/dist/components/Table/Table.stories.d.ts +0 -6
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Tabs/Tab.d.ts +11 -5
- package/dist/components/Tabs/Tabs.d.ts +15 -6
- package/dist/components/Tag/Tag.stories.d.ts +0 -2
- package/dist/components/Textarea/Textarea.stories.d.ts +0 -1
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +0 -4
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +0 -2
- package/dist/components/Tooltip/index.d.ts +10 -5
- package/dist/components/Typography/index.d.ts +16 -13
- package/dist/esm/index.js +1303 -1080
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/properties.json +126 -99
- package/dist/react-magma-dom.cjs.development.js +1290 -1086
- 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/styled.d.ts +4 -3
- package/dist/utils/UtilityStyles.d.ts +1 -1
- package/package.json +5 -6
|
@@ -87,8 +87,12 @@ export declare enum PageButtonSize {
|
|
|
87
87
|
medium = "medium",
|
|
88
88
|
large = "large"
|
|
89
89
|
}
|
|
90
|
-
export declare const NavButton: import("@emotion/styled
|
|
90
|
+
export declare const NavButton: import("@emotion/styled").StyledComponent<({} & import("../IconButton").IconTextButtonProps & React.RefAttributes<HTMLButtonElement> & {
|
|
91
|
+
theme?: import("@emotion/react").Theme;
|
|
92
|
+
}) | ({
|
|
91
93
|
children?: never;
|
|
92
94
|
iconPosition?: never;
|
|
93
|
-
} & import("../IconButton").IconOnlyButtonProps & React.RefAttributes<HTMLButtonElement>
|
|
95
|
+
} & import("../IconButton").IconOnlyButtonProps & React.RefAttributes<HTMLButtonElement> & {
|
|
96
|
+
theme?: import("@emotion/react").Theme;
|
|
97
|
+
}), {}, {}>;
|
|
94
98
|
export declare const Pagination: React.ForwardRefExoticComponent<(ControlledPaginationProps & React.RefAttributes<HTMLDivElement>) | (UncontrolledPaginationProps & React.RefAttributes<HTMLDivElement>)>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LabelPosition } from '../Label';
|
|
3
3
|
import { UseSelectGetLabelPropsOptions } from 'downshift';
|
|
4
|
-
export declare const SelectContainerElement: import("@emotion/styled
|
|
4
|
+
export declare const SelectContainerElement: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType<any>;
|
|
7
|
+
} & {
|
|
5
8
|
isLabelVisuallyHidden?: boolean;
|
|
6
9
|
labelPosition?: LabelPosition;
|
|
7
10
|
labelWidth?: number;
|
|
8
|
-
},
|
|
11
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
12
|
interface SelectContainerInterface<T> {
|
|
10
13
|
additionalContent?: React.ReactNode;
|
|
11
14
|
children: React.ReactNode[];
|
|
@@ -1,23 +1,48 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
2
|
+
export declare const SelectContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: import("react").ElementType<any>;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: import("react").ElementType<any>;
|
|
9
|
+
} & import("../InputBase").InputBaseStylesProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const SelectText: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: import("react").ElementType<any>;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
14
|
+
export declare const StyledCard: import("@emotion/styled").StyledComponent<import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
} & {
|
|
7
17
|
isOpen?: boolean;
|
|
8
18
|
isInverse?: boolean;
|
|
9
|
-
},
|
|
10
|
-
export declare const StyledList: import("@emotion/styled
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
export declare const StyledList: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: import("react").ElementType<any>;
|
|
23
|
+
} & {
|
|
11
24
|
isOpen?: boolean;
|
|
12
25
|
maxHeight: string;
|
|
13
|
-
},
|
|
14
|
-
export declare const StyledItem: import("@emotion/styled
|
|
26
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
27
|
+
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: import("react").ElementType<any>;
|
|
30
|
+
} & {
|
|
15
31
|
isInverse?: boolean;
|
|
16
32
|
isFocused?: boolean;
|
|
17
|
-
},
|
|
18
|
-
export declare const SelectedItemsWrapper: import("@emotion/styled
|
|
19
|
-
|
|
33
|
+
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
34
|
+
export declare const SelectedItemsWrapper: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme;
|
|
36
|
+
as?: import("react").ElementType<any>;
|
|
37
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
38
|
+
export declare const SelectedItemButton: import("@emotion/styled").StyledComponent<{
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: import("react").ElementType<any>;
|
|
41
|
+
} & {
|
|
20
42
|
isInverse?: boolean;
|
|
21
43
|
disabled?: boolean;
|
|
22
|
-
},
|
|
23
|
-
export declare const IconWrapper: import("@emotion/styled
|
|
44
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
45
|
+
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: import("react").ElementType<any>;
|
|
48
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const DisplayInputStyles: (props: any) => import("@emotion/
|
|
2
|
-
export declare const DisplayInputActiveStyles: import("@emotion/
|
|
1
|
+
export declare const DisplayInputStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const DisplayInputActiveStyles: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare function buildDisplayInputActiveBackground(props: any): any;
|
|
4
4
|
export declare function buildDisplayInputBorderColor(props: any): any;
|
|
5
|
-
export declare function buildDisplayInputFocusStyles(props: any): import("@emotion/
|
|
5
|
+
export declare function buildDisplayInputFocusStyles(props: any): import("@emotion/react").SerializedStyles;
|
|
@@ -49,5 +49,8 @@ export declare enum StepStatus {
|
|
|
49
49
|
completed = "completed",
|
|
50
50
|
incomplete = "incomplete"
|
|
51
51
|
}
|
|
52
|
-
export declare const HiddenLabelText: import("@emotion/styled
|
|
52
|
+
export declare const HiddenLabelText: import("@emotion/styled").StyledComponent<{
|
|
53
|
+
theme?: import("@emotion/react").Theme;
|
|
54
|
+
as?: React.ElementType<any>;
|
|
55
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
53
56
|
export declare const Step: React.ForwardRefExoticComponent<StepProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -4,6 +4,9 @@ export interface StyledButtonProps extends ButtonProps {
|
|
|
4
4
|
href?: string;
|
|
5
5
|
iconOnly?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const buttonStyles: (props: any) => import("@emotion/
|
|
8
|
-
export declare const BaseStyledButton: import("@emotion/styled
|
|
7
|
+
export declare const buttonStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const BaseStyledButton: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType<any>;
|
|
11
|
+
}, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
9
12
|
export declare const StyledButton: React.ForwardRefExoticComponent<StyledButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ThemeInterface } from '../../theme/magma';
|
|
3
2
|
/**
|
|
4
3
|
* @children required
|
|
5
4
|
*/
|
|
@@ -83,14 +82,20 @@ interface TableContextInterface {
|
|
|
83
82
|
isSortableBySelected?: boolean;
|
|
84
83
|
}
|
|
85
84
|
export declare const TableContext: React.Context<TableContextInterface>;
|
|
86
|
-
export declare const TableContainer: import("@emotion/styled
|
|
85
|
+
export declare const TableContainer: import("@emotion/styled").StyledComponent<{
|
|
86
|
+
theme?: import("@emotion/react").Theme;
|
|
87
|
+
as?: React.ElementType<any>;
|
|
88
|
+
} & {
|
|
87
89
|
minWidth: number;
|
|
88
90
|
hasSquareCorners?: boolean;
|
|
89
91
|
isInverse?: boolean;
|
|
90
|
-
},
|
|
91
|
-
export declare const StyledTable: import("@emotion/styled
|
|
92
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
93
|
+
export declare const StyledTable: import("@emotion/styled").StyledComponent<{
|
|
94
|
+
theme?: import("@emotion/react").Theme;
|
|
95
|
+
as?: React.ElementType<any>;
|
|
96
|
+
} & {
|
|
92
97
|
isInverse?: boolean;
|
|
93
98
|
minWidth: number;
|
|
94
|
-
},
|
|
99
|
+
}, React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
95
100
|
export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
96
101
|
export {};
|
|
@@ -283,7 +283,6 @@ export declare const ControlledPagination: {
|
|
|
283
283
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
284
284
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
285
285
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
286
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
287
286
|
};
|
|
288
287
|
};
|
|
289
288
|
export declare const UncontrolledPagination: (args: any) => JSX.Element;
|
|
@@ -567,7 +566,6 @@ export declare const PaginationInverse: {
|
|
|
567
566
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
568
567
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
569
568
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
570
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
571
569
|
};
|
|
572
570
|
};
|
|
573
571
|
export declare const RowColors: {
|
|
@@ -842,7 +840,6 @@ export declare const RowColors: {
|
|
|
842
840
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
843
841
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
844
842
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
845
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
846
843
|
};
|
|
847
844
|
};
|
|
848
845
|
export declare const RowColorsInverse: {
|
|
@@ -1116,7 +1113,6 @@ export declare const RowColorsInverse: {
|
|
|
1116
1113
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
1117
1114
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1118
1115
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1119
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
1120
1116
|
};
|
|
1121
1117
|
};
|
|
1122
1118
|
export declare const Sortable: {
|
|
@@ -1390,7 +1386,6 @@ export declare const Sortable: {
|
|
|
1390
1386
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
1391
1387
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1392
1388
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1393
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
1394
1389
|
};
|
|
1395
1390
|
};
|
|
1396
1391
|
export declare const WithDropdown: {
|
|
@@ -1664,7 +1659,6 @@ export declare const WithDropdown: {
|
|
|
1664
1659
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTableElement>) => void;
|
|
1665
1660
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1666
1661
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTableElement>) => void;
|
|
1667
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
1668
1662
|
};
|
|
1669
1663
|
};
|
|
1670
1664
|
export declare const AdjustableRowNumber: {
|
|
@@ -16,6 +16,6 @@ export interface TableCellProps extends React.HTMLAttributes<HTMLTableCellElemen
|
|
|
16
16
|
*/
|
|
17
17
|
width?: string | number;
|
|
18
18
|
}
|
|
19
|
-
export declare const baseTableCellStyle: (props: any) => import("@emotion/
|
|
19
|
+
export declare const baseTableCellStyle: (props: any) => import("@emotion/react").SerializedStyles;
|
|
20
20
|
export declare function buildCellPaddingStyle(density: any, theme: any): string;
|
|
21
21
|
export declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
@@ -17,7 +17,10 @@ export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: any;
|
|
19
19
|
}
|
|
20
|
-
export declare const StyledTabsChild: import("@emotion/styled
|
|
20
|
+
export declare const StyledTabsChild: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: React.ElementType<any>;
|
|
23
|
+
} & {
|
|
21
24
|
borderPosition?: TabsBorderPosition;
|
|
22
25
|
disabled?: boolean;
|
|
23
26
|
isActive?: boolean;
|
|
@@ -25,11 +28,14 @@ export declare const StyledTabsChild: import("@emotion/styled-base").StyledCompo
|
|
|
25
28
|
isInverse?: boolean;
|
|
26
29
|
orientation: TabsOrientation;
|
|
27
30
|
theme: ThemeInterface;
|
|
28
|
-
},
|
|
29
|
-
export declare const TabStyles: (props: any) => import("@emotion/
|
|
30
|
-
export declare const StyledIcon: import("@emotion/styled
|
|
31
|
+
}, React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
32
|
+
export declare const TabStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
33
|
+
export declare const StyledIcon: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType<any>;
|
|
36
|
+
} & {
|
|
31
37
|
iconPosition: TabsIconPosition;
|
|
32
38
|
isIconOnly?: boolean;
|
|
33
39
|
theme: ThemeInterface;
|
|
34
|
-
},
|
|
40
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
35
41
|
export declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -79,19 +79,28 @@ interface TabsContextInterface {
|
|
|
79
79
|
registerTabButton: (itemRefArray: React.MutableRefObject<React.MutableRefObject<Element>[]>, itemRef: React.MutableRefObject<Element>) => void;
|
|
80
80
|
}
|
|
81
81
|
export declare const TabsContext: React.Context<TabsContextInterface>;
|
|
82
|
-
export declare const StyledContainer: import("@emotion/styled
|
|
82
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
83
|
+
theme?: import("@emotion/react").Theme;
|
|
84
|
+
as?: React.ElementType<any>;
|
|
85
|
+
} & {
|
|
83
86
|
as?: string;
|
|
84
87
|
orientation: TabsOrientation;
|
|
85
88
|
isInverse: boolean;
|
|
86
89
|
backgroundColor: string;
|
|
87
90
|
theme: ThemeInterface;
|
|
88
|
-
},
|
|
89
|
-
export declare const StyledTabsWrapper: import("@emotion/styled
|
|
91
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
92
|
+
export declare const StyledTabsWrapper: import("@emotion/styled").StyledComponent<{
|
|
93
|
+
theme?: import("@emotion/react").Theme;
|
|
94
|
+
as?: React.ElementType<any>;
|
|
95
|
+
} & {
|
|
90
96
|
orientation: TabsOrientation;
|
|
91
|
-
},
|
|
92
|
-
export declare const StyledTabs: import("@emotion/styled
|
|
97
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
98
|
+
export declare const StyledTabs: import("@emotion/styled").StyledComponent<{
|
|
99
|
+
theme?: import("@emotion/react").Theme;
|
|
100
|
+
as?: React.ElementType<any>;
|
|
101
|
+
} & {
|
|
93
102
|
alignment?: TabsAlignment;
|
|
94
103
|
orientation: TabsOrientation;
|
|
95
|
-
},
|
|
104
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
96
105
|
export declare const Tabs: React.ForwardRefExoticComponent<(TabsProps & VerticalTabsProps & React.RefAttributes<HTMLDivElement>) | (TabsProps & HorizontalTabsProps & React.RefAttributes<HTMLDivElement>)>;
|
|
97
106
|
export {};
|
|
@@ -294,7 +294,6 @@ export declare const WithDelete: {
|
|
|
294
294
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
295
295
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
296
296
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
297
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
298
297
|
} | {
|
|
299
298
|
onClick?: never;
|
|
300
299
|
onDelete?: () => void;
|
|
@@ -561,6 +560,5 @@ export declare const WithDelete: {
|
|
|
561
560
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
562
561
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
563
562
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
564
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
565
563
|
};
|
|
566
564
|
};
|
|
@@ -294,6 +294,5 @@ export declare const OnClear: {
|
|
|
294
294
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLTextAreaElement>) => void;
|
|
295
295
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLTextAreaElement>) => void;
|
|
296
296
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLTextAreaElement>) => void;
|
|
297
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
298
297
|
};
|
|
299
298
|
};
|
|
@@ -60,7 +60,7 @@ export interface ToggleButtonIconProps extends ButtonProps {
|
|
|
60
60
|
export declare type ToggleButtonProps = XOR<ToggleButtonTextProps, ToggleButtonIconProps>;
|
|
61
61
|
export declare function setIconWidth(props: ToggleButtonIconProps): string;
|
|
62
62
|
export declare function setBackgroundColor(props: any): string;
|
|
63
|
-
export declare const ToggleButtonStyles: (props: any) => import("@emotion/
|
|
63
|
+
export declare const ToggleButtonStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
64
64
|
export declare const ToggleButton: React.ForwardRefExoticComponent<({} & ToggleButtonIconProps & React.RefAttributes<HTMLButtonElement>) | ({
|
|
65
65
|
icon?: never;
|
|
66
66
|
} & ToggleButtonTextProps & React.RefAttributes<HTMLButtonElement>)>;
|
|
@@ -281,7 +281,6 @@ export declare const Text: {
|
|
|
281
281
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
282
282
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
283
283
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
284
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
285
284
|
isFullWidth?: boolean;
|
|
286
285
|
shape?: import("../Button").ButtonShape;
|
|
287
286
|
isLoading?: boolean;
|
|
@@ -561,7 +560,6 @@ export declare const Text: {
|
|
|
561
560
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
562
561
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
563
562
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
564
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
565
563
|
isFullWidth?: boolean;
|
|
566
564
|
shape?: import("../Button").ButtonShape;
|
|
567
565
|
isLoading?: boolean;
|
|
@@ -845,7 +843,6 @@ export declare const TextAndIcon: {
|
|
|
845
843
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
846
844
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
847
845
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
848
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
849
846
|
isFullWidth?: boolean;
|
|
850
847
|
shape?: import("../Button").ButtonShape;
|
|
851
848
|
isLoading?: boolean;
|
|
@@ -1125,7 +1122,6 @@ export declare const TextAndIcon: {
|
|
|
1125
1122
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLButtonElement>) => void;
|
|
1126
1123
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
1127
1124
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLButtonElement>) => void;
|
|
1128
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
1129
1125
|
isFullWidth?: boolean;
|
|
1130
1126
|
shape?: import("../Button").ButtonShape;
|
|
1131
1127
|
isLoading?: boolean;
|
|
@@ -276,7 +276,6 @@ export declare const AlignmentExample: {
|
|
|
276
276
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
|
|
277
277
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLDivElement>) => void;
|
|
278
278
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLDivElement>) => void;
|
|
279
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
280
279
|
};
|
|
281
280
|
};
|
|
282
281
|
export declare const DifferentToggleButtons: {
|
|
@@ -551,6 +550,5 @@ export declare const DifferentToggleButtons: {
|
|
|
551
550
|
onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
|
|
552
551
|
onTransitionEnd?: (event: React.TransitionEvent<HTMLDivElement>) => void;
|
|
553
552
|
onTransitionEndCapture?: (event: React.TransitionEvent<HTMLDivElement>) => void;
|
|
554
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
555
553
|
};
|
|
556
554
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ThemeInterface } from '../../theme/magma';
|
|
3
2
|
export declare enum TooltipPosition {
|
|
4
3
|
bottom = "bottom",
|
|
5
4
|
left = "left",
|
|
@@ -47,14 +46,20 @@ export interface ITooltipState {
|
|
|
47
46
|
id?: string;
|
|
48
47
|
isVisible?: boolean;
|
|
49
48
|
}
|
|
50
|
-
export declare const TooltipArrow: import("@emotion/styled
|
|
49
|
+
export declare const TooltipArrow: import("@emotion/styled").StyledComponent<{
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
as?: React.ElementType<any>;
|
|
52
|
+
} & {
|
|
51
53
|
position?: any;
|
|
52
54
|
isInverse?: boolean;
|
|
53
|
-
},
|
|
54
|
-
export declare const StyledTooltip: import("@emotion/styled
|
|
55
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
56
|
+
export declare const StyledTooltip: import("@emotion/styled").StyledComponent<{
|
|
57
|
+
theme?: import("@emotion/react").Theme;
|
|
58
|
+
as?: React.ElementType<any>;
|
|
59
|
+
} & {
|
|
55
60
|
isInverse?: boolean;
|
|
56
61
|
isVisible?: boolean;
|
|
57
62
|
position: TooltipPosition;
|
|
58
63
|
visible?: boolean;
|
|
59
|
-
},
|
|
64
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
60
65
|
export declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<any>>;
|
|
@@ -43,16 +43,19 @@ export declare enum TypographyVisualStyle {
|
|
|
43
43
|
}
|
|
44
44
|
export declare function getBodyFontFamily(props: any): any;
|
|
45
45
|
export declare function getBaseFontColor(props: any, isHeading?: boolean): any;
|
|
46
|
-
export declare const colorStyles: (props: any, isHeading: boolean) => import("@emotion/
|
|
47
|
-
export declare const paragraphLargeStyles: (props: any) => import("@emotion/
|
|
48
|
-
export declare const paragraphMediumStyles: (props: any) => import("@emotion/
|
|
49
|
-
export declare const paragraphSmallStyles: (props: any) => import("@emotion/
|
|
50
|
-
export declare const paragraphXSmallStyles: (props: any) => import("@emotion/
|
|
51
|
-
export declare const heading2XLargeStyles: (props: any) => import("@emotion/
|
|
52
|
-
export declare const headingXLargeStyles: (props: any) => import("@emotion/
|
|
53
|
-
export declare const headingLargeStyles: (props: any) => import("@emotion/
|
|
54
|
-
export declare const headingMediumStyles: (props: any) => import("@emotion/
|
|
55
|
-
export declare const headingSmallStyles: (props: any) => import("@emotion/
|
|
56
|
-
export declare const headingXSmallStyles: (props: any) => import("@emotion/
|
|
57
|
-
export declare const heading2XSmallStyles: (props: any) => import("@emotion/
|
|
58
|
-
export declare const TypographyComponent: import("@emotion/styled
|
|
46
|
+
export declare const colorStyles: (props: any, isHeading: boolean) => import("@emotion/react").SerializedStyles;
|
|
47
|
+
export declare const paragraphLargeStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
48
|
+
export declare const paragraphMediumStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
49
|
+
export declare const paragraphSmallStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
50
|
+
export declare const paragraphXSmallStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
51
|
+
export declare const heading2XLargeStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
52
|
+
export declare const headingXLargeStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
53
|
+
export declare const headingLargeStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
54
|
+
export declare const headingMediumStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
55
|
+
export declare const headingSmallStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
56
|
+
export declare const headingXSmallStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
57
|
+
export declare const heading2XSmallStyles: (props: any) => import("@emotion/react").SerializedStyles;
|
|
58
|
+
export declare const TypographyComponent: import("@emotion/styled").StyledComponent<{
|
|
59
|
+
theme?: import("@emotion/react").Theme;
|
|
60
|
+
as?: React.ElementType<any>;
|
|
61
|
+
} & TypographyProps<HTMLParagraphElement>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|