|
1 | 1 | { |
2 | | - "version": "0.0.41", |
3 | | - "generatedAt": "2025-10-22T08:35:33.145Z", |
| 2 | + "version": "0.0.42", |
| 3 | + "generatedAt": "2025-10-22T08:36:30.094Z", |
4 | 4 | "count": 18, |
5 | 5 | "components": { |
| 6 | + "Tag": { |
| 7 | + "name": "Tag", |
| 8 | + "category": "meta", |
| 9 | + "since": "0.1.1", |
| 10 | + "a11yNotes": [ |
| 11 | + "Close button (when closable) is a native button with aria-label \"Remove\"." |
| 12 | + ], |
| 13 | + "props": [ |
| 14 | + { |
| 15 | + "name": "text", |
| 16 | + "type": "string", |
| 17 | + "description": "Plain text content" |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "html", |
| 21 | + "type": "string", |
| 22 | + "description": "HTML string content (overrides text)" |
| 23 | + }, |
| 24 | + { |
| 25 | + "name": "children", |
| 26 | + "type": "ReactNode|string", |
| 27 | + "description": "Children content (highest precedence)" |
| 28 | + }, |
| 29 | + { |
| 30 | + "name": "color", |
| 31 | + "type": "'default'|'white'|'grey'|'green'|'aqua-green'|'blue'|'purple'|'pink'|'red'|'orange'|'yellow'", |
| 32 | + "defaultValue": "default", |
| 33 | + "description": "Visual color variant", |
| 34 | + "enum": [ |
| 35 | + "default", |
| 36 | + "white", |
| 37 | + "grey", |
| 38 | + "green", |
| 39 | + "aqua-green", |
| 40 | + "blue", |
| 41 | + "purple", |
| 42 | + "pink", |
| 43 | + "red", |
| 44 | + "orange", |
| 45 | + "yellow" |
| 46 | + ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "noBorder", |
| 50 | + "type": "boolean", |
| 51 | + "defaultValue": "false", |
| 52 | + "description": "Removes border style" |
| 53 | + }, |
| 54 | + { |
| 55 | + "name": "closable", |
| 56 | + "type": "boolean", |
| 57 | + "defaultValue": "false", |
| 58 | + "description": "Displays close (×) control" |
| 59 | + }, |
| 60 | + { |
| 61 | + "name": "onClose", |
| 62 | + "type": "() => void", |
| 63 | + "description": "Callback when close button clicked" |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "disabled", |
| 67 | + "type": "boolean", |
| 68 | + "defaultValue": "false", |
| 69 | + "description": "Disables close interaction" |
| 70 | + }, |
| 71 | + { |
| 72 | + "name": "className", |
| 73 | + "type": "string", |
| 74 | + "description": "Additional CSS classes" |
| 75 | + } |
| 76 | + ], |
| 77 | + "source": "src/components/Tag/Tag.schema.ts" |
| 78 | + }, |
6 | 79 | "Textarea": { |
7 | 80 | "name": "Textarea", |
8 | 81 | "category": "form", |
|
119 | 192 | ], |
120 | 193 | "source": "src/components/Textarea/Textarea.schema.ts" |
121 | 194 | }, |
122 | | - "Tag": { |
123 | | - "name": "Tag", |
124 | | - "category": "meta", |
| 195 | + "Radios": { |
| 196 | + "name": "Radios", |
| 197 | + "category": "form", |
125 | 198 | "since": "0.1.1", |
126 | 199 | "a11yNotes": [ |
127 | | - "Close button (when closable) is a native button with aria-label \"Remove\"." |
| 200 | + "Keyboard arrow navigation cycles through options.", |
| 201 | + "Conditional content container is hidden with --hidden class when inactive." |
128 | 202 | ], |
129 | 203 | "props": [ |
130 | 204 | { |
131 | | - "name": "text", |
| 205 | + "name": "name", |
132 | 206 | "type": "string", |
133 | | - "description": "Plain text content" |
| 207 | + "required": true, |
| 208 | + "description": "Group name" |
134 | 209 | }, |
135 | 210 | { |
136 | | - "name": "html", |
| 211 | + "name": "value", |
137 | 212 | "type": "string", |
138 | | - "description": "HTML string content (overrides text)" |
139 | | - }, |
140 | | - { |
141 | | - "name": "children", |
142 | | - "type": "ReactNode|string", |
143 | | - "description": "Children content (highest precedence)" |
| 213 | + "description": "Controlled selected value" |
144 | 214 | }, |
145 | 215 | { |
146 | | - "name": "color", |
147 | | - "type": "'default'|'white'|'grey'|'green'|'aqua-green'|'blue'|'purple'|'pink'|'red'|'orange'|'yellow'", |
148 | | - "defaultValue": "default", |
149 | | - "description": "Visual color variant", |
150 | | - "enum": [ |
151 | | - "default", |
152 | | - "white", |
153 | | - "grey", |
154 | | - "green", |
155 | | - "aqua-green", |
156 | | - "blue", |
157 | | - "purple", |
158 | | - "pink", |
159 | | - "red", |
160 | | - "orange", |
161 | | - "yellow" |
162 | | - ] |
| 216 | + "name": "defaultValue", |
| 217 | + "type": "string", |
| 218 | + "description": "Uncontrolled initial value" |
163 | 219 | }, |
164 | 220 | { |
165 | | - "name": "noBorder", |
| 221 | + "name": "hasError", |
166 | 222 | "type": "boolean", |
167 | 223 | "defaultValue": "false", |
168 | | - "description": "Removes border style" |
| 224 | + "description": "Error style" |
169 | 225 | }, |
170 | 226 | { |
171 | | - "name": "closable", |
172 | | - "type": "boolean", |
173 | | - "defaultValue": "false", |
174 | | - "description": "Displays close (×) control" |
| 227 | + "name": "describedBy", |
| 228 | + "type": "string", |
| 229 | + "description": "aria-describedby id list" |
175 | 230 | }, |
176 | 231 | { |
177 | | - "name": "onClose", |
178 | | - "type": "() => void", |
179 | | - "description": "Callback when close button clicked" |
| 232 | + "name": "className", |
| 233 | + "type": "string", |
| 234 | + "description": "Extra CSS classes" |
180 | 235 | }, |
181 | 236 | { |
182 | | - "name": "disabled", |
| 237 | + "name": "size", |
| 238 | + "type": "'normal'|'small'", |
| 239 | + "defaultValue": "normal", |
| 240 | + "description": "Size variant" |
| 241 | + }, |
| 242 | + { |
| 243 | + "name": "inline", |
183 | 244 | "type": "boolean", |
184 | 245 | "defaultValue": "false", |
185 | | - "description": "Disables close interaction" |
| 246 | + "description": "Inline layout" |
186 | 247 | }, |
187 | 248 | { |
188 | | - "name": "className", |
189 | | - "type": "string", |
190 | | - "description": "Additional CSS classes" |
| 249 | + "name": "options", |
| 250 | + "type": "Array<{ value: string; text: string; hint?: string; disabled?: boolean; conditional?: any }>", |
| 251 | + "required": true, |
| 252 | + "description": "Radio options" |
191 | 253 | } |
192 | 254 | ], |
193 | | - "source": "src/components/Tag/Tag.schema.ts" |
| 255 | + "source": "src/components/Radios/Radios.schema.ts" |
194 | 256 | }, |
195 | 257 | "Select": { |
196 | 258 | "name": "Select", |
|
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", |
|
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 | | - }, |
479 | 452 | "Input": { |
480 | 453 | "name": "Input", |
481 | 454 | "category": "form", |
|
618 | 591 | ], |
619 | 592 | "source": "src/components/Input/Input.schema.ts" |
620 | 593 | }, |
| 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", |
|
1114 | 1114 | } |
1115 | 1115 | }, |
1116 | 1116 | "categories": { |
| 1117 | + "meta": [ |
| 1118 | + "Tag" |
| 1119 | + ], |
1117 | 1120 | "form": [ |
1118 | 1121 | "Textarea", |
1119 | | - "Select", |
1120 | 1122 | "Radios", |
| 1123 | + "Select", |
1121 | 1124 | "Label", |
1122 | 1125 | "Input", |
1123 | 1126 | "Fieldset", |
|
1126 | 1129 | "DateInput", |
1127 | 1130 | "Button" |
1128 | 1131 | ], |
1129 | | - "meta": [ |
1130 | | - "Tag" |
1131 | | - ], |
1132 | 1132 | "content": [ |
1133 | 1133 | "Panel", |
1134 | 1134 | "InsetText", |
|
0 commit comments