@tooark/react 1.0.1 → 1.1.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/README.md +9 -7
- package/README.pt-BR.md +9 -7
- package/dist/ark-button.d.ts +2 -2
- package/dist/ark-button.js +2 -0
- package/dist/ark-calendar.js +3 -1
- package/dist/ark-carousel.js +3 -1
- package/dist/ark-command-palette.js +2 -1
- package/dist/ark-datepicker.js +3 -1
- package/dist/ark-dialog.js +2 -1
- package/dist/ark-drawer.js +2 -1
- package/dist/ark-file-input.d.ts +2 -0
- package/dist/ark-file-input.js +2 -1
- package/dist/ark-input.js +4 -2
- package/dist/ark-menu.js +2 -1
- package/dist/ark-scheduler.d.ts +2 -0
- package/dist/ark-scheduler.js +3 -2
- package/dist/ark-textarea.d.ts +2 -0
- package/dist/ark-textarea.js +4 -2
- package/dist/ark-toaster.d.ts +5 -0
- package/dist/ark-toaster.js +14 -5
- package/dist/jsx-intrinsics.d.ts +554 -503
- package/dist/register.d.ts +4 -0
- package/dist/register.js +6 -0
- package/dist/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/use-isomorphic-layout-effect.js +6 -0
- package/package.json +3 -3
package/dist/jsx-intrinsics.d.ts
CHANGED
|
@@ -29,510 +29,561 @@ import type {
|
|
|
29
29
|
} from "@tooark/core";
|
|
30
30
|
import React from "react";
|
|
31
31
|
|
|
32
|
+
// Atributos de cada ark-* no JSX, inclusive os dos pacotes laterais (chart, wysiwyg, code), que não têm wrapper.
|
|
33
|
+
interface ArkIntrinsicElements {
|
|
34
|
+
"ark-alert": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
35
|
+
testid?: string;
|
|
36
|
+
intent?: ArkIntent;
|
|
37
|
+
variant?: ArkAlertVariant;
|
|
38
|
+
heading?: string;
|
|
39
|
+
dismissible?: boolean;
|
|
40
|
+
live?: ArkAlertLive;
|
|
41
|
+
theme?: ArkTheme;
|
|
42
|
+
lang?: ArkLang;
|
|
43
|
+
"locale-json"?: string;
|
|
44
|
+
};
|
|
45
|
+
"ark-avatar": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
46
|
+
testid?: string;
|
|
47
|
+
name?: string;
|
|
48
|
+
src?: string;
|
|
49
|
+
size?: ArkSize;
|
|
50
|
+
shape?: ArkAvatarShape;
|
|
51
|
+
color?: string;
|
|
52
|
+
theme?: ArkTheme;
|
|
53
|
+
};
|
|
54
|
+
"ark-badge": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
55
|
+
testid?: string;
|
|
56
|
+
intent?: ArkIntent;
|
|
57
|
+
variant?: ArkBadgeVariant;
|
|
58
|
+
size?: ArkBadgeSize;
|
|
59
|
+
rounded?: ArkRounded;
|
|
60
|
+
color?: string;
|
|
61
|
+
theme?: ArkTheme;
|
|
62
|
+
};
|
|
63
|
+
"ark-button": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
64
|
+
testid?: string;
|
|
65
|
+
type?: ArkButtonType;
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
variant?: ArkButtonVariant;
|
|
68
|
+
intent?: ArkIntent;
|
|
69
|
+
theme?: ArkTheme;
|
|
70
|
+
size?: ArkSize;
|
|
71
|
+
rounded?: ArkRounded;
|
|
72
|
+
loading?: boolean;
|
|
73
|
+
status?: ArkButtonStatus;
|
|
74
|
+
"status-label"?: string;
|
|
75
|
+
"icon-only"?: boolean;
|
|
76
|
+
"full-width"?: boolean;
|
|
77
|
+
href?: string;
|
|
78
|
+
target?: string;
|
|
79
|
+
color?: string;
|
|
80
|
+
"text-color"?: string;
|
|
81
|
+
};
|
|
82
|
+
"ark-checkbox": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
83
|
+
testid?: string;
|
|
84
|
+
checked?: boolean;
|
|
85
|
+
indeterminate?: boolean;
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
intent?: ArkIntent;
|
|
88
|
+
theme?: ArkTheme;
|
|
89
|
+
size?: ArkSize;
|
|
90
|
+
name?: string;
|
|
91
|
+
value?: string;
|
|
92
|
+
label?: string;
|
|
93
|
+
};
|
|
94
|
+
"ark-progress": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
95
|
+
testid?: string;
|
|
96
|
+
value?: number | string;
|
|
97
|
+
max?: number | string;
|
|
98
|
+
indeterminate?: boolean;
|
|
99
|
+
label?: string;
|
|
100
|
+
"show-value"?: boolean;
|
|
101
|
+
intent?: ArkIntent;
|
|
102
|
+
size?: ArkSize;
|
|
103
|
+
theme?: ArkTheme;
|
|
104
|
+
};
|
|
105
|
+
"ark-radio": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
106
|
+
testid?: string;
|
|
107
|
+
checked?: boolean;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
intent?: ArkIntent;
|
|
110
|
+
theme?: ArkTheme;
|
|
111
|
+
size?: ArkSize;
|
|
112
|
+
name?: string;
|
|
113
|
+
value?: string;
|
|
114
|
+
label?: string;
|
|
115
|
+
};
|
|
116
|
+
"ark-spinner": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
117
|
+
testid?: string;
|
|
118
|
+
size?: ArkSize;
|
|
119
|
+
intent?: ArkIntent;
|
|
120
|
+
label?: string;
|
|
121
|
+
theme?: ArkTheme;
|
|
122
|
+
lang?: ArkLang;
|
|
123
|
+
"locale-json"?: string;
|
|
124
|
+
};
|
|
125
|
+
"ark-split-pane": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
126
|
+
testid?: string;
|
|
127
|
+
direction?: "horizontal" | "vertical";
|
|
128
|
+
sizes?: string;
|
|
129
|
+
theme?: ArkTheme;
|
|
130
|
+
lang?: ArkLang;
|
|
131
|
+
"locale-json"?: string;
|
|
132
|
+
};
|
|
133
|
+
"ark-status-dot": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
134
|
+
testid?: string;
|
|
135
|
+
intent?: ArkIntent;
|
|
136
|
+
label?: string;
|
|
137
|
+
size?: ArkSize;
|
|
138
|
+
theme?: ArkTheme;
|
|
139
|
+
};
|
|
140
|
+
"ark-switch": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
141
|
+
testid?: string;
|
|
142
|
+
checked?: boolean;
|
|
143
|
+
disabled?: boolean;
|
|
144
|
+
intent?: ArkIntent;
|
|
145
|
+
theme?: ArkTheme;
|
|
146
|
+
size?: ArkSize;
|
|
147
|
+
labels?: boolean;
|
|
148
|
+
"label-on"?: string;
|
|
149
|
+
"label-off"?: string;
|
|
150
|
+
icons?: boolean;
|
|
151
|
+
color?: string;
|
|
152
|
+
name?: string;
|
|
153
|
+
value?: string;
|
|
154
|
+
label?: string;
|
|
155
|
+
};
|
|
156
|
+
"ark-toggle": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
157
|
+
testid?: string;
|
|
158
|
+
pressed?: boolean;
|
|
159
|
+
disabled?: boolean;
|
|
160
|
+
intent?: ArkIntent;
|
|
161
|
+
theme?: ArkTheme;
|
|
162
|
+
size?: ArkSize;
|
|
163
|
+
value?: string;
|
|
164
|
+
};
|
|
165
|
+
"ark-toggle-group": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
166
|
+
testid?: string;
|
|
167
|
+
value?: string;
|
|
168
|
+
multiple?: boolean;
|
|
169
|
+
disabled?: boolean;
|
|
170
|
+
intent?: ArkIntent;
|
|
171
|
+
theme?: ArkTheme;
|
|
172
|
+
size?: ArkSize;
|
|
173
|
+
};
|
|
174
|
+
"ark-calendar": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
175
|
+
testid?: string;
|
|
176
|
+
lang?: ArkDatepickerLang;
|
|
177
|
+
theme?: ArkTheme;
|
|
178
|
+
intent?: ArkIntent;
|
|
179
|
+
"accent-color"?: string;
|
|
180
|
+
"locale-json"?: string;
|
|
181
|
+
value?: string;
|
|
182
|
+
min?: string;
|
|
183
|
+
max?: string;
|
|
184
|
+
events?: string;
|
|
185
|
+
"event-display"?: "dots" | "count" | "list";
|
|
186
|
+
};
|
|
187
|
+
"ark-clock": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
188
|
+
testid?: string;
|
|
189
|
+
lang?: ArkDatepickerLang;
|
|
190
|
+
theme?: ArkTheme;
|
|
191
|
+
intent?: ArkIntent;
|
|
192
|
+
value?: string;
|
|
193
|
+
seconds?: boolean;
|
|
194
|
+
"step-minutes"?: number;
|
|
195
|
+
"hours-format"?: "24" | "12";
|
|
196
|
+
};
|
|
197
|
+
"ark-color-swatches": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
198
|
+
testid?: string;
|
|
199
|
+
value?: string;
|
|
200
|
+
colors?: string;
|
|
201
|
+
label?: string;
|
|
202
|
+
disabled?: boolean;
|
|
203
|
+
size?: ArkSize;
|
|
204
|
+
theme?: ArkTheme;
|
|
205
|
+
};
|
|
206
|
+
"ark-command-palette": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
207
|
+
testid?: string;
|
|
208
|
+
open?: boolean;
|
|
209
|
+
placeholder?: string;
|
|
210
|
+
hotkey?: string;
|
|
211
|
+
filter?: boolean;
|
|
212
|
+
"no-scroll-lock"?: boolean;
|
|
213
|
+
"query-delay"?: number | string;
|
|
214
|
+
label?: string;
|
|
215
|
+
theme?: ArkTheme;
|
|
216
|
+
lang?: ArkLang;
|
|
217
|
+
"locale-json"?: string;
|
|
218
|
+
};
|
|
219
|
+
"ark-command-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
220
|
+
testid?: string;
|
|
221
|
+
value?: string;
|
|
222
|
+
group?: string;
|
|
223
|
+
label?: string;
|
|
224
|
+
disabled?: boolean;
|
|
225
|
+
};
|
|
226
|
+
"ark-copy-button": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
227
|
+
testid?: string;
|
|
228
|
+
value?: string;
|
|
229
|
+
for?: string;
|
|
230
|
+
"feedback-ms"?: number | string;
|
|
231
|
+
variant?: ArkButtonVariant;
|
|
232
|
+
intent?: ArkIntent;
|
|
233
|
+
theme?: ArkTheme;
|
|
234
|
+
size?: ArkSize;
|
|
235
|
+
rounded?: ArkRounded;
|
|
236
|
+
loading?: boolean;
|
|
237
|
+
disabled?: boolean;
|
|
238
|
+
"icon-only"?: boolean;
|
|
239
|
+
"full-width"?: boolean;
|
|
240
|
+
color?: string;
|
|
241
|
+
"text-color"?: string;
|
|
242
|
+
lang?: ArkLang;
|
|
243
|
+
"locale-json"?: string;
|
|
244
|
+
};
|
|
245
|
+
"ark-datepicker": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
246
|
+
testid?: string;
|
|
247
|
+
lang?: ArkDatepickerLang;
|
|
248
|
+
theme?: ArkTheme;
|
|
249
|
+
intent?: ArkIntent;
|
|
250
|
+
"accent-color"?: string;
|
|
251
|
+
"locale-json"?: string;
|
|
252
|
+
value?: string;
|
|
253
|
+
min?: string;
|
|
254
|
+
max?: string;
|
|
255
|
+
mode?: "datetime" | "date" | "time";
|
|
256
|
+
input?: boolean;
|
|
257
|
+
placeholder?: string;
|
|
258
|
+
name?: string;
|
|
259
|
+
format?: string;
|
|
260
|
+
seconds?: boolean;
|
|
261
|
+
disabled?: boolean;
|
|
262
|
+
events?: string;
|
|
263
|
+
"event-display"?: "dots" | "count" | "list";
|
|
264
|
+
"step-minutes"?: number;
|
|
265
|
+
"hours-format"?: "24" | "12";
|
|
266
|
+
};
|
|
267
|
+
"ark-dialog": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
268
|
+
testid?: string;
|
|
269
|
+
open?: boolean;
|
|
270
|
+
size?: ArkDialogSize;
|
|
271
|
+
width?: string | number;
|
|
272
|
+
height?: string | number;
|
|
273
|
+
label?: string;
|
|
274
|
+
"no-close-button"?: boolean;
|
|
275
|
+
persistent?: boolean;
|
|
276
|
+
"no-scroll-lock"?: boolean;
|
|
277
|
+
theme?: ArkTheme;
|
|
278
|
+
lang?: ArkLang;
|
|
279
|
+
"locale-json"?: string;
|
|
280
|
+
};
|
|
281
|
+
"ark-kbd": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
282
|
+
testid?: string;
|
|
283
|
+
size?: ArkSize;
|
|
284
|
+
theme?: ArkTheme;
|
|
285
|
+
};
|
|
286
|
+
"ark-kv-editor": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
287
|
+
testid?: string;
|
|
288
|
+
rows?: string;
|
|
289
|
+
bulk?: boolean;
|
|
290
|
+
"bulk-format"?: "lines" | "json";
|
|
291
|
+
types?: string;
|
|
292
|
+
description?: boolean;
|
|
293
|
+
secret?: boolean;
|
|
294
|
+
"key-placeholder"?: string;
|
|
295
|
+
"value-placeholder"?: string;
|
|
296
|
+
"description-placeholder"?: string;
|
|
297
|
+
readonly?: boolean;
|
|
298
|
+
size?: ArkSize;
|
|
299
|
+
theme?: ArkTheme;
|
|
300
|
+
lang?: ArkLang;
|
|
301
|
+
"locale-json"?: string;
|
|
302
|
+
};
|
|
303
|
+
"ark-mark": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
304
|
+
testid?: string;
|
|
305
|
+
shape?: ArkMarkShape;
|
|
306
|
+
color?: string;
|
|
307
|
+
size?: number | string;
|
|
308
|
+
label?: string;
|
|
309
|
+
theme?: ArkTheme;
|
|
310
|
+
};
|
|
311
|
+
"ark-menu": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
312
|
+
testid?: string;
|
|
313
|
+
for?: string;
|
|
314
|
+
open?: boolean;
|
|
315
|
+
align?: ArkMenuAlign;
|
|
316
|
+
direction?: ArkMenuDirection;
|
|
317
|
+
size?: ArkSize;
|
|
318
|
+
theme?: ArkTheme;
|
|
319
|
+
};
|
|
320
|
+
"ark-menu-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
321
|
+
testid?: string;
|
|
322
|
+
value?: string;
|
|
323
|
+
disabled?: boolean;
|
|
324
|
+
intent?: ArkIntent;
|
|
325
|
+
checked?: boolean | "false";
|
|
326
|
+
divider?: boolean;
|
|
327
|
+
static?: boolean;
|
|
328
|
+
};
|
|
329
|
+
"ark-tooltip": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
330
|
+
testid?: string;
|
|
331
|
+
content?: string;
|
|
332
|
+
side?: ArkTooltipSide;
|
|
333
|
+
delay?: number | string;
|
|
334
|
+
open?: boolean;
|
|
335
|
+
theme?: ArkTheme;
|
|
336
|
+
};
|
|
337
|
+
"ark-card": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
338
|
+
testid?: string;
|
|
339
|
+
heading?: string;
|
|
340
|
+
padding?: ArkCardPadding;
|
|
341
|
+
rounded?: ArkRounded;
|
|
342
|
+
theme?: ArkTheme;
|
|
343
|
+
};
|
|
344
|
+
"ark-drawer": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
345
|
+
testid?: string;
|
|
346
|
+
open?: boolean;
|
|
347
|
+
side?: ArkDrawerSide;
|
|
348
|
+
mode?: ArkDrawerMode;
|
|
349
|
+
size?: string | number;
|
|
350
|
+
label?: string;
|
|
351
|
+
"no-close-button"?: boolean;
|
|
352
|
+
persistent?: boolean;
|
|
353
|
+
"no-scroll-lock"?: boolean;
|
|
354
|
+
theme?: ArkTheme;
|
|
355
|
+
lang?: ArkLang;
|
|
356
|
+
"locale-json"?: string;
|
|
357
|
+
};
|
|
358
|
+
"ark-empty": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
359
|
+
testid?: string;
|
|
360
|
+
heading?: string;
|
|
361
|
+
description?: string;
|
|
362
|
+
theme?: ArkTheme;
|
|
363
|
+
};
|
|
364
|
+
"ark-shape-picker": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
365
|
+
testid?: string;
|
|
366
|
+
value?: ArkMarkShape;
|
|
367
|
+
color?: string;
|
|
368
|
+
label?: string;
|
|
369
|
+
disabled?: boolean;
|
|
370
|
+
size?: ArkSize;
|
|
371
|
+
theme?: ArkTheme;
|
|
372
|
+
lang?: ArkLang;
|
|
373
|
+
"locale-json"?: string;
|
|
374
|
+
};
|
|
375
|
+
"ark-skeleton": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
376
|
+
testid?: string;
|
|
377
|
+
rows?: number | string;
|
|
378
|
+
animated?: boolean;
|
|
379
|
+
rounded?: ArkRounded;
|
|
380
|
+
color?: string;
|
|
381
|
+
ratio?: string;
|
|
382
|
+
theme?: ArkTheme;
|
|
383
|
+
};
|
|
384
|
+
"ark-scheduler": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
385
|
+
testid?: string;
|
|
386
|
+
view?: "week" | "day" | "month" | "agenda";
|
|
387
|
+
date?: string;
|
|
388
|
+
events?: string;
|
|
389
|
+
lang?: ArkDatepickerLang;
|
|
390
|
+
"locale-json"?: string;
|
|
391
|
+
theme?: ArkTheme;
|
|
392
|
+
intent?: ArkIntent;
|
|
393
|
+
views?: string;
|
|
394
|
+
"hour-start"?: number;
|
|
395
|
+
"hour-end"?: number;
|
|
396
|
+
"slot-minutes"?: number;
|
|
397
|
+
"hours-format"?: "24" | "12";
|
|
398
|
+
};
|
|
399
|
+
"ark-select": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
400
|
+
testid?: string;
|
|
401
|
+
label?: string;
|
|
402
|
+
placeholder?: string;
|
|
403
|
+
options?: string;
|
|
404
|
+
value?: string;
|
|
405
|
+
name?: string;
|
|
406
|
+
size?: ArkSize;
|
|
407
|
+
intent?: ArkIntent;
|
|
408
|
+
theme?: ArkTheme;
|
|
409
|
+
rounded?: ArkRounded;
|
|
410
|
+
helper?: string;
|
|
411
|
+
error?: boolean;
|
|
412
|
+
"error-message"?: string;
|
|
413
|
+
disabled?: boolean;
|
|
414
|
+
required?: boolean;
|
|
415
|
+
};
|
|
416
|
+
"ark-file-input": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
417
|
+
testid?: string;
|
|
418
|
+
accept?: string;
|
|
419
|
+
multiple?: boolean;
|
|
420
|
+
label?: string;
|
|
421
|
+
helper?: string;
|
|
422
|
+
"error-message"?: string;
|
|
423
|
+
error?: boolean;
|
|
424
|
+
disabled?: boolean;
|
|
425
|
+
required?: boolean;
|
|
426
|
+
name?: string;
|
|
427
|
+
intent?: ArkIntent;
|
|
428
|
+
size?: ArkSize;
|
|
429
|
+
rounded?: ArkRounded;
|
|
430
|
+
theme?: ArkTheme;
|
|
431
|
+
lang?: ArkLang;
|
|
432
|
+
"locale-json"?: string;
|
|
433
|
+
};
|
|
434
|
+
"ark-input": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
435
|
+
testid?: string;
|
|
436
|
+
type?: string;
|
|
437
|
+
label?: string;
|
|
438
|
+
placeholder?: string;
|
|
439
|
+
value?: string;
|
|
440
|
+
name?: string;
|
|
441
|
+
size?: ArkSize;
|
|
442
|
+
intent?: ArkIntent;
|
|
443
|
+
theme?: ArkTheme;
|
|
444
|
+
rounded?: ArkRounded;
|
|
445
|
+
helper?: string;
|
|
446
|
+
error?: boolean;
|
|
447
|
+
"error-message"?: string;
|
|
448
|
+
disabled?: boolean;
|
|
449
|
+
required?: boolean;
|
|
450
|
+
readonly?: boolean;
|
|
451
|
+
reveal?: boolean;
|
|
452
|
+
lang?: ArkLang;
|
|
453
|
+
"locale-json"?: string;
|
|
454
|
+
autocomplete?: string;
|
|
455
|
+
autofocus?: boolean;
|
|
456
|
+
inputmode?: string;
|
|
457
|
+
maxlength?: number | string;
|
|
458
|
+
minlength?: number | string;
|
|
459
|
+
pattern?: string;
|
|
460
|
+
min?: number | string;
|
|
461
|
+
max?: number | string;
|
|
462
|
+
step?: number | string;
|
|
463
|
+
spellcheck?: boolean | "true" | "false";
|
|
464
|
+
};
|
|
465
|
+
"ark-tabs": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
466
|
+
testid?: string;
|
|
467
|
+
value?: string;
|
|
468
|
+
variant?: ArkTabsVariant;
|
|
469
|
+
size?: ArkSize;
|
|
470
|
+
intent?: ArkIntent;
|
|
471
|
+
rounded?: ArkRounded;
|
|
472
|
+
fill?: ArkTabsFill;
|
|
473
|
+
theme?: ArkTheme;
|
|
474
|
+
label?: string;
|
|
475
|
+
lang?: ArkLang;
|
|
476
|
+
"locale-json"?: string;
|
|
477
|
+
};
|
|
478
|
+
"ark-tab": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
479
|
+
testid?: string;
|
|
480
|
+
value?: string;
|
|
481
|
+
disabled?: boolean;
|
|
482
|
+
controls?: string;
|
|
483
|
+
closable?: boolean;
|
|
484
|
+
dirty?: boolean;
|
|
485
|
+
};
|
|
486
|
+
"ark-textarea": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
487
|
+
testid?: string;
|
|
488
|
+
label?: string;
|
|
489
|
+
placeholder?: string;
|
|
490
|
+
value?: string;
|
|
491
|
+
name?: string;
|
|
492
|
+
rows?: number | string;
|
|
493
|
+
autosize?: boolean;
|
|
494
|
+
monospace?: boolean;
|
|
495
|
+
resize?: ArkTextareaResize;
|
|
496
|
+
size?: ArkSize;
|
|
497
|
+
intent?: ArkIntent;
|
|
498
|
+
theme?: ArkTheme;
|
|
499
|
+
rounded?: ArkRounded;
|
|
500
|
+
helper?: string;
|
|
501
|
+
error?: boolean;
|
|
502
|
+
"error-message"?: string;
|
|
503
|
+
wrap?: "soft" | "hard" | "off";
|
|
504
|
+
disabled?: boolean;
|
|
505
|
+
required?: boolean;
|
|
506
|
+
readonly?: boolean;
|
|
507
|
+
autocomplete?: string;
|
|
508
|
+
autofocus?: boolean;
|
|
509
|
+
maxlength?: number | string;
|
|
510
|
+
minlength?: number | string;
|
|
511
|
+
spellcheck?: boolean | "true" | "false";
|
|
512
|
+
};
|
|
513
|
+
"ark-carousel": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
514
|
+
testid?: string;
|
|
515
|
+
theme?: ArkTheme;
|
|
516
|
+
intent?: ArkIntent;
|
|
517
|
+
"accent-color"?: string;
|
|
518
|
+
"slides-per-view"?: number;
|
|
519
|
+
gap?: number;
|
|
520
|
+
"start-index"?: number;
|
|
521
|
+
loop?: boolean;
|
|
522
|
+
autoplay?: boolean;
|
|
523
|
+
"autoplay-delay"?: number;
|
|
524
|
+
"show-dots"?: boolean | "false";
|
|
525
|
+
"show-arrows"?: boolean | "false";
|
|
526
|
+
"drag-free"?: boolean;
|
|
527
|
+
snap?: ArkCarouselSnap;
|
|
528
|
+
};
|
|
529
|
+
"ark-toaster": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
530
|
+
testid?: string;
|
|
531
|
+
theme?: ArkTheme;
|
|
532
|
+
position?: ArkToastPosition;
|
|
533
|
+
"rich-colors"?: boolean;
|
|
534
|
+
"close-button"?: boolean | "false";
|
|
535
|
+
"max-visible"?: number;
|
|
536
|
+
duration?: number;
|
|
537
|
+
lang?: ArkLang;
|
|
538
|
+
};
|
|
539
|
+
"ark-chart": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
540
|
+
theme?: ArkTheme;
|
|
541
|
+
renderer?: "canvas" | "svg";
|
|
542
|
+
height?: string;
|
|
543
|
+
"auto-resize"?: boolean | "false";
|
|
544
|
+
};
|
|
545
|
+
"ark-wysiwyg-editor": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
546
|
+
theme?: ArkTheme;
|
|
547
|
+
placeholder?: string;
|
|
548
|
+
editable?: boolean | "false";
|
|
549
|
+
toolbar?: string;
|
|
550
|
+
lang?: ArkLang;
|
|
551
|
+
"locale-json"?: string;
|
|
552
|
+
colors?: string;
|
|
553
|
+
highlights?: string;
|
|
554
|
+
"max-file-size"?: number;
|
|
555
|
+
};
|
|
556
|
+
"ark-wysiwyg-viewer": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
557
|
+
theme?: ArkTheme;
|
|
558
|
+
};
|
|
559
|
+
"ark-code-editor": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
560
|
+
testid?: string;
|
|
561
|
+
theme?: ArkTheme;
|
|
562
|
+
language?: "json" | "javascript" | "yaml" | "text";
|
|
563
|
+
readonly?: boolean;
|
|
564
|
+
placeholder?: string;
|
|
565
|
+
"min-height"?: string;
|
|
566
|
+
"line-numbers"?: boolean | "false";
|
|
567
|
+
fold?: boolean | "false";
|
|
568
|
+
wrap?: boolean;
|
|
569
|
+
"indent-style"?: "space" | "tab";
|
|
570
|
+
"indent-size"?: number;
|
|
571
|
+
"line-ending"?: "auto" | "lf" | "crlf";
|
|
572
|
+
"tab-indent"?: boolean | "false";
|
|
573
|
+
autocomplete?: boolean | "false";
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
// @types/react 19 só tem o JSX dentro do módulo (React.JSX), que o runtime "react-jsx" lê.
|
|
578
|
+
declare module "react" {
|
|
579
|
+
namespace JSX {
|
|
580
|
+
interface IntrinsicElements extends ArkIntrinsicElements {}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
// @types/react 18 com o runtime clássico ("jsx": "react") ainda lê o JSX global.
|
|
32
585
|
declare global {
|
|
33
586
|
namespace JSX {
|
|
34
|
-
interface IntrinsicElements {
|
|
35
|
-
"ark-alert": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
36
|
-
testid?: string;
|
|
37
|
-
intent?: ArkIntent;
|
|
38
|
-
variant?: ArkAlertVariant;
|
|
39
|
-
heading?: string;
|
|
40
|
-
dismissible?: boolean;
|
|
41
|
-
live?: ArkAlertLive;
|
|
42
|
-
theme?: ArkTheme;
|
|
43
|
-
lang?: ArkLang;
|
|
44
|
-
"locale-json"?: string;
|
|
45
|
-
};
|
|
46
|
-
"ark-avatar": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
47
|
-
testid?: string;
|
|
48
|
-
name?: string;
|
|
49
|
-
src?: string;
|
|
50
|
-
size?: ArkSize;
|
|
51
|
-
shape?: ArkAvatarShape;
|
|
52
|
-
color?: string;
|
|
53
|
-
theme?: ArkTheme;
|
|
54
|
-
};
|
|
55
|
-
"ark-badge": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
56
|
-
testid?: string;
|
|
57
|
-
intent?: ArkIntent;
|
|
58
|
-
variant?: ArkBadgeVariant;
|
|
59
|
-
size?: ArkBadgeSize;
|
|
60
|
-
rounded?: ArkRounded;
|
|
61
|
-
color?: string;
|
|
62
|
-
theme?: ArkTheme;
|
|
63
|
-
};
|
|
64
|
-
"ark-button": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
65
|
-
testid?: string;
|
|
66
|
-
type?: ArkButtonType;
|
|
67
|
-
disabled?: boolean;
|
|
68
|
-
variant?: ArkButtonVariant;
|
|
69
|
-
intent?: ArkIntent;
|
|
70
|
-
theme?: ArkTheme;
|
|
71
|
-
size?: ArkSize;
|
|
72
|
-
rounded?: ArkRounded;
|
|
73
|
-
loading?: boolean;
|
|
74
|
-
status?: ArkButtonStatus;
|
|
75
|
-
"status-label"?: string;
|
|
76
|
-
"icon-only"?: boolean;
|
|
77
|
-
"full-width"?: boolean;
|
|
78
|
-
href?: string;
|
|
79
|
-
target?: string;
|
|
80
|
-
color?: string;
|
|
81
|
-
"text-color"?: string;
|
|
82
|
-
};
|
|
83
|
-
"ark-checkbox": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
84
|
-
testid?: string;
|
|
85
|
-
checked?: boolean;
|
|
86
|
-
indeterminate?: boolean;
|
|
87
|
-
disabled?: boolean;
|
|
88
|
-
intent?: ArkIntent;
|
|
89
|
-
theme?: ArkTheme;
|
|
90
|
-
size?: ArkSize;
|
|
91
|
-
name?: string;
|
|
92
|
-
value?: string;
|
|
93
|
-
label?: string;
|
|
94
|
-
};
|
|
95
|
-
"ark-progress": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
96
|
-
testid?: string;
|
|
97
|
-
value?: number | string;
|
|
98
|
-
max?: number | string;
|
|
99
|
-
indeterminate?: boolean;
|
|
100
|
-
label?: string;
|
|
101
|
-
"show-value"?: boolean;
|
|
102
|
-
intent?: ArkIntent;
|
|
103
|
-
size?: ArkSize;
|
|
104
|
-
theme?: ArkTheme;
|
|
105
|
-
};
|
|
106
|
-
"ark-radio": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
107
|
-
testid?: string;
|
|
108
|
-
checked?: boolean;
|
|
109
|
-
disabled?: boolean;
|
|
110
|
-
intent?: ArkIntent;
|
|
111
|
-
theme?: ArkTheme;
|
|
112
|
-
size?: ArkSize;
|
|
113
|
-
name?: string;
|
|
114
|
-
value?: string;
|
|
115
|
-
label?: string;
|
|
116
|
-
};
|
|
117
|
-
"ark-spinner": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
118
|
-
testid?: string;
|
|
119
|
-
size?: ArkSize;
|
|
120
|
-
intent?: ArkIntent;
|
|
121
|
-
label?: string;
|
|
122
|
-
theme?: ArkTheme;
|
|
123
|
-
lang?: ArkLang;
|
|
124
|
-
"locale-json"?: string;
|
|
125
|
-
};
|
|
126
|
-
"ark-split-pane": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
127
|
-
testid?: string;
|
|
128
|
-
direction?: "horizontal" | "vertical";
|
|
129
|
-
sizes?: string;
|
|
130
|
-
theme?: ArkTheme;
|
|
131
|
-
lang?: ArkLang;
|
|
132
|
-
"locale-json"?: string;
|
|
133
|
-
};
|
|
134
|
-
"ark-status-dot": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
135
|
-
testid?: string;
|
|
136
|
-
intent?: ArkIntent;
|
|
137
|
-
label?: string;
|
|
138
|
-
size?: ArkSize;
|
|
139
|
-
theme?: ArkTheme;
|
|
140
|
-
};
|
|
141
|
-
"ark-switch": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
142
|
-
testid?: string;
|
|
143
|
-
checked?: boolean;
|
|
144
|
-
disabled?: boolean;
|
|
145
|
-
intent?: ArkIntent;
|
|
146
|
-
theme?: ArkTheme;
|
|
147
|
-
size?: ArkSize;
|
|
148
|
-
labels?: boolean;
|
|
149
|
-
"label-on"?: string;
|
|
150
|
-
"label-off"?: string;
|
|
151
|
-
icons?: boolean;
|
|
152
|
-
color?: string;
|
|
153
|
-
name?: string;
|
|
154
|
-
value?: string;
|
|
155
|
-
label?: string;
|
|
156
|
-
};
|
|
157
|
-
"ark-toggle": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
158
|
-
testid?: string;
|
|
159
|
-
pressed?: boolean;
|
|
160
|
-
disabled?: boolean;
|
|
161
|
-
intent?: ArkIntent;
|
|
162
|
-
theme?: ArkTheme;
|
|
163
|
-
size?: ArkSize;
|
|
164
|
-
value?: string;
|
|
165
|
-
};
|
|
166
|
-
"ark-toggle-group": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
167
|
-
testid?: string;
|
|
168
|
-
value?: string;
|
|
169
|
-
multiple?: boolean;
|
|
170
|
-
disabled?: boolean;
|
|
171
|
-
intent?: ArkIntent;
|
|
172
|
-
theme?: ArkTheme;
|
|
173
|
-
size?: ArkSize;
|
|
174
|
-
};
|
|
175
|
-
"ark-calendar": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
176
|
-
testid?: string;
|
|
177
|
-
lang?: ArkDatepickerLang;
|
|
178
|
-
theme?: ArkTheme;
|
|
179
|
-
intent?: ArkIntent;
|
|
180
|
-
"accent-color"?: string;
|
|
181
|
-
"locale-json"?: string;
|
|
182
|
-
value?: string;
|
|
183
|
-
min?: string;
|
|
184
|
-
max?: string;
|
|
185
|
-
events?: string;
|
|
186
|
-
"event-display"?: "dots" | "count" | "list";
|
|
187
|
-
};
|
|
188
|
-
"ark-clock": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
189
|
-
testid?: string;
|
|
190
|
-
lang?: ArkDatepickerLang;
|
|
191
|
-
theme?: ArkTheme;
|
|
192
|
-
intent?: ArkIntent;
|
|
193
|
-
value?: string;
|
|
194
|
-
seconds?: boolean;
|
|
195
|
-
"step-minutes"?: number;
|
|
196
|
-
"hours-format"?: "24" | "12";
|
|
197
|
-
};
|
|
198
|
-
"ark-color-swatches": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
199
|
-
testid?: string;
|
|
200
|
-
value?: string;
|
|
201
|
-
colors?: string;
|
|
202
|
-
label?: string;
|
|
203
|
-
disabled?: boolean;
|
|
204
|
-
size?: ArkSize;
|
|
205
|
-
theme?: ArkTheme;
|
|
206
|
-
};
|
|
207
|
-
"ark-command-palette": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
208
|
-
testid?: string;
|
|
209
|
-
open?: boolean;
|
|
210
|
-
placeholder?: string;
|
|
211
|
-
hotkey?: string;
|
|
212
|
-
filter?: boolean;
|
|
213
|
-
"no-scroll-lock"?: boolean;
|
|
214
|
-
"query-delay"?: number | string;
|
|
215
|
-
label?: string;
|
|
216
|
-
theme?: ArkTheme;
|
|
217
|
-
lang?: ArkLang;
|
|
218
|
-
"locale-json"?: string;
|
|
219
|
-
};
|
|
220
|
-
"ark-command-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
221
|
-
testid?: string;
|
|
222
|
-
value?: string;
|
|
223
|
-
group?: string;
|
|
224
|
-
label?: string;
|
|
225
|
-
disabled?: boolean;
|
|
226
|
-
};
|
|
227
|
-
"ark-copy-button": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
228
|
-
testid?: string;
|
|
229
|
-
value?: string;
|
|
230
|
-
for?: string;
|
|
231
|
-
"feedback-ms"?: number | string;
|
|
232
|
-
variant?: ArkButtonVariant;
|
|
233
|
-
intent?: ArkIntent;
|
|
234
|
-
theme?: ArkTheme;
|
|
235
|
-
size?: ArkSize;
|
|
236
|
-
rounded?: ArkRounded;
|
|
237
|
-
loading?: boolean;
|
|
238
|
-
disabled?: boolean;
|
|
239
|
-
"icon-only"?: boolean;
|
|
240
|
-
"full-width"?: boolean;
|
|
241
|
-
color?: string;
|
|
242
|
-
"text-color"?: string;
|
|
243
|
-
lang?: ArkLang;
|
|
244
|
-
"locale-json"?: string;
|
|
245
|
-
};
|
|
246
|
-
"ark-datepicker": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
247
|
-
testid?: string;
|
|
248
|
-
lang?: ArkDatepickerLang;
|
|
249
|
-
theme?: ArkTheme;
|
|
250
|
-
intent?: ArkIntent;
|
|
251
|
-
"accent-color"?: string;
|
|
252
|
-
"locale-json"?: string;
|
|
253
|
-
value?: string;
|
|
254
|
-
min?: string;
|
|
255
|
-
max?: string;
|
|
256
|
-
mode?: "datetime" | "date" | "time";
|
|
257
|
-
input?: boolean;
|
|
258
|
-
placeholder?: string;
|
|
259
|
-
name?: string;
|
|
260
|
-
format?: string;
|
|
261
|
-
seconds?: boolean;
|
|
262
|
-
disabled?: boolean;
|
|
263
|
-
events?: string;
|
|
264
|
-
"event-display"?: "dots" | "count" | "list";
|
|
265
|
-
"step-minutes"?: number;
|
|
266
|
-
"hours-format"?: "24" | "12";
|
|
267
|
-
};
|
|
268
|
-
"ark-dialog": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
269
|
-
testid?: string;
|
|
270
|
-
open?: boolean;
|
|
271
|
-
size?: ArkDialogSize;
|
|
272
|
-
width?: string | number;
|
|
273
|
-
height?: string | number;
|
|
274
|
-
label?: string;
|
|
275
|
-
"no-close-button"?: boolean;
|
|
276
|
-
persistent?: boolean;
|
|
277
|
-
"no-scroll-lock"?: boolean;
|
|
278
|
-
theme?: ArkTheme;
|
|
279
|
-
lang?: ArkLang;
|
|
280
|
-
"locale-json"?: string;
|
|
281
|
-
};
|
|
282
|
-
"ark-kbd": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
283
|
-
testid?: string;
|
|
284
|
-
size?: ArkSize;
|
|
285
|
-
theme?: ArkTheme;
|
|
286
|
-
};
|
|
287
|
-
"ark-kv-editor": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
288
|
-
testid?: string;
|
|
289
|
-
rows?: string;
|
|
290
|
-
bulk?: boolean;
|
|
291
|
-
"bulk-format"?: "lines" | "json";
|
|
292
|
-
types?: string;
|
|
293
|
-
description?: boolean;
|
|
294
|
-
secret?: boolean;
|
|
295
|
-
"key-placeholder"?: string;
|
|
296
|
-
"value-placeholder"?: string;
|
|
297
|
-
"description-placeholder"?: string;
|
|
298
|
-
readonly?: boolean;
|
|
299
|
-
size?: ArkSize;
|
|
300
|
-
theme?: ArkTheme;
|
|
301
|
-
lang?: ArkLang;
|
|
302
|
-
"locale-json"?: string;
|
|
303
|
-
};
|
|
304
|
-
"ark-mark": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
305
|
-
testid?: string;
|
|
306
|
-
shape?: ArkMarkShape;
|
|
307
|
-
color?: string;
|
|
308
|
-
size?: number | string;
|
|
309
|
-
label?: string;
|
|
310
|
-
theme?: ArkTheme;
|
|
311
|
-
};
|
|
312
|
-
"ark-menu": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
313
|
-
testid?: string;
|
|
314
|
-
for?: string;
|
|
315
|
-
open?: boolean;
|
|
316
|
-
align?: ArkMenuAlign;
|
|
317
|
-
direction?: ArkMenuDirection;
|
|
318
|
-
size?: ArkSize;
|
|
319
|
-
theme?: ArkTheme;
|
|
320
|
-
};
|
|
321
|
-
"ark-menu-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
322
|
-
testid?: string;
|
|
323
|
-
value?: string;
|
|
324
|
-
disabled?: boolean;
|
|
325
|
-
intent?: ArkIntent;
|
|
326
|
-
checked?: boolean | "false";
|
|
327
|
-
divider?: boolean;
|
|
328
|
-
static?: boolean;
|
|
329
|
-
};
|
|
330
|
-
"ark-tooltip": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
331
|
-
testid?: string;
|
|
332
|
-
content?: string;
|
|
333
|
-
side?: ArkTooltipSide;
|
|
334
|
-
delay?: number | string;
|
|
335
|
-
open?: boolean;
|
|
336
|
-
theme?: ArkTheme;
|
|
337
|
-
};
|
|
338
|
-
"ark-card": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
339
|
-
testid?: string;
|
|
340
|
-
heading?: string;
|
|
341
|
-
padding?: ArkCardPadding;
|
|
342
|
-
rounded?: ArkRounded;
|
|
343
|
-
theme?: ArkTheme;
|
|
344
|
-
};
|
|
345
|
-
"ark-drawer": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
346
|
-
testid?: string;
|
|
347
|
-
open?: boolean;
|
|
348
|
-
side?: ArkDrawerSide;
|
|
349
|
-
mode?: ArkDrawerMode;
|
|
350
|
-
size?: string | number;
|
|
351
|
-
label?: string;
|
|
352
|
-
"no-close-button"?: boolean;
|
|
353
|
-
persistent?: boolean;
|
|
354
|
-
"no-scroll-lock"?: boolean;
|
|
355
|
-
theme?: ArkTheme;
|
|
356
|
-
lang?: ArkLang;
|
|
357
|
-
"locale-json"?: string;
|
|
358
|
-
};
|
|
359
|
-
"ark-empty": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
360
|
-
testid?: string;
|
|
361
|
-
heading?: string;
|
|
362
|
-
description?: string;
|
|
363
|
-
theme?: ArkTheme;
|
|
364
|
-
};
|
|
365
|
-
"ark-shape-picker": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
366
|
-
testid?: string;
|
|
367
|
-
value?: ArkMarkShape;
|
|
368
|
-
color?: string;
|
|
369
|
-
label?: string;
|
|
370
|
-
disabled?: boolean;
|
|
371
|
-
size?: ArkSize;
|
|
372
|
-
theme?: ArkTheme;
|
|
373
|
-
lang?: ArkLang;
|
|
374
|
-
"locale-json"?: string;
|
|
375
|
-
};
|
|
376
|
-
"ark-skeleton": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
377
|
-
testid?: string;
|
|
378
|
-
rows?: number | string;
|
|
379
|
-
animated?: boolean;
|
|
380
|
-
rounded?: ArkRounded;
|
|
381
|
-
color?: string;
|
|
382
|
-
ratio?: string;
|
|
383
|
-
theme?: ArkTheme;
|
|
384
|
-
};
|
|
385
|
-
"ark-scheduler": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
386
|
-
testid?: string;
|
|
387
|
-
view?: "week" | "day" | "month" | "agenda";
|
|
388
|
-
date?: string;
|
|
389
|
-
events?: string;
|
|
390
|
-
lang?: ArkDatepickerLang;
|
|
391
|
-
theme?: ArkTheme;
|
|
392
|
-
intent?: ArkIntent;
|
|
393
|
-
views?: string;
|
|
394
|
-
"hour-start"?: number;
|
|
395
|
-
"hour-end"?: number;
|
|
396
|
-
"slot-minutes"?: number;
|
|
397
|
-
"hours-format"?: "24" | "12";
|
|
398
|
-
};
|
|
399
|
-
"ark-select": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
400
|
-
testid?: string;
|
|
401
|
-
label?: string;
|
|
402
|
-
placeholder?: string;
|
|
403
|
-
options?: string;
|
|
404
|
-
value?: string;
|
|
405
|
-
name?: string;
|
|
406
|
-
size?: ArkSize;
|
|
407
|
-
intent?: ArkIntent;
|
|
408
|
-
theme?: ArkTheme;
|
|
409
|
-
rounded?: ArkRounded;
|
|
410
|
-
helper?: string;
|
|
411
|
-
error?: boolean;
|
|
412
|
-
"error-message"?: string;
|
|
413
|
-
disabled?: boolean;
|
|
414
|
-
required?: boolean;
|
|
415
|
-
};
|
|
416
|
-
"ark-file-input": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
417
|
-
testid?: string;
|
|
418
|
-
accept?: string;
|
|
419
|
-
multiple?: boolean;
|
|
420
|
-
label?: string;
|
|
421
|
-
helper?: string;
|
|
422
|
-
"error-message"?: string;
|
|
423
|
-
disabled?: boolean;
|
|
424
|
-
required?: boolean;
|
|
425
|
-
name?: string;
|
|
426
|
-
intent?: ArkIntent;
|
|
427
|
-
size?: ArkSize;
|
|
428
|
-
rounded?: ArkRounded;
|
|
429
|
-
theme?: ArkTheme;
|
|
430
|
-
lang?: ArkLang;
|
|
431
|
-
"locale-json"?: string;
|
|
432
|
-
};
|
|
433
|
-
"ark-input": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
434
|
-
testid?: string;
|
|
435
|
-
type?: string;
|
|
436
|
-
label?: string;
|
|
437
|
-
placeholder?: string;
|
|
438
|
-
value?: string;
|
|
439
|
-
name?: string;
|
|
440
|
-
size?: ArkSize;
|
|
441
|
-
intent?: ArkIntent;
|
|
442
|
-
theme?: ArkTheme;
|
|
443
|
-
rounded?: ArkRounded;
|
|
444
|
-
helper?: string;
|
|
445
|
-
error?: boolean;
|
|
446
|
-
"error-message"?: string;
|
|
447
|
-
disabled?: boolean;
|
|
448
|
-
required?: boolean;
|
|
449
|
-
readonly?: boolean;
|
|
450
|
-
reveal?: boolean;
|
|
451
|
-
lang?: ArkLang;
|
|
452
|
-
"locale-json"?: string;
|
|
453
|
-
autocomplete?: string;
|
|
454
|
-
autofocus?: boolean;
|
|
455
|
-
inputmode?: string;
|
|
456
|
-
maxlength?: number | string;
|
|
457
|
-
minlength?: number | string;
|
|
458
|
-
pattern?: string;
|
|
459
|
-
min?: number | string;
|
|
460
|
-
max?: number | string;
|
|
461
|
-
step?: number | string;
|
|
462
|
-
spellcheck?: boolean | "true" | "false";
|
|
463
|
-
};
|
|
464
|
-
"ark-tabs": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
465
|
-
testid?: string;
|
|
466
|
-
value?: string;
|
|
467
|
-
variant?: ArkTabsVariant;
|
|
468
|
-
size?: ArkSize;
|
|
469
|
-
intent?: ArkIntent;
|
|
470
|
-
rounded?: ArkRounded;
|
|
471
|
-
fill?: ArkTabsFill;
|
|
472
|
-
theme?: ArkTheme;
|
|
473
|
-
label?: string;
|
|
474
|
-
lang?: ArkLang;
|
|
475
|
-
"locale-json"?: string;
|
|
476
|
-
};
|
|
477
|
-
"ark-tab": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
478
|
-
testid?: string;
|
|
479
|
-
value?: string;
|
|
480
|
-
disabled?: boolean;
|
|
481
|
-
controls?: string;
|
|
482
|
-
closable?: boolean;
|
|
483
|
-
dirty?: boolean;
|
|
484
|
-
};
|
|
485
|
-
"ark-textarea": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
486
|
-
testid?: string;
|
|
487
|
-
label?: string;
|
|
488
|
-
placeholder?: string;
|
|
489
|
-
value?: string;
|
|
490
|
-
name?: string;
|
|
491
|
-
rows?: number | string;
|
|
492
|
-
autosize?: boolean;
|
|
493
|
-
monospace?: boolean;
|
|
494
|
-
resize?: ArkTextareaResize;
|
|
495
|
-
size?: ArkSize;
|
|
496
|
-
intent?: ArkIntent;
|
|
497
|
-
theme?: ArkTheme;
|
|
498
|
-
rounded?: ArkRounded;
|
|
499
|
-
helper?: string;
|
|
500
|
-
error?: boolean;
|
|
501
|
-
"error-message"?: string;
|
|
502
|
-
disabled?: boolean;
|
|
503
|
-
required?: boolean;
|
|
504
|
-
readonly?: boolean;
|
|
505
|
-
autocomplete?: string;
|
|
506
|
-
autofocus?: boolean;
|
|
507
|
-
maxlength?: number | string;
|
|
508
|
-
minlength?: number | string;
|
|
509
|
-
spellcheck?: boolean | "true" | "false";
|
|
510
|
-
};
|
|
511
|
-
"ark-carousel": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
512
|
-
testid?: string;
|
|
513
|
-
theme?: ArkTheme;
|
|
514
|
-
intent?: ArkIntent;
|
|
515
|
-
"accent-color"?: string;
|
|
516
|
-
"slides-per-view"?: number;
|
|
517
|
-
gap?: number;
|
|
518
|
-
"start-index"?: number;
|
|
519
|
-
loop?: boolean;
|
|
520
|
-
autoplay?: boolean;
|
|
521
|
-
"autoplay-delay"?: number;
|
|
522
|
-
"show-dots"?: boolean | "false";
|
|
523
|
-
"show-arrows"?: boolean | "false";
|
|
524
|
-
"drag-free"?: boolean;
|
|
525
|
-
snap?: ArkCarouselSnap;
|
|
526
|
-
};
|
|
527
|
-
"ark-toaster": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
528
|
-
testid?: string;
|
|
529
|
-
theme?: ArkTheme;
|
|
530
|
-
position?: ArkToastPosition;
|
|
531
|
-
"rich-colors"?: boolean;
|
|
532
|
-
"close-button"?: boolean | "false";
|
|
533
|
-
"max-visible"?: number;
|
|
534
|
-
duration?: number;
|
|
535
|
-
};
|
|
536
|
-
}
|
|
587
|
+
interface IntrinsicElements extends ArkIntrinsicElements {}
|
|
537
588
|
}
|
|
538
589
|
}
|