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