|
1 | 1 | { |
2 | 2 | "version": "0.0.44-alpha.0", |
3 | | - "generatedAt": "2025-10-25T14:47:35.585Z", |
| 3 | + "generatedAt": "2025-10-25T14:48:59.044Z", |
4 | 4 | "count": 18, |
5 | 5 | "components": { |
6 | 6 | "Textarea": { |
|
449 | 449 | ], |
450 | 450 | "source": "src/components/InsetText/InsetText.schema.ts" |
451 | 451 | }, |
| 452 | + "Hint": { |
| 453 | + "name": "Hint", |
| 454 | + "category": "typography", |
| 455 | + "since": "0.1.1", |
| 456 | + "a11yNotes": [ |
| 457 | + "Provides supporting contextual help text associated with a form field or section." |
| 458 | + ], |
| 459 | + "props": [ |
| 460 | + { |
| 461 | + "name": "id", |
| 462 | + "type": "string", |
| 463 | + "description": "HTML id attribute" |
| 464 | + }, |
| 465 | + { |
| 466 | + "name": "className", |
| 467 | + "type": "string", |
| 468 | + "description": "Additional CSS classes" |
| 469 | + }, |
| 470 | + { |
| 471 | + "name": "children", |
| 472 | + "type": "ReactNode|string", |
| 473 | + "required": true, |
| 474 | + "description": "Hint content" |
| 475 | + } |
| 476 | + ], |
| 477 | + "source": "src/components/Hint/Hint.schema.ts" |
| 478 | + }, |
452 | 479 | "Input": { |
453 | 480 | "name": "Input", |
454 | 481 | "category": "form", |
|
591 | 618 | ], |
592 | 619 | "source": "src/components/Input/Input.schema.ts" |
593 | 620 | }, |
594 | | - "Hint": { |
595 | | - "name": "Hint", |
596 | | - "category": "typography", |
597 | | - "since": "0.1.1", |
598 | | - "a11yNotes": [ |
599 | | - "Provides supporting contextual help text associated with a form field or section." |
600 | | - ], |
601 | | - "props": [ |
602 | | - { |
603 | | - "name": "id", |
604 | | - "type": "string", |
605 | | - "description": "HTML id attribute" |
606 | | - }, |
607 | | - { |
608 | | - "name": "className", |
609 | | - "type": "string", |
610 | | - "description": "Additional CSS classes" |
611 | | - }, |
612 | | - { |
613 | | - "name": "children", |
614 | | - "type": "ReactNode|string", |
615 | | - "required": true, |
616 | | - "description": "Hint content" |
617 | | - } |
618 | | - ], |
619 | | - "source": "src/components/Hint/Hint.schema.ts" |
620 | | - }, |
621 | 621 | "Heading": { |
622 | 622 | "name": "Heading", |
623 | 623 | "category": "typography", |
|
938 | 938 | ], |
939 | 939 | "source": "src/components/Checkboxes/Checkboxes.schema.ts" |
940 | 940 | }, |
| 941 | + "CharacterCount": { |
| 942 | + "name": "CharacterCount", |
| 943 | + "props": [ |
| 944 | + { |
| 945 | + "name": "id", |
| 946 | + "type": "string", |
| 947 | + "required": true, |
| 948 | + "description": "Unique id for textarea and message association" |
| 949 | + }, |
| 950 | + { |
| 951 | + "name": "name", |
| 952 | + "type": "string", |
| 953 | + "required": true, |
| 954 | + "description": "Name attribute for textarea" |
| 955 | + }, |
| 956 | + { |
| 957 | + "name": "value", |
| 958 | + "type": "string", |
| 959 | + "required": false, |
| 960 | + "description": "Current value (controlled)" |
| 961 | + }, |
| 962 | + { |
| 963 | + "name": "defaultValue", |
| 964 | + "type": "string", |
| 965 | + "required": false, |
| 966 | + "description": "Initial value (uncontrolled)" |
| 967 | + }, |
| 968 | + { |
| 969 | + "name": "rows", |
| 970 | + "type": "number", |
| 971 | + "required": false, |
| 972 | + "defaultValue": "5", |
| 973 | + "description": "Textarea rows" |
| 974 | + }, |
| 975 | + { |
| 976 | + "name": "maxLength", |
| 977 | + "type": "number", |
| 978 | + "required": false, |
| 979 | + "description": "Maximum characters" |
| 980 | + }, |
| 981 | + { |
| 982 | + "name": "maxWords", |
| 983 | + "type": "number", |
| 984 | + "required": false, |
| 985 | + "description": "Maximum words (alternative to maxLength)" |
| 986 | + }, |
| 987 | + { |
| 988 | + "name": "threshold", |
| 989 | + "type": "number", |
| 990 | + "required": false, |
| 991 | + "defaultValue": "75", |
| 992 | + "description": "Threshold percentage to show counter" |
| 993 | + }, |
| 994 | + { |
| 995 | + "name": "className", |
| 996 | + "type": "string", |
| 997 | + "required": false, |
| 998 | + "description": "Wrapper extra classes" |
| 999 | + }, |
| 1000 | + { |
| 1001 | + "name": "countMessageClasses", |
| 1002 | + "type": "string", |
| 1003 | + "required": false, |
| 1004 | + "description": "Extra classes for message element" |
| 1005 | + }, |
| 1006 | + { |
| 1007 | + "name": "hasError", |
| 1008 | + "type": "boolean", |
| 1009 | + "required": false, |
| 1010 | + "description": "Force error styling" |
| 1011 | + }, |
| 1012 | + { |
| 1013 | + "name": "describedBy", |
| 1014 | + "type": "string", |
| 1015 | + "required": false, |
| 1016 | + "description": "aria-describedby ids" |
| 1017 | + } |
| 1018 | + ], |
| 1019 | + "source": "src/components/CharacterCount/CharacterCount.schema.ts" |
| 1020 | + }, |
941 | 1021 | "Button": { |
942 | 1022 | "name": "Button", |
943 | 1023 | "category": "form", |
|
1031 | 1111 | } |
1032 | 1112 | ], |
1033 | 1113 | "source": "src/components/Button/Button.schema.ts" |
1034 | | - }, |
1035 | | - "CharacterCount": { |
1036 | | - "name": "CharacterCount", |
1037 | | - "props": [ |
1038 | | - { |
1039 | | - "name": "id", |
1040 | | - "type": "string", |
1041 | | - "required": true, |
1042 | | - "description": "Unique id for textarea and message association" |
1043 | | - }, |
1044 | | - { |
1045 | | - "name": "name", |
1046 | | - "type": "string", |
1047 | | - "required": true, |
1048 | | - "description": "Name attribute for textarea" |
1049 | | - }, |
1050 | | - { |
1051 | | - "name": "value", |
1052 | | - "type": "string", |
1053 | | - "required": false, |
1054 | | - "description": "Current value (controlled)" |
1055 | | - }, |
1056 | | - { |
1057 | | - "name": "defaultValue", |
1058 | | - "type": "string", |
1059 | | - "required": false, |
1060 | | - "description": "Initial value (uncontrolled)" |
1061 | | - }, |
1062 | | - { |
1063 | | - "name": "rows", |
1064 | | - "type": "number", |
1065 | | - "required": false, |
1066 | | - "defaultValue": "5", |
1067 | | - "description": "Textarea rows" |
1068 | | - }, |
1069 | | - { |
1070 | | - "name": "maxLength", |
1071 | | - "type": "number", |
1072 | | - "required": false, |
1073 | | - "description": "Maximum characters" |
1074 | | - }, |
1075 | | - { |
1076 | | - "name": "maxWords", |
1077 | | - "type": "number", |
1078 | | - "required": false, |
1079 | | - "description": "Maximum words (alternative to maxLength)" |
1080 | | - }, |
1081 | | - { |
1082 | | - "name": "threshold", |
1083 | | - "type": "number", |
1084 | | - "required": false, |
1085 | | - "defaultValue": "75", |
1086 | | - "description": "Threshold percentage to show counter" |
1087 | | - }, |
1088 | | - { |
1089 | | - "name": "className", |
1090 | | - "type": "string", |
1091 | | - "required": false, |
1092 | | - "description": "Wrapper extra classes" |
1093 | | - }, |
1094 | | - { |
1095 | | - "name": "countMessageClasses", |
1096 | | - "type": "string", |
1097 | | - "required": false, |
1098 | | - "description": "Extra classes for message element" |
1099 | | - }, |
1100 | | - { |
1101 | | - "name": "hasError", |
1102 | | - "type": "boolean", |
1103 | | - "required": false, |
1104 | | - "description": "Force error styling" |
1105 | | - }, |
1106 | | - { |
1107 | | - "name": "describedBy", |
1108 | | - "type": "string", |
1109 | | - "required": false, |
1110 | | - "description": "aria-describedby ids" |
1111 | | - } |
1112 | | - ], |
1113 | | - "source": "src/components/CharacterCount/CharacterCount.schema.ts" |
1114 | 1114 | } |
1115 | 1115 | }, |
1116 | 1116 | "categories": { |
|
0 commit comments