@loworbitstudio/visor 1.54.0 → 1.55.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.
- package/dist/CHANGELOG.json +13 -1
- package/dist/index.js +26 -0
- package/dist/registry.json +50 -1
- package/dist/visor-manifest.json +146 -2
- package/package.json +1 -1
package/dist/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.4.0",
|
|
3
|
-
"generated_at": "2026-11-
|
|
3
|
+
"generated_at": "2026-11-20T04:46:19.508Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"accessibility-specimen": {
|
|
6
6
|
"changeType": "current",
|
|
@@ -512,6 +512,12 @@
|
|
|
512
512
|
"breakingChange": false,
|
|
513
513
|
"migrationNote": null
|
|
514
514
|
},
|
|
515
|
+
"photo-picker": {
|
|
516
|
+
"changeType": "current",
|
|
517
|
+
"files": [],
|
|
518
|
+
"breakingChange": false,
|
|
519
|
+
"migrationNote": null
|
|
520
|
+
},
|
|
515
521
|
"popover": {
|
|
516
522
|
"changeType": "current",
|
|
517
523
|
"files": [],
|
|
@@ -800,6 +806,12 @@
|
|
|
800
806
|
"breakingChange": false,
|
|
801
807
|
"migrationNote": null
|
|
802
808
|
},
|
|
809
|
+
"theme-toggle": {
|
|
810
|
+
"changeType": "current",
|
|
811
|
+
"files": [],
|
|
812
|
+
"breakingChange": false,
|
|
813
|
+
"migrationNote": null
|
|
814
|
+
},
|
|
803
815
|
"time-picker": {
|
|
804
816
|
"changeType": "current",
|
|
805
817
|
"files": [],
|
package/dist/index.js
CHANGED
|
@@ -9247,6 +9247,27 @@ var FIXTURES = {
|
|
|
9247
9247
|
invalid: { export: "OTPInput", interactiveTarget: "input", props: `{ value: "428519", invalid: true, errorMessage: "That code didn't work. Check it and try again." }` },
|
|
9248
9248
|
trailing: { export: "OTPInput", interactiveTarget: "input", props: `{ value: "428519", trailing: React.createElement("button", { type: "button" }, "Resend") }` }
|
|
9249
9249
|
},
|
|
9250
|
+
// VI-793: ten gradient stand-in photos, one chosen, loaded, in a 600px frame
|
|
9251
|
+
// (Backstage's menu width) so the five-column grid renders at its real size.
|
|
9252
|
+
"photo-picker": {
|
|
9253
|
+
default: {
|
|
9254
|
+
export: "PhotoPicker",
|
|
9255
|
+
interactiveTarget: "button",
|
|
9256
|
+
props: `(function () {
|
|
9257
|
+
var stops = [["#f59e0b", "#7c2d12"], ["#38bdf8", "#1e3a8a"], ["#a3e635", "#14532d"], ["#f472b6", "#4c1d95"], ["#e5e7eb", "#4b5563"], ["#fb923c", "#450a0a"], ["#6ee7b7", "#064e3b"], ["#818cf8", "#0f172a"], ["#fde68a", "#92400e"], ["#5eead4", "#134e4a"]];
|
|
9258
|
+
return {
|
|
9259
|
+
"aria-label": "Pick Your Background",
|
|
9260
|
+
value: "p2",
|
|
9261
|
+
play: false,
|
|
9262
|
+
style: { width: 600 },
|
|
9263
|
+
photos: stops.map(function (s, i) {
|
|
9264
|
+
var svg = "<svg xmlns='http://www.w3.org/2000/svg' width='480' height='360'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='" + s[0] + "'/><stop offset='1' stop-color='" + s[1] + "'/></linearGradient></defs><rect width='480' height='360' fill='url(#g)'/></svg>";
|
|
9265
|
+
return { key: "p" + i, thumb: "data:image/svg+xml;utf8," + encodeURIComponent(svg) };
|
|
9266
|
+
}),
|
|
9267
|
+
};
|
|
9268
|
+
})()`
|
|
9269
|
+
}
|
|
9270
|
+
},
|
|
9250
9271
|
// VI-672: `default` is the grid on its own ground; `on-image` draws it over a busy
|
|
9251
9272
|
// synthetic photograph (turbulence, one light half and one dark half) so each
|
|
9252
9273
|
// target's scrim ring is checked against both. The picker is its own frame here:
|
|
@@ -9268,6 +9289,11 @@ var FIXTURES = {
|
|
|
9268
9289
|
},
|
|
9269
9290
|
thumbnail: { export: "PositionPicker", interactiveTarget: '[role="radio"]', props: `{ variant: "on-image", "aria-label": "Focal point", defaultValue: { y: "bottom", x: "left" }, style: { position: "relative", inset: "auto", width: 40, height: 28, background: "#667" } }` }
|
|
9270
9291
|
},
|
|
9292
|
+
// VI-793: one fixture per tone, so both resting icons (sun on dark, moon on light) render.
|
|
9293
|
+
"theme-toggle": {
|
|
9294
|
+
default: { export: "ThemeToggle", interactiveTarget: "button", props: `{ value: "light" }` },
|
|
9295
|
+
dark: { export: "ThemeToggle", interactiveTarget: "button", props: `{ value: "dark" }` }
|
|
9296
|
+
},
|
|
9271
9297
|
// VI-624: `default` is the closed field; the popover fixtures render open so the
|
|
9272
9298
|
// two-column (24-hour) and three-column (12-hour) anatomy can be inspected.
|
|
9273
9299
|
"time-picker": {
|
package/dist/registry.json
CHANGED
|
@@ -2252,6 +2252,30 @@
|
|
|
2252
2252
|
}
|
|
2253
2253
|
]
|
|
2254
2254
|
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "photo-picker",
|
|
2257
|
+
"type": "registry:ui",
|
|
2258
|
+
"description": "A grid of photo thumbnails, one chosen. A staggered draw wave plays each time it opens, and thumbnails wait to load until it has been opened. The consumer supplies the popover or panel.",
|
|
2259
|
+
"category": "form",
|
|
2260
|
+
"dependencies": [
|
|
2261
|
+
"@loworbitstudio/visor-core"
|
|
2262
|
+
],
|
|
2263
|
+
"registryDependencies": [
|
|
2264
|
+
"utils"
|
|
2265
|
+
],
|
|
2266
|
+
"files": [
|
|
2267
|
+
{
|
|
2268
|
+
"path": "components/ui/photo-picker/photo-picker.tsx",
|
|
2269
|
+
"type": "registry:ui",
|
|
2270
|
+
"content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"../../../lib/utils\"\nimport styles from \"./photo-picker.module.css\"\n\nexport interface PhotoPickerPhoto {\n /** Unique key, reported by `onValueChange`. */\n key: string\n /** The thumbnail's URL. */\n thumb: string\n /** The thumbnail's accessible name. Defaults to \"Photo N\". */\n label?: string\n}\n\nexport interface PhotoPickerProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, \"defaultValue\" | \"onChange\"> {\n photos: PhotoPickerPhoto[]\n /** The chosen photo's key, or null for none. */\n value?: string | null\n /** Called with a photo's key when it is pressed. */\n onValueChange?: (key: string) => void\n /**\n * The draw wave plays when the grid mounts and every time `play` changes,\n * except to `false`. Pass the menu's open state, or a counter you bump.\n */\n play?: boolean | number\n /** Thumbnails load only once this has been true. Pass the menu's open state to wait for the first open. */\n load?: boolean\n}\n\n// Each thumbnail rises on its own beat, a wave from the top left: its row plus its\n// place in the row, by where it sits on screen now. Capped so a long grid doesn't drag.\nconst BEAT_CAP = 12\n\nfunction drawWave(items: HTMLElement[]) {\n const rects = items.map((x) => x.getBoundingClientRect())\n const tops = rects.map((r) => Math.round(r.top))\n const rows = [...new Set(tops)].sort((a, b) => a - b)\n items.forEach((x, i) => {\n const col = rects.filter((r, j) => tops[j] === tops[i] && r.left < rects[i].left).length\n x.style.setProperty(\"--draw-i\", String(Math.min(rows.indexOf(tops[i]) + col, BEAT_CAP)))\n x.classList.remove(styles.drawing)\n })\n void items[0]?.offsetWidth // one reflow, so every animation restarts\n items.forEach((x) => {\n x.classList.add(styles.drawing)\n const done = (e: AnimationEvent) => {\n if (e.target !== x) return\n x.classList.remove(styles.drawing)\n x.removeEventListener(\"animationend\", done)\n }\n x.addEventListener(\"animationend\", done)\n })\n}\n\n/** A grid of photo thumbnails, one chosen. The consumer supplies the popover or panel it sits in. */\nconst PhotoPicker = React.forwardRef<HTMLDivElement, PhotoPickerProps>(\n ({ photos, value = null, onValueChange, play, load = true, className, ...props }, ref) => {\n const gridRef = React.useRef<HTMLDivElement>(null)\n React.useImperativeHandle(ref, () => gridRef.current as HTMLDivElement)\n\n // Once loaded, stay loaded: closing the menu must not blank the thumbnails.\n const [loaded, setLoaded] = React.useState(load)\n if (load && !loaded) setLoaded(true)\n\n React.useEffect(() => {\n const grid = gridRef.current\n if (play === false || !grid) return\n const raf = requestAnimationFrame(() => drawWave([...grid.children] as HTMLElement[]))\n return () => cancelAnimationFrame(raf)\n }, [play])\n\n return (\n <div ref={gridRef} role=\"group\" data-slot=\"photo-picker\" className={cn(styles.root, className)} {...props}>\n {photos.map((photo, i) => (\n <button\n key={photo.key}\n type=\"button\"\n className={styles.thumb}\n aria-pressed={photo.key === value}\n aria-label={photo.label ?? `Photo ${i + 1}`}\n onClick={() => onValueChange?.(photo.key)}\n >\n <img src={loaded ? photo.thumb : undefined} alt=\"\" />\n </button>\n ))}\n </div>\n )\n }\n)\nPhotoPicker.displayName = \"PhotoPicker\"\n\nexport { PhotoPicker }\n"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"path": "components/ui/photo-picker/photo-picker.module.css",
|
|
2274
|
+
"type": "registry:ui",
|
|
2275
|
+
"content": "/* PhotoPicker: a grid of photo thumbnails, one chosen. Lifted from Honcho\n Backstage's Photo menu; its values are the defaults wherever no theme token\n speaks for them.\n\n Variables: --photo-picker-columns (5) and --photo-picker-columns-narrow (3,\n 760px and under), --photo-picker-gap, --photo-picker-padding,\n --photo-picker-max-height, --photo-picker-radius, --photo-picker-ring,\n --photo-picker-ring-selected, --photo-picker-ease, and the draw wave's\n --photo-picker-draw-duration, --photo-picker-draw-gap, --photo-picker-draw-rise. */\n.root {\n /* Backstage's --ease. No Visor token carries this curve; intentional. */\n --_ease: var(--photo-picker-ease, cubic-bezier(0.22, 1, 0.36, 1));\n /* The menu's wave: Backstage's 800ms rise and 120ms beat at 40%, rising 10px. */\n --_draw-duration: var(--photo-picker-draw-duration, calc(var(--motion-duration-800, 800ms) * 0.4));\n --_draw-gap: var(--photo-picker-draw-gap, 48ms);\n --_draw-rise: var(--photo-picker-draw-rise, 10px);\n display: grid;\n grid-template-columns: repeat(var(--photo-picker-columns, 5), 1fr);\n /* Rows keep the thumbnails' full 4:3 height. Without this, a grid taller than\n its max-height squeezes the rows (overflow: hidden zeroes each thumbnail's\n minimum) and the thumbnails overlap instead of scrolling. */\n grid-auto-rows: max-content;\n gap: var(--photo-picker-gap, var(--spacing-2, 0.5rem));\n /* Room for the chosen ring inside the scroll box. */\n padding: var(--photo-picker-padding, var(--spacing-1, 0.25rem));\n max-height: var(--photo-picker-max-height, min(62vh, 560px));\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n.thumb {\n display: block;\n aspect-ratio: 4 / 3;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--photo-picker-radius, var(--radius-xl, 0.75rem));\n overflow: hidden;\n background: transparent;\n box-shadow: inset 0 0 0 var(--stroke-width-thin, 1px) var(--photo-picker-ring, var(--border-default, #e5e7eb));\n cursor: pointer;\n}\n\n.thumb[aria-pressed=\"true\"] {\n box-shadow: 0 0 0 var(--stroke-width-medium, 2px) var(--photo-picker-ring-selected, var(--interactive-primary-bg, #3b82f6));\n}\n\n.thumb:focus-visible {\n outline: var(--focus-ring-width, 2px) solid var(--border-focus, #3b82f6);\n outline-offset: var(--focus-ring-offset, 2px);\n}\n\n.thumb img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: transform calc(var(--motion-duration-200, 200ms) * 2) var(--_ease);\n}\n\n@media (hover: hover) {\n .thumb:hover img {\n transform: scale(1.08);\n }\n}\n\n/* The draw wave: each thumbnail rises on its beat (--draw-i, set by the component). */\n.drawing {\n animation: photo-picker-draw var(--_draw-duration) var(--_ease) backwards;\n animation-delay: calc(var(--draw-i, 0) * var(--_draw-gap));\n}\n\n@keyframes photo-picker-draw {\n from {\n opacity: 0;\n translate: 0 var(--_draw-rise);\n }\n}\n\n@media (max-width: 760px) {\n .root {\n grid-template-columns: repeat(var(--photo-picker-columns-narrow, 3), 1fr);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .drawing {\n animation: none;\n }\n\n .thumb img {\n transition: none;\n }\n}\n"
|
|
2276
|
+
}
|
|
2277
|
+
]
|
|
2278
|
+
},
|
|
2255
2279
|
{
|
|
2256
2280
|
"name": "position-picker",
|
|
2257
2281
|
"type": "registry:ui",
|
|
@@ -3415,6 +3439,31 @@
|
|
|
3415
3439
|
}
|
|
3416
3440
|
]
|
|
3417
3441
|
},
|
|
3442
|
+
{
|
|
3443
|
+
"name": "theme-toggle",
|
|
3444
|
+
"type": "registry:ui",
|
|
3445
|
+
"description": "A round light/dark button. The icon going away turns and shrinks out as the other springs in. Controlled; keys off its own data-tone, so it works on any page.",
|
|
3446
|
+
"category": "general",
|
|
3447
|
+
"dependencies": [
|
|
3448
|
+
"@phosphor-icons/react",
|
|
3449
|
+
"@loworbitstudio/visor-core"
|
|
3450
|
+
],
|
|
3451
|
+
"registryDependencies": [
|
|
3452
|
+
"utils"
|
|
3453
|
+
],
|
|
3454
|
+
"files": [
|
|
3455
|
+
{
|
|
3456
|
+
"path": "components/ui/theme-toggle/theme-toggle.tsx",
|
|
3457
|
+
"type": "registry:ui",
|
|
3458
|
+
"content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Moon, Sun } from \"@phosphor-icons/react\"\nimport { cn } from \"../../../lib/utils\"\nimport styles from \"./theme-toggle.module.css\"\n\nexport type ThemeToggleValue = \"light\" | \"dark\"\n\nexport interface ThemeToggleProps\n extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, \"value\" | \"onChange\"> {\n /** The tone in force now. Controlled: the toggle never changes it on its own. */\n value: ThemeToggleValue\n /** Called with the other tone when the button is pressed. */\n onValueChange?: (value: ThemeToggleValue) => void\n}\n\n/**\n * A round light/dark button. Dark shows the sun, light shows the moon: the\n * icon going away turns and shrinks out as the other springs in. Keys off its\n * own `data-tone`, so it works on any page.\n */\nconst ThemeToggle = React.forwardRef<HTMLButtonElement, ThemeToggleProps>(\n ({ value, onValueChange, onClick, className, \"aria-label\": ariaLabel = \"Switch light or dark\", ...props }, ref) => (\n <button\n ref={ref}\n type=\"button\"\n data-slot=\"theme-toggle\"\n data-tone={value}\n aria-label={ariaLabel}\n className={cn(styles.root, className)}\n onClick={(e) => {\n onClick?.(e)\n if (!e.defaultPrevented) onValueChange?.(value === \"dark\" ? \"light\" : \"dark\")\n }}\n {...props}\n >\n <Sun weight=\"bold\" className={styles.sun} aria-hidden=\"true\" />\n <Moon weight=\"bold\" className={styles.moon} aria-hidden=\"true\" />\n </button>\n )\n)\nThemeToggle.displayName = \"ThemeToggle\"\n\nexport { ThemeToggle }\n"
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
"path": "components/ui/theme-toggle/theme-toggle.module.css",
|
|
3462
|
+
"type": "registry:ui",
|
|
3463
|
+
"content": "/* ThemeToggle: a round light/dark button, lifted from Honcho Backstage.\n\n The look is variables, so a consumer can dress it (Backstage's glass is a\n className with backdrop-filter plus these): --theme-toggle-size, -bg,\n -bg-hover, -ring, -color, -icon-size. The motion is Backstage's, exact:\n the icon going away turns 100deg and shrinks to .3 as it fades (turn\n 600ms on --theme-toggle-ease, scale 500ms on the spring, fade 300ms). */\n.root {\n /* Backstage's --ease. No Visor token carries this curve; intentional. */\n --_ease: var(--theme-toggle-ease, cubic-bezier(0.22, 1, 0.36, 1));\n position: relative;\n overflow: hidden;\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--theme-toggle-size, var(--spacing-10, 2.5rem));\n height: var(--theme-toggle-size, var(--spacing-10, 2.5rem));\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--radius-full, 9999px);\n background: var(--theme-toggle-bg, var(--surface-subtle, #f9fafb));\n box-shadow: inset 0 0 0 var(--stroke-width-thin, 1px) var(--theme-toggle-ring, var(--border-default, #e5e7eb));\n color: var(--theme-toggle-color, var(--text-primary, #111827));\n cursor: pointer;\n transition: background var(--motion-duration-300, 300ms) var(--_ease);\n}\n\n@media (hover: hover) {\n .root:hover {\n background: var(--theme-toggle-bg-hover, var(--surface-muted, #f3f4f6));\n }\n}\n\n/* Press: the button dips, as Backstage's glass buttons do. */\n.root:active {\n scale: 0.94;\n}\n\n.root:focus-visible {\n outline: var(--focus-ring-width, 2px) solid var(--border-focus, #3b82f6);\n outline-offset: var(--focus-ring-offset, 2px);\n}\n\n.sun,\n.moon {\n position: absolute;\n width: var(--theme-toggle-icon-size, var(--spacing-4, 1rem));\n height: var(--theme-toggle-icon-size, var(--spacing-4, 1rem));\n transition:\n rotate calc(var(--motion-duration-300, 300ms) * 2) var(--_ease),\n scale var(--motion-duration-500, 500ms) var(--motion-easing-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),\n opacity var(--motion-duration-300, 300ms);\n}\n\n/* Dark shows the sun (the way to light); light shows the moon. */\n.root[data-tone=\"dark\"] .moon {\n opacity: 0;\n rotate: -100deg;\n scale: 0.3;\n}\n\n.root[data-tone=\"light\"] .sun {\n opacity: 0;\n rotate: 100deg;\n scale: 0.3;\n}\n\n/* Reduced motion: the icons cross-fade in place, and the press does not dip. */\n@media (prefers-reduced-motion: reduce) {\n .root[data-tone] .sun,\n .root[data-tone] .moon {\n rotate: none;\n scale: none;\n transition: opacity var(--motion-duration-300, 300ms);\n }\n\n .root:active {\n scale: none;\n }\n}\n"
|
|
3464
|
+
}
|
|
3465
|
+
]
|
|
3466
|
+
},
|
|
3418
3467
|
{
|
|
3419
3468
|
"name": "box",
|
|
3420
3469
|
"type": "registry:ui",
|
|
@@ -5587,7 +5636,7 @@
|
|
|
5587
5636
|
{
|
|
5588
5637
|
"path": "components/devtools/source-inspector/visor-component-names.generated.ts",
|
|
5589
5638
|
"type": "registry:devtool",
|
|
5590
|
-
"content": "// THIS FILE IS GENERATED BY scripts/generate-visor-component-names.ts.\n// Do not edit by hand. Re-run `npm run generate:component-names` after\n// adding, removing, or renaming a Visor component.\n//\n// Source of truth: registry/registry-{ui,blocks,deck,visual,devtools}.ts\n// Used by: components/devtools/source-inspector/* (VI-311)\n\nexport const VISOR_COMPONENT_NAMES: ReadonlySet<string> = new Set([\n \"AccessibilitySection\",\n \"AccessibilitySlide\",\n \"AccessibilitySpecimen\",\n \"Accordion\",\n \"AccordionContent\",\n \"AccordionItem\",\n \"AccordionTrigger\",\n \"ActionRow\",\n \"ActionRowList\",\n \"ActivityFeed\",\n \"ActivityFeedContext\",\n \"ActivityFeedItem\",\n \"ActivityFeedRoot\",\n \"AdminDashboard\",\n \"AdminDetail\",\n \"AdminDetailDrawer\",\n \"AdminListPage\",\n \"AdminListPageInner\",\n \"AdminSettingsPage\",\n \"AdminShell\",\n \"AdminTabbedEditor\",\n \"AdminWizard\",\n \"Alert\",\n \"AlertActions\",\n \"AlertDescription\",\n \"AlertLead\",\n \"AlertTitle\",\n \"AmbientGlow\",\n \"Avatar\",\n \"AvatarFallback\",\n \"AvatarImage\",\n \"AvatarStack\",\n \"Badge\",\n \"Banner\",\n \"BannerAction\",\n \"BannerDescription\",\n \"BannerTitle\",\n \"BentoGrid\",\n \"BentoTile\",\n \"BentoTileBody\",\n \"BentoTileDescription\",\n \"BentoTileFigure\",\n \"BentoTileHeadline\",\n \"BentoTileMedia\",\n \"BentoTileMeta\",\n \"BentoTileTitle\",\n \"BillingSlider\",\n \"BottomNav\",\n \"Box\",\n \"Breadcrumb\",\n \"BreadcrumbEllipsis\",\n \"BreadcrumbItem\",\n \"BreadcrumbLink\",\n \"BreadcrumbList\",\n \"BreadcrumbPage\",\n \"BreadcrumbSeparator\",\n \"BrowserFrame\",\n \"BulkActionBar\",\n \"Button\",\n \"ButtonSpecimenSection\",\n \"ButtonSpecimenSlide\",\n \"Calendar\",\n \"Capture\",\n \"Card\",\n \"CardContent\",\n \"CardDescription\",\n \"CardFooter\",\n \"CardGrid\",\n \"CardHeader\",\n \"CardIndicatorContext\",\n \"CardLift\",\n \"CardTitle\",\n \"Carousel\",\n \"CarouselContent\",\n \"CarouselContext\",\n \"CarouselGallery\",\n \"CarouselItem\",\n \"CarouselNext\",\n \"CarouselPrevious\",\n \"ChallengeCard\",\n \"ChallengeCardAction\",\n \"ChallengeCardActions\",\n \"ChallengeCardBody\",\n \"ChallengeCardGate\",\n \"ChallengeCardHeader\",\n \"ChartContainer\",\n \"ChartContext\",\n \"ChartLegend\",\n \"ChartLegendContent\",\n \"ChartStyle\",\n \"ChartTooltip\",\n \"ChartTooltipContent\",\n \"Checkbox\",\n \"CheckGroup\",\n \"CheckRow\",\n \"Chip\",\n \"ChipGroup\",\n \"ChipGroupContext\",\n \"ChipGroupItem\",\n \"ChoiceChip\",\n \"ChromeButton\",\n \"ClosingSlide\",\n \"CodeBlock\",\n \"Collapsible\",\n \"CollapsibleContent\",\n \"CollapsibleTrigger\",\n \"ColorBar\",\n \"ColorPaletteSection\",\n \"ColorPicker\",\n \"ColorPickerSurface\",\n \"ColorSwatch\",\n \"ColorSwatchGrid\",\n \"Column\",\n \"Combobox\",\n \"ComboboxContent\",\n \"ComboboxContext\",\n \"ComboboxEmpty\",\n \"ComboboxGroup\",\n \"ComboboxInput\",\n \"ComboboxItem\",\n \"ComboboxSeparator\",\n \"Command\",\n \"CommandDialog\",\n \"CommandEmpty\",\n \"CommandGroup\",\n \"CommandInput\",\n \"CommandItem\",\n \"CommandList\",\n \"CommandLoading\",\n \"CommandSeparator\",\n \"CommandShortcut\",\n \"ComponentShowcaseContent\",\n \"ComponentShowcaseSection\",\n \"ComponentShowcaseSlide\",\n \"Composer\",\n \"ComposerContext\",\n \"ComposerField\",\n \"ComposerSend\",\n \"ComposerSpacer\",\n \"ComposerToolbar\",\n \"ComposerToolButton\",\n \"ConceptSlide\",\n \"ConfigurationPanel\",\n \"ConfirmDialog\",\n \"ConflictBanner\",\n \"Container\",\n \"ContextMenu\",\n \"ContextMenuCheckboxItem\",\n \"ContextMenuContent\",\n \"ContextMenuGroup\",\n \"ContextMenuItem\",\n \"ContextMenuLabel\",\n \"ContextMenuPortal\",\n \"ContextMenuRadioGroup\",\n \"ContextMenuRadioItem\",\n \"ContextMenuSeparator\",\n \"ContextMenuShortcut\",\n \"ContextMenuSub\",\n \"ContextMenuSubContent\",\n \"ContextMenuSubTrigger\",\n \"ContextMenuTrigger\",\n \"Controls\",\n \"CtaSection\",\n \"DataTable\",\n \"DataTableInner\",\n \"DatePicker\",\n \"DateRangePicker\",\n \"DeckContext\",\n \"DeckFooter\",\n \"DeckLayout\",\n \"DeckProvider\",\n \"DeckRenderer\",\n \"DesignSystemDeck\",\n \"DesignSystemSpecimen\",\n \"Dialog\",\n \"DialogBack\",\n \"DialogClose\",\n \"DialogContent\",\n \"DialogContext\",\n \"DialogDescription\",\n \"DialogField\",\n \"DialogFieldControl\",\n \"DialogFieldLabel\",\n \"DialogFooter\",\n \"DialogForm\",\n \"DialogFormBody\",\n \"DialogFormClose\",\n \"DialogFormContent\",\n \"DialogFormDescription\",\n \"DialogFormFooter\",\n \"DialogFormHeader\",\n \"DialogFormTitle\",\n \"DialogFormTrigger\",\n \"DialogHeader\",\n \"DialogOverlay\",\n \"DialogPortal\",\n \"DialogScrim\",\n \"DialogTitle\",\n \"DialogTrigger\",\n \"DocFrame\",\n \"DocFrameBrand\",\n \"DocNav\",\n \"DocNavGroup\",\n \"DocNavPill\",\n \"DotNav\",\n \"DropdownMenu\",\n \"DropdownMenuCheckboxItem\",\n \"DropdownMenuContent\",\n \"DropdownMenuGroup\",\n \"DropdownMenuItem\",\n \"DropdownMenuLabel\",\n \"DropdownMenuPortal\",\n \"DropdownMenuRadioGroup\",\n \"DropdownMenuRadioItem\",\n \"DropdownMenuSeparator\",\n \"DropdownMenuShortcut\",\n \"DropdownMenuSub\",\n \"DropdownMenuSubContent\",\n \"DropdownMenuSubTrigger\",\n \"DropdownMenuTrigger\",\n \"EditableBlock\",\n \"ElevationCard\",\n \"ElevationSlide\",\n \"EmptyState\",\n \"ErrorPlacard\",\n \"ExportMenu\",\n \"FeaturesGrid\",\n \"FidelityMirror\",\n \"Field\",\n \"FieldDescription\",\n \"FieldError\",\n \"FieldLabel\",\n \"Fieldset\",\n \"FieldsetLegend\",\n \"FileUpload\",\n \"FilterBar\",\n \"FilterChip\",\n \"FontShowcase\",\n \"FontShowcaseGrid\",\n \"Footer\",\n \"FooterSection\",\n \"Form\",\n \"FormError\",\n \"FormErrorDescription\",\n \"FormErrorTitle\",\n \"FormField\",\n \"FormSpecimenSection\",\n \"FormSpecimenSlide\",\n \"FullscreenOverlay\",\n \"FullscreenOverlayContent\",\n \"FullscreenOverlayTrigger\",\n \"GrainOverlay\",\n \"Grid\",\n \"Header\",\n \"Heading\",\n \"HeroGlow\",\n \"HeroSection\",\n \"HeroSlide\",\n \"HoverCard\",\n \"HoverCardContent\",\n \"HoverCardTrigger\",\n \"IconGrid\",\n \"IconGridSection\",\n \"IconSizeRow\",\n \"IconsSlide\",\n \"Image\",\n \"InfographicBar\",\n \"Inline\",\n \"InlineEdit\",\n \"Input\",\n \"KanbanBoard\",\n \"Kbd\",\n \"KeyValueList\",\n \"Label\",\n \"Landing\",\n \"LayerChart\",\n \"Lightbox\",\n \"LightboxContent\",\n \"LightboxContext\",\n \"LightboxTrigger\",\n \"LoginForm\",\n \"Marquee\",\n \"MarqueeBandRenderer\",\n \"MatrixCell\",\n \"MatrixTable\",\n \"MatrixTableInner\",\n \"Menubar\",\n \"MenubarCheckboxItem\",\n \"MenubarContent\",\n \"MenubarGroup\",\n \"MenubarItem\",\n \"MenubarLabel\",\n \"MenubarMenu\",\n \"MenubarRadioGroup\",\n \"MenubarRadioItem\",\n \"MenubarSeparator\",\n \"MenubarShortcut\",\n \"MenubarSub\",\n \"MenubarSubContent\",\n \"MenubarSubTrigger\",\n \"MenubarTrigger\",\n \"Meter\",\n \"MonthCalendar\",\n \"MotionDuration\",\n \"MotionDurationSection\",\n \"MotionEasing\",\n \"MotionEasingSection\",\n \"MotionSlide\",\n \"NameRoster\",\n \"NameRosterItem\",\n \"Navbar\",\n \"NavbarBrand\",\n \"NavbarContent\",\n \"NavbarItem\",\n \"NavbarLink\",\n \"NavbarToggle\",\n \"NumberInput\",\n \"OfflineBanner\",\n \"OpacityBar\",\n \"OpacitySlide\",\n \"OTPInput\",\n \"PageHeader\",\n \"Pagination\",\n \"PaginationContent\",\n \"PaginationEllipsis\",\n \"PaginationItem\",\n \"PaginationLink\",\n \"PaginationNext\",\n \"PaginationPrevious\",\n \"PasswordInput\",\n \"PhoneInput\",\n \"PlatformChip\",\n \"Popover\",\n \"PopoverAnchor\",\n \"PopoverContent\",\n \"PopoverFooter\",\n \"PopoverSelectionItem\",\n \"PopoverSelectionLabel\",\n \"PopoverSelectionList\",\n \"PopoverTrigger\",\n \"PositionPicker\",\n \"PricingSection\",\n \"ProfileMenu\",\n \"Progress\",\n \"ProportionBar\",\n \"PrototypeReview\",\n \"QuickActions\",\n \"RadioGroup\",\n \"RadioGroupItem\",\n \"RadioGroupVariantContext\",\n \"RadiusScale\",\n \"RadiusSection\",\n \"RadiusSlide\",\n \"RecordSection\",\n \"ResizableSplit\",\n \"RightRailList\",\n \"SaveStatus\",\n \"ScoreIndicator\",\n \"ScrollArea\",\n \"ScrollBar\",\n \"SearchInput\",\n \"SectionHeader\",\n \"SectionIntro\",\n \"SectionNav\",\n \"SectionNavItem\",\n \"SegmentedControl\",\n \"SegmentedProgress\",\n \"Select\",\n \"SelectContent\",\n \"SelectGroup\",\n \"SelectionListContext\",\n \"SelectItem\",\n \"SelectLabel\",\n \"SelectScrollDownButton\",\n \"SelectScrollUpButton\",\n \"SelectSeparator\",\n \"SelectTrigger\",\n \"SelectValue\",\n \"SemanticColorGrid\",\n \"SemanticColorItem\",\n \"SemanticTokensSlide\",\n \"SensitivePanel\",\n \"Separator\",\n \"SessionTimeout\",\n \"ShadowSection\",\n \"Sheet\",\n \"SheetClose\",\n \"SheetContent\",\n \"SheetContext\",\n \"SheetDescription\",\n \"SheetFooter\",\n \"SheetHeader\",\n \"SheetOverlay\",\n \"SheetPortal\",\n \"SheetScrim\",\n \"SheetTitle\",\n \"SheetTrigger\",\n \"Sidebar\",\n \"SidebarContent\",\n \"SidebarContext\",\n \"SidebarFooter\",\n \"SidebarGroup\",\n \"SidebarGroupAction\",\n \"SidebarGroupContent\",\n \"SidebarGroupLabel\",\n \"SidebarHeader\",\n \"SidebarInset\",\n \"SidebarMenu\",\n \"SidebarMenuAction\",\n \"SidebarMenuBadge\",\n \"SidebarMenuButton\",\n \"SidebarMenuItem\",\n \"SidebarMenuSub\",\n \"SidebarMenuSubButton\",\n \"SidebarMenuSubItem\",\n \"SidebarProvider\",\n \"SidebarRail\",\n \"SidebarScopeContext\",\n \"SidebarSeparator\",\n \"SidebarTrigger\",\n \"Skeleton\",\n \"SkeletonDetail\",\n \"SkeletonList\",\n \"SkeletonTable\",\n \"Slide\",\n \"SlideHeader\",\n \"Slider\",\n \"SliderControl\",\n \"SlideThemeContext\",\n \"SlideThemeProvider\",\n \"SlowNetworkBar\",\n \"SourceInspector\",\n \"SourceInspectorContext\",\n \"SourceInspectorDevImpl\",\n \"SourceInspectorProvider\",\n \"SourceInspectorRunner\",\n \"SourceInspectorToggle\",\n \"SpacingScale\",\n \"SpacingSection\",\n \"SpacingSlide\",\n \"SpanStrip\",\n \"Sparkline\",\n \"SpecimenCard\",\n \"SpecimenCardFooter\",\n \"Sphere\",\n \"SpherePlayground\",\n \"Spinner\",\n \"SpinnerOrb\",\n \"Stack\",\n \"Stage\",\n \"StatCard\",\n \"StatHero\",\n \"StationSpectrum\",\n \"StatusBadge\",\n \"StatusColorsSlide\",\n \"StatusDot\",\n \"Stepper\",\n \"StepperContext\",\n \"StepperDescription\",\n \"StepperItem\",\n \"StepperSeparator\",\n \"StepperTitle\",\n \"StepperTrigger\",\n \"StepsSection\",\n \"StructuredPrompt\",\n \"StructuredPromptBody\",\n \"StructuredPromptHeader\",\n \"StructuredPromptHint\",\n \"StructuredPromptSlot\",\n \"SuccessLiveRegion\",\n \"SuccessPanel\",\n \"SurfaceRow\",\n \"SurfaceScaleStack\",\n \"SurfaceSection\",\n \"Switch\",\n \"Table\",\n \"TableBody\",\n \"TableCaption\",\n \"TableCell\",\n \"TableFooter\",\n \"TableHead\",\n \"TableHeader\",\n \"TableRow\",\n \"Tabs\",\n \"TabsContent\",\n \"TabsList\",\n \"TabsTrigger\",\n \"TagInput\",\n \"TestimonialAttribution\",\n \"TestimonialSection\",\n \"Text\",\n \"Textarea\",\n \"ThemeArchitectureSlide\",\n \"ThemeColorsSlide\",\n \"ThemeSwitcher\",\n \"ThinkingOrb\",\n \"Timeline\",\n \"TimelineContent\",\n \"TimelineDescription\",\n \"TimelineIcon\",\n \"TimelineItem\",\n \"TimelineTimestamp\",\n \"TimelineTitle\",\n \"TimePicker\",\n \"TinInput\",\n \"TitleSlide\",\n \"ToastCard\",\n \"ToastCardStack\",\n \"Toaster\",\n \"TOCSlide\",\n \"ToggleButton\",\n \"ToggleDevImpl\",\n \"ToggleGroup\",\n \"ToggleGroupContext\",\n \"ToggleGroupItem\",\n \"Tooltip\",\n \"TooltipContent\",\n \"TooltipProvider\",\n \"TooltipTrigger\",\n \"TypeBodySlide\",\n \"TypeDisplaySlide\",\n \"TypeScaleStack\",\n \"TypeSpecimen\",\n \"TypographySection\",\n \"Vignette\",\n \"WorkspaceSwitcher\",\n])\n"
|
|
5639
|
+
"content": "// THIS FILE IS GENERATED BY scripts/generate-visor-component-names.ts.\n// Do not edit by hand. Re-run `npm run generate:component-names` after\n// adding, removing, or renaming a Visor component.\n//\n// Source of truth: registry/registry-{ui,blocks,deck,visual,devtools}.ts\n// Used by: components/devtools/source-inspector/* (VI-311)\n\nexport const VISOR_COMPONENT_NAMES: ReadonlySet<string> = new Set([\n \"AccessibilitySection\",\n \"AccessibilitySlide\",\n \"AccessibilitySpecimen\",\n \"Accordion\",\n \"AccordionContent\",\n \"AccordionItem\",\n \"AccordionTrigger\",\n \"ActionRow\",\n \"ActionRowList\",\n \"ActivityFeed\",\n \"ActivityFeedContext\",\n \"ActivityFeedItem\",\n \"ActivityFeedRoot\",\n \"AdminDashboard\",\n \"AdminDetail\",\n \"AdminDetailDrawer\",\n \"AdminListPage\",\n \"AdminListPageInner\",\n \"AdminSettingsPage\",\n \"AdminShell\",\n \"AdminTabbedEditor\",\n \"AdminWizard\",\n \"Alert\",\n \"AlertActions\",\n \"AlertDescription\",\n \"AlertLead\",\n \"AlertTitle\",\n \"AmbientGlow\",\n \"Avatar\",\n \"AvatarFallback\",\n \"AvatarImage\",\n \"AvatarStack\",\n \"Badge\",\n \"Banner\",\n \"BannerAction\",\n \"BannerDescription\",\n \"BannerTitle\",\n \"BentoGrid\",\n \"BentoTile\",\n \"BentoTileBody\",\n \"BentoTileDescription\",\n \"BentoTileFigure\",\n \"BentoTileHeadline\",\n \"BentoTileMedia\",\n \"BentoTileMeta\",\n \"BentoTileTitle\",\n \"BillingSlider\",\n \"BottomNav\",\n \"Box\",\n \"Breadcrumb\",\n \"BreadcrumbEllipsis\",\n \"BreadcrumbItem\",\n \"BreadcrumbLink\",\n \"BreadcrumbList\",\n \"BreadcrumbPage\",\n \"BreadcrumbSeparator\",\n \"BrowserFrame\",\n \"BulkActionBar\",\n \"Button\",\n \"ButtonSpecimenSection\",\n \"ButtonSpecimenSlide\",\n \"Calendar\",\n \"Capture\",\n \"Card\",\n \"CardContent\",\n \"CardDescription\",\n \"CardFooter\",\n \"CardGrid\",\n \"CardHeader\",\n \"CardIndicatorContext\",\n \"CardLift\",\n \"CardTitle\",\n \"Carousel\",\n \"CarouselContent\",\n \"CarouselContext\",\n \"CarouselGallery\",\n \"CarouselItem\",\n \"CarouselNext\",\n \"CarouselPrevious\",\n \"ChallengeCard\",\n \"ChallengeCardAction\",\n \"ChallengeCardActions\",\n \"ChallengeCardBody\",\n \"ChallengeCardGate\",\n \"ChallengeCardHeader\",\n \"ChartContainer\",\n \"ChartContext\",\n \"ChartLegend\",\n \"ChartLegendContent\",\n \"ChartStyle\",\n \"ChartTooltip\",\n \"ChartTooltipContent\",\n \"Checkbox\",\n \"CheckGroup\",\n \"CheckRow\",\n \"Chip\",\n \"ChipGroup\",\n \"ChipGroupContext\",\n \"ChipGroupItem\",\n \"ChoiceChip\",\n \"ChromeButton\",\n \"ClosingSlide\",\n \"CodeBlock\",\n \"Collapsible\",\n \"CollapsibleContent\",\n \"CollapsibleTrigger\",\n \"ColorBar\",\n \"ColorPaletteSection\",\n \"ColorPicker\",\n \"ColorPickerSurface\",\n \"ColorSwatch\",\n \"ColorSwatchGrid\",\n \"Column\",\n \"Combobox\",\n \"ComboboxContent\",\n \"ComboboxContext\",\n \"ComboboxEmpty\",\n \"ComboboxGroup\",\n \"ComboboxInput\",\n \"ComboboxItem\",\n \"ComboboxSeparator\",\n \"Command\",\n \"CommandDialog\",\n \"CommandEmpty\",\n \"CommandGroup\",\n \"CommandInput\",\n \"CommandItem\",\n \"CommandList\",\n \"CommandLoading\",\n \"CommandSeparator\",\n \"CommandShortcut\",\n \"ComponentShowcaseContent\",\n \"ComponentShowcaseSection\",\n \"ComponentShowcaseSlide\",\n \"Composer\",\n \"ComposerContext\",\n \"ComposerField\",\n \"ComposerSend\",\n \"ComposerSpacer\",\n \"ComposerToolbar\",\n \"ComposerToolButton\",\n \"ConceptSlide\",\n \"ConfigurationPanel\",\n \"ConfirmDialog\",\n \"ConflictBanner\",\n \"Container\",\n \"ContextMenu\",\n \"ContextMenuCheckboxItem\",\n \"ContextMenuContent\",\n \"ContextMenuGroup\",\n \"ContextMenuItem\",\n \"ContextMenuLabel\",\n \"ContextMenuPortal\",\n \"ContextMenuRadioGroup\",\n \"ContextMenuRadioItem\",\n \"ContextMenuSeparator\",\n \"ContextMenuShortcut\",\n \"ContextMenuSub\",\n \"ContextMenuSubContent\",\n \"ContextMenuSubTrigger\",\n \"ContextMenuTrigger\",\n \"Controls\",\n \"CtaSection\",\n \"DataTable\",\n \"DataTableInner\",\n \"DatePicker\",\n \"DateRangePicker\",\n \"DeckContext\",\n \"DeckFooter\",\n \"DeckLayout\",\n \"DeckProvider\",\n \"DeckRenderer\",\n \"DesignSystemDeck\",\n \"DesignSystemSpecimen\",\n \"Dialog\",\n \"DialogBack\",\n \"DialogClose\",\n \"DialogContent\",\n \"DialogContext\",\n \"DialogDescription\",\n \"DialogField\",\n \"DialogFieldControl\",\n \"DialogFieldLabel\",\n \"DialogFooter\",\n \"DialogForm\",\n \"DialogFormBody\",\n \"DialogFormClose\",\n \"DialogFormContent\",\n \"DialogFormDescription\",\n \"DialogFormFooter\",\n \"DialogFormHeader\",\n \"DialogFormTitle\",\n \"DialogFormTrigger\",\n \"DialogHeader\",\n \"DialogOverlay\",\n \"DialogPortal\",\n \"DialogScrim\",\n \"DialogTitle\",\n \"DialogTrigger\",\n \"DocFrame\",\n \"DocFrameBrand\",\n \"DocNav\",\n \"DocNavGroup\",\n \"DocNavPill\",\n \"DotNav\",\n \"DropdownMenu\",\n \"DropdownMenuCheckboxItem\",\n \"DropdownMenuContent\",\n \"DropdownMenuGroup\",\n \"DropdownMenuItem\",\n \"DropdownMenuLabel\",\n \"DropdownMenuPortal\",\n \"DropdownMenuRadioGroup\",\n \"DropdownMenuRadioItem\",\n \"DropdownMenuSeparator\",\n \"DropdownMenuShortcut\",\n \"DropdownMenuSub\",\n \"DropdownMenuSubContent\",\n \"DropdownMenuSubTrigger\",\n \"DropdownMenuTrigger\",\n \"EditableBlock\",\n \"ElevationCard\",\n \"ElevationSlide\",\n \"EmptyState\",\n \"ErrorPlacard\",\n \"ExportMenu\",\n \"FeaturesGrid\",\n \"FidelityMirror\",\n \"Field\",\n \"FieldDescription\",\n \"FieldError\",\n \"FieldLabel\",\n \"Fieldset\",\n \"FieldsetLegend\",\n \"FileUpload\",\n \"FilterBar\",\n \"FilterChip\",\n \"FontShowcase\",\n \"FontShowcaseGrid\",\n \"Footer\",\n \"FooterSection\",\n \"Form\",\n \"FormError\",\n \"FormErrorDescription\",\n \"FormErrorTitle\",\n \"FormField\",\n \"FormSpecimenSection\",\n \"FormSpecimenSlide\",\n \"FullscreenOverlay\",\n \"FullscreenOverlayContent\",\n \"FullscreenOverlayTrigger\",\n \"GrainOverlay\",\n \"Grid\",\n \"Header\",\n \"Heading\",\n \"HeroGlow\",\n \"HeroSection\",\n \"HeroSlide\",\n \"HoverCard\",\n \"HoverCardContent\",\n \"HoverCardTrigger\",\n \"IconGrid\",\n \"IconGridSection\",\n \"IconSizeRow\",\n \"IconsSlide\",\n \"Image\",\n \"InfographicBar\",\n \"Inline\",\n \"InlineEdit\",\n \"Input\",\n \"KanbanBoard\",\n \"Kbd\",\n \"KeyValueList\",\n \"Label\",\n \"Landing\",\n \"LayerChart\",\n \"Lightbox\",\n \"LightboxContent\",\n \"LightboxContext\",\n \"LightboxTrigger\",\n \"LoginForm\",\n \"Marquee\",\n \"MarqueeBandRenderer\",\n \"MatrixCell\",\n \"MatrixTable\",\n \"MatrixTableInner\",\n \"Menubar\",\n \"MenubarCheckboxItem\",\n \"MenubarContent\",\n \"MenubarGroup\",\n \"MenubarItem\",\n \"MenubarLabel\",\n \"MenubarMenu\",\n \"MenubarRadioGroup\",\n \"MenubarRadioItem\",\n \"MenubarSeparator\",\n \"MenubarShortcut\",\n \"MenubarSub\",\n \"MenubarSubContent\",\n \"MenubarSubTrigger\",\n \"MenubarTrigger\",\n \"Meter\",\n \"MonthCalendar\",\n \"MotionDuration\",\n \"MotionDurationSection\",\n \"MotionEasing\",\n \"MotionEasingSection\",\n \"MotionSlide\",\n \"NameRoster\",\n \"NameRosterItem\",\n \"Navbar\",\n \"NavbarBrand\",\n \"NavbarContent\",\n \"NavbarItem\",\n \"NavbarLink\",\n \"NavbarToggle\",\n \"NumberInput\",\n \"OfflineBanner\",\n \"OpacityBar\",\n \"OpacitySlide\",\n \"OTPInput\",\n \"PageHeader\",\n \"Pagination\",\n \"PaginationContent\",\n \"PaginationEllipsis\",\n \"PaginationItem\",\n \"PaginationLink\",\n \"PaginationNext\",\n \"PaginationPrevious\",\n \"PasswordInput\",\n \"PhoneInput\",\n \"PhotoPicker\",\n \"PlatformChip\",\n \"Popover\",\n \"PopoverAnchor\",\n \"PopoverContent\",\n \"PopoverFooter\",\n \"PopoverSelectionItem\",\n \"PopoverSelectionLabel\",\n \"PopoverSelectionList\",\n \"PopoverTrigger\",\n \"PositionPicker\",\n \"PricingSection\",\n \"ProfileMenu\",\n \"Progress\",\n \"ProportionBar\",\n \"PrototypeReview\",\n \"QuickActions\",\n \"RadioGroup\",\n \"RadioGroupItem\",\n \"RadioGroupVariantContext\",\n \"RadiusScale\",\n \"RadiusSection\",\n \"RadiusSlide\",\n \"RecordSection\",\n \"ResizableSplit\",\n \"RightRailList\",\n \"SaveStatus\",\n \"ScoreIndicator\",\n \"ScrollArea\",\n \"ScrollBar\",\n \"SearchInput\",\n \"SectionHeader\",\n \"SectionIntro\",\n \"SectionNav\",\n \"SectionNavItem\",\n \"SegmentedControl\",\n \"SegmentedProgress\",\n \"Select\",\n \"SelectContent\",\n \"SelectGroup\",\n \"SelectionListContext\",\n \"SelectItem\",\n \"SelectLabel\",\n \"SelectScrollDownButton\",\n \"SelectScrollUpButton\",\n \"SelectSeparator\",\n \"SelectTrigger\",\n \"SelectValue\",\n \"SemanticColorGrid\",\n \"SemanticColorItem\",\n \"SemanticTokensSlide\",\n \"SensitivePanel\",\n \"Separator\",\n \"SessionTimeout\",\n \"ShadowSection\",\n \"Sheet\",\n \"SheetClose\",\n \"SheetContent\",\n \"SheetContext\",\n \"SheetDescription\",\n \"SheetFooter\",\n \"SheetHeader\",\n \"SheetOverlay\",\n \"SheetPortal\",\n \"SheetScrim\",\n \"SheetTitle\",\n \"SheetTrigger\",\n \"Sidebar\",\n \"SidebarContent\",\n \"SidebarContext\",\n \"SidebarFooter\",\n \"SidebarGroup\",\n \"SidebarGroupAction\",\n \"SidebarGroupContent\",\n \"SidebarGroupLabel\",\n \"SidebarHeader\",\n \"SidebarInset\",\n \"SidebarMenu\",\n \"SidebarMenuAction\",\n \"SidebarMenuBadge\",\n \"SidebarMenuButton\",\n \"SidebarMenuItem\",\n \"SidebarMenuSub\",\n \"SidebarMenuSubButton\",\n \"SidebarMenuSubItem\",\n \"SidebarProvider\",\n \"SidebarRail\",\n \"SidebarScopeContext\",\n \"SidebarSeparator\",\n \"SidebarTrigger\",\n \"Skeleton\",\n \"SkeletonDetail\",\n \"SkeletonList\",\n \"SkeletonTable\",\n \"Slide\",\n \"SlideHeader\",\n \"Slider\",\n \"SliderControl\",\n \"SlideThemeContext\",\n \"SlideThemeProvider\",\n \"SlowNetworkBar\",\n \"SourceInspector\",\n \"SourceInspectorContext\",\n \"SourceInspectorDevImpl\",\n \"SourceInspectorProvider\",\n \"SourceInspectorRunner\",\n \"SourceInspectorToggle\",\n \"SpacingScale\",\n \"SpacingSection\",\n \"SpacingSlide\",\n \"SpanStrip\",\n \"Sparkline\",\n \"SpecimenCard\",\n \"SpecimenCardFooter\",\n \"Sphere\",\n \"SpherePlayground\",\n \"Spinner\",\n \"SpinnerOrb\",\n \"Stack\",\n \"Stage\",\n \"StatCard\",\n \"StatHero\",\n \"StationSpectrum\",\n \"StatusBadge\",\n \"StatusColorsSlide\",\n \"StatusDot\",\n \"Stepper\",\n \"StepperContext\",\n \"StepperDescription\",\n \"StepperItem\",\n \"StepperSeparator\",\n \"StepperTitle\",\n \"StepperTrigger\",\n \"StepsSection\",\n \"StructuredPrompt\",\n \"StructuredPromptBody\",\n \"StructuredPromptHeader\",\n \"StructuredPromptHint\",\n \"StructuredPromptSlot\",\n \"SuccessLiveRegion\",\n \"SuccessPanel\",\n \"SurfaceRow\",\n \"SurfaceScaleStack\",\n \"SurfaceSection\",\n \"Switch\",\n \"Table\",\n \"TableBody\",\n \"TableCaption\",\n \"TableCell\",\n \"TableFooter\",\n \"TableHead\",\n \"TableHeader\",\n \"TableRow\",\n \"Tabs\",\n \"TabsContent\",\n \"TabsList\",\n \"TabsTrigger\",\n \"TagInput\",\n \"TestimonialAttribution\",\n \"TestimonialSection\",\n \"Text\",\n \"Textarea\",\n \"ThemeArchitectureSlide\",\n \"ThemeColorsSlide\",\n \"ThemeSwitcher\",\n \"ThemeToggle\",\n \"ThinkingOrb\",\n \"Timeline\",\n \"TimelineContent\",\n \"TimelineDescription\",\n \"TimelineIcon\",\n \"TimelineItem\",\n \"TimelineTimestamp\",\n \"TimelineTitle\",\n \"TimePicker\",\n \"TinInput\",\n \"TitleSlide\",\n \"ToastCard\",\n \"ToastCardStack\",\n \"Toaster\",\n \"TOCSlide\",\n \"ToggleButton\",\n \"ToggleDevImpl\",\n \"ToggleGroup\",\n \"ToggleGroupContext\",\n \"ToggleGroupItem\",\n \"Tooltip\",\n \"TooltipContent\",\n \"TooltipProvider\",\n \"TooltipTrigger\",\n \"TypeBodySlide\",\n \"TypeDisplaySlide\",\n \"TypeScaleStack\",\n \"TypeSpecimen\",\n \"TypographySection\",\n \"Vignette\",\n \"WorkspaceSwitcher\",\n])\n"
|
|
5591
5640
|
}
|
|
5592
5641
|
]
|
|
5593
5642
|
},
|
package/dist/visor-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.4.0",
|
|
3
|
-
"generated_at": "2026-11-
|
|
3
|
+
"generated_at": "2026-11-20T04:46:19.501Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"accessibility-specimen": {
|
|
6
6
|
"category": "specimen",
|
|
@@ -7757,6 +7757,83 @@
|
|
|
7757
7757
|
"tokens_used": [],
|
|
7758
7758
|
"example": "<PhoneInput\n name=\"phone\"\n placeholder=\"Enter phone number\"\n onChange={(e164, isValid) => {\n console.log(e164, isValid);\n }}\n/>\n"
|
|
7759
7759
|
},
|
|
7760
|
+
"photo-picker": {
|
|
7761
|
+
"category": "form",
|
|
7762
|
+
"description": "A grid of photo thumbnails, one chosen. Each thumbnail is a pressed-state button; a staggered draw wave plays each time the picker opens, and thumbnails wait to load until it has been opened once. The consumer supplies the popover or panel.",
|
|
7763
|
+
"when_to_use": [
|
|
7764
|
+
"Picking a background, cover or header photo from a set",
|
|
7765
|
+
"A photo menu in a popover, where the wave should replay on every open",
|
|
7766
|
+
"Any single choice whose options are best shown as pictures"
|
|
7767
|
+
],
|
|
7768
|
+
"when_not_to_use": [
|
|
7769
|
+
"Uploading a new photo (use FileUpload)",
|
|
7770
|
+
"Choosing several photos at once (build a multi-select grid)",
|
|
7771
|
+
"Browsing photos full size (use Lightbox)"
|
|
7772
|
+
],
|
|
7773
|
+
"props": [
|
|
7774
|
+
{
|
|
7775
|
+
"name": "photos",
|
|
7776
|
+
"type": "{ key: string; thumb: string; label?: string }[]",
|
|
7777
|
+
"required": true,
|
|
7778
|
+
"description": "The photos, in order. label is the thumbnail's accessible name; it defaults to \"Photo N\"."
|
|
7779
|
+
},
|
|
7780
|
+
{
|
|
7781
|
+
"name": "value",
|
|
7782
|
+
"type": "string | null",
|
|
7783
|
+
"default": "null",
|
|
7784
|
+
"description": "The chosen photo's key."
|
|
7785
|
+
},
|
|
7786
|
+
{
|
|
7787
|
+
"name": "onValueChange",
|
|
7788
|
+
"type": "(key: string) => void",
|
|
7789
|
+
"description": "Called with a photo's key when it is pressed."
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"name": "play",
|
|
7793
|
+
"type": "boolean | number",
|
|
7794
|
+
"description": "The draw wave plays on mount and every time play changes, except to false. Pass the menu's open state, or a counter you bump."
|
|
7795
|
+
},
|
|
7796
|
+
{
|
|
7797
|
+
"name": "load",
|
|
7798
|
+
"type": "boolean",
|
|
7799
|
+
"default": "true",
|
|
7800
|
+
"description": "Thumbnails load only once this has been true, and stay loaded after. Pass the menu's open state to wait for the first open."
|
|
7801
|
+
}
|
|
7802
|
+
],
|
|
7803
|
+
"dependencies": [],
|
|
7804
|
+
"tokens_used": [
|
|
7805
|
+
"--_draw-duration",
|
|
7806
|
+
"--_draw-gap",
|
|
7807
|
+
"--_draw-rise",
|
|
7808
|
+
"--_ease",
|
|
7809
|
+
"--border-default",
|
|
7810
|
+
"--border-focus",
|
|
7811
|
+
"--draw-i",
|
|
7812
|
+
"--focus-ring-offset",
|
|
7813
|
+
"--focus-ring-width",
|
|
7814
|
+
"--interactive-primary-bg",
|
|
7815
|
+
"--motion-duration-200",
|
|
7816
|
+
"--motion-duration-800",
|
|
7817
|
+
"--photo-picker-columns",
|
|
7818
|
+
"--photo-picker-columns-narrow",
|
|
7819
|
+
"--photo-picker-draw-duration",
|
|
7820
|
+
"--photo-picker-draw-gap",
|
|
7821
|
+
"--photo-picker-draw-rise",
|
|
7822
|
+
"--photo-picker-ease",
|
|
7823
|
+
"--photo-picker-gap",
|
|
7824
|
+
"--photo-picker-max-height",
|
|
7825
|
+
"--photo-picker-padding",
|
|
7826
|
+
"--photo-picker-radius",
|
|
7827
|
+
"--photo-picker-ring",
|
|
7828
|
+
"--photo-picker-ring-selected",
|
|
7829
|
+
"--radius-xl",
|
|
7830
|
+
"--spacing-1",
|
|
7831
|
+
"--spacing-2",
|
|
7832
|
+
"--stroke-width-medium",
|
|
7833
|
+
"--stroke-width-thin"
|
|
7834
|
+
],
|
|
7835
|
+
"example": "<Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger asChild><Button>Photo</Button></PopoverTrigger>\n <PopoverContent>\n <PhotoPicker\n aria-label=\"Pick Your Background\"\n photos={photos}\n value={photo}\n onValueChange={setPhoto}\n play={open}\n load={open}\n />\n </PopoverContent>\n</Popover>\n"
|
|
7836
|
+
},
|
|
7760
7837
|
"popover": {
|
|
7761
7838
|
"category": "feedback",
|
|
7762
7839
|
"description": "Floating content panel anchored to a trigger element.",
|
|
@@ -11730,6 +11807,71 @@
|
|
|
11730
11807
|
],
|
|
11731
11808
|
"example": "import { ThemeSwitcher } from \"@/components/ui/theme-switcher/theme-switcher\"\nimport { SourceInspectorToggle } from \"@/components/devtools/source-inspector/source-inspector-toggle\"\n\n<ThemeSwitcher\n themes={[\n { id: \"default\", label: \"Default\", bodyClass: \"\" },\n { id: \"blackout\", label: \"Blackout\", bodyClass: \"blackout-theme\" },\n ]}\n extras={<SourceInspectorToggle />}\n/>\n"
|
|
11732
11809
|
},
|
|
11810
|
+
"theme-toggle": {
|
|
11811
|
+
"category": "general",
|
|
11812
|
+
"description": "A round light/dark button. Dark shows the sun and light shows the moon; on a press the icon going away turns 100deg and shrinks out as the other springs in. Controlled, and keyed off its own data-tone.",
|
|
11813
|
+
"when_to_use": [
|
|
11814
|
+
"One button that flips a page or app between light and dark",
|
|
11815
|
+
"A floating look switch, a top bar or an account menu's tone control",
|
|
11816
|
+
"The same toggle, with the same motion, across several apps that each store the tone their own way"
|
|
11817
|
+
],
|
|
11818
|
+
"when_not_to_use": [
|
|
11819
|
+
"Choosing among several themes as well as the mode (use ThemeSwitcher)",
|
|
11820
|
+
"A labelled on/off setting inside a form (use Switch)"
|
|
11821
|
+
],
|
|
11822
|
+
"props": [
|
|
11823
|
+
{
|
|
11824
|
+
"name": "value",
|
|
11825
|
+
"type": "'light' | 'dark'",
|
|
11826
|
+
"required": true,
|
|
11827
|
+
"description": "The tone in force now. Dark shows the sun, light shows the moon."
|
|
11828
|
+
},
|
|
11829
|
+
{
|
|
11830
|
+
"name": "onValueChange",
|
|
11831
|
+
"type": "(value: 'light' | 'dark') => void",
|
|
11832
|
+
"description": "Called with the other tone on a press."
|
|
11833
|
+
},
|
|
11834
|
+
{
|
|
11835
|
+
"name": "aria-label",
|
|
11836
|
+
"type": "string",
|
|
11837
|
+
"default": "\"Switch light or dark\"",
|
|
11838
|
+
"description": "The button's accessible name."
|
|
11839
|
+
},
|
|
11840
|
+
{
|
|
11841
|
+
"name": "onClick",
|
|
11842
|
+
"type": "React.MouseEventHandler<HTMLButtonElement>",
|
|
11843
|
+
"description": "Runs before onValueChange. Call preventDefault() to skip the change."
|
|
11844
|
+
}
|
|
11845
|
+
],
|
|
11846
|
+
"dependencies": [
|
|
11847
|
+
"@phosphor-icons/react"
|
|
11848
|
+
],
|
|
11849
|
+
"tokens_used": [
|
|
11850
|
+
"--_ease",
|
|
11851
|
+
"--border-default",
|
|
11852
|
+
"--border-focus",
|
|
11853
|
+
"--focus-ring-offset",
|
|
11854
|
+
"--focus-ring-width",
|
|
11855
|
+
"--motion-duration-300",
|
|
11856
|
+
"--motion-duration-500",
|
|
11857
|
+
"--motion-easing-spring",
|
|
11858
|
+
"--radius-full",
|
|
11859
|
+
"--spacing-10",
|
|
11860
|
+
"--spacing-4",
|
|
11861
|
+
"--stroke-width-thin",
|
|
11862
|
+
"--surface-muted",
|
|
11863
|
+
"--surface-subtle",
|
|
11864
|
+
"--text-primary",
|
|
11865
|
+
"--theme-toggle-bg",
|
|
11866
|
+
"--theme-toggle-bg-hover",
|
|
11867
|
+
"--theme-toggle-color",
|
|
11868
|
+
"--theme-toggle-ease",
|
|
11869
|
+
"--theme-toggle-icon-size",
|
|
11870
|
+
"--theme-toggle-ring",
|
|
11871
|
+
"--theme-toggle-size"
|
|
11872
|
+
],
|
|
11873
|
+
"example": "const [tone, setTone] = useState<\"light\" | \"dark\">(\"light\")\n\n<ThemeToggle\n value={tone}\n onValueChange={(next) => {\n setTone(next)\n document.documentElement.dataset.tone = next\n }}\n/>\n"
|
|
11874
|
+
},
|
|
11733
11875
|
"time-picker": {
|
|
11734
11876
|
"category": "form",
|
|
11735
11877
|
"description": "A time picker with a typeable field and a popover of hour and minute columns, shown in a 12- or 24-hour cycle with a configurable minute step.",
|
|
@@ -14888,6 +15030,7 @@
|
|
|
14888
15030
|
"otp-input",
|
|
14889
15031
|
"password-input",
|
|
14890
15032
|
"phone-input",
|
|
15033
|
+
"photo-picker",
|
|
14891
15034
|
"position-picker",
|
|
14892
15035
|
"radio-group",
|
|
14893
15036
|
"search-input",
|
|
@@ -14953,7 +15096,8 @@
|
|
|
14953
15096
|
"general": [
|
|
14954
15097
|
"editable-block",
|
|
14955
15098
|
"section-intro",
|
|
14956
|
-
"theme-switcher"
|
|
15099
|
+
"theme-switcher",
|
|
15100
|
+
"theme-toggle"
|
|
14957
15101
|
],
|
|
14958
15102
|
"visual-elements": [
|
|
14959
15103
|
"ambient-glow",
|