|
1 | 1 | { |
2 | | - "version": "0.0.44-alpha.9", |
3 | | - "generatedAt": "2025-10-26T08:33:49.764Z", |
| 2 | + "version": "0.0.44-alpha.10", |
| 3 | + "generatedAt": "2025-10-26T08:36:33.598Z", |
4 | 4 | "count": 18, |
5 | 5 | "components": { |
6 | 6 | "Textarea": { |
|
387 | 387 | ], |
388 | 388 | "source": "src/components/Panel/Panel.schema.ts" |
389 | 389 | }, |
| 390 | + "Label": { |
| 391 | + "name": "Label", |
| 392 | + "category": "form", |
| 393 | + "since": "0.1.1", |
| 394 | + "a11yNotes": [ |
| 395 | + "Supports page heading mode by rendering an <h1> containing a nested <label> to retain association." |
| 396 | + ], |
| 397 | + "props": [ |
| 398 | + { |
| 399 | + "name": "htmlFor", |
| 400 | + "type": "string", |
| 401 | + "description": "ID of associated form control" |
| 402 | + }, |
| 403 | + { |
| 404 | + "name": "className", |
| 405 | + "type": "string", |
| 406 | + "description": "Additional CSS classes" |
| 407 | + }, |
| 408 | + { |
| 409 | + "name": "isPageHeading", |
| 410 | + "type": "boolean", |
| 411 | + "defaultValue": "false", |
| 412 | + "description": "Render as page heading (h1 wrapper)" |
| 413 | + }, |
| 414 | + { |
| 415 | + "name": "size", |
| 416 | + "type": "'xl'|'l'|'m'|'s'", |
| 417 | + "defaultValue": "m", |
| 418 | + "description": "Size variant" |
| 419 | + }, |
| 420 | + { |
| 421 | + "name": "children", |
| 422 | + "type": "ReactNode|string", |
| 423 | + "required": true, |
| 424 | + "description": "Label content" |
| 425 | + } |
| 426 | + ], |
| 427 | + "source": "src/components/Label/Label.schema.ts" |
| 428 | + }, |
390 | 429 | "InsetText": { |
391 | 430 | "name": "InsetText", |
392 | 431 | "category": "content", |
|
598 | 637 | ], |
599 | 638 | "source": "src/components/Heading/Heading.schema.ts" |
600 | 639 | }, |
601 | | - "Label": { |
602 | | - "name": "Label", |
603 | | - "category": "form", |
604 | | - "since": "0.1.1", |
605 | | - "a11yNotes": [ |
606 | | - "Supports page heading mode by rendering an <h1> containing a nested <label> to retain association." |
607 | | - ], |
608 | | - "props": [ |
609 | | - { |
610 | | - "name": "htmlFor", |
611 | | - "type": "string", |
612 | | - "description": "ID of associated form control" |
613 | | - }, |
614 | | - { |
615 | | - "name": "className", |
616 | | - "type": "string", |
617 | | - "description": "Additional CSS classes" |
618 | | - }, |
619 | | - { |
620 | | - "name": "isPageHeading", |
621 | | - "type": "boolean", |
622 | | - "defaultValue": "false", |
623 | | - "description": "Render as page heading (h1 wrapper)" |
624 | | - }, |
625 | | - { |
626 | | - "name": "size", |
627 | | - "type": "'xl'|'l'|'m'|'s'", |
628 | | - "defaultValue": "m", |
629 | | - "description": "Size variant" |
630 | | - }, |
631 | | - { |
632 | | - "name": "children", |
633 | | - "type": "ReactNode|string", |
634 | | - "required": true, |
635 | | - "description": "Label content" |
636 | | - } |
637 | | - ], |
638 | | - "source": "src/components/Label/Label.schema.ts" |
639 | | - }, |
640 | 640 | "Hint": { |
641 | 641 | "name": "Hint", |
642 | 642 | "category": "typography", |
|
697 | 697 | ], |
698 | 698 | "source": "src/components/Fieldset/Fieldset.schema.ts" |
699 | 699 | }, |
| 700 | + "ErrorMessage": { |
| 701 | + "name": "ErrorMessage", |
| 702 | + "category": "form", |
| 703 | + "since": "0.1.1", |
| 704 | + "a11yNotes": [ |
| 705 | + "Includes visually hidden prefix text (default \"Error:\") to aid screen reader users." |
| 706 | + ], |
| 707 | + "props": [ |
| 708 | + { |
| 709 | + "name": "id", |
| 710 | + "type": "string", |
| 711 | + "description": "HTML id attribute" |
| 712 | + }, |
| 713 | + { |
| 714 | + "name": "className", |
| 715 | + "type": "string", |
| 716 | + "description": "Additional CSS classes" |
| 717 | + }, |
| 718 | + { |
| 719 | + "name": "visuallyHiddenText", |
| 720 | + "type": "string", |
| 721 | + "defaultValue": "Error:", |
| 722 | + "description": "Prefix announced to screen readers" |
| 723 | + }, |
| 724 | + { |
| 725 | + "name": "children", |
| 726 | + "type": "ReactNode|string", |
| 727 | + "required": true, |
| 728 | + "description": "Error message content" |
| 729 | + } |
| 730 | + ], |
| 731 | + "source": "src/components/ErrorMessage/ErrorMessage.schema.ts" |
| 732 | + }, |
700 | 733 | "ErrorSummary": { |
701 | 734 | "name": "ErrorSummary", |
702 | 735 | "category": "form", |
|
746 | 779 | ], |
747 | 780 | "source": "src/components/ErrorSummary/ErrorSummary.schema.ts" |
748 | 781 | }, |
749 | | - "ErrorMessage": { |
750 | | - "name": "ErrorMessage", |
751 | | - "category": "form", |
752 | | - "since": "0.1.1", |
753 | | - "a11yNotes": [ |
754 | | - "Includes visually hidden prefix text (default \"Error:\") to aid screen reader users." |
755 | | - ], |
756 | | - "props": [ |
757 | | - { |
758 | | - "name": "id", |
759 | | - "type": "string", |
760 | | - "description": "HTML id attribute" |
761 | | - }, |
762 | | - { |
763 | | - "name": "className", |
764 | | - "type": "string", |
765 | | - "description": "Additional CSS classes" |
766 | | - }, |
767 | | - { |
768 | | - "name": "visuallyHiddenText", |
769 | | - "type": "string", |
770 | | - "defaultValue": "Error:", |
771 | | - "description": "Prefix announced to screen readers" |
772 | | - }, |
773 | | - { |
774 | | - "name": "children", |
775 | | - "type": "ReactNode|string", |
776 | | - "required": true, |
777 | | - "description": "Error message content" |
778 | | - } |
779 | | - ], |
780 | | - "source": "src/components/ErrorMessage/ErrorMessage.schema.ts" |
781 | | - }, |
782 | 782 | "Details": { |
783 | 783 | "name": "Details", |
784 | 784 | "category": "content", |
|
960 | 960 | ], |
961 | 961 | "source": "src/components/CharacterCount/CharacterCount.schema.ts" |
962 | 962 | }, |
| 963 | + "Checkboxes": { |
| 964 | + "name": "Checkboxes", |
| 965 | + "props": [ |
| 966 | + { |
| 967 | + "name": "items", |
| 968 | + "type": "CheckboxItem[]", |
| 969 | + "required": true, |
| 970 | + "description": "Array of checkbox items" |
| 971 | + }, |
| 972 | + { |
| 973 | + "name": "name", |
| 974 | + "type": "string", |
| 975 | + "required": true, |
| 976 | + "description": "Shared name attribute" |
| 977 | + }, |
| 978 | + { |
| 979 | + "name": "idPrefix", |
| 980 | + "type": "string", |
| 981 | + "description": "ID prefix for fieldset and inputs" |
| 982 | + }, |
| 983 | + { |
| 984 | + "name": "legend", |
| 985 | + "type": "string", |
| 986 | + "description": "Legend text" |
| 987 | + }, |
| 988 | + { |
| 989 | + "name": "isPageHeading", |
| 990 | + "type": "boolean", |
| 991 | + "description": "Legend rendered as page heading" |
| 992 | + }, |
| 993 | + { |
| 994 | + "name": "legendSize", |
| 995 | + "type": "\"xl\"|\"l\"|\"m\"|\"s\"", |
| 996 | + "description": "Legend size" |
| 997 | + }, |
| 998 | + { |
| 999 | + "name": "hint", |
| 1000 | + "type": "string", |
| 1001 | + "description": "Group hint text" |
| 1002 | + }, |
| 1003 | + { |
| 1004 | + "name": "errorMessage", |
| 1005 | + "type": "string", |
| 1006 | + "description": "Group error message" |
| 1007 | + }, |
| 1008 | + { |
| 1009 | + "name": "className", |
| 1010 | + "type": "string", |
| 1011 | + "description": "Extra wrapper classes" |
| 1012 | + }, |
| 1013 | + { |
| 1014 | + "name": "small", |
| 1015 | + "type": "boolean", |
| 1016 | + "description": "Small variant" |
| 1017 | + } |
| 1018 | + ], |
| 1019 | + "source": "src/components/Checkboxes/Checkboxes.schema.ts" |
| 1020 | + }, |
963 | 1021 | "Button": { |
964 | 1022 | "name": "Button", |
965 | 1023 | "category": "form", |
|
1053 | 1111 | } |
1054 | 1112 | ], |
1055 | 1113 | "source": "src/components/Button/Button.schema.ts" |
1056 | | - }, |
1057 | | - "Checkboxes": { |
1058 | | - "name": "Checkboxes", |
1059 | | - "props": [ |
1060 | | - { |
1061 | | - "name": "items", |
1062 | | - "type": "CheckboxItem[]", |
1063 | | - "required": true, |
1064 | | - "description": "Array of checkbox items" |
1065 | | - }, |
1066 | | - { |
1067 | | - "name": "name", |
1068 | | - "type": "string", |
1069 | | - "required": true, |
1070 | | - "description": "Shared name attribute" |
1071 | | - }, |
1072 | | - { |
1073 | | - "name": "idPrefix", |
1074 | | - "type": "string", |
1075 | | - "description": "ID prefix for fieldset and inputs" |
1076 | | - }, |
1077 | | - { |
1078 | | - "name": "legend", |
1079 | | - "type": "string", |
1080 | | - "description": "Legend text" |
1081 | | - }, |
1082 | | - { |
1083 | | - "name": "isPageHeading", |
1084 | | - "type": "boolean", |
1085 | | - "description": "Legend rendered as page heading" |
1086 | | - }, |
1087 | | - { |
1088 | | - "name": "legendSize", |
1089 | | - "type": "\"xl\"|\"l\"|\"m\"|\"s\"", |
1090 | | - "description": "Legend size" |
1091 | | - }, |
1092 | | - { |
1093 | | - "name": "hint", |
1094 | | - "type": "string", |
1095 | | - "description": "Group hint text" |
1096 | | - }, |
1097 | | - { |
1098 | | - "name": "errorMessage", |
1099 | | - "type": "string", |
1100 | | - "description": "Group error message" |
1101 | | - }, |
1102 | | - { |
1103 | | - "name": "className", |
1104 | | - "type": "string", |
1105 | | - "description": "Extra wrapper classes" |
1106 | | - }, |
1107 | | - { |
1108 | | - "name": "small", |
1109 | | - "type": "boolean", |
1110 | | - "description": "Small variant" |
1111 | | - } |
1112 | | - ], |
1113 | | - "source": "src/components/Checkboxes/Checkboxes.schema.ts" |
1114 | 1114 | } |
1115 | 1115 | }, |
1116 | 1116 | "categories": { |
1117 | 1117 | "form": [ |
1118 | 1118 | "Textarea", |
1119 | 1119 | "Select", |
1120 | 1120 | "Radios", |
1121 | | - "Input", |
1122 | 1121 | "Label", |
| 1122 | + "Input", |
1123 | 1123 | "Fieldset", |
1124 | | - "ErrorSummary", |
1125 | 1124 | "ErrorMessage", |
| 1125 | + "ErrorSummary", |
1126 | 1126 | "DateInput", |
1127 | 1127 | "Button" |
1128 | 1128 | ], |
|
0 commit comments