playbook-ui 13.28.0 → 13.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/menu.yml +5 -2
- package/dist/pb_circle_chart/_circle_chart.d.ts +3 -1
- package/dist/pb_collapsible/_collapsible.d.ts +8 -2
- package/dist/pb_dialog/_dialog.d.ts +1 -1
- package/dist/pb_draggable/_draggable.d.ts +49 -0
- package/dist/pb_draggable/context/index.d.ts +2 -0
- package/dist/pb_draggable/subcomponents/DraggableContainer.d.ts +18 -0
- package/dist/pb_draggable/subcomponents/DraggableItem.d.ts +18 -0
- package/dist/pb_gauge/_gauge.d.ts +3 -1
- package/dist/pb_line_graph/_line_graph.d.ts +3 -1
- package/dist/pb_list/_list.d.ts +1 -0
- package/dist/pb_list/_list_item.d.ts +1 -0
- package/dist/pb_radio/_radio.d.ts +100 -92
- package/dist/pb_select/_select.d.ts +100 -92
- package/dist/pb_selectable_list/_item.d.ts +4 -2
- package/dist/pb_selectable_list/_selectable_list.d.ts +2 -1
- package/dist/pb_table/_table.d.ts +1 -0
- package/dist/pb_text_input/_text_input.d.ts +100 -92
- package/dist/pb_textarea/_textarea.d.ts +104 -96
- package/dist/pb_timeline/_timeline.d.ts +2 -2
- package/dist/pb_tooltip/_tooltip.d.ts +100 -92
- package/dist/pb_treemap_chart/_treemap_chart.d.ts +3 -1
- package/dist/playbook-doc.js +11 -11
- package/dist/playbook-rails.js +7 -7
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +10 -10
- package/dist/tokens/vertical_align.scss +18 -0
- package/dist/utilities/globalProps.d.ts +4 -1
- package/package.json +2 -2
|
@@ -43,13 +43,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
43
43
|
} & {
|
|
44
44
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
|
|
45
45
|
} & {
|
|
46
|
-
cursor?: "progress" | "text" | "
|
|
46
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "copy" | "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";
|
|
47
47
|
} & {
|
|
48
48
|
dark?: boolean;
|
|
49
49
|
} & {
|
|
50
50
|
display?: import("../types").DisplayType;
|
|
51
51
|
} & import("../types").DisplaySizes & {
|
|
52
|
-
flex?: "none" | "
|
|
52
|
+
flex?: "none" | "initial" | "auto" | "1" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
53
53
|
} & {
|
|
54
54
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
55
55
|
} & {
|
|
@@ -65,13 +65,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
65
65
|
} & {
|
|
66
66
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
67
67
|
} & {
|
|
68
|
-
marginRight?: "none" | "
|
|
69
|
-
marginLeft?: "none" | "
|
|
70
|
-
marginTop?: "none" | "
|
|
71
|
-
marginBottom?: "none" | "
|
|
72
|
-
marginX?: "none" | "
|
|
73
|
-
marginY?: "none" | "
|
|
74
|
-
margin?: "none" | "
|
|
68
|
+
marginRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
69
|
+
marginLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
70
|
+
marginTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
71
|
+
marginBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
72
|
+
marginX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
73
|
+
marginY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
74
|
+
margin?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
75
75
|
break?: string;
|
|
76
76
|
default?: string;
|
|
77
77
|
} & {
|
|
@@ -79,31 +79,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
79
79
|
} & {
|
|
80
80
|
numberSpacing?: "tabular";
|
|
81
81
|
} & {
|
|
82
|
-
order?:
|
|
82
|
+
order?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 11 | "first";
|
|
83
83
|
} & {
|
|
84
|
-
overflowX?: "
|
|
85
|
-
overflowY?: "
|
|
86
|
-
overflow?: "
|
|
84
|
+
overflowX?: "scroll" | "auto" | "visible" | "hidden";
|
|
85
|
+
overflowY?: "scroll" | "auto" | "visible" | "hidden";
|
|
86
|
+
overflow?: "scroll" | "auto" | "visible" | "hidden";
|
|
87
87
|
} & {
|
|
88
|
-
paddingRight?: "none" | "
|
|
89
|
-
paddingLeft?: "none" | "
|
|
90
|
-
paddingTop?: "none" | "
|
|
91
|
-
paddingBottom?: "none" | "
|
|
92
|
-
paddingX?: "none" | "
|
|
93
|
-
paddingY?: "none" | "
|
|
94
|
-
padding?: "none" | "
|
|
88
|
+
paddingRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
89
|
+
paddingLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
90
|
+
paddingTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
91
|
+
paddingBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
92
|
+
paddingX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
93
|
+
paddingY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
94
|
+
padding?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
95
95
|
break?: string;
|
|
96
96
|
default?: string;
|
|
97
97
|
} & {
|
|
98
|
-
position?: "
|
|
98
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
99
99
|
} & {
|
|
100
100
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
101
101
|
} & {
|
|
102
102
|
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
103
103
|
} & {
|
|
104
|
-
truncate?:
|
|
104
|
+
truncate?: 1 | "none" | 2 | 3 | 4 | 5;
|
|
105
105
|
} & {
|
|
106
|
-
|
|
106
|
+
verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
|
|
107
|
+
} & {
|
|
108
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
107
109
|
} & {
|
|
108
110
|
hover?: string;
|
|
109
111
|
} & {
|
|
@@ -164,13 +166,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
164
166
|
} & {
|
|
165
167
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
|
|
166
168
|
} & {
|
|
167
|
-
cursor?: "progress" | "text" | "
|
|
169
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "copy" | "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";
|
|
168
170
|
} & {
|
|
169
171
|
dark?: boolean;
|
|
170
172
|
} & {
|
|
171
173
|
display?: import("../types").DisplayType;
|
|
172
174
|
} & import("../types").DisplaySizes & {
|
|
173
|
-
flex?: "none" | "
|
|
175
|
+
flex?: "none" | "initial" | "auto" | "1" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
174
176
|
} & {
|
|
175
177
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
176
178
|
} & {
|
|
@@ -186,13 +188,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
186
188
|
} & {
|
|
187
189
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
188
190
|
} & {
|
|
189
|
-
marginRight?: "none" | "
|
|
190
|
-
marginLeft?: "none" | "
|
|
191
|
-
marginTop?: "none" | "
|
|
192
|
-
marginBottom?: "none" | "
|
|
193
|
-
marginX?: "none" | "
|
|
194
|
-
marginY?: "none" | "
|
|
195
|
-
margin?: "none" | "
|
|
191
|
+
marginRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
192
|
+
marginLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
193
|
+
marginTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
194
|
+
marginBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
195
|
+
marginX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
196
|
+
marginY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
197
|
+
margin?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
196
198
|
break?: string;
|
|
197
199
|
default?: string;
|
|
198
200
|
} & {
|
|
@@ -200,31 +202,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
200
202
|
} & {
|
|
201
203
|
numberSpacing?: "tabular";
|
|
202
204
|
} & {
|
|
203
|
-
order?:
|
|
205
|
+
order?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 11 | "first";
|
|
204
206
|
} & {
|
|
205
|
-
overflowX?: "
|
|
206
|
-
overflowY?: "
|
|
207
|
-
overflow?: "
|
|
207
|
+
overflowX?: "scroll" | "auto" | "visible" | "hidden";
|
|
208
|
+
overflowY?: "scroll" | "auto" | "visible" | "hidden";
|
|
209
|
+
overflow?: "scroll" | "auto" | "visible" | "hidden";
|
|
208
210
|
} & {
|
|
209
|
-
paddingRight?: "none" | "
|
|
210
|
-
paddingLeft?: "none" | "
|
|
211
|
-
paddingTop?: "none" | "
|
|
212
|
-
paddingBottom?: "none" | "
|
|
213
|
-
paddingX?: "none" | "
|
|
214
|
-
paddingY?: "none" | "
|
|
215
|
-
padding?: "none" | "
|
|
211
|
+
paddingRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
212
|
+
paddingLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
213
|
+
paddingTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
214
|
+
paddingBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
215
|
+
paddingX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
216
|
+
paddingY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
217
|
+
padding?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
216
218
|
break?: string;
|
|
217
219
|
default?: string;
|
|
218
220
|
} & {
|
|
219
|
-
position?: "
|
|
221
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
220
222
|
} & {
|
|
221
223
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
222
224
|
} & {
|
|
223
225
|
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
224
226
|
} & {
|
|
225
|
-
truncate?:
|
|
227
|
+
truncate?: 1 | "none" | 2 | 3 | 4 | 5;
|
|
228
|
+
} & {
|
|
229
|
+
verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
|
|
226
230
|
} & {
|
|
227
|
-
[key: string]:
|
|
231
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
228
232
|
} & {
|
|
229
233
|
hover?: string;
|
|
230
234
|
} & {
|
|
@@ -285,11 +289,11 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
285
289
|
} & {
|
|
286
290
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
|
|
287
291
|
} & {
|
|
288
|
-
cursor?: "progress" | "text" | "
|
|
292
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "copy" | "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";
|
|
289
293
|
} & {
|
|
290
294
|
dark?: boolean;
|
|
291
295
|
} & import("../types").DisplaySizes & {
|
|
292
|
-
flex?: "none" | "
|
|
296
|
+
flex?: "none" | "initial" | "auto" | "1" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
293
297
|
} & {
|
|
294
298
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
295
299
|
} & {
|
|
@@ -305,13 +309,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
305
309
|
} & {
|
|
306
310
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
307
311
|
} & {
|
|
308
|
-
marginRight?: "none" | "
|
|
309
|
-
marginLeft?: "none" | "
|
|
310
|
-
marginTop?: "none" | "
|
|
311
|
-
marginBottom?: "none" | "
|
|
312
|
-
marginX?: "none" | "
|
|
313
|
-
marginY?: "none" | "
|
|
314
|
-
margin?: "none" | "
|
|
312
|
+
marginRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
313
|
+
marginLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
314
|
+
marginTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
315
|
+
marginBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
316
|
+
marginX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
317
|
+
marginY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
318
|
+
margin?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
315
319
|
break?: string;
|
|
316
320
|
default?: string;
|
|
317
321
|
} & {
|
|
@@ -319,31 +323,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
319
323
|
} & {
|
|
320
324
|
numberSpacing?: "tabular";
|
|
321
325
|
} & {
|
|
322
|
-
order?:
|
|
326
|
+
order?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 11 | "first";
|
|
323
327
|
} & {
|
|
324
|
-
overflowX?: "
|
|
325
|
-
overflowY?: "
|
|
326
|
-
overflow?: "
|
|
328
|
+
overflowX?: "scroll" | "auto" | "visible" | "hidden";
|
|
329
|
+
overflowY?: "scroll" | "auto" | "visible" | "hidden";
|
|
330
|
+
overflow?: "scroll" | "auto" | "visible" | "hidden";
|
|
327
331
|
} & {
|
|
328
|
-
paddingRight?: "none" | "
|
|
329
|
-
paddingLeft?: "none" | "
|
|
330
|
-
paddingTop?: "none" | "
|
|
331
|
-
paddingBottom?: "none" | "
|
|
332
|
-
paddingX?: "none" | "
|
|
333
|
-
paddingY?: "none" | "
|
|
334
|
-
padding?: "none" | "
|
|
332
|
+
paddingRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
333
|
+
paddingLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
334
|
+
paddingTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
335
|
+
paddingBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
336
|
+
paddingX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
337
|
+
paddingY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
338
|
+
padding?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
335
339
|
break?: string;
|
|
336
340
|
default?: string;
|
|
337
341
|
} & {
|
|
338
|
-
position?: "
|
|
342
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
339
343
|
} & {
|
|
340
344
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
341
345
|
} & {
|
|
342
346
|
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
343
347
|
} & {
|
|
344
|
-
truncate?:
|
|
348
|
+
truncate?: 1 | "none" | 2 | 3 | 4 | 5;
|
|
345
349
|
} & {
|
|
346
|
-
|
|
350
|
+
verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
|
|
351
|
+
} & {
|
|
352
|
+
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
347
353
|
} & {
|
|
348
354
|
hover?: string;
|
|
349
355
|
} & {
|
|
@@ -404,11 +410,11 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
404
410
|
} & {
|
|
405
411
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
|
|
406
412
|
} & {
|
|
407
|
-
cursor?: "progress" | "text" | "
|
|
413
|
+
cursor?: "none" | "progress" | "text" | "auto" | "default" | "pointer" | "copy" | "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";
|
|
408
414
|
} & {
|
|
409
415
|
dark?: boolean;
|
|
410
416
|
} & import("../types").DisplaySizes & {
|
|
411
|
-
flex?: "none" | "
|
|
417
|
+
flex?: "none" | "initial" | "auto" | "1" | "0" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
412
418
|
} & {
|
|
413
419
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
414
420
|
} & {
|
|
@@ -424,13 +430,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
424
430
|
} & {
|
|
425
431
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
426
432
|
} & {
|
|
427
|
-
marginRight?: "none" | "
|
|
428
|
-
marginLeft?: "none" | "
|
|
429
|
-
marginTop?: "none" | "
|
|
430
|
-
marginBottom?: "none" | "
|
|
431
|
-
marginX?: "none" | "
|
|
432
|
-
marginY?: "none" | "
|
|
433
|
-
margin?: "none" | "
|
|
433
|
+
marginRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
434
|
+
marginLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
435
|
+
marginTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
436
|
+
marginBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
437
|
+
marginX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
438
|
+
marginY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
439
|
+
margin?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
434
440
|
break?: string;
|
|
435
441
|
default?: string;
|
|
436
442
|
} & {
|
|
@@ -438,31 +444,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
438
444
|
} & {
|
|
439
445
|
numberSpacing?: "tabular";
|
|
440
446
|
} & {
|
|
441
|
-
order?:
|
|
447
|
+
order?: 1 | "none" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 11 | "first";
|
|
442
448
|
} & {
|
|
443
|
-
overflowX?: "
|
|
444
|
-
overflowY?: "
|
|
445
|
-
overflow?: "
|
|
449
|
+
overflowX?: "scroll" | "auto" | "visible" | "hidden";
|
|
450
|
+
overflowY?: "scroll" | "auto" | "visible" | "hidden";
|
|
451
|
+
overflow?: "scroll" | "auto" | "visible" | "hidden";
|
|
446
452
|
} & {
|
|
447
|
-
paddingRight?: "none" | "
|
|
448
|
-
paddingLeft?: "none" | "
|
|
449
|
-
paddingTop?: "none" | "
|
|
450
|
-
paddingBottom?: "none" | "
|
|
451
|
-
paddingX?: "none" | "
|
|
452
|
-
paddingY?: "none" | "
|
|
453
|
-
padding?: "none" | "
|
|
453
|
+
paddingRight?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
454
|
+
paddingLeft?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
455
|
+
paddingTop?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
456
|
+
paddingBottom?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
457
|
+
paddingX?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
458
|
+
paddingY?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
459
|
+
padding?: "none" | "inherit" | "initial" | import("../types").Sizes | "auto";
|
|
454
460
|
break?: string;
|
|
455
461
|
default?: string;
|
|
456
462
|
} & {
|
|
457
|
-
position?: "
|
|
463
|
+
position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
458
464
|
} & {
|
|
459
465
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
460
466
|
} & {
|
|
461
467
|
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
462
468
|
} & {
|
|
463
|
-
truncate?:
|
|
469
|
+
truncate?: 1 | "none" | 2 | 3 | 4 | 5;
|
|
470
|
+
} & {
|
|
471
|
+
verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
|
|
464
472
|
} & {
|
|
465
|
-
[key: string]:
|
|
473
|
+
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
466
474
|
} & {
|
|
467
475
|
hover?: string;
|
|
468
476
|
} & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { GenericObject } from "../types";
|
|
2
3
|
export declare type SelectableListItemProps = {
|
|
3
4
|
aria?: {
|
|
4
5
|
[key: string]: string;
|
|
@@ -6,8 +7,9 @@ export declare type SelectableListItemProps = {
|
|
|
6
7
|
children: React.ReactNode[] | React.ReactNode;
|
|
7
8
|
checked?: boolean;
|
|
8
9
|
className?: string;
|
|
9
|
-
data?:
|
|
10
|
+
data?: GenericObject;
|
|
10
11
|
defaultChecked?: boolean;
|
|
12
|
+
dragHandle?: boolean;
|
|
11
13
|
htmlOptions?: {
|
|
12
14
|
[key: string]: string | number | boolean | (() => void);
|
|
13
15
|
};
|
|
@@ -19,5 +21,5 @@ export declare type SelectableListItemProps = {
|
|
|
19
21
|
variant?: string;
|
|
20
22
|
onChange: (arg: React.ChangeEvent<HTMLInputElement> | null) => void;
|
|
21
23
|
};
|
|
22
|
-
declare const SelectableListItem: ({ aria, checked, children, className, data, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
|
24
|
+
declare const SelectableListItem: ({ aria, checked, children, className, data, dragHandle, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
|
23
25
|
export default SelectableListItem;
|
|
@@ -8,6 +8,7 @@ declare type SelectableListProps = {
|
|
|
8
8
|
children?: React.ReactElement[];
|
|
9
9
|
className?: string;
|
|
10
10
|
data?: GenericObject;
|
|
11
|
+
draggable?: boolean;
|
|
11
12
|
htmlOptions?: {
|
|
12
13
|
[key: string]: string | number | boolean | (() => void);
|
|
13
14
|
};
|
|
@@ -16,6 +17,6 @@ declare type SelectableListProps = {
|
|
|
16
17
|
};
|
|
17
18
|
declare const SelectableList: {
|
|
18
19
|
(props: SelectableListProps): JSX.Element;
|
|
19
|
-
Item: ({ aria, checked, children, className, data, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
|
20
|
+
Item: ({ aria, checked, children, className, data, dragHandle, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
|
|
20
21
|
};
|
|
21
22
|
export default SelectableList;
|
|
@@ -18,6 +18,7 @@ declare type TableProps = {
|
|
|
18
18
|
[key: string]: string | number | boolean | (() => void);
|
|
19
19
|
};
|
|
20
20
|
id?: string;
|
|
21
|
+
outerPadding?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
21
22
|
responsive?: "collapse" | "scroll" | "none";
|
|
22
23
|
singleLine?: boolean;
|
|
23
24
|
size?: "sm" | "md" | "lg";
|