From 825f7d329e0d058de5bfb6ddb304a85179d09c9c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 14:40:44 +0000 Subject: [PATCH] docs(guide): re-fence component-registry's six category lists as markdown lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The six "Component Categories" blocks were tagged ```tsx but held markdown bullet lists (`- input`, `- textarea`, ...) — not TypeScript in any form. The mislabel misled two audiences: a reader got syntax highlighting implying code, and check-doc-snippet-types spent compile budget proving prose is not TypeScript (3 parse + 35 undefined-name diagnostics before #5991 declared them). Correcting the fence removes the blocks from the TS population rather than excusing them, so the six FRAGMENT_MARKER declarations #5991 had to write go with it — a marker on a block the gate no longer collects is debt nothing will ever fail to prompt the removal of. Item spelling follows the docs' own convention for a bare list of component keys (content/docs/utilities/vscode-extension.mdx:152-156, and this page's own list at line 46): one key per line, in backticks. --- content/docs/guide/component-registry.md | 118 ++++++++++------------- 1 file changed, 53 insertions(+), 65 deletions(-) diff --git a/content/docs/guide/component-registry.md b/content/docs/guide/component-registry.md index e83c545de4..7cbb651bcd 100644 --- a/content/docs/guide/component-registry.md +++ b/content/docs/guide/component-registry.md @@ -167,81 +167,69 @@ ComponentRegistry.register('button', MyCustomButton) Default components are organized by category: ### Form Components - -```tsx -- input -- textarea -- select -- checkbox -- radio -- switch -- slider -- date-picker -- time-picker -- file-upload -- color-picker -``` + +- `input` +- `textarea` +- `select` +- `checkbox` +- `radio` +- `switch` +- `slider` +- `date-picker` +- `time-picker` +- `file-upload` +- `color-picker` ### Data Display - -```tsx -- table -- list -- card -- tree -- timeline -- calendar -- kanban -``` + +- `table` +- `list` +- `card` +- `tree` +- `timeline` +- `calendar` +- `kanban` ### Layout - -```tsx -- page -- container -- grid -- flex -- tabs -- accordion -- divider -- spacer -``` + +- `page` +- `container` +- `grid` +- `flex` +- `tabs` +- `accordion` +- `divider` +- `spacer` ### Feedback - -```tsx -- alert -- toast -- dialog -- drawer -- popover -- tooltip -- progress -- skeleton -- spinner -``` + +- `alert` +- `toast` +- `dialog` +- `drawer` +- `popover` +- `tooltip` +- `progress` +- `skeleton` +- `spinner` ### Navigation - -```tsx -- menu -- breadcrumb -- pagination -- steps -``` + +- `menu` +- `breadcrumb` +- `pagination` +- `steps` ### Other - -```tsx -- button -- link -- text -- icon -- image -- video -- badge -- avatar -``` + +- `button` +- `link` +- `text` +- `icon` +- `image` +- `video` +- `badge` +- `avatar` ## Checking Registered Components