@imfusion/web-ui 0.5.1-dev.7.ga571658e → 0.6.0

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.
Files changed (98) hide show
  1. package/README.md +55 -33
  2. package/bin/install.js +428 -0
  3. package/bin/install.test.ts +329 -0
  4. package/dist/build/vite-css-module-names/index.d.ts +20 -0
  5. package/dist/build/vite-css-module-names.js +17 -0
  6. package/dist/chunk-DmhlhrBa.js +11 -0
  7. package/dist/code-Blo48PGr.js +136 -0
  8. package/dist/codegen/gen-icons.d.ts +24 -0
  9. package/dist/components/callout/callout.d.ts +1 -1
  10. package/dist/components/chip-link/chip-link.d.ts +1 -1
  11. package/dist/components/code/code.d.ts +10 -18
  12. package/dist/components/field/field.d.ts +104 -0
  13. package/dist/components/field/field.meta.d.ts +2 -0
  14. package/dist/components/field/index.d.ts +2 -0
  15. package/dist/components/fieldset/fieldset.d.ts +29 -0
  16. package/dist/components/fieldset/fieldset.meta.d.ts +2 -0
  17. package/dist/components/fieldset/index.d.ts +2 -0
  18. package/dist/components/icon/icon.d.ts +16 -0
  19. package/dist/components/icon/icon.meta.d.ts +2 -0
  20. package/dist/components/icon/index.d.ts +4 -0
  21. package/dist/components/icon/types.d.ts +2 -0
  22. package/dist/components/input/input.d.ts +3 -1
  23. package/dist/components/typo/typo.d.ts +2 -2
  24. package/dist/docgen/component-sources.d.ts +7 -0
  25. package/dist/hooks/index.d.ts +1 -0
  26. package/dist/hooks/use-resize-observer.d.ts +2 -0
  27. package/dist/icons/catalog.gen.d.ts +8357 -0
  28. package/dist/icons/icon-config-provider.d.ts +8 -0
  29. package/dist/icons/icon-context.d.ts +4 -0
  30. package/dist/icons/icons.gen.d.ts +1672 -0
  31. package/dist/icons/index.d.ts +3 -0
  32. package/dist/icons-wBmF0U2x.js +78 -0
  33. package/dist/icons.js +2 -0
  34. package/dist/index.d.ts +4 -1
  35. package/dist/index.js +1793 -12210
  36. package/dist/integrations/code-highlight/code-highlight.d.ts +8 -6
  37. package/dist/integrations/code-highlight/highlighter.d.ts +32 -3
  38. package/dist/integrations/code-highlight/language-patterns.d.ts +7 -0
  39. package/dist/integrations/code-highlight/languages/cmake.d.ts +1 -0
  40. package/dist/integrations/code-highlight/languages/cpp.d.ts +1 -0
  41. package/dist/integrations/code-highlight/languages/python.d.ts +1 -0
  42. package/dist/integrations/code-highlight.js +198 -59
  43. package/dist/integrations/image-display-options.js +70 -69
  44. package/dist/llms/gen-tokens.d.ts +7 -0
  45. package/dist/meta-CySnRuVp.js +21 -0
  46. package/dist/provider/web-ui-provider.d.ts +4 -1
  47. package/dist/style.css +1 -1
  48. package/dist/tabs-CMKvMF4E.js +369 -0
  49. package/package.json +48 -26
  50. package/src/docgen/doc.gen.json +381 -38
  51. package/src/llms/icon-catalog.gen.json +11203 -0
  52. package/src/llms/install-templates/AGENTS.md +34 -0
  53. package/src/llms/install-templates/codex-hooks.json +44 -0
  54. package/src/llms/install-templates/hooks/baseline-staleness.sh +17 -0
  55. package/src/llms/install-templates/hooks/session-start.sh +5 -0
  56. package/src/llms/install-templates/hooks/stop.sh +18 -0
  57. package/src/llms/install-templates/hooks/subagent-start.sh +5 -0
  58. package/src/llms/install-templates/hooks/user-prompt-submit.sh +5 -0
  59. package/src/llms/install-templates/settings.json +45 -0
  60. package/src/llms/llms.gen.txt +17 -0
  61. package/src/llms/skills/imf-web-ui/SKILL.md +13 -12
  62. package/src/llms/skills/imf-web-ui-audit/SKILL.md +119 -0
  63. package/src/llms/skills/imf-web-ui-components/SKILL.md +56 -3
  64. package/src/llms/skills/imf-web-ui-conventions/SKILL.md +57 -0
  65. package/src/llms/skills/imf-web-ui-conventions/templates/AUDIT_CHECKLIST.md +141 -0
  66. package/src/llms/skills/imf-web-ui-conventions/templates/REPORT.md +45 -0
  67. package/src/llms/skills/imf-web-ui-conventions/topics/agent-tooling.md +82 -0
  68. package/src/llms/skills/imf-web-ui-conventions/topics/assets.md +27 -0
  69. package/src/llms/skills/imf-web-ui-conventions/topics/authentication.md +65 -0
  70. package/src/llms/skills/imf-web-ui-conventions/topics/class-names.md +50 -0
  71. package/src/llms/skills/imf-web-ui-conventions/topics/components.md +101 -0
  72. package/src/llms/skills/imf-web-ui-conventions/topics/data.md +221 -0
  73. package/src/llms/skills/imf-web-ui-conventions/topics/docs-structure.md +40 -0
  74. package/src/llms/skills/imf-web-ui-conventions/topics/git.md +34 -0
  75. package/src/llms/skills/imf-web-ui-conventions/topics/library-boundary.md +35 -0
  76. package/src/llms/skills/imf-web-ui-conventions/topics/library-setup.md +26 -0
  77. package/src/llms/skills/imf-web-ui-conventions/topics/npm-project.md +53 -0
  78. package/src/llms/skills/imf-web-ui-conventions/topics/project-structure.md +44 -0
  79. package/src/llms/skills/imf-web-ui-conventions/topics/react.md +109 -0
  80. package/src/llms/skills/imf-web-ui-conventions/topics/styling.md +88 -0
  81. package/src/llms/skills/imf-web-ui-conventions/topics/testing.md +25 -0
  82. package/src/llms/skills/imf-web-ui-conventions/topics/tokens.md +7 -0
  83. package/src/llms/skills/imf-web-ui-conventions/topics/tooling.md +116 -0
  84. package/src/llms/skills/imf-web-ui-conventions/topics/typescript.md +73 -0
  85. package/src/llms/skills/imf-web-ui-conventions/topics/validation.md +62 -0
  86. package/src/llms/skills/imf-web-ui-setup/SKILL.md +67 -37
  87. package/src/llms/skills/imf-web-ui-update/SKILL.md +157 -0
  88. package/src/llms/skills/imf-web-ui-ux/SKILL.md +4 -4
  89. package/src/llms/skills/imf-web-ui-ux/references/forms.md +2 -2
  90. package/src/llms/tokens.gen.json +887 -0
  91. package/bin/install-skill.js +0 -203
  92. package/dist/code-qBbqAHK-.js +0 -190
  93. package/dist/meta-B8C51eyL.js +0 -74
  94. package/dist/tabs-DqBFSqq6.js +0 -3789
  95. package/src/llms/skills/imf-web-ui-frontend-patterns/SKILL.md +0 -93
  96. package/src/llms/skills/imf-web-ui-frontend-patterns/references/code-conventions.md +0 -133
  97. package/src/llms/skills/imf-web-ui-frontend-patterns/references/react-patterns.md +0 -94
  98. package/src/llms/skills/imf-web-ui-imfusion-frontend-setup/SKILL.md +0 -201
@@ -177,7 +177,7 @@
177
177
  },
178
178
  {
179
179
  "name": "Callout.Icon",
180
- "description": "Callout.Icon — the leading status glyph. With no children it renders the\nvariant's default lucide icon; pass a custom icon as children to override.\n`aria-hidden` (the variant is conveyed by copy, not the glyph) and inherits\nthe status colour via `currentColor`.",
180
+ "description": "Callout.Icon — the leading status glyph. With no children it renders the\nvariant's default local icon; pass a custom icon as children to override.\n`aria-hidden` (the variant is conveyed by copy, not the glyph) and inherits\nthe status colour via `currentColor`.",
181
181
  "props": []
182
182
  },
183
183
  {
@@ -448,7 +448,7 @@
448
448
  "chip-link": {
449
449
  "root": {
450
450
  "name": "ChipLink",
451
- "description": "ChipLink — anchor styled as a Chip. Reuses Chip's shared variants so the\nvariant and appearance axes stay aligned, and auto-appends a directional icon\n(Lucide `ArrowUpRight` for external, `ArrowRight` for internal).",
451
+ "description": "ChipLink — anchor styled as a Chip. Reuses Chip's shared variants so the\nvariant and appearance axes stay aligned, and auto-appends a directional icon\n(local Web UI `ArrowUpRight` for external, `ArrowRight` for internal).",
452
452
  "props": [
453
453
  {
454
454
  "name": "appearance",
@@ -491,14 +491,14 @@
491
491
  "subComponents": [
492
492
  {
493
493
  "name": "Code.Block",
494
- "description": "Code.Block — a fenced code block on a flat brand surface, with an optional\nchamfered language notch (top-left) and a copy button (top-right). The\nsurface follows the global corner-radius token when a preset opts in.\nDumb: styling only — syntax coloring arrives pre-rendered through the\n`highlighted` slot (the code-highlight integration supplies it). Children\nmust be a string so the copy button has clean text to copy.",
494
+ "description": "Code.Block — a fenced code block on a flat brand surface, with an optional\nchamfered language notch (top-left) and a copy button (top-right). The\nsurface follows the global corner-radius token when a preset opts in. The\ncopy button copies the rendered text.",
495
495
  "props": [
496
496
  {
497
497
  "name": "children",
498
498
  "required": true,
499
- "type": "string",
499
+ "type": "ReactNode",
500
500
  "defaultValue": null,
501
- "description": "The code to display, as a raw string — also the value copied by the copy button."
501
+ "description": "Code content shown in the block. The copy button copies its rendered text."
502
502
  },
503
503
  {
504
504
  "name": "hideCopy",
@@ -507,13 +507,6 @@
507
507
  "defaultValue": "false",
508
508
  "description": "Hide the copy button."
509
509
  },
510
- {
511
- "name": "highlighted",
512
- "required": false,
513
- "type": "ReactNode",
514
- "defaultValue": null,
515
- "description": "Pre-rendered display content (e.g. syntax-highlighted tokens) shown in place of `children`, which stays the copied value. The code-highlight integration fills this slot."
516
- },
517
510
  {
518
511
  "name": "language",
519
512
  "required": false,
@@ -525,14 +518,14 @@
525
518
  },
526
519
  {
527
520
  "name": "Code.Inline",
528
- "description": "Code.Inline — an inline code fragment (a `<code>` chip) for use inside running\ntext. Dumb: styling only — syntax coloring arrives pre-rendered through the\n`highlighted` slot (the code-highlight integration supplies it). `Typo.InlineCode`\nrenders this under the hood so inline-code chrome is defined in one place.\nChildren must be a string so an opted-in copy button has clean text to copy.",
521
+ "description": "Code.Inline — an inline code fragment (a `<code>` chip) for use inside running\ntext. `Typo.InlineCode` renders this under the hood so inline-code chrome is\ndefined in one place. The copy button copies the rendered text.",
529
522
  "props": [
530
523
  {
531
524
  "name": "children",
532
525
  "required": true,
533
- "type": "string",
526
+ "type": "ReactNode",
534
527
  "defaultValue": null,
535
- "description": "The inline code, as a raw string — also the value copied when `copyable`."
528
+ "description": "Code content shown in the chip. The copy button copies its rendered text."
536
529
  },
537
530
  {
538
531
  "name": "copyable",
@@ -540,13 +533,6 @@
540
533
  "type": "boolean",
541
534
  "defaultValue": "false",
542
535
  "description": "Show a small copy button on the right, behind a hairline separator."
543
- },
544
- {
545
- "name": "highlighted",
546
- "required": false,
547
- "type": "ReactNode",
548
- "defaultValue": null,
549
- "description": "Pre-rendered display content (e.g. syntax-highlighted tokens) shown in place of `children`, which stays the copied value. The code-highlight integration fills this slot."
550
536
  }
551
537
  ]
552
538
  },
@@ -1194,6 +1180,363 @@
1194
1180
  }
1195
1181
  ]
1196
1182
  },
1183
+ "field": {
1184
+ "root": {
1185
+ "name": "Field.Root",
1186
+ "description": "Field.Root — groups a label, control, validation state, and supporting copy.",
1187
+ "props": [
1188
+ {
1189
+ "name": "actionsRef",
1190
+ "required": false,
1191
+ "type": "RefObject<FieldRootActions | null>",
1192
+ "defaultValue": null,
1193
+ "description": ""
1194
+ },
1195
+ {
1196
+ "name": "className",
1197
+ "required": false,
1198
+ "type": "string | ((state: FieldRootState) => string)",
1199
+ "defaultValue": null,
1200
+ "description": ""
1201
+ },
1202
+ {
1203
+ "name": "dirty",
1204
+ "required": false,
1205
+ "type": "boolean",
1206
+ "defaultValue": null,
1207
+ "description": ""
1208
+ },
1209
+ {
1210
+ "name": "disabled",
1211
+ "required": false,
1212
+ "type": "boolean",
1213
+ "defaultValue": "false",
1214
+ "description": ""
1215
+ },
1216
+ {
1217
+ "name": "invalid",
1218
+ "required": false,
1219
+ "type": "boolean",
1220
+ "defaultValue": null,
1221
+ "description": ""
1222
+ },
1223
+ {
1224
+ "name": "name",
1225
+ "required": false,
1226
+ "type": "string",
1227
+ "defaultValue": null,
1228
+ "description": ""
1229
+ },
1230
+ {
1231
+ "name": "render",
1232
+ "required": false,
1233
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldRootState>",
1234
+ "defaultValue": null,
1235
+ "description": ""
1236
+ },
1237
+ {
1238
+ "name": "style",
1239
+ "required": false,
1240
+ "type": "| CSSProperties\n| ((state: FieldRootState) => CSSProperties)",
1241
+ "defaultValue": null,
1242
+ "description": ""
1243
+ },
1244
+ {
1245
+ "name": "touched",
1246
+ "required": false,
1247
+ "type": "boolean",
1248
+ "defaultValue": null,
1249
+ "description": ""
1250
+ },
1251
+ {
1252
+ "name": "validate",
1253
+ "required": false,
1254
+ "type": "(\n value: unknown,\n formValues: Record<string, any>\n) =>\n | string\n | string[]\n | Promise<string | string[] | null>\n | null",
1255
+ "defaultValue": null,
1256
+ "description": ""
1257
+ },
1258
+ {
1259
+ "name": "validationDebounceTime",
1260
+ "required": false,
1261
+ "type": "number",
1262
+ "defaultValue": "0",
1263
+ "description": ""
1264
+ },
1265
+ {
1266
+ "name": "validationMode",
1267
+ "required": false,
1268
+ "type": "FormValidationMode",
1269
+ "defaultValue": "onSubmit",
1270
+ "description": ""
1271
+ }
1272
+ ]
1273
+ },
1274
+ "subComponents": [
1275
+ {
1276
+ "name": "Field.Control",
1277
+ "description": "Field.Control — a native input control with Field labeling and validation.",
1278
+ "props": [
1279
+ {
1280
+ "name": "className",
1281
+ "required": false,
1282
+ "type": "string | ((state: FieldControlState) => string)",
1283
+ "defaultValue": null,
1284
+ "description": ""
1285
+ },
1286
+ {
1287
+ "name": "defaultValue",
1288
+ "required": false,
1289
+ "type": "string | number | readonly string[]",
1290
+ "defaultValue": null,
1291
+ "description": ""
1292
+ },
1293
+ {
1294
+ "name": "onValueChange",
1295
+ "required": false,
1296
+ "type": "(\n value: string,\n eventDetails: {\n reason: \"none\";\n event: Event;\n cancel: () => void;\n allowPropagation: () => void;\n isCanceled: boolean;\n isPropagationAllowed: boolean;\n trigger: Element;\n }\n) => void",
1297
+ "defaultValue": null,
1298
+ "description": ""
1299
+ },
1300
+ {
1301
+ "name": "render",
1302
+ "required": false,
1303
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldControlState>",
1304
+ "defaultValue": null,
1305
+ "description": ""
1306
+ },
1307
+ {
1308
+ "name": "style",
1309
+ "required": false,
1310
+ "type": "| CSSProperties\n| ((state: FieldControlState) => CSSProperties)",
1311
+ "defaultValue": null,
1312
+ "description": ""
1313
+ }
1314
+ ]
1315
+ },
1316
+ {
1317
+ "name": "Field.Description",
1318
+ "description": "Field.Description — supporting information for a field.",
1319
+ "props": [
1320
+ {
1321
+ "name": "className",
1322
+ "required": false,
1323
+ "type": "| string\n| ((state: FieldDescriptionState) => string)",
1324
+ "defaultValue": null,
1325
+ "description": ""
1326
+ },
1327
+ {
1328
+ "name": "render",
1329
+ "required": false,
1330
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldDescriptionState>",
1331
+ "defaultValue": null,
1332
+ "description": ""
1333
+ },
1334
+ {
1335
+ "name": "style",
1336
+ "required": false,
1337
+ "type": "| CSSProperties\n| ((state: FieldDescriptionState) => CSSProperties)",
1338
+ "defaultValue": null,
1339
+ "description": ""
1340
+ }
1341
+ ]
1342
+ },
1343
+ {
1344
+ "name": "Field.Error",
1345
+ "description": "Field.Error — an inline validation message shown when its match condition fails.",
1346
+ "props": [
1347
+ {
1348
+ "name": "className",
1349
+ "required": false,
1350
+ "type": "string | ((state: FieldErrorState) => string)",
1351
+ "defaultValue": null,
1352
+ "description": ""
1353
+ },
1354
+ {
1355
+ "name": "match",
1356
+ "required": false,
1357
+ "type": "boolean | keyof ValidityState",
1358
+ "defaultValue": null,
1359
+ "description": ""
1360
+ },
1361
+ {
1362
+ "name": "render",
1363
+ "required": false,
1364
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldErrorState>",
1365
+ "defaultValue": null,
1366
+ "description": ""
1367
+ },
1368
+ {
1369
+ "name": "style",
1370
+ "required": false,
1371
+ "type": "| CSSProperties\n| ((state: FieldErrorState) => CSSProperties)",
1372
+ "defaultValue": null,
1373
+ "description": ""
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "name": "Field.Item",
1379
+ "description": "Field.Item — groups one checkable option with its label and description.",
1380
+ "props": [
1381
+ {
1382
+ "name": "className",
1383
+ "required": false,
1384
+ "type": "string | ((state: FieldItemState) => string)",
1385
+ "defaultValue": null,
1386
+ "description": ""
1387
+ },
1388
+ {
1389
+ "name": "disabled",
1390
+ "required": false,
1391
+ "type": "boolean",
1392
+ "defaultValue": "false",
1393
+ "description": ""
1394
+ },
1395
+ {
1396
+ "name": "render",
1397
+ "required": false,
1398
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldItemState>",
1399
+ "defaultValue": null,
1400
+ "description": ""
1401
+ },
1402
+ {
1403
+ "name": "style",
1404
+ "required": false,
1405
+ "type": "| CSSProperties\n| ((state: FieldItemState) => CSSProperties)",
1406
+ "defaultValue": null,
1407
+ "description": ""
1408
+ }
1409
+ ]
1410
+ },
1411
+ {
1412
+ "name": "Field.Label",
1413
+ "description": "Field.Label — an accessible label automatically associated with the control.",
1414
+ "props": [
1415
+ {
1416
+ "name": "className",
1417
+ "required": false,
1418
+ "type": "string | ((state: FieldLabelState) => string)",
1419
+ "defaultValue": null,
1420
+ "description": ""
1421
+ },
1422
+ {
1423
+ "name": "nativeLabel",
1424
+ "required": false,
1425
+ "type": "boolean",
1426
+ "defaultValue": "true",
1427
+ "description": ""
1428
+ },
1429
+ {
1430
+ "name": "render",
1431
+ "required": false,
1432
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldLabelState>",
1433
+ "defaultValue": null,
1434
+ "description": ""
1435
+ },
1436
+ {
1437
+ "name": "style",
1438
+ "required": false,
1439
+ "type": "| CSSProperties\n| ((state: FieldLabelState) => CSSProperties)",
1440
+ "defaultValue": null,
1441
+ "description": ""
1442
+ }
1443
+ ]
1444
+ },
1445
+ {
1446
+ "name": "Field.Validity",
1447
+ "description": "Field.Validity — renderless access to the field validity data for custom messages.\nIts function child owns the rendered element and therefore its identity and styling.",
1448
+ "props": []
1449
+ }
1450
+ ]
1451
+ },
1452
+ "fieldset": {
1453
+ "root": {
1454
+ "name": "Fieldset.Root",
1455
+ "description": "Fieldset.Root — semantic grouping for related form controls and a shared legend.",
1456
+ "props": [
1457
+ {
1458
+ "name": "className",
1459
+ "required": false,
1460
+ "type": "string | ((state: FieldsetRootState) => string)",
1461
+ "defaultValue": null,
1462
+ "description": ""
1463
+ },
1464
+ {
1465
+ "name": "render",
1466
+ "required": false,
1467
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldsetRootState>",
1468
+ "defaultValue": null,
1469
+ "description": ""
1470
+ },
1471
+ {
1472
+ "name": "style",
1473
+ "required": false,
1474
+ "type": "| CSSProperties\n| ((state: FieldsetRootState) => CSSProperties)",
1475
+ "defaultValue": null,
1476
+ "description": ""
1477
+ }
1478
+ ]
1479
+ },
1480
+ "subComponents": [
1481
+ {
1482
+ "name": "Fieldset.Legend",
1483
+ "description": "Fieldset.Legend — the accessible label for its related controls.",
1484
+ "props": [
1485
+ {
1486
+ "name": "className",
1487
+ "required": false,
1488
+ "type": "string | ((state: FieldsetLegendState) => string)",
1489
+ "defaultValue": null,
1490
+ "description": ""
1491
+ },
1492
+ {
1493
+ "name": "render",
1494
+ "required": false,
1495
+ "type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, FieldsetLegendState>",
1496
+ "defaultValue": null,
1497
+ "description": ""
1498
+ },
1499
+ {
1500
+ "name": "style",
1501
+ "required": false,
1502
+ "type": "| CSSProperties\n| ((state: FieldsetLegendState) => CSSProperties)",
1503
+ "defaultValue": null,
1504
+ "description": ""
1505
+ }
1506
+ ]
1507
+ }
1508
+ ]
1509
+ },
1510
+ "icon": {
1511
+ "root": {
1512
+ "name": "Icon",
1513
+ "description": "Icon — renders an icon component with a semantic Web UI foreground color.",
1514
+ "props": [
1515
+ {
1516
+ "name": "glyph",
1517
+ "required": true,
1518
+ "type": "IconComponent",
1519
+ "defaultValue": null,
1520
+ "description": "Icon component imported from `@imfusion/web-ui/icons`."
1521
+ },
1522
+ {
1523
+ "name": "size",
1524
+ "required": false,
1525
+ "type": "string | number",
1526
+ "defaultValue": null,
1527
+ "description": "Sets both SVG dimensions unless `width` or `height` is provided."
1528
+ },
1529
+ {
1530
+ "name": "variant",
1531
+ "required": false,
1532
+ "type": "| \"inherit\"\n| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"positive\"\n| \"negative\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
1533
+ "defaultValue": "inherit",
1534
+ "description": ""
1535
+ }
1536
+ ]
1537
+ },
1538
+ "subComponents": []
1539
+ },
1197
1540
  "input": {
1198
1541
  "root": {
1199
1542
  "name": "Input",
@@ -1206,6 +1549,13 @@
1206
1549
  "defaultValue": null,
1207
1550
  "description": ""
1208
1551
  },
1552
+ {
1553
+ "name": "onClear",
1554
+ "required": false,
1555
+ "type": "() => void",
1556
+ "defaultValue": null,
1557
+ "description": "Called when the search input's clear button is pressed."
1558
+ },
1209
1559
  {
1210
1560
  "name": "onValueChange",
1211
1561
  "required": false,
@@ -4444,9 +4794,9 @@
4444
4794
  {
4445
4795
  "name": "children",
4446
4796
  "required": true,
4447
- "type": "string",
4797
+ "type": "ReactNode",
4448
4798
  "defaultValue": null,
4449
- "description": "The inline code, as a raw string — also the value copied when `copyable`."
4799
+ "description": "Code content shown in the chip. The copy button copies its rendered text."
4450
4800
  },
4451
4801
  {
4452
4802
  "name": "copyable",
@@ -4454,13 +4804,6 @@
4454
4804
  "type": "boolean",
4455
4805
  "defaultValue": "false",
4456
4806
  "description": "Show a small copy button on the right, behind a hairline separator."
4457
- },
4458
- {
4459
- "name": "highlighted",
4460
- "required": false,
4461
- "type": "ReactNode",
4462
- "defaultValue": null,
4463
- "description": "Pre-rendered display content (e.g. syntax-highlighted tokens) shown in place of `children`, which stays the copied value. The code-highlight integration fills this slot."
4464
4807
  }
4465
4808
  ]
4466
4809
  },
@@ -4486,7 +4829,7 @@
4486
4829
  },
4487
4830
  {
4488
4831
  "name": "Typo.Link",
4489
- "description": "Typo.Link — inline anchor. Auto-appends a directional icon (Lucide `ArrowUpRight` for external, `ArrowRight` for internal), mirroring ChipLink's affordance for prose links.",
4832
+ "description": "Typo.Link — inline anchor. Auto-appends a local Web UI directional icon (`ArrowUpRight` for external, `ArrowRight` for internal), mirroring ChipLink's affordance for prose links.",
4490
4833
  "props": [
4491
4834
  {
4492
4835
  "name": "kind",
@@ -4588,14 +4931,14 @@
4588
4931
  "subComponents": [
4589
4932
  {
4590
4933
  "name": "CodeHighlight.Block",
4591
- "description": "Code.Block — the core `Code.Block` with TanStack Highlight tokens filling its `highlighted` slot.",
4934
+ "description": "Code.Block — the core `Code.Block` with TanStack Highlight tokens rendered inside.",
4592
4935
  "props": [
4593
4936
  {
4594
4937
  "name": "children",
4595
4938
  "required": true,
4596
4939
  "type": "string",
4597
4940
  "defaultValue": null,
4598
- "description": "The code to display, as a raw string — also the value copied by the copy button."
4941
+ "description": "Language of `children`: grammar for tokenization and label for the corner notch. Omit to hide the notch and skip highlighting."
4599
4942
  },
4600
4943
  {
4601
4944
  "name": "hideCopy",
@@ -4609,20 +4952,20 @@
4609
4952
  "required": false,
4610
4953
  "type": "SupportedLanguage",
4611
4954
  "defaultValue": null,
4612
- "description": "Language of `children`: grammar for tokenization and label for the corner notch. Omit to hide the notch and skip highlighting."
4955
+ "description": ""
4613
4956
  }
4614
4957
  ]
4615
4958
  },
4616
4959
  {
4617
4960
  "name": "CodeHighlight.Inline",
4618
- "description": "Code.Inline — the core `Code.Inline` with TanStack Highlight tokens filling its `highlighted` slot.",
4961
+ "description": "Code.Inline — the core `Code.Inline` with TanStack Highlight tokens rendered inside.",
4619
4962
  "props": [
4620
4963
  {
4621
4964
  "name": "children",
4622
4965
  "required": true,
4623
4966
  "type": "string",
4624
4967
  "defaultValue": null,
4625
- "description": "The inline code, as a raw string — also the value copied when `copyable`."
4968
+ "description": "Grammar used to tokenize the fragment. Purely visual — the chip shows no language label. Omit for plain text."
4626
4969
  },
4627
4970
  {
4628
4971
  "name": "copyable",
@@ -4636,7 +4979,7 @@
4636
4979
  "required": false,
4637
4980
  "type": "SupportedLanguage",
4638
4981
  "defaultValue": null,
4639
- "description": "Grammar used to tokenize the fragment. Purely visual — the chip shows no language label. Omit for plain text."
4982
+ "description": ""
4640
4983
  }
4641
4984
  ]
4642
4985
  },