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 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: string;
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?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
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,3 @@
1
+ /// <reference types="react" />
2
+ declare const DropdownContext: import("react").Context<any>;
3
+ export default DropdownContext;
@@ -0,0 +1,2 @@
1
+ declare const useDropdown: (initial?: boolean) => any[];
2
+ export default useDropdown;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const useHandleOnKeyDown: () => (e: React.KeyboardEvent) => void;
@@ -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?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
27
+ alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
28
28
  } & {
29
29
  alignSelf?: never;
30
30
  } & {
31
- borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
31
+ borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
32
32
  } & {
33
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
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" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
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?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
56
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
57
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
58
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
59
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
60
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
61
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
69
+ order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
70
70
  } & {
71
- overflowX?: "auto" | "scroll" | "hidden" | "visible";
72
- overflowY?: "auto" | "scroll" | "hidden" | "visible";
73
- overflow?: "auto" | "scroll" | "hidden" | "visible";
71
+ overflowX?: "auto" | "scroll" | "visible" | "hidden";
72
+ overflowY?: "auto" | "scroll" | "visible" | "hidden";
73
+ overflow?: "auto" | "scroll" | "visible" | "hidden";
74
74
  } & {
75
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
76
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
77
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
78
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
79
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
80
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
81
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: "fixed" | "relative" | "absolute" | "sticky" | "static";
85
+ position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
86
86
  } & {
87
87
  shadow?: "none" | "deep" | "deeper" | "deepest";
88
88
  } & {
89
- textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
89
+ textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
90
90
  } & {
91
- truncate?: 1 | 2 | 3 | "none" | 4 | 5;
91
+ truncate?: 2 | 1 | 3 | 4 | 5 | "none";
92
92
  } & {
93
- zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
141
+ alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
142
142
  } & {
143
143
  alignSelf?: never;
144
144
  } & {
145
- borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
145
+ borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
146
146
  } & {
147
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
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" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
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?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
170
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
171
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
172
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
173
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
174
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
175
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
183
+ order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
184
184
  } & {
185
- overflowX?: "auto" | "scroll" | "hidden" | "visible";
186
- overflowY?: "auto" | "scroll" | "hidden" | "visible";
187
- overflow?: "auto" | "scroll" | "hidden" | "visible";
185
+ overflowX?: "auto" | "scroll" | "visible" | "hidden";
186
+ overflowY?: "auto" | "scroll" | "visible" | "hidden";
187
+ overflow?: "auto" | "scroll" | "visible" | "hidden";
188
188
  } & {
189
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
190
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
191
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
192
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
193
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
194
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
195
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: "fixed" | "relative" | "absolute" | "sticky" | "static";
199
+ position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
200
200
  } & {
201
201
  shadow?: "none" | "deep" | "deeper" | "deepest";
202
202
  } & {
203
- textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
203
+ textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
204
204
  } & {
205
- truncate?: 1 | 2 | 3 | "none" | 4 | 5;
205
+ truncate?: 2 | 1 | 3 | 4 | 5 | "none";
206
206
  } & {
207
- [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
255
+ alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
256
256
  } & {
257
257
  alignSelf?: never;
258
258
  } & {
259
- borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
259
+ borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
260
260
  } & {
261
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
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" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
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?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
282
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
283
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
284
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
285
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
286
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
287
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
295
+ order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
296
296
  } & {
297
- overflowX?: "auto" | "scroll" | "hidden" | "visible";
298
- overflowY?: "auto" | "scroll" | "hidden" | "visible";
299
- overflow?: "auto" | "scroll" | "hidden" | "visible";
297
+ overflowX?: "auto" | "scroll" | "visible" | "hidden";
298
+ overflowY?: "auto" | "scroll" | "visible" | "hidden";
299
+ overflow?: "auto" | "scroll" | "visible" | "hidden";
300
300
  } & {
301
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
302
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
303
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
304
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
305
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
306
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
307
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: "fixed" | "relative" | "absolute" | "sticky" | "static";
311
+ position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
312
312
  } & {
313
313
  shadow?: "none" | "deep" | "deeper" | "deepest";
314
314
  } & {
315
- textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
315
+ textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
316
316
  } & {
317
- truncate?: 1 | 2 | 3 | "none" | 4 | 5;
317
+ truncate?: 2 | 1 | 3 | 4 | 5 | "none";
318
318
  } & {
319
- zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
367
+ alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
368
368
  } & {
369
369
  alignSelf?: never;
370
370
  } & {
371
- borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
371
+ borderRadius?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
372
372
  } & {
373
- cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
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" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
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?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
394
- marginLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
395
- marginTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
396
- marginBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
397
- marginX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
398
- marginY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
399
- margin?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
407
+ order?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
408
408
  } & {
409
- overflowX?: "auto" | "scroll" | "hidden" | "visible";
410
- overflowY?: "auto" | "scroll" | "hidden" | "visible";
411
- overflow?: "auto" | "scroll" | "hidden" | "visible";
409
+ overflowX?: "auto" | "scroll" | "visible" | "hidden";
410
+ overflowY?: "auto" | "scroll" | "visible" | "hidden";
411
+ overflow?: "auto" | "scroll" | "visible" | "hidden";
412
412
  } & {
413
- paddingRight?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
414
- paddingLeft?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
415
- paddingTop?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
416
- paddingBottom?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
417
- paddingX?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
418
- paddingY?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
419
- padding?: "none" | "auto" | "initial" | "inherit" | import("../types").Sizes;
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?: "fixed" | "relative" | "absolute" | "sticky" | "static";
423
+ position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
424
424
  } & {
425
425
  shadow?: "none" | "deep" | "deeper" | "deepest";
426
426
  } & {
427
- textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
427
+ textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
428
428
  } & {
429
- truncate?: 1 | 2 | 3 | "none" | 4 | 5;
429
+ truncate?: 2 | 1 | 3 | 4 | 5 | "none";
430
430
  } & {
431
- [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
431
+ [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
432
432
  } & {
433
433
  hover?: string;
434
434
  } & {