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.
@@ -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';
@@ -11,6 +11,7 @@ declare type CheckboxProps = {
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);
@@ -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?: "lg" | "xs" | "sm" | "xxs" | "md" | "xl";
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, { ReactElement } from "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
- children?: React.ReactChild[] | React.ReactChild | ReactElement[];
14
- options: GenericObject;
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
- }) => JSX.Element;
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 {};
@@ -0,0 +1,2 @@
1
+ export { separateChildComponents, prepareSubcomponents } from './subComponentHelper';
2
+ export { handleClickOutside } from './clickOutsideHelper';
@@ -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?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
32
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
32
33
  } & {
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
+ 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?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
40
+ flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
40
41
  } & {
41
- flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
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?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
54
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
54
55
  } & {
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";
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?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
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?: "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";
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?: "static" | "relative" | "absolute" | "fixed" | "sticky";
86
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
86
87
  } & {
87
88
  shadow?: "none" | "deep" | "deeper" | "deepest";
88
89
  } & {
89
- textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
90
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
90
91
  } & {
91
- truncate?: 2 | 1 | 3 | 4 | 5 | "none";
92
+ truncate?: 1 | 2 | 3 | "none" | 4 | 5;
92
93
  } & {
93
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
147
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
146
148
  } & {
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";
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?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
155
+ flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
154
156
  } & {
155
- flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
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?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
169
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
168
170
  } & {
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";
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?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
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?: "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";
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?: "static" | "relative" | "absolute" | "fixed" | "sticky";
201
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
200
202
  } & {
201
203
  shadow?: "none" | "deep" | "deeper" | "deepest";
202
204
  } & {
203
- textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
205
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
204
206
  } & {
205
- truncate?: 2 | 1 | 3 | 4 | 5 | "none";
207
+ truncate?: 1 | 2 | 3 | "none" | 4 | 5;
206
208
  } & {
207
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
262
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
260
263
  } & {
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";
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?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
268
+ flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
266
269
  } & {
267
- flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
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?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
282
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
280
283
  } & {
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";
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?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
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?: "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";
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?: "static" | "relative" | "absolute" | "fixed" | "sticky";
314
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
312
315
  } & {
313
316
  shadow?: "none" | "deep" | "deeper" | "deepest";
314
317
  } & {
315
- textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
318
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
316
319
  } & {
317
- truncate?: 2 | 1 | 3 | 4 | 5 | "none";
320
+ truncate?: 1 | 2 | 3 | "none" | 4 | 5;
318
321
  } & {
319
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
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?: "lg" | "xs" | "sm" | "none" | "md" | "xl" | "rounded";
375
+ borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
372
376
  } & {
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";
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?: "auto" | "none" | "1" | "initial" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
381
+ flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
378
382
  } & {
379
- flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
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?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
395
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
392
396
  } & {
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";
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?: 12 | 2 | 1 | 3 | 4 | 5 | 6 | "none" | 7 | 8 | 9 | 10 | "first" | 11;
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?: "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";
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?: "static" | "relative" | "absolute" | "fixed" | "sticky";
427
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
424
428
  } & {
425
429
  shadow?: "none" | "deep" | "deeper" | "deepest";
426
430
  } & {
427
- textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
431
+ textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
428
432
  } & {
429
- truncate?: 2 | 1 | 3 | 4 | 5 | "none";
433
+ truncate?: 1 | 2 | 3 | "none" | 4 | 5;
430
434
  } & {
431
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
435
+ [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
432
436
  } & {
433
437
  hover?: string;
434
438
  } & {