@zod-to-form/react 0.6.1 → 0.6.3
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/FieldRenderer.d.ts +19 -9
- package/dist/FieldRenderer.d.ts.map +1 -1
- package/dist/FieldRenderer.js +236 -110
- package/dist/FieldRenderer.js.map +1 -1
- package/dist/SchemaLiteSubmit.d.ts +9 -0
- package/dist/SchemaLiteSubmit.d.ts.map +1 -0
- package/dist/SchemaLiteSubmit.js +26 -0
- package/dist/SchemaLiteSubmit.js.map +1 -0
- package/dist/ZodForm.d.ts +1 -0
- package/dist/ZodForm.d.ts.map +1 -1
- package/dist/ZodForm.js +45 -6
- package/dist/ZodForm.js.map +1 -1
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox.js +1 -3
- package/dist/components/Combobox.js.map +1 -1
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/FileInput.d.ts.map +1 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup.js +1 -2
- package/dist/components/RadioGroup.js.map +1 -1
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/shadcn/index.d.ts +117 -113
- package/dist/shadcn/index.d.ts.map +1 -1
- package/dist/shadcn/index.js +6 -3
- package/dist/shadcn/index.js.map +1 -1
- package/dist/useZodForm.d.ts +10 -1
- package/dist/useZodForm.d.ts.map +1 -1
- package/dist/useZodForm.js +65 -49
- package/dist/useZodForm.js.map +1 -1
- package/package.json +2 -2
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
*/
|
|
27
27
|
import { type HTMLAttributes, type LabelHTMLAttributes } from 'react';
|
|
28
28
|
import type { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
29
|
+
import type { FormFieldOption } from '@zod-to-form/core';
|
|
29
30
|
declare function ShadcnInput(props: InputHTMLAttributes<HTMLInputElement>): import("react").DetailedReactHTMLElement<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
30
31
|
declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElement>): import("react").DetailedReactHTMLElement<{
|
|
31
|
-
children?: import("react").ReactNode;
|
|
32
|
+
children?: import("react").ReactNode | undefined;
|
|
32
33
|
dangerouslySetInnerHTML?: {
|
|
33
34
|
__html: string | TrustedHTML;
|
|
34
35
|
} | undefined;
|
|
@@ -201,34 +202,34 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
201
202
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLTextAreaElement> | undefined;
|
|
202
203
|
"aria-activedescendant"?: string | undefined;
|
|
203
204
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
204
|
-
"aria-autocomplete"?: "
|
|
205
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
205
206
|
"aria-braillelabel"?: string | undefined;
|
|
206
207
|
"aria-brailleroledescription"?: string | undefined;
|
|
207
208
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
208
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
209
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
209
210
|
"aria-colcount"?: number | undefined;
|
|
210
211
|
"aria-colindex"?: number | undefined;
|
|
211
212
|
"aria-colindextext"?: string | undefined;
|
|
212
213
|
"aria-colspan"?: number | undefined;
|
|
213
214
|
"aria-controls"?: string | undefined;
|
|
214
|
-
"aria-current"?:
|
|
215
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
215
216
|
"aria-describedby"?: string | undefined;
|
|
216
217
|
"aria-description"?: string | undefined;
|
|
217
218
|
"aria-details"?: string | undefined;
|
|
218
219
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
219
|
-
"aria-dropeffect"?: "
|
|
220
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
220
221
|
"aria-errormessage"?: string | undefined;
|
|
221
222
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
222
223
|
"aria-flowto"?: string | undefined;
|
|
223
224
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
224
|
-
"aria-haspopup"?:
|
|
225
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
225
226
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
226
|
-
"aria-invalid"?: "false" | "
|
|
227
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
227
228
|
"aria-keyshortcuts"?: string | undefined;
|
|
228
229
|
"aria-label"?: string | undefined;
|
|
229
230
|
"aria-labelledby"?: string | undefined;
|
|
230
231
|
"aria-level"?: number | undefined;
|
|
231
|
-
"aria-live"?: "
|
|
232
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
232
233
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
233
234
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
234
235
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -236,7 +237,7 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
236
237
|
"aria-owns"?: string | undefined;
|
|
237
238
|
"aria-placeholder"?: string | undefined;
|
|
238
239
|
"aria-posinset"?: number | undefined;
|
|
239
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
240
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
240
241
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
241
242
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
242
243
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -247,7 +248,7 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
247
248
|
"aria-rowspan"?: number | undefined;
|
|
248
249
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
249
250
|
"aria-setsize"?: number | undefined;
|
|
250
|
-
"aria-sort"?: "
|
|
251
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
251
252
|
"aria-valuemax"?: number | undefined;
|
|
252
253
|
"aria-valuemin"?: number | undefined;
|
|
253
254
|
"aria-valuenow"?: number | undefined;
|
|
@@ -257,13 +258,13 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
257
258
|
suppressContentEditableWarning?: boolean | undefined;
|
|
258
259
|
suppressHydrationWarning?: boolean | undefined;
|
|
259
260
|
accessKey?: string | undefined;
|
|
260
|
-
autoCapitalize?: "
|
|
261
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
261
262
|
autoFocus?: boolean | undefined;
|
|
262
|
-
contentEditable?: "
|
|
263
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
263
264
|
contextMenu?: string | undefined;
|
|
264
265
|
dir?: string | undefined;
|
|
265
266
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
266
|
-
enterKeyHint?: "
|
|
267
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
267
268
|
hidden?: boolean | undefined;
|
|
268
269
|
id?: string | undefined;
|
|
269
270
|
lang?: string | undefined;
|
|
@@ -273,7 +274,7 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
273
274
|
style?: import("react").CSSProperties | undefined;
|
|
274
275
|
tabIndex?: number | undefined;
|
|
275
276
|
title?: string | undefined;
|
|
276
|
-
translate?: "
|
|
277
|
+
translate?: "yes" | "no" | undefined;
|
|
277
278
|
radioGroup?: string | undefined;
|
|
278
279
|
role?: import("react").AriaRole | undefined;
|
|
279
280
|
about?: string | undefined;
|
|
@@ -297,12 +298,12 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
297
298
|
itemRef?: string | undefined;
|
|
298
299
|
results?: number | undefined;
|
|
299
300
|
security?: string | undefined;
|
|
300
|
-
unselectable?: "
|
|
301
|
-
popover?: "" | "auto" | "
|
|
302
|
-
popoverTargetAction?: "
|
|
301
|
+
unselectable?: "on" | "off" | undefined;
|
|
302
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
303
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
303
304
|
popoverTarget?: string | undefined;
|
|
304
305
|
inert?: boolean | undefined;
|
|
305
|
-
inputMode?: "
|
|
306
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
306
307
|
is?: string | undefined;
|
|
307
308
|
exportparts?: string | undefined;
|
|
308
309
|
part?: string | undefined;
|
|
@@ -318,13 +319,16 @@ declare function ShadcnTextarea(props: TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
318
319
|
readOnly?: boolean | undefined;
|
|
319
320
|
required?: boolean | undefined;
|
|
320
321
|
rows?: number | undefined;
|
|
321
|
-
value?: string |
|
|
322
|
+
value?: string | readonly string[] | number | undefined;
|
|
322
323
|
wrap?: string | undefined;
|
|
323
324
|
onChange?: import("react").ChangeEventHandler<HTMLTextAreaElement, HTMLTextAreaElement> | undefined;
|
|
324
325
|
className: string;
|
|
325
326
|
}, HTMLElement>;
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
type ShadcnSelectProps = SelectHTMLAttributes<HTMLSelectElement> & {
|
|
328
|
+
options?: FormFieldOption[];
|
|
329
|
+
};
|
|
330
|
+
declare function ShadcnSelect({ options, ...props }: ShadcnSelectProps): import("react").DetailedReactHTMLElement<{
|
|
331
|
+
children?: import("react").ReactNode | undefined;
|
|
328
332
|
dangerouslySetInnerHTML?: {
|
|
329
333
|
__html: string | TrustedHTML;
|
|
330
334
|
} | undefined;
|
|
@@ -497,34 +501,34 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
497
501
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSelectElement> | undefined;
|
|
498
502
|
"aria-activedescendant"?: string | undefined;
|
|
499
503
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
500
|
-
"aria-autocomplete"?: "
|
|
504
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
501
505
|
"aria-braillelabel"?: string | undefined;
|
|
502
506
|
"aria-brailleroledescription"?: string | undefined;
|
|
503
507
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
504
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
508
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
505
509
|
"aria-colcount"?: number | undefined;
|
|
506
510
|
"aria-colindex"?: number | undefined;
|
|
507
511
|
"aria-colindextext"?: string | undefined;
|
|
508
512
|
"aria-colspan"?: number | undefined;
|
|
509
513
|
"aria-controls"?: string | undefined;
|
|
510
|
-
"aria-current"?:
|
|
514
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
511
515
|
"aria-describedby"?: string | undefined;
|
|
512
516
|
"aria-description"?: string | undefined;
|
|
513
517
|
"aria-details"?: string | undefined;
|
|
514
518
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
515
|
-
"aria-dropeffect"?: "
|
|
519
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
516
520
|
"aria-errormessage"?: string | undefined;
|
|
517
521
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
518
522
|
"aria-flowto"?: string | undefined;
|
|
519
523
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
520
|
-
"aria-haspopup"?:
|
|
524
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
521
525
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
522
|
-
"aria-invalid"?: "false" | "
|
|
526
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
523
527
|
"aria-keyshortcuts"?: string | undefined;
|
|
524
528
|
"aria-label"?: string | undefined;
|
|
525
529
|
"aria-labelledby"?: string | undefined;
|
|
526
530
|
"aria-level"?: number | undefined;
|
|
527
|
-
"aria-live"?: "
|
|
531
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
528
532
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
529
533
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
530
534
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -532,7 +536,7 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
532
536
|
"aria-owns"?: string | undefined;
|
|
533
537
|
"aria-placeholder"?: string | undefined;
|
|
534
538
|
"aria-posinset"?: number | undefined;
|
|
535
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
539
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
536
540
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
537
541
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
538
542
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -543,7 +547,7 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
543
547
|
"aria-rowspan"?: number | undefined;
|
|
544
548
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
545
549
|
"aria-setsize"?: number | undefined;
|
|
546
|
-
"aria-sort"?: "
|
|
550
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
547
551
|
"aria-valuemax"?: number | undefined;
|
|
548
552
|
"aria-valuemin"?: number | undefined;
|
|
549
553
|
"aria-valuenow"?: number | undefined;
|
|
@@ -553,13 +557,13 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
553
557
|
suppressContentEditableWarning?: boolean | undefined;
|
|
554
558
|
suppressHydrationWarning?: boolean | undefined;
|
|
555
559
|
accessKey?: string | undefined;
|
|
556
|
-
autoCapitalize?: "
|
|
560
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
557
561
|
autoFocus?: boolean | undefined;
|
|
558
|
-
contentEditable?: "
|
|
562
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
559
563
|
contextMenu?: string | undefined;
|
|
560
564
|
dir?: string | undefined;
|
|
561
565
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
562
|
-
enterKeyHint?: "
|
|
566
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
563
567
|
hidden?: boolean | undefined;
|
|
564
568
|
id?: string | undefined;
|
|
565
569
|
lang?: string | undefined;
|
|
@@ -569,7 +573,7 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
569
573
|
style?: import("react").CSSProperties | undefined;
|
|
570
574
|
tabIndex?: number | undefined;
|
|
571
575
|
title?: string | undefined;
|
|
572
|
-
translate?: "
|
|
576
|
+
translate?: "yes" | "no" | undefined;
|
|
573
577
|
radioGroup?: string | undefined;
|
|
574
578
|
role?: import("react").AriaRole | undefined;
|
|
575
579
|
about?: string | undefined;
|
|
@@ -593,12 +597,12 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
593
597
|
itemRef?: string | undefined;
|
|
594
598
|
results?: number | undefined;
|
|
595
599
|
security?: string | undefined;
|
|
596
|
-
unselectable?: "
|
|
597
|
-
popover?: "" | "auto" | "
|
|
598
|
-
popoverTargetAction?: "
|
|
600
|
+
unselectable?: "on" | "off" | undefined;
|
|
601
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
602
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
599
603
|
popoverTarget?: string | undefined;
|
|
600
604
|
inert?: boolean | undefined;
|
|
601
|
-
inputMode?: "
|
|
605
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
602
606
|
is?: string | undefined;
|
|
603
607
|
exportparts?: string | undefined;
|
|
604
608
|
part?: string | undefined;
|
|
@@ -609,12 +613,12 @@ declare function ShadcnSelect(props: SelectHTMLAttributes<HTMLSelectElement>): i
|
|
|
609
613
|
name?: string | undefined;
|
|
610
614
|
required?: boolean | undefined;
|
|
611
615
|
size?: number | undefined;
|
|
612
|
-
value?: string |
|
|
616
|
+
value?: string | readonly string[] | number | undefined;
|
|
613
617
|
onChange?: import("react").ChangeEventHandler<HTMLSelectElement, HTMLSelectElement> | undefined;
|
|
614
618
|
className: string;
|
|
615
619
|
}, HTMLElement>;
|
|
616
620
|
declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("react").DetailedReactHTMLElement<{
|
|
617
|
-
children?: import("react").ReactNode;
|
|
621
|
+
children?: import("react").ReactNode | undefined;
|
|
618
622
|
dangerouslySetInnerHTML?: {
|
|
619
623
|
__html: string | TrustedHTML;
|
|
620
624
|
} | undefined;
|
|
@@ -788,34 +792,34 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
788
792
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
789
793
|
"aria-activedescendant"?: string | undefined;
|
|
790
794
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
791
|
-
"aria-autocomplete"?: "
|
|
795
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
792
796
|
"aria-braillelabel"?: string | undefined;
|
|
793
797
|
"aria-brailleroledescription"?: string | undefined;
|
|
794
798
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
795
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
799
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
796
800
|
"aria-colcount"?: number | undefined;
|
|
797
801
|
"aria-colindex"?: number | undefined;
|
|
798
802
|
"aria-colindextext"?: string | undefined;
|
|
799
803
|
"aria-colspan"?: number | undefined;
|
|
800
804
|
"aria-controls"?: string | undefined;
|
|
801
|
-
"aria-current"?:
|
|
805
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
802
806
|
"aria-describedby"?: string | undefined;
|
|
803
807
|
"aria-description"?: string | undefined;
|
|
804
808
|
"aria-details"?: string | undefined;
|
|
805
809
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
806
|
-
"aria-dropeffect"?: "
|
|
810
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
807
811
|
"aria-errormessage"?: string | undefined;
|
|
808
812
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
809
813
|
"aria-flowto"?: string | undefined;
|
|
810
814
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
811
|
-
"aria-haspopup"?:
|
|
815
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
812
816
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
813
|
-
"aria-invalid"?: "false" | "
|
|
817
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
814
818
|
"aria-keyshortcuts"?: string | undefined;
|
|
815
819
|
"aria-label"?: string | undefined;
|
|
816
820
|
"aria-labelledby"?: string | undefined;
|
|
817
821
|
"aria-level"?: number | undefined;
|
|
818
|
-
"aria-live"?: "
|
|
822
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
819
823
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
820
824
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
821
825
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -823,7 +827,7 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
823
827
|
"aria-owns"?: string | undefined;
|
|
824
828
|
"aria-placeholder"?: string | undefined;
|
|
825
829
|
"aria-posinset"?: number | undefined;
|
|
826
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
830
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
827
831
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
828
832
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
829
833
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -834,7 +838,7 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
834
838
|
"aria-rowspan"?: number | undefined;
|
|
835
839
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
836
840
|
"aria-setsize"?: number | undefined;
|
|
837
|
-
"aria-sort"?: "
|
|
841
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
838
842
|
"aria-valuemax"?: number | undefined;
|
|
839
843
|
"aria-valuemin"?: number | undefined;
|
|
840
844
|
"aria-valuenow"?: number | undefined;
|
|
@@ -844,13 +848,13 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
844
848
|
suppressContentEditableWarning?: boolean | undefined;
|
|
845
849
|
suppressHydrationWarning?: boolean | undefined;
|
|
846
850
|
accessKey?: string | undefined;
|
|
847
|
-
autoCapitalize?: "
|
|
851
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
848
852
|
autoFocus?: boolean | undefined;
|
|
849
|
-
contentEditable?: "
|
|
853
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
850
854
|
contextMenu?: string | undefined;
|
|
851
855
|
dir?: string | undefined;
|
|
852
856
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
853
|
-
enterKeyHint?: "
|
|
857
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
854
858
|
hidden?: boolean | undefined;
|
|
855
859
|
id?: string | undefined;
|
|
856
860
|
lang?: string | undefined;
|
|
@@ -860,7 +864,7 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
860
864
|
style?: import("react").CSSProperties | undefined;
|
|
861
865
|
tabIndex?: number | undefined;
|
|
862
866
|
title?: string | undefined;
|
|
863
|
-
translate?: "
|
|
867
|
+
translate?: "yes" | "no" | undefined;
|
|
864
868
|
radioGroup?: string | undefined;
|
|
865
869
|
role?: import("react").AriaRole | undefined;
|
|
866
870
|
about?: string | undefined;
|
|
@@ -884,19 +888,19 @@ declare function ShadcnField(props: HTMLAttributes<HTMLDivElement>): import("rea
|
|
|
884
888
|
itemRef?: string | undefined;
|
|
885
889
|
results?: number | undefined;
|
|
886
890
|
security?: string | undefined;
|
|
887
|
-
unselectable?: "
|
|
888
|
-
popover?: "" | "auto" | "
|
|
889
|
-
popoverTargetAction?: "
|
|
891
|
+
unselectable?: "on" | "off" | undefined;
|
|
892
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
893
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
890
894
|
popoverTarget?: string | undefined;
|
|
891
895
|
inert?: boolean | undefined;
|
|
892
|
-
inputMode?: "
|
|
896
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
893
897
|
is?: string | undefined;
|
|
894
898
|
exportparts?: string | undefined;
|
|
895
899
|
part?: string | undefined;
|
|
896
900
|
className: string;
|
|
897
901
|
}, HTMLElement>;
|
|
898
902
|
declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>): import("react").DetailedReactHTMLElement<{
|
|
899
|
-
children?: import("react").ReactNode;
|
|
903
|
+
children?: import("react").ReactNode | undefined;
|
|
900
904
|
dangerouslySetInnerHTML?: {
|
|
901
905
|
__html: string | TrustedHTML;
|
|
902
906
|
} | undefined;
|
|
@@ -1070,34 +1074,34 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1070
1074
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLLabelElement> | undefined;
|
|
1071
1075
|
"aria-activedescendant"?: string | undefined;
|
|
1072
1076
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
1073
|
-
"aria-autocomplete"?: "
|
|
1077
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
1074
1078
|
"aria-braillelabel"?: string | undefined;
|
|
1075
1079
|
"aria-brailleroledescription"?: string | undefined;
|
|
1076
1080
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
1077
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
1081
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1078
1082
|
"aria-colcount"?: number | undefined;
|
|
1079
1083
|
"aria-colindex"?: number | undefined;
|
|
1080
1084
|
"aria-colindextext"?: string | undefined;
|
|
1081
1085
|
"aria-colspan"?: number | undefined;
|
|
1082
1086
|
"aria-controls"?: string | undefined;
|
|
1083
|
-
"aria-current"?:
|
|
1087
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
1084
1088
|
"aria-describedby"?: string | undefined;
|
|
1085
1089
|
"aria-description"?: string | undefined;
|
|
1086
1090
|
"aria-details"?: string | undefined;
|
|
1087
1091
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
1088
|
-
"aria-dropeffect"?: "
|
|
1092
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
1089
1093
|
"aria-errormessage"?: string | undefined;
|
|
1090
1094
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
1091
1095
|
"aria-flowto"?: string | undefined;
|
|
1092
1096
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
1093
|
-
"aria-haspopup"?:
|
|
1097
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
1094
1098
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
1095
|
-
"aria-invalid"?: "false" | "
|
|
1099
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
1096
1100
|
"aria-keyshortcuts"?: string | undefined;
|
|
1097
1101
|
"aria-label"?: string | undefined;
|
|
1098
1102
|
"aria-labelledby"?: string | undefined;
|
|
1099
1103
|
"aria-level"?: number | undefined;
|
|
1100
|
-
"aria-live"?: "
|
|
1104
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
1101
1105
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
1102
1106
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
1103
1107
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1105,7 +1109,7 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1105
1109
|
"aria-owns"?: string | undefined;
|
|
1106
1110
|
"aria-placeholder"?: string | undefined;
|
|
1107
1111
|
"aria-posinset"?: number | undefined;
|
|
1108
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
1112
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1109
1113
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
1110
1114
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
1111
1115
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1116,7 +1120,7 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1116
1120
|
"aria-rowspan"?: number | undefined;
|
|
1117
1121
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
1118
1122
|
"aria-setsize"?: number | undefined;
|
|
1119
|
-
"aria-sort"?: "
|
|
1123
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
1120
1124
|
"aria-valuemax"?: number | undefined;
|
|
1121
1125
|
"aria-valuemin"?: number | undefined;
|
|
1122
1126
|
"aria-valuenow"?: number | undefined;
|
|
@@ -1126,13 +1130,13 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1126
1130
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1127
1131
|
suppressHydrationWarning?: boolean | undefined;
|
|
1128
1132
|
accessKey?: string | undefined;
|
|
1129
|
-
autoCapitalize?: "
|
|
1133
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
1130
1134
|
autoFocus?: boolean | undefined;
|
|
1131
|
-
contentEditable?: "
|
|
1135
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
1132
1136
|
contextMenu?: string | undefined;
|
|
1133
1137
|
dir?: string | undefined;
|
|
1134
1138
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
1135
|
-
enterKeyHint?: "
|
|
1139
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
1136
1140
|
hidden?: boolean | undefined;
|
|
1137
1141
|
id?: string | undefined;
|
|
1138
1142
|
lang?: string | undefined;
|
|
@@ -1142,7 +1146,7 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1142
1146
|
style?: import("react").CSSProperties | undefined;
|
|
1143
1147
|
tabIndex?: number | undefined;
|
|
1144
1148
|
title?: string | undefined;
|
|
1145
|
-
translate?: "
|
|
1149
|
+
translate?: "yes" | "no" | undefined;
|
|
1146
1150
|
radioGroup?: string | undefined;
|
|
1147
1151
|
role?: import("react").AriaRole | undefined;
|
|
1148
1152
|
about?: string | undefined;
|
|
@@ -1166,12 +1170,12 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1166
1170
|
itemRef?: string | undefined;
|
|
1167
1171
|
results?: number | undefined;
|
|
1168
1172
|
security?: string | undefined;
|
|
1169
|
-
unselectable?: "
|
|
1170
|
-
popover?: "" | "auto" | "
|
|
1171
|
-
popoverTargetAction?: "
|
|
1173
|
+
unselectable?: "on" | "off" | undefined;
|
|
1174
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
1175
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
1172
1176
|
popoverTarget?: string | undefined;
|
|
1173
1177
|
inert?: boolean | undefined;
|
|
1174
|
-
inputMode?: "
|
|
1178
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1175
1179
|
is?: string | undefined;
|
|
1176
1180
|
exportparts?: string | undefined;
|
|
1177
1181
|
part?: string | undefined;
|
|
@@ -1180,7 +1184,7 @@ declare function ShadcnFieldLabel(props: LabelHTMLAttributes<HTMLLabelElement>):
|
|
|
1180
1184
|
className: string;
|
|
1181
1185
|
}, HTMLElement>;
|
|
1182
1186
|
declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphElement>): import("react").DetailedReactHTMLElement<{
|
|
1183
|
-
children?: import("react").ReactNode;
|
|
1187
|
+
children?: import("react").ReactNode | undefined;
|
|
1184
1188
|
dangerouslySetInnerHTML?: {
|
|
1185
1189
|
__html: string | TrustedHTML;
|
|
1186
1190
|
} | undefined;
|
|
@@ -1354,34 +1358,34 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1354
1358
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
1355
1359
|
"aria-activedescendant"?: string | undefined;
|
|
1356
1360
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
1357
|
-
"aria-autocomplete"?: "
|
|
1361
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
1358
1362
|
"aria-braillelabel"?: string | undefined;
|
|
1359
1363
|
"aria-brailleroledescription"?: string | undefined;
|
|
1360
1364
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
1361
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
1365
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1362
1366
|
"aria-colcount"?: number | undefined;
|
|
1363
1367
|
"aria-colindex"?: number | undefined;
|
|
1364
1368
|
"aria-colindextext"?: string | undefined;
|
|
1365
1369
|
"aria-colspan"?: number | undefined;
|
|
1366
1370
|
"aria-controls"?: string | undefined;
|
|
1367
|
-
"aria-current"?:
|
|
1371
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
1368
1372
|
"aria-describedby"?: string | undefined;
|
|
1369
1373
|
"aria-description"?: string | undefined;
|
|
1370
1374
|
"aria-details"?: string | undefined;
|
|
1371
1375
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
1372
|
-
"aria-dropeffect"?: "
|
|
1376
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
1373
1377
|
"aria-errormessage"?: string | undefined;
|
|
1374
1378
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
1375
1379
|
"aria-flowto"?: string | undefined;
|
|
1376
1380
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
1377
|
-
"aria-haspopup"?:
|
|
1381
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
1378
1382
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
1379
|
-
"aria-invalid"?: "false" | "
|
|
1383
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
1380
1384
|
"aria-keyshortcuts"?: string | undefined;
|
|
1381
1385
|
"aria-label"?: string | undefined;
|
|
1382
1386
|
"aria-labelledby"?: string | undefined;
|
|
1383
1387
|
"aria-level"?: number | undefined;
|
|
1384
|
-
"aria-live"?: "
|
|
1388
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
1385
1389
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
1386
1390
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
1387
1391
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1389,7 +1393,7 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1389
1393
|
"aria-owns"?: string | undefined;
|
|
1390
1394
|
"aria-placeholder"?: string | undefined;
|
|
1391
1395
|
"aria-posinset"?: number | undefined;
|
|
1392
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
1396
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1393
1397
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
1394
1398
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
1395
1399
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1400,7 +1404,7 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1400
1404
|
"aria-rowspan"?: number | undefined;
|
|
1401
1405
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
1402
1406
|
"aria-setsize"?: number | undefined;
|
|
1403
|
-
"aria-sort"?: "
|
|
1407
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
1404
1408
|
"aria-valuemax"?: number | undefined;
|
|
1405
1409
|
"aria-valuemin"?: number | undefined;
|
|
1406
1410
|
"aria-valuenow"?: number | undefined;
|
|
@@ -1410,13 +1414,13 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1410
1414
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1411
1415
|
suppressHydrationWarning?: boolean | undefined;
|
|
1412
1416
|
accessKey?: string | undefined;
|
|
1413
|
-
autoCapitalize?: "
|
|
1417
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
1414
1418
|
autoFocus?: boolean | undefined;
|
|
1415
|
-
contentEditable?: "
|
|
1419
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
1416
1420
|
contextMenu?: string | undefined;
|
|
1417
1421
|
dir?: string | undefined;
|
|
1418
1422
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
1419
|
-
enterKeyHint?: "
|
|
1423
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
1420
1424
|
hidden?: boolean | undefined;
|
|
1421
1425
|
id?: string | undefined;
|
|
1422
1426
|
lang?: string | undefined;
|
|
@@ -1426,7 +1430,7 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1426
1430
|
style?: import("react").CSSProperties | undefined;
|
|
1427
1431
|
tabIndex?: number | undefined;
|
|
1428
1432
|
title?: string | undefined;
|
|
1429
|
-
translate?: "
|
|
1433
|
+
translate?: "yes" | "no" | undefined;
|
|
1430
1434
|
radioGroup?: string | undefined;
|
|
1431
1435
|
role?: import("react").AriaRole | undefined;
|
|
1432
1436
|
about?: string | undefined;
|
|
@@ -1450,19 +1454,19 @@ declare function ShadcnFieldDescription(props: HTMLAttributes<HTMLParagraphEleme
|
|
|
1450
1454
|
itemRef?: string | undefined;
|
|
1451
1455
|
results?: number | undefined;
|
|
1452
1456
|
security?: string | undefined;
|
|
1453
|
-
unselectable?: "
|
|
1454
|
-
popover?: "" | "auto" | "
|
|
1455
|
-
popoverTargetAction?: "
|
|
1457
|
+
unselectable?: "on" | "off" | undefined;
|
|
1458
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
1459
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
1456
1460
|
popoverTarget?: string | undefined;
|
|
1457
1461
|
inert?: boolean | undefined;
|
|
1458
|
-
inputMode?: "
|
|
1462
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1459
1463
|
is?: string | undefined;
|
|
1460
1464
|
exportparts?: string | undefined;
|
|
1461
1465
|
part?: string | undefined;
|
|
1462
1466
|
className: string;
|
|
1463
1467
|
}, HTMLElement>;
|
|
1464
1468
|
declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>): import("react").DetailedReactHTMLElement<{
|
|
1465
|
-
children?: import("react").ReactNode;
|
|
1469
|
+
children?: import("react").ReactNode | undefined;
|
|
1466
1470
|
dangerouslySetInnerHTML?: {
|
|
1467
1471
|
__html: string | TrustedHTML;
|
|
1468
1472
|
} | undefined;
|
|
@@ -1636,34 +1640,34 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1636
1640
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLParagraphElement> | undefined;
|
|
1637
1641
|
"aria-activedescendant"?: string | undefined;
|
|
1638
1642
|
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
1639
|
-
"aria-autocomplete"?: "
|
|
1643
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
1640
1644
|
"aria-braillelabel"?: string | undefined;
|
|
1641
1645
|
"aria-brailleroledescription"?: string | undefined;
|
|
1642
1646
|
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
1643
|
-
"aria-checked"?: "false" | "mixed" | "true" |
|
|
1647
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1644
1648
|
"aria-colcount"?: number | undefined;
|
|
1645
1649
|
"aria-colindex"?: number | undefined;
|
|
1646
1650
|
"aria-colindextext"?: string | undefined;
|
|
1647
1651
|
"aria-colspan"?: number | undefined;
|
|
1648
1652
|
"aria-controls"?: string | undefined;
|
|
1649
|
-
"aria-current"?:
|
|
1653
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
1650
1654
|
"aria-describedby"?: string | undefined;
|
|
1651
1655
|
"aria-description"?: string | undefined;
|
|
1652
1656
|
"aria-details"?: string | undefined;
|
|
1653
1657
|
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
1654
|
-
"aria-dropeffect"?: "
|
|
1658
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
1655
1659
|
"aria-errormessage"?: string | undefined;
|
|
1656
1660
|
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
1657
1661
|
"aria-flowto"?: string | undefined;
|
|
1658
1662
|
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
1659
|
-
"aria-haspopup"?:
|
|
1663
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
1660
1664
|
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
1661
|
-
"aria-invalid"?: "false" | "
|
|
1665
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
1662
1666
|
"aria-keyshortcuts"?: string | undefined;
|
|
1663
1667
|
"aria-label"?: string | undefined;
|
|
1664
1668
|
"aria-labelledby"?: string | undefined;
|
|
1665
1669
|
"aria-level"?: number | undefined;
|
|
1666
|
-
"aria-live"?: "
|
|
1670
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
1667
1671
|
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
1668
1672
|
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
1669
1673
|
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1671,7 +1675,7 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1671
1675
|
"aria-owns"?: string | undefined;
|
|
1672
1676
|
"aria-placeholder"?: string | undefined;
|
|
1673
1677
|
"aria-posinset"?: number | undefined;
|
|
1674
|
-
"aria-pressed"?: "false" | "mixed" | "true" |
|
|
1678
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
1675
1679
|
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
1676
1680
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
1677
1681
|
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
@@ -1682,7 +1686,7 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1682
1686
|
"aria-rowspan"?: number | undefined;
|
|
1683
1687
|
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
1684
1688
|
"aria-setsize"?: number | undefined;
|
|
1685
|
-
"aria-sort"?: "
|
|
1689
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
1686
1690
|
"aria-valuemax"?: number | undefined;
|
|
1687
1691
|
"aria-valuemin"?: number | undefined;
|
|
1688
1692
|
"aria-valuenow"?: number | undefined;
|
|
@@ -1692,13 +1696,13 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1692
1696
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1693
1697
|
suppressHydrationWarning?: boolean | undefined;
|
|
1694
1698
|
accessKey?: string | undefined;
|
|
1695
|
-
autoCapitalize?: "
|
|
1699
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
1696
1700
|
autoFocus?: boolean | undefined;
|
|
1697
|
-
contentEditable?: "
|
|
1701
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
1698
1702
|
contextMenu?: string | undefined;
|
|
1699
1703
|
dir?: string | undefined;
|
|
1700
1704
|
draggable?: ("false" | "true" | boolean) | undefined;
|
|
1701
|
-
enterKeyHint?: "
|
|
1705
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
1702
1706
|
hidden?: boolean | undefined;
|
|
1703
1707
|
id?: string | undefined;
|
|
1704
1708
|
lang?: string | undefined;
|
|
@@ -1708,7 +1712,7 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1708
1712
|
style?: import("react").CSSProperties | undefined;
|
|
1709
1713
|
tabIndex?: number | undefined;
|
|
1710
1714
|
title?: string | undefined;
|
|
1711
|
-
translate?: "
|
|
1715
|
+
translate?: "yes" | "no" | undefined;
|
|
1712
1716
|
radioGroup?: string | undefined;
|
|
1713
1717
|
role?: import("react").AriaRole | undefined;
|
|
1714
1718
|
about?: string | undefined;
|
|
@@ -1732,12 +1736,12 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1732
1736
|
itemRef?: string | undefined;
|
|
1733
1737
|
results?: number | undefined;
|
|
1734
1738
|
security?: string | undefined;
|
|
1735
|
-
unselectable?: "
|
|
1736
|
-
popover?: "" | "auto" | "
|
|
1737
|
-
popoverTargetAction?: "
|
|
1739
|
+
unselectable?: "on" | "off" | undefined;
|
|
1740
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
1741
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
1738
1742
|
popoverTarget?: string | undefined;
|
|
1739
1743
|
inert?: boolean | undefined;
|
|
1740
|
-
inputMode?: "
|
|
1744
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
1741
1745
|
is?: string | undefined;
|
|
1742
1746
|
exportparts?: string | undefined;
|
|
1743
1747
|
part?: string | undefined;
|
|
@@ -1746,14 +1750,14 @@ declare function ShadcnFieldMessage(props: HTMLAttributes<HTMLParagraphElement>)
|
|
|
1746
1750
|
export declare const shadcnComponentMap: {
|
|
1747
1751
|
Checkbox: import("react").MemoExoticComponent<(props: InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
1748
1752
|
Combobox: import("react").MemoExoticComponent<({ options, id, ...props }: Omit<InputHTMLAttributes<HTMLInputElement>, "list"> & {
|
|
1749
|
-
options?:
|
|
1753
|
+
options?: FormFieldOption[];
|
|
1750
1754
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
1751
1755
|
Switch: import("react").MemoExoticComponent<(props: InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
1752
1756
|
DatePicker: import("react").MemoExoticComponent<(props: InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
1753
1757
|
FileInput: import("react").MemoExoticComponent<(props: InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element>;
|
|
1754
1758
|
RadioGroup: import("react").MemoExoticComponent<({ options, name, ...props }: InputHTMLAttributes<HTMLInputElement> & {
|
|
1755
1759
|
name: string;
|
|
1756
|
-
options?:
|
|
1760
|
+
options?: FormFieldOption[];
|
|
1757
1761
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
1758
1762
|
Input: typeof ShadcnInput;
|
|
1759
1763
|
Textarea: typeof ShadcnTextarea;
|