playbook-ui 13.25.0 → 13.26.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/pb_body/_body.d.ts +1 -1
- package/dist/pb_checkbox/_checkbox.d.ts +1 -0
- package/dist/pb_dialog/_dialog.d.ts +1 -1
- package/dist/pb_dropdown/_dropdown.d.ts +28 -7
- package/dist/pb_dropdown/subcomponents/DropdownContainer.d.ts +5 -1
- package/dist/pb_dropdown/subcomponents/DropdownOption.d.ts +9 -3
- package/dist/pb_dropdown/subcomponents/DropdownTrigger.d.ts +5 -0
- package/dist/pb_dropdown/utilities/clickOutsideHelper.d.ts +10 -0
- package/dist/pb_dropdown/utilities/index.d.ts +2 -0
- package/dist/pb_dropdown/utilities/subComponentHelper.d.ts +5 -4
- package/dist/pb_radio/_radio.d.ts +100 -96
- package/dist/pb_select/_select.d.ts +96 -96
- package/dist/pb_text_input/_text_input.d.ts +100 -100
- package/dist/pb_textarea/_textarea.d.ts +100 -100
- package/dist/pb_timeline/_timeline.d.ts +1 -1
- package/dist/pb_tooltip/_tooltip.d.ts +96 -96
- package/dist/playbook-doc.js +7 -7
- package/dist/playbook-rails.js +4 -4
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +7 -7
- package/package.json +1 -1
package/dist/pb_body/_body.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare type BodyProps = {
|
|
|
14
14
|
highlightedText?: string[];
|
|
15
15
|
highlighting?: boolean;
|
|
16
16
|
htmlOptions?: {
|
|
17
|
-
[key: string]: string | number | boolean | (() => void);
|
|
17
|
+
[key: string]: string | number | boolean | (() => void) | ((arg?: Event) => void);
|
|
18
18
|
};
|
|
19
19
|
id?: string;
|
|
20
20
|
status?: 'neutral' | 'negative' | 'positive';
|
|
@@ -55,7 +55,7 @@ declare const Dialog: {
|
|
|
55
55
|
} & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
56
56
|
Body: (props: {
|
|
57
57
|
children: React.ReactNode | React.ReactNode[];
|
|
58
|
-
padding?: "
|
|
58
|
+
padding?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
|
|
59
59
|
className?: string;
|
|
60
60
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
61
|
Footer: (props: {
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { GenericObject } from "../types";
|
|
3
3
|
declare type DropdownProps = {
|
|
4
4
|
aria?: {
|
|
5
5
|
[key: string]: string;
|
|
6
6
|
};
|
|
7
7
|
autocomplete?: boolean;
|
|
8
|
+
children?: React.ReactChild[] | React.ReactChild | React.ReactElement[];
|
|
8
9
|
className?: string;
|
|
10
|
+
dark?: boolean;
|
|
9
11
|
data?: {
|
|
10
12
|
[key: string]: string;
|
|
11
13
|
};
|
|
14
|
+
htmlOptions?: {
|
|
15
|
+
[key: string]: string | number | boolean | (() => void);
|
|
16
|
+
};
|
|
12
17
|
id?: string;
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
isClosed?: boolean;
|
|
19
|
+
label?: string;
|
|
15
20
|
onSelect?: (arg: GenericObject) => null;
|
|
21
|
+
options: GenericObject;
|
|
22
|
+
triggerRef?: any;
|
|
16
23
|
};
|
|
17
24
|
declare const Dropdown: {
|
|
18
25
|
(props: DropdownProps): JSX.Element;
|
|
@@ -20,15 +27,20 @@ declare const Dropdown: {
|
|
|
20
27
|
aria?: {
|
|
21
28
|
[key: string]: string;
|
|
22
29
|
};
|
|
23
|
-
className?: string;
|
|
24
30
|
children?: React.ReactChild | React.ReactChild[];
|
|
31
|
+
className?: string;
|
|
32
|
+
dark?: boolean;
|
|
25
33
|
data?: {
|
|
26
34
|
[key: string]: string;
|
|
27
35
|
};
|
|
36
|
+
htmlOptions?: {
|
|
37
|
+
[key: string]: string | number | boolean | (() => void);
|
|
38
|
+
};
|
|
28
39
|
id?: string;
|
|
29
|
-
option?: GenericObject;
|
|
30
40
|
key?: string;
|
|
31
|
-
|
|
41
|
+
option?: GenericObject;
|
|
42
|
+
padding?: string;
|
|
43
|
+
} & import("../utilities/globalProps").GlobalProps) => JSX.Element;
|
|
32
44
|
Trigger: (props: {
|
|
33
45
|
aria?: {
|
|
34
46
|
[key: string]: string;
|
|
@@ -36,20 +48,29 @@ declare const Dropdown: {
|
|
|
36
48
|
children?: React.ReactChild | React.ReactChild[];
|
|
37
49
|
className?: string;
|
|
38
50
|
customDisplay?: React.ReactChild | React.ReactChild[];
|
|
51
|
+
dark?: boolean;
|
|
39
52
|
data?: {
|
|
40
53
|
[key: string]: string;
|
|
41
54
|
};
|
|
55
|
+
htmlOptions?: {
|
|
56
|
+
[key: string]: string | number | boolean | (() => void);
|
|
57
|
+
};
|
|
42
58
|
id?: string;
|
|
59
|
+
placeholder?: string;
|
|
43
60
|
}) => JSX.Element;
|
|
44
61
|
Container: (props: {
|
|
45
62
|
aria?: {
|
|
46
63
|
[key: string]: string;
|
|
47
64
|
};
|
|
48
|
-
className?: string;
|
|
49
65
|
children?: React.ReactChild | React.ReactChild[];
|
|
66
|
+
className?: string;
|
|
67
|
+
dark?: boolean;
|
|
50
68
|
data?: {
|
|
51
69
|
[key: string]: string;
|
|
52
70
|
};
|
|
71
|
+
htmlOptions?: {
|
|
72
|
+
[key: string]: string | number | boolean | (() => void);
|
|
73
|
+
};
|
|
53
74
|
id?: string;
|
|
54
75
|
searchbar?: boolean;
|
|
55
76
|
}) => JSX.Element;
|
|
@@ -3,11 +3,15 @@ declare type DropdownContainerProps = {
|
|
|
3
3
|
aria?: {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
};
|
|
6
|
-
className?: string;
|
|
7
6
|
children?: React.ReactChild[] | React.ReactChild;
|
|
7
|
+
className?: string;
|
|
8
|
+
dark?: boolean;
|
|
8
9
|
data?: {
|
|
9
10
|
[key: string]: string;
|
|
10
11
|
};
|
|
12
|
+
htmlOptions?: {
|
|
13
|
+
[key: string]: string | number | boolean | (() => void);
|
|
14
|
+
};
|
|
11
15
|
id?: string;
|
|
12
16
|
searchbar?: boolean;
|
|
13
17
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { GlobalProps } from "../../utilities/globalProps";
|
|
2
3
|
import { GenericObject } from "../../types";
|
|
3
4
|
declare type DropdownOptionProps = {
|
|
4
5
|
aria?: {
|
|
5
6
|
[key: string]: string;
|
|
6
7
|
};
|
|
7
|
-
className?: string;
|
|
8
8
|
children?: React.ReactChild[] | React.ReactChild;
|
|
9
|
+
className?: string;
|
|
10
|
+
dark?: boolean;
|
|
9
11
|
data?: {
|
|
10
12
|
[key: string]: string;
|
|
11
13
|
};
|
|
14
|
+
htmlOptions?: {
|
|
15
|
+
[key: string]: string | number | boolean | (() => void);
|
|
16
|
+
};
|
|
12
17
|
id?: string;
|
|
13
|
-
option?: GenericObject;
|
|
14
18
|
key?: string;
|
|
15
|
-
|
|
19
|
+
option?: GenericObject;
|
|
20
|
+
padding?: string;
|
|
21
|
+
} & GlobalProps;
|
|
16
22
|
declare const DropdownOption: (props: DropdownOptionProps) => JSX.Element;
|
|
17
23
|
export default DropdownOption;
|
|
@@ -6,10 +6,15 @@ declare type DropdownTriggerProps = {
|
|
|
6
6
|
children?: React.ReactChild[] | React.ReactChild;
|
|
7
7
|
className?: string;
|
|
8
8
|
customDisplay?: React.ReactChild[] | React.ReactChild;
|
|
9
|
+
dark?: boolean;
|
|
9
10
|
data?: {
|
|
10
11
|
[key: string]: string;
|
|
11
12
|
};
|
|
13
|
+
htmlOptions?: {
|
|
14
|
+
[key: string]: string | number | boolean | (() => void);
|
|
15
|
+
};
|
|
12
16
|
id?: string;
|
|
17
|
+
placeholder?: string;
|
|
13
18
|
};
|
|
14
19
|
declare const DropdownTrigger: (props: DropdownTriggerProps) => JSX.Element;
|
|
15
20
|
export default DropdownTrigger;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type HandleClickOutsideType = {
|
|
3
|
+
inputWrapperRef?: React.RefObject<HTMLDivElement>;
|
|
4
|
+
dropdownContainerRef?: React.RefObject<HTMLDivElement>;
|
|
5
|
+
setIsDropDownClosed?: (value: boolean) => void;
|
|
6
|
+
setFocusedOptionIndex?: (value: number) => void;
|
|
7
|
+
setIsInputFocused?: (value: boolean) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const handleClickOutside: ({ inputWrapperRef, dropdownContainerRef, setIsDropDownClosed, setFocusedOptionIndex, setIsInputFocused, }: HandleClickOutsideType) => (e: MouseEvent) => void;
|
|
10
|
+
export {};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
declare type PrepareComponentsProps = {
|
|
3
3
|
children: React.ReactChild[] | React.ReactChild;
|
|
4
|
-
hasTriggerSubcomponent: boolean;
|
|
5
|
-
hasContainerSubcomponent: boolean;
|
|
6
|
-
trigger: React.ReactChild;
|
|
7
4
|
container: React.ReactChild;
|
|
5
|
+
dark?: boolean;
|
|
6
|
+
hasContainerSubcomponent: boolean;
|
|
7
|
+
hasTriggerSubcomponent: boolean;
|
|
8
8
|
otherChildren: React.ReactChild[];
|
|
9
|
+
trigger: React.ReactChild;
|
|
9
10
|
};
|
|
10
11
|
export declare const separateChildComponents: (children: React.ReactChild[] | React.ReactChild | ReactElement[]) => {
|
|
11
12
|
trigger: React.ReactChild;
|
|
12
13
|
container: React.ReactChild;
|
|
13
14
|
otherChildren: React.ReactChild[];
|
|
14
15
|
};
|
|
15
|
-
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, }: PrepareComponentsProps) => (string | number | JSX.Element | React.ReactChild[])[];
|
|
16
|
+
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, dark }: PrepareComponentsProps) => (string | number | JSX.Element | React.ReactChild[])[];
|
|
16
17
|
export {};
|
|
@@ -11,6 +11,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
11
11
|
data?: {
|
|
12
12
|
[key: string]: string;
|
|
13
13
|
};
|
|
14
|
+
disabled?: boolean;
|
|
14
15
|
error?: boolean;
|
|
15
16
|
htmlOptions?: {
|
|
16
17
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -28,17 +29,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
28
29
|
} & {
|
|
29
30
|
alignSelf?: never;
|
|
30
31
|
} & {
|
|
31
|
-
borderRadius?: "
|
|
32
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
32
33
|
} & {
|
|
33
|
-
cursor?: "
|
|
34
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "contextMenu" | "help" | "pointer" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "copy" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
34
35
|
} & {
|
|
35
36
|
dark?: boolean;
|
|
36
37
|
} & {
|
|
37
38
|
display?: import("../types").DisplayType;
|
|
38
39
|
} & import("../types").DisplaySizes & {
|
|
39
|
-
flex?: "
|
|
40
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
40
41
|
} & {
|
|
41
|
-
flexDirection?: "
|
|
42
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
42
43
|
} & {
|
|
43
44
|
flexGrow?: 0 | 1;
|
|
44
45
|
} & {
|
|
@@ -50,15 +51,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
50
51
|
} & {
|
|
51
52
|
justifySelf?: never;
|
|
52
53
|
} & {
|
|
53
|
-
lineHeight?: "
|
|
54
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
54
55
|
} & {
|
|
55
|
-
marginRight?: "
|
|
56
|
-
marginLeft?: "
|
|
57
|
-
marginTop?: "
|
|
58
|
-
marginBottom?: "
|
|
59
|
-
marginX?: "
|
|
60
|
-
marginY?: "
|
|
61
|
-
margin?: "
|
|
56
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
57
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
58
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
59
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
60
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
61
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
62
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
62
63
|
break?: string;
|
|
63
64
|
default?: string;
|
|
64
65
|
} & {
|
|
@@ -66,31 +67,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
67
|
} & {
|
|
67
68
|
numberSpacing?: "tabular";
|
|
68
69
|
} & {
|
|
69
|
-
order?:
|
|
70
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
70
71
|
} & {
|
|
71
72
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
72
73
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
73
74
|
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
74
75
|
} & {
|
|
75
|
-
paddingRight?: "
|
|
76
|
-
paddingLeft?: "
|
|
77
|
-
paddingTop?: "
|
|
78
|
-
paddingBottom?: "
|
|
79
|
-
paddingX?: "
|
|
80
|
-
paddingY?: "
|
|
81
|
-
padding?: "
|
|
76
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
77
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
78
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
79
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
80
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
81
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
82
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
82
83
|
break?: string;
|
|
83
84
|
default?: string;
|
|
84
85
|
} & {
|
|
85
|
-
position?: "
|
|
86
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
86
87
|
} & {
|
|
87
88
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
88
89
|
} & {
|
|
89
|
-
textAlign?: "center" | "
|
|
90
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
90
91
|
} & {
|
|
91
|
-
truncate?:
|
|
92
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
92
93
|
} & {
|
|
93
|
-
zIndex?:
|
|
94
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
94
95
|
} & {
|
|
95
96
|
hover?: string;
|
|
96
97
|
} & {
|
|
@@ -125,6 +126,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
125
126
|
data?: {
|
|
126
127
|
[key: string]: string;
|
|
127
128
|
};
|
|
129
|
+
disabled?: boolean;
|
|
128
130
|
error?: boolean;
|
|
129
131
|
htmlOptions?: {
|
|
130
132
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -142,17 +144,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
142
144
|
} & {
|
|
143
145
|
alignSelf?: never;
|
|
144
146
|
} & {
|
|
145
|
-
borderRadius?: "
|
|
147
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
146
148
|
} & {
|
|
147
|
-
cursor?: "
|
|
149
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "contextMenu" | "help" | "pointer" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "copy" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
148
150
|
} & {
|
|
149
151
|
dark?: boolean;
|
|
150
152
|
} & {
|
|
151
153
|
display?: import("../types").DisplayType;
|
|
152
154
|
} & import("../types").DisplaySizes & {
|
|
153
|
-
flex?: "
|
|
155
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
154
156
|
} & {
|
|
155
|
-
flexDirection?: "
|
|
157
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
156
158
|
} & {
|
|
157
159
|
flexGrow?: 0 | 1;
|
|
158
160
|
} & {
|
|
@@ -164,15 +166,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
164
166
|
} & {
|
|
165
167
|
justifySelf?: never;
|
|
166
168
|
} & {
|
|
167
|
-
lineHeight?: "
|
|
169
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
168
170
|
} & {
|
|
169
|
-
marginRight?: "
|
|
170
|
-
marginLeft?: "
|
|
171
|
-
marginTop?: "
|
|
172
|
-
marginBottom?: "
|
|
173
|
-
marginX?: "
|
|
174
|
-
marginY?: "
|
|
175
|
-
margin?: "
|
|
171
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
172
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
173
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
174
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
175
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
176
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
177
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
176
178
|
break?: string;
|
|
177
179
|
default?: string;
|
|
178
180
|
} & {
|
|
@@ -180,31 +182,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
180
182
|
} & {
|
|
181
183
|
numberSpacing?: "tabular";
|
|
182
184
|
} & {
|
|
183
|
-
order?:
|
|
185
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
184
186
|
} & {
|
|
185
187
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
186
188
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
187
189
|
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
188
190
|
} & {
|
|
189
|
-
paddingRight?: "
|
|
190
|
-
paddingLeft?: "
|
|
191
|
-
paddingTop?: "
|
|
192
|
-
paddingBottom?: "
|
|
193
|
-
paddingX?: "
|
|
194
|
-
paddingY?: "
|
|
195
|
-
padding?: "
|
|
191
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
192
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
193
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
194
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
195
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
196
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
197
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
196
198
|
break?: string;
|
|
197
199
|
default?: string;
|
|
198
200
|
} & {
|
|
199
|
-
position?: "
|
|
201
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
200
202
|
} & {
|
|
201
203
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
202
204
|
} & {
|
|
203
|
-
textAlign?: "center" | "
|
|
205
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
204
206
|
} & {
|
|
205
|
-
truncate?:
|
|
207
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
206
208
|
} & {
|
|
207
|
-
[key: string]:
|
|
209
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
208
210
|
} & {
|
|
209
211
|
hover?: string;
|
|
210
212
|
} & {
|
|
@@ -239,6 +241,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
239
241
|
data?: {
|
|
240
242
|
[key: string]: string;
|
|
241
243
|
};
|
|
244
|
+
disabled?: boolean;
|
|
242
245
|
error?: boolean;
|
|
243
246
|
htmlOptions?: {
|
|
244
247
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -256,15 +259,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
256
259
|
} & {
|
|
257
260
|
alignSelf?: never;
|
|
258
261
|
} & {
|
|
259
|
-
borderRadius?: "
|
|
262
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
260
263
|
} & {
|
|
261
|
-
cursor?: "
|
|
264
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "contextMenu" | "help" | "pointer" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "copy" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
262
265
|
} & {
|
|
263
266
|
dark?: boolean;
|
|
264
267
|
} & import("../types").DisplaySizes & {
|
|
265
|
-
flex?: "
|
|
268
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
266
269
|
} & {
|
|
267
|
-
flexDirection?: "
|
|
270
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
268
271
|
} & {
|
|
269
272
|
flexGrow?: 0 | 1;
|
|
270
273
|
} & {
|
|
@@ -276,15 +279,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
276
279
|
} & {
|
|
277
280
|
justifySelf?: never;
|
|
278
281
|
} & {
|
|
279
|
-
lineHeight?: "
|
|
282
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
280
283
|
} & {
|
|
281
|
-
marginRight?: "
|
|
282
|
-
marginLeft?: "
|
|
283
|
-
marginTop?: "
|
|
284
|
-
marginBottom?: "
|
|
285
|
-
marginX?: "
|
|
286
|
-
marginY?: "
|
|
287
|
-
margin?: "
|
|
284
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
285
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
286
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
287
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
288
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
289
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
290
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
288
291
|
break?: string;
|
|
289
292
|
default?: string;
|
|
290
293
|
} & {
|
|
@@ -292,31 +295,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
292
295
|
} & {
|
|
293
296
|
numberSpacing?: "tabular";
|
|
294
297
|
} & {
|
|
295
|
-
order?:
|
|
298
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
296
299
|
} & {
|
|
297
300
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
298
301
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
299
302
|
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
300
303
|
} & {
|
|
301
|
-
paddingRight?: "
|
|
302
|
-
paddingLeft?: "
|
|
303
|
-
paddingTop?: "
|
|
304
|
-
paddingBottom?: "
|
|
305
|
-
paddingX?: "
|
|
306
|
-
paddingY?: "
|
|
307
|
-
padding?: "
|
|
304
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
305
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
306
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
307
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
308
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
309
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
310
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
308
311
|
break?: string;
|
|
309
312
|
default?: string;
|
|
310
313
|
} & {
|
|
311
|
-
position?: "
|
|
314
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
312
315
|
} & {
|
|
313
316
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
314
317
|
} & {
|
|
315
|
-
textAlign?: "center" | "
|
|
318
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
316
319
|
} & {
|
|
317
|
-
truncate?:
|
|
320
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
318
321
|
} & {
|
|
319
|
-
zIndex?:
|
|
322
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
320
323
|
} & {
|
|
321
324
|
hover?: string;
|
|
322
325
|
} & {
|
|
@@ -351,6 +354,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
351
354
|
data?: {
|
|
352
355
|
[key: string]: string;
|
|
353
356
|
};
|
|
357
|
+
disabled?: boolean;
|
|
354
358
|
error?: boolean;
|
|
355
359
|
htmlOptions?: {
|
|
356
360
|
[key: string]: string | number | boolean | (() => void);
|
|
@@ -368,15 +372,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
368
372
|
} & {
|
|
369
373
|
alignSelf?: never;
|
|
370
374
|
} & {
|
|
371
|
-
borderRadius?: "
|
|
375
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
372
376
|
} & {
|
|
373
|
-
cursor?: "
|
|
377
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "contextMenu" | "help" | "pointer" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "copy" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
374
378
|
} & {
|
|
375
379
|
dark?: boolean;
|
|
376
380
|
} & import("../types").DisplaySizes & {
|
|
377
|
-
flex?: "
|
|
381
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
378
382
|
} & {
|
|
379
|
-
flexDirection?: "
|
|
383
|
+
flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
|
|
380
384
|
} & {
|
|
381
385
|
flexGrow?: 0 | 1;
|
|
382
386
|
} & {
|
|
@@ -388,15 +392,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
388
392
|
} & {
|
|
389
393
|
justifySelf?: never;
|
|
390
394
|
} & {
|
|
391
|
-
lineHeight?: "
|
|
395
|
+
lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
|
|
392
396
|
} & {
|
|
393
|
-
marginRight?: "
|
|
394
|
-
marginLeft?: "
|
|
395
|
-
marginTop?: "
|
|
396
|
-
marginBottom?: "
|
|
397
|
-
marginX?: "
|
|
398
|
-
marginY?: "
|
|
399
|
-
margin?: "
|
|
397
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
398
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
399
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
400
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
401
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
402
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
403
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
400
404
|
break?: string;
|
|
401
405
|
default?: string;
|
|
402
406
|
} & {
|
|
@@ -404,31 +408,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
404
408
|
} & {
|
|
405
409
|
numberSpacing?: "tabular";
|
|
406
410
|
} & {
|
|
407
|
-
order?:
|
|
411
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
408
412
|
} & {
|
|
409
413
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
410
414
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
411
415
|
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
412
416
|
} & {
|
|
413
|
-
paddingRight?: "
|
|
414
|
-
paddingLeft?: "
|
|
415
|
-
paddingTop?: "
|
|
416
|
-
paddingBottom?: "
|
|
417
|
-
paddingX?: "
|
|
418
|
-
paddingY?: "
|
|
419
|
-
padding?: "
|
|
417
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
418
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
419
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
420
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
421
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
422
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
423
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
420
424
|
break?: string;
|
|
421
425
|
default?: string;
|
|
422
426
|
} & {
|
|
423
|
-
position?: "
|
|
427
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
424
428
|
} & {
|
|
425
429
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
426
430
|
} & {
|
|
427
|
-
textAlign?: "center" | "
|
|
431
|
+
textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
428
432
|
} & {
|
|
429
|
-
truncate?:
|
|
433
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
430
434
|
} & {
|
|
431
|
-
[key: string]:
|
|
435
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
432
436
|
} & {
|
|
433
437
|
hover?: string;
|
|
434
438
|
} & {
|