playbook-ui 13.24.0 → 13.25.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/menu.yml +5 -1
- package/dist/pb_bar_graph/_bar_graph.d.ts +9 -2
- package/dist/pb_dialog/_dialog.d.ts +1 -1
- package/dist/pb_dropdown/_dropdown.d.ts +57 -0
- package/dist/pb_dropdown/context/index.d.ts +3 -0
- package/dist/pb_dropdown/hooks/useDropdown.d.ts +2 -0
- package/dist/pb_dropdown/hooks/useHandleOnKeydown.d.ts +2 -0
- package/dist/pb_dropdown/subcomponents/DropdownContainer.d.ts +15 -0
- package/dist/pb_dropdown/subcomponents/DropdownOption.d.ts +17 -0
- package/dist/pb_dropdown/subcomponents/DropdownTrigger.d.ts +15 -0
- package/dist/pb_dropdown/utilities/subComponentHelper.d.ts +16 -0
- package/dist/pb_list/_list_item.d.ts +2 -1
- package/dist/pb_radio/_radio.d.ts +104 -104
- package/dist/pb_select/_select.d.ts +104 -104
- package/dist/pb_text_input/_text_input.d.ts +108 -108
- package/dist/pb_textarea/_textarea.d.ts +108 -108
- package/dist/pb_timeline/_timeline.d.ts +1 -1
- package/dist/pb_tooltip/_tooltip.d.ts +104 -104
- package/dist/pb_typeahead/_typeahead.d.ts +2 -2
- package/dist/pb_typeahead/components/index.d.ts +9 -0
- package/dist/playbook-doc.js +10 -10
- package/dist/playbook-rails.js +6 -6
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +9 -9
- package/dist/tokens/colors.scss +1 -1
- package/package.json +3 -3
package/dist/menu.yml
CHANGED
|
@@ -254,6 +254,10 @@ kits:
|
|
|
254
254
|
platforms: *web
|
|
255
255
|
description: Playbook's date picker is built using flatpickr, a vanilla js library. Common date picker use cases and features have been adapted into simple prop based configuration detailed in the docs below.
|
|
256
256
|
status: "stable"
|
|
257
|
+
- name: dropdown
|
|
258
|
+
platforms: *react_only
|
|
259
|
+
description: ""
|
|
260
|
+
status: "beta"
|
|
257
261
|
- name: "multi_level_select"
|
|
258
262
|
platforms: *web
|
|
259
263
|
description: The MultiLevelSelect kit renders a multi leveled select dropdown based on data from the user.
|
|
@@ -460,4 +464,4 @@ kits:
|
|
|
460
464
|
- name: "user"
|
|
461
465
|
platforms: *web
|
|
462
466
|
description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
|
|
463
|
-
status: "stable"
|
|
467
|
+
status: "stable"
|
|
@@ -2,7 +2,9 @@ import React from "react";
|
|
|
2
2
|
import Highcharts from "highcharts";
|
|
3
3
|
declare type BarGraphProps = {
|
|
4
4
|
align?: "left" | "right" | "center";
|
|
5
|
-
axisTitle:
|
|
5
|
+
axisTitle: {
|
|
6
|
+
name: string;
|
|
7
|
+
}[] | string;
|
|
6
8
|
dark?: boolean;
|
|
7
9
|
xAxisCategories: [];
|
|
8
10
|
yAxisMin: number;
|
|
@@ -10,6 +12,7 @@ declare type BarGraphProps = {
|
|
|
10
12
|
chartData: {
|
|
11
13
|
name: string;
|
|
12
14
|
data: number[];
|
|
15
|
+
yAxis: number;
|
|
13
16
|
}[];
|
|
14
17
|
className?: string;
|
|
15
18
|
customOptions?: Partial<Highcharts.Options>;
|
|
@@ -35,6 +38,10 @@ declare type BarGraphProps = {
|
|
|
35
38
|
data?: {
|
|
36
39
|
[key: string]: string;
|
|
37
40
|
};
|
|
41
|
+
stacking?: "normal" | "percent";
|
|
42
|
+
axisFormat?: {
|
|
43
|
+
format: string;
|
|
44
|
+
}[] | string;
|
|
38
45
|
};
|
|
39
|
-
declare const BarGraph: ({ aria, data, align, axisTitle, dark, chartData, className, colors, htmlOptions, customOptions, id, pointStart, subTitle, type, title, xAxisCategories, yAxisMin, yAxisMax, legend, toggleLegendClick, height, layout, verticalAlign, x, y, ...props }: BarGraphProps) => React.ReactElement;
|
|
46
|
+
declare const BarGraph: ({ aria, data, align, axisTitle, dark, chartData, className, colors, htmlOptions, customOptions, axisFormat, id, pointStart, stacking, subTitle, type, title, xAxisCategories, yAxisMin, yAxisMax, legend, toggleLegendClick, height, layout, verticalAlign, x, y, ...props }: BarGraphProps) => React.ReactElement;
|
|
40
47
|
export default BarGraph;
|
|
@@ -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?: "lg" | "xs" | "sm" | "xxs" | "md" | "xl";
|
|
59
59
|
className?: string;
|
|
60
60
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
61
|
Footer: (props: {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
import { GenericObject } from "../types";
|
|
3
|
+
declare type DropdownProps = {
|
|
4
|
+
aria?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
autocomplete?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
id?: string;
|
|
13
|
+
children?: React.ReactChild[] | React.ReactChild | ReactElement[];
|
|
14
|
+
options: GenericObject;
|
|
15
|
+
onSelect?: (arg: GenericObject) => null;
|
|
16
|
+
};
|
|
17
|
+
declare const Dropdown: {
|
|
18
|
+
(props: DropdownProps): JSX.Element;
|
|
19
|
+
Option: (props: {
|
|
20
|
+
aria?: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
className?: string;
|
|
24
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
25
|
+
data?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
id?: string;
|
|
29
|
+
option?: GenericObject;
|
|
30
|
+
key?: string;
|
|
31
|
+
}) => JSX.Element;
|
|
32
|
+
Trigger: (props: {
|
|
33
|
+
aria?: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
37
|
+
className?: string;
|
|
38
|
+
customDisplay?: React.ReactChild | React.ReactChild[];
|
|
39
|
+
data?: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
id?: string;
|
|
43
|
+
}) => JSX.Element;
|
|
44
|
+
Container: (props: {
|
|
45
|
+
aria?: {
|
|
46
|
+
[key: string]: string;
|
|
47
|
+
};
|
|
48
|
+
className?: string;
|
|
49
|
+
children?: React.ReactChild | React.ReactChild[];
|
|
50
|
+
data?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
id?: string;
|
|
54
|
+
searchbar?: boolean;
|
|
55
|
+
}) => JSX.Element;
|
|
56
|
+
};
|
|
57
|
+
export default Dropdown;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type DropdownContainerProps = {
|
|
3
|
+
aria?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
8
|
+
data?: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
id?: string;
|
|
12
|
+
searchbar?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const DropdownContainer: (props: DropdownContainerProps) => JSX.Element;
|
|
15
|
+
export default DropdownContainer;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GenericObject } from "../../types";
|
|
3
|
+
declare type DropdownOptionProps = {
|
|
4
|
+
aria?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
className?: string;
|
|
8
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
id?: string;
|
|
13
|
+
option?: GenericObject;
|
|
14
|
+
key?: string;
|
|
15
|
+
};
|
|
16
|
+
declare const DropdownOption: (props: DropdownOptionProps) => JSX.Element;
|
|
17
|
+
export default DropdownOption;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type DropdownTriggerProps = {
|
|
3
|
+
aria?: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
children?: React.ReactChild[] | React.ReactChild;
|
|
7
|
+
className?: string;
|
|
8
|
+
customDisplay?: React.ReactChild[] | React.ReactChild;
|
|
9
|
+
data?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const DropdownTrigger: (props: DropdownTriggerProps) => JSX.Element;
|
|
15
|
+
export default DropdownTrigger;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
declare type PrepareComponentsProps = {
|
|
3
|
+
children: React.ReactChild[] | React.ReactChild;
|
|
4
|
+
hasTriggerSubcomponent: boolean;
|
|
5
|
+
hasContainerSubcomponent: boolean;
|
|
6
|
+
trigger: React.ReactChild;
|
|
7
|
+
container: React.ReactChild;
|
|
8
|
+
otherChildren: React.ReactChild[];
|
|
9
|
+
};
|
|
10
|
+
export declare const separateChildComponents: (children: React.ReactChild[] | React.ReactChild | ReactElement[]) => {
|
|
11
|
+
trigger: React.ReactChild;
|
|
12
|
+
container: React.ReactChild;
|
|
13
|
+
otherChildren: React.ReactChild[];
|
|
14
|
+
};
|
|
15
|
+
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, }: PrepareComponentsProps) => (string | number | JSX.Element | React.ReactChild[])[];
|
|
16
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { GlobalProps } from '../utilities/globalProps';
|
|
2
3
|
declare type ListItemProps = {
|
|
3
4
|
aria?: {
|
|
4
5
|
[key: string]: string;
|
|
@@ -11,6 +12,6 @@ declare type ListItemProps = {
|
|
|
11
12
|
};
|
|
12
13
|
id?: string;
|
|
13
14
|
tabIndex?: number;
|
|
14
|
-
};
|
|
15
|
+
} & GlobalProps;
|
|
15
16
|
declare const ListItem: (props: ListItemProps) => JSX.Element;
|
|
16
17
|
export default ListItem;
|
|
@@ -24,19 +24,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
24
24
|
} & {
|
|
25
25
|
alignContent?: never;
|
|
26
26
|
} & {
|
|
27
|
-
alignItems?:
|
|
27
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
28
28
|
} & {
|
|
29
29
|
alignSelf?: never;
|
|
30
30
|
} & {
|
|
31
|
-
borderRadius?: "
|
|
31
|
+
borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
|
|
32
32
|
} & {
|
|
33
|
-
cursor?: "
|
|
33
|
+
cursor?: "progress" | "text" | "auto" | "default" | "copy" | "pointer" | "none" | "contextMenu" | "help" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
34
34
|
} & {
|
|
35
35
|
dark?: boolean;
|
|
36
36
|
} & {
|
|
37
37
|
display?: import("../types").DisplayType;
|
|
38
38
|
} & import("../types").DisplaySizes & {
|
|
39
|
-
flex?: "none" | "
|
|
39
|
+
flex?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
40
40
|
} & {
|
|
41
41
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
42
42
|
} & {
|
|
@@ -52,13 +52,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
52
52
|
} & {
|
|
53
53
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
54
54
|
} & {
|
|
55
|
-
marginRight?: "
|
|
56
|
-
marginLeft?: "
|
|
57
|
-
marginTop?: "
|
|
58
|
-
marginBottom?: "
|
|
59
|
-
marginX?: "
|
|
60
|
-
marginY?: "
|
|
61
|
-
margin?: "
|
|
55
|
+
marginRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
56
|
+
marginLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
57
|
+
marginTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
58
|
+
marginBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
59
|
+
marginX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
60
|
+
marginY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
61
|
+
margin?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
62
62
|
break?: string;
|
|
63
63
|
default?: string;
|
|
64
64
|
} & {
|
|
@@ -66,31 +66,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
66
|
} & {
|
|
67
67
|
numberSpacing?: "tabular";
|
|
68
68
|
} & {
|
|
69
|
-
order?:
|
|
69
|
+
order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
|
|
70
70
|
} & {
|
|
71
|
-
overflowX?: "auto" | "scroll" | "
|
|
72
|
-
overflowY?: "auto" | "scroll" | "
|
|
73
|
-
overflow?: "auto" | "scroll" | "
|
|
71
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
72
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
73
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
74
74
|
} & {
|
|
75
|
-
paddingRight?: "
|
|
76
|
-
paddingLeft?: "
|
|
77
|
-
paddingTop?: "
|
|
78
|
-
paddingBottom?: "
|
|
79
|
-
paddingX?: "
|
|
80
|
-
paddingY?: "
|
|
81
|
-
padding?: "
|
|
75
|
+
paddingRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
76
|
+
paddingLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
77
|
+
paddingTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
78
|
+
paddingBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
79
|
+
paddingX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
80
|
+
paddingY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
81
|
+
padding?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
82
82
|
break?: string;
|
|
83
83
|
default?: string;
|
|
84
84
|
} & {
|
|
85
|
-
position?: "
|
|
85
|
+
position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
86
86
|
} & {
|
|
87
87
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
88
88
|
} & {
|
|
89
|
-
textAlign?: "center" | "
|
|
89
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
90
90
|
} & {
|
|
91
|
-
truncate?:
|
|
91
|
+
truncate?: 2 | 1 | 3 | 4 | 5 | "none";
|
|
92
92
|
} & {
|
|
93
|
-
zIndex?:
|
|
93
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
94
94
|
} & {
|
|
95
95
|
hover?: string;
|
|
96
96
|
} & {
|
|
@@ -138,19 +138,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
138
138
|
} & {
|
|
139
139
|
alignContent?: never;
|
|
140
140
|
} & {
|
|
141
|
-
alignItems?:
|
|
141
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
142
142
|
} & {
|
|
143
143
|
alignSelf?: never;
|
|
144
144
|
} & {
|
|
145
|
-
borderRadius?: "
|
|
145
|
+
borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
|
|
146
146
|
} & {
|
|
147
|
-
cursor?: "
|
|
147
|
+
cursor?: "progress" | "text" | "auto" | "default" | "copy" | "pointer" | "none" | "contextMenu" | "help" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
148
148
|
} & {
|
|
149
149
|
dark?: boolean;
|
|
150
150
|
} & {
|
|
151
151
|
display?: import("../types").DisplayType;
|
|
152
152
|
} & import("../types").DisplaySizes & {
|
|
153
|
-
flex?: "none" | "
|
|
153
|
+
flex?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
154
154
|
} & {
|
|
155
155
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
156
156
|
} & {
|
|
@@ -166,13 +166,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
166
166
|
} & {
|
|
167
167
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
168
168
|
} & {
|
|
169
|
-
marginRight?: "
|
|
170
|
-
marginLeft?: "
|
|
171
|
-
marginTop?: "
|
|
172
|
-
marginBottom?: "
|
|
173
|
-
marginX?: "
|
|
174
|
-
marginY?: "
|
|
175
|
-
margin?: "
|
|
169
|
+
marginRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
170
|
+
marginLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
171
|
+
marginTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
172
|
+
marginBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
173
|
+
marginX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
174
|
+
marginY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
175
|
+
margin?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
176
176
|
break?: string;
|
|
177
177
|
default?: string;
|
|
178
178
|
} & {
|
|
@@ -180,31 +180,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
180
180
|
} & {
|
|
181
181
|
numberSpacing?: "tabular";
|
|
182
182
|
} & {
|
|
183
|
-
order?:
|
|
183
|
+
order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
|
|
184
184
|
} & {
|
|
185
|
-
overflowX?: "auto" | "scroll" | "
|
|
186
|
-
overflowY?: "auto" | "scroll" | "
|
|
187
|
-
overflow?: "auto" | "scroll" | "
|
|
185
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
186
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
187
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
188
188
|
} & {
|
|
189
|
-
paddingRight?: "
|
|
190
|
-
paddingLeft?: "
|
|
191
|
-
paddingTop?: "
|
|
192
|
-
paddingBottom?: "
|
|
193
|
-
paddingX?: "
|
|
194
|
-
paddingY?: "
|
|
195
|
-
padding?: "
|
|
189
|
+
paddingRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
190
|
+
paddingLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
191
|
+
paddingTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
192
|
+
paddingBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
193
|
+
paddingX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
194
|
+
paddingY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
195
|
+
padding?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
196
196
|
break?: string;
|
|
197
197
|
default?: string;
|
|
198
198
|
} & {
|
|
199
|
-
position?: "
|
|
199
|
+
position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
200
200
|
} & {
|
|
201
201
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
202
202
|
} & {
|
|
203
|
-
textAlign?: "center" | "
|
|
203
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
204
204
|
} & {
|
|
205
|
-
truncate?:
|
|
205
|
+
truncate?: 2 | 1 | 3 | 4 | 5 | "none";
|
|
206
206
|
} & {
|
|
207
|
-
[key: string]:
|
|
207
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
208
208
|
} & {
|
|
209
209
|
hover?: string;
|
|
210
210
|
} & {
|
|
@@ -252,17 +252,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
252
252
|
} & {
|
|
253
253
|
alignContent?: never;
|
|
254
254
|
} & {
|
|
255
|
-
alignItems?:
|
|
255
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
256
256
|
} & {
|
|
257
257
|
alignSelf?: never;
|
|
258
258
|
} & {
|
|
259
|
-
borderRadius?: "
|
|
259
|
+
borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
|
|
260
260
|
} & {
|
|
261
|
-
cursor?: "
|
|
261
|
+
cursor?: "progress" | "text" | "auto" | "default" | "copy" | "pointer" | "none" | "contextMenu" | "help" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
262
262
|
} & {
|
|
263
263
|
dark?: boolean;
|
|
264
264
|
} & import("../types").DisplaySizes & {
|
|
265
|
-
flex?: "none" | "
|
|
265
|
+
flex?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
266
266
|
} & {
|
|
267
267
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
268
268
|
} & {
|
|
@@ -278,13 +278,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
278
278
|
} & {
|
|
279
279
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
280
280
|
} & {
|
|
281
|
-
marginRight?: "
|
|
282
|
-
marginLeft?: "
|
|
283
|
-
marginTop?: "
|
|
284
|
-
marginBottom?: "
|
|
285
|
-
marginX?: "
|
|
286
|
-
marginY?: "
|
|
287
|
-
margin?: "
|
|
281
|
+
marginRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
282
|
+
marginLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
283
|
+
marginTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
284
|
+
marginBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
285
|
+
marginX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
286
|
+
marginY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
287
|
+
margin?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
288
288
|
break?: string;
|
|
289
289
|
default?: string;
|
|
290
290
|
} & {
|
|
@@ -292,31 +292,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
292
292
|
} & {
|
|
293
293
|
numberSpacing?: "tabular";
|
|
294
294
|
} & {
|
|
295
|
-
order?:
|
|
295
|
+
order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
|
|
296
296
|
} & {
|
|
297
|
-
overflowX?: "auto" | "scroll" | "
|
|
298
|
-
overflowY?: "auto" | "scroll" | "
|
|
299
|
-
overflow?: "auto" | "scroll" | "
|
|
297
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
298
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
299
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
300
300
|
} & {
|
|
301
|
-
paddingRight?: "
|
|
302
|
-
paddingLeft?: "
|
|
303
|
-
paddingTop?: "
|
|
304
|
-
paddingBottom?: "
|
|
305
|
-
paddingX?: "
|
|
306
|
-
paddingY?: "
|
|
307
|
-
padding?: "
|
|
301
|
+
paddingRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
302
|
+
paddingLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
303
|
+
paddingTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
304
|
+
paddingBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
305
|
+
paddingX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
306
|
+
paddingY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
307
|
+
padding?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
308
308
|
break?: string;
|
|
309
309
|
default?: string;
|
|
310
310
|
} & {
|
|
311
|
-
position?: "
|
|
311
|
+
position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
312
312
|
} & {
|
|
313
313
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
314
314
|
} & {
|
|
315
|
-
textAlign?: "center" | "
|
|
315
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
316
316
|
} & {
|
|
317
|
-
truncate?:
|
|
317
|
+
truncate?: 2 | 1 | 3 | 4 | 5 | "none";
|
|
318
318
|
} & {
|
|
319
|
-
zIndex?:
|
|
319
|
+
zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
320
320
|
} & {
|
|
321
321
|
hover?: string;
|
|
322
322
|
} & {
|
|
@@ -364,17 +364,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
364
364
|
} & {
|
|
365
365
|
alignContent?: never;
|
|
366
366
|
} & {
|
|
367
|
-
alignItems?:
|
|
367
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
368
368
|
} & {
|
|
369
369
|
alignSelf?: never;
|
|
370
370
|
} & {
|
|
371
|
-
borderRadius?: "
|
|
371
|
+
borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
|
|
372
372
|
} & {
|
|
373
|
-
cursor?: "
|
|
373
|
+
cursor?: "progress" | "text" | "auto" | "default" | "copy" | "pointer" | "none" | "contextMenu" | "help" | "wait" | "cell" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
|
|
374
374
|
} & {
|
|
375
375
|
dark?: boolean;
|
|
376
376
|
} & import("../types").DisplaySizes & {
|
|
377
|
-
flex?: "none" | "
|
|
377
|
+
flex?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
378
378
|
} & {
|
|
379
379
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
380
380
|
} & {
|
|
@@ -390,13 +390,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
390
390
|
} & {
|
|
391
391
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
392
392
|
} & {
|
|
393
|
-
marginRight?: "
|
|
394
|
-
marginLeft?: "
|
|
395
|
-
marginTop?: "
|
|
396
|
-
marginBottom?: "
|
|
397
|
-
marginX?: "
|
|
398
|
-
marginY?: "
|
|
399
|
-
margin?: "
|
|
393
|
+
marginRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
394
|
+
marginLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
395
|
+
marginTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
396
|
+
marginBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
397
|
+
marginX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
398
|
+
marginY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
399
|
+
margin?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
400
400
|
break?: string;
|
|
401
401
|
default?: string;
|
|
402
402
|
} & {
|
|
@@ -404,31 +404,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
404
404
|
} & {
|
|
405
405
|
numberSpacing?: "tabular";
|
|
406
406
|
} & {
|
|
407
|
-
order?:
|
|
407
|
+
order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
|
|
408
408
|
} & {
|
|
409
|
-
overflowX?: "auto" | "scroll" | "
|
|
410
|
-
overflowY?: "auto" | "scroll" | "
|
|
411
|
-
overflow?: "auto" | "scroll" | "
|
|
409
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
410
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
411
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
412
412
|
} & {
|
|
413
|
-
paddingRight?: "
|
|
414
|
-
paddingLeft?: "
|
|
415
|
-
paddingTop?: "
|
|
416
|
-
paddingBottom?: "
|
|
417
|
-
paddingX?: "
|
|
418
|
-
paddingY?: "
|
|
419
|
-
padding?: "
|
|
413
|
+
paddingRight?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
414
|
+
paddingLeft?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
415
|
+
paddingTop?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
416
|
+
paddingBottom?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
417
|
+
paddingX?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
418
|
+
paddingY?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
419
|
+
padding?: "auto" | "none" | "initial" | import("../types").Sizes | "inherit";
|
|
420
420
|
break?: string;
|
|
421
421
|
default?: string;
|
|
422
422
|
} & {
|
|
423
|
-
position?: "
|
|
423
|
+
position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
424
424
|
} & {
|
|
425
425
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
426
426
|
} & {
|
|
427
|
-
textAlign?: "center" | "
|
|
427
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
428
428
|
} & {
|
|
429
|
-
truncate?:
|
|
429
|
+
truncate?: 2 | 1 | 3 | 4 | 5 | "none";
|
|
430
430
|
} & {
|
|
431
|
-
[key: string]:
|
|
431
|
+
[key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
432
432
|
} & {
|
|
433
433
|
hover?: string;
|
|
434
434
|
} & {
|