playbook-ui 13.22.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_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 +164 -116
- package/dist/pb_select/_select.d.ts +164 -116
- package/dist/pb_text_input/_text_input.d.ts +168 -120
- package/dist/pb_textarea/_textarea.d.ts +164 -116
- package/dist/pb_timeline/_timeline.d.ts +2 -2
- package/dist/pb_toggle/_toggle.d.ts +2 -1
- package/dist/pb_tooltip/_tooltip.d.ts +164 -116
- package/dist/playbook-doc.js +9 -9
- package/dist/playbook-rails.js +7 -7
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +9 -9
- package/dist/utilities/globalProps.d.ts +16 -4
- package/package.json +1 -2
|
@@ -25,25 +25,25 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
25
25
|
children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
26
26
|
addOn?: {
|
|
27
27
|
icon?: string;
|
|
28
|
-
alignment?: "
|
|
28
|
+
alignment?: "right" | "left";
|
|
29
29
|
border?: boolean;
|
|
30
30
|
};
|
|
31
31
|
} & {
|
|
32
32
|
alignContent?: never;
|
|
33
33
|
} & {
|
|
34
|
-
alignItems?:
|
|
34
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
35
35
|
} & {
|
|
36
36
|
alignSelf?: never;
|
|
37
37
|
} & {
|
|
38
|
-
borderRadius?: "
|
|
38
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
39
39
|
} & {
|
|
40
|
-
cursor?: "none" | "
|
|
40
|
+
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";
|
|
41
41
|
} & {
|
|
42
42
|
dark?: boolean;
|
|
43
43
|
} & {
|
|
44
44
|
display?: import("../types").DisplayType;
|
|
45
45
|
} & import("../types").DisplaySizes & {
|
|
46
|
-
flex?: "none" | "initial" | "
|
|
46
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
47
47
|
} & {
|
|
48
48
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
49
49
|
} & {
|
|
@@ -59,13 +59,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
59
59
|
} & {
|
|
60
60
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
61
61
|
} & {
|
|
62
|
-
marginRight?: "none" | "
|
|
63
|
-
marginLeft?: "none" | "
|
|
64
|
-
marginTop?: "none" | "
|
|
65
|
-
marginBottom?: "none" | "
|
|
66
|
-
marginX?: "none" | "
|
|
67
|
-
marginY?: "none" | "
|
|
68
|
-
margin?: "none" | "
|
|
62
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
63
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
64
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
65
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
66
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
67
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
68
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
69
69
|
break?: string;
|
|
70
70
|
default?: string;
|
|
71
71
|
} & {
|
|
@@ -73,41 +73,53 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
73
73
|
} & {
|
|
74
74
|
numberSpacing?: "tabular";
|
|
75
75
|
} & {
|
|
76
|
-
order?:
|
|
76
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
77
77
|
} & {
|
|
78
|
-
overflowX?: "auto" | "scroll" | "
|
|
79
|
-
overflowY?: "auto" | "scroll" | "
|
|
80
|
-
overflow?: "auto" | "scroll" | "
|
|
78
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
79
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
80
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
81
81
|
} & {
|
|
82
|
-
paddingRight?: "none" | "
|
|
83
|
-
paddingLeft?: "none" | "
|
|
84
|
-
paddingTop?: "none" | "
|
|
85
|
-
paddingBottom?: "none" | "
|
|
86
|
-
paddingX?: "none" | "
|
|
87
|
-
paddingY?: "none" | "
|
|
88
|
-
padding?: "none" | "
|
|
82
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
83
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
84
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
85
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
86
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
87
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
88
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
89
89
|
break?: string;
|
|
90
90
|
default?: string;
|
|
91
91
|
} & {
|
|
92
|
-
position?: "
|
|
92
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
93
93
|
} & {
|
|
94
94
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
95
95
|
} & {
|
|
96
|
-
textAlign?: "center" | "
|
|
96
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
97
97
|
} & {
|
|
98
|
-
truncate?:
|
|
98
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
99
99
|
} & {
|
|
100
100
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
101
101
|
} & {
|
|
102
102
|
hover?: string;
|
|
103
103
|
} & {
|
|
104
|
-
top?: import("../types").Sizes
|
|
104
|
+
top?: import("../types").Sizes | {
|
|
105
|
+
value: string;
|
|
106
|
+
inset: boolean;
|
|
107
|
+
};
|
|
105
108
|
} & {
|
|
106
|
-
right?: import("../types").Sizes
|
|
109
|
+
right?: import("../types").Sizes | {
|
|
110
|
+
value: string;
|
|
111
|
+
inset: boolean;
|
|
112
|
+
};
|
|
107
113
|
} & {
|
|
108
|
-
bottom?: import("../types").Sizes
|
|
114
|
+
bottom?: import("../types").Sizes | {
|
|
115
|
+
value: string;
|
|
116
|
+
inset: boolean;
|
|
117
|
+
};
|
|
109
118
|
} & {
|
|
110
|
-
left?: import("../types").Sizes
|
|
119
|
+
left?: import("../types").Sizes | {
|
|
120
|
+
value: string;
|
|
121
|
+
inset: boolean;
|
|
122
|
+
};
|
|
111
123
|
}, string | number> | Pick<{
|
|
112
124
|
aria?: {
|
|
113
125
|
[key: string]: string;
|
|
@@ -134,25 +146,25 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
134
146
|
children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
135
147
|
addOn?: {
|
|
136
148
|
icon?: string;
|
|
137
|
-
alignment?: "
|
|
149
|
+
alignment?: "right" | "left";
|
|
138
150
|
border?: boolean;
|
|
139
151
|
};
|
|
140
152
|
} & {
|
|
141
153
|
alignContent?: never;
|
|
142
154
|
} & {
|
|
143
|
-
alignItems?:
|
|
155
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
144
156
|
} & {
|
|
145
157
|
alignSelf?: never;
|
|
146
158
|
} & {
|
|
147
|
-
borderRadius?: "
|
|
159
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
148
160
|
} & {
|
|
149
|
-
cursor?: "none" | "
|
|
161
|
+
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";
|
|
150
162
|
} & {
|
|
151
163
|
dark?: boolean;
|
|
152
164
|
} & {
|
|
153
165
|
display?: import("../types").DisplayType;
|
|
154
166
|
} & import("../types").DisplaySizes & {
|
|
155
|
-
flex?: "none" | "initial" | "
|
|
167
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
156
168
|
} & {
|
|
157
169
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
158
170
|
} & {
|
|
@@ -168,13 +180,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
168
180
|
} & {
|
|
169
181
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
170
182
|
} & {
|
|
171
|
-
marginRight?: "none" | "
|
|
172
|
-
marginLeft?: "none" | "
|
|
173
|
-
marginTop?: "none" | "
|
|
174
|
-
marginBottom?: "none" | "
|
|
175
|
-
marginX?: "none" | "
|
|
176
|
-
marginY?: "none" | "
|
|
177
|
-
margin?: "none" | "
|
|
183
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
184
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
185
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
186
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
187
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
188
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
189
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
178
190
|
break?: string;
|
|
179
191
|
default?: string;
|
|
180
192
|
} & {
|
|
@@ -182,41 +194,53 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
182
194
|
} & {
|
|
183
195
|
numberSpacing?: "tabular";
|
|
184
196
|
} & {
|
|
185
|
-
order?:
|
|
197
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
186
198
|
} & {
|
|
187
|
-
overflowX?: "auto" | "scroll" | "
|
|
188
|
-
overflowY?: "auto" | "scroll" | "
|
|
189
|
-
overflow?: "auto" | "scroll" | "
|
|
199
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
200
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
201
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
190
202
|
} & {
|
|
191
|
-
paddingRight?: "none" | "
|
|
192
|
-
paddingLeft?: "none" | "
|
|
193
|
-
paddingTop?: "none" | "
|
|
194
|
-
paddingBottom?: "none" | "
|
|
195
|
-
paddingX?: "none" | "
|
|
196
|
-
paddingY?: "none" | "
|
|
197
|
-
padding?: "none" | "
|
|
203
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
204
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
205
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
206
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
207
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
208
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
209
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
198
210
|
break?: string;
|
|
199
211
|
default?: string;
|
|
200
212
|
} & {
|
|
201
|
-
position?: "
|
|
213
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
202
214
|
} & {
|
|
203
215
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
204
216
|
} & {
|
|
205
|
-
textAlign?: "center" | "
|
|
217
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
206
218
|
} & {
|
|
207
|
-
truncate?:
|
|
219
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
208
220
|
} & {
|
|
209
221
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
210
222
|
} & {
|
|
211
223
|
hover?: string;
|
|
212
224
|
} & {
|
|
213
|
-
top?: import("../types").Sizes
|
|
225
|
+
top?: import("../types").Sizes | {
|
|
226
|
+
value: string;
|
|
227
|
+
inset: boolean;
|
|
228
|
+
};
|
|
214
229
|
} & {
|
|
215
|
-
right?: import("../types").Sizes
|
|
230
|
+
right?: import("../types").Sizes | {
|
|
231
|
+
value: string;
|
|
232
|
+
inset: boolean;
|
|
233
|
+
};
|
|
216
234
|
} & {
|
|
217
|
-
bottom?: import("../types").Sizes
|
|
235
|
+
bottom?: import("../types").Sizes | {
|
|
236
|
+
value: string;
|
|
237
|
+
inset: boolean;
|
|
238
|
+
};
|
|
218
239
|
} & {
|
|
219
|
-
left?: import("../types").Sizes
|
|
240
|
+
left?: import("../types").Sizes | {
|
|
241
|
+
value: string;
|
|
242
|
+
inset: boolean;
|
|
243
|
+
};
|
|
220
244
|
}, string | number> | Pick<{
|
|
221
245
|
aria?: {
|
|
222
246
|
[key: string]: string;
|
|
@@ -243,23 +267,23 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
243
267
|
children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
244
268
|
addOn?: {
|
|
245
269
|
icon?: string;
|
|
246
|
-
alignment?: "
|
|
270
|
+
alignment?: "right" | "left";
|
|
247
271
|
border?: boolean;
|
|
248
272
|
};
|
|
249
273
|
} & {
|
|
250
274
|
alignContent?: never;
|
|
251
275
|
} & {
|
|
252
|
-
alignItems?:
|
|
276
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
253
277
|
} & {
|
|
254
278
|
alignSelf?: never;
|
|
255
279
|
} & {
|
|
256
|
-
borderRadius?: "
|
|
280
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
257
281
|
} & {
|
|
258
|
-
cursor?: "none" | "
|
|
282
|
+
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";
|
|
259
283
|
} & {
|
|
260
284
|
dark?: boolean;
|
|
261
285
|
} & import("../types").DisplaySizes & {
|
|
262
|
-
flex?: "none" | "initial" | "
|
|
286
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
263
287
|
} & {
|
|
264
288
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
265
289
|
} & {
|
|
@@ -275,13 +299,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
275
299
|
} & {
|
|
276
300
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
277
301
|
} & {
|
|
278
|
-
marginRight?: "none" | "
|
|
279
|
-
marginLeft?: "none" | "
|
|
280
|
-
marginTop?: "none" | "
|
|
281
|
-
marginBottom?: "none" | "
|
|
282
|
-
marginX?: "none" | "
|
|
283
|
-
marginY?: "none" | "
|
|
284
|
-
margin?: "none" | "
|
|
302
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
303
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
304
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
305
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
306
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
307
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
308
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
285
309
|
break?: string;
|
|
286
310
|
default?: string;
|
|
287
311
|
} & {
|
|
@@ -289,41 +313,53 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
289
313
|
} & {
|
|
290
314
|
numberSpacing?: "tabular";
|
|
291
315
|
} & {
|
|
292
|
-
order?:
|
|
316
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
293
317
|
} & {
|
|
294
|
-
overflowX?: "auto" | "scroll" | "
|
|
295
|
-
overflowY?: "auto" | "scroll" | "
|
|
296
|
-
overflow?: "auto" | "scroll" | "
|
|
318
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
319
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
320
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
297
321
|
} & {
|
|
298
|
-
paddingRight?: "none" | "
|
|
299
|
-
paddingLeft?: "none" | "
|
|
300
|
-
paddingTop?: "none" | "
|
|
301
|
-
paddingBottom?: "none" | "
|
|
302
|
-
paddingX?: "none" | "
|
|
303
|
-
paddingY?: "none" | "
|
|
304
|
-
padding?: "none" | "
|
|
322
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
323
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
324
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
325
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
326
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
327
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
328
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
305
329
|
break?: string;
|
|
306
330
|
default?: string;
|
|
307
331
|
} & {
|
|
308
|
-
position?: "
|
|
332
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
309
333
|
} & {
|
|
310
334
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
311
335
|
} & {
|
|
312
|
-
textAlign?: "center" | "
|
|
336
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
313
337
|
} & {
|
|
314
|
-
truncate?:
|
|
338
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
315
339
|
} & {
|
|
316
340
|
zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
317
341
|
} & {
|
|
318
342
|
hover?: string;
|
|
319
343
|
} & {
|
|
320
|
-
top?: import("../types").Sizes
|
|
344
|
+
top?: import("../types").Sizes | {
|
|
345
|
+
value: string;
|
|
346
|
+
inset: boolean;
|
|
347
|
+
};
|
|
321
348
|
} & {
|
|
322
|
-
right?: import("../types").Sizes
|
|
349
|
+
right?: import("../types").Sizes | {
|
|
350
|
+
value: string;
|
|
351
|
+
inset: boolean;
|
|
352
|
+
};
|
|
323
353
|
} & {
|
|
324
|
-
bottom?: import("../types").Sizes
|
|
354
|
+
bottom?: import("../types").Sizes | {
|
|
355
|
+
value: string;
|
|
356
|
+
inset: boolean;
|
|
357
|
+
};
|
|
325
358
|
} & {
|
|
326
|
-
left?: import("../types").Sizes
|
|
359
|
+
left?: import("../types").Sizes | {
|
|
360
|
+
value: string;
|
|
361
|
+
inset: boolean;
|
|
362
|
+
};
|
|
327
363
|
}, string | number> | Pick<{
|
|
328
364
|
aria?: {
|
|
329
365
|
[key: string]: string;
|
|
@@ -350,23 +386,23 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
350
386
|
children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
351
387
|
addOn?: {
|
|
352
388
|
icon?: string;
|
|
353
|
-
alignment?: "
|
|
389
|
+
alignment?: "right" | "left";
|
|
354
390
|
border?: boolean;
|
|
355
391
|
};
|
|
356
392
|
} & {
|
|
357
393
|
alignContent?: never;
|
|
358
394
|
} & {
|
|
359
|
-
alignItems?:
|
|
395
|
+
alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
|
|
360
396
|
} & {
|
|
361
397
|
alignSelf?: never;
|
|
362
398
|
} & {
|
|
363
|
-
borderRadius?: "
|
|
399
|
+
borderRadius?: "md" | "lg" | "sm" | "xl" | "xs" | "none" | "rounded";
|
|
364
400
|
} & {
|
|
365
|
-
cursor?: "none" | "
|
|
401
|
+
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";
|
|
366
402
|
} & {
|
|
367
403
|
dark?: boolean;
|
|
368
404
|
} & import("../types").DisplaySizes & {
|
|
369
|
-
flex?: "none" | "initial" | "
|
|
405
|
+
flex?: "none" | "auto" | "initial" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
370
406
|
} & {
|
|
371
407
|
flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
372
408
|
} & {
|
|
@@ -382,13 +418,13 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
382
418
|
} & {
|
|
383
419
|
lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
|
|
384
420
|
} & {
|
|
385
|
-
marginRight?: "none" | "
|
|
386
|
-
marginLeft?: "none" | "
|
|
387
|
-
marginTop?: "none" | "
|
|
388
|
-
marginBottom?: "none" | "
|
|
389
|
-
marginX?: "none" | "
|
|
390
|
-
marginY?: "none" | "
|
|
391
|
-
margin?: "none" | "
|
|
421
|
+
marginRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
422
|
+
marginLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
423
|
+
marginTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
424
|
+
marginBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
425
|
+
marginX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
426
|
+
marginY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
427
|
+
margin?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
392
428
|
break?: string;
|
|
393
429
|
default?: string;
|
|
394
430
|
} & {
|
|
@@ -396,40 +432,52 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
|
|
|
396
432
|
} & {
|
|
397
433
|
numberSpacing?: "tabular";
|
|
398
434
|
} & {
|
|
399
|
-
order?:
|
|
435
|
+
order?: 1 | 2 | 3 | "none" | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11 | 12;
|
|
400
436
|
} & {
|
|
401
|
-
overflowX?: "auto" | "scroll" | "
|
|
402
|
-
overflowY?: "auto" | "scroll" | "
|
|
403
|
-
overflow?: "auto" | "scroll" | "
|
|
437
|
+
overflowX?: "auto" | "scroll" | "visible" | "hidden";
|
|
438
|
+
overflowY?: "auto" | "scroll" | "visible" | "hidden";
|
|
439
|
+
overflow?: "auto" | "scroll" | "visible" | "hidden";
|
|
404
440
|
} & {
|
|
405
|
-
paddingRight?: "none" | "
|
|
406
|
-
paddingLeft?: "none" | "
|
|
407
|
-
paddingTop?: "none" | "
|
|
408
|
-
paddingBottom?: "none" | "
|
|
409
|
-
paddingX?: "none" | "
|
|
410
|
-
paddingY?: "none" | "
|
|
411
|
-
padding?: "none" | "
|
|
441
|
+
paddingRight?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
442
|
+
paddingLeft?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
443
|
+
paddingTop?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
444
|
+
paddingBottom?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
445
|
+
paddingX?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
446
|
+
paddingY?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
447
|
+
padding?: "none" | "auto" | "initial" | import("../types").Sizes | "inherit";
|
|
412
448
|
break?: string;
|
|
413
449
|
default?: string;
|
|
414
450
|
} & {
|
|
415
|
-
position?: "
|
|
451
|
+
position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
|
|
416
452
|
} & {
|
|
417
453
|
shadow?: "none" | "deep" | "deeper" | "deepest";
|
|
418
454
|
} & {
|
|
419
|
-
textAlign?: "center" | "
|
|
455
|
+
textAlign?: "center" | "right" | "left" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
|
|
420
456
|
} & {
|
|
421
|
-
truncate?:
|
|
457
|
+
truncate?: 1 | 2 | 3 | "none" | 4 | 5;
|
|
422
458
|
} & {
|
|
423
459
|
[key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
424
460
|
} & {
|
|
425
461
|
hover?: string;
|
|
426
462
|
} & {
|
|
427
|
-
top?: import("../types").Sizes
|
|
463
|
+
top?: import("../types").Sizes | {
|
|
464
|
+
value: string;
|
|
465
|
+
inset: boolean;
|
|
466
|
+
};
|
|
428
467
|
} & {
|
|
429
|
-
right?: import("../types").Sizes
|
|
468
|
+
right?: import("../types").Sizes | {
|
|
469
|
+
value: string;
|
|
470
|
+
inset: boolean;
|
|
471
|
+
};
|
|
430
472
|
} & {
|
|
431
|
-
bottom?: import("../types").Sizes
|
|
473
|
+
bottom?: import("../types").Sizes | {
|
|
474
|
+
value: string;
|
|
475
|
+
inset: boolean;
|
|
476
|
+
};
|
|
432
477
|
} & {
|
|
433
|
-
left?: import("../types").Sizes
|
|
478
|
+
left?: import("../types").Sizes | {
|
|
479
|
+
value: string;
|
|
480
|
+
inset: boolean;
|
|
481
|
+
};
|
|
434
482
|
}, string | number>) & React.RefAttributes<HTMLInputElement>>;
|
|
435
483
|
export default _default;
|