playbook-ui 13.21.0 → 13.23.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 +4 -0
- package/dist/pb_advanced_table/Components/CustomCell.d.ts +4 -4
- package/dist/pb_advanced_table/Components/SortIconButton.d.ts +2 -2
- package/dist/pb_advanced_table/Components/SubRowHeaderRow.d.ts +4 -4
- package/dist/pb_advanced_table/Components/TableHeaderCell.d.ts +2 -2
- package/dist/pb_advanced_table/Components/ToggleIconButton.d.ts +3 -3
- package/dist/pb_advanced_table/Utilities/ExpansionControlHelpers.d.ts +2 -2
- package/dist/pb_advanced_table/Utilities/types.d.ts +0 -3
- package/dist/pb_advanced_table/_advanced_table.d.ts +10 -10
- package/dist/pb_icon_circle/_icon_circle.d.ts +1 -1
- package/dist/pb_online_status/_online_status.d.ts +1 -1
- package/dist/pb_radio/_radio.d.ts +92 -44
- package/dist/pb_select/_select.d.ts +92 -44
- package/dist/pb_text_input/_text_input.d.ts +96 -48
- package/dist/pb_textarea/_textarea.d.ts +92 -44
- package/dist/pb_timeline/_timeline.d.ts +1 -1
- package/dist/pb_toggle/_toggle.d.ts +2 -1
- package/dist/pb_tooltip/_tooltip.d.ts +92 -44
- package/dist/playbook-doc.js +10 -10
- package/dist/playbook-rails.js +7 -7
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +10 -10
- package/dist/types/data.d.ts +1 -1
- package/dist/utilities/globalProps.d.ts +16 -4
- package/package.json +1 -2
package/dist/menu.yml
CHANGED
|
@@ -407,6 +407,10 @@ kits:
|
|
|
407
407
|
platforms: *web
|
|
408
408
|
description: Badges can be used for notification, tags, and status. They are used for count and numbers.
|
|
409
409
|
status: "stable"
|
|
410
|
+
- name: "online_status"
|
|
411
|
+
platforms: *web
|
|
412
|
+
description: Online Status is a small indicator that lets the user know the status of a person or item.
|
|
413
|
+
status: "stable"
|
|
410
414
|
- name: "pill"
|
|
411
415
|
platforms: *all
|
|
412
416
|
description: A pill uses both a keyword and a specific color to categorize an item.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { GlobalProps } from "../../utilities/globalProps";
|
|
2
1
|
import { Getter, Row } from "@tanstack/react-table";
|
|
3
|
-
import {
|
|
2
|
+
import { GenericObject } from "../../types";
|
|
3
|
+
import { GlobalProps } from "../../utilities/globalProps";
|
|
4
4
|
interface CustomCellProps {
|
|
5
5
|
getValue?: Getter<string>;
|
|
6
|
-
onRowToggleClick?: (arg: Row<
|
|
7
|
-
row: Row<
|
|
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 {
|
|
2
|
+
import { GenericObject } from "../../types";
|
|
3
3
|
declare type SortIconButtonProps = {
|
|
4
|
-
header: Header<
|
|
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 {
|
|
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<
|
|
8
|
-
row: Row<
|
|
7
|
+
onClick: (row: Row<GenericObject>) => void;
|
|
8
|
+
row: Row<GenericObject>;
|
|
9
9
|
subRowHeaders?: string[];
|
|
10
|
-
table: Table<
|
|
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 {
|
|
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<
|
|
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 {
|
|
2
|
+
import { GenericObject } from "../../types";
|
|
3
3
|
interface ToggleIconButtonProps {
|
|
4
|
-
onClick: (row: Row<
|
|
5
|
-
row?: Row<
|
|
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 {
|
|
3
|
-
export declare const updateExpandAndCollapseState: (tableRows: RowModel<
|
|
2
|
+
import { GenericObject } from "../../types";
|
|
3
|
+
export declare const updateExpandAndCollapseState: (tableRows: RowModel<GenericObject>, expanded: Record<string, boolean>, targetParent: string) => Record<string, boolean>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { GenericObject } from "../types";
|
|
3
3
|
import { Row } from "@tanstack/react-table";
|
|
4
|
-
import {
|
|
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:
|
|
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?:
|
|
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<
|
|
26
|
-
onToggleExpansionClick?: (arg: Row<
|
|
27
|
-
sortControl?:
|
|
28
|
-
tableData:
|
|
29
|
-
tableOptions?:
|
|
30
|
-
tableProps?:
|
|
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: {
|
|
@@ -12,7 +12,7 @@ declare type IconCircleProps = {
|
|
|
12
12
|
[key: string]: string | number | boolean | (() => void);
|
|
13
13
|
};
|
|
14
14
|
id?: string;
|
|
15
|
-
size?: "base" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
15
|
+
size?: "base" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
16
16
|
variant?: "default" | "royal" | "blue" | "purple" | "teal" | "red" | "yellow" | "orange" | "green";
|
|
17
17
|
};
|
|
18
18
|
declare const IconCircle: (props: IconCircleProps) => JSX.Element;
|
|
@@ -11,7 +11,7 @@ declare type OnlineStatusProps = {
|
|
|
11
11
|
[key: string]: string | number | boolean | (() => void);
|
|
12
12
|
};
|
|
13
13
|
id?: string;
|
|
14
|
-
status?: "
|
|
14
|
+
status?: "away" | "error" | "info" | "neutral" | "offline" | "online" | "primary" | "success" | "warning";
|
|
15
15
|
} & GlobalProps;
|
|
16
16
|
declare const OnlineStatus: (props: OnlineStatusProps) => JSX.Element;
|
|
17
17
|
export default OnlineStatus;
|
|
@@ -28,9 +28,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
28
28
|
} & {
|
|
29
29
|
alignSelf?: never;
|
|
30
30
|
} & {
|
|
31
|
-
borderRadius?: "
|
|
31
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
32
32
|
} & {
|
|
33
|
-
cursor?: "
|
|
33
|
+
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
34
|
} & {
|
|
35
35
|
dark?: boolean;
|
|
36
36
|
} & {
|
|
@@ -38,7 +38,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
38
38
|
} & import("../types").DisplaySizes & {
|
|
39
39
|
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
40
40
|
} & {
|
|
41
|
-
flexDirection?: "
|
|
41
|
+
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
42
42
|
} & {
|
|
43
43
|
flexGrow?: 0 | 1;
|
|
44
44
|
} & {
|
|
@@ -66,7 +66,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
66
66
|
} & {
|
|
67
67
|
numberSpacing?: "tabular";
|
|
68
68
|
} & {
|
|
69
|
-
order?: 2 |
|
|
69
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
70
70
|
} & {
|
|
71
71
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
72
72
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
@@ -86,21 +86,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
86
86
|
} & {
|
|
87
87
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
88
88
|
} & {
|
|
89
|
-
textAlign?: "center" | "
|
|
89
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
90
90
|
} & {
|
|
91
|
-
truncate?: 2 |
|
|
91
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
92
92
|
} & {
|
|
93
|
-
zIndex?:
|
|
93
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
94
94
|
} & {
|
|
95
95
|
hover?: string;
|
|
96
96
|
} & {
|
|
97
|
-
top?: import("../types").Sizes
|
|
97
|
+
top?: import("../types").Sizes | {
|
|
98
|
+
value: string;
|
|
99
|
+
inset: boolean;
|
|
100
|
+
};
|
|
98
101
|
} & {
|
|
99
|
-
right?: import("../types").Sizes
|
|
102
|
+
right?: import("../types").Sizes | {
|
|
103
|
+
value: string;
|
|
104
|
+
inset: boolean;
|
|
105
|
+
};
|
|
100
106
|
} & {
|
|
101
|
-
bottom?: import("../types").Sizes
|
|
107
|
+
bottom?: import("../types").Sizes | {
|
|
108
|
+
value: string;
|
|
109
|
+
inset: boolean;
|
|
110
|
+
};
|
|
102
111
|
} & {
|
|
103
|
-
left?: import("../types").Sizes
|
|
112
|
+
left?: import("../types").Sizes | {
|
|
113
|
+
value: string;
|
|
114
|
+
inset: boolean;
|
|
115
|
+
};
|
|
104
116
|
}, string | number> | Pick<{
|
|
105
117
|
aria?: {
|
|
106
118
|
[key: string]: string;
|
|
@@ -130,9 +142,9 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
130
142
|
} & {
|
|
131
143
|
alignSelf?: never;
|
|
132
144
|
} & {
|
|
133
|
-
borderRadius?: "
|
|
145
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
134
146
|
} & {
|
|
135
|
-
cursor?: "
|
|
147
|
+
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";
|
|
136
148
|
} & {
|
|
137
149
|
dark?: boolean;
|
|
138
150
|
} & {
|
|
@@ -140,7 +152,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
140
152
|
} & import("../types").DisplaySizes & {
|
|
141
153
|
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
142
154
|
} & {
|
|
143
|
-
flexDirection?: "
|
|
155
|
+
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
144
156
|
} & {
|
|
145
157
|
flexGrow?: 0 | 1;
|
|
146
158
|
} & {
|
|
@@ -168,7 +180,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
168
180
|
} & {
|
|
169
181
|
numberSpacing?: "tabular";
|
|
170
182
|
} & {
|
|
171
|
-
order?: 2 |
|
|
183
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
172
184
|
} & {
|
|
173
185
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
174
186
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
@@ -188,21 +200,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
188
200
|
} & {
|
|
189
201
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
190
202
|
} & {
|
|
191
|
-
textAlign?: "center" | "
|
|
203
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
192
204
|
} & {
|
|
193
|
-
truncate?: 2 |
|
|
205
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
194
206
|
} & {
|
|
195
|
-
[key: string]:
|
|
207
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
196
208
|
} & {
|
|
197
209
|
hover?: string;
|
|
198
210
|
} & {
|
|
199
|
-
top?: import("../types").Sizes
|
|
211
|
+
top?: import("../types").Sizes | {
|
|
212
|
+
value: string;
|
|
213
|
+
inset: boolean;
|
|
214
|
+
};
|
|
200
215
|
} & {
|
|
201
|
-
right?: import("../types").Sizes
|
|
216
|
+
right?: import("../types").Sizes | {
|
|
217
|
+
value: string;
|
|
218
|
+
inset: boolean;
|
|
219
|
+
};
|
|
202
220
|
} & {
|
|
203
|
-
bottom?: import("../types").Sizes
|
|
221
|
+
bottom?: import("../types").Sizes | {
|
|
222
|
+
value: string;
|
|
223
|
+
inset: boolean;
|
|
224
|
+
};
|
|
204
225
|
} & {
|
|
205
|
-
left?: import("../types").Sizes
|
|
226
|
+
left?: import("../types").Sizes | {
|
|
227
|
+
value: string;
|
|
228
|
+
inset: boolean;
|
|
229
|
+
};
|
|
206
230
|
}, string | number> | Pick<{
|
|
207
231
|
aria?: {
|
|
208
232
|
[key: string]: string;
|
|
@@ -232,15 +256,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
232
256
|
} & {
|
|
233
257
|
alignSelf?: never;
|
|
234
258
|
} & {
|
|
235
|
-
borderRadius?: "
|
|
259
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
236
260
|
} & {
|
|
237
|
-
cursor?: "
|
|
261
|
+
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";
|
|
238
262
|
} & {
|
|
239
263
|
dark?: boolean;
|
|
240
264
|
} & import("../types").DisplaySizes & {
|
|
241
265
|
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
242
266
|
} & {
|
|
243
|
-
flexDirection?: "
|
|
267
|
+
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
244
268
|
} & {
|
|
245
269
|
flexGrow?: 0 | 1;
|
|
246
270
|
} & {
|
|
@@ -268,7 +292,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
268
292
|
} & {
|
|
269
293
|
numberSpacing?: "tabular";
|
|
270
294
|
} & {
|
|
271
|
-
order?: 2 |
|
|
295
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
272
296
|
} & {
|
|
273
297
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
274
298
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
@@ -288,21 +312,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
288
312
|
} & {
|
|
289
313
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
290
314
|
} & {
|
|
291
|
-
textAlign?: "center" | "
|
|
315
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
292
316
|
} & {
|
|
293
|
-
truncate?: 2 |
|
|
317
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
294
318
|
} & {
|
|
295
|
-
zIndex?:
|
|
319
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
296
320
|
} & {
|
|
297
321
|
hover?: string;
|
|
298
322
|
} & {
|
|
299
|
-
top?: import("../types").Sizes
|
|
323
|
+
top?: import("../types").Sizes | {
|
|
324
|
+
value: string;
|
|
325
|
+
inset: boolean;
|
|
326
|
+
};
|
|
300
327
|
} & {
|
|
301
|
-
right?: import("../types").Sizes
|
|
328
|
+
right?: import("../types").Sizes | {
|
|
329
|
+
value: string;
|
|
330
|
+
inset: boolean;
|
|
331
|
+
};
|
|
302
332
|
} & {
|
|
303
|
-
bottom?: import("../types").Sizes
|
|
333
|
+
bottom?: import("../types").Sizes | {
|
|
334
|
+
value: string;
|
|
335
|
+
inset: boolean;
|
|
336
|
+
};
|
|
304
337
|
} & {
|
|
305
|
-
left?: import("../types").Sizes
|
|
338
|
+
left?: import("../types").Sizes | {
|
|
339
|
+
value: string;
|
|
340
|
+
inset: boolean;
|
|
341
|
+
};
|
|
306
342
|
}, string | number> | Pick<{
|
|
307
343
|
aria?: {
|
|
308
344
|
[key: string]: string;
|
|
@@ -332,15 +368,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
332
368
|
} & {
|
|
333
369
|
alignSelf?: never;
|
|
334
370
|
} & {
|
|
335
|
-
borderRadius?: "
|
|
371
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
336
372
|
} & {
|
|
337
|
-
cursor?: "
|
|
373
|
+
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";
|
|
338
374
|
} & {
|
|
339
375
|
dark?: boolean;
|
|
340
376
|
} & import("../types").DisplaySizes & {
|
|
341
377
|
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
342
378
|
} & {
|
|
343
|
-
flexDirection?: "
|
|
379
|
+
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
344
380
|
} & {
|
|
345
381
|
flexGrow?: 0 | 1;
|
|
346
382
|
} & {
|
|
@@ -368,7 +404,7 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
368
404
|
} & {
|
|
369
405
|
numberSpacing?: "tabular";
|
|
370
406
|
} & {
|
|
371
|
-
order?: 2 |
|
|
407
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
372
408
|
} & {
|
|
373
409
|
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
374
410
|
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
@@ -388,20 +424,32 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
388
424
|
} & {
|
|
389
425
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
390
426
|
} & {
|
|
391
|
-
textAlign?: "center" | "
|
|
427
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
392
428
|
} & {
|
|
393
|
-
truncate?: 2 |
|
|
429
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
394
430
|
} & {
|
|
395
|
-
[key: string]:
|
|
431
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
396
432
|
} & {
|
|
397
433
|
hover?: string;
|
|
398
434
|
} & {
|
|
399
|
-
top?: import("../types").Sizes
|
|
435
|
+
top?: import("../types").Sizes | {
|
|
436
|
+
value: string;
|
|
437
|
+
inset: boolean;
|
|
438
|
+
};
|
|
400
439
|
} & {
|
|
401
|
-
right?: import("../types").Sizes
|
|
440
|
+
right?: import("../types").Sizes | {
|
|
441
|
+
value: string;
|
|
442
|
+
inset: boolean;
|
|
443
|
+
};
|
|
402
444
|
} & {
|
|
403
|
-
bottom?: import("../types").Sizes
|
|
445
|
+
bottom?: import("../types").Sizes | {
|
|
446
|
+
value: string;
|
|
447
|
+
inset: boolean;
|
|
448
|
+
};
|
|
404
449
|
} & {
|
|
405
|
-
left?: import("../types").Sizes
|
|
450
|
+
left?: import("../types").Sizes | {
|
|
451
|
+
value: string;
|
|
452
|
+
inset: boolean;
|
|
453
|
+
};
|
|
406
454
|
}, string | number>) & React.RefAttributes<unknown>>;
|
|
407
455
|
export default _default;
|