playbook-ui 13.21.0 → 13.22.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.
@@ -1,10 +1,10 @@
1
- import { GlobalProps } from "../../utilities/globalProps";
2
1
  import { Getter, Row } from "@tanstack/react-table";
3
- import { DataType } from "../Utilities/types";
2
+ import { GenericObject } from "../../types";
3
+ import { GlobalProps } from "../../utilities/globalProps";
4
4
  interface CustomCellProps {
5
5
  getValue?: Getter<string>;
6
- onRowToggleClick?: (arg: Row<DataType>) => void;
7
- row: Row<DataType>;
6
+ onRowToggleClick?: (arg: Row<GenericObject>) => void;
7
+ row: Row<GenericObject>;
8
8
  value?: string;
9
9
  }
10
10
  export declare const CustomCell: ({ getValue, onRowToggleClick, row, value, }: CustomCellProps & GlobalProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { Header } from "@tanstack/react-table";
2
- import { DataType } from "../Utilities/types";
2
+ import { GenericObject } from "../../types";
3
3
  declare type SortIconButtonProps = {
4
- header: Header<DataType, unknown>;
4
+ header: Header<GenericObject, unknown>;
5
5
  sortIcon?: string | string[];
6
6
  };
7
7
  export declare const SortIconButton: ({ header, sortIcon }: SortIconButtonProps) => JSX.Element;
@@ -1,13 +1,13 @@
1
1
  import { Row, Table } from "@tanstack/react-table";
2
- import { DataType } from "../Utilities/types";
2
+ import { GenericObject } from "../../types";
3
3
  import { GlobalProps } from "../../utilities/globalProps";
4
4
  interface SubRowHeaderRowProps {
5
5
  collapsibleTrail?: boolean;
6
6
  enableToggleExpansion?: "all" | "header" | "none";
7
- onClick: (row: Row<DataType>) => void;
8
- row: Row<DataType>;
7
+ onClick: (row: Row<GenericObject>) => void;
8
+ row: Row<GenericObject>;
9
9
  subRowHeaders?: string[];
10
- table: Table<DataType>;
10
+ table: Table<GenericObject>;
11
11
  }
12
12
  export declare const SubRowHeaderRow: ({ collapsibleTrail, enableToggleExpansion, onClick, row, subRowHeaders, table, }: SubRowHeaderRowProps & GlobalProps) => JSX.Element;
13
13
  export {};
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
2
  import { Header } from "@tanstack/react-table";
3
- import { DataType } from "../Utilities/types";
3
+ import { GenericObject } from "../../types";
4
4
  import { GlobalProps } from "../../utilities/globalProps";
5
5
  declare type TableHeaderCellProps = {
6
6
  enableSorting?: boolean;
7
7
  enableToggleExpansion?: "all" | "header" | "none";
8
8
  handleExpandOrCollapse?: () => void;
9
- header?: Header<DataType, unknown>;
9
+ header?: Header<GenericObject, unknown>;
10
10
  headerChildren?: React.ReactNode | React.ReactNode[];
11
11
  loading?: boolean;
12
12
  sortIcon?: string | string[];
@@ -1,8 +1,8 @@
1
1
  import { Row } from "@tanstack/react-table";
2
- import { DataType } from "../Utilities/types";
2
+ import { GenericObject } from "../../types";
3
3
  interface ToggleIconButtonProps {
4
- onClick: (row: Row<DataType>) => void;
5
- row?: Row<DataType>;
4
+ onClick: (row: Row<GenericObject>) => void;
5
+ row?: Row<GenericObject>;
6
6
  }
7
7
  export declare const ToggleIconButton: ({ row, onClick }: ToggleIconButtonProps) => JSX.Element;
8
8
  export {};
@@ -1,3 +1,3 @@
1
1
  import { RowModel } from "@tanstack/react-table";
2
- import { DataType } from "./types";
3
- export declare const updateExpandAndCollapseState: (tableRows: RowModel<DataType>, expanded: Record<string, boolean>, targetParent: string) => Record<string, boolean>;
2
+ import { GenericObject } from "../../types";
3
+ export declare const updateExpandAndCollapseState: (tableRows: RowModel<GenericObject>, expanded: Record<string, boolean>, targetParent: string) => Record<string, boolean>;
@@ -1,5 +1,2 @@
1
1
  import { ExpandedState } from "@tanstack/react-table";
2
2
  export declare type ExpandedStateObject = Extract<ExpandedState, Record<string, boolean>>;
3
- export declare type DataType = {
4
- [key: string]: any;
5
- };
@@ -1,20 +1,20 @@
1
1
  import React from "react";
2
- import { GlobalProps } from "../utilities/globalProps";
2
+ import { GenericObject } from "../types";
3
3
  import { Row } from "@tanstack/react-table";
4
- import { DataType } from "./Utilities/types";
4
+ import { GlobalProps } from "../utilities/globalProps";
5
5
  declare type AdvancedTableProps = {
6
6
  aria?: {
7
7
  [key: string]: string;
8
8
  };
9
9
  children?: React.ReactNode | React.ReactNode[];
10
10
  className?: string;
11
- columnDefinitions: DataType[];
11
+ columnDefinitions: GenericObject[];
12
12
  dark?: boolean;
13
13
  data?: {
14
14
  [key: string]: string;
15
15
  };
16
16
  enableToggleExpansion?: "all" | "header" | "none";
17
- expandedControl?: DataType;
17
+ expandedControl?: GenericObject;
18
18
  htmlOptions?: {
19
19
  [key: string]: string | number | boolean | (() => void);
20
20
  };
@@ -22,12 +22,12 @@ declare type AdvancedTableProps = {
22
22
  initialLoadingRowsCount?: number;
23
23
  inlineRowLoading?: boolean;
24
24
  loading?: boolean | string;
25
- onRowToggleClick?: (arg: Row<DataType>) => void;
26
- onToggleExpansionClick?: (arg: Row<DataType>) => void;
27
- sortControl?: DataType;
28
- tableData: DataType[];
29
- tableOptions?: DataType;
30
- tableProps?: DataType;
25
+ onRowToggleClick?: (arg: Row<GenericObject>) => void;
26
+ onToggleExpansionClick?: (arg: Row<GenericObject>) => void;
27
+ sortControl?: GenericObject;
28
+ tableData: GenericObject[];
29
+ tableOptions?: GenericObject;
30
+ tableProps?: GenericObject;
31
31
  toggleExpansionIcon?: string | string[];
32
32
  } & GlobalProps;
33
33
  declare const AdvancedTable: {
@@ -24,21 +24,21 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
24
24
  } & {
25
25
  alignContent?: never;
26
26
  } & {
27
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
27
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
28
28
  } & {
29
29
  alignSelf?: never;
30
30
  } & {
31
- borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
31
+ borderRadius?: "none" | "rounded" | "md" | "lg" | "sm" | "xl" | "xs";
32
32
  } & {
33
- cursor?: "progress" | "text" | "none" | "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";
33
+ cursor?: "none" | "text" | "progress" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
34
34
  } & {
35
35
  dark?: boolean;
36
36
  } & {
37
37
  display?: import("../types").DisplayType;
38
38
  } & import("../types").DisplaySizes & {
39
- flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
39
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
40
40
  } & {
41
- flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
41
+ flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
42
42
  } & {
43
43
  flexGrow?: 0 | 1;
44
44
  } & {
@@ -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" | import("../types").Sizes | "inherit";
56
- marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
57
- marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
58
- marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
59
- marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
60
- marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
61
- margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
55
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
56
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
57
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
58
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
59
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
60
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
61
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
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?: 2 | 1 | "none" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
69
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
70
70
  } & {
71
- overflowX?: "auto" | "scroll" | "visible" | "hidden";
72
- overflowY?: "auto" | "scroll" | "visible" | "hidden";
73
- overflow?: "auto" | "scroll" | "visible" | "hidden";
71
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
72
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
73
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
74
74
  } & {
75
- paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
76
- paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
77
- paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
78
- paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
79
- paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
80
- paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
81
- padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
75
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
76
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
77
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
78
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
79
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
80
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
81
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
82
82
  break?: string;
83
83
  default?: string;
84
84
  } & {
85
- position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
85
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
86
86
  } & {
87
87
  shadow?: "none" | "deep" | "deeper" | "deepest";
88
88
  } & {
89
89
  textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
90
90
  } & {
91
- truncate?: 2 | 1 | "none" | 3 | 4 | 5;
91
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
92
92
  } & {
93
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
93
+ zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
94
94
  } & {
95
95
  hover?: string;
96
96
  } & {
@@ -126,21 +126,21 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
126
126
  } & {
127
127
  alignContent?: never;
128
128
  } & {
129
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
129
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
130
130
  } & {
131
131
  alignSelf?: never;
132
132
  } & {
133
- borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
133
+ borderRadius?: "none" | "rounded" | "md" | "lg" | "sm" | "xl" | "xs";
134
134
  } & {
135
- cursor?: "progress" | "text" | "none" | "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";
135
+ cursor?: "none" | "text" | "progress" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
136
136
  } & {
137
137
  dark?: boolean;
138
138
  } & {
139
139
  display?: import("../types").DisplayType;
140
140
  } & import("../types").DisplaySizes & {
141
- flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
141
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
142
142
  } & {
143
- flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
143
+ flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
144
144
  } & {
145
145
  flexGrow?: 0 | 1;
146
146
  } & {
@@ -154,13 +154,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
154
154
  } & {
155
155
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
156
156
  } & {
157
- marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
158
- marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
159
- marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
160
- marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
161
- marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
162
- marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
163
- margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
157
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
158
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
159
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
160
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
161
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
162
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
163
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
164
164
  break?: string;
165
165
  default?: string;
166
166
  } & {
@@ -168,31 +168,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
168
168
  } & {
169
169
  numberSpacing?: "tabular";
170
170
  } & {
171
- order?: 2 | 1 | "none" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
171
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
172
172
  } & {
173
- overflowX?: "auto" | "scroll" | "visible" | "hidden";
174
- overflowY?: "auto" | "scroll" | "visible" | "hidden";
175
- overflow?: "auto" | "scroll" | "visible" | "hidden";
173
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
174
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
175
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
176
176
  } & {
177
- paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
178
- paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
179
- paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
180
- paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
181
- paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
182
- paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
183
- padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
177
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
178
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
179
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
180
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
181
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
182
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
183
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
184
184
  break?: string;
185
185
  default?: string;
186
186
  } & {
187
- position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
187
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
188
188
  } & {
189
189
  shadow?: "none" | "deep" | "deeper" | "deepest";
190
190
  } & {
191
191
  textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
192
192
  } & {
193
- truncate?: 2 | 1 | "none" | 3 | 4 | 5;
193
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
194
194
  } & {
195
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
195
+ [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
196
196
  } & {
197
197
  hover?: string;
198
198
  } & {
@@ -228,19 +228,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
228
228
  } & {
229
229
  alignContent?: never;
230
230
  } & {
231
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
231
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
232
232
  } & {
233
233
  alignSelf?: never;
234
234
  } & {
235
- borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
235
+ borderRadius?: "none" | "rounded" | "md" | "lg" | "sm" | "xl" | "xs";
236
236
  } & {
237
- cursor?: "progress" | "text" | "none" | "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";
237
+ cursor?: "none" | "text" | "progress" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
238
238
  } & {
239
239
  dark?: boolean;
240
240
  } & import("../types").DisplaySizes & {
241
- flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
241
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
242
242
  } & {
243
- flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
243
+ flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
244
244
  } & {
245
245
  flexGrow?: 0 | 1;
246
246
  } & {
@@ -254,13 +254,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
254
254
  } & {
255
255
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
256
256
  } & {
257
- marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
258
- marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
259
- marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
260
- marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
261
- marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
262
- marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
263
- margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
257
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
258
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
259
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
260
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
261
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
262
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
263
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
264
264
  break?: string;
265
265
  default?: string;
266
266
  } & {
@@ -268,31 +268,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
268
268
  } & {
269
269
  numberSpacing?: "tabular";
270
270
  } & {
271
- order?: 2 | 1 | "none" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
271
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
272
272
  } & {
273
- overflowX?: "auto" | "scroll" | "visible" | "hidden";
274
- overflowY?: "auto" | "scroll" | "visible" | "hidden";
275
- overflow?: "auto" | "scroll" | "visible" | "hidden";
273
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
274
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
275
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
276
276
  } & {
277
- paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
278
- paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
279
- paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
280
- paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
281
- paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
282
- paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
283
- padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
277
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
278
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
279
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
280
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
281
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
282
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
283
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
284
284
  break?: string;
285
285
  default?: string;
286
286
  } & {
287
- position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
287
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
288
288
  } & {
289
289
  shadow?: "none" | "deep" | "deeper" | "deepest";
290
290
  } & {
291
291
  textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
292
292
  } & {
293
- truncate?: 2 | 1 | "none" | 3 | 4 | 5;
293
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
294
294
  } & {
295
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
295
+ zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
296
296
  } & {
297
297
  hover?: string;
298
298
  } & {
@@ -328,19 +328,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
328
328
  } & {
329
329
  alignContent?: never;
330
330
  } & {
331
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
331
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
332
332
  } & {
333
333
  alignSelf?: never;
334
334
  } & {
335
- borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
335
+ borderRadius?: "none" | "rounded" | "md" | "lg" | "sm" | "xl" | "xs";
336
336
  } & {
337
- cursor?: "progress" | "text" | "none" | "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";
337
+ cursor?: "none" | "text" | "progress" | "pointer" | "alias" | "auto" | "cell" | "copy" | "crosshair" | "default" | "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";
338
338
  } & {
339
339
  dark?: boolean;
340
340
  } & import("../types").DisplaySizes & {
341
- flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
341
+ flex?: "none" | "initial" | "auto" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
342
342
  } & {
343
- flexDirection?: "column" | "row" | "rowReverse" | "columnReverse";
343
+ flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
344
344
  } & {
345
345
  flexGrow?: 0 | 1;
346
346
  } & {
@@ -354,13 +354,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
354
354
  } & {
355
355
  lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
356
356
  } & {
357
- marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
358
- marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
359
- marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
360
- marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
361
- marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
362
- marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
363
- margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
357
+ marginRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
358
+ marginLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
359
+ marginTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
360
+ marginBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
361
+ marginX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
362
+ marginY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
363
+ margin?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
364
364
  break?: string;
365
365
  default?: string;
366
366
  } & {
@@ -368,31 +368,31 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
368
368
  } & {
369
369
  numberSpacing?: "tabular";
370
370
  } & {
371
- order?: 2 | 1 | "none" | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
371
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
372
372
  } & {
373
- overflowX?: "auto" | "scroll" | "visible" | "hidden";
374
- overflowY?: "auto" | "scroll" | "visible" | "hidden";
375
- overflow?: "auto" | "scroll" | "visible" | "hidden";
373
+ overflowX?: "auto" | "scroll" | "hidden" | "visible";
374
+ overflowY?: "auto" | "scroll" | "hidden" | "visible";
375
+ overflow?: "auto" | "scroll" | "hidden" | "visible";
376
376
  } & {
377
- paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
378
- paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
379
- paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
380
- paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
381
- paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
382
- paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
383
- padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
377
+ paddingRight?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
378
+ paddingLeft?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
379
+ paddingTop?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
380
+ paddingBottom?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
381
+ paddingX?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
382
+ paddingY?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
383
+ padding?: "none" | "inherit" | "initial" | "auto" | import("../types").Sizes;
384
384
  break?: string;
385
385
  default?: string;
386
386
  } & {
387
- position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
387
+ position?: "fixed" | "relative" | "absolute" | "sticky" | "static";
388
388
  } & {
389
389
  shadow?: "none" | "deep" | "deeper" | "deepest";
390
390
  } & {
391
391
  textAlign?: "center" | "left" | "right" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
392
392
  } & {
393
- truncate?: 2 | 1 | "none" | 3 | 4 | 5;
393
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
394
394
  } & {
395
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
395
+ [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
396
396
  } & {
397
397
  hover?: string;
398
398
  } & {