|
1 | 1 | { |
2 | | - "version": "0.0.44-alpha.16", |
3 | | - "generatedAt": "2025-10-26T16:08:03.737Z", |
| 2 | + "version": "0.0.44-alpha.17", |
| 3 | + "generatedAt": "2025-10-26T16:08:58.672Z", |
4 | 4 | "count": 18, |
5 | 5 | "components": { |
6 | 6 | "Textarea": { |
|
192 | 192 | ], |
193 | 193 | "source": "src/components/Tag/Tag.schema.ts" |
194 | 194 | }, |
| 195 | + "Radios": { |
| 196 | + "name": "Radios", |
| 197 | + "category": "form", |
| 198 | + "since": "0.1.1", |
| 199 | + "a11yNotes": [ |
| 200 | + "Keyboard arrow navigation cycles through options.", |
| 201 | + "Conditional content container is hidden with --hidden class when inactive." |
| 202 | + ], |
| 203 | + "props": [ |
| 204 | + { |
| 205 | + "name": "name", |
| 206 | + "type": "string", |
| 207 | + "required": true, |
| 208 | + "description": "Group name" |
| 209 | + }, |
| 210 | + { |
| 211 | + "name": "value", |
| 212 | + "type": "string", |
| 213 | + "description": "Controlled selected value" |
| 214 | + }, |
| 215 | + { |
| 216 | + "name": "defaultValue", |
| 217 | + "type": "string", |
| 218 | + "description": "Uncontrolled initial value" |
| 219 | + }, |
| 220 | + { |
| 221 | + "name": "hasError", |
| 222 | + "type": "boolean", |
| 223 | + "defaultValue": "false", |
| 224 | + "description": "Error style" |
| 225 | + }, |
| 226 | + { |
| 227 | + "name": "describedBy", |
| 228 | + "type": "string", |
| 229 | + "description": "aria-describedby id list" |
| 230 | + }, |
| 231 | + { |
| 232 | + "name": "className", |
| 233 | + "type": "string", |
| 234 | + "description": "Extra CSS classes" |
| 235 | + }, |
| 236 | + { |
| 237 | + "name": "size", |
| 238 | + "type": "'normal'|'small'", |
| 239 | + "defaultValue": "normal", |
| 240 | + "description": "Size variant" |
| 241 | + }, |
| 242 | + { |
| 243 | + "name": "inline", |
| 244 | + "type": "boolean", |
| 245 | + "defaultValue": "false", |
| 246 | + "description": "Inline layout" |
| 247 | + }, |
| 248 | + { |
| 249 | + "name": "options", |
| 250 | + "type": "Array<{ value: string; text: string; hint?: string; disabled?: boolean; conditional?: any }>", |
| 251 | + "required": true, |
| 252 | + "description": "Radio options" |
| 253 | + } |
| 254 | + ], |
| 255 | + "source": "src/components/Radios/Radios.schema.ts" |
| 256 | + }, |
195 | 257 | "Select": { |
196 | 258 | "name": "Select", |
197 | 259 | "category": "form", |
|
281 | 343 | ], |
282 | 344 | "source": "src/components/Select/Select.schema.ts" |
283 | 345 | }, |
284 | | - "Radios": { |
285 | | - "name": "Radios", |
286 | | - "category": "form", |
287 | | - "since": "0.1.1", |
288 | | - "a11yNotes": [ |
289 | | - "Keyboard arrow navigation cycles through options.", |
290 | | - "Conditional content container is hidden with --hidden class when inactive." |
291 | | - ], |
292 | | - "props": [ |
293 | | - { |
294 | | - "name": "name", |
295 | | - "type": "string", |
296 | | - "required": true, |
297 | | - "description": "Group name" |
298 | | - }, |
299 | | - { |
300 | | - "name": "value", |
301 | | - "type": "string", |
302 | | - "description": "Controlled selected value" |
303 | | - }, |
304 | | - { |
305 | | - "name": "defaultValue", |
306 | | - "type": "string", |
307 | | - "description": "Uncontrolled initial value" |
308 | | - }, |
309 | | - { |
310 | | - "name": "hasError", |
311 | | - "type": "boolean", |
312 | | - "defaultValue": "false", |
313 | | - "description": "Error style" |
314 | | - }, |
315 | | - { |
316 | | - "name": "describedBy", |
317 | | - "type": "string", |
318 | | - "description": "aria-describedby id list" |
319 | | - }, |
320 | | - { |
321 | | - "name": "className", |
322 | | - "type": "string", |
323 | | - "description": "Extra CSS classes" |
324 | | - }, |
325 | | - { |
326 | | - "name": "size", |
327 | | - "type": "'normal'|'small'", |
328 | | - "defaultValue": "normal", |
329 | | - "description": "Size variant" |
330 | | - }, |
331 | | - { |
332 | | - "name": "inline", |
333 | | - "type": "boolean", |
334 | | - "defaultValue": "false", |
335 | | - "description": "Inline layout" |
336 | | - }, |
337 | | - { |
338 | | - "name": "options", |
339 | | - "type": "Array<{ value: string; text: string; hint?: string; disabled?: boolean; conditional?: any }>", |
340 | | - "required": true, |
341 | | - "description": "Radio options" |
342 | | - } |
343 | | - ], |
344 | | - "source": "src/components/Radios/Radios.schema.ts" |
345 | | - }, |
346 | 346 | "Panel": { |
347 | 347 | "name": "Panel", |
348 | 348 | "category": "content", |
|
426 | 426 | ], |
427 | 427 | "source": "src/components/Label/Label.schema.ts" |
428 | 428 | }, |
| 429 | + "InsetText": { |
| 430 | + "name": "InsetText", |
| 431 | + "category": "content", |
| 432 | + "since": "0.1.1", |
| 433 | + "props": [ |
| 434 | + { |
| 435 | + "name": "text", |
| 436 | + "type": "string", |
| 437 | + "description": "Plain text content (ignored if html is provided)" |
| 438 | + }, |
| 439 | + { |
| 440 | + "name": "html", |
| 441 | + "type": "string", |
| 442 | + "description": "HTML content (overrides text)" |
| 443 | + }, |
| 444 | + { |
| 445 | + "name": "className", |
| 446 | + "type": "string", |
| 447 | + "description": "Additional CSS classes" |
| 448 | + } |
| 449 | + ], |
| 450 | + "source": "src/components/InsetText/InsetText.schema.ts" |
| 451 | + }, |
429 | 452 | "Input": { |
430 | 453 | "name": "Input", |
431 | 454 | "category": "form", |
|
641 | 664 | ], |
642 | 665 | "source": "src/components/Heading/Heading.schema.ts" |
643 | 666 | }, |
644 | | - "InsetText": { |
645 | | - "name": "InsetText", |
646 | | - "category": "content", |
647 | | - "since": "0.1.1", |
648 | | - "props": [ |
649 | | - { |
650 | | - "name": "text", |
651 | | - "type": "string", |
652 | | - "description": "Plain text content (ignored if html is provided)" |
653 | | - }, |
654 | | - { |
655 | | - "name": "html", |
656 | | - "type": "string", |
657 | | - "description": "HTML content (overrides text)" |
658 | | - }, |
659 | | - { |
660 | | - "name": "className", |
661 | | - "type": "string", |
662 | | - "description": "Additional CSS classes" |
663 | | - } |
664 | | - ], |
665 | | - "source": "src/components/InsetText/InsetText.schema.ts" |
666 | | - }, |
667 | 667 | "Fieldset": { |
668 | 668 | "name": "Fieldset", |
669 | 669 | "category": "form", |
|
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": { |
1117 | 1117 | "form": [ |
1118 | 1118 | "Textarea", |
1119 | | - "Select", |
1120 | 1119 | "Radios", |
| 1120 | + "Select", |
1121 | 1121 | "Label", |
1122 | 1122 | "Input", |
1123 | 1123 | "Fieldset", |
|
0 commit comments