@wavv/ui 1.9.8 → 1.9.10
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/build/cjs/index.js +6 -189
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/components/ChartHelpers.d.ts +1 -1
- package/build/cjs/types/components/DocTable.d.ts +1 -1
- package/build/cjs/types/components/Dropdown/DropdownUtils.d.ts +2 -2
- package/build/cjs/types/components/FormControl.d.ts +3 -3
- package/build/cjs/types/components/InlineCode.d.ts +1 -1
- package/build/cjs/types/components/InputHelpers.d.ts +8 -8
- package/build/cjs/types/components/Message.d.ts +2 -2
- package/build/cjs/types/components/Modal.d.ts +4 -4
- package/build/cjs/types/components/Notification.d.ts +1 -1
- package/build/cjs/types/components/Spacer.d.ts +1 -1
- package/build/cjs/types/components/Table/Column.d.ts +1 -1
- package/build/cjs/types/components/Table/Content.d.ts +17 -5
- package/build/cjs/types/components/Table/HeaderCell.d.ts +1 -1
- package/build/cjs/types/components/Table/Table.d.ts +16 -4
- package/build/cjs/types/components/Tooltip.d.ts +2 -2
- package/build/esm/index.js +6 -189
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/components/ChartHelpers.d.ts +1 -1
- package/build/esm/types/components/DocTable.d.ts +1 -1
- package/build/esm/types/components/Dropdown/DropdownUtils.d.ts +2 -2
- package/build/esm/types/components/FormControl.d.ts +3 -3
- package/build/esm/types/components/InlineCode.d.ts +1 -1
- package/build/esm/types/components/InputHelpers.d.ts +8 -8
- package/build/esm/types/components/Message.d.ts +2 -2
- package/build/esm/types/components/Modal.d.ts +4 -4
- package/build/esm/types/components/Notification.d.ts +1 -1
- package/build/esm/types/components/Spacer.d.ts +1 -1
- package/build/esm/types/components/Table/Column.d.ts +1 -1
- package/build/esm/types/components/Table/Content.d.ts +17 -5
- package/build/esm/types/components/Table/HeaderCell.d.ts +1 -1
- package/build/esm/types/components/Table/Table.d.ts +16 -4
- package/build/esm/types/components/Tooltip.d.ts +2 -2
- package/build/index.d.ts +32 -33
- package/build/types/components/ChartHelpers.d.ts +1 -1
- package/build/types/components/DocTable.d.ts +1 -1
- package/build/types/components/Dropdown/DropdownUtils.d.ts +2 -2
- package/build/types/components/FormControl.d.ts +3 -3
- package/build/types/components/InlineCode.d.ts +1 -1
- package/build/types/components/InputHelpers.d.ts +8 -8
- package/build/types/components/Message.d.ts +2 -2
- package/build/types/components/Modal.d.ts +4 -4
- package/build/types/components/Notification.d.ts +1 -1
- package/build/types/components/Spacer.d.ts +1 -1
- package/build/types/components/Table/Column.d.ts +1 -1
- package/build/types/components/Table/Content.d.ts +17 -5
- package/build/types/components/Table/HeaderCell.d.ts +1 -1
- package/build/types/components/Table/Table.d.ts +16 -4
- package/build/types/components/Tooltip.d.ts +2 -2
- package/package.json +45 -45
|
@@ -23,7 +23,7 @@ export type ChartProps = {
|
|
|
23
23
|
export declare const ChartStyles: () => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export declare const ChartContainer: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
responsive?: boolean | undefined;
|
|
29
29
|
} & Margin & import("./types").Width & import("./types").Height & import("./types").MaxWidth & import("./types").MaxHeight, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { ThemeProp } from './types';
|
|
3
3
|
declare const Table: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
7
7
|
export default Table;
|
|
@@ -47,10 +47,10 @@ export declare const getOptionsFromChildren: <OptionType extends OptionItem>(chi
|
|
|
47
47
|
export declare const getCombinedChildren: <OptionType extends OptionItem>(options: OptionType[], children: ReactNode, setValue: SetValueFunc, toggle: toggleFunc, state: StatePieces) => (ReactElement<any, string | import("react").JSXElementConstructor<any>> | null)[];
|
|
48
48
|
export declare const ItemHeader: import("@emotion/styled").StyledComponent<{
|
|
49
49
|
theme?: import("@emotion/react").Theme | undefined;
|
|
50
|
-
as?: import("react").ElementType<any> | undefined;
|
|
50
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
51
51
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
52
52
|
export declare const ItemSubtext: import("@emotion/styled").StyledComponent<{
|
|
53
53
|
theme?: import("@emotion/react").Theme | undefined;
|
|
54
|
-
as?: import("react").ElementType<any> | undefined;
|
|
54
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
55
55
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
56
56
|
export {};
|
|
@@ -2,17 +2,17 @@ import { HTMLProps } from 'react';
|
|
|
2
2
|
import { Margin, ThemeProp } from './types';
|
|
3
3
|
export declare const ControlContainer: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
labelRight?: boolean | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
} & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
10
10
|
export declare const ControlInput: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
14
14
|
export declare const ControlLabel: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
18
18
|
export type CheckboxAttributes = Omit<HTMLProps<HTMLInputElement>, 'onChange'>;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { ThemeProp } from './types';
|
|
3
3
|
declare const InlineCode: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
7
7
|
export default InlineCode;
|
|
@@ -9,7 +9,7 @@ export declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCall
|
|
|
9
9
|
export declare const isInputFilled: (value?: string | number) => boolean;
|
|
10
10
|
export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
backgroundColor?: string | undefined;
|
|
15
15
|
borderRadius?: string | number | undefined;
|
|
@@ -25,13 +25,13 @@ export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
|
25
25
|
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
27
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
-
as?: import("react").ElementType<any> | undefined;
|
|
28
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
29
29
|
} & {
|
|
30
30
|
readOnly?: boolean | undefined;
|
|
31
31
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
32
|
export declare const Label: import("@emotion/styled").StyledComponent<{
|
|
33
33
|
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
-
as?: import("react").ElementType<any> | undefined;
|
|
34
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
35
35
|
} & {
|
|
36
36
|
filled?: boolean | undefined;
|
|
37
37
|
focused?: boolean | undefined;
|
|
@@ -39,14 +39,14 @@ export declare const Label: import("@emotion/styled").StyledComponent<{
|
|
|
39
39
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
40
40
|
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
41
41
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
-
as?: import("react").ElementType<any> | undefined;
|
|
42
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
invalid?: boolean | undefined;
|
|
45
45
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
46
|
declare const _default: {
|
|
47
47
|
Container: import("@emotion/styled").StyledComponent<{
|
|
48
48
|
theme?: import("@emotion/react").Theme | undefined;
|
|
49
|
-
as?: import("react").ElementType<any> | undefined;
|
|
49
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
backgroundColor?: string | undefined;
|
|
52
52
|
borderRadius?: string | number | undefined;
|
|
@@ -62,13 +62,13 @@ declare const _default: {
|
|
|
62
62
|
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
63
|
Wrapper: import("@emotion/styled").StyledComponent<{
|
|
64
64
|
theme?: import("@emotion/react").Theme | undefined;
|
|
65
|
-
as?: import("react").ElementType<any> | undefined;
|
|
65
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
66
66
|
} & {
|
|
67
67
|
readOnly?: boolean | undefined;
|
|
68
68
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
69
69
|
Label: import("@emotion/styled").StyledComponent<{
|
|
70
70
|
theme?: import("@emotion/react").Theme | undefined;
|
|
71
|
-
as?: import("react").ElementType<any> | undefined;
|
|
71
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
72
72
|
} & {
|
|
73
73
|
filled?: boolean | undefined;
|
|
74
74
|
focused?: boolean | undefined;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
77
77
|
Description: import("@emotion/styled").StyledComponent<{
|
|
78
78
|
theme?: import("@emotion/react").Theme | undefined;
|
|
79
|
-
as?: import("react").ElementType<any> | undefined;
|
|
79
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
80
80
|
} & {
|
|
81
81
|
invalid?: boolean | undefined;
|
|
82
82
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -15,11 +15,11 @@ declare const Message: {
|
|
|
15
15
|
({ type, content, closeIcon, onClose, width, margin, marginTop, marginBottom, marginRight, marginLeft, children, }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
Header: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
20
|
Body: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
24
|
};
|
|
25
25
|
export default Message;
|
|
@@ -42,22 +42,22 @@ declare const Modal: {
|
|
|
42
42
|
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): import("react").ReactPortal | null;
|
|
43
43
|
Header: import("@emotion/styled").StyledComponent<{
|
|
44
44
|
theme?: import("@emotion/react").Theme | undefined;
|
|
45
|
-
as?: import("react").ElementType<any> | undefined;
|
|
45
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
46
46
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
47
47
|
Text: import("@emotion/styled").StyledComponent<{
|
|
48
48
|
theme?: import("@emotion/react").Theme | undefined;
|
|
49
|
-
as?: import("react").ElementType<any> | undefined;
|
|
49
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
primary?: boolean | undefined;
|
|
52
52
|
fontSize?: string | number | undefined;
|
|
53
53
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
54
54
|
Body: import("@emotion/styled").StyledComponent<{
|
|
55
55
|
theme?: import("@emotion/react").Theme | undefined;
|
|
56
|
-
as?: import("react").ElementType<any> | undefined;
|
|
56
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
57
57
|
} & Height & Margin, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
58
58
|
Footer: import("@emotion/styled").StyledComponent<{
|
|
59
59
|
theme?: import("@emotion/react").Theme | undefined;
|
|
60
|
-
as?: import("react").ElementType<any> | undefined;
|
|
60
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
61
61
|
} & {
|
|
62
62
|
justify?: FlexPosition | undefined;
|
|
63
63
|
inline?: boolean | undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Margin, Position, ThemeProp } from './types';
|
|
3
3
|
declare const Notification: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
/** The color of the dot */
|
|
8
8
|
color?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const Spacer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & import("./types").Width & import("./types").Height, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export default Spacer;
|
|
@@ -6,5 +6,5 @@ type ColumnProps = {
|
|
|
6
6
|
/** The string value to display if the child text is undefined (i.e. "N/A", "—") */
|
|
7
7
|
defaultValue?: string;
|
|
8
8
|
} & Padding & ContentProps;
|
|
9
|
-
declare const Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default Column;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { FlexDirection, FlexPosition } from '../types';
|
|
1
|
+
import { HTMLProps } from 'react';
|
|
2
|
+
import { As, FlexDirection, FlexPosition } from '../types';
|
|
3
|
+
type DefaultContentProps = Omit<HTMLProps<HTMLDivElement>, 'as'> & As;
|
|
3
4
|
export type ContentProps = {
|
|
4
5
|
/** The flex positioning of the content */
|
|
5
6
|
contentPosition?: FlexPosition;
|
|
@@ -11,9 +12,20 @@ export type ContentProps = {
|
|
|
11
12
|
align?: FlexPosition;
|
|
12
13
|
/** The flex gap of the content */
|
|
13
14
|
gap?: number | string;
|
|
14
|
-
};
|
|
15
|
+
} & DefaultContentProps;
|
|
15
16
|
declare const Content: import("@emotion/styled").StyledComponent<{
|
|
16
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
-
} &
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
/** The flex positioning of the content */
|
|
21
|
+
contentPosition?: FlexPosition | undefined;
|
|
22
|
+
/** The flex direction of the content */
|
|
23
|
+
direction?: FlexDirection | undefined;
|
|
24
|
+
/** The flex positioning of the content */
|
|
25
|
+
justify?: FlexPosition | undefined;
|
|
26
|
+
/** The flex alignment of the content */
|
|
27
|
+
align?: FlexPosition | undefined;
|
|
28
|
+
/** The flex gap of the content */
|
|
29
|
+
gap?: string | number | undefined;
|
|
30
|
+
} & Omit<HTMLProps<HTMLDivElement>, "as"> & As, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
31
|
export default Content;
|
|
@@ -10,5 +10,5 @@ type HeaderCellProps = {
|
|
|
10
10
|
/** The property of the data object to sort by */
|
|
11
11
|
sortKey?: string;
|
|
12
12
|
} & ContentProps;
|
|
13
|
-
declare const HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, }: HeaderCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, ...rest }: HeaderCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default HeaderCell;
|
|
@@ -10,19 +10,31 @@ declare const Table: {
|
|
|
10
10
|
} & {
|
|
11
11
|
columns?: import("./types").Columns | undefined;
|
|
12
12
|
} & Width & import("../types").Margin & import("../types").Padding & import("react").HTMLProps<HTMLTableRowElement>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, }: {
|
|
13
|
+
HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, ...rest }: {
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
onClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
16
16
|
sorted?: import("./types").SortDir | undefined;
|
|
17
17
|
sortKey?: string | undefined;
|
|
18
|
-
} &
|
|
18
|
+
} & {
|
|
19
|
+
contentPosition?: import("../types").FlexPosition | undefined;
|
|
20
|
+
direction?: import("../types").FlexDirection | undefined;
|
|
21
|
+
justify?: import("../types").FlexPosition | undefined;
|
|
22
|
+
align?: import("../types").FlexPosition | undefined;
|
|
23
|
+
gap?: string | number | undefined;
|
|
24
|
+
} & Omit<import("react").HTMLProps<HTMLDivElement>, "as"> & import("../types").As) => import("react/jsx-runtime").JSX.Element;
|
|
19
25
|
Body: ({ children, height, maxHeight, ...rest }: {
|
|
20
26
|
children: ReactNode;
|
|
21
27
|
} & import("../types").Height & import("../types").MaxHeight & Omit<import("react").HTMLProps<HTMLTableSectionElement>, "as"> & import("../types").As) => import("react/jsx-runtime").JSX.Element;
|
|
22
28
|
Row: ({ children, columns, onClick, columnStyles, ...rest }: import("./types").TableHeaderRow) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: {
|
|
29
|
+
Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, ...rest }: {
|
|
24
30
|
children?: ReactNode;
|
|
25
31
|
defaultValue?: string | undefined;
|
|
26
|
-
} & import("../types").Padding &
|
|
32
|
+
} & import("../types").Padding & {
|
|
33
|
+
contentPosition?: import("../types").FlexPosition | undefined;
|
|
34
|
+
direction?: import("../types").FlexDirection | undefined;
|
|
35
|
+
justify?: import("../types").FlexPosition | undefined;
|
|
36
|
+
align?: import("../types").FlexPosition | undefined;
|
|
37
|
+
gap?: string | number | undefined;
|
|
38
|
+
} & Omit<import("react").HTMLProps<HTMLDivElement>, "as"> & import("../types").As) => import("react/jsx-runtime").JSX.Element;
|
|
27
39
|
};
|
|
28
40
|
export default Table;
|
|
@@ -40,11 +40,11 @@ declare const Tooltip: {
|
|
|
40
40
|
({ trigger, children, content, position, offset, zIndex, width, maxWidth, textAlign, open, disabled, id, bgColor, color, container, afterShow, afterHide, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
Header: import("@emotion/styled").StyledComponent<{
|
|
42
42
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
|
-
as?: import("react").ElementType<any> | undefined;
|
|
43
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
44
44
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
45
45
|
Body: import("@emotion/styled").StyledComponent<{
|
|
46
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
-
as?: import("react").ElementType<any> | undefined;
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
48
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
49
49
|
};
|
|
50
50
|
export default Tooltip;
|
package/build/index.d.ts
CHANGED
|
@@ -1236,11 +1236,11 @@ declare const Tooltip: {
|
|
|
1236
1236
|
({ trigger, children, content, position, offset, zIndex, width, maxWidth, textAlign, open, disabled, id, bgColor, color, container, afterShow, afterHide, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
1237
1237
|
Header: _emotion_styled.StyledComponent<{
|
|
1238
1238
|
theme?: _emotion_react.Theme | undefined;
|
|
1239
|
-
as?: react.ElementType<any> | undefined;
|
|
1239
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1240
1240
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1241
1241
|
Body: _emotion_styled.StyledComponent<{
|
|
1242
1242
|
theme?: _emotion_react.Theme | undefined;
|
|
1243
|
-
as?: react.ElementType<any> | undefined;
|
|
1243
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1244
1244
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1245
1245
|
};
|
|
1246
1246
|
|
|
@@ -1319,7 +1319,7 @@ declare const Code: ({ children, code, className: metaData, lang: langProp, line
|
|
|
1319
1319
|
|
|
1320
1320
|
declare const Table$1: _emotion_styled.StyledComponent<{
|
|
1321
1321
|
theme?: _emotion_react.Theme | undefined;
|
|
1322
|
-
as?: react.ElementType<any> | undefined;
|
|
1322
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1323
1323
|
} & ThemeProp, react.DetailedHTMLProps<react.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
1324
1324
|
|
|
1325
1325
|
declare const DraftEditor: react.ForwardRefExoticComponent<{
|
|
@@ -1994,14 +1994,14 @@ declare const ImageViewer: ({ visible, close, images, startIndex, alt, maxWidth,
|
|
|
1994
1994
|
|
|
1995
1995
|
declare const InlineCode: _emotion_styled.StyledComponent<{
|
|
1996
1996
|
theme?: _emotion_react.Theme | undefined;
|
|
1997
|
-
as?: react.ElementType<any> | undefined;
|
|
1997
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
1998
1998
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
1999
1999
|
|
|
2000
2000
|
type FocusCallBack = (event?: InputFocusEvent) => void;
|
|
2001
2001
|
declare const _default: {
|
|
2002
2002
|
Container: _emotion_styled.StyledComponent<{
|
|
2003
2003
|
theme?: _emotion_react.Theme | undefined;
|
|
2004
|
-
as?: react.ElementType<any> | undefined;
|
|
2004
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2005
2005
|
} & {
|
|
2006
2006
|
backgroundColor?: string | undefined;
|
|
2007
2007
|
borderRadius?: string | number | undefined;
|
|
@@ -2017,13 +2017,13 @@ declare const _default: {
|
|
|
2017
2017
|
} & Width & Height & Margin & Padding & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2018
2018
|
Wrapper: _emotion_styled.StyledComponent<{
|
|
2019
2019
|
theme?: _emotion_react.Theme | undefined;
|
|
2020
|
-
as?: react.ElementType<any> | undefined;
|
|
2020
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2021
2021
|
} & {
|
|
2022
2022
|
readOnly?: boolean | undefined;
|
|
2023
2023
|
}, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2024
2024
|
Label: _emotion_styled.StyledComponent<{
|
|
2025
2025
|
theme?: _emotion_react.Theme | undefined;
|
|
2026
|
-
as?: react.ElementType<any> | undefined;
|
|
2026
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2027
2027
|
} & {
|
|
2028
2028
|
filled?: boolean | undefined;
|
|
2029
2029
|
focused?: boolean | undefined;
|
|
@@ -2031,7 +2031,7 @@ declare const _default: {
|
|
|
2031
2031
|
} & ThemeProp, react.DetailedHTMLProps<react.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
2032
2032
|
Description: _emotion_styled.StyledComponent<{
|
|
2033
2033
|
theme?: _emotion_react.Theme | undefined;
|
|
2034
|
-
as?: react.ElementType<any> | undefined;
|
|
2034
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2035
2035
|
} & {
|
|
2036
2036
|
invalid?: boolean | undefined;
|
|
2037
2037
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -2124,11 +2124,11 @@ declare const Message: {
|
|
|
2124
2124
|
({ type, content, closeIcon, onClose, width, margin, marginTop, marginBottom, marginRight, marginLeft, children, }: MessageProps): react_jsx_runtime.JSX.Element;
|
|
2125
2125
|
Header: _emotion_styled.StyledComponent<{
|
|
2126
2126
|
theme?: _emotion_react.Theme | undefined;
|
|
2127
|
-
as?: react.ElementType<any> | undefined;
|
|
2127
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2128
2128
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2129
2129
|
Body: _emotion_styled.StyledComponent<{
|
|
2130
2130
|
theme?: _emotion_react.Theme | undefined;
|
|
2131
|
-
as?: react.ElementType<any> | undefined;
|
|
2131
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2132
2132
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2133
2133
|
};
|
|
2134
2134
|
|
|
@@ -2184,22 +2184,22 @@ declare const Modal: {
|
|
|
2184
2184
|
({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, position, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, zIndex, }: ModalProps): react.ReactPortal | null;
|
|
2185
2185
|
Header: _emotion_styled.StyledComponent<{
|
|
2186
2186
|
theme?: _emotion_react.Theme | undefined;
|
|
2187
|
-
as?: react.ElementType<any> | undefined;
|
|
2187
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2188
2188
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2189
2189
|
Text: _emotion_styled.StyledComponent<{
|
|
2190
2190
|
theme?: _emotion_react.Theme | undefined;
|
|
2191
|
-
as?: react.ElementType<any> | undefined;
|
|
2191
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2192
2192
|
} & {
|
|
2193
2193
|
primary?: boolean | undefined;
|
|
2194
2194
|
fontSize?: string | number | undefined;
|
|
2195
2195
|
} & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2196
2196
|
Body: _emotion_styled.StyledComponent<{
|
|
2197
2197
|
theme?: _emotion_react.Theme | undefined;
|
|
2198
|
-
as?: react.ElementType<any> | undefined;
|
|
2198
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2199
2199
|
} & Height & Margin, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2200
2200
|
Footer: _emotion_styled.StyledComponent<{
|
|
2201
2201
|
theme?: _emotion_react.Theme | undefined;
|
|
2202
|
-
as?: react.ElementType<any> | undefined;
|
|
2202
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2203
2203
|
} & {
|
|
2204
2204
|
justify?: FlexPosition | undefined;
|
|
2205
2205
|
inline?: boolean | undefined;
|
|
@@ -2251,7 +2251,7 @@ declare const MultiSelect: react__default.ForwardRefExoticComponent<Omit<MultiSe
|
|
|
2251
2251
|
|
|
2252
2252
|
declare const Notification: _emotion_styled.StyledComponent<{
|
|
2253
2253
|
theme?: _emotion_react.Theme | undefined;
|
|
2254
|
-
as?: react.ElementType<any> | undefined;
|
|
2254
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2255
2255
|
} & {
|
|
2256
2256
|
/** The color of the dot */
|
|
2257
2257
|
color?: string | undefined;
|
|
@@ -2396,7 +2396,7 @@ declare const Slider: ({ value, max, step, width, height, disabled, onChange, ..
|
|
|
2396
2396
|
|
|
2397
2397
|
declare const Spacer: _emotion_styled.StyledComponent<{
|
|
2398
2398
|
theme?: _emotion_react.Theme | undefined;
|
|
2399
|
-
as?: react.ElementType<any> | undefined;
|
|
2399
|
+
as?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
2400
2400
|
} & Width & Height, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2401
2401
|
|
|
2402
2402
|
type SpinnerProps = {
|
|
@@ -2457,19 +2457,6 @@ type TransferListProps = {
|
|
|
2457
2457
|
} & Width & Margin;
|
|
2458
2458
|
declare const TransferList: ({ items, onChange, beforeItemChange, listTitle, noItemsMessage, hideSelectAll, hideRemoveAll, readOnly, width, margin, marginTop, marginBottom, marginRight, marginLeft, }: TransferListProps) => react_jsx_runtime.JSX.Element;
|
|
2459
2459
|
|
|
2460
|
-
type ContentProps = {
|
|
2461
|
-
/** The flex positioning of the content */
|
|
2462
|
-
contentPosition?: FlexPosition;
|
|
2463
|
-
/** The flex direction of the content */
|
|
2464
|
-
direction?: FlexDirection;
|
|
2465
|
-
/** The flex positioning of the content */
|
|
2466
|
-
justify?: FlexPosition;
|
|
2467
|
-
/** The flex alignment of the content */
|
|
2468
|
-
align?: FlexPosition;
|
|
2469
|
-
/** The flex gap of the content */
|
|
2470
|
-
gap?: number | string;
|
|
2471
|
-
};
|
|
2472
|
-
|
|
2473
2460
|
type Data = {
|
|
2474
2461
|
[key: string]: unknown;
|
|
2475
2462
|
};
|
|
@@ -2506,20 +2493,32 @@ declare const Table: {
|
|
|
2506
2493
|
} & {
|
|
2507
2494
|
columns?: Columns | undefined;
|
|
2508
2495
|
} & Width & Margin & Padding & react.HTMLProps<HTMLTableRowElement>) => react_jsx_runtime.JSX.Element;
|
|
2509
|
-
HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, }: {
|
|
2496
|
+
HeaderCell: ({ children, onClick, contentPosition, justify, align, direction, gap, sorted, sortKey, ...rest }: {
|
|
2510
2497
|
children?: ReactNode;
|
|
2511
2498
|
onClick?: ((event: react.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
2512
2499
|
sorted?: SortDir | undefined;
|
|
2513
2500
|
sortKey?: string | undefined;
|
|
2514
|
-
} &
|
|
2501
|
+
} & {
|
|
2502
|
+
contentPosition?: FlexPosition | undefined;
|
|
2503
|
+
direction?: FlexDirection | undefined;
|
|
2504
|
+
justify?: FlexPosition | undefined;
|
|
2505
|
+
align?: FlexPosition | undefined;
|
|
2506
|
+
gap?: string | number | undefined;
|
|
2507
|
+
} & Omit<react.HTMLProps<HTMLDivElement>, "as"> & As) => react_jsx_runtime.JSX.Element;
|
|
2515
2508
|
Body: ({ children, height, maxHeight, ...rest }: {
|
|
2516
2509
|
children: ReactNode;
|
|
2517
2510
|
} & Height & MaxHeight & Omit<react.HTMLProps<HTMLTableSectionElement>, "as"> & As) => react_jsx_runtime.JSX.Element;
|
|
2518
2511
|
Row: ({ children, columns, onClick, columnStyles, ...rest }: TableHeaderRow) => react_jsx_runtime.JSX.Element;
|
|
2519
|
-
Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: {
|
|
2512
|
+
Column: ({ children, contentPosition, direction, justify, align, gap, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, ...rest }: {
|
|
2520
2513
|
children?: ReactNode;
|
|
2521
2514
|
defaultValue?: string | undefined;
|
|
2522
|
-
} & Padding &
|
|
2515
|
+
} & Padding & {
|
|
2516
|
+
contentPosition?: FlexPosition | undefined;
|
|
2517
|
+
direction?: FlexDirection | undefined;
|
|
2518
|
+
justify?: FlexPosition | undefined;
|
|
2519
|
+
align?: FlexPosition | undefined;
|
|
2520
|
+
gap?: string | number | undefined;
|
|
2521
|
+
} & Omit<react.HTMLProps<HTMLDivElement>, "as"> & As) => react_jsx_runtime.JSX.Element;
|
|
2523
2522
|
};
|
|
2524
2523
|
|
|
2525
2524
|
type ToggleProps = {
|
|
@@ -23,7 +23,7 @@ export type ChartProps = {
|
|
|
23
23
|
export declare const ChartStyles: () => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export declare const ChartContainer: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
responsive?: boolean | undefined;
|
|
29
29
|
} & Margin & import("./types").Width & import("./types").Height & import("./types").MaxWidth & import("./types").MaxHeight, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { ThemeProp } from './types';
|
|
3
3
|
declare const Table: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
|
|
7
7
|
export default Table;
|
|
@@ -47,10 +47,10 @@ export declare const getOptionsFromChildren: <OptionType extends OptionItem>(chi
|
|
|
47
47
|
export declare const getCombinedChildren: <OptionType extends OptionItem>(options: OptionType[], children: ReactNode, setValue: SetValueFunc, toggle: toggleFunc, state: StatePieces) => (ReactElement<any, string | import("react").JSXElementConstructor<any>> | null)[];
|
|
48
48
|
export declare const ItemHeader: import("@emotion/styled").StyledComponent<{
|
|
49
49
|
theme?: import("@emotion/react").Theme | undefined;
|
|
50
|
-
as?: import("react").ElementType<any> | undefined;
|
|
50
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
51
51
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
52
52
|
export declare const ItemSubtext: import("@emotion/styled").StyledComponent<{
|
|
53
53
|
theme?: import("@emotion/react").Theme | undefined;
|
|
54
|
-
as?: import("react").ElementType<any> | undefined;
|
|
54
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
55
55
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
56
56
|
export {};
|
|
@@ -2,17 +2,17 @@ import { HTMLProps } from 'react';
|
|
|
2
2
|
import { Margin, ThemeProp } from './types';
|
|
3
3
|
export declare const ControlContainer: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
labelRight?: boolean | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
} & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
10
10
|
export declare const ControlInput: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
14
14
|
export declare const ControlLabel: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
18
18
|
export type CheckboxAttributes = Omit<HTMLProps<HTMLInputElement>, 'onChange'>;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { ThemeProp } from './types';
|
|
3
3
|
declare const InlineCode: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
7
7
|
export default InlineCode;
|
|
@@ -9,7 +9,7 @@ export declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCall
|
|
|
9
9
|
export declare const isInputFilled: (value?: string | number) => boolean;
|
|
10
10
|
export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
backgroundColor?: string | undefined;
|
|
15
15
|
borderRadius?: string | number | undefined;
|
|
@@ -25,13 +25,13 @@ export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
|
25
25
|
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
27
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
-
as?: import("react").ElementType<any> | undefined;
|
|
28
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
29
29
|
} & {
|
|
30
30
|
readOnly?: boolean | undefined;
|
|
31
31
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
32
|
export declare const Label: import("@emotion/styled").StyledComponent<{
|
|
33
33
|
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
-
as?: import("react").ElementType<any> | undefined;
|
|
34
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
35
35
|
} & {
|
|
36
36
|
filled?: boolean | undefined;
|
|
37
37
|
focused?: boolean | undefined;
|
|
@@ -39,14 +39,14 @@ export declare const Label: import("@emotion/styled").StyledComponent<{
|
|
|
39
39
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
40
40
|
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
41
41
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
-
as?: import("react").ElementType<any> | undefined;
|
|
42
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
invalid?: boolean | undefined;
|
|
45
45
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
46
|
declare const _default: {
|
|
47
47
|
Container: import("@emotion/styled").StyledComponent<{
|
|
48
48
|
theme?: import("@emotion/react").Theme | undefined;
|
|
49
|
-
as?: import("react").ElementType<any> | undefined;
|
|
49
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
backgroundColor?: string | undefined;
|
|
52
52
|
borderRadius?: string | number | undefined;
|
|
@@ -62,13 +62,13 @@ declare const _default: {
|
|
|
62
62
|
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
63
|
Wrapper: import("@emotion/styled").StyledComponent<{
|
|
64
64
|
theme?: import("@emotion/react").Theme | undefined;
|
|
65
|
-
as?: import("react").ElementType<any> | undefined;
|
|
65
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
66
66
|
} & {
|
|
67
67
|
readOnly?: boolean | undefined;
|
|
68
68
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
69
69
|
Label: import("@emotion/styled").StyledComponent<{
|
|
70
70
|
theme?: import("@emotion/react").Theme | undefined;
|
|
71
|
-
as?: import("react").ElementType<any> | undefined;
|
|
71
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
72
72
|
} & {
|
|
73
73
|
filled?: boolean | undefined;
|
|
74
74
|
focused?: boolean | undefined;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
77
77
|
Description: import("@emotion/styled").StyledComponent<{
|
|
78
78
|
theme?: import("@emotion/react").Theme | undefined;
|
|
79
|
-
as?: import("react").ElementType<any> | undefined;
|
|
79
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
80
80
|
} & {
|
|
81
81
|
invalid?: boolean | undefined;
|
|
82
82
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|