@vini-ds/agent 0.1.0-alpha.13 → 0.1.0-alpha.15
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/SETUP.md +11 -4
- package/SKILL.md +7 -1
- package/context/components.json +499 -7
- package/context/current.json +73 -22
- package/context/examples/0000.json +1130 -0
- package/context/examples/0001.json +152 -0
- package/context/examples/0002.json +2798 -0
- package/context/examples/0003.json +5890 -0
- package/context/examples/0004.json +1709 -0
- package/context/examples/0005.json +3482 -0
- package/context/examples/0006.json +170 -0
- package/context/examples/0007.json +939 -0
- package/context/examples/0008.json +1257 -0
- package/mcp.mjs +109 -13
- package/package.json +17 -14
- package/context/examples.json +0 -341
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "atlas-foundations-effects",
|
|
4
|
+
"title": "Effects — elevation styles",
|
|
5
|
+
"description": "Public Atlas elevation specimens with links to raw and rendered effect information.",
|
|
6
|
+
"componentIds": [
|
|
7
|
+
"alert",
|
|
8
|
+
"text"
|
|
9
|
+
],
|
|
10
|
+
"patternIds": [],
|
|
11
|
+
"files": [
|
|
12
|
+
{
|
|
13
|
+
"name": "EffectsView.tsx",
|
|
14
|
+
"language": "tsx",
|
|
15
|
+
"source": "import { Alert, AlertDescription, Text } from '@vini-ds/ui';\nimport { AtlasPageHeading } from './AtlasPageHeading';\nimport { Icon } from './WorkspaceControls';\nimport styles from './WorkspaceApp.module.css';\nimport { effectEntries, effectVariable } from './tokenModel';\nimport type { SharedViewProps } from './WorkspaceViews';\n\nexport function EffectsView({ inspect }: SharedViewProps) {\n const rawLayerCount = effectEntries.reduce(\n (count, [, definition]) => count + definition.effects.length,\n 0\n );\n return (\n <>\n <AtlasPageHeading\n eyebrow={`${effectEntries.length} EFFECTSTYLES · ${rawLayerCount} RAW LAYERS`}\n title=\"Elevation system\"\n description=\"Все Figma EffectStyles, их эффективная CSS-проекция и сырые shadow layers в Inspector.\"\n />\n <section className={styles.effectShowcase}>\n {effectEntries.map(([name, definition], index) => (\n <button\n type=\"button\"\n key={name}\n className={styles.effectCard}\n onClick={() => inspect({ kind: \"effect\", name })}\n data-atlas-local-surface=\"foundation-specimen\" aria-describedby=\"foundation-specimen-note\">\n <Text token=\"desktop/controlmono/regular/300\">{String(index + 1).padStart(2, \"0\")}</Text>\n <div className={styles.effectSurface} style={{ boxShadow: effectVariable(name) }}>\n <Icon name=\"layers\" />\n <strong>{name.split(\"/\").at(-1)}</strong>\n </div>\n <div className={styles.effectMeta}>\n <Text token=\"desktop/caption/medium/400\">{name}</Text>\n <code>{effectVariable(name)}</code>\n <Text token=\"desktop/caption/regular/300\">\n {definition.effects.length} layers ·{\" \"}\n {definition.effects.filter((layer) => layer.visible).length} visible\n </Text>\n </div>\n </button>\n ))}\n </section>\n <Alert role=\"note\" ><AlertDescription>\n <Icon name=\"info\" />\n <div>\n <Text token=\"desktop/body/medium/400\">Raw Figma layer ≠ CSS layer</Text>\n <Text as=\"p\" token=\"desktop/caption/regular/400\">\n Elevation/150 хранит hidden INNER_SHADOW в raw definition. CSS выводит только visible\n shadows; Inspector показывает оба представления.\n </Text>\n </div>\n </AlertDescription></Alert>\n </>\n );\n}\n"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "AtlasPageHeading.tsx",
|
|
19
|
+
"language": "tsx",
|
|
20
|
+
"source": "import { Heading, Text } from \"@vini-ds/ui\";\nimport type { ReactNode } from \"react\";\nimport styles from \"./WorkspaceApp.module.css\";\n\nexport function AtlasPageHeading({\n eyebrow,\n title,\n description,\n action\n}: {\n eyebrow: string;\n title: string;\n description: string;\n action?: ReactNode;\n}) {\n return (\n <header className={styles.pageHeading}>\n <div>\n <Text token=\"desktop/overline/bold/300\">{eyebrow}</Text>\n <Heading level={1} token=\"desktop/display/regular/1300\">\n {title}\n </Heading>\n <Text as=\"p\" token=\"desktop/body/regular/500\">\n {description}\n </Text>\n </div>\n {action}\n </header>\n );\n}\n"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "WorkspaceControls.tsx",
|
|
24
|
+
"language": "tsx",
|
|
25
|
+
"source": "import { useId } from \"react\";\nimport { RadioGroup, RadioGroupItem, Text } from \"@vini-ds/ui\";\nimport styles from \"./WorkspaceControls.module.css\";\n\nexport function Icon({ name, className }: { name: string; className?: string }) {\n return (\n <span className={`material-symbols-rounded ${className ?? \"\"}`} data-sidebar-icon aria-hidden=\"true\">\n {name}\n </span>\n );\n}\n\nexport function Segment<T extends string>({\n items,\n value,\n labels,\n onChange,\n ariaLabel\n}: {\n items: readonly T[];\n value: T;\n labels?: Partial<Record<T, string>>;\n onChange: (value: T) => void;\n ariaLabel: string;\n}) {\n const id = useId();\n return (\n <RadioGroup className={styles.choices} value={value} aria-label={ariaLabel}\n onValueChange={(next, details) => {\n if (!details.isCanceled && next !== null && items.includes(next as T)) onChange(next as T);\n }}>\n {items.map((item) => (\n <Text as=\"div\" token=\"desktop/body/regular/500\" className={styles.choice} key={item}>\n <span className={styles.control}><RadioGroupItem id={`${id}-${item}`} value={item} /></span>\n <label htmlFor={`${id}-${item}`}>{labels?.[item] ?? item}</label>\n </Text>\n ))}\n </RadioGroup>\n );\n}\n"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "WorkspaceApp.module.css",
|
|
29
|
+
"language": "css",
|
|
30
|
+
"source": ".app {\n --workspace-max: calc(var(--vini-base-sizing-1000) * 27);\n --atlas-header-height: calc(var(--vini-base-sizing-700) + var(--vini-base-spacing-500));\n\n min-height: 100vh;\n display: flex;\n background:\n radial-gradient(circle at 82% -10%, var(--vini-theme-acc-surface), transparent 26%),\n var(--vini-theme-main-space);\n}\n\n:where(.app button:not([data-content-mode]):not([data-slot]), .app input, .app select) {\n font: inherit;\n}\n\n:where(.app button:not([data-content-mode]):not([data-slot])) {\n color: inherit;\n}\n\n.app code:not([data-atlas-code-text]),\n.app pre:not([data-atlas-code-text]) {\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n}\n\n.main {\n flex: 1;\n min-width: 0;\n}\n\n.topbar {\n position: sticky;\n top: 0;\n z-index: 15;\n display: flex;\n min-height: var(--atlas-header-height);\n align-items: center;\n justify-content: space-between;\n gap: var(--vini-base-spacing-500);\n padding: var(--vini-base-spacing-300) var(--vini-base-spacing-700);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background-color: var(--vini-theme-main-space);\n background-image: linear-gradient(var(--vini-theme-main-base), var(--vini-theme-main-base));\n}\n\n.contextTitle {\n display: flex;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n min-inline-size: 0;\n}\n\n\n.appearanceControl {\n display: flex;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n}\n\n.appearanceControl > [data-slot] {\n inline-size: calc(var(--vini-base-sizing-1000) * 2 + var(--vini-base-spacing-1100));\n}\n\n.modeBar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n gap: var(--vini-base-spacing-500);\n}\n\n\n\n.workspace {\n width: min(100%, var(--workspace-max));\n margin-inline: auto;\n padding: 0 var(--vini-base-spacing-700) var(--vini-base-spacing-1000);\n}\n\n.pageHeading {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n gap: var(--vini-base-spacing-800);\n padding: 52px 0 var(--vini-base-spacing-800);\n}\n\n.pageHeading > div {\n max-width: 850px;\n}\n\n\n\n.pageHeading h1 {\n margin: var(--vini-base-spacing-300) 0 var(--vini-base-spacing-300);\n}\n\n.pageHeading p {\n max-width: 760px;\n margin: 0;\n}\n\n.block {\n margin-top: var(--vini-base-spacing-1000);\n}\n\n.blockTitle {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n gap: var(--vini-base-spacing-600);\n margin-bottom: var(--vini-base-spacing-500);\n}\n\n.blockTitle h2 {\n margin: var(--vini-base-spacing-200) 0 0;\n}\n\n.blockTitle > p {\n max-width: 420px;\n margin: 0;\n text-align: right;\n}\n\n.panelHeading {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--vini-base-spacing-400);\n}\n\n.panelHeading > div {\n display: grid;\n min-width: 0;\n gap: var(--vini-base-spacing-200);\n}\n\n\n\n.panelHeading em {\n color: var(--vini-theme-main-foreground-secondary);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 10px;\n font-style: normal;\n}\n\n.inventoryGrid {\n display: grid;\n grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));\n gap: var(--vini-base-spacing-400);\n}\n\n.inventoryHero,\n.inventoryCard {\n display: grid;\n min-width: 0;\n min-height: 170px;\n align-content: space-between;\n gap: var(--vini-base-spacing-300);\n}\n\n\n\n\n\n\n\n.inventoryCard :global(.material-symbols-rounded) {\n color: var(--vini-theme-acc-icon);\n font-size: 22px;\n}\n\n\n\n\n\n\n\n.pipeline {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: var(--vini-base-spacing-600);\n margin-top: var(--vini-base-spacing-700);\n}\n\n.pipelineItem {\n position: relative;\n min-width: 0;\n}\n\n.pipelineItem > :global(.material-symbols-rounded) {\n position: absolute;\n top: 50%;\n right: calc(var(--vini-base-spacing-600) * -1);\n z-index: 2;\n display: grid;\n width: var(--vini-base-sizing-400);\n height: var(--vini-base-sizing-400);\n place-items: center;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: 50%;\n background: var(--vini-theme-main-base);\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 16px;\n transform: translate(50%, -50%);\n}\n\n.pipelineData {\n display: grid;\n min-width: 0;\n min-height: 190px;\n grid-template-columns: minmax(0, 1fr);\n align-content: start;\n gap: var(--vini-base-spacing-300);\n}\n\n.metricValue {\n white-space: nowrap;\n}\n\n\n\n.pipelineData h2 {\n margin: 0;\n}\n\n\n\n\n\n\n\n\n.collectionGrid {\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: var(--vini-base-spacing-400);\n}\n\n.collectionData,\n.semanticDomainData {\n display: grid;\n min-width: 0;\n gap: var(--vini-base-spacing-300);\n}\n\n.modeChips {\n display: flex;\n flex-wrap: wrap;\n gap: var(--vini-base-spacing-100);\n}\n\n\n\n.rolePreviewGrid {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-500);\n}\n\n.rolePreviewGrid button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n min-height: 170px;\n align-content: space-between;\n gap: var(--vini-base-spacing-300);\n padding: var(--vini-base-spacing-500);\n border: 0;\n border-right: var(--vini-base-border-width-500) solid color-mix(in srgb, currentColor 12%, transparent);\n cursor: pointer;\n text-align: left;\n}\n\n.rolePreviewGrid button:not([data-content-mode]):not([data-slot]):last-child {\n border-right: 0;\n}\n\n.rolePreviewGrid button:not([data-content-mode]):not([data-slot]) :global(.material-symbols-rounded) {\n opacity: 0.72;\n}\n\n.rolePreviewGrid button:not([data-content-mode]):not([data-slot]) code {\n opacity: 0.68;\n font-size: 9px;\n}\n\n.colorLabGrid {\n display: grid;\n grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.7fr);\n gap: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.palettePanel,\n.contrastPanel,\n.dimensionPanel,\n.fontPanel,\n.scopePanel,\n.nativePanel,\n.runtimePanel,\n.catalog {\n}\n\n.palettePanel {\n overflow: hidden;\n}\n\n.palettePanel > .panelHeading,\n.contrastPanel > .panelHeading,\n.dimensionPanel > .panelHeading,\n.fontPanel > .panelHeading,\n.scopePanel > .panelHeading,\n.nativePanel > .panelHeading,\n.runtimePanel > .panelHeading {\n padding: var(--vini-base-spacing-500);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.paletteMatrix {\n overflow: auto;\n padding: var(--vini-base-spacing-400) var(--vini-base-spacing-500) var(--vini-base-spacing-500);\n}\n\n.scaleRow {\n display: grid;\n grid-template-columns: 150px minmax(640px, 1fr);\n align-items: center;\n gap: var(--vini-base-spacing-300);\n padding: var(--vini-base-spacing-100) 0;\n}\n\n.scaleRow > span {\n overflow-wrap: anywhere;\n}\n\n.scaleRow > div {\n display: grid;\n grid-template-columns: repeat(18, minmax(30px, 1fr));\n overflow: hidden;\n border-radius: var(--vini-base-border-radius-200);\n box-shadow: 0 0 0 1px var(--vini-theme-main-border);\n}\n\n.scaleRow button:not([data-content-mode]):not([data-slot]) {\n position: relative;\n min-width: 0;\n height: var(--vini-base-sizing-400);\n padding: 0;\n border: 0;\n cursor: pointer;\n}\n\n.scaleRow button:not([data-content-mode]):not([data-slot]):hover {\n z-index: 1;\n box-shadow: inset 0 0 0 2px var(--vini-theme-acc-focus);\n}\n\n.scaleRow button:not([data-content-mode]):not([data-slot]) span {\n position: absolute;\n inset: auto 0 3px;\n color: var(--vini-base-absolute-white-base);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 6px;\n text-shadow: 0 1px 2px var(--vini-base-absolute-black-base);\n}\n\n.contrastPanel {\n position: sticky;\n top: 88px;\n overflow: hidden;\n}\n\n.contrastPanel .pass,\n.contrastPanel .review {\n padding: 4px 8px;\n border-radius: var(--vini-base-border-radius-full);\n font-weight: var(--vini-base-font-weight-bold);\n}\n\n.pass {\n background: var(--vini-theme-success-surface);\n color: var(--vini-theme-success-foreground-primary) !important;\n}\n\n.review {\n background: var(--vini-theme-warning-surface);\n color: var(--vini-theme-warning-foreground-primary) !important;\n}\n\n.contrastSample {\n display: grid;\n min-height: 190px;\n align-content: center;\n gap: var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-700);\n}\n\n.contrastSample strong {\n font-size: 52px;\n line-height: 1;\n}\n\n.contrastSample span {\n max-width: 280px;\n font-size: 15px;\n line-height: 1.4;\n}\n\n.contrastPanel label {\n display: grid;\n gap: var(--vini-base-spacing-200);\n padding: 0 var(--vini-base-spacing-500) var(--vini-base-spacing-400);\n}\n\n.contrastResult {\n display: flex;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n margin: var(--vini-base-spacing-100) var(--vini-base-spacing-500) var(--vini-base-spacing-500);\n padding: var(--vini-base-spacing-400);\n border-radius: var(--vini-base-border-radius-300);\n background: var(--vini-theme-main-surface);\n}\n\n.passDot,\n.reviewDot {\n width: 10px;\n height: 10px;\n flex: 0 0 auto;\n border-radius: 50%;\n}\n\n.passDot {\n background: var(--vini-theme-success-fill);\n}\n\n.reviewDot {\n background: var(--vini-theme-warning-fill);\n}\n\n.contrastResult div {\n display: grid;\n gap: 2px;\n}\n\n.colorSetGrid {\n display: grid;\n grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);\n gap: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.colorSetPanel {\n overflow: hidden;\n}\n\n.colorSetPanel > .panelHeading {\n padding: var(--vini-base-spacing-500);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.absoluteGrid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.absoluteGrid button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n grid-template-columns: 34px minmax(0, 1fr) auto;\n min-width: 0;\n min-height: 46px;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n padding: 0 var(--vini-base-spacing-300);\n border: 0;\n border-right: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: transparent;\n cursor: pointer;\n text-align: left;\n}\n\n.absoluteGrid button:not([data-content-mode]):not([data-slot]):hover,\n.brandGroups button:not([data-content-mode]):not([data-slot]):hover,\n.semanticRoleGrid button:not([data-content-mode]):not([data-slot]):hover {\n background: var(--vini-theme-main-surface-hover);\n}\n\n.absoluteGrid i {\n width: 28px;\n height: 28px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.absoluteGrid code {\n overflow: hidden;\n font-size: 8px;\n text-overflow: ellipsis;\n}\n\n.absoluteGrid span {\n color: var(--vini-theme-main-foreground-secondary);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 7px;\n}\n\n.brandGroups {\n display: grid;\n}\n\n.brandGroups > div {\n display: grid;\n grid-template-columns: 72px minmax(0, 1fr);\n align-items: center;\n gap: var(--vini-base-spacing-300);\n padding: var(--vini-base-spacing-300) var(--vini-base-spacing-500);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.brandGroups > div > span {\n overflow-wrap: anywhere;\n}\n\n.brandGroups > div > div {\n display: grid;\n grid-template-columns: repeat(7, minmax(42px, 1fr));\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.brandGroups button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n min-width: 0;\n height: 48px;\n grid-template-rows: 1fr auto;\n gap: 0;\n padding: 0;\n border: 0;\n border-right: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: transparent;\n cursor: pointer;\n text-align: left;\n}\n\n.brandGroups button:not([data-content-mode]):not([data-slot]) i {\n display: block;\n min-height: 28px;\n}\n\n.brandGroups button:not([data-content-mode]):not([data-slot]) span {\n overflow: hidden;\n padding: 3px;\n color: var(--vini-theme-main-foreground-secondary);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 6px;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.semanticDomainGrid {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: var(--vini-base-spacing-300);\n}\n\n.semanticDomainSwatches {\n display: grid;\n height: 30px;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.semanticDomainSwatches i + i {\n border-left: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.semanticToolbar {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n margin-top: var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-300);\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-400);\n background: var(--vini-theme-main-surface);\n}\n\n.semanticToolbar > .catalogSearch {\n flex: 1 1 calc(var(--vini-base-sizing-600) * 8);\n min-inline-size: 0;\n}\n\n.semanticToolbarActions {\n display: flex;\n flex: 0 0 auto;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n max-inline-size: 100%;\n margin-inline-start: auto;\n}\n\n.semanticToolbarActions > * {\n flex: 0 0 auto;\n}\n\n.semanticGroupStack {\n display: grid;\n gap: var(--vini-base-spacing-400);\n margin-top: var(--vini-base-spacing-400);\n}\n\n.semanticGroupPanel {\n overflow: hidden;\n}\n\n.semanticGroupPanel > header {\n display: grid;\n grid-template-columns: minmax(140px, 0.5fr) minmax(220px, 1fr) auto;\n align-items: center;\n gap: var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-300) var(--vini-base-spacing-400);\n background: var(--vini-theme-main-surface);\n}\n\n.semanticGroupIdentity {\n display: flex;\n align-items: center;\n gap: var(--vini-base-spacing-200);\n}\n\n.semanticGroupPanel > header :global(.material-symbols-rounded) {\n color: var(--vini-theme-acc-icon);\n font-size: 18px;\n}\n\n.semanticGroupPanel > header p {\n margin: 0;\n}\n\n\n\n.semanticGroupPanel .semanticRoleGrid {\n border: 0;\n border-top: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: 0;\n}\n\n\n\n\n\n.semanticRoleGrid {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-500);\n background: var(--vini-theme-main-base);\n}\n\n.semanticRoleGrid button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n min-width: 0;\n grid-template-columns: 30px minmax(0, 1fr);\n grid-template-rows: auto auto;\n align-items: center;\n gap: 2px var(--vini-base-spacing-300);\n min-height: 58px;\n padding: var(--vini-base-spacing-300);\n border: 0;\n border-right: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: transparent;\n cursor: pointer;\n text-align: left;\n}\n\n.semanticRoleGrid i {\n grid-row: 1 / 3;\n width: 28px;\n height: 28px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.semanticRoleGrid span,\n.semanticRoleGrid code {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.semanticRoleGrid span {\n font-size: 8px;\n}\n\n.semanticRoleGrid code {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 7px;\n}\n\n.dimensionLayout {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.spacingPanel {\n grid-row: span 2;\n}\n\n.measureRows {\n display: grid;\n padding: var(--vini-base-spacing-400) var(--vini-base-spacing-500) var(--vini-base-spacing-500);\n}\n\n.measureRows button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n grid-template-columns: 42px minmax(0, 1fr) 52px;\n align-items: center;\n gap: var(--vini-base-spacing-300);\n min-height: 38px;\n padding: 0;\n border: 0;\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: transparent;\n cursor: pointer;\n}\n\n.measureRows button:not([data-content-mode]):not([data-slot]):hover {\n background: var(--vini-theme-main-surface-hover);\n}\n\n.measureRows code {\n font-size: 9px;\n}\n\n.measureRows button:not([data-content-mode]):not([data-slot]) > span {\n height: 12px;\n overflow: hidden;\n border-radius: var(--vini-base-border-radius-100);\n background: var(--vini-theme-main-surface);\n}\n\n.measureRows i {\n display: block;\n width: min(var(--measure), 100%);\n height: 100%;\n background: linear-gradient(90deg, var(--vini-theme-acc-fill), var(--vini-theme-acc-fill-hover));\n}\n\n.measureRows strong {\n color: var(--vini-theme-main-foreground-secondary);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 9px;\n text-align: right;\n}\n\n.sizeGrid {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n gap: var(--vini-base-spacing-200);\n padding: var(--vini-base-spacing-500);\n}\n\n.sizeGrid button:not([data-content-mode]):not([data-slot]),\n.radiusGrid button:not([data-content-mode]):not([data-slot]),\n.borderGrid button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n min-width: 0;\n place-items: center;\n gap: var(--vini-base-spacing-200);\n padding: var(--vini-base-spacing-300) var(--vini-base-spacing-100);\n border: 0;\n border-radius: var(--vini-base-border-radius-300);\n background: transparent;\n cursor: pointer;\n}\n\n.sizeGrid button:not([data-content-mode]):not([data-slot]):hover,\n.radiusGrid button:not([data-content-mode]):not([data-slot]):hover,\n.borderGrid button:not([data-content-mode]):not([data-slot]):hover {\n background: var(--vini-theme-main-surface-hover);\n}\n\n.sizeGrid i {\n display: block;\n max-width: 64px;\n max-height: 64px;\n border-radius: var(--vini-base-border-radius-200);\n background: var(--vini-theme-acc-fill);\n box-shadow: inset 0 0 0 1px var(--vini-theme-acc-border-strong);\n}\n\n.sizeGrid code,\n.radiusGrid code,\n.borderGrid code {\n font-size: 9px;\n}\n\n.sizeGrid small,\n.radiusGrid small,\n.borderGrid small {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 8px;\n}\n\n.radiusGrid,\n.borderGrid {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n gap: var(--vini-base-spacing-200);\n padding: var(--vini-base-spacing-500);\n}\n\n.radiusGrid i {\n display: block;\n width: 48px;\n height: 48px;\n border: 2px solid var(--vini-theme-acc-border-strong);\n background: var(--vini-theme-acc-surface);\n}\n\n.borderGrid {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.borderGrid i {\n display: block;\n width: 54px;\n height: 38px;\n border-style: solid;\n border-color: var(--vini-theme-acc-fill);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.typeToolbar {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-300);\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-400);\n background: var(--vini-theme-main-base);\n}\n\n.typeCategoryField {\n min-inline-size: 0;\n flex: 1 1 calc(var(--vini-base-sizing-600) * 14);\n}\n\n.sampleField {\n min-inline-size: min(100%, calc(var(--vini-base-sizing-600) * 7));\n flex: 1 1 calc(var(--vini-base-sizing-600) * 7);\n}\n\n.inlineSearch,\n.catalogSearch {\n min-width: 0;\n flex: 1;\n}\n\n.typeLayout {\n display: grid;\n grid-template-columns: minmax(0, 1fr) 290px;\n gap: var(--vini-base-spacing-500);\n margin-top: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.specimenPanel {\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-500);\n background: var(--vini-theme-main-base);\n}\n\n.specimenList {\n display: grid;\n}\n\n.specimenList > button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n grid-template-columns: minmax(0, 1fr) var(--vini-base-sizing-200);\n align-items: center;\n gap: var(--vini-base-spacing-500);\n min-width: 0;\n padding: var(--vini-base-spacing-500);\n border: 0;\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: transparent;\n cursor: pointer;\n text-align: left;\n}\n\n.specimenList > button:not([data-content-mode]):not([data-slot]):hover {\n background: var(--vini-theme-main-surface-hover);\n}\n\n.specimenList > button:not([data-content-mode]):not([data-slot]) > span:first-child {\n display: grid;\n grid-column: 1 / -1;\n min-width: 0;\n gap: var(--vini-base-spacing-100);\n}\n\n.specimenList code {\n overflow-wrap: anywhere;\n font-size: 9px;\n}\n\n.specimenList small {\n overflow-wrap: anywhere;\n color: var(--vini-theme-main-foreground-disable);\n font-size: 8px;\n}\n\n.specimenList strong {\n min-inline-size: 0;\n overflow-wrap: anywhere;\n white-space: normal;\n}\n\n.specimenList > button:not([data-content-mode]):not([data-slot]) > :global(.material-symbols-rounded) {\n color: var(--vini-theme-main-icon);\n font-size: 18px;\n}\n\n.typeAside {\n position: sticky;\n top: 88px;\n display: grid;\n gap: var(--vini-base-spacing-500);\n}\n\n.fontPanel,\n.scopePanel {\n overflow: hidden;\n}\n\n.fontPanel > button:not([data-content-mode]):not([data-slot]) {\n display: grid;\n width: calc(100% - var(--vini-base-spacing-800));\n gap: var(--vini-base-spacing-100);\n margin: var(--vini-base-spacing-200) var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-300);\n border: 0;\n border-radius: var(--vini-base-border-radius-300);\n background: var(--vini-theme-main-surface);\n cursor: pointer;\n text-align: left;\n}\n\n.fontPanel > button:not([data-content-mode]):not([data-slot]) small {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 8px;\n}\n\n.fontPanel > button:not([data-content-mode]):not([data-slot]) strong {\n font-size: 14px;\n}\n\n.fontPanel > button:not([data-content-mode]):not([data-slot]) span {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 11px;\n}\n\n.scopeAvailable,\n.scopeUnavailable {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 40px;\n padding: 0 var(--vini-base-spacing-500);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n\n\n\n\n\n\n.scopePanel > p {\n margin: 0;\n padding: var(--vini-base-spacing-400) var(--vini-base-spacing-500);\n}\n\n.metricGrid {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-500);\n background: var(--vini-theme-main-base);\n}\n\n.effectShowcase {\n display: grid;\n grid-template-columns: repeat(5, minmax(0, 1fr));\n gap: var(--vini-base-spacing-400);\n}\n\n.effectCard {\n display: grid;\n min-width: 0;\n min-height: 340px;\n grid-template-rows: auto 1fr auto;\n gap: var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-500);\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-500);\n background: var(--vini-theme-main-base);\n cursor: pointer;\n text-align: left;\n transition: transform 160ms ease, border-color 160ms ease;\n}\n\n.effectCard:hover {\n border-color: var(--vini-theme-acc-border-strong);\n transform: translateY(-3px);\n}\n\n\n\n.effectSurface {\n display: grid;\n width: min(130px, 80%);\n aspect-ratio: 1;\n place-items: center;\n align-self: center;\n justify-self: center;\n border-radius: var(--vini-base-border-radius-400);\n background: var(--vini-theme-main-base);\n}\n\n.effectSurface :global(.material-symbols-rounded) {\n color: var(--vini-theme-acc-icon);\n font-size: 28px;\n}\n\n.effectSurface strong {\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 10px;\n}\n\n.effectMeta {\n display: grid;\n min-width: 0;\n gap: var(--vini-base-spacing-200);\n}\n\n.effectMeta > span,\n.effectMeta code {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n\n\n.effectMeta code {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 8px;\n}\n\n\n\n\n\n\n.componentLab {\n display: grid;\n grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);\n gap: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.anatomyStage {\n position: relative;\n display: grid;\n min-height: 430px;\n place-items: center;\n padding: var(--vini-base-spacing-900);\n overflow: hidden;\n background:\n linear-gradient(var(--vini-theme-main-border) 1px, transparent 1px),\n linear-gradient(90deg, var(--vini-theme-main-border) 1px, transparent 1px),\n var(--vini-theme-main-space);\n background-size: 20px 20px;\n}\n\n.anatomyFrame {\n position: relative;\n display: grid;\n place-items: center;\n padding: 76px 112px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border-strong);\n border-radius: var(--vini-base-border-radius-500);\n background: color-mix(in srgb, var(--vini-theme-acc-surface) 72%, transparent);\n}\n\n.heightMarker,\n.paddingMarker,\n.gapMarker {\n position: absolute;\n display: grid;\n place-items: center;\n color: var(--vini-theme-acc-foreground-primary);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 8px;\n}\n\n.heightMarker {\n top: 50%;\n right: var(--vini-base-spacing-500);\n width: 36px;\n border-top: 1px solid var(--vini-theme-acc-border-strong);\n border-bottom: 1px solid var(--vini-theme-acc-border-strong);\n transform: translateY(-50%);\n}\n\n.heightMarker::before,\n.paddingMarker::before,\n.gapMarker::before {\n position: absolute;\n padding: 2px 4px;\n border-radius: var(--vini-base-border-radius-100);\n background: var(--vini-theme-main-base);\n color: var(--vini-theme-main-foreground-secondary);\n content: attr(data-label);\n white-space: nowrap;\n}\n\n.heightMarker::before {\n right: 42px;\n}\n\n.paddingMarker {\n bottom: var(--vini-base-spacing-500);\n left: 50%;\n width: 120px;\n height: 1px;\n background: var(--vini-theme-acc-border-strong);\n transform: translateX(-50%);\n}\n\n.paddingMarker::before {\n top: 7px;\n}\n\n.gapMarker {\n top: var(--vini-base-spacing-500);\n left: 50%;\n width: 44px;\n height: 1px;\n background: var(--vini-theme-acc-border-strong);\n transform: translateX(-50%);\n}\n\n.gapMarker::before {\n bottom: 7px;\n}\n\n.resolvedContract {\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.roleContract {\n border-top: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n background: var(--vini-theme-main-base);\n}\n\n.roleContract > header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: var(--vini-base-spacing-300);\n padding: var(--vini-base-spacing-300) var(--vini-base-spacing-400);\n background: var(--vini-theme-main-surface);\n}\n\n\n\n\n\n.roleContract > div {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n}\n\n.roleSwatch {\n width: 28px;\n height: 28px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n\n\n.roleContract small {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 8px;\n}\n\n.roleContract code {\n font-size: 8px;\n}\n\n.componentIndex {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n align-content: start;\n margin-top: var(--vini-base-spacing-700);\n}\n\n.componentLab .componentIndex {\n margin-top: 0;\n}\n\n.componentIndex > .panelHeading {\n grid-column: 1 / -1;\n padding: var(--vini-base-spacing-500);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.componentGroup {\n padding: var(--vini-base-spacing-500);\n border-right: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.componentGroup > header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--vini-base-spacing-300);\n margin-bottom: var(--vini-base-spacing-300);\n}\n\n\n\n\n\n.componentGroup > div {\n display: grid;\n}\n\n.componentGroup span {\n flex: 0 0 auto;\n}\n\n.deliveryGrid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--vini-base-spacing-500);\n align-items: start;\n}\n\n.nativePanel,\n.runtimePanel {\n overflow: hidden;\n}\n\n.modeVector {\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.modeVector div {\n display: grid;\n min-height: 84px;\n align-content: center;\n gap: var(--vini-base-spacing-100);\n padding: var(--vini-base-spacing-400);\n border-right: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n\n\n\n\n.modeVector :global(.material-symbols-rounded) {\n color: var(--vini-theme-success-icon);\n font-size: 14px;\n}\n\n.nativePanel pre {\n margin: 0 var(--vini-base-spacing-500) var(--vini-base-spacing-400);\n padding: var(--vini-base-spacing-500);\n overflow: auto;\n border-radius: var(--vini-base-border-radius-300);\n background: var(--vini-corecolor-dark-neutral-1500);\n color: var(--vini-corecolor-dark-green-400);\n font-size: 10px;\n line-height: 1.65;\n}\n\n.nativePanel > p {\n margin: var(--vini-base-spacing-400) var(--vini-base-spacing-500) var(--vini-base-spacing-500);\n}\n\n.seedField {\n display: grid;\n gap: var(--vini-base-spacing-200);\n padding: var(--vini-base-spacing-500);\n}\n\n.runtimeMatrix {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--vini-base-spacing-400);\n padding: 0 var(--vini-base-spacing-500) var(--vini-base-spacing-500);\n}\n\n.runtimeMatrix > div {\n overflow: hidden;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-300);\n}\n\n.runtimeMatrix header {\n padding: var(--vini-base-spacing-300);\n background: var(--vini-theme-main-surface);\n}\n\n.runtimeMatrix > div > div {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.runtimeMatrix > div > div > span {\n display: grid;\n min-height: 46px;\n place-items: end start;\n padding: 4px;\n overflow: hidden;\n color: var(--vini-base-absolute-white-base);\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 6px;\n text-overflow: ellipsis;\n text-shadow: 0 1px 2px var(--vini-base-absolute-black-base);\n}\n\n\n.errorText {\n margin: 0 var(--vini-base-spacing-500) var(--vini-base-spacing-400);\n color: var(--vini-theme-error-foreground-primary);\n font-size: 10px;\n}\n\n.tableNote {\n margin: var(--vini-base-spacing-300) 0 0;\n}\n\n.catalog {\n overflow: hidden;\n}\n\n.catalogToolbar {\n display: grid;\n grid-template-columns: minmax(230px, 1fr) auto 170px 150px;\n align-items: end;\n gap: var(--vini-base-spacing-300);\n padding: var(--vini-base-spacing-400);\n border-bottom: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n}\n\n.catalogSearch {\n min-width: 0;\n}\n\n.selectField {\n display: grid;\n gap: var(--vini-base-spacing-100);\n}\n\n.catalogStatus {\n display: flex;\n min-height: 42px;\n align-items: center;\n justify-content: space-between;\n gap: var(--vini-base-spacing-300);\n padding: 0 var(--vini-base-spacing-500);\n background: var(--vini-theme-main-surface);\n}\n\n\n\n.assetPreview {\n display: grid;\n place-items: center;\n}\n\n.assetPreview i {\n width: 26px;\n height: 26px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-200);\n}\n\n.assetPreview :global(.material-symbols-rounded) {\n font-size: 18px;\n}\n\n.inspector {\n position: fixed;\n inset-block: 0;\n inset-inline-end: 0;\n z-index: 50;\n inline-size: min(calc(var(--vini-base-sizing-600) * 11), 100vw);\n overflow: auto;\n}\n\n.inspectorInner {\n display: grid;\n gap: var(--vini-base-spacing-500);\n padding: var(--vini-base-spacing-500);\n}\n\n.inspectorHeader {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.inspectorHeader > div {\n display: grid;\n gap: 2px;\n}\n\n\n\n\n\n\n\n.inspectorPreview {\n overflow: hidden;\n min-height: 150px;\n border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border);\n border-radius: var(--vini-base-border-radius-400);\n background:\n linear-gradient(45deg, var(--vini-theme-main-surface) 25%, transparent 25%),\n linear-gradient(-45deg, var(--vini-theme-main-surface) 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, var(--vini-theme-main-surface) 75%),\n linear-gradient(-45deg, transparent 75%, var(--vini-theme-main-surface) 75%),\n var(--vini-theme-main-base);\n background-position: 0 0, 0 8px, 8px -8px, -8px 0;\n background-size: 16px 16px;\n}\n\n.colorPreview,\n.valuePreview,\n.typePreview,\n.effectPreview {\n display: grid;\n min-height: 150px;\n align-content: end;\n gap: var(--vini-base-spacing-100);\n padding: var(--vini-base-spacing-500);\n}\n\n.colorPreview {\n color: var(--vini-base-absolute-white-base);\n text-shadow: 0 1px 3px var(--vini-base-absolute-black-base);\n}\n\n.colorPreview strong {\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 18px;\n}\n\n.colorPreview span {\n font-size: 9px;\n opacity: 0.76;\n}\n\n.valuePreview {\n place-content: center;\n place-items: center;\n background: color-mix(in srgb, var(--vini-theme-acc-surface) 92%, transparent);\n}\n\n.valuePreview > span {\n color: var(--vini-theme-acc-foreground-primary);\n font-size: 48px;\n line-height: 1;\n}\n\n.valuePreview strong {\n font-family: var(--vini-base-font-family-roboto-mono), monospace;\n font-size: 12px;\n}\n\n.typePreview {\n align-content: center;\n gap: var(--vini-base-spacing-400);\n background: var(--vini-theme-main-base);\n}\n\n.typePreview code {\n color: var(--vini-theme-main-foreground-secondary);\n font-size: 8px;\n}\n\n.effectPreview {\n place-content: center;\n background: var(--vini-theme-main-surface);\n}\n\n.effectPreview span {\n display: grid;\n width: 120px;\n height: 90px;\n place-items: center;\n border-radius: var(--vini-base-border-radius-300);\n background: var(--vini-theme-main-base);\n font-size: 10px;\n}\n\n\n\n\n\n\n.inspectorSection {\n display: grid;\n gap: var(--vini-base-spacing-300);\n}\n\n.inspectorSectionTitle {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n\n\n.chain {\n display: grid;\n gap: var(--vini-base-spacing-100);\n}\n\n.chain > div {\n display: grid;\n justify-items: center;\n}\n\n.chain > div > :global(.material-symbols-rounded) {\n color: var(--vini-theme-main-icon);\n font-size: 14px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n@media (max-width: 1280px) {\n .inventoryGrid {\n grid-template-columns: 1.4fr repeat(2, minmax(130px, 1fr));\n }\n\n\n .collectionGrid {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .semanticDomainGrid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n .rolePreviewGrid {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .effectShowcase {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .metricGrid {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n\n .catalogToolbar {\n grid-template-columns: minmax(230px, 1fr) auto;\n }\n}\n\n@media (max-width: 1040px) {\n .app {\n --sidebar-width: 208px;\n }\n\n .workspace {\n padding-inline: var(--vini-base-spacing-500);\n }\n\n .topbar { flex-wrap: wrap; }\n .modeBar { flex-wrap: wrap; }\n\n .colorLabGrid,\n .colorSetGrid,\n .typeLayout,\n .componentLab,\n .deliveryGrid {\n grid-template-columns: 1fr;\n }\n\n .contrastPanel,\n .typeAside {\n position: static;\n }\n\n .typeAside {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n .effectShowcase {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n}\n\n@media (max-width: 760px) {\n\n .topbar {\n position: relative;\n padding: var(--vini-base-spacing-300);\n }\n\n .modeBar {\n align-items: flex-start;\n flex-wrap: wrap;\n }\n\n .workspace {\n padding-inline: var(--vini-base-spacing-300);\n }\n\n .pageHeading {\n align-items: flex-start;\n flex-direction: column;\n padding: var(--vini-base-spacing-800) 0 var(--vini-base-spacing-600);\n }\n\n .inventoryGrid,\n .pipeline,\n .dimensionLayout {\n grid-template-columns: 1fr;\n }\n\n .inventoryHero,\n .inventoryCard {\n min-height: 130px;\n }\n\n\n .pipelineItem > :global(.material-symbols-rounded) {\n display: none;\n }\n\n .collectionGrid,\n .rolePreviewGrid,\n .metricGrid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n .semanticRoleGrid {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .blockTitle,\n .typeToolbar {\n align-items: stretch;\n flex-direction: column;\n }\n\n .blockTitle > p {\n text-align: left;\n }\n\n .typeCategoryField,\n .sampleField {\n inline-size: 100%;\n min-inline-size: 0;\n flex: none;\n }\n\n .spacingPanel {\n grid-row: auto;\n }\n\n .typeAside {\n grid-template-columns: 1fr;\n }\n\n .specimenList > button:not([data-content-mode]):not([data-slot]) {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .specimenList > button:not([data-content-mode]):not([data-slot]) > :global(.material-symbols-rounded) {\n display: none;\n }\n\n .componentIndex {\n grid-template-columns: 1fr;\n }\n\n .resolvedContract {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n .catalogToolbar {\n grid-template-columns: 1fr;\n align-items: stretch;\n }\n\n .semanticGroupPanel > header {\n grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr) auto;\n }\n}\n\n@media (max-width: 480px) {\n\n\n .collectionGrid,\n .rolePreviewGrid,\n .effectShowcase,\n .metricGrid,\n .semanticRoleGrid,\n .semanticDomainGrid {\n grid-template-columns: 1fr;\n }\n\n .semanticGroupPanel > header {\n grid-template-columns: minmax(0, 1fr) auto;\n }\n\n .semanticGroupPanel > header p {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n\n .absoluteGrid {\n grid-template-columns: 1fr;\n }\n\n .brandGroups > div {\n grid-template-columns: 1fr;\n }\n\n .brandGroups > div > div {\n grid-template-columns: repeat(4, minmax(42px, 1fr));\n }\n\n .anatomyStage {\n min-height: 320px;\n padding: var(--vini-base-spacing-500);\n }\n\n .anatomyFrame {\n padding: 64px 48px;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .effectCard,\n .inspector {\n transition: none;\n }\n}\n\n.cardBody { display: grid; align-content: start; gap: var(--vini-base-spacing-400); min-inline-size: 0; overflow-wrap: anywhere; }\n\n.versionLink { color: var(--vini-theme-main-foreground-secondary); text-decoration: none; white-space: nowrap; }\n.versionLink:hover { color: var(--vini-theme-main-foreground-primary); }\n\n.main[data-atlas-route^=\"components/\"] { background: var(--vini-theme-main-space); }\n\n.inspectorFacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-200); min-inline-size: 0; }\n.inspectorRows { display: grid; gap: var(--vini-base-spacing-200); min-inline-size: 0; }\n"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "WorkspaceControls.module.css",
|
|
34
|
+
"language": "css",
|
|
35
|
+
"source": ".choices {\n display: flex;\n flex-wrap: wrap;\n gap: var(--vini-base-spacing-300);\n min-inline-size: 0;\n}\n\n.choice {\n display: flex;\n align-items: flex-start;\n gap: var(--vini-base-spacing-100);\n}\n\n.control {\n display: flex;\n align-items: center;\n min-block-size: 1lh;\n}\n\n.choice label { cursor: pointer; }\n"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Ui.tsx",
|
|
39
|
+
"language": "tsx",
|
|
40
|
+
"source": "import { useState, type ReactNode } from 'react';\nimport { Button, Heading, Text, Typeset, TypesetScroll } from '@vini-ds/ui';\nimport { typographyClassByTokenName } from '@vini-ds/tokens';\n\nexport function PageHeading({eyebrow,title,description,children}:{eyebrow?:string;title:string;description?:string;children?:ReactNode}) {\n return <header className=\"next-page-heading\">\n {eyebrow && <Text as=\"p\" token=\"desktop/overline/regular/400\">{eyebrow}</Text>}\n <Heading level={1} token=\"desktop/display/regular/1300\" id=\"page-title\" tabIndex={-1}>{title}</Heading>\n {description && <Text as=\"p\" token=\"desktop/body/regular/600\">{description}</Text>}\n {children && <div className=\"next-actions\">{children}</div>}\n </header>;\n}\n\nexport function downloadText(text:string,fileName:string) {\n const url=URL.createObjectURL(new Blob([text],{type:'text/plain;charset=utf-8'}));\n const link=document.createElement('a'); link.href=url; link.download=fileName;\n document.body.append(link); link.click(); link.remove();\n setTimeout(()=>URL.revokeObjectURL(url),1000);\n}\n\nexport function CopyBlock({text,fileName,title}:{text:string;fileName?:string;title?:string}) {\n const [status,setStatus]=useState({text:'',message:''});\n return <div className=\"next-copy-block\">\n <div className=\"next-copy-toolbar\">\n {title && <Text token=\"desktop/subheader/medium/500\">{title}</Text>}\n <div className=\"next-actions\">\n <Button variant=\"secondary\" size=\"500\" startIcon=\"content_copy\" disabled={!text} onClick={async()=>{\n try { await navigator.clipboard.writeText(text); setStatus({text,message:'Скопировано'}); }\n catch { setStatus({text,message:'Браузер не разрешил копирование. Выделите текст ниже и скопируйте вручную.'}); }\n }}>Копировать</Button>\n {fileName && <Button variant=\"pseudo\" size=\"500\" startIcon=\"download\" disabled={!text} onClick={()=>{\n try { downloadText(text,fileName); setStatus({text,message:`Подготовлен файл ${fileName}`}); } catch {setStatus({text,message:'Не удалось подготовить файл. Выделите текст ниже.'});}\n }}>Скачать</Button>}\n </div>\n </div>\n <Text as=\"p\" role=\"status\" token=\"desktop/caption/regular/400\">{status.text===text?status.message:''}</Text>\n <pre tabIndex={0} aria-label={title ?? 'Текст для копирования'} className={`next-code ${typographyClassByTokenName['desktop/controlmono/regular/500']}`}><code>{text}</code></pre>\n </div>;\n}\n\nexport function markdownSlug(text:string) {return text.toLowerCase().replace(/[`*_]/g,'').replace(/[^\\p{L}\\p{N}\\s-]/gu,'').trim().replace(/\\s+/g,'-');}\n\nfunction inline(text:string):ReactNode[] {\n const pieces=text.split(/(`[^`]+`|\\[[^\\]]+\\]\\([^\\s)]+\\)|\\*\\*[^*]+\\*\\*)/g);\n return pieces.map((part,i)=>{\n if(part.startsWith('`')&&part.endsWith('`')) return <code key={i}>{part.slice(1,-1)}</code>;\n if(part.startsWith('**')&&part.endsWith('**')) return <strong key={i}>{part.slice(2,-2)}</strong>;\n const link=part.match(/^\\[([^\\]]+)\\]\\(([^)]+)\\)$/);\n if(link) {\n const safe=/^(https?:|#|\\/|\\.\\.?\\/|[\\w-])/.test(link[2])&&!/^(javascript|data):/i.test(link[2]);\n return safe?<a key={i} href={link[2]}>{link[1]}</a>:link[1];\n }\n return part;\n });\n}\n\n// A small safe renderer for repository prose. It never evaluates HTML or code.\nexport function Markdown({text,idPrefix}:{text:string;idPrefix?:string}) {\n const lines=text.replace(/\\r/g,'').split('\\n'); const blocks:ReactNode[]=[];\n for(let i=0;i<lines.length;) {\n const line=lines[i];\n if(!line.trim()){i++;continue;}\n if(line.startsWith('```')){const code:string[]=[]; i++; while(i<lines.length&&!lines[i].startsWith('```'))code.push(lines[i++]);i++;blocks.push(<pre key={i} tabIndex={0}><code>{code.join('\\n')}</code></pre>);continue;}\n const heading=line.match(/^(#{1,6})\\s+(.+)/);\n if(heading){const Tag=`h${Math.min(heading[1].length+1,6)}` as 'h2'; blocks.push(<Tag key={i} id={`${idPrefix?`${idPrefix}-`:''}${markdownSlug(heading[2])}`} tabIndex={-1} data-atlas-outline-ignore={idPrefix?'true':undefined} data-atlas-section={idPrefix?undefined:heading[2]}>{inline(heading[2])}</Tag>);i++;continue;}\n if(line.includes('|')&&lines[i+1]?.match(/^\\s*\\|?\\s*:?-{3}/)){\n const row=(v:string)=>v.trim().replace(/^\\||\\|$/g,'').split('|').map(x=>x.trim());\n const headers=row(line);i+=2;const rows:string[][]=[];while(i<lines.length&&lines[i].includes('|'))rows.push(row(lines[i++]));\n blocks.push(<TypesetScroll key={i} tabIndex={0} role=\"region\" aria-label={headers.join(', ')}><table><thead><tr>{headers.map((x,j)=><th key={j}>{inline(x)}</th>)}</tr></thead><tbody>{rows.map((r,j)=><tr key={j}>{r.map((x,k)=><td key={k}>{inline(x)}</td>)}</tr>)}</tbody></table></TypesetScroll>);continue;\n }\n if(/^\\s*[-*]\\s+/.test(line)||/^\\s*\\d+[.)]\\s+/.test(line)){\n const ordered=/^\\s*\\d/.test(line);const items:string[]=[];\n while(i<lines.length&&/^\\s*(?:[-*]|\\d+[.)])\\s+/.test(lines[i])){\n const marker=lines[i].match(/^(\\s*)(?:[-*]|\\d+[.)])\\s+(.+)$/);\n if(!marker) break;\n const indent=marker[1].length;\n const item=[marker[2]];\n i++;\n // Markdown wraps prose under a list marker with two or three spaces.\n // Keep those lines in the same semantic item instead of emitting paragraphs outside the list.\n while(i<lines.length&&new RegExp(`^ {${indent+2},${indent+3}}\\\\S`).test(lines[i])\n && !/^\\s*(?:[-*]|\\d+[.)])\\s+/.test(lines[i]) && !/^\\s*```/.test(lines[i])){\n item.push(lines[i++].trim());\n }\n items.push(item.join(' '));\n }\n const List=ordered?'ol':'ul'; blocks.push(<List key={i}>{items.map((x,j)=><li key={j}>{inline(x)}</li>)}</List>);continue;\n }\n if(/^>/.test(line)){blocks.push(<blockquote key={i}>{inline(line.replace(/^>\\s*/,''))}</blockquote>);i++;continue;}\n const paragraph=[line];i++;while(i<lines.length&&lines[i].trim()&&!/^(#|```|\\||>|[-*]\\s)/.test(lines[i]))paragraph.push(lines[i++]);\n blocks.push(<p key={i}>{inline(paragraph.join('\\n'))}</p>);\n }\n return <Typeset as=\"div\" textSize=\"lg\" className=\"next-markdown\">{blocks}</Typeset>;\n}\n"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "tokenModel.ts",
|
|
44
|
+
"language": "typescript",
|
|
45
|
+
"source": "import {\n effectStyleDefinitions,\n effectTokenByName,\n generateRuntimeBrandVars,\n typographyClassByTokenName as generatedTypographyClassByTokenName,\n typographyTokenNames,\n typographyTokenNamesByCategory\n} from \"@vini-ds/tokens\";\n\nimport {\n nativeTokenManifest,\n resolveNativeTokens,\n type NativeColor,\n type NativeTokenDeclaration,\n type NativeTokenDefinition,\n type NativeTokenModeSelection,\n type NativeTokenValue\n} from \"@vini-ds/tokens/native\";\n\nimport compatibilityAliases from \"./compatibility-aliases.json\";\n\nexport type ThemeChoice = \"light\" | \"dark\" | \"dark-alpha\" | \"light-alpha\";\n\nexport const BRAND_CHOICES = [\"blue\", \"orange\", \"neutral\"] as const;\n\nexport type BrandChoice = typeof BRAND_CHOICES[number];\n\nexport const BRAND_LABEL: Record<BrandChoice, string> = {\n blue: \"Blue\",\n orange: \"Orange\",\n neutral: \"Neutral\"\n};\n\nexport type FontMode = \"Granate\" | \"Roboto\" | \"Segoe\" | \"SF\";\n\nexport type TypographyMode = \"Desktop\" | \"Mobile\";\n\nexport type AssetSelection =\n | { kind: \"variable\"; name: string }\n | { kind: \"typography\"; name: string }\n | { kind: \"effect\"; name: string };\n\nexport const THEME_MODE: Record<ThemeChoice, string> = {\n light: \"Light\",\n dark: \"Dark\",\n \"dark-alpha\": \"Dark Alpha\",\n \"light-alpha\": \"Light Alpha\"\n};\n\nexport const THEME_LABEL: Record<ThemeChoice, string> = {\n light: \"Light\",\n dark: \"Dark\",\n \"dark-alpha\": \"Dark Alpha\",\n \"light-alpha\": \"Light Alpha\"\n};\n\nexport const variableEntries = Object.entries(nativeTokenManifest.tokens);\n\nexport const effectEntries = Object.entries(effectStyleDefinitions);\n\nexport const typographyEntries = [...typographyTokenNames];\n\nexport const typographyClassByTokenName: Readonly<Record<string, string>> =\n generatedTypographyClassByTokenName;\n\nexport { compatibilityAliases, effectStyleDefinitions, typographyTokenNamesByCategory };\n\nexport const allAssets = [\n ...variableEntries.map(([name, token]) => ({\n kind: \"variable\" as const,\n name,\n collection: token.collection,\n type: token.resolvedType\n })),\n ...typographyEntries.map((name) => ({\n kind: \"typography\" as const,\n name,\n collection: \"TextStyles\",\n type: \"TEXT_STYLE\"\n })),\n ...effectEntries.map(([name]) => ({\n kind: \"effect\" as const,\n name,\n collection: \"Effects\",\n type: \"EFFECT\"\n }))\n];\n\nexport function selections(\n theme: ThemeChoice,\n brand: BrandChoice,\n fontTheme: FontMode,\n typography: TypographyMode = \"Desktop\",\n overrides: Partial<NativeTokenModeSelection> = {}\n): NativeTokenModeSelection {\n return {\n base: \"base\",\n brand: BRAND_LABEL[brand],\n component: \"base\",\n coreColor: \"Mode 1\",\n fontTheme,\n theme: THEME_MODE[theme],\n typography,\n ...overrides\n };\n}\n\nexport function resolveAll(\n theme: ThemeChoice,\n brand: BrandChoice,\n fontTheme: FontMode,\n typography: TypographyMode = \"Desktop\",\n overrides: Partial<NativeTokenModeSelection> = {}\n) {\n return resolveNativeTokens(selections(theme, brand, fontTheme, typography, overrides));\n}\n\nexport function isColor(value: NativeTokenValue | undefined): value is NativeColor {\n return typeof value === \"object\" && value !== null && \"r\" in value;\n}\n\nexport function colorToCss(color: NativeColor) {\n return `rgba(${Math.round(color.r * 255)}, ${Math.round(color.g * 255)}, ${Math.round(\n color.b * 255\n )}, ${Math.round(color.a * 100) / 100})`;\n}\n\nexport function colorToHex(color: NativeColor) {\n const value = [color.r, color.g, color.b]\n .map((channel) => Math.round(channel * 255).toString(16).padStart(2, \"0\"))\n .join(\"\");\n return `#${value.toUpperCase()}`;\n}\n\nexport function formatValue(name: string, value: NativeTokenValue | undefined) {\n if (value === undefined) return \"—\";\n if (isColor(value)) return value.a >= 0.999 ? colorToHex(value) : colorToCss(value);\n if (typeof value === \"number\") {\n if (name.startsWith(\"base/motion/duration/\")) return `${value}ms`;\n return name.includes(\"weight\") ? String(value) : `${value}px`;\n }\n return String(value);\n}\n\nexport function cssVariableFor(tokenName: string) {\n const [collection, ...parts] = tokenName.split(\"/\");\n return `--vini-${collection.toLowerCase()}-${parts.join(\"-\").toLowerCase()}`;\n}\n\nexport function usageForToken(tokenName: string, resolvedType: string) {\n if (tokenName.startsWith(\"base/motion/duration/\")) {\n return { cssProperty: \"transition-duration\", reactProperty: \"transitionDuration\" };\n }\n if (tokenName.startsWith(\"base/motion/easing/\")) {\n return { cssProperty: \"transition-timing-function\", reactProperty: \"transitionTimingFunction\" };\n }\n if (resolvedType === \"COLOR\") {\n if (tokenName.includes(\"border\")) {\n return { cssProperty: \"border-color\", reactProperty: \"borderColor\" };\n }\n if (tokenName.includes(\"focus\")) {\n return { cssProperty: \"outline-color\", reactProperty: \"outlineColor\" };\n }\n if (tokenName.includes(\"foreground\") || tokenName.includes(\"icon\")) {\n return { cssProperty: \"color\", reactProperty: \"color\" };\n }\n return { cssProperty: \"background-color\", reactProperty: \"backgroundColor\" };\n }\n\n if (resolvedType === \"STRING\") {\n return { cssProperty: \"font-family\", reactProperty: \"fontFamily\" };\n }\n\n const floatMappings: Array<[string, string, string]> = [\n [\"border-radius\", \"border-radius\", \"borderRadius\"],\n [\"border-width\", \"border-width\", \"borderWidth\"],\n [\"padding-x\", \"padding-inline\", \"paddingInline\"],\n [\"padding-y\", \"padding-block\", \"paddingBlock\"],\n [\"line-height\", \"line-height\", \"lineHeight\"],\n [\"paragraph-spacing\", \"margin-bottom\", \"marginBottom\"],\n [\"font-size\", \"font-size\", \"fontSize\"],\n [\"font-weight\", \"font-weight\", \"fontWeight\"],\n [\"height\", \"height\", \"height\"],\n [\"icon-size\", \"width\", \"width\"],\n [\"spinner-size\", \"width\", \"width\"],\n [\"sizing\", \"width\", \"width\"],\n [\"gap\", \"gap\", \"gap\"],\n [\"spacing\", \"gap\", \"gap\"]\n ];\n const match = floatMappings.find(([fragment]) => tokenName.includes(fragment));\n return {\n cssProperty: match?.[1] ?? \"width\",\n reactProperty: match?.[2] ?? \"width\"\n };\n}\n\nexport function effectVariable(name: string) {\n return effectTokenByName[name as keyof typeof effectTokenByName] ?? \"\";\n}\n\nexport function sortNumeric(\n [nameA]: [string, NativeTokenDefinition],\n [nameB]: [string, NativeTokenDefinition]\n) {\n const a = Number(nameA.split(\"/\").at(-1));\n const b = Number(nameB.split(\"/\").at(-1));\n return Number.isFinite(a) && Number.isFinite(b) ? a - b : nameA.localeCompare(nameB);\n}\n\nexport function aliasChain(\n tokenName: string,\n theme: ThemeChoice,\n brand: BrandChoice,\n fontTheme: FontMode,\n typography: TypographyMode\n) {\n const result: Array<{\n name: string;\n token: NativeTokenDefinition;\n mode: string;\n declaration: NativeTokenDeclaration | undefined;\n }> = [];\n const modeSelection = selections(theme, brand, fontTheme, typography);\n const visited = new Set<string>();\n let current: string | undefined = tokenName;\n while (current && !visited.has(current) && result.length < 8) {\n visited.add(current);\n const token: NativeTokenDefinition | undefined = nativeTokenManifest.tokens[current];\n if (!token) break;\n const mode: string = modeSelection[token.collection] ?? Object.keys(token.values)[0] ?? \"\";\n const declaration: NativeTokenDeclaration | undefined = token.values[mode];\n result.push({ name: current, token, mode, declaration });\n current = declaration?.type === \"alias\" ? declaration.to : undefined;\n }\n return result;\n}\n\nexport function directDependents(tokenName: string) {\n return variableEntries\n .filter(([, token]) =>\n Object.values(token.values).some(\n (declaration) => declaration.type === \"alias\" && declaration.to === tokenName\n )\n )\n .map(([name]) => name);\n}\n\nexport function runtimeBrand(seed: string) {\n try {\n return { vars: generateRuntimeBrandVars(seed), error: null };\n } catch {\n return { vars: null, error: \"Введите корректный HEX или rgb(a) цвет.\" };\n }\n}\n"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "compatibility-aliases.json",
|
|
49
|
+
"language": "json",
|
|
50
|
+
"source": "[\n {\n \"from\": \"--vini-corecolor-white-white\",\n \"to\": \"--vini-base-absolute-white-base\"\n },\n {\n \"from\": \"--vini-elevation-100\",\n \"to\": \"--vini-elevation-light-100\"\n },\n {\n \"from\": \"--vini-elevation-150\",\n \"to\": \"--vini-elevation-light-150\"\n },\n {\n \"from\": \"--vini-elevation-200\",\n \"to\": \"--vini-elevation-light-200\"\n },\n {\n \"from\": \"--vini-elevation-250\",\n \"to\": \"--vini-elevation-light-250\"\n },\n {\n \"from\": \"--vini-elevation-300\",\n \"to\": \"--vini-elevation-light-300\"\n },\n {\n \"from\": \"--vini-layout-border-radius-100\",\n \"to\": \"--vini-base-border-radius-100\"\n },\n {\n \"from\": \"--vini-layout-border-radius-400\",\n \"to\": \"--vini-base-border-radius-400\"\n },\n {\n \"from\": \"--vini-layout-border-radius-full\",\n \"to\": \"--vini-base-border-radius-full\"\n },\n {\n \"from\": \"--vini-layout-border-width-0\",\n \"to\": \"--vini-base-border-width-none\"\n },\n {\n \"from\": \"--vini-layout-border-width-100\",\n \"to\": \"--vini-base-border-width-500\"\n },\n {\n \"from\": \"--vini-layout-border-width-200\",\n \"to\": \"--vini-base-border-width-600\"\n },\n {\n \"from\": \"--vini-layout-border-width-300\",\n \"to\": \"--vini-base-border-width-700\"\n },\n {\n \"from\": \"--vini-layout-sizing-200\",\n \"to\": \"--vini-base-sizing-200\"\n },\n {\n \"from\": \"--vini-layout-sizing-300\",\n \"to\": \"--vini-base-sizing-300\"\n },\n {\n \"from\": \"--vini-layout-sizing-500\",\n \"to\": \"--vini-base-sizing-500\"\n },\n {\n \"from\": \"--vini-layout-sizing-600\",\n \"to\": \"--vini-base-sizing-600\"\n },\n {\n \"from\": \"--vini-layout-sizing-700\",\n \"to\": \"--vini-base-sizing-700\"\n },\n {\n \"from\": \"--vini-layout-spacing-100\",\n \"to\": \"--vini-base-spacing-100\"\n },\n {\n \"from\": \"--vini-layout-spacing-200\",\n \"to\": \"--vini-base-spacing-200\"\n },\n {\n \"from\": \"--vini-layout-spacing-300\",\n \"to\": \"--vini-base-spacing-300\"\n },\n {\n \"from\": \"--vini-layout-spacing-400\",\n \"to\": \"--vini-base-spacing-400\"\n },\n {\n \"from\": \"--vini-layout-spacing-50\",\n \"to\": \"--vini-base-spacing-px\"\n },\n {\n \"from\": \"--vini-layout-spacing-500\",\n \"to\": \"--vini-base-spacing-500\"\n },\n {\n \"from\": \"--vini-themes-acc-border\",\n \"to\": \"--vini-theme-acc-border\"\n },\n {\n \"from\": \"--vini-themes-acc-border-strong\",\n \"to\": \"--vini-theme-acc-border-strong\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-active\",\n \"to\": \"--vini-theme-acc-fill-active\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-checked\",\n \"to\": \"--vini-theme-acc-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-hover\",\n \"to\": \"--vini-theme-acc-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-normal\",\n \"to\": \"--vini-theme-acc-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-text\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-disable\",\n \"to\": \"--vini-theme-acc-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-acc-fill\",\n \"to\": \"--vini-theme-acc-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-active\",\n \"to\": \"--vini-theme-acc-fill-active\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-hover\",\n \"to\": \"--vini-theme-acc-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-selected\",\n \"to\": \"--vini-theme-acc-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-acc-focus\",\n \"to\": \"--vini-theme-acc-focus\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-on-fill\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-primary\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-secondary\",\n \"to\": \"--vini-theme-acc-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-acc-icon\",\n \"to\": \"--vini-theme-acc-icon\"\n },\n {\n \"from\": \"--vini-themes-acc-icon-hover\",\n \"to\": \"--vini-theme-acc-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-icon-pressed\",\n \"to\": \"--vini-theme-acc-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-acc-on-surface\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-primary\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-primary-inverse\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-secondary\",\n \"to\": \"--vini-theme-acc-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-acc-secondary-inverse\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-space\",\n \"to\": \"--vini-theme-acc-space\"\n },\n {\n \"from\": \"--vini-themes-acc-surface\",\n \"to\": \"--vini-theme-acc-surface\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-active\",\n \"to\": \"--vini-theme-acc-surface-active\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-hover\",\n \"to\": \"--vini-theme-acc-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-normal\",\n \"to\": \"--vini-theme-acc-surface\"\n },\n {\n \"from\": \"--vini-themes-error-border\",\n \"to\": \"--vini-theme-error-border\"\n },\n {\n \"from\": \"--vini-themes-error-border-strong\",\n \"to\": \"--vini-theme-error-border-strong\"\n },\n {\n \"from\": \"--vini-themes-error-btn-active\",\n \"to\": \"--vini-theme-error-fill-active\"\n },\n {\n \"from\": \"--vini-themes-error-btn-checked\",\n \"to\": \"--vini-theme-error-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-error-btn-hover\",\n \"to\": \"--vini-theme-error-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-error-btn-normal\",\n \"to\": \"--vini-theme-error-fill\"\n },\n {\n \"from\": \"--vini-themes-error-btn-text\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-disable\",\n \"to\": \"--vini-theme-error-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-error-fill\",\n \"to\": \"--vini-theme-error-fill\"\n },\n {\n \"from\": \"--vini-themes-error-fill-active\",\n \"to\": \"--vini-theme-error-fill-active\"\n },\n {\n \"from\": \"--vini-themes-error-fill-hover\",\n \"to\": \"--vini-theme-error-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-error-fill-selected\",\n \"to\": \"--vini-theme-error-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-error-focus\",\n \"to\": \"--vini-theme-error-focus\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-on-fill\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-primary\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-secondary\",\n \"to\": \"--vini-theme-error-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-error-icon\",\n \"to\": \"--vini-theme-error-icon\"\n },\n {\n \"from\": \"--vini-themes-error-icon-hover\",\n \"to\": \"--vini-theme-error-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-error-icon-pressed\",\n \"to\": \"--vini-theme-error-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-error-on-surface\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-primary\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-primary-inverse\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-secondary\",\n \"to\": \"--vini-theme-error-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-error-secondary-inverse\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-surface\",\n \"to\": \"--vini-theme-error-surface\"\n },\n {\n \"from\": \"--vini-themes-error-surface-active\",\n \"to\": \"--vini-theme-error-surface-active\"\n },\n {\n \"from\": \"--vini-themes-error-surface-hover\",\n \"to\": \"--vini-theme-error-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-error-surface-normal\",\n \"to\": \"--vini-theme-error-surface\"\n },\n {\n \"from\": \"--vini-themes-main-border\",\n \"to\": \"--vini-theme-main-border\"\n },\n {\n \"from\": \"--vini-themes-main-border-strong\",\n \"to\": \"--vini-theme-main-border-strong\"\n },\n {\n \"from\": \"--vini-themes-main-btn-active\",\n \"to\": \"--vini-theme-main-fill-active\"\n },\n {\n \"from\": \"--vini-themes-main-btn-checked\",\n \"to\": \"--vini-theme-main-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-main-btn-disable\",\n \"to\": \"--vini-theme-main-surface-active\"\n },\n {\n \"from\": \"--vini-themes-main-btn-hover\",\n \"to\": \"--vini-theme-main-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-main-btn-normal\",\n \"to\": \"--vini-theme-main-fill\"\n },\n {\n \"from\": \"--vini-themes-main-btn-text\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-disable\",\n \"to\": \"--vini-theme-main-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-main-fill\",\n \"to\": \"--vini-theme-main-fill\"\n },\n {\n \"from\": \"--vini-themes-main-fill-active\",\n \"to\": \"--vini-theme-main-fill-active\"\n },\n {\n \"from\": \"--vini-themes-main-fill-hover\",\n \"to\": \"--vini-theme-main-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-main-fill-selected\",\n \"to\": \"--vini-theme-main-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-main-focus\",\n \"to\": \"--vini-theme-main-focus\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-on-fill\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-primary\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-secondary\",\n \"to\": \"--vini-theme-main-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-main-ghost\",\n \"to\": \"--vini-theme-main-foreground-ghost\"\n },\n {\n \"from\": \"--vini-themes-main-icon\",\n \"to\": \"--vini-theme-main-icon\"\n },\n {\n \"from\": \"--vini-themes-main-icon-hover\",\n \"to\": \"--vini-theme-main-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-main-icon-pressed\",\n \"to\": \"--vini-theme-main-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-main-on-surface\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-primary\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-primary-inverse\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-secondary\",\n \"to\": \"--vini-theme-main-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-main-secondary-inverse\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-space\",\n \"to\": \"--vini-theme-main-space\"\n },\n {\n \"from\": \"--vini-themes-main-surface\",\n \"to\": \"--vini-theme-main-surface\"\n },\n {\n \"from\": \"--vini-themes-main-surface-active\",\n \"to\": \"--vini-theme-main-surface-active\"\n },\n {\n \"from\": \"--vini-themes-main-surface-hover\",\n \"to\": \"--vini-theme-main-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-main-surface-normal\",\n \"to\": \"--vini-theme-main-surface\"\n },\n {\n \"from\": \"--vini-themes-notification-border\",\n \"to\": \"--vini-theme-notification-border\"\n },\n {\n \"from\": \"--vini-themes-notification-border-strong\",\n \"to\": \"--vini-theme-notification-border-strong\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-active\",\n \"to\": \"--vini-theme-notification-fill-active\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-checked\",\n \"to\": \"--vini-theme-notification-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-hover\",\n \"to\": \"--vini-theme-notification-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-normal\",\n \"to\": \"--vini-theme-notification-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-text\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-disable\",\n \"to\": \"--vini-theme-notification-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-notification-fill\",\n \"to\": \"--vini-theme-notification-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-active\",\n \"to\": \"--vini-theme-notification-fill-active\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-hover\",\n \"to\": \"--vini-theme-notification-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-selected\",\n \"to\": \"--vini-theme-notification-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-notification-focus\",\n \"to\": \"--vini-theme-notification-focus\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-on-fill\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-primary\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-secondary\",\n \"to\": \"--vini-theme-notification-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-notification-icon\",\n \"to\": \"--vini-theme-notification-icon\"\n },\n {\n \"from\": \"--vini-themes-notification-icon-hover\",\n \"to\": \"--vini-theme-notification-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-icon-pressed\",\n \"to\": \"--vini-theme-notification-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-notification-on-surface\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-primary\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-primary-inverse\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-secondary\",\n \"to\": \"--vini-theme-notification-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-notification-secondary-inverse\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-surface\",\n \"to\": \"--vini-theme-notification-surface\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-active\",\n \"to\": \"--vini-theme-notification-surface-active\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-hover\",\n \"to\": \"--vini-theme-notification-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-normal\",\n \"to\": \"--vini-theme-notification-surface\"\n },\n {\n \"from\": \"--vini-themes-success-border\",\n \"to\": \"--vini-theme-success-border\"\n },\n {\n \"from\": \"--vini-themes-success-border-strong\",\n \"to\": \"--vini-theme-success-border-strong\"\n },\n {\n \"from\": \"--vini-themes-success-btn-active\",\n \"to\": \"--vini-theme-success-fill-active\"\n },\n {\n \"from\": \"--vini-themes-success-btn-checked\",\n \"to\": \"--vini-theme-success-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-success-btn-hover\",\n \"to\": \"--vini-theme-success-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-success-btn-normal\",\n \"to\": \"--vini-theme-success-fill\"\n },\n {\n \"from\": \"--vini-themes-success-btn-text\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-disable\",\n \"to\": \"--vini-theme-success-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-success-fill\",\n \"to\": \"--vini-theme-success-fill\"\n },\n {\n \"from\": \"--vini-themes-success-fill-active\",\n \"to\": \"--vini-theme-success-fill-active\"\n },\n {\n \"from\": \"--vini-themes-success-fill-hover\",\n \"to\": \"--vini-theme-success-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-success-fill-selected\",\n \"to\": \"--vini-theme-success-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-success-focus\",\n \"to\": \"--vini-theme-success-focus\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-on-fill\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-primary\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-secondary\",\n \"to\": \"--vini-theme-success-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-success-icon\",\n \"to\": \"--vini-theme-success-icon\"\n },\n {\n \"from\": \"--vini-themes-success-icon-hover\",\n \"to\": \"--vini-theme-success-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-success-icon-pressed\",\n \"to\": \"--vini-theme-success-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-success-on-surface\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-primary\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-primary-inverse\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-secondary\",\n \"to\": \"--vini-theme-success-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-success-secondary-inverse\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-surface\",\n \"to\": \"--vini-theme-success-surface\"\n },\n {\n \"from\": \"--vini-themes-success-surface-active\",\n \"to\": \"--vini-theme-success-surface-active\"\n },\n {\n \"from\": \"--vini-themes-success-surface-hover\",\n \"to\": \"--vini-theme-success-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-success-surface-normal\",\n \"to\": \"--vini-theme-success-surface\"\n },\n {\n \"from\": \"--vini-themes-warning-border\",\n \"to\": \"--vini-theme-warning-border\"\n },\n {\n \"from\": \"--vini-themes-warning-border-strong\",\n \"to\": \"--vini-theme-warning-border-strong\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-active\",\n \"to\": \"--vini-theme-warning-fill-active\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-checked\",\n \"to\": \"--vini-theme-warning-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-hover\",\n \"to\": \"--vini-theme-warning-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-normal\",\n \"to\": \"--vini-theme-warning-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-text\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-disable\",\n \"to\": \"--vini-theme-warning-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-warning-fill\",\n \"to\": \"--vini-theme-warning-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-active\",\n \"to\": \"--vini-theme-warning-fill-active\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-hover\",\n \"to\": \"--vini-theme-warning-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-selected\",\n \"to\": \"--vini-theme-warning-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-warning-focus\",\n \"to\": \"--vini-theme-warning-focus\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-on-fill\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-primary\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-secondary\",\n \"to\": \"--vini-theme-warning-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-warning-icon\",\n \"to\": \"--vini-theme-warning-icon\"\n },\n {\n \"from\": \"--vini-themes-warning-icon-hover\",\n \"to\": \"--vini-theme-warning-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-icon-pressed\",\n \"to\": \"--vini-theme-warning-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-warning-on-surface\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-primary\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-primary-inverse\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-secondary\",\n \"to\": \"--vini-theme-warning-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-warning-secondary-inverse\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-surface\",\n \"to\": \"--vini-theme-warning-surface\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-active\",\n \"to\": \"--vini-theme-warning-surface-active\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-hover\",\n \"to\": \"--vini-theme-warning-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-normal\",\n \"to\": \"--vini-theme-warning-surface\"\n }\n]\n"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "WorkspaceViews.ts",
|
|
54
|
+
"language": "typescript",
|
|
55
|
+
"source": "import type { NativeTokenValue } from '@vini-ds/tokens/native';\nimport type { AssetSelection, ThemeChoice, BrandChoice, FontMode, TypographyMode } from './tokenModel';\n\nexport type SharedViewProps = {\n theme: ThemeChoice;\n brand: BrandChoice;\n fontMode: FontMode;\n typographyMode: TypographyMode;\n resolved: Readonly<Record<string, NativeTokenValue>>;\n inspect: (asset: AssetSelection) => void;\n copy: (text: string, key: string) => void;\n copied: string | null;\n};\n"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "Inspector.tsx",
|
|
59
|
+
"language": "tsx",
|
|
60
|
+
"source": "import release from './atlas-release';\nimport { useEffect, useMemo, useState } from 'react';\nimport { Button, Heading, Tabs, TabsContent, TabsList, TabsTrigger, Text } from '@vini-ds/ui';\nimport type { NativeTokenValue } from '@vini-ds/tokens/native';\nimport { aliasChain, allAssets, BRAND_LABEL, colorToCss, cssVariableFor, directDependents, effectStyleDefinitions, effectVariable, formatValue, isColor, resolveAll, THEME_LABEL, typographyClassByTokenName, usageForToken, variableEntries, type AssetSelection, type BrandChoice, type FontMode, type ThemeChoice, type TypographyMode } from './tokenModel';\nimport { CopyBlock } from './Ui';\nimport { assetPurposeDescription } from './TokenCatalog';\nimport './foundation.css';\n\nexport function Inspector({ selection, theme, brand, fontMode, typographyMode, resolved, onInspect }: {\n selection: AssetSelection; theme: ThemeChoice; brand: BrandChoice; fontMode: FontMode;\n typographyMode: TypographyMode; resolved: Readonly<Record<string, NativeTokenValue>>;\n onInspect: (asset: AssetSelection) => void;\n}) {\n const [format, setFormat] = useState(\"css\");\n const variable = selection.kind === \"variable\" ? variableEntries.find(([name]) => name === selection.name)?.[1] : undefined;\n const nativeMode = variable?.collection === \"fontTheme\" ? fontMode : variable?.collection === \"typography\" ? typographyMode : null;\n const nativeOnly = nativeMode !== null && nativeMode !== (variable?.collection === \"fontTheme\" ? \"Roboto\" : \"Desktop\");\n useEffect(() => { if (nativeOnly) setFormat(\"json\"); }, [nativeOnly, nativeMode, selection.name]);\n const value = variable ? resolved[selection.name] : undefined;\n const effect = selection.kind === \"effect\" ? effectStyleDefinitions[selection.name as keyof typeof effectStyleDefinitions] : undefined;\n const chain = variable ? aliasChain(selection.name, theme, brand, fontMode, typographyMode) : [];\n const dependents = variable ? directDependents(selection.name) : [];\n const snippet = useMemo(() => {\n if (selection.kind === \"typography\") {\n const component = /^desktop\\/(display|headline)\\//.test(selection.name) ? \"Heading\" : \"Text\";\n if (format === \"react\") return `import { ${component} } from \"${release.packages.ui}\";\\n\\n<${component}${component === \"Heading\" ? \" level={2}\" : \"\"} token=\"${selection.name}\">Текст</${component}>`;\n if (format === \"json\") return JSON.stringify({ token: selection.name, className: typographyClassByTokenName[selection.name] }, null, 2);\n return `class=\"${typographyClassByTokenName[selection.name]}\"`;\n }\n if (effect) {\n if (format === \"react\") return `style={{ boxShadow: \"${effectVariable(selection.name)}\" }}`;\n if (format === \"json\") return JSON.stringify(effect, null, 2);\n return `box-shadow: ${effectVariable(selection.name)};`;\n }\n if (!variable) return \"\";\n if (format === \"json\") return JSON.stringify({ name: selection.name, mode: resolveAll(theme, brand, fontMode, typographyMode).modeByCollection[variable.collection], resolved: value, declaration: variable }, null, 2);\n const usage = usageForToken(selection.name, variable.resolvedType);\n return format === \"react\" ? `style={{ ${usage.reactProperty}: \"var(${cssVariableFor(selection.name)})\" }}` : `${usage.cssProperty}: var(${cssVariableFor(selection.name)});`;\n }, [brand, effect, fontMode, format, selection, theme, typographyMode, value, variable]);\n return <div className=\"next-foundation-inspector\">\n <Text token=\"desktop/caption/regular/400\">{selection.kind} · {BRAND_LABEL[brand]} / {THEME_LABEL[theme]} · {fontMode} / {typographyMode}</Text>\n <Heading level={3} token=\"desktop/subheader/medium/600\">{selection.name}</Heading>\n {(() => { const asset = allAssets.find(item => item.name === selection.name && item.kind === selection.kind); return asset ? <Text as=\"p\">{assetPurposeDescription(asset)}</Text> : null; })()}\n <div className=\"next-foundation-inspector-preview\" data-atlas-local-surface=\"foundation-specimen\">\n {selection.kind === \"typography\" ? <span className={typographyClassByTokenName[selection.name]}>Понятный интерфейс</span>\n : effect ? <span className=\"next-foundation-shadow\" style={{ boxShadow: effectVariable(selection.name) }}>Elevation</span>\n : isColor(value) ? <><span className=\"next-foundation-inspector-color\" style={{ background: colorToCss(value) }} /><code>{formatValue(selection.name, value)}</code></>\n : <Text token=\"desktop/headline/regular/900\">{formatValue(selection.name, value)}</Text>}\n </div>\n {variable ? <dl className=\"next-foundation-facts\"><div><dt>Коллекция</dt><dd>{variable.collection}</dd></div><div><dt>Тип</dt><dd>{variable.resolvedType}</dd></div><div><dt>Режимы</dt><dd>{Object.keys(variable.values).length}</dd></div><div><dt>Зависимые токены</dt><dd>{dependents.length}</dd></div></dl> : null}\n {nativeOnly ? <Text as=\"p\" token=\"desktop/body/regular/400\">Режим {nativeMode} исследуется через native resolver. JSON ниже содержит его точное значение. CSS и React-фрагменты показывают каноническое имя; поставленный web CSS использует Roboto/Desktop и не переключается этим режимом просмотра.</Text> : null}\n <Tabs value={format} onValueChange={next => { if (next === \"css\" || next === \"react\" || next === \"json\") setFormat(next); }}>\n <TabsList aria-label=\"Формат применения\" activateOnFocus={false}><TabsTrigger value=\"css\">CSS</TabsTrigger><TabsTrigger value=\"react\">React</TabsTrigger><TabsTrigger value=\"json\">JSON</TabsTrigger></TabsList>\n {[\"css\", \"react\", \"json\"].map(item => <TabsContent value={item} key={item}><CopyBlock text={snippet} title={`${selection.name} · ${item.toUpperCase()}`} fileName={`${selection.name.replaceAll(\"/\", \"-\")}.${item === \"react\" ? \"tsx\" : item}`} /></TabsContent>)}\n </Tabs>\n <Text as=\"p\" token=\"desktop/caption/regular/400\">CSS и React используют публичные стили VINi. FLOAT в native JSON остаётся без единицы; px относится к web-проекции. Foundation-режимы исследования не подменяют typographyScope runtime.</Text>\n {chain.length ? <div className=\"next-foundation-inspector-section\"><Heading level={3} token=\"desktop/subheader/medium/600\">Цепочка алиасов</Heading><ol className=\"next-foundation-chain\">{chain.map(item => <li key={item.name}><Button variant=\"pseudo\" onClick={() => onInspect({ kind: \"variable\", name: item.name })}>{item.name}</Button><Text token=\"desktop/caption/regular/400\">{item.mode} · {item.declaration?.type}</Text></li>)}</ol></div> : null}\n {variable ? <div className=\"next-foundation-inspector-section\"><Heading level={3} token=\"desktop/subheader/medium/600\">Объявления режимов</Heading><dl className=\"next-foundation-declarations\">{Object.entries(variable.values).map(([mode, declaration]) => <div key={mode}><dt>{mode}</dt><dd>{declaration.type === \"alias\" ? `→ ${declaration.to}` : JSON.stringify(declaration)}</dd></div>)}</dl></div> : null}\n {effect ? <div className=\"next-foundation-inspector-section\"><Heading level={3} token=\"desktop/subheader/medium/600\">Исходные слои</Heading><ol className=\"next-foundation-chain\">{effect.effects.map((layer, index) => <li key={index}><Text>{layer.type} · {layer.visible ? \"видимый\" : \"скрытый\"}</Text><code>x{layer.offset.x} y{layer.offset.y} blur{layer.radius} spread{layer.spread}</code></li>)}</ol><Text as=\"p\" token=\"desktop/caption/regular/400\">CSS выводит только видимые слои; JSON сохраняет исходное определение Figma.</Text></div> : null}\n {dependents.length ? <details><summary>Зависимые токены · {dependents.length}</summary><div className=\"next-foundation-dependent-list\">{dependents.map(name => <Button variant=\"pseudo\" key={name} onClick={() => onInspect({ kind: \"variable\", name })}>{name}</Button>)}</div></details> : null}\n </div>;\n}\n"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "TokenCatalog.tsx",
|
|
64
|
+
"language": "tsx",
|
|
65
|
+
"source": "import { useMemo, useState } from 'react';\nimport { Button, Input, Select, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Text } from '@vini-ds/ui';\nimport { allAssets, colorToCss, effectVariable, formatValue, isColor, typographyClassByTokenName } from './tokenModel';\nimport type { SharedViewProps } from './WorkspaceViews';\nimport { PageHeading } from './Ui';\n\ntype Asset = typeof allAssets[number];\nconst purposes = [\n { value: 'all', label: 'Все назначения' },\n { value: 'theme', label: 'Семантические роли' },\n { value: 'base', label: 'Базовые значения' },\n { value: 'palette', label: 'Палитры и бренды' },\n { value: 'component', label: 'Компонентные и служебные' },\n { value: 'styles', label: 'Стили и шрифты' },\n];\nexport function assetPurpose(asset: Asset): string {\n if (asset.kind !== 'variable' || ['fontTheme', 'typography'].includes(asset.collection)) return 'styles';\n if (asset.collection === 'theme') return 'theme';\n if (asset.collection === 'base') return 'base';\n if (asset.collection === 'brand' || asset.collection === 'coreColor') return 'palette';\n return 'component';\n}\nexport function assetPurposeDescription(asset: Asset): string {\n if (asset.name === 'dimensions/disclosure/content-padding-end') return 'Отступ в конце содержимого Accordion; компонент использует его через компонентный алиас.';\n if (asset.name === 'dimensions/disclosure/indicator-size') return 'Размер индикатора Accordion; компонент использует его через компонентный алиас.';\n if (asset.name === 'dimensions/disclosure/trigger-padding-block') return 'Вертикальный отступ заголовка Accordion; компонент использует его через компонентный алиас.';\n return ({theme:'Семантическая роль задаёт назначение значения в текущем оформлении.', base:'Базовое значение используется как основа других токенов.', palette:'Исходное значение палитры или бренда для построения оформления.', component:'Компонентный или служебный токен связывает внутренние значения библиотеки.', styles:'Стиль или параметр шрифта для оформления интерфейса.'} as Record<string,string>)[assetPurpose(asset)];\n}\n\nexport function TokenCatalog({ resolved, inspect }: SharedViewProps) {\n const [search, setSearch] = useState('');\n const [kind, setKind] = useState('all');\n const [purpose, setPurpose] = useState('all');\n const [page, setPage] = useState(0);\n const filtered = useMemo(() => allAssets.filter(asset => {\n const type = asset.kind === 'typography' || asset.name.startsWith('base/font/') || ['fontTheme', 'typography'].includes(asset.collection) ? 'typography'\n : asset.kind === 'effect' ? 'effect' : asset.type === 'COLOR' ? 'color' : asset.type === 'FLOAT' ? 'size' : 'other';\n return (kind === 'all' || kind === type) && (purpose === 'all' || purpose === assetPurpose(asset)) && asset.name.toLowerCase().includes(search.trim().toLowerCase());\n }), [search, kind, purpose]);\n const pageCount = Math.max(1, Math.ceil(filtered.length / 50));\n const current = Math.min(page, pageCount - 1);\n return <>\n <PageHeading title=\"Токены\" description=\"Найдите значения Foundation, текстовые стили и эффекты. Откройте запись, чтобы посмотреть её назначение, связи и код.\" />\n <section id=\"catalog\" data-atlas-section=\"Каталог токенов\" className=\"next-token-catalog\">\n <div className=\"next-token-filters\">\n <div className=\"next-token-search\"><Text as=\"label\" htmlFor=\"token-search\" token=\"desktop/control/regular/500\">Поиск</Text><Input id=\"token-search\" type=\"search\" startIcon=\"search\" clearInputLabel=\"Очистить поиск\" placeholder=\"Например, theme/acc/fill\" value={search} onChange={event => { setSearch(event.target.value); setPage(0); }} /></div>\n <div><Text id=\"token-type-label\" token=\"desktop/control/regular/500\">Тип</Text><Select aria-labelledby=\"token-type-label\" value={kind} onValueChange={value => { if (value) { setKind(value); setPage(0); } }} options={[{value:'all',label:'Все типы'},{value:'color',label:'Цвета'},{value:'size',label:'Размеры и числа'},{value:'typography',label:'Типографика'},{value:'effect',label:'Эффекты'},{value:'other',label:'Другие значения'}]} /></div>\n <div><Text id=\"token-purpose-label\" token=\"desktop/control/regular/500\">Назначение</Text><Select aria-labelledby=\"token-purpose-label\" value={purpose} onValueChange={value => { if (value) { setPurpose(value); setPage(0); } }} options={purposes} /></div>\n </div>\n <Text as=\"p\" token=\"desktop/caption/regular/400\">Семантические роли и базовые значения используются в оформлении. Компонентные и служебные токены описывают внутренние связи библиотеки.</Text>\n <Text as=\"p\" role=\"status\" token=\"desktop/control/regular/500\">Найдено {filtered.length.toLocaleString('ru-RU')} из {allAssets.length.toLocaleString('ru-RU')}</Text>\n {filtered.length === 0 ? <div><Text as=\"p\">Токены не найдены. Измените запрос или сбросьте фильтры.</Text><Button variant=\"secondary\" onClick={() => { setSearch(''); setKind('all'); setPurpose('all'); setPage(0); }}>Сбросить фильтры</Button></div> : <>\n <Table containerLabel=\"Токены: прокручиваемая таблица\"><TableHeader><TableRow><TableHead scope=\"col\">Токен или стиль</TableHead><TableHead scope=\"col\">Назначение</TableHead><TableHead scope=\"col\">Значение</TableHead><TableHead scope=\"col\">Подробности</TableHead></TableRow></TableHeader>\n <TableBody>{filtered.slice(current * 50, (current + 1) * 50).map(asset => {\n const value = asset.kind === 'variable' ? resolved[asset.name] : undefined;\n return <TableRow key={`${asset.kind}:${asset.name}`}><TableHead scope=\"row\"><code>{asset.name}</code></TableHead><TableCell>{purposes.find(item => item.value === assetPurpose(asset))?.label}</TableCell><TableCell><span className=\"next-token-value\">{isColor(value) && <i aria-hidden=\"true\" data-atlas-local-surface=\"foundation-swatch\" style={{background:colorToCss(value)}} />}{asset.kind === 'variable' ? formatValue(asset.name,value) : asset.kind === 'typography' ? `.${typographyClassByTokenName[asset.name]}` : effectVariable(asset.name)}</span></TableCell><TableCell><Button variant=\"pseudo\" onClick={() => inspect({kind:asset.kind,name:asset.name})} aria-label={`Подробности ${asset.name}`}>Открыть</Button></TableCell></TableRow>;\n })}</TableBody></Table>\n <div className=\"next-token-pagination\"><Button variant=\"secondary\" disabled={current === 0} onClick={() => setPage(current - 1)}>Назад</Button><Text>Страница {current + 1} из {pageCount}</Text><Button variant=\"secondary\" disabled={current + 1 >= pageCount} onClick={() => setPage(current + 1)}>Далее</Button></div>\n </>}\n </section>\n </>;\n}\n"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "atlas-release.ts",
|
|
69
|
+
"language": "typescript",
|
|
70
|
+
"source": "export default {\"packages\":{\"ui\":\"@vini-ds/ui\",\"tokens\":\"@vini-ds/tokens\"}};\n"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "foundation.css",
|
|
74
|
+
"language": "css",
|
|
75
|
+
"source": ".next-foundation-page { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content > * { min-inline-size: 0; }\n.next-foundation-content > header { padding-block-start: 0; }\n.next-foundation-content > section { margin-block-start: 0; }\n.next-foundation-content [data-testid=\"typeset-playground\"] article { padding-inline: var(--vini-base-spacing-500); }\n.next-foundation-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--vini-base-spacing-400); }\n.next-foundation-section { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 3); }\n.next-foundation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-700); }\n.next-foundation-link { display: grid; gap: var(--vini-base-spacing-400); color: var(--vini-theme-main-foreground-primary); text-decoration: none; min-inline-size: 0; }\n.next-foundation-link p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-link:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.next-foundation-sample { display: grid; place-items: center; min-block-size: calc(var(--vini-base-sizing-700) * 3); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-sample-colors { color: var(--vini-theme-acc-foreground-primary); }\n.next-foundation-sample-effects { margin: 0; box-shadow: var(--vini-elevation-light-200); }\n.next-foundation-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-role { display: grid; gap: var(--vini-base-spacing-300); text-align: start; padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); cursor: pointer; min-inline-size: 0; }\n.next-foundation-role code { overflow-wrap: anywhere; }\n.next-foundation-role:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 6)), 1fr)); gap: var(--vini-base-spacing-500); }\n.next-foundation-tools a { display: grid; gap: var(--vini-base-spacing-200); padding-block: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); text-decoration: none; }\n.next-foundation-tool-title { text-decoration: underline; text-underline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-theme { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-500); background: var(--vini-theme-main-space); color: var(--vini-theme-main-foreground-primary); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-theme-surface { display: grid; gap: var(--vini-base-spacing-400); padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-base); }\n.next-foundation-theme-example { display: block; inline-size: 100%; min-inline-size: 0; min-block-size: calc(var(--vini-base-sizing-1000) * 10); border: 0; }\n.next-foundation-intro { display: grid; gap: var(--vini-base-spacing-300); }\n.next-foundation-inspector { display: grid; gap: var(--vini-base-spacing-500); padding-inline: var(--vini-base-spacing-500); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-inspector h3 { overflow-wrap: anywhere; }\n.next-foundation-inspector-preview { display: grid; justify-items: start; gap: var(--vini-base-spacing-400); padding-block: var(--vini-base-spacing-400); overflow-wrap: anywhere; }\n.next-foundation-inspector-color { display: block; inline-size: 100%; block-size: calc(var(--vini-base-sizing-700) * 2); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.next-foundation-shadow { padding: var(--vini-base-spacing-700); background: var(--vini-theme-main-base); }\n.next-foundation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-300); margin: 0; }\n.next-foundation-facts > div { display: grid; gap: var(--vini-base-spacing-200); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: var(--vini-base-spacing-300); }\n.next-foundation-facts dt { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-facts dd, .next-foundation-declarations dd { margin: 0; overflow-wrap: anywhere; }\n.next-foundation-inspector-section { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.next-foundation-chain { display: grid; gap: var(--vini-base-spacing-400); padding-inline-start: var(--vini-base-spacing-600); margin: 0; }\n.next-foundation-chain li { min-inline-size: 0; overflow-wrap: anywhere; }\n.next-foundation-chain li > span, .next-foundation-chain li > code { display: block; }\n.next-foundation-declarations { display: grid; gap: var(--vini-base-spacing-400); margin: 0; }\n.next-foundation-declarations > div { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-300); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.next-foundation-dependent-list { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-400); }\n.next-foundation-copy-failure { display: grid; gap: var(--vini-base-spacing-300); padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-error-border); }\n.next-token-catalog { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; }\n.next-token-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); align-items: end; }\n.next-token-filters > div { display: grid; gap: var(--vini-base-spacing-200); min-inline-size: 0; }\n.next-token-value { display: inline-flex; align-items: center; gap: var(--vini-base-spacing-300); white-space: nowrap; }\n.next-token-value i { display: inline-block; inline-size: var(--vini-base-sizing-100); block-size: var(--vini-base-sizing-100); flex: none; border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-100); }\n.next-token-pagination { display: flex; align-items: center; justify-content: flex-end; gap: var(--vini-base-spacing-400); flex-wrap: wrap; }\n@media(max-width: 720px) { .next-token-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .next-token-search { grid-column: 1 / -1; } }\n\n/* Four Foundation entry points form two paired rows rather than an orphaned fourth tile. */\n.next-foundation-paired-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.next-foundation-section > p { max-inline-size: calc(var(--vini-base-sizing-600) * 14); }\nhtml:is([data-theme=\"dark\"],[data-theme=\"dark-alpha\"]) .next-foundation-sample-effects {\n box-shadow: var(--vini-elevation-dark-200);\n}\n@media(max-width:560px) {\n .next-foundation-paired-grid { grid-template-columns: minmax(0,1fr); }\n .next-foundation-theme { padding: var(--vini-base-spacing-300); }\n .next-foundation-theme-surface { padding: var(--vini-base-spacing-300); }\n}\n"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "atlas-host.css",
|
|
79
|
+
"language": "css",
|
|
80
|
+
"source": "/* Existing Registry comparison adapters require utilities. VINi masters retain public CSS. */\n*{box-sizing:border-box}html{background:var(--vini-theme-main-space);color:var(--vini-theme-main-foreground-primary);--atlas-header-height:calc(var(--vini-base-sizing-700) + var(--vini-base-spacing-500))}body{margin:0;min-inline-size:0;font-family:var(--vini-base-font-family-roboto),sans-serif}html[data-theme=light],html[data-theme=light-alpha]{color-scheme:light}html[data-theme=dark],html[data-theme=dark-alpha]{color-scheme:dark}a{color:inherit}a:focus-visible,summary:focus-visible{outline:var(--vini-base-border-width-600) solid var(--vini-theme-acc-focus);outline-offset:var(--vini-base-spacing-100)}[id]{scroll-margin-block-start:calc(var(--atlas-header-height) + var(--vini-base-spacing-500))}\n.next-topbar{position:sticky;inset-block-start:0;z-index:10;background:var(--vini-theme-main-space);border-block-end:var(--vini-base-border-width-500) solid var(--vini-theme-main-border)}.next-topbar-inner{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;min-block-size:var(--atlas-header-height);padding:var(--vini-base-spacing-400) var(--vini-base-spacing-700);display:flex;align-items:center;gap:var(--vini-base-spacing-700)}.next-logo{text-decoration:none;white-space:nowrap}.next-logo span{color:var(--vini-theme-main-foreground-secondary)}.next-top-nav{display:flex;gap:var(--vini-base-spacing-600);flex:1}.next-top-nav a{text-decoration:none;white-space:nowrap;padding-block:var(--vini-base-spacing-200)}.next-top-nav a[aria-current=page],.next-local-nav a[aria-current=page],.next-nav-primary a[aria-current=page]{color:var(--vini-theme-main-foreground-primary)}.next-top-actions,.next-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--vini-base-spacing-300)}.next-top-actions{flex-wrap:nowrap;margin-inline-start:auto}.next-menu-trigger{display:none}.next-shortcut{color:var(--vini-theme-main-foreground-secondary);margin-inline-start:var(--vini-base-spacing-300)}\n.next-dev-profile { white-space: nowrap; color: var(--vini-theme-main-foreground-secondary); background: var(--vini-theme-main-surface); border-radius: var(--vini-base-border-radius-200); padding: var(--vini-base-spacing-100) var(--vini-base-spacing-300); }\n.next-layout{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;display:grid;grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr) calc(var(--vini-base-sizing-600)*4);gap:var(--vini-base-spacing-800);padding:var(--vini-base-spacing-800) var(--vini-base-spacing-700)}.next-layout-wide{grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr)}.next-layout-home{display:block;max-inline-size:calc(var(--vini-base-sizing-1000)*23)}.next-main{min-inline-size:0;outline:none}.next-main>*+*{margin-block-start:var(--vini-base-spacing-700)}.next-sidebar,.next-toc{align-self:start;position:sticky;inset-block-start:calc(var(--atlas-header-height) + var(--vini-base-spacing-700));max-block-size:calc(100vh - var(--atlas-header-height) - var(--vini-base-spacing-900));overflow:auto;scrollbar-width:thin}.next-nav-primary{display:none}.next-local-nav,.next-toc nav{display:flex;flex-direction:column;gap:var(--vini-base-spacing-100);margin-block-start:var(--vini-base-spacing-400)}.next-local-nav a,.next-toc a{padding:var(--vini-base-spacing-200) var(--vini-base-spacing-300);text-decoration:none;border-radius:var(--vini-base-border-radius-400);font:inherit;overflow-wrap:anywhere}.next-local-nav a:hover,.next-toc a:hover,.next-local-nav [aria-current=page]{background:var(--vini-theme-main-surface)}.next-page-heading{display:grid;gap:var(--vini-base-spacing-400);margin-block-end:var(--vini-base-spacing-700)}.next-page-heading p,.next-page-heading h1{margin:0}.next-page-heading>p:last-of-type{color:var(--vini-theme-main-foreground-secondary)}\n.next-hero{max-inline-size:calc(var(--vini-base-sizing-1000)*18);padding-block:var(--vini-base-spacing-900) var(--vini-base-spacing-700);display:grid;gap:var(--vini-base-spacing-500)}.next-hero p,.next-hero h1{margin:0}.next-hero>p:last-of-type{max-inline-size:calc(var(--vini-base-sizing-1000)*13);color:var(--vini-theme-main-foreground-secondary)}.next-hero .next-actions{margin-block-start:var(--vini-base-spacing-300)}.next-section{margin-block-start:var(--vini-base-spacing-1100)}.next-section-heading{display:flex;gap:var(--vini-base-spacing-400);align-items:center;justify-content:space-between}.next-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,calc(var(--vini-base-sizing-600)*6)),1fr));gap:var(--vini-base-spacing-500)}.next-card-link{text-decoration:none;min-inline-size:0}.next-card-link>div{block-size:100%;overflow:hidden}.next-sample{position:relative;display:flex;align-items:center;justify-content:center;background:var(--vini-theme-main-space);block-size:calc(var(--vini-base-sizing-600)*4);overflow:hidden}.next-sample img{inline-size:100%;block-size:100%;object-fit:contain}.next-sample-caption{position:absolute;inset-inline-end:var(--vini-base-spacing-300);inset-block-end:var(--vini-base-spacing-200);color:var(--vini-theme-main-foreground-secondary);background:var(--vini-theme-main-space);padding:var(--vini-base-spacing-100);}.next-direction-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(var(--vini-base-sizing-600)*6)),1fr));gap:var(--vini-base-spacing-700)}.next-direction{padding-block:var(--vini-base-spacing-500);text-decoration:none;border-block-start:var(--vini-base-border-width-500) solid var(--vini-theme-main-border)}.next-direction p{color:var(--vini-theme-main-foreground-secondary)}.next-text-link{color:var(--vini-theme-main-foreground-primary)}.next-catalog-controls{display:grid;gap:var(--vini-base-spacing-400)}.next-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(var(--vini-base-sizing-600)*5)),1fr));gap:var(--vini-base-spacing-400);padding-block:var(--vini-base-spacing-400)}.next-result-count{display:flex;justify-content:space-between;gap:var(--vini-base-spacing-400);flex-wrap:wrap;align-items:center;margin-block:var(--vini-base-spacing-500)}.next-empty{padding:var(--vini-base-spacing-800);background:var(--vini-theme-main-base);display:grid;gap:var(--vini-base-spacing-500)}\n.next-copy-block{min-inline-size:0}.next-copy-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--vini-base-spacing-300)}.next-code{padding:var(--vini-base-spacing-500);background:var(--vini-theme-main-base);border:var(--vini-base-border-width-500) solid var(--vini-theme-main-border);border-radius:var(--vini-base-border-radius-400);overflow:auto;max-block-size:calc(var(--vini-base-sizing-600)*12);font-family:var(--vini-base-font-family-roboto-mono),monospace;}.next-markdown{min-inline-size:0;overflow-wrap:anywhere}.next-markdown pre{max-block-size:calc(var(--vini-base-sizing-600)*12)}.next-preferences{display:grid;gap:var(--vini-base-spacing-700);padding:var(--vini-base-spacing-700)}.next-search-result p{margin:0}.next-result-type{color:var(--vini-theme-main-foreground-secondary)}.next-search-empty{padding:var(--vini-base-spacing-600)}.next-footer{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;padding:var(--vini-base-spacing-700);border-block-start:var(--vini-base-border-width-500) solid var(--vini-theme-main-border);display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--vini-base-spacing-500)}.next-skip{position:fixed;inset-block-start:var(--vini-base-spacing-400);inset-inline-start:var(--vini-base-spacing-400);z-index:1001;background:var(--vini-theme-main-base);padding:var(--vini-base-spacing-400);transform:translateY(-200%)}.next-skip:focus{transform:none}\n@media(max-width:1100px){.next-layout{grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr);gap:var(--vini-base-spacing-600)}.next-toc{position:static;grid-column:2;max-block-size:none}.next-top-nav{gap:var(--vini-base-spacing-400)}.next-topbar-inner{gap:var(--vini-base-spacing-500)}.next-shortcut{display:none}}\n@media(max-width:800px){.next-top-nav,.next-sidebar{display:none}.next-menu-trigger{display:inline-flex}.next-layout{display:block;padding:var(--vini-base-spacing-600) var(--vini-base-spacing-500)}.next-topbar-inner{padding:var(--vini-base-spacing-300) var(--vini-base-spacing-500)}.next-topbar{--atlas-header-height:calc(var(--vini-base-sizing-700) + var(--vini-base-spacing-500))}.next-nav-primary{display:grid;gap:var(--vini-base-spacing-500);padding:var(--vini-base-spacing-500)}.next-local-nav{padding:var(--vini-base-spacing-500)}.next-hero{padding-block:var(--vini-base-spacing-600) var(--vini-base-spacing-800)}.next-toc{margin-block-start:var(--vini-base-spacing-700)}.next-footer{padding:var(--vini-base-spacing-500)}.next-section-heading{flex-wrap:wrap}.next-search-label{display:none}}\n.next-top-actions .next-menu-trigger{display:none}.next-compact-toc{display:none}.next-compact-toc nav{display:grid;gap:var(--vini-base-spacing-300);padding-block:var(--vini-base-spacing-500)}\n.next-sidebar-provider { --sidebar-width: 100%; min-block-size: 0; }\n@media(max-width:1100px){.next-toc{display:none}.next-compact-toc{display:block}}\n@media(max-width:800px){.next-top-actions .next-menu-trigger{display:inline-flex}}\n\n/* Atlas-owned navigation, reading measure and media geometry. No control state overrides. */\n.next-top-nav a { position: relative; }\n.next-storybook-link { display: inline-flex; align-items: center; text-decoration: none; }\n.next-storybook-mobile { padding: var(--vini-base-spacing-500); }\n@media(max-width:1100px) {\n .next-topbar-with-storybook .next-top-nav { display: none; }\n .next-topbar-with-storybook .next-top-actions .next-menu-trigger { display: inline-flex; }\n .next-storybook-menu .next-nav-primary { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-500); }\n .next-storybook-menu .next-local-nav { padding: var(--vini-base-spacing-500); }\n}\n.next-top-nav a[aria-current=page]::after { content: \"\"; position: absolute; inset-inline: 0; inset-block-end: calc(var(--vini-base-spacing-none) - var(--vini-base-spacing-500)); block-size: var(--vini-base-border-width-600); background: var(--vini-theme-main-foreground-primary); }\n.next-local-nav a[aria-current=page] { border-inline-start: var(--vini-base-border-width-600) solid var(--vini-theme-main-foreground-primary); }\n.next-local-nav a:not([aria-current=page]) { border-inline-start: var(--vini-base-border-width-600) solid transparent; }\n.next-page-heading > p:last-of-type { max-inline-size: calc(var(--vini-base-sizing-600)*14); }\n.next-section-heading { margin-block-end: var(--vini-base-spacing-600); }\n.next-section > h2 { margin-block-end: var(--vini-base-spacing-600); }\n.home-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }\n@media(max-width:1100px) { .home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }\n@media(max-width:560px) { .home-grid { grid-template-columns: minmax(0,1fr); } }\n.next-markdown > :is(p,ul,ol,blockquote) { max-inline-size: calc(var(--vini-base-sizing-600)*14); }\n.next-direction { display: grid; align-content: start; gap: var(--vini-base-spacing-300); }\n.next-direction p { margin: 0; }\n.next-direction:hover { border-block-start-color: var(--vini-theme-main-border-strong); }\n@media(max-width:800px) { .next-top-nav a[aria-current=page]::after { display: none; } }\n.next-documentation-scope { min-inline-size: 0; }\n.next-documentation-scope p { margin: 0; }\n/* A single About page has no redundant section navigation; keep its page outline. */\n.next-layout-about { max-inline-size: calc(var(--vini-base-sizing-1000)*23); grid-template-columns: minmax(0,1fr) calc(var(--vini-base-sizing-600)*4); }\n@media(max-width:1100px) { .next-layout-about { grid-template-columns: minmax(0,1fr); } }\n"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "SHADCN-LICENSE.txt",
|
|
84
|
+
"language": "text",
|
|
85
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"limitations": [
|
|
89
|
+
"Public Atlas demonstration code for React DOM, not a product validation or a native renderer support claim.",
|
|
90
|
+
"Use matching installed VINi packages and the root ThemeBrandProvider; load @vini-ds/tokens/fonts.css, @vini-ds/tokens/themes.css, @vini-ds/tokens/typography.css and @vini-ds/ui/styles.css. Load @vini-ds/tokens/effects.css for effect previews. Verify the API against the installed release and ensure the host serves package font assets.",
|
|
91
|
+
"The page and Inspector are original Atlas source projected with local import paths; tokenModel.ts contains only the declarations needed by these examples.",
|
|
92
|
+
"The host supplies selected theme, brand, modes, resolved token values, clipboard state and inspect callbacks. Render Inspector in an accessible host sheet or dialog and preserve focus behavior; the standalone Atlas shell is not included.",
|
|
93
|
+
"Import foundation.css and atlas-host.css for Atlas host presentation. The Atlas stylesheet Tailwind setup directives are omitted, and navigation anchors remain Atlas-specific.",
|
|
94
|
+
"Token aliases and resolver outputs are documentation examples, not evidence of product correctness or full accessibility conformance.",
|
|
95
|
+
"Provide the inspect callback, Atlas inspector host, specimen description element, and Material Symbols font for icons.",
|
|
96
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
97
|
+
],
|
|
98
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: public Foundation tools; source is extracted from the selected Atlas presenters and token model."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "atlas-foundations-theme-comparison",
|
|
102
|
+
"title": "Themes — interactive theme comparison",
|
|
103
|
+
"description": "Atlas comparison of four themes using independent live Field examples and a theme-selection callback.",
|
|
104
|
+
"componentIds": [
|
|
105
|
+
"button",
|
|
106
|
+
"field",
|
|
107
|
+
"heading",
|
|
108
|
+
"text"
|
|
109
|
+
],
|
|
110
|
+
"patternIds": [],
|
|
111
|
+
"files": [
|
|
112
|
+
{
|
|
113
|
+
"name": "ThemeComparison.tsx",
|
|
114
|
+
"language": "tsx",
|
|
115
|
+
"source": "import { useEffect, useRef, useState, type ReactNode } from 'react';\nimport { Button, Heading, Text } from '@vini-ds/ui';\nimport { BRAND_LABEL, THEME_LABEL, type BrandChoice, type ThemeChoice } from './theme-model';\nimport './foundation.css';\n\ntype FoundationPageProps = { id: string; theme: ThemeChoice; brand: BrandChoice; onThemeChange: (theme: ThemeChoice) => void };\n\nconst themes: readonly ThemeChoice[] = [\"light\", \"dark\", \"dark-alpha\", \"light-alpha\"];\n\nfunction Section({ id, title, children }: { id: string; title: string; children: ReactNode }) {\n return <section id={id} data-atlas-section={title} tabIndex={-1} className=\"next-foundation-section\">\n <Heading level={2} token=\"desktop/headline/regular/1000\">{title}</Heading>{children}\n </section>;\n}\n\nfunction ThemeFieldExample({ theme, brand }: { theme: ThemeChoice; brand: BrandChoice }) {\n const frame = useRef<HTMLIFrameElement>(null);\n const [height, setHeight] = useState<number | undefined>();\n useEffect(() => {\n const resize = (event: MessageEvent) => {\n if (event.origin !== location.origin || event.source !== frame.current?.contentWindow || event.data?.type !== \"atlas-example-size\" || event.data?.kind !== \"component\" || event.data?.id !== \"field\") return;\n const next = event.data.height;\n if (typeof next === \"number\" && Number.isFinite(next) && next > 0) setHeight(next);\n };\n window.addEventListener(\"message\", resize);\n return () => window.removeEventListener(\"message\", resize);\n }, []);\n const params = new URLSearchParams({ component: \"field\", brand, theme });\n return <iframe ref={frame} className=\"next-foundation-theme-example\" title={`Основной пример Field — ${THEME_LABEL[theme]}`} src={`example.html?${params}`} style={height ? { height } : undefined} />;\n}\n\nexport function ThemeComparison({ theme, brand, onThemeChange }: FoundationPageProps) {\n return <Section id=\"comparison\" title=\"Сравните темы\">\n <Text as=\"p\">Текущий бренд — {BRAND_LABEL[brand]}. Основной пример Field показан в четырёх темах. Попробуйте форму или выберите тему, чтобы применить её в оболочке и примерах. Alpha-темы показаны на непрозрачном фоне main/space.</Text>\n <div className=\"next-foundation-theme-grid next-foundation-paired-grid\">\n {themes.map(mode => <div className=\"next-foundation-theme\" key={mode} data-brand=\"vini\" data-colorway={brand} data-theme={mode}>\n <div className=\"next-foundation-theme-surface\"><Heading level={3} token=\"desktop/subheader/medium/600\">{THEME_LABEL[mode]}</Heading><ThemeFieldExample theme={mode} brand={brand} /></div>\n <Button variant=\"secondary\" onClick={() => onThemeChange(mode)} aria-pressed={theme === mode}>{theme === mode ? \"Текущая тема\" : `Выбрать ${THEME_LABEL[mode]}`}</Button>\n </div>)}\n </div>\n <Text as=\"p\" token=\"desktop/caption/regular/400\">Полное сравнение каждой семантической роли находится в <a href=\"#foundations/colors?section=mode-comparison\">цветах</a>. Режим просмотра Foundation не меняет опубликованный контракт компонентов.</Text>\n </Section>;\n}\n"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "theme-model.ts",
|
|
119
|
+
"language": "typescript",
|
|
120
|
+
"source": "export type ThemeChoice = \"light\" | \"dark\" | \"dark-alpha\" | \"light-alpha\";\n\nexport const BRAND_CHOICES = [\"blue\", \"orange\", \"neutral\"] as const;\n\nexport type BrandChoice = typeof BRAND_CHOICES[number];\n\nexport const BRAND_LABEL: Record<BrandChoice, string> = {\n blue: \"Blue\",\n orange: \"Orange\",\n neutral: \"Neutral\"\n};\n\nexport const THEME_LABEL: Record<ThemeChoice, string> = {\n light: \"Light\",\n dark: \"Dark\",\n \"dark-alpha\": \"Dark Alpha\",\n \"light-alpha\": \"Light Alpha\"\n};\n"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "foundation.css",
|
|
124
|
+
"language": "css",
|
|
125
|
+
"source": ".next-foundation-page { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content > * { min-inline-size: 0; }\n.next-foundation-content > header { padding-block-start: 0; }\n.next-foundation-content > section { margin-block-start: 0; }\n.next-foundation-content [data-testid=\"typeset-playground\"] article { padding-inline: var(--vini-base-spacing-500); }\n.next-foundation-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--vini-base-spacing-400); }\n.next-foundation-section { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 3); }\n.next-foundation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-700); }\n.next-foundation-link { display: grid; gap: var(--vini-base-spacing-400); color: var(--vini-theme-main-foreground-primary); text-decoration: none; min-inline-size: 0; }\n.next-foundation-link p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-link:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.next-foundation-sample { display: grid; place-items: center; min-block-size: calc(var(--vini-base-sizing-700) * 3); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-sample-colors { color: var(--vini-theme-acc-foreground-primary); }\n.next-foundation-sample-effects { margin: 0; box-shadow: var(--vini-elevation-light-200); }\n.next-foundation-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-role { display: grid; gap: var(--vini-base-spacing-300); text-align: start; padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); cursor: pointer; min-inline-size: 0; }\n.next-foundation-role code { overflow-wrap: anywhere; }\n.next-foundation-role:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 6)), 1fr)); gap: var(--vini-base-spacing-500); }\n.next-foundation-tools a { display: grid; gap: var(--vini-base-spacing-200); padding-block: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); text-decoration: none; }\n.next-foundation-tool-title { text-decoration: underline; text-underline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-theme { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-500); background: var(--vini-theme-main-space); color: var(--vini-theme-main-foreground-primary); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-theme-surface { display: grid; gap: var(--vini-base-spacing-400); padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-base); }\n.next-foundation-theme-example { display: block; inline-size: 100%; min-inline-size: 0; min-block-size: calc(var(--vini-base-sizing-1000) * 10); border: 0; }\n.next-foundation-intro { display: grid; gap: var(--vini-base-spacing-300); }\n.next-foundation-inspector { display: grid; gap: var(--vini-base-spacing-500); padding-inline: var(--vini-base-spacing-500); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-inspector h3 { overflow-wrap: anywhere; }\n.next-foundation-inspector-preview { display: grid; justify-items: start; gap: var(--vini-base-spacing-400); padding-block: var(--vini-base-spacing-400); overflow-wrap: anywhere; }\n.next-foundation-inspector-color { display: block; inline-size: 100%; block-size: calc(var(--vini-base-sizing-700) * 2); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.next-foundation-shadow { padding: var(--vini-base-spacing-700); background: var(--vini-theme-main-base); }\n.next-foundation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-300); margin: 0; }\n.next-foundation-facts > div { display: grid; gap: var(--vini-base-spacing-200); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: var(--vini-base-spacing-300); }\n.next-foundation-facts dt { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-facts dd, .next-foundation-declarations dd { margin: 0; overflow-wrap: anywhere; }\n.next-foundation-inspector-section { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.next-foundation-chain { display: grid; gap: var(--vini-base-spacing-400); padding-inline-start: var(--vini-base-spacing-600); margin: 0; }\n.next-foundation-chain li { min-inline-size: 0; overflow-wrap: anywhere; }\n.next-foundation-chain li > span, .next-foundation-chain li > code { display: block; }\n.next-foundation-declarations { display: grid; gap: var(--vini-base-spacing-400); margin: 0; }\n.next-foundation-declarations > div { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-300); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.next-foundation-dependent-list { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-400); }\n.next-foundation-copy-failure { display: grid; gap: var(--vini-base-spacing-300); padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-error-border); }\n.next-token-catalog { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; }\n.next-token-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); align-items: end; }\n.next-token-filters > div { display: grid; gap: var(--vini-base-spacing-200); min-inline-size: 0; }\n.next-token-value { display: inline-flex; align-items: center; gap: var(--vini-base-spacing-300); white-space: nowrap; }\n.next-token-value i { display: inline-block; inline-size: var(--vini-base-sizing-100); block-size: var(--vini-base-sizing-100); flex: none; border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-100); }\n.next-token-pagination { display: flex; align-items: center; justify-content: flex-end; gap: var(--vini-base-spacing-400); flex-wrap: wrap; }\n@media(max-width: 720px) { .next-token-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .next-token-search { grid-column: 1 / -1; } }\n\n/* Four Foundation entry points form two paired rows rather than an orphaned fourth tile. */\n.next-foundation-paired-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.next-foundation-section > p { max-inline-size: calc(var(--vini-base-sizing-600) * 14); }\nhtml:is([data-theme=\"dark\"],[data-theme=\"dark-alpha\"]) .next-foundation-sample-effects {\n box-shadow: var(--vini-elevation-dark-200);\n}\n@media(max-width:560px) {\n .next-foundation-paired-grid { grid-template-columns: minmax(0,1fr); }\n .next-foundation-theme { padding: var(--vini-base-spacing-300); }\n .next-foundation-theme-surface { padding: var(--vini-base-spacing-300); }\n}\n"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "Example.tsx",
|
|
129
|
+
"language": "tsx",
|
|
130
|
+
"source": "import * as React from \"react\";\nimport { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet } from \"@vini-ds/ui\";\nimport { Input } from \"@vini-ds/ui\";\nimport { Select } from \"@vini-ds/ui\";\nimport { Checkbox } from \"@vini-ds/ui\";\nimport { Textarea } from \"@vini-ds/ui\";\nimport { Button } from \"@vini-ds/ui\";\nimport { Text } from \"@vini-ds/ui\";\nimport { DirectionProvider } from \"@vini-ds/ui\";\nimport styles from \"./examples.module.css\";\n\nconst translations = {\n en: { dir: \"ltr\", title: \"Meeting details\", description: \"Use sample details to plan a meeting.\", meeting: \"Meeting title\", meetingPlaceholder: \"Project review\", organizer: \"Organizer\", organizerPlaceholder: \"North studio\", organizerDescription: \"Enter the name of the person organizing the meeting.\", month: \"Month\", monthPlaceholder: \"MM\", year: \"Year\", yearPlaceholder: \"YYYY\", attendees: \"Participants\", preferences: \"Preferences\", preferencesDescription: \"Choose what to include with the invitation.\", notesToggle: \"Include meeting notes\", notes: \"Notes\", notesPlaceholder: \"Add an agenda or context\", submit: \"Submit\", cancel: \"Cancel\", submitted: \"Demo meeting saved locally.\", reset: \"Form reset.\" },\n ar: { dir: \"rtl\", title: \"تفاصيل الاجتماع\", description: \"استخدم بيانات تجريبية لتخطيط اجتماع.\", meeting: \"عنوان الاجتماع\", meetingPlaceholder: \"مراجعة المشروع\", organizer: \"المنظّم\", organizerPlaceholder: \"فريق المشروع\", organizerDescription: \"أدخل اسم الشخص الذي ينظم الاجتماع.\", month: \"الشهر\", monthPlaceholder: \"شهر\", year: \"السنة\", yearPlaceholder: \"سنة\", attendees: \"المشاركون\", preferences: \"التفضيلات\", preferencesDescription: \"اختر ما تريد إرفاقه بالدعوة.\", notesToggle: \"إرفاق ملاحظات الاجتماع\", notes: \"الملاحظات\", notesPlaceholder: \"أضف جدول الأعمال أو تفاصيل أخرى\", submit: \"إرسال\", cancel: \"إلغاء\", submitted: \"تم حفظ الاجتماع التجريبي محلياً.\", reset: \"تمت إعادة تعيين النموذج.\" },\n he: { dir: \"rtl\", title: \"פרטי הפגישה\", description: \"השתמשו בנתונים לדוגמה לתכנון פגישה.\", meeting: \"שם הפגישה\", meetingPlaceholder: \"סקירת הפרויקט\", organizer: \"מארגן\", organizerPlaceholder: \"צוות הפרויקט\", organizerDescription: \"הזינו את שם מארגן הפגישה.\", month: \"חודש\", monthPlaceholder: \"חודש\", year: \"שנה\", yearPlaceholder: \"שנה\", attendees: \"משתתפים\", preferences: \"העדפות\", preferencesDescription: \"בחרו מה לצרף להזמנה.\", notesToggle: \"צרפו הערות לפגישה\", notes: \"הערות\", notesPlaceholder: \"הוסיפו סדר יום או פרטים\", submit: \"שליחה\", cancel: \"ביטול\", submitted: \"פגישת ההדגמה נשמרה מקומית.\", reset: \"הטופס אופס.\" }\n} as const;\nconst months = Array.from({ length: 12 }, (_, index) => { const value = String(index + 1).padStart(2, \"0\"); return { value, label: value }; });\nconst years = [\"2024\", \"2025\", \"2026\", \"2027\", \"2028\", \"2029\"].map(value => ({ value, label: value }));\nconst emptyDraft = { meeting: \"\", organizer: \"\", attendees: \"\", notes: \"\" };\n\nfunction MeetingForm({ localized = false }: { localized?: boolean }) {\n const id = React.useId();\n const [language, setLanguage] = React.useState<keyof typeof translations>(localized ? \"ar\" : \"en\");\n const [draft, setDraft] = React.useState(emptyDraft);\n const [month, setMonth] = React.useState<string | null>(null);\n const [year, setYear] = React.useState<string | null>(null);\n const [includeNotes, setIncludeNotes] = React.useState(true);\n const [result, setResult] = React.useState<\"submitted\" | \"reset\" | null>(null);\n const t = translations[language];\n function update(key: keyof typeof emptyDraft, value: string) {\n setDraft(current => ({ ...current, [key]: value }));\n setResult(null);\n }\n function reset() {\n setDraft(emptyDraft); setMonth(null); setYear(null); setIncludeNotes(true); setResult(\"reset\");\n }\n const form = <form className={localized ? undefined : styles.form} autoComplete=\"off\" onSubmit={event => { event.preventDefault(); setResult(\"submitted\"); }} onReset={reset}>\n <FieldGroup>\n <FieldSet aria-describedby={`${id}-meeting-description`}>\n <FieldLegend>{t.title}</FieldLegend><FieldDescription id={`${id}-meeting-description`}>{t.description}</FieldDescription>\n <FieldGroup>\n <Field><FieldLabel htmlFor={`${id}-meeting`}>{t.meeting}</FieldLabel><Input id={`${id}-meeting`} name=\"meeting\" placeholder={t.meetingPlaceholder} required value={draft.meeting} onChange={event => update(\"meeting\", event.target.value)} /></Field>\n <Field><FieldLabel htmlFor={`${id}-organizer`}>{t.organizer}</FieldLabel><Input id={`${id}-organizer`} name=\"organizer\" placeholder={t.organizerPlaceholder} required value={draft.organizer} onChange={event => update(\"organizer\", event.target.value)} aria-describedby={`${id}-organizer-description`} /><FieldDescription id={`${id}-organizer-description`}>{t.organizerDescription}</FieldDescription></Field>\n <div className={styles.expiry}>\n <Field><FieldLabel htmlFor={`${id}-month`}>{t.month}</FieldLabel><Select id={`${id}-month`} name=\"month\" options={months} value={month} onValueChange={value => { setMonth(value); setResult(null); }} placeholder={t.monthPlaceholder} emptyOptionLabel={t.monthPlaceholder} /></Field>\n <Field><FieldLabel htmlFor={`${id}-year`}>{t.year}</FieldLabel><Select id={`${id}-year`} name=\"year\" options={years} value={year} onValueChange={value => { setYear(value); setResult(null); }} placeholder={t.yearPlaceholder} emptyOptionLabel={t.yearPlaceholder} /></Field>\n <Field><FieldLabel htmlFor={`${id}-attendees`}>{t.attendees}</FieldLabel><Input id={`${id}-attendees`} name=\"attendees\" placeholder=\"12\" inputMode=\"numeric\" required value={draft.attendees} onChange={event => update(\"attendees\", event.target.value)} /></Field>\n </div>\n </FieldGroup>\n </FieldSet>\n <FieldSeparator />\n <FieldSet aria-describedby={`${id}-preferences-description`}>\n <FieldLegend>{t.preferences}</FieldLegend><FieldDescription id={`${id}-preferences-description`}>{t.preferencesDescription}</FieldDescription>\n <FieldGroup><Field orientation=\"horizontal\"><span className={styles.control}><Checkbox id={`${id}-include-notes`} name=\"includeNotes\" checked={includeNotes} onCheckedChange={checked => { setIncludeNotes(checked); setResult(null); }} /></span><FieldLabel htmlFor={`${id}-include-notes`}><Text token=\"desktop/control/regular/500\">{t.notesToggle}</Text></FieldLabel></Field></FieldGroup>\n </FieldSet>\n <FieldSet><FieldGroup><Field><FieldLabel htmlFor={`${id}-notes`}>{t.notes}</FieldLabel><Textarea id={`${id}-notes`} name=\"notes\" placeholder={t.notesPlaceholder} className={styles.comments} value={draft.notes} onChange={event => update(\"notes\", event.target.value)} /></Field></FieldGroup></FieldSet>\n <Field orientation=\"horizontal\" className={styles.actions}><Button type=\"submit\">{t.submit}</Button><Button type=\"reset\" variant=\"secondary\">{t.cancel}</Button></Field>\n {result && <Text as=\"p\" token=\"desktop/body/regular/500\" role=\"status\" className={styles.status}>{t[result]}</Text>}\n </FieldGroup>\n </form>;\n if (!localized) return form;\n return <DirectionProvider direction={t.dir}><div className={`${styles.form} ${styles.stack}`} dir={t.dir} lang={language}>\n <Select aria-label=\"Language\" value={language} onValueChange={value => { if (value === \"ar\" || value === \"he\" || value === \"en\") setLanguage(value); }} options={[{ value: \"ar\", label: \"Arabic (العربية)\" }, { value: \"he\", label: \"Hebrew (עברית)\" }, { value: \"en\", label: \"English\" }]} />\n {form}\n </div></DirectionProvider>;\n}\n\n\nexport default function FieldDefaultExample() {\n return <MeetingForm />;\n}\n"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "examples.module.css",
|
|
134
|
+
"language": "css",
|
|
135
|
+
"source": "/* Example composition: Foundation geometry, surfaces and typography. */\n.root { inline-size: 100%; max-inline-size: calc(var(--vini-base-sizing-600) * 8); min-inline-size: 0; }\n.form { inline-size: 100%; max-inline-size: calc(var(--vini-base-sizing-1000) * 8); min-inline-size: 0; }\n.address { inline-size: 100%; max-inline-size: calc(var(--vini-base-sizing-800) * 8); min-inline-size: 0; }\n.responsive { inline-size: 100%; max-inline-size: calc(var(--vini-base-sizing-600) * 13); min-inline-size: 0; }\n.stack { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; inline-size: 100%; }\n.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.expiry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.control { display: flex; align-items: center; min-block-size: 1lh; flex: 0 0 auto; }\n.switch[data-slot=\"field\"] { inline-size: fit-content; grid-template-columns: minmax(0, 1fr) auto; gap: var(--vini-base-spacing-400); align-items: center; }\n.switch [data-slot=\"field-label\"] { cursor: pointer; }\n.actions[data-slot=\"field\"] { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-300); }\n.comments { resize: none; }\n.slider { margin-block-start: var(--vini-base-spacing-200); }\n.status { margin: 0; color: var(--vini-theme-main-foreground-secondary); overflow-wrap: anywhere; }\n"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "example.html",
|
|
139
|
+
"language": "html",
|
|
140
|
+
"source": "<!doctype html>\n<html lang=\"en\"><head><meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><title>Field theme example</title></head><body><div id=\"root\"></div><script type=\"module\" src=\"./theme-field-entry.tsx\"></script></body></html>\n"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "theme-field-entry.tsx",
|
|
144
|
+
"language": "tsx",
|
|
145
|
+
"source": "import { useEffect, useRef } from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { ThemeBrandProvider } from '@vini-ds/ui';\nimport '@vini-ds/tokens/fonts.css';\nimport '@vini-ds/tokens/themes.css';\nimport '@vini-ds/tokens/typography.css';\nimport '@vini-ds/ui/styles.css';\nimport FieldDefaultExample from './Example';\nimport { BRAND_CHOICES, THEME_LABEL, type BrandChoice, type ThemeChoice } from './theme-model';\nimport './theme-field-entry.css';\n\nconst params = new URLSearchParams(location.search);\nconst requestedTheme = params.get('theme');\nconst requestedBrand = params.get('brand');\nconst theme: ThemeChoice = requestedTheme && Object.hasOwn(THEME_LABEL, requestedTheme) ? requestedTheme as ThemeChoice : 'light';\nconst brand: BrandChoice = BRAND_CHOICES.includes(requestedBrand as BrandChoice) ? requestedBrand as BrandChoice : 'orange';\nfunction FieldPreview() {\n const canvas = useRef<HTMLDivElement>(null);\n useEffect(() => {\n const target = canvas.current;\n if (!target) return;\n const report = () => { const height = Math.ceil(target.getBoundingClientRect().height); if (height > 0) window.parent.postMessage({ type: 'atlas-example-size', kind: 'component', id: 'field', height }, location.origin); };\n const observer = new ResizeObserver(report);\n observer.observe(target);\n report();\n return () => observer.disconnect();\n }, []);\n return <ThemeBrandProvider theme={theme} brand=\"vini\" colorway={brand}><div ref={canvas} className=\"theme-field-canvas\"><FieldDefaultExample /></div></ThemeBrandProvider>;\n}\nconst root = document.getElementById('root');\nif (!root) throw new Error('Field example root is missing');\ncreateRoot(root).render(<FieldPreview />);\n"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "theme-field-entry.css",
|
|
149
|
+
"language": "css",
|
|
150
|
+
"source": "html, body { margin: 0; }\n.theme-field-canvas { padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-space); color: var(--vini-theme-main-foreground-primary); }\n"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "SHADCN-LICENSE.txt",
|
|
154
|
+
"language": "text",
|
|
155
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"limitations": [
|
|
159
|
+
"This is the Atlas documentation host demonstration, not a reusable VINi package export or proof of product acceptance.",
|
|
160
|
+
"The host provides the current theme, brand and onThemeChange callback; choosing a theme affects only what the host updates. Load the matching VINi fonts, themes, typography and UI styles, and use ThemeBrandProvider in the host.",
|
|
161
|
+
"The original iframe targets a same-origin example.html relative to the host page. Serve the supplied example.html and its built theme-field-entry.tsx at that exact relative location with the same origin. The entry is an explicit portable adaptation using the actual Field default source, not the full Atlas preview server.",
|
|
162
|
+
"Each iframe has its own demo-only form state; it performs no product persistence. Alpha themes require an opaque main/space background. Examples, assets, names and API must match the installed release.",
|
|
163
|
+
"The heading anchors, text and foundation.css are Atlas documentation host material and may require host styling and routing. The Field source and CSS are taken from the same component projection as Atlas.",
|
|
164
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
165
|
+
],
|
|
166
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/themes, ThemeComparison and ThemeFieldExample, with the public Field default example."
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "atlas-foundations-overview",
|
|
170
|
+
"title": "Foundation overview — semantic role specimens",
|
|
171
|
+
"description": "Public Atlas Foundation overview with interactive semantic color roles and navigation to the visual foundations.",
|
|
172
|
+
"componentIds": [
|
|
173
|
+
"heading",
|
|
174
|
+
"text"
|
|
175
|
+
],
|
|
176
|
+
"patternIds": [],
|
|
177
|
+
"files": [
|
|
178
|
+
{
|
|
179
|
+
"name": "FoundationOverview.tsx",
|
|
180
|
+
"language": "tsx",
|
|
181
|
+
"source": "import type { ReactNode } from 'react';\nimport { Heading, Text } from '@vini-ds/ui';\nimport type { NativeTokenValue } from '@vini-ds/tokens/native';\nimport { allAssets, collectionStats, colorToCss, effectEntries, isColor, semanticGroups, typographyClassByTokenName, typographyEntries, variableEntries } from './tokenModel';\nimport type { SharedViewProps } from './WorkspaceViews';\nimport { PageHeading } from './Ui';\nimport './foundation.css';\n\nfunction colorValue(value: NativeTokenValue | undefined) { return isColor(value) ? colorToCss(value) : undefined; }\n\nfunction Section({ id, title, children }: { id: string; title: string; children: ReactNode }) {\n return <section id={id} data-atlas-section={title} tabIndex={-1} className=\"next-foundation-section\">\n <Heading level={2} token=\"desktop/headline/regular/1000\">{title}</Heading>{children}\n </section>;\n}\n\nexport function FoundationOverview({ resolved, inspect }: SharedViewProps) {\n const paths = [\n { id: \"colors\", title: \"Цвета\", text: \"Выберите семантическую роль поверхности, текста или состояния. Сравните её в четырёх темах.\", sample: \"Aa\", token: \"theme/acc/surface\" },\n { id: \"typography\", title: \"Типографика\", text: \"Найдите полный Desktop-стиль для текста и заголовков. Смотрите метрики и доступные режимы отдельно.\", sample: \"Текст\", token: \"theme/main/base\" },\n { id: \"dimensions\", title: \"Размеры\", text: \"Согласуйте отступы, размеры, скругления и границы по существующим линейкам Foundation.\", sample: \"↔\", token: \"theme/main/surface\" },\n { id: \"effects\", title: \"Эффекты\", text: \"Выберите существующий Elevation и проверьте CSS-проекцию и исходные слои.\", sample: \"Elevation\", token: \"theme/main/base\" }\n ];\n return <>\n <PageHeading eyebrow=\"Основы VINi\" title=\"Визуальные значения для вашего интерфейса\" description=\"Готовые компоненты уже используют Foundation. Здесь можно выбрать значение для собственной композиции, понять его назначение и получить код применения.\" />\n <a className=\"next-foundation-link\" href=\"#foundations/how-it-works\"><Text token=\"desktop/subheader/medium/600\">Как устроена VINi</Text><Text as=\"p\">От токена до интерфейса: понятные примеры, подключение, типографика и иконки.</Text></a>\n <Section id=\"choose\" title=\"Выберите, что настроить\">\n <div className=\"next-foundation-grid next-foundation-paired-grid\">\n {paths.map(path => <a className=\"next-foundation-link\" href={`#foundations/${path.id}`} key={path.id}>\n <span className={`next-foundation-sample next-foundation-sample-${path.id} ${typographyClassByTokenName[path.id === \"typography\" ? \"desktop/headline/regular/1000\" : \"desktop/display/regular/1300\"]}`} style={{ background: colorValue(resolved[path.token]) }} aria-hidden=\"true\">{path.sample}</span>\n <Heading level={3} token=\"desktop/subheader/medium/700\">{path.title}</Heading>\n <Text as=\"p\" token=\"desktop/body/regular/500\">{path.text}</Text>\n <Text token=\"desktop/caption/medium/400\">Исследовать →</Text>\n </a>)}\n </div>\n </Section>\n <Section id=\"apply\" title=\"От образца к применению\">\n <Text as=\"p\">Нажмите образец: подробности покажут имя, текущее значение, цепочку алиасов и доступные CSS, React и JSON. Смена бренда или темы обновит значение выбранного токена.</Text>\n <div className=\"next-foundation-role-grid\">\n {semanticGroups.filter(group => group.id !== \"tooltip\").map(group => {\n const background = group.entries.find(([name]) => name.endsWith(\"/surface\"))?.[0] ?? group.entries[0]?.[0];\n const foreground = group.entries.find(([name]) => name.endsWith(\"/foreground-primary\"))?.[0] ?? group.entries.find(([name]) => name.endsWith(\"/foreground-on-fill\"))?.[0];\n if (!background) return null;\n return <button type=\"button\" key={group.id} className=\"next-foundation-role\" data-atlas-local-surface=\"foundation-specimen\" aria-describedby=\"foundation-specimen-note\" onClick={() => inspect({ kind: \"variable\", name: background })}\n style={{ background: isColor(resolved[background]) ? colorToCss(resolved[background]) : undefined, color: foreground && isColor(resolved[foreground]) ? colorToCss(resolved[foreground]) : undefined }}>\n <strong className={typographyClassByTokenName[\"desktop/subheader/medium/600\"]}>{group.label}</strong>\n <span className={typographyClassByTokenName[\"desktop/caption/regular/400\"]}>{group.description}</span>\n <code>{background}</code>\n </button>;\n })}\n </div>\n </Section>\n <Section id=\"tools\" title=\"Инструменты и оформление\">\n <div className=\"next-foundation-tools\">\n <a href=\"#theming\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Темы и бренды</Text><Text as=\"p\">Три бренда, четыре темы и подключение провайдера.</Text></a>\n <a href=\"#typeset\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Typeset</Text><Text as=\"p\">Настройте существующие виды документов и возьмите код.</Text></a>\n <a href=\"#foundations/catalog\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Токены</Text><Text as=\"p\">Поиск по {allAssets.length.toLocaleString(\"ru-RU\")} токенам и стилям.</Text></a>\n <a href=\"#foundations/delivery\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">API и алиасы</Text><Text as=\"p\">Явные режимы resolver и совместимые CSS-имена.</Text></a>\n <a href=\"#foundations/button-tokens\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Токены Button</Text><Text as=\"p\">Размеры и состояния действующей кнопки.</Text></a>\n <a href=\"#foundations/adaptation\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Компоновка и адаптация</Text><Text as=\"p\">Ширина, размеры компонентов и перестройка экрана.</Text></a>\n <a href=\"#foundations/icons\"><Text className=\"next-foundation-tool-title\" token=\"desktop/subheader/medium/600\">Иконки</Text><Text as=\"p\">Выбор символа, размер, цвет и примеры использования.</Text></a>\n </div>\n <Text as=\"p\" token=\"desktop/caption/regular/400\">Текущий локальный источник: {variableEntries.length.toLocaleString(\"ru-RU\")} runtime-токенов, {typographyEntries.length} TextStyles, {effectEntries.length} EffectStyles в {collectionStats.length} коллекциях. Этот состав не является приёмкой релиза или Figma-публикации.</Text>\n </Section>\n </>;\n}\n"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "WorkspaceViews.ts",
|
|
185
|
+
"language": "typescript",
|
|
186
|
+
"source": "import type { NativeTokenValue } from '@vini-ds/tokens/native';\nimport type { AssetSelection, ThemeChoice, BrandChoice, FontMode, TypographyMode } from './tokenModel';\n\nexport type SharedViewProps = {\n theme: ThemeChoice;\n brand: BrandChoice;\n fontMode: FontMode;\n typographyMode: TypographyMode;\n resolved: Readonly<Record<string, NativeTokenValue>>;\n inspect: (asset: AssetSelection) => void;\n copy: (text: string, key: string) => void;\n copied: string | null;\n};\n"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "tokenModel.ts",
|
|
190
|
+
"language": "typescript",
|
|
191
|
+
"source": "import {\n effectStyleDefinitions,\n effectTokenByName,\n generateRuntimeBrandVars,\n typographyClassByTokenName as generatedTypographyClassByTokenName,\n typographyTokenNames,\n typographyTokenNamesByCategory\n} from \"@vini-ds/tokens\";\n\nimport {\n nativeTokenManifest,\n resolveNativeTokens,\n type NativeColor,\n type NativeTokenDeclaration,\n type NativeTokenDefinition,\n type NativeTokenModeSelection,\n type NativeTokenValue\n} from \"@vini-ds/tokens/native\";\n\nimport compatibilityAliases from \"./compatibility-aliases.json\";\n\nexport type ThemeChoice = \"light\" | \"dark\" | \"dark-alpha\" | \"light-alpha\";\n\nexport const BRAND_CHOICES = [\"blue\", \"orange\", \"neutral\"] as const;\n\nexport type BrandChoice = typeof BRAND_CHOICES[number];\n\nexport const BRAND_LABEL: Record<BrandChoice, string> = {\n blue: \"Blue\",\n orange: \"Orange\",\n neutral: \"Neutral\"\n};\n\nexport type FontMode = \"Granate\" | \"Roboto\" | \"Segoe\" | \"SF\";\n\nexport type TypographyMode = \"Desktop\" | \"Mobile\";\n\nexport type AssetSelection =\n | { kind: \"variable\"; name: string }\n | { kind: \"typography\"; name: string }\n | { kind: \"effect\"; name: string };\n\nexport type CollectionMeta = {\n title: string;\n short: string;\n layer: \"foundation\" | \"semantic\" | \"component\";\n description: string;\n icon: string;\n order: number;\n};\n\nexport const COLLECTION_META: Record<string, CollectionMeta> = {\n base: {\n title: \"Base\",\n short: \"Base\",\n layer: \"foundation\",\n description: \"Spacing, sizing, radius, border, font и motion primitives\",\n icon: \"straighten\",\n order: 1\n },\n coreColor: {\n title: \"Core color\",\n short: \"Core\",\n layer: \"foundation\",\n description: \"Light, Dark, Dark Alpha и Light Alpha color scales\",\n icon: \"palette\",\n order: 2\n },\n brand: {\n title: \"Brand\",\n short: \"Brand\",\n layer: \"foundation\",\n description: \"Blue / Orange / Neutral aliases\",\n icon: \"brand_awareness\",\n order: 3\n },\n typography: {\n title: \"Typography variables\",\n short: \"Type vars\",\n layer: \"foundation\",\n description: \"Size, line-height и paragraph spacing\",\n icon: \"text_fields\",\n order: 4\n },\n fontTheme: {\n title: \"Font theme\",\n short: \"Fonts\",\n layer: \"foundation\",\n description: \"Default и mono family modes\",\n icon: \"font_download\",\n order: 5\n },\n theme: {\n title: \"Semantic theme\",\n short: \"Semantic\",\n layer: \"semantic\",\n description: \"Main, accent и status roles\",\n icon: \"category\",\n order: 6\n },\n dimensions: {\n title: \"Semantic dimensions\", short: \"Dimensions\", layer: \"semantic\",\n description: \"Размерные роли Accordion · Base\", icon: \"straighten\", order: 7\n },\n component: {\n title: \"Component\",\n short: \"Component\",\n layer: \"component\",\n description: \"Button и Accordion: параметры компонентов\",\n icon: \"widgets\",\n order: 7\n }\n};\n\nexport const THEME_MODE: Record<ThemeChoice, string> = {\n light: \"Light\",\n dark: \"Dark\",\n \"dark-alpha\": \"Dark Alpha\",\n \"light-alpha\": \"Light Alpha\"\n};\n\nexport const variableEntries = Object.entries(nativeTokenManifest.tokens);\n\nexport const effectEntries = Object.entries(effectStyleDefinitions);\n\nexport const typographyEntries = [...typographyTokenNames];\n\nexport const typographyClassByTokenName: Readonly<Record<string, string>> =\n generatedTypographyClassByTokenName;\n\nexport { compatibilityAliases, effectStyleDefinitions, typographyTokenNamesByCategory };\n\nexport const collectionStats = Object.entries(nativeTokenManifest.collections)\n .map(([collection, definition]) => {\n const entries = variableEntries.filter(([, token]) => token.collection === collection);\n const types = entries.reduce<Record<string, number>>((result, [, token]) => {\n result[token.resolvedType] = (result[token.resolvedType] ?? 0) + 1;\n return result;\n }, {});\n return {\n collection,\n count: entries.length,\n modes: definition.modes,\n explicit: definition.requiresExplicitMode,\n types,\n ...COLLECTION_META[collection]\n };\n })\n .sort((a, b) => a.order - b.order);\n\nexport const allAssets = [\n ...variableEntries.map(([name, token]) => ({\n kind: \"variable\" as const,\n name,\n collection: token.collection,\n type: token.resolvedType\n })),\n ...typographyEntries.map((name) => ({\n kind: \"typography\" as const,\n name,\n collection: \"TextStyles\",\n type: \"TEXT_STYLE\"\n })),\n ...effectEntries.map(([name]) => ({\n kind: \"effect\" as const,\n name,\n collection: \"Effects\",\n type: \"EFFECT\"\n }))\n];\n\nconst SEMANTIC_DOMAIN_META: Record<\n string,\n { label: string; description: string; icon: string; order: number }\n> = {\n main: {\n label: \"Main\",\n description: \"Базовые поверхности, контент, границы и состояния\",\n icon: \"layers\",\n order: 1\n },\n acc: {\n label: \"Accent\",\n description: \"Акцентные действия, выбор и интерактивные состояния\",\n icon: \"bolt\",\n order: 2\n },\n notification: {\n label: \"Notification\",\n description: \"Информационные сообщения, события и уведомления\",\n icon: \"notifications\",\n order: 3\n },\n success: {\n label: \"Success\",\n description: \"Успешные операции и подтверждённые состояния\",\n icon: \"check_circle\",\n order: 4\n },\n warning: {\n label: \"Warning\",\n description: \"Предупреждения и состояния, требующие внимания\",\n icon: \"warning\",\n order: 5\n },\n error: {\n label: \"Error\",\n description: \"Ошибки, опасные действия и критические состояния\",\n icon: \"error\",\n order: 6\n }\n};\n\nconst SEMANTIC_ROLE_ORDER = [\n \"base\",\n \"space\",\n \"surface\",\n \"surface-hover\",\n \"surface-active\",\n \"fill\",\n \"fill-hover\",\n \"fill-active\",\n \"fill-selected\",\n \"foreground-primary\",\n \"foreground-secondary\",\n \"foreground-on-fill\",\n \"foreground-disable\",\n \"foreground-ghost\",\n \"icon\",\n \"icon-hover\",\n \"icon-pressed\",\n \"border\",\n \"border-strong\",\n \"focus\"\n];\n\nexport function semanticDomainFor(tokenName: string) {\n return tokenName.split(\"/\")[1] ?? \"other\";\n}\n\nexport function semanticRoleFor(tokenName: string) {\n return tokenName.split(\"/\").slice(2).join(\"/\");\n}\n\nexport const semanticTokenEntries = variableEntries\n .filter(([, token]) => token.collection === \"theme\" && token.resolvedType === \"COLOR\")\n .sort(([nameA], [nameB]) => {\n const domainA = semanticDomainFor(nameA);\n const domainB = semanticDomainFor(nameB);\n const domainOrderA = SEMANTIC_DOMAIN_META[domainA]?.order ?? Number.MAX_SAFE_INTEGER;\n const domainOrderB = SEMANTIC_DOMAIN_META[domainB]?.order ?? Number.MAX_SAFE_INTEGER;\n if (domainOrderA !== domainOrderB) return domainOrderA - domainOrderB;\n\n const roleA = semanticRoleFor(nameA);\n const roleB = semanticRoleFor(nameB);\n const roleOrderA = SEMANTIC_ROLE_ORDER.indexOf(roleA);\n const roleOrderB = SEMANTIC_ROLE_ORDER.indexOf(roleB);\n const normalizedRoleOrderA = roleOrderA === -1 ? Number.MAX_SAFE_INTEGER : roleOrderA;\n const normalizedRoleOrderB = roleOrderB === -1 ? Number.MAX_SAFE_INTEGER : roleOrderB;\n return normalizedRoleOrderA === normalizedRoleOrderB\n ? roleA.localeCompare(roleB)\n : normalizedRoleOrderA - normalizedRoleOrderB;\n });\n\nexport const semanticGroups = [...new Set(semanticTokenEntries.map(([name]) => semanticDomainFor(name)))]\n .map((id) => ({\n id,\n ...(SEMANTIC_DOMAIN_META[id] ?? {\n label: id,\n description: \"Semantic roles\",\n icon: \"category\",\n order: Number.MAX_SAFE_INTEGER\n }),\n entries: semanticTokenEntries.filter(([name]) => semanticDomainFor(name) === id)\n }))\n .sort((a, b) => a.order - b.order || a.id.localeCompare(b.id));\n\nexport function selections(\n theme: ThemeChoice,\n brand: BrandChoice,\n fontTheme: FontMode,\n typography: TypographyMode = \"Desktop\",\n overrides: Partial<NativeTokenModeSelection> = {}\n): NativeTokenModeSelection {\n return {\n base: \"base\",\n brand: BRAND_LABEL[brand],\n component: \"base\",\n coreColor: \"Mode 1\",\n fontTheme,\n theme: THEME_MODE[theme],\n typography,\n ...overrides\n };\n}\n\nexport function resolveAll(\n theme: ThemeChoice,\n brand: BrandChoice,\n fontTheme: FontMode,\n typography: TypographyMode = \"Desktop\",\n overrides: Partial<NativeTokenModeSelection> = {}\n) {\n return resolveNativeTokens(selections(theme, brand, fontTheme, typography, overrides));\n}\n\nexport function isColor(value: NativeTokenValue | undefined): value is NativeColor {\n return typeof value === \"object\" && value !== null && \"r\" in value;\n}\n\nexport function colorToCss(color: NativeColor) {\n return `rgba(${Math.round(color.r * 255)}, ${Math.round(color.g * 255)}, ${Math.round(\n color.b * 255\n )}, ${Math.round(color.a * 100) / 100})`;\n}\n"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "compatibility-aliases.json",
|
|
195
|
+
"language": "json",
|
|
196
|
+
"source": "[\n {\n \"from\": \"--vini-corecolor-white-white\",\n \"to\": \"--vini-base-absolute-white-base\"\n },\n {\n \"from\": \"--vini-elevation-100\",\n \"to\": \"--vini-elevation-light-100\"\n },\n {\n \"from\": \"--vini-elevation-150\",\n \"to\": \"--vini-elevation-light-150\"\n },\n {\n \"from\": \"--vini-elevation-200\",\n \"to\": \"--vini-elevation-light-200\"\n },\n {\n \"from\": \"--vini-elevation-250\",\n \"to\": \"--vini-elevation-light-250\"\n },\n {\n \"from\": \"--vini-elevation-300\",\n \"to\": \"--vini-elevation-light-300\"\n },\n {\n \"from\": \"--vini-layout-border-radius-100\",\n \"to\": \"--vini-base-border-radius-100\"\n },\n {\n \"from\": \"--vini-layout-border-radius-400\",\n \"to\": \"--vini-base-border-radius-400\"\n },\n {\n \"from\": \"--vini-layout-border-radius-full\",\n \"to\": \"--vini-base-border-radius-full\"\n },\n {\n \"from\": \"--vini-layout-border-width-0\",\n \"to\": \"--vini-base-border-width-none\"\n },\n {\n \"from\": \"--vini-layout-border-width-100\",\n \"to\": \"--vini-base-border-width-500\"\n },\n {\n \"from\": \"--vini-layout-border-width-200\",\n \"to\": \"--vini-base-border-width-600\"\n },\n {\n \"from\": \"--vini-layout-border-width-300\",\n \"to\": \"--vini-base-border-width-700\"\n },\n {\n \"from\": \"--vini-layout-sizing-200\",\n \"to\": \"--vini-base-sizing-200\"\n },\n {\n \"from\": \"--vini-layout-sizing-300\",\n \"to\": \"--vini-base-sizing-300\"\n },\n {\n \"from\": \"--vini-layout-sizing-500\",\n \"to\": \"--vini-base-sizing-500\"\n },\n {\n \"from\": \"--vini-layout-sizing-600\",\n \"to\": \"--vini-base-sizing-600\"\n },\n {\n \"from\": \"--vini-layout-sizing-700\",\n \"to\": \"--vini-base-sizing-700\"\n },\n {\n \"from\": \"--vini-layout-spacing-100\",\n \"to\": \"--vini-base-spacing-100\"\n },\n {\n \"from\": \"--vini-layout-spacing-200\",\n \"to\": \"--vini-base-spacing-200\"\n },\n {\n \"from\": \"--vini-layout-spacing-300\",\n \"to\": \"--vini-base-spacing-300\"\n },\n {\n \"from\": \"--vini-layout-spacing-400\",\n \"to\": \"--vini-base-spacing-400\"\n },\n {\n \"from\": \"--vini-layout-spacing-50\",\n \"to\": \"--vini-base-spacing-px\"\n },\n {\n \"from\": \"--vini-layout-spacing-500\",\n \"to\": \"--vini-base-spacing-500\"\n },\n {\n \"from\": \"--vini-themes-acc-border\",\n \"to\": \"--vini-theme-acc-border\"\n },\n {\n \"from\": \"--vini-themes-acc-border-strong\",\n \"to\": \"--vini-theme-acc-border-strong\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-active\",\n \"to\": \"--vini-theme-acc-fill-active\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-checked\",\n \"to\": \"--vini-theme-acc-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-hover\",\n \"to\": \"--vini-theme-acc-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-normal\",\n \"to\": \"--vini-theme-acc-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-btn-text\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-disable\",\n \"to\": \"--vini-theme-acc-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-acc-fill\",\n \"to\": \"--vini-theme-acc-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-active\",\n \"to\": \"--vini-theme-acc-fill-active\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-hover\",\n \"to\": \"--vini-theme-acc-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-fill-selected\",\n \"to\": \"--vini-theme-acc-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-acc-focus\",\n \"to\": \"--vini-theme-acc-focus\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-on-fill\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-primary\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-foreground-secondary\",\n \"to\": \"--vini-theme-acc-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-acc-icon\",\n \"to\": \"--vini-theme-acc-icon\"\n },\n {\n \"from\": \"--vini-themes-acc-icon-hover\",\n \"to\": \"--vini-theme-acc-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-icon-pressed\",\n \"to\": \"--vini-theme-acc-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-acc-on-surface\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-primary\",\n \"to\": \"--vini-theme-acc-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-acc-primary-inverse\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-secondary\",\n \"to\": \"--vini-theme-acc-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-acc-secondary-inverse\",\n \"to\": \"--vini-theme-acc-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-acc-space\",\n \"to\": \"--vini-theme-acc-space\"\n },\n {\n \"from\": \"--vini-themes-acc-surface\",\n \"to\": \"--vini-theme-acc-surface\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-active\",\n \"to\": \"--vini-theme-acc-surface-active\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-hover\",\n \"to\": \"--vini-theme-acc-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-acc-surface-normal\",\n \"to\": \"--vini-theme-acc-surface\"\n },\n {\n \"from\": \"--vini-themes-error-border\",\n \"to\": \"--vini-theme-error-border\"\n },\n {\n \"from\": \"--vini-themes-error-border-strong\",\n \"to\": \"--vini-theme-error-border-strong\"\n },\n {\n \"from\": \"--vini-themes-error-btn-active\",\n \"to\": \"--vini-theme-error-fill-active\"\n },\n {\n \"from\": \"--vini-themes-error-btn-checked\",\n \"to\": \"--vini-theme-error-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-error-btn-hover\",\n \"to\": \"--vini-theme-error-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-error-btn-normal\",\n \"to\": \"--vini-theme-error-fill\"\n },\n {\n \"from\": \"--vini-themes-error-btn-text\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-disable\",\n \"to\": \"--vini-theme-error-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-error-fill\",\n \"to\": \"--vini-theme-error-fill\"\n },\n {\n \"from\": \"--vini-themes-error-fill-active\",\n \"to\": \"--vini-theme-error-fill-active\"\n },\n {\n \"from\": \"--vini-themes-error-fill-hover\",\n \"to\": \"--vini-theme-error-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-error-fill-selected\",\n \"to\": \"--vini-theme-error-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-error-focus\",\n \"to\": \"--vini-theme-error-focus\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-on-fill\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-primary\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-foreground-secondary\",\n \"to\": \"--vini-theme-error-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-error-icon\",\n \"to\": \"--vini-theme-error-icon\"\n },\n {\n \"from\": \"--vini-themes-error-icon-hover\",\n \"to\": \"--vini-theme-error-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-error-icon-pressed\",\n \"to\": \"--vini-theme-error-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-error-on-surface\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-primary\",\n \"to\": \"--vini-theme-error-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-error-primary-inverse\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-secondary\",\n \"to\": \"--vini-theme-error-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-error-secondary-inverse\",\n \"to\": \"--vini-theme-error-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-error-surface\",\n \"to\": \"--vini-theme-error-surface\"\n },\n {\n \"from\": \"--vini-themes-error-surface-active\",\n \"to\": \"--vini-theme-error-surface-active\"\n },\n {\n \"from\": \"--vini-themes-error-surface-hover\",\n \"to\": \"--vini-theme-error-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-error-surface-normal\",\n \"to\": \"--vini-theme-error-surface\"\n },\n {\n \"from\": \"--vini-themes-main-border\",\n \"to\": \"--vini-theme-main-border\"\n },\n {\n \"from\": \"--vini-themes-main-border-strong\",\n \"to\": \"--vini-theme-main-border-strong\"\n },\n {\n \"from\": \"--vini-themes-main-btn-active\",\n \"to\": \"--vini-theme-main-fill-active\"\n },\n {\n \"from\": \"--vini-themes-main-btn-checked\",\n \"to\": \"--vini-theme-main-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-main-btn-disable\",\n \"to\": \"--vini-theme-main-surface-active\"\n },\n {\n \"from\": \"--vini-themes-main-btn-hover\",\n \"to\": \"--vini-theme-main-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-main-btn-normal\",\n \"to\": \"--vini-theme-main-fill\"\n },\n {\n \"from\": \"--vini-themes-main-btn-text\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-disable\",\n \"to\": \"--vini-theme-main-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-main-fill\",\n \"to\": \"--vini-theme-main-fill\"\n },\n {\n \"from\": \"--vini-themes-main-fill-active\",\n \"to\": \"--vini-theme-main-fill-active\"\n },\n {\n \"from\": \"--vini-themes-main-fill-hover\",\n \"to\": \"--vini-theme-main-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-main-fill-selected\",\n \"to\": \"--vini-theme-main-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-main-focus\",\n \"to\": \"--vini-theme-main-focus\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-on-fill\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-primary\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-foreground-secondary\",\n \"to\": \"--vini-theme-main-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-main-ghost\",\n \"to\": \"--vini-theme-main-foreground-ghost\"\n },\n {\n \"from\": \"--vini-themes-main-icon\",\n \"to\": \"--vini-theme-main-icon\"\n },\n {\n \"from\": \"--vini-themes-main-icon-hover\",\n \"to\": \"--vini-theme-main-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-main-icon-pressed\",\n \"to\": \"--vini-theme-main-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-main-on-surface\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-primary\",\n \"to\": \"--vini-theme-main-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-main-primary-inverse\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-secondary\",\n \"to\": \"--vini-theme-main-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-main-secondary-inverse\",\n \"to\": \"--vini-theme-main-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-main-space\",\n \"to\": \"--vini-theme-main-space\"\n },\n {\n \"from\": \"--vini-themes-main-surface\",\n \"to\": \"--vini-theme-main-surface\"\n },\n {\n \"from\": \"--vini-themes-main-surface-active\",\n \"to\": \"--vini-theme-main-surface-active\"\n },\n {\n \"from\": \"--vini-themes-main-surface-hover\",\n \"to\": \"--vini-theme-main-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-main-surface-normal\",\n \"to\": \"--vini-theme-main-surface\"\n },\n {\n \"from\": \"--vini-themes-notification-border\",\n \"to\": \"--vini-theme-notification-border\"\n },\n {\n \"from\": \"--vini-themes-notification-border-strong\",\n \"to\": \"--vini-theme-notification-border-strong\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-active\",\n \"to\": \"--vini-theme-notification-fill-active\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-checked\",\n \"to\": \"--vini-theme-notification-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-hover\",\n \"to\": \"--vini-theme-notification-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-normal\",\n \"to\": \"--vini-theme-notification-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-btn-text\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-disable\",\n \"to\": \"--vini-theme-notification-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-notification-fill\",\n \"to\": \"--vini-theme-notification-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-active\",\n \"to\": \"--vini-theme-notification-fill-active\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-hover\",\n \"to\": \"--vini-theme-notification-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-fill-selected\",\n \"to\": \"--vini-theme-notification-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-notification-focus\",\n \"to\": \"--vini-theme-notification-focus\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-on-fill\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-primary\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-foreground-secondary\",\n \"to\": \"--vini-theme-notification-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-notification-icon\",\n \"to\": \"--vini-theme-notification-icon\"\n },\n {\n \"from\": \"--vini-themes-notification-icon-hover\",\n \"to\": \"--vini-theme-notification-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-icon-pressed\",\n \"to\": \"--vini-theme-notification-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-notification-on-surface\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-primary\",\n \"to\": \"--vini-theme-notification-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-notification-primary-inverse\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-secondary\",\n \"to\": \"--vini-theme-notification-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-notification-secondary-inverse\",\n \"to\": \"--vini-theme-notification-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-notification-surface\",\n \"to\": \"--vini-theme-notification-surface\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-active\",\n \"to\": \"--vini-theme-notification-surface-active\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-hover\",\n \"to\": \"--vini-theme-notification-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-notification-surface-normal\",\n \"to\": \"--vini-theme-notification-surface\"\n },\n {\n \"from\": \"--vini-themes-success-border\",\n \"to\": \"--vini-theme-success-border\"\n },\n {\n \"from\": \"--vini-themes-success-border-strong\",\n \"to\": \"--vini-theme-success-border-strong\"\n },\n {\n \"from\": \"--vini-themes-success-btn-active\",\n \"to\": \"--vini-theme-success-fill-active\"\n },\n {\n \"from\": \"--vini-themes-success-btn-checked\",\n \"to\": \"--vini-theme-success-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-success-btn-hover\",\n \"to\": \"--vini-theme-success-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-success-btn-normal\",\n \"to\": \"--vini-theme-success-fill\"\n },\n {\n \"from\": \"--vini-themes-success-btn-text\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-disable\",\n \"to\": \"--vini-theme-success-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-success-fill\",\n \"to\": \"--vini-theme-success-fill\"\n },\n {\n \"from\": \"--vini-themes-success-fill-active\",\n \"to\": \"--vini-theme-success-fill-active\"\n },\n {\n \"from\": \"--vini-themes-success-fill-hover\",\n \"to\": \"--vini-theme-success-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-success-fill-selected\",\n \"to\": \"--vini-theme-success-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-success-focus\",\n \"to\": \"--vini-theme-success-focus\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-on-fill\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-primary\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-foreground-secondary\",\n \"to\": \"--vini-theme-success-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-success-icon\",\n \"to\": \"--vini-theme-success-icon\"\n },\n {\n \"from\": \"--vini-themes-success-icon-hover\",\n \"to\": \"--vini-theme-success-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-success-icon-pressed\",\n \"to\": \"--vini-theme-success-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-success-on-surface\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-primary\",\n \"to\": \"--vini-theme-success-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-success-primary-inverse\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-secondary\",\n \"to\": \"--vini-theme-success-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-success-secondary-inverse\",\n \"to\": \"--vini-theme-success-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-success-surface\",\n \"to\": \"--vini-theme-success-surface\"\n },\n {\n \"from\": \"--vini-themes-success-surface-active\",\n \"to\": \"--vini-theme-success-surface-active\"\n },\n {\n \"from\": \"--vini-themes-success-surface-hover\",\n \"to\": \"--vini-theme-success-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-success-surface-normal\",\n \"to\": \"--vini-theme-success-surface\"\n },\n {\n \"from\": \"--vini-themes-warning-border\",\n \"to\": \"--vini-theme-warning-border\"\n },\n {\n \"from\": \"--vini-themes-warning-border-strong\",\n \"to\": \"--vini-theme-warning-border-strong\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-active\",\n \"to\": \"--vini-theme-warning-fill-active\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-checked\",\n \"to\": \"--vini-theme-warning-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-hover\",\n \"to\": \"--vini-theme-warning-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-normal\",\n \"to\": \"--vini-theme-warning-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-btn-text\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-disable\",\n \"to\": \"--vini-theme-warning-foreground-disable\"\n },\n {\n \"from\": \"--vini-themes-warning-fill\",\n \"to\": \"--vini-theme-warning-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-active\",\n \"to\": \"--vini-theme-warning-fill-active\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-hover\",\n \"to\": \"--vini-theme-warning-fill-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-fill-selected\",\n \"to\": \"--vini-theme-warning-fill-selected\"\n },\n {\n \"from\": \"--vini-themes-warning-focus\",\n \"to\": \"--vini-theme-warning-focus\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-on-fill\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-primary\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-foreground-secondary\",\n \"to\": \"--vini-theme-warning-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-warning-icon\",\n \"to\": \"--vini-theme-warning-icon\"\n },\n {\n \"from\": \"--vini-themes-warning-icon-hover\",\n \"to\": \"--vini-theme-warning-icon-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-icon-pressed\",\n \"to\": \"--vini-theme-warning-icon-pressed\"\n },\n {\n \"from\": \"--vini-themes-warning-on-surface\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-primary\",\n \"to\": \"--vini-theme-warning-foreground-primary\"\n },\n {\n \"from\": \"--vini-themes-warning-primary-inverse\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-secondary\",\n \"to\": \"--vini-theme-warning-foreground-secondary\"\n },\n {\n \"from\": \"--vini-themes-warning-secondary-inverse\",\n \"to\": \"--vini-theme-warning-foreground-on-fill\"\n },\n {\n \"from\": \"--vini-themes-warning-surface\",\n \"to\": \"--vini-theme-warning-surface\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-active\",\n \"to\": \"--vini-theme-warning-surface-active\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-hover\",\n \"to\": \"--vini-theme-warning-surface-hover\"\n },\n {\n \"from\": \"--vini-themes-warning-surface-normal\",\n \"to\": \"--vini-theme-warning-surface\"\n }\n]\n"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "Ui.tsx",
|
|
200
|
+
"language": "tsx",
|
|
201
|
+
"source": "import { useState, type ReactNode } from 'react';\nimport { Button, Heading, Text, Typeset, TypesetScroll } from '@vini-ds/ui';\nimport { typographyClassByTokenName } from '@vini-ds/tokens';\n\nexport function PageHeading({eyebrow,title,description,children}:{eyebrow?:string;title:string;description?:string;children?:ReactNode}) {\n return <header className=\"next-page-heading\">\n {eyebrow && <Text as=\"p\" token=\"desktop/overline/regular/400\">{eyebrow}</Text>}\n <Heading level={1} token=\"desktop/display/regular/1300\" id=\"page-title\" tabIndex={-1}>{title}</Heading>\n {description && <Text as=\"p\" token=\"desktop/body/regular/600\">{description}</Text>}\n {children && <div className=\"next-actions\">{children}</div>}\n </header>;\n}\n\nexport function downloadText(text:string,fileName:string) {\n const url=URL.createObjectURL(new Blob([text],{type:'text/plain;charset=utf-8'}));\n const link=document.createElement('a'); link.href=url; link.download=fileName;\n document.body.append(link); link.click(); link.remove();\n setTimeout(()=>URL.revokeObjectURL(url),1000);\n}\n\nexport function CopyBlock({text,fileName,title}:{text:string;fileName?:string;title?:string}) {\n const [status,setStatus]=useState({text:'',message:''});\n return <div className=\"next-copy-block\">\n <div className=\"next-copy-toolbar\">\n {title && <Text token=\"desktop/subheader/medium/500\">{title}</Text>}\n <div className=\"next-actions\">\n <Button variant=\"secondary\" size=\"500\" startIcon=\"content_copy\" disabled={!text} onClick={async()=>{\n try { await navigator.clipboard.writeText(text); setStatus({text,message:'Скопировано'}); }\n catch { setStatus({text,message:'Браузер не разрешил копирование. Выделите текст ниже и скопируйте вручную.'}); }\n }}>Копировать</Button>\n {fileName && <Button variant=\"pseudo\" size=\"500\" startIcon=\"download\" disabled={!text} onClick={()=>{\n try { downloadText(text,fileName); setStatus({text,message:`Подготовлен файл ${fileName}`}); } catch {setStatus({text,message:'Не удалось подготовить файл. Выделите текст ниже.'});}\n }}>Скачать</Button>}\n </div>\n </div>\n <Text as=\"p\" role=\"status\" token=\"desktop/caption/regular/400\">{status.text===text?status.message:''}</Text>\n <pre tabIndex={0} aria-label={title ?? 'Текст для копирования'} className={`next-code ${typographyClassByTokenName['desktop/controlmono/regular/500']}`}><code>{text}</code></pre>\n </div>;\n}\n\nexport function markdownSlug(text:string) {return text.toLowerCase().replace(/[`*_]/g,'').replace(/[^\\p{L}\\p{N}\\s-]/gu,'').trim().replace(/\\s+/g,'-');}\n\nfunction inline(text:string):ReactNode[] {\n const pieces=text.split(/(`[^`]+`|\\[[^\\]]+\\]\\([^\\s)]+\\)|\\*\\*[^*]+\\*\\*)/g);\n return pieces.map((part,i)=>{\n if(part.startsWith('`')&&part.endsWith('`')) return <code key={i}>{part.slice(1,-1)}</code>;\n if(part.startsWith('**')&&part.endsWith('**')) return <strong key={i}>{part.slice(2,-2)}</strong>;\n const link=part.match(/^\\[([^\\]]+)\\]\\(([^)]+)\\)$/);\n if(link) {\n const safe=/^(https?:|#|\\/|\\.\\.?\\/|[\\w-])/.test(link[2])&&!/^(javascript|data):/i.test(link[2]);\n return safe?<a key={i} href={link[2]}>{link[1]}</a>:link[1];\n }\n return part;\n });\n}\n\n// A small safe renderer for repository prose. It never evaluates HTML or code.\nexport function Markdown({text,idPrefix}:{text:string;idPrefix?:string}) {\n const lines=text.replace(/\\r/g,'').split('\\n'); const blocks:ReactNode[]=[];\n for(let i=0;i<lines.length;) {\n const line=lines[i];\n if(!line.trim()){i++;continue;}\n if(line.startsWith('```')){const code:string[]=[]; i++; while(i<lines.length&&!lines[i].startsWith('```'))code.push(lines[i++]);i++;blocks.push(<pre key={i} tabIndex={0}><code>{code.join('\\n')}</code></pre>);continue;}\n const heading=line.match(/^(#{1,6})\\s+(.+)/);\n if(heading){const Tag=`h${Math.min(heading[1].length+1,6)}` as 'h2'; blocks.push(<Tag key={i} id={`${idPrefix?`${idPrefix}-`:''}${markdownSlug(heading[2])}`} tabIndex={-1} data-atlas-outline-ignore={idPrefix?'true':undefined} data-atlas-section={idPrefix?undefined:heading[2]}>{inline(heading[2])}</Tag>);i++;continue;}\n if(line.includes('|')&&lines[i+1]?.match(/^\\s*\\|?\\s*:?-{3}/)){\n const row=(v:string)=>v.trim().replace(/^\\||\\|$/g,'').split('|').map(x=>x.trim());\n const headers=row(line);i+=2;const rows:string[][]=[];while(i<lines.length&&lines[i].includes('|'))rows.push(row(lines[i++]));\n blocks.push(<TypesetScroll key={i} tabIndex={0} role=\"region\" aria-label={headers.join(', ')}><table><thead><tr>{headers.map((x,j)=><th key={j}>{inline(x)}</th>)}</tr></thead><tbody>{rows.map((r,j)=><tr key={j}>{r.map((x,k)=><td key={k}>{inline(x)}</td>)}</tr>)}</tbody></table></TypesetScroll>);continue;\n }\n if(/^\\s*[-*]\\s+/.test(line)||/^\\s*\\d+[.)]\\s+/.test(line)){\n const ordered=/^\\s*\\d/.test(line);const items:string[]=[];\n while(i<lines.length&&/^\\s*(?:[-*]|\\d+[.)])\\s+/.test(lines[i])){\n const marker=lines[i].match(/^(\\s*)(?:[-*]|\\d+[.)])\\s+(.+)$/);\n if(!marker) break;\n const indent=marker[1].length;\n const item=[marker[2]];\n i++;\n // Markdown wraps prose under a list marker with two or three spaces.\n // Keep those lines in the same semantic item instead of emitting paragraphs outside the list.\n while(i<lines.length&&new RegExp(`^ {${indent+2},${indent+3}}\\\\S`).test(lines[i])\n && !/^\\s*(?:[-*]|\\d+[.)])\\s+/.test(lines[i]) && !/^\\s*```/.test(lines[i])){\n item.push(lines[i++].trim());\n }\n items.push(item.join(' '));\n }\n const List=ordered?'ol':'ul'; blocks.push(<List key={i}>{items.map((x,j)=><li key={j}>{inline(x)}</li>)}</List>);continue;\n }\n if(/^>/.test(line)){blocks.push(<blockquote key={i}>{inline(line.replace(/^>\\s*/,''))}</blockquote>);i++;continue;}\n const paragraph=[line];i++;while(i<lines.length&&lines[i].trim()&&!/^(#|```|\\||>|[-*]\\s)/.test(lines[i]))paragraph.push(lines[i++]);\n blocks.push(<p key={i}>{inline(paragraph.join('\\n'))}</p>);\n }\n return <Typeset as=\"div\" textSize=\"lg\" className=\"next-markdown\">{blocks}</Typeset>;\n}\n"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "foundation.css",
|
|
205
|
+
"language": "css",
|
|
206
|
+
"source": ".next-foundation-page { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content { display: grid; gap: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-content > * { min-inline-size: 0; }\n.next-foundation-content > header { padding-block-start: 0; }\n.next-foundation-content > section { margin-block-start: 0; }\n.next-foundation-content [data-testid=\"typeset-playground\"] article { padding-inline: var(--vini-base-spacing-500); }\n.next-foundation-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--vini-base-spacing-400); }\n.next-foundation-section { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 3); }\n.next-foundation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-700); }\n.next-foundation-link { display: grid; gap: var(--vini-base-spacing-400); color: var(--vini-theme-main-foreground-primary); text-decoration: none; min-inline-size: 0; }\n.next-foundation-link p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-link:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.next-foundation-sample { display: grid; place-items: center; min-block-size: calc(var(--vini-base-sizing-700) * 3); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-sample-colors { color: var(--vini-theme-acc-foreground-primary); }\n.next-foundation-sample-effects { margin: 0; box-shadow: var(--vini-elevation-light-200); }\n.next-foundation-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-role { display: grid; gap: var(--vini-base-spacing-300); text-align: start; padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); cursor: pointer; min-inline-size: 0; }\n.next-foundation-role code { overflow-wrap: anywhere; }\n.next-foundation-role:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 6)), 1fr)); gap: var(--vini-base-spacing-500); }\n.next-foundation-tools a { display: grid; gap: var(--vini-base-spacing-200); padding-block: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); text-decoration: none; }\n.next-foundation-tool-title { text-decoration: underline; text-underline-offset: var(--vini-base-spacing-100); }\n.next-foundation-tools p { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vini-base-sizing-700) * 5)), 1fr)); gap: var(--vini-base-spacing-400); }\n.next-foundation-theme { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-500); background: var(--vini-theme-main-space); color: var(--vini-theme-main-foreground-primary); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-foundation-theme-surface { display: grid; gap: var(--vini-base-spacing-400); padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-base); }\n.next-foundation-theme-example { display: block; inline-size: 100%; min-inline-size: 0; min-block-size: calc(var(--vini-base-sizing-1000) * 10); border: 0; }\n.next-foundation-intro { display: grid; gap: var(--vini-base-spacing-300); }\n.next-foundation-inspector { display: grid; gap: var(--vini-base-spacing-500); padding-inline: var(--vini-base-spacing-500); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; }\n.next-foundation-inspector h3 { overflow-wrap: anywhere; }\n.next-foundation-inspector-preview { display: grid; justify-items: start; gap: var(--vini-base-spacing-400); padding-block: var(--vini-base-spacing-400); overflow-wrap: anywhere; }\n.next-foundation-inspector-color { display: block; inline-size: 100%; block-size: calc(var(--vini-base-sizing-700) * 2); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.next-foundation-shadow { padding: var(--vini-base-spacing-700); background: var(--vini-theme-main-base); }\n.next-foundation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-300); margin: 0; }\n.next-foundation-facts > div { display: grid; gap: var(--vini-base-spacing-200); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: var(--vini-base-spacing-300); }\n.next-foundation-facts dt { color: var(--vini-theme-main-foreground-secondary); }\n.next-foundation-facts dd, .next-foundation-declarations dd { margin: 0; overflow-wrap: anywhere; }\n.next-foundation-inspector-section { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.next-foundation-chain { display: grid; gap: var(--vini-base-spacing-400); padding-inline-start: var(--vini-base-spacing-600); margin: 0; }\n.next-foundation-chain li { min-inline-size: 0; overflow-wrap: anywhere; }\n.next-foundation-chain li > span, .next-foundation-chain li > code { display: block; }\n.next-foundation-declarations { display: grid; gap: var(--vini-base-spacing-400); margin: 0; }\n.next-foundation-declarations > div { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-300); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.next-foundation-dependent-list { display: grid; gap: var(--vini-base-spacing-200); padding-block-start: var(--vini-base-spacing-400); }\n.next-foundation-copy-failure { display: grid; gap: var(--vini-base-spacing-300); padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-error-border); }\n.next-token-catalog { display: grid; gap: var(--vini-base-spacing-500); min-inline-size: 0; }\n.next-token-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); align-items: end; }\n.next-token-filters > div { display: grid; gap: var(--vini-base-spacing-200); min-inline-size: 0; }\n.next-token-value { display: inline-flex; align-items: center; gap: var(--vini-base-spacing-300); white-space: nowrap; }\n.next-token-value i { display: inline-block; inline-size: var(--vini-base-sizing-100); block-size: var(--vini-base-sizing-100); flex: none; border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-100); }\n.next-token-pagination { display: flex; align-items: center; justify-content: flex-end; gap: var(--vini-base-spacing-400); flex-wrap: wrap; }\n@media(max-width: 720px) { .next-token-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .next-token-search { grid-column: 1 / -1; } }\n\n/* Four Foundation entry points form two paired rows rather than an orphaned fourth tile. */\n.next-foundation-paired-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.next-foundation-section > p { max-inline-size: calc(var(--vini-base-sizing-600) * 14); }\nhtml:is([data-theme=\"dark\"],[data-theme=\"dark-alpha\"]) .next-foundation-sample-effects {\n box-shadow: var(--vini-elevation-dark-200);\n}\n@media(max-width:560px) {\n .next-foundation-paired-grid { grid-template-columns: minmax(0,1fr); }\n .next-foundation-theme { padding: var(--vini-base-spacing-300); }\n .next-foundation-theme-surface { padding: var(--vini-base-spacing-300); }\n}\n"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "atlas-host.css",
|
|
210
|
+
"language": "css",
|
|
211
|
+
"source": "/* Existing Registry comparison adapters require utilities. VINi masters retain public CSS. */\n*{box-sizing:border-box}html{background:var(--vini-theme-main-space);color:var(--vini-theme-main-foreground-primary);--atlas-header-height:calc(var(--vini-base-sizing-700) + var(--vini-base-spacing-500))}body{margin:0;min-inline-size:0;font-family:var(--vini-base-font-family-roboto),sans-serif}html[data-theme=light],html[data-theme=light-alpha]{color-scheme:light}html[data-theme=dark],html[data-theme=dark-alpha]{color-scheme:dark}a{color:inherit}a:focus-visible,summary:focus-visible{outline:var(--vini-base-border-width-600) solid var(--vini-theme-acc-focus);outline-offset:var(--vini-base-spacing-100)}[id]{scroll-margin-block-start:calc(var(--atlas-header-height) + var(--vini-base-spacing-500))}\n.next-topbar{position:sticky;inset-block-start:0;z-index:10;background:var(--vini-theme-main-space);border-block-end:var(--vini-base-border-width-500) solid var(--vini-theme-main-border)}.next-topbar-inner{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;min-block-size:var(--atlas-header-height);padding:var(--vini-base-spacing-400) var(--vini-base-spacing-700);display:flex;align-items:center;gap:var(--vini-base-spacing-700)}.next-logo{text-decoration:none;white-space:nowrap}.next-logo span{color:var(--vini-theme-main-foreground-secondary)}.next-top-nav{display:flex;gap:var(--vini-base-spacing-600);flex:1}.next-top-nav a{text-decoration:none;white-space:nowrap;padding-block:var(--vini-base-spacing-200)}.next-top-nav a[aria-current=page],.next-local-nav a[aria-current=page],.next-nav-primary a[aria-current=page]{color:var(--vini-theme-main-foreground-primary)}.next-top-actions,.next-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--vini-base-spacing-300)}.next-top-actions{flex-wrap:nowrap;margin-inline-start:auto}.next-menu-trigger{display:none}.next-shortcut{color:var(--vini-theme-main-foreground-secondary);margin-inline-start:var(--vini-base-spacing-300)}\n.next-dev-profile { white-space: nowrap; color: var(--vini-theme-main-foreground-secondary); background: var(--vini-theme-main-surface); border-radius: var(--vini-base-border-radius-200); padding: var(--vini-base-spacing-100) var(--vini-base-spacing-300); }\n.next-layout{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;display:grid;grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr) calc(var(--vini-base-sizing-600)*4);gap:var(--vini-base-spacing-800);padding:var(--vini-base-spacing-800) var(--vini-base-spacing-700)}.next-layout-wide{grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr)}.next-layout-home{display:block;max-inline-size:calc(var(--vini-base-sizing-1000)*23)}.next-main{min-inline-size:0;outline:none}.next-main>*+*{margin-block-start:var(--vini-base-spacing-700)}.next-sidebar,.next-toc{align-self:start;position:sticky;inset-block-start:calc(var(--atlas-header-height) + var(--vini-base-spacing-700));max-block-size:calc(100vh - var(--atlas-header-height) - var(--vini-base-spacing-900));overflow:auto;scrollbar-width:thin}.next-nav-primary{display:none}.next-local-nav,.next-toc nav{display:flex;flex-direction:column;gap:var(--vini-base-spacing-100);margin-block-start:var(--vini-base-spacing-400)}.next-local-nav a,.next-toc a{padding:var(--vini-base-spacing-200) var(--vini-base-spacing-300);text-decoration:none;border-radius:var(--vini-base-border-radius-400);font:inherit;overflow-wrap:anywhere}.next-local-nav a:hover,.next-toc a:hover,.next-local-nav [aria-current=page]{background:var(--vini-theme-main-surface)}.next-page-heading{display:grid;gap:var(--vini-base-spacing-400);margin-block-end:var(--vini-base-spacing-700)}.next-page-heading p,.next-page-heading h1{margin:0}.next-page-heading>p:last-of-type{color:var(--vini-theme-main-foreground-secondary)}\n.next-hero{max-inline-size:calc(var(--vini-base-sizing-1000)*18);padding-block:var(--vini-base-spacing-900) var(--vini-base-spacing-700);display:grid;gap:var(--vini-base-spacing-500)}.next-hero p,.next-hero h1{margin:0}.next-hero>p:last-of-type{max-inline-size:calc(var(--vini-base-sizing-1000)*13);color:var(--vini-theme-main-foreground-secondary)}.next-hero .next-actions{margin-block-start:var(--vini-base-spacing-300)}.next-section{margin-block-start:var(--vini-base-spacing-1100)}.next-section-heading{display:flex;gap:var(--vini-base-spacing-400);align-items:center;justify-content:space-between}.next-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,calc(var(--vini-base-sizing-600)*6)),1fr));gap:var(--vini-base-spacing-500)}.next-card-link{text-decoration:none;min-inline-size:0}.next-card-link>div{block-size:100%;overflow:hidden}.next-sample{position:relative;display:flex;align-items:center;justify-content:center;background:var(--vini-theme-main-space);block-size:calc(var(--vini-base-sizing-600)*4);overflow:hidden}.next-sample img{inline-size:100%;block-size:100%;object-fit:contain}.next-sample-caption{position:absolute;inset-inline-end:var(--vini-base-spacing-300);inset-block-end:var(--vini-base-spacing-200);color:var(--vini-theme-main-foreground-secondary);background:var(--vini-theme-main-space);padding:var(--vini-base-spacing-100);}.next-direction-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(var(--vini-base-sizing-600)*6)),1fr));gap:var(--vini-base-spacing-700)}.next-direction{padding-block:var(--vini-base-spacing-500);text-decoration:none;border-block-start:var(--vini-base-border-width-500) solid var(--vini-theme-main-border)}.next-direction p{color:var(--vini-theme-main-foreground-secondary)}.next-text-link{color:var(--vini-theme-main-foreground-primary)}.next-catalog-controls{display:grid;gap:var(--vini-base-spacing-400)}.next-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(var(--vini-base-sizing-600)*5)),1fr));gap:var(--vini-base-spacing-400);padding-block:var(--vini-base-spacing-400)}.next-result-count{display:flex;justify-content:space-between;gap:var(--vini-base-spacing-400);flex-wrap:wrap;align-items:center;margin-block:var(--vini-base-spacing-500)}.next-empty{padding:var(--vini-base-spacing-800);background:var(--vini-theme-main-base);display:grid;gap:var(--vini-base-spacing-500)}\n.next-copy-block{min-inline-size:0}.next-copy-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--vini-base-spacing-300)}.next-code{padding:var(--vini-base-spacing-500);background:var(--vini-theme-main-base);border:var(--vini-base-border-width-500) solid var(--vini-theme-main-border);border-radius:var(--vini-base-border-radius-400);overflow:auto;max-block-size:calc(var(--vini-base-sizing-600)*12);font-family:var(--vini-base-font-family-roboto-mono),monospace;}.next-markdown{min-inline-size:0;overflow-wrap:anywhere}.next-markdown pre{max-block-size:calc(var(--vini-base-sizing-600)*12)}.next-preferences{display:grid;gap:var(--vini-base-spacing-700);padding:var(--vini-base-spacing-700)}.next-search-result p{margin:0}.next-result-type{color:var(--vini-theme-main-foreground-secondary)}.next-search-empty{padding:var(--vini-base-spacing-600)}.next-footer{max-inline-size:calc(var(--vini-base-sizing-1000)*28);margin-inline:auto;padding:var(--vini-base-spacing-700);border-block-start:var(--vini-base-border-width-500) solid var(--vini-theme-main-border);display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--vini-base-spacing-500)}.next-skip{position:fixed;inset-block-start:var(--vini-base-spacing-400);inset-inline-start:var(--vini-base-spacing-400);z-index:1001;background:var(--vini-theme-main-base);padding:var(--vini-base-spacing-400);transform:translateY(-200%)}.next-skip:focus{transform:none}\n@media(max-width:1100px){.next-layout{grid-template-columns:calc(var(--vini-base-sizing-600)*5 + var(--vini-base-spacing-400)) minmax(0,1fr);gap:var(--vini-base-spacing-600)}.next-toc{position:static;grid-column:2;max-block-size:none}.next-top-nav{gap:var(--vini-base-spacing-400)}.next-topbar-inner{gap:var(--vini-base-spacing-500)}.next-shortcut{display:none}}\n@media(max-width:800px){.next-top-nav,.next-sidebar{display:none}.next-menu-trigger{display:inline-flex}.next-layout{display:block;padding:var(--vini-base-spacing-600) var(--vini-base-spacing-500)}.next-topbar-inner{padding:var(--vini-base-spacing-300) var(--vini-base-spacing-500)}.next-topbar{--atlas-header-height:calc(var(--vini-base-sizing-700) + var(--vini-base-spacing-500))}.next-nav-primary{display:grid;gap:var(--vini-base-spacing-500);padding:var(--vini-base-spacing-500)}.next-local-nav{padding:var(--vini-base-spacing-500)}.next-hero{padding-block:var(--vini-base-spacing-600) var(--vini-base-spacing-800)}.next-toc{margin-block-start:var(--vini-base-spacing-700)}.next-footer{padding:var(--vini-base-spacing-500)}.next-section-heading{flex-wrap:wrap}.next-search-label{display:none}}\n.next-top-actions .next-menu-trigger{display:none}.next-compact-toc{display:none}.next-compact-toc nav{display:grid;gap:var(--vini-base-spacing-300);padding-block:var(--vini-base-spacing-500)}\n.next-sidebar-provider { --sidebar-width: 100%; min-block-size: 0; }\n@media(max-width:1100px){.next-toc{display:none}.next-compact-toc{display:block}}\n@media(max-width:800px){.next-top-actions .next-menu-trigger{display:inline-flex}}\n\n/* Atlas-owned navigation, reading measure and media geometry. No control state overrides. */\n.next-top-nav a { position: relative; }\n.next-storybook-link { display: inline-flex; align-items: center; text-decoration: none; }\n.next-storybook-mobile { padding: var(--vini-base-spacing-500); }\n@media(max-width:1100px) {\n .next-topbar-with-storybook .next-top-nav { display: none; }\n .next-topbar-with-storybook .next-top-actions .next-menu-trigger { display: inline-flex; }\n .next-storybook-menu .next-nav-primary { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-500); }\n .next-storybook-menu .next-local-nav { padding: var(--vini-base-spacing-500); }\n}\n.next-top-nav a[aria-current=page]::after { content: \"\"; position: absolute; inset-inline: 0; inset-block-end: calc(var(--vini-base-spacing-none) - var(--vini-base-spacing-500)); block-size: var(--vini-base-border-width-600); background: var(--vini-theme-main-foreground-primary); }\n.next-local-nav a[aria-current=page] { border-inline-start: var(--vini-base-border-width-600) solid var(--vini-theme-main-foreground-primary); }\n.next-local-nav a:not([aria-current=page]) { border-inline-start: var(--vini-base-border-width-600) solid transparent; }\n.next-page-heading > p:last-of-type { max-inline-size: calc(var(--vini-base-sizing-600)*14); }\n.next-section-heading { margin-block-end: var(--vini-base-spacing-600); }\n.next-section > h2 { margin-block-end: var(--vini-base-spacing-600); }\n.home-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }\n@media(max-width:1100px) { .home-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }\n@media(max-width:560px) { .home-grid { grid-template-columns: minmax(0,1fr); } }\n.next-markdown > :is(p,ul,ol,blockquote) { max-inline-size: calc(var(--vini-base-sizing-600)*14); }\n.next-direction { display: grid; align-content: start; gap: var(--vini-base-spacing-300); }\n.next-direction p { margin: 0; }\n.next-direction:hover { border-block-start-color: var(--vini-theme-main-border-strong); }\n@media(max-width:800px) { .next-top-nav a[aria-current=page]::after { display: none; } }\n.next-documentation-scope { min-inline-size: 0; }\n.next-documentation-scope p { margin: 0; }\n/* A single About page has no redundant section navigation; keep its page outline. */\n.next-layout-about { max-inline-size: calc(var(--vini-base-sizing-1000)*23); grid-template-columns: minmax(0,1fr) calc(var(--vini-base-sizing-600)*4); }\n@media(max-width:1100px) { .next-layout-about { grid-template-columns: minmax(0,1fr); } }\n"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "SHADCN-LICENSE.txt",
|
|
215
|
+
"language": "text",
|
|
216
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"limitations": [
|
|
220
|
+
"This is a public Atlas host-level demonstration, not a standalone product screen or proof of a verified installed API.",
|
|
221
|
+
"The host supplies resolved tokens and an inspect callback as described by SharedViewProps, plus accessible inspector presentation and navigation. Links retain Atlas hash routes.",
|
|
222
|
+
"Import compatible VINi tokens fonts.css, themes.css, typography.css and UI styles.css, supply a ThemeBrandProvider and accessible font files; the host should import atlas-host.css. Alpha themes require an appropriate opaque background.",
|
|
223
|
+
"The FoundationOverview, Section and colorValue functions are extracted unchanged from the selected Atlas source; only the export and portable imports are added. The token model is a dependency-selected projection of the same source.",
|
|
224
|
+
"The Atlas-host inspector and URL state are not included; use the separate Inspector example and connect it in your host. The selected Atlas version can differ from installed packages.",
|
|
225
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
226
|
+
],
|
|
227
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/overview, semantic role specimens; source is extracted from the selected public Atlas page and token model."
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "atlas-illustration-token-name",
|
|
231
|
+
"title": "Как устроен токен theme/acc/fill",
|
|
232
|
+
"description": "Static educational figure from the public Atlas guide explaining the parts of a token name.",
|
|
233
|
+
"componentIds": [
|
|
234
|
+
"text"
|
|
235
|
+
],
|
|
236
|
+
"patternIds": [],
|
|
237
|
+
"files": [
|
|
238
|
+
{
|
|
239
|
+
"name": "TokenNameIllustration.tsx",
|
|
240
|
+
"language": "tsx",
|
|
241
|
+
"source": "import { Text } from '@vini-ds/ui';\nimport { typographyClassByTokenName } from '@vini-ds/tokens';\nimport './system-guide.css';\nconst mono = typographyClassByTokenName['desktop/controlmono/regular/500'];\nexport function TokenNameIllustration() { return <figure className=\"vini-guide-token-diagram\"><Text as=\"p\" token=\"desktop/subheader/medium/600\">«Выделить главное действие»</Text><div className=\"vini-guide-token-parts\"><div><code>theme</code><span>оформление</span></div><span aria-hidden=\"true\">/</span><div><code>acc</code><span>акцент</span></div><span aria-hidden=\"true\">/</span><div><code>fill</code><span>заливка</span></div></div><div className=\"vini-guide-token-result\"><span aria-hidden=\"true\"/><code className={mono}>theme/acc/fill</code></div><figcaption>Имя сохраняется. Цвет определяется темой и брендом.</figcaption></figure>; }\n"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "system-guide.css",
|
|
245
|
+
"language": "css",
|
|
246
|
+
"source": "/* A linear, static story owned by Atlas. VINi primitives keep their public styling. */\n.vini-guide { display: grid; gap: calc(var(--vini-base-spacing-800) * 2); min-inline-size: 0; container-type: inline-size; }\n.vini-guide :where(p, figure) { margin: 0; }\n.vini-guide :where(p, figcaption) { text-wrap: pretty; }\n.vini-guide :where(code) { overflow-wrap: anywhere; }\n.vini-guide a { text-underline-offset: var(--vini-base-spacing-100); }\n.vini-guide :where(a, [tabindex]):focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.vini-guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: var(--vini-base-spacing-700); padding-block: var(--vini-base-spacing-700); }\n.vini-guide-hero-copy, .vini-guide-prose, .vini-guide-stack { display: grid; gap: var(--vini-base-spacing-500); align-content: start; min-inline-size: 0; }\n.vini-guide-hero-copy > h1 { text-wrap: balance; }\n.vini-guide-art { min-inline-size: 0; }\n.vini-guide-art svg { display: block; inline-size: 100%; block-size: auto; }\n.vini-guide-art figcaption { max-inline-size: 42ch; margin-inline: auto; text-align: center; color: var(--vini-theme-main-foreground-secondary); }\n.vg-panel { fill: var(--vini-theme-main-base); }\n.vg-soft { fill: var(--vini-theme-acc-surface); }\n.vg-stroke { stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-500); }\n.vg-ink { fill: var(--vini-theme-main-foreground-primary); }\n.vg-muted, .vg-quiet { fill: var(--vini-theme-main-foreground-secondary); }\n.vg-accent { fill: var(--vini-theme-acc-fill); }\n.vg-on { fill: var(--vini-theme-acc-foreground-on-fill); }\n.vg-rule, .vg-wire, .vg-on-line { fill: none; stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-600); stroke-linecap: round; }\n.vg-wire { stroke: var(--vini-theme-acc-icon); }\n.vg-on-line { stroke: var(--vini-theme-acc-foreground-on-fill); }\n.vini-guide-chapter { display: grid; gap: var(--vini-base-spacing-700); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 2); }\n.vini-guide-chapter + .vini-guide-chapter { border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: calc(var(--vini-base-spacing-700) * 2); }\n.vini-guide-chapter-title { display: grid; gap: var(--vini-base-spacing-300); max-inline-size: 100%; }\n.vini-guide-step { color: var(--vini-theme-acc-foreground-primary); }\n.vini-guide-pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--vini-base-spacing-800); align-items: start; }\n.vini-guide-pair-live { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }\n.vini-guide-pair > *, .vini-guide-format > * { min-inline-size: 0; }\n.vini-guide-lead { max-inline-size: 65ch; }\n.vini-guide-note { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: var(--vini-base-spacing-700); padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-base); border-inline-start: var(--vini-base-border-width-700) solid var(--vini-theme-acc-border); }\n.vini-guide-note > div { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.vini-guide-anatomy { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-anatomy-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--vini-base-spacing-400); }\n.vini-guide-anatomy-row > div:last-child { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide :where(figcaption) { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-anatomy figcaption { padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-diagram { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-token-parts { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: var(--vini-base-spacing-300); }\n.vini-guide-token-parts > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-token-parts span { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-token-result { display: flex; gap: var(--vini-base-spacing-400); align-items: center; padding-block-start: var(--vini-base-spacing-500); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-result > span { flex: none; inline-size: var(--vini-base-sizing-700); block-size: var(--vini-base-sizing-700); border-radius: var(--vini-base-border-radius-200); background: var(--vini-theme-acc-fill); }\n.vini-guide-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-800); }\n.vini-guide-values > div { display: grid; gap: var(--vini-base-spacing-300); align-content: start; }\n.vini-guide-spacing { display: flex; gap: var(--vini-base-spacing-500); align-items: center; block-size: var(--vini-base-sizing-1000); }\n.vini-guide-spacing i { display: block; inline-size: var(--vini-base-sizing-600); block-size: var(--vini-base-sizing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); background: var(--vini-theme-acc-surface); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces { display: block; padding: var(--vini-base-spacing-300); inline-size: calc(var(--vini-base-sizing-1000) * 2.5); block-size: var(--vini-base-sizing-1000); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces i { display: block; inline-size: 100%; block-size: 100%; background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border-block: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-type-specimen code { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-code { min-inline-size: 0; }\n.vini-guide-contract { display: grid; gap: var(--vini-base-spacing-500); max-inline-size: 80ch; }\n.vini-guide-icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-icons > div { display: grid; justify-items: start; align-content: start; gap: var(--vini-base-spacing-400); }\n.vini-guide-icons figcaption { grid-column: 1 / -1; }\n.vini-guide-live { display: grid; gap: var(--vini-base-spacing-400); }\n.vini-guide-live-settings { display: grid; gap: var(--vini-base-spacing-300); }\n.vini-guide-live-settings > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-200); }\n.vini-guide-live-settings > div > span { min-inline-size: var(--vini-base-sizing-1000); }\n.vini-guide-live-space { padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); }\n.vini-guide-meeting { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-600); color: var(--vini-theme-main-foreground-primary); background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.vini-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-400) var(--vini-base-spacing-600); }\n.vini-guide-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vini-base-spacing-700); }\n.vini-guide-team > div { display: grid; gap: var(--vini-base-spacing-400); align-content: start; padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-600) solid var(--vini-theme-acc-border); }\n.vini-guide-format { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--vini-base-spacing-700); padding-block-start: var(--vini-base-spacing-500); }\n.vini-guide-format > div:first-child { display: grid; gap: var(--vini-base-spacing-400); align-content: start; }\n.vini-guide-ending { display: grid; gap: var(--vini-base-spacing-600); padding-block: var(--vini-base-spacing-800); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-ending > p { max-inline-size: 60ch; }\n@container (max-width: 700px) {\n .vini-guide-hero, .vini-guide-pair, .vini-guide-note, .vini-guide-format { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-hero { gap: var(--vini-base-spacing-500); }\n .vini-guide-art { max-inline-size: calc(var(--vini-base-sizing-1000) * 9); justify-self: center; }\n .vini-guide-pair, .vini-guide-format { gap: var(--vini-base-spacing-600); }\n .vini-guide-team { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-note { gap: var(--vini-base-spacing-400); }\n}\n@container (max-width: 420px) {\n .vini-guide-values { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-live-space, .vini-guide-meeting { padding: var(--vini-base-spacing-400); }\n .vini-guide-icons { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-token-diagram, .vini-guide-type-specimen { padding: var(--vini-base-spacing-500); }\n}\n"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "SHADCN-LICENSE.txt",
|
|
250
|
+
"language": "text",
|
|
251
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"limitations": [
|
|
255
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
256
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
257
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
258
|
+
"The source is an extracted figure and does not include the entire guide page or token inspector.",
|
|
259
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
260
|
+
],
|
|
261
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/how-it-works, token-name figure extracted from SystemGuidePage.tsx."
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "atlas-illustration-layout-key",
|
|
265
|
+
"title": "Схемы компоновки Container, Stack, Inline и Grid",
|
|
266
|
+
"description": "Four static educational diagrams in the Atlas layout guide, with original links to its examples.",
|
|
267
|
+
"componentIds": [],
|
|
268
|
+
"patternIds": [],
|
|
269
|
+
"files": [
|
|
270
|
+
{
|
|
271
|
+
"name": "LayoutKeyIllustration.tsx",
|
|
272
|
+
"language": "tsx",
|
|
273
|
+
"source": "import './adaptation.css';\nconst items = [\n { name: 'Container', description: 'Ограничивает ширину содержимого и задаёт боковые отступы.', section: 'layout-container', shape: 'container', demoExport: 'ContainerStackDemo', hasOriginal: true },\n { name: 'Stack', description: 'Размещает элементы друг под другом с общим интервалом.', section: 'layout-stack', shape: 'stack', demoExport: 'StackDemo', hasOriginal: false },\n { name: 'Inline', description: 'Собирает элементы в строку и переносит их при нехватке места.', section: 'layout-inline', shape: 'inline', demoExport: 'InlineDemo', hasOriginal: true },\n { name: 'Grid', description: 'Распределяет элементы по адаптивным колонкам.', section: 'layout-grid', shape: 'grid', demoExport: 'GridDemo', hasOriginal: true },\n] as const;\n\nfunction Diagram({ kind }: { kind: string }) { return <div className={`next-layout-key-diagram is-${kind}`} aria-hidden=\"true\"><span /><span /><span /></div>; }\n\nexport function LayoutKeyIllustration() { return <div className=\"next-layout-key\">{items.map(item => <a className=\"next-layout-key-item\" key={item.name} href={`#foundations/adaptation?section=${item.section}`}><Diagram kind={item.shape} /><div><strong>{item.name}</strong><span>{item.description}</span></div><span className=\"next-layout-key-link\">Посмотреть пример <span aria-hidden=\"true\">↗</span></span></a>)}</div>; }\n"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "adaptation.css",
|
|
277
|
+
"language": "css",
|
|
278
|
+
"source": ".next-layout-page { display: grid; gap: var(--vini-base-spacing-800); min-inline-size: 0; }\n.next-layout-page .next-page-heading { margin: 0; }\n.next-layout-section > p { max-inline-size: calc(var(--vini-base-sizing-700) * 17); }\n.next-layout-section code { overflow-wrap: anywhere; }\n.next-layout-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.next-layout-key-item { display: grid; grid-template-columns: calc(var(--vini-base-sizing-700) * 2) minmax(0, 1fr); align-items: center; gap: var(--vini-base-spacing-400); padding: var(--vini-base-spacing-400); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); color: var(--vini-theme-main-foreground-primary); text-decoration: none; min-inline-size: 0; }\n.next-layout-key-item:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.next-layout-key-item > div:not(.next-layout-key-diagram) { display: grid; gap: var(--vini-base-spacing-100); }\n.next-layout-key-item strong { color: var(--vini-theme-acc-foreground-primary); }\n.next-layout-key-item span, .next-layout-example-heading p { color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-key-link { grid-column: 2; font-size: inherit; text-decoration: underline; text-underline-offset: var(--vini-base-spacing-100); }\n.next-layout-key-diagram { display: grid; gap: var(--vini-base-spacing-100); align-content: center; min-block-size: calc(var(--vini-base-sizing-700) * 1.5); padding: var(--vini-base-spacing-300); background: var(--vini-theme-main-space); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-key-diagram span { display: block; min-block-size: var(--vini-base-sizing-100); border-radius: var(--vini-base-border-radius-200); background: var(--vini-theme-acc-fill); }\n.next-layout-key-diagram.is-container { border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); }\n.next-layout-key-diagram.is-container span:nth-child(n+2) { display: none; }\n.next-layout-key-diagram.is-inline { grid-template-columns: repeat(3, 1fr); }\n.next-layout-key-diagram.is-grid { grid-template-columns: repeat(2, 1fr); }\n.next-layout-example { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; padding-block-start: var(--vini-base-spacing-500); scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 2); }\n.next-layout-example-heading { display: grid; gap: var(--vini-base-spacing-200); }\n.next-layout-example-heading h3, .next-layout-example-heading p { margin: 0; }\n.next-layout-preview { padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); min-inline-size: 0; }\n.next-layout-frame-stage { overflow-x: auto; min-inline-size: 0; }\n.next-layout-frame { display: block; border: 0; inline-size: max(100%, 801px); block-size: 600px; }\n.next-layout-frame-stage[data-preview-device=\"phone\"] .next-layout-frame { inline-size: 360px; block-size: 800px; }\n.next-layout-panel { border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); min-inline-size: 0; }\n.next-layout-panel-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--vini-base-spacing-300); padding: var(--vini-base-spacing-300); border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); background: var(--vini-theme-main-surface); }\n.next-layout-panel-bar { border-start-start-radius: var(--vini-base-border-radius-400); border-start-end-radius: var(--vini-base-border-radius-400); }\n.next-layout-panel .next-layout-preview { border: 0; border-radius: 0; }\n.next-layout-code-panel { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; padding: var(--vini-base-spacing-500); }\n.next-layout-code-panel > p, .next-layout-copy-status { margin: 0; color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-copy-status:empty { display: none; }\n.next-layout-code-panel summary { cursor: pointer; }\n.next-layout-api { display: grid; gap: var(--vini-base-spacing-300); min-inline-size: 0; }\n.next-layout-api p { margin: 0; }\n.next-layout-table-wrap { overflow-x: auto; border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-api table { inline-size: 100%; border-collapse: collapse; text-align: start; background: var(--vini-theme-main-base); }\n.next-layout-api th, .next-layout-api td { padding: var(--vini-base-spacing-300) var(--vini-base-spacing-400); border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); vertical-align: top; text-align: start; }\n.next-layout-api th { background: var(--vini-theme-main-surface); white-space: nowrap; }\n.next-layout-api td:first-child code { white-space: nowrap; overflow-wrap: normal; }\n.next-layout-api tr:last-child td { border-block-end: 0; }\n.next-layout-code { min-inline-size: 0; border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-end: var(--vini-base-spacing-400); }\n.next-layout-code .next-copy-block, .next-layout-code-panel details { min-inline-size: 0; max-inline-size: 100%; }\n.next-layout-code .next-code, .next-layout-code-panel .next-code { box-sizing: border-box; max-inline-size: 100%; }\n.next-layout-code summary { cursor: pointer; padding-block: var(--vini-base-spacing-300); }\n.next-layout-code summary:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); }\n.next-layout-code > p { color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-links { display: flex; flex-wrap: wrap; gap: var(--vini-base-spacing-500); }\n.next-layout-comparison, .next-layout-figma { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.next-layout-comparison > div, .next-layout-figma > div { display: grid; align-content: start; gap: var(--vini-base-spacing-300); min-inline-size: 0; padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.next-layout-comparison p, .next-layout-figma p { margin: 0; color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-spacing-art, .next-layout-control-art { display: flex; align-items: center; min-block-size: calc(var(--vini-base-sizing-700) * 2); gap: var(--vini-base-spacing-400); }\n.next-layout-spacing-art { gap: 0; }\n.next-layout-spacing-art span { inline-size: calc(var(--vini-base-sizing-700) * 2); block-size: var(--vini-base-sizing-500); background: var(--vini-theme-acc-surface); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-spacing-art i { inline-size: var(--vini-base-spacing-500); block-size: var(--vini-base-sizing-200); border-inline: var(--vini-base-border-width-600) solid var(--vini-theme-acc-border-strong); }\n.next-layout-control-art span { inline-size: calc(var(--vini-base-sizing-700) * 2); block-size: var(--vini-base-sizing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); background: var(--vini-theme-main-surface); }\n.next-layout-control-art span + span { block-size: var(--vini-base-sizing-700); }\n.next-layout-figma-art { display: grid; gap: var(--vini-base-spacing-200); padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-figma-art i { display: block; block-size: var(--vini-base-sizing-200); background: var(--vini-theme-acc-fill); border-radius: var(--vini-base-border-radius-200); }\n@media (max-width: 760px) { .next-layout-key, .next-layout-comparison, .next-layout-figma { grid-template-columns: 1fr; } .next-layout-preview { padding: var(--vini-base-spacing-400); } }\n"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "SHADCN-LICENSE.txt",
|
|
282
|
+
"language": "text",
|
|
283
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"limitations": [
|
|
287
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
288
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
289
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
290
|
+
"The diagrams are visual explanations, not the corresponding working layout components. Their hash links target Atlas page sections; replace them when embedding elsewhere.",
|
|
291
|
+
"The figure markup and item fields are checked against the source commit because the current Atlas presenter has an unrelated refactoring.",
|
|
292
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
293
|
+
],
|
|
294
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/adaptation, original layout-key markup and items compared to source commit b2ada18b372f6fd4ec9e4dd6ee6a407a1a3ef945."
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"id": "atlas-illustration-layout-comparisons",
|
|
298
|
+
"title": "Размеры, отступы и Auto Layout",
|
|
299
|
+
"description": "Static educational comparisons of spacing, control size, and code/Figma layout in the public Atlas guide.",
|
|
300
|
+
"componentIds": [
|
|
301
|
+
"text"
|
|
302
|
+
],
|
|
303
|
+
"patternIds": [],
|
|
304
|
+
"files": [
|
|
305
|
+
{
|
|
306
|
+
"name": "LayoutComparisons.tsx",
|
|
307
|
+
"language": "tsx",
|
|
308
|
+
"source": "import { Text } from '@vini-ds/ui';\nimport './adaptation.css';\nexport function LayoutSpacingIllustration() { return <div className=\"next-layout-comparison\"><div><div className=\"next-layout-spacing-art\" aria-hidden=\"true\"><span /><i /><span /></div><strong>Отступ между элементами</strong><Text as=\"p\">Например, <code>gap=\"500\"</code> у Stack.</Text></div><div><div className=\"next-layout-control-art\" aria-hidden=\"true\"><span /><span /></div><strong>Размер самого компонента</strong><Text as=\"p\">Например, <code>size</code> у Input или Select.</Text></div></div>; }\nexport function LayoutFigmaIllustration() { return <div className=\"next-layout-figma\"><div><strong>Stack в коде</strong><code>gap=\"500\"</code><span className=\"next-layout-figma-art\" aria-hidden=\"true\"><i /><i /><i /></span><Text as=\"p\">Вертикальная группа с общим интервалом.</Text></div><div><strong>Auto Layout в Figma</strong><code>Vertical · gap</code><span className=\"next-layout-figma-art\" aria-hidden=\"true\"><i /><i /><i /></span><Text as=\"p\">Тот же принцип размещения во фрейме.</Text></div></div>; }\n"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "adaptation.css",
|
|
312
|
+
"language": "css",
|
|
313
|
+
"source": ".next-layout-page { display: grid; gap: var(--vini-base-spacing-800); min-inline-size: 0; }\n.next-layout-page .next-page-heading { margin: 0; }\n.next-layout-section > p { max-inline-size: calc(var(--vini-base-sizing-700) * 17); }\n.next-layout-section code { overflow-wrap: anywhere; }\n.next-layout-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.next-layout-key-item { display: grid; grid-template-columns: calc(var(--vini-base-sizing-700) * 2) minmax(0, 1fr); align-items: center; gap: var(--vini-base-spacing-400); padding: var(--vini-base-spacing-400); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); color: var(--vini-theme-main-foreground-primary); text-decoration: none; min-inline-size: 0; }\n.next-layout-key-item:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.next-layout-key-item > div:not(.next-layout-key-diagram) { display: grid; gap: var(--vini-base-spacing-100); }\n.next-layout-key-item strong { color: var(--vini-theme-acc-foreground-primary); }\n.next-layout-key-item span, .next-layout-example-heading p { color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-key-link { grid-column: 2; font-size: inherit; text-decoration: underline; text-underline-offset: var(--vini-base-spacing-100); }\n.next-layout-key-diagram { display: grid; gap: var(--vini-base-spacing-100); align-content: center; min-block-size: calc(var(--vini-base-sizing-700) * 1.5); padding: var(--vini-base-spacing-300); background: var(--vini-theme-main-space); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-key-diagram span { display: block; min-block-size: var(--vini-base-sizing-100); border-radius: var(--vini-base-border-radius-200); background: var(--vini-theme-acc-fill); }\n.next-layout-key-diagram.is-container { border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); }\n.next-layout-key-diagram.is-container span:nth-child(n+2) { display: none; }\n.next-layout-key-diagram.is-inline { grid-template-columns: repeat(3, 1fr); }\n.next-layout-key-diagram.is-grid { grid-template-columns: repeat(2, 1fr); }\n.next-layout-example { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; padding-block-start: var(--vini-base-spacing-500); scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 2); }\n.next-layout-example-heading { display: grid; gap: var(--vini-base-spacing-200); }\n.next-layout-example-heading h3, .next-layout-example-heading p { margin: 0; }\n.next-layout-preview { padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); min-inline-size: 0; }\n.next-layout-frame-stage { overflow-x: auto; min-inline-size: 0; }\n.next-layout-frame { display: block; border: 0; inline-size: max(100%, 801px); block-size: 600px; }\n.next-layout-frame-stage[data-preview-device=\"phone\"] .next-layout-frame { inline-size: 360px; block-size: 800px; }\n.next-layout-panel { border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); min-inline-size: 0; }\n.next-layout-panel-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--vini-base-spacing-300); padding: var(--vini-base-spacing-300); border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); background: var(--vini-theme-main-surface); }\n.next-layout-panel-bar { border-start-start-radius: var(--vini-base-border-radius-400); border-start-end-radius: var(--vini-base-border-radius-400); }\n.next-layout-panel .next-layout-preview { border: 0; border-radius: 0; }\n.next-layout-code-panel { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; padding: var(--vini-base-spacing-500); }\n.next-layout-code-panel > p, .next-layout-copy-status { margin: 0; color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-copy-status:empty { display: none; }\n.next-layout-code-panel summary { cursor: pointer; }\n.next-layout-api { display: grid; gap: var(--vini-base-spacing-300); min-inline-size: 0; }\n.next-layout-api p { margin: 0; }\n.next-layout-table-wrap { overflow-x: auto; border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-api table { inline-size: 100%; border-collapse: collapse; text-align: start; background: var(--vini-theme-main-base); }\n.next-layout-api th, .next-layout-api td { padding: var(--vini-base-spacing-300) var(--vini-base-spacing-400); border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); vertical-align: top; text-align: start; }\n.next-layout-api th { background: var(--vini-theme-main-surface); white-space: nowrap; }\n.next-layout-api td:first-child code { white-space: nowrap; overflow-wrap: normal; }\n.next-layout-api tr:last-child td { border-block-end: 0; }\n.next-layout-code { min-inline-size: 0; border-block-end: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-end: var(--vini-base-spacing-400); }\n.next-layout-code .next-copy-block, .next-layout-code-panel details { min-inline-size: 0; max-inline-size: 100%; }\n.next-layout-code .next-code, .next-layout-code-panel .next-code { box-sizing: border-box; max-inline-size: 100%; }\n.next-layout-code summary { cursor: pointer; padding-block: var(--vini-base-spacing-300); }\n.next-layout-code summary:focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); }\n.next-layout-code > p { color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-links { display: flex; flex-wrap: wrap; gap: var(--vini-base-spacing-500); }\n.next-layout-comparison, .next-layout-figma { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-400); }\n.next-layout-comparison > div, .next-layout-figma > div { display: grid; align-content: start; gap: var(--vini-base-spacing-300); min-inline-size: 0; padding: var(--vini-base-spacing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.next-layout-comparison p, .next-layout-figma p { margin: 0; color: var(--vini-theme-main-foreground-secondary); }\n.next-layout-spacing-art, .next-layout-control-art { display: flex; align-items: center; min-block-size: calc(var(--vini-base-sizing-700) * 2); gap: var(--vini-base-spacing-400); }\n.next-layout-spacing-art { gap: 0; }\n.next-layout-spacing-art span { inline-size: calc(var(--vini-base-sizing-700) * 2); block-size: var(--vini-base-sizing-500); background: var(--vini-theme-acc-surface); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-spacing-art i { inline-size: var(--vini-base-spacing-500); block-size: var(--vini-base-sizing-200); border-inline: var(--vini-base-border-width-600) solid var(--vini-theme-acc-border-strong); }\n.next-layout-control-art span { inline-size: calc(var(--vini-base-sizing-700) * 2); block-size: var(--vini-base-sizing-500); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); background: var(--vini-theme-main-surface); }\n.next-layout-control-art span + span { block-size: var(--vini-base-sizing-700); }\n.next-layout-figma-art { display: grid; gap: var(--vini-base-spacing-200); padding: var(--vini-base-spacing-400); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); border-radius: var(--vini-base-border-radius-300); }\n.next-layout-figma-art i { display: block; block-size: var(--vini-base-sizing-200); background: var(--vini-theme-acc-fill); border-radius: var(--vini-base-border-radius-200); }\n@media (max-width: 760px) { .next-layout-key, .next-layout-comparison, .next-layout-figma { grid-template-columns: 1fr; } .next-layout-preview { padding: var(--vini-base-spacing-400); } }\n"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "SHADCN-LICENSE.txt",
|
|
317
|
+
"language": "text",
|
|
318
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"limitations": [
|
|
322
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
323
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
324
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
325
|
+
"These are explanatory pictures, not live controls, proof of Figma parity or a Figma component.",
|
|
326
|
+
"The figure markup is checked against the source commit because the current Atlas presenter has an unrelated refactoring.",
|
|
327
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
328
|
+
],
|
|
329
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/adaptation, original size/spacing and Auto Layout illustrations compared to source commit b2ada18b372f6fd4ec9e4dd6ee6a407a1a3ef945."
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "atlas-illustration-typography",
|
|
333
|
+
"title": "Три роли текста",
|
|
334
|
+
"description": "Static typography example from the public VINi guide.",
|
|
335
|
+
"componentIds": [
|
|
336
|
+
"heading",
|
|
337
|
+
"text"
|
|
338
|
+
],
|
|
339
|
+
"patternIds": [],
|
|
340
|
+
"files": [
|
|
341
|
+
{
|
|
342
|
+
"name": "TypographyIllustration.tsx",
|
|
343
|
+
"language": "tsx",
|
|
344
|
+
"source": "import { Heading, Text } from '@vini-ds/ui';\nimport './system-guide.css';\nexport function TypographyIllustration() { return <figure className=\"vini-guide-type-specimen\"><div><Heading level={3} token=\"desktop/headline/regular/900\">Новая встреча</Heading><code>Headline / regular / 900</code></div><div><Text token=\"desktop/body/regular/500\">Название встречи</Text><code>Body / regular / 500</code></div><div><Text token=\"desktop/caption/regular/400\">Будет видно всем участникам.</Text><code>Caption / regular / 400</code></div><figcaption>Три задачи текста — три готовых стиля.</figcaption></figure>; }\n"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "system-guide.css",
|
|
348
|
+
"language": "css",
|
|
349
|
+
"source": "/* A linear, static story owned by Atlas. VINi primitives keep their public styling. */\n.vini-guide { display: grid; gap: calc(var(--vini-base-spacing-800) * 2); min-inline-size: 0; container-type: inline-size; }\n.vini-guide :where(p, figure) { margin: 0; }\n.vini-guide :where(p, figcaption) { text-wrap: pretty; }\n.vini-guide :where(code) { overflow-wrap: anywhere; }\n.vini-guide a { text-underline-offset: var(--vini-base-spacing-100); }\n.vini-guide :where(a, [tabindex]):focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.vini-guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: var(--vini-base-spacing-700); padding-block: var(--vini-base-spacing-700); }\n.vini-guide-hero-copy, .vini-guide-prose, .vini-guide-stack { display: grid; gap: var(--vini-base-spacing-500); align-content: start; min-inline-size: 0; }\n.vini-guide-hero-copy > h1 { text-wrap: balance; }\n.vini-guide-art { min-inline-size: 0; }\n.vini-guide-art svg { display: block; inline-size: 100%; block-size: auto; }\n.vini-guide-art figcaption { max-inline-size: 42ch; margin-inline: auto; text-align: center; color: var(--vini-theme-main-foreground-secondary); }\n.vg-panel { fill: var(--vini-theme-main-base); }\n.vg-soft { fill: var(--vini-theme-acc-surface); }\n.vg-stroke { stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-500); }\n.vg-ink { fill: var(--vini-theme-main-foreground-primary); }\n.vg-muted, .vg-quiet { fill: var(--vini-theme-main-foreground-secondary); }\n.vg-accent { fill: var(--vini-theme-acc-fill); }\n.vg-on { fill: var(--vini-theme-acc-foreground-on-fill); }\n.vg-rule, .vg-wire, .vg-on-line { fill: none; stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-600); stroke-linecap: round; }\n.vg-wire { stroke: var(--vini-theme-acc-icon); }\n.vg-on-line { stroke: var(--vini-theme-acc-foreground-on-fill); }\n.vini-guide-chapter { display: grid; gap: var(--vini-base-spacing-700); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 2); }\n.vini-guide-chapter + .vini-guide-chapter { border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: calc(var(--vini-base-spacing-700) * 2); }\n.vini-guide-chapter-title { display: grid; gap: var(--vini-base-spacing-300); max-inline-size: 100%; }\n.vini-guide-step { color: var(--vini-theme-acc-foreground-primary); }\n.vini-guide-pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--vini-base-spacing-800); align-items: start; }\n.vini-guide-pair-live { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }\n.vini-guide-pair > *, .vini-guide-format > * { min-inline-size: 0; }\n.vini-guide-lead { max-inline-size: 65ch; }\n.vini-guide-note { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: var(--vini-base-spacing-700); padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-base); border-inline-start: var(--vini-base-border-width-700) solid var(--vini-theme-acc-border); }\n.vini-guide-note > div { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.vini-guide-anatomy { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-anatomy-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--vini-base-spacing-400); }\n.vini-guide-anatomy-row > div:last-child { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide :where(figcaption) { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-anatomy figcaption { padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-diagram { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-token-parts { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: var(--vini-base-spacing-300); }\n.vini-guide-token-parts > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-token-parts span { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-token-result { display: flex; gap: var(--vini-base-spacing-400); align-items: center; padding-block-start: var(--vini-base-spacing-500); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-result > span { flex: none; inline-size: var(--vini-base-sizing-700); block-size: var(--vini-base-sizing-700); border-radius: var(--vini-base-border-radius-200); background: var(--vini-theme-acc-fill); }\n.vini-guide-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-800); }\n.vini-guide-values > div { display: grid; gap: var(--vini-base-spacing-300); align-content: start; }\n.vini-guide-spacing { display: flex; gap: var(--vini-base-spacing-500); align-items: center; block-size: var(--vini-base-sizing-1000); }\n.vini-guide-spacing i { display: block; inline-size: var(--vini-base-sizing-600); block-size: var(--vini-base-sizing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); background: var(--vini-theme-acc-surface); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces { display: block; padding: var(--vini-base-spacing-300); inline-size: calc(var(--vini-base-sizing-1000) * 2.5); block-size: var(--vini-base-sizing-1000); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces i { display: block; inline-size: 100%; block-size: 100%; background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border-block: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-type-specimen code { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-code { min-inline-size: 0; }\n.vini-guide-contract { display: grid; gap: var(--vini-base-spacing-500); max-inline-size: 80ch; }\n.vini-guide-icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-icons > div { display: grid; justify-items: start; align-content: start; gap: var(--vini-base-spacing-400); }\n.vini-guide-icons figcaption { grid-column: 1 / -1; }\n.vini-guide-live { display: grid; gap: var(--vini-base-spacing-400); }\n.vini-guide-live-settings { display: grid; gap: var(--vini-base-spacing-300); }\n.vini-guide-live-settings > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-200); }\n.vini-guide-live-settings > div > span { min-inline-size: var(--vini-base-sizing-1000); }\n.vini-guide-live-space { padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); }\n.vini-guide-meeting { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-600); color: var(--vini-theme-main-foreground-primary); background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.vini-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-400) var(--vini-base-spacing-600); }\n.vini-guide-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vini-base-spacing-700); }\n.vini-guide-team > div { display: grid; gap: var(--vini-base-spacing-400); align-content: start; padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-600) solid var(--vini-theme-acc-border); }\n.vini-guide-format { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--vini-base-spacing-700); padding-block-start: var(--vini-base-spacing-500); }\n.vini-guide-format > div:first-child { display: grid; gap: var(--vini-base-spacing-400); align-content: start; }\n.vini-guide-ending { display: grid; gap: var(--vini-base-spacing-600); padding-block: var(--vini-base-spacing-800); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-ending > p { max-inline-size: 60ch; }\n@container (max-width: 700px) {\n .vini-guide-hero, .vini-guide-pair, .vini-guide-note, .vini-guide-format { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-hero { gap: var(--vini-base-spacing-500); }\n .vini-guide-art { max-inline-size: calc(var(--vini-base-sizing-1000) * 9); justify-self: center; }\n .vini-guide-pair, .vini-guide-format { gap: var(--vini-base-spacing-600); }\n .vini-guide-team { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-note { gap: var(--vini-base-spacing-400); }\n}\n@container (max-width: 420px) {\n .vini-guide-values { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-live-space, .vini-guide-meeting { padding: var(--vini-base-spacing-400); }\n .vini-guide-icons { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-token-diagram, .vini-guide-type-specimen { padding: var(--vini-base-spacing-500); }\n}\n"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "SHADCN-LICENSE.txt",
|
|
353
|
+
"language": "text",
|
|
354
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"limitations": [
|
|
358
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
359
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
360
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
361
|
+
"These are illustrative text roles, not a complete typography catalog or validation of arbitrary product content.",
|
|
362
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
363
|
+
],
|
|
364
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/how-it-works, typography specimen extracted from SystemGuidePage.tsx."
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": "atlas-illustration-meeting-artwork",
|
|
368
|
+
"title": "Иллюстрация встречи",
|
|
369
|
+
"description": "Static editorial drawing of the meeting scenario from the public VINi guide.",
|
|
370
|
+
"componentIds": [
|
|
371
|
+
"text"
|
|
372
|
+
],
|
|
373
|
+
"patternIds": [],
|
|
374
|
+
"files": [
|
|
375
|
+
{
|
|
376
|
+
"name": "MeetingArtwork.tsx",
|
|
377
|
+
"language": "tsx",
|
|
378
|
+
"source": "import { Text } from '@vini-ds/ui';\nimport { typographyClassByTokenName } from '@vini-ds/tokens';\nimport './system-guide.css';\nconst body = typographyClassByTokenName['desktop/body/regular/500'];\nexport function MeetingArtwork() {\n return <figure className=\"vini-guide-art\">\n <svg viewBox=\"0 0 460 330\" aria-hidden=\"true\" focusable=\"false\">\n <path className=\"vg-wire\" d=\"M103 115h17q18 0 18 18v62q0 18 18 18h20\"/>\n <circle className=\"vg-accent\" cx=\"136\" cy=\"156\" r=\"4\"/>\n <rect className=\"vg-soft vg-stroke\" x=\"155\" y=\"37\" width=\"285\" height=\"270\" rx=\"16\"/>\n <rect className=\"vg-panel vg-stroke\" x=\"144\" y=\"26\" width=\"285\" height=\"270\" rx=\"16\"/>\n <path className=\"vg-rule\" d=\"M144 60h285\"/>\n <circle className=\"vg-accent\" cx=\"163\" cy=\"43\" r=\"3\"/><circle className=\"vg-muted\" cx=\"176\" cy=\"43\" r=\"3\"/><circle className=\"vg-muted\" cx=\"189\" cy=\"43\" r=\"3\"/>\n <text className={`${typographyClassByTokenName['desktop/headline/regular/900']} vg-ink`} x=\"165\" y=\"99\">Новая встреча</text>\n <text className={`${typographyClassByTokenName['desktop/caption/regular/400']} vg-quiet`} x=\"165\" y=\"130\">Название</text>\n <rect className=\"vg-panel vg-stroke\" x=\"164\" y=\"141\" width=\"244\" height=\"40\" rx=\"8\"/>\n <text className={`${body} vg-ink`} x=\"176\" y=\"167\">Встреча команды</text>\n <text className={`${typographyClassByTokenName['desktop/caption/regular/400']} vg-quiet`} x=\"165\" y=\"209\">Ссылка появится после создания</text>\n <rect className=\"vg-accent\" x=\"164\" y=\"231\" width=\"170\" height=\"40\" rx=\"8\"/>\n <path className=\"vg-on-line\" d=\"M181 245v12m-6-6h12\"/>\n <text className={`${body} vg-on`} x=\"198\" y=\"257\">Создать встречу</text>\n <rect className=\"vg-panel vg-stroke\" x=\"12\" y=\"67\" width=\"99\" height=\"128\" rx=\"14\"/>\n <text className={`${typographyClassByTokenName['desktop/headline/regular/1200']} vg-ink`} x=\"28\" y=\"110\">Аа</text>\n <rect className=\"vg-accent\" x=\"28\" y=\"128\" width=\"27\" height=\"25\" rx=\"7\"/><rect className=\"vg-soft\" x=\"66\" y=\"128\" width=\"27\" height=\"25\" rx=\"7\"/>\n <path className=\"vg-rule\" d=\"M29 173h63m-63-5v10m21-8v6m21-6v6m21-8v10\"/>\n </svg>\n <figcaption><Text token=\"desktop/caption/regular/400\">Тот самый экран, который мы разберём: общие правила слева, знакомые элементы справа.</Text></figcaption>\n </figure>;\n}\n"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "system-guide.css",
|
|
382
|
+
"language": "css",
|
|
383
|
+
"source": "/* A linear, static story owned by Atlas. VINi primitives keep their public styling. */\n.vini-guide { display: grid; gap: calc(var(--vini-base-spacing-800) * 2); min-inline-size: 0; container-type: inline-size; }\n.vini-guide :where(p, figure) { margin: 0; }\n.vini-guide :where(p, figcaption) { text-wrap: pretty; }\n.vini-guide :where(code) { overflow-wrap: anywhere; }\n.vini-guide a { text-underline-offset: var(--vini-base-spacing-100); }\n.vini-guide :where(a, [tabindex]):focus-visible { outline: var(--vini-base-border-width-600) solid var(--vini-theme-main-focus); outline-offset: var(--vini-base-spacing-200); }\n.vini-guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: var(--vini-base-spacing-700); padding-block: var(--vini-base-spacing-700); }\n.vini-guide-hero-copy, .vini-guide-prose, .vini-guide-stack { display: grid; gap: var(--vini-base-spacing-500); align-content: start; min-inline-size: 0; }\n.vini-guide-hero-copy > h1 { text-wrap: balance; }\n.vini-guide-art { min-inline-size: 0; }\n.vini-guide-art svg { display: block; inline-size: 100%; block-size: auto; }\n.vini-guide-art figcaption { max-inline-size: 42ch; margin-inline: auto; text-align: center; color: var(--vini-theme-main-foreground-secondary); }\n.vg-panel { fill: var(--vini-theme-main-base); }\n.vg-soft { fill: var(--vini-theme-acc-surface); }\n.vg-stroke { stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-500); }\n.vg-ink { fill: var(--vini-theme-main-foreground-primary); }\n.vg-muted, .vg-quiet { fill: var(--vini-theme-main-foreground-secondary); }\n.vg-accent { fill: var(--vini-theme-acc-fill); }\n.vg-on { fill: var(--vini-theme-acc-foreground-on-fill); }\n.vg-rule, .vg-wire, .vg-on-line { fill: none; stroke: var(--vini-theme-main-border-strong); stroke-width: var(--vini-base-border-width-600); stroke-linecap: round; }\n.vg-wire { stroke: var(--vini-theme-acc-icon); }\n.vg-on-line { stroke: var(--vini-theme-acc-foreground-on-fill); }\n.vini-guide-chapter { display: grid; gap: var(--vini-base-spacing-700); padding-block-end: var(--vini-base-spacing-700); min-inline-size: 0; scroll-margin-block-start: calc(var(--vini-base-sizing-700) * 2); }\n.vini-guide-chapter + .vini-guide-chapter { border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); padding-block-start: calc(var(--vini-base-spacing-700) * 2); }\n.vini-guide-chapter-title { display: grid; gap: var(--vini-base-spacing-300); max-inline-size: 100%; }\n.vini-guide-step { color: var(--vini-theme-acc-foreground-primary); }\n.vini-guide-pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--vini-base-spacing-800); align-items: start; }\n.vini-guide-pair-live { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }\n.vini-guide-pair > *, .vini-guide-format > * { min-inline-size: 0; }\n.vini-guide-lead { max-inline-size: 65ch; }\n.vini-guide-note { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: var(--vini-base-spacing-700); padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-base); border-inline-start: var(--vini-base-border-width-700) solid var(--vini-theme-acc-border); }\n.vini-guide-note > div { display: grid; gap: var(--vini-base-spacing-400); min-inline-size: 0; }\n.vini-guide-anatomy { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-anatomy-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--vini-base-spacing-400); }\n.vini-guide-anatomy-row > div:last-child { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide :where(figcaption) { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-anatomy figcaption { padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-diagram { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-token-parts { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: var(--vini-base-spacing-300); }\n.vini-guide-token-parts > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-token-parts span { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-token-result { display: flex; gap: var(--vini-base-spacing-400); align-items: center; padding-block-start: var(--vini-base-spacing-500); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-token-result > span { flex: none; inline-size: var(--vini-base-sizing-700); block-size: var(--vini-base-sizing-700); border-radius: var(--vini-base-border-radius-200); background: var(--vini-theme-acc-fill); }\n.vini-guide-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-800); }\n.vini-guide-values > div { display: grid; gap: var(--vini-base-spacing-300); align-content: start; }\n.vini-guide-spacing { display: flex; gap: var(--vini-base-spacing-500); align-items: center; block-size: var(--vini-base-sizing-1000); }\n.vini-guide-spacing i { display: block; inline-size: var(--vini-base-sizing-600); block-size: var(--vini-base-sizing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-acc-border); background: var(--vini-theme-acc-surface); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces { display: block; padding: var(--vini-base-spacing-300); inline-size: calc(var(--vini-base-sizing-1000) * 2.5); block-size: var(--vini-base-sizing-1000); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-200); }\n.vini-guide-surfaces i { display: block; inline-size: 100%; block-size: 100%; background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen { display: grid; gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-700); border-block: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-type-specimen > div { display: grid; gap: var(--vini-base-spacing-200); }\n.vini-guide-type-specimen code { color: var(--vini-theme-main-foreground-secondary); }\n.vini-guide-code { min-inline-size: 0; }\n.vini-guide-contract { display: grid; gap: var(--vini-base-spacing-500); max-inline-size: 80ch; }\n.vini-guide-icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vini-base-spacing-600); padding: var(--vini-base-spacing-600); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); background: var(--vini-theme-main-base); }\n.vini-guide-icons > div { display: grid; justify-items: start; align-content: start; gap: var(--vini-base-spacing-400); }\n.vini-guide-icons figcaption { grid-column: 1 / -1; }\n.vini-guide-live { display: grid; gap: var(--vini-base-spacing-400); }\n.vini-guide-live-settings { display: grid; gap: var(--vini-base-spacing-300); }\n.vini-guide-live-settings > div { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-200); }\n.vini-guide-live-settings > div > span { min-inline-size: var(--vini-base-sizing-1000); }\n.vini-guide-live-space { padding: var(--vini-base-spacing-600); background: var(--vini-theme-main-space); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-400); }\n.vini-guide-meeting { display: grid; gap: var(--vini-base-spacing-500); padding: var(--vini-base-spacing-600); color: var(--vini-theme-main-foreground-primary); background: var(--vini-theme-main-base); border: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); border-radius: var(--vini-base-border-radius-300); }\n.vini-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--vini-base-spacing-400) var(--vini-base-spacing-600); }\n.vini-guide-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vini-base-spacing-700); }\n.vini-guide-team > div { display: grid; gap: var(--vini-base-spacing-400); align-content: start; padding-block-start: var(--vini-base-spacing-400); border-block-start: var(--vini-base-border-width-600) solid var(--vini-theme-acc-border); }\n.vini-guide-format { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--vini-base-spacing-700); padding-block-start: var(--vini-base-spacing-500); }\n.vini-guide-format > div:first-child { display: grid; gap: var(--vini-base-spacing-400); align-content: start; }\n.vini-guide-ending { display: grid; gap: var(--vini-base-spacing-600); padding-block: var(--vini-base-spacing-800); border-block-start: var(--vini-base-border-width-500) solid var(--vini-theme-main-border); }\n.vini-guide-ending > p { max-inline-size: 60ch; }\n@container (max-width: 700px) {\n .vini-guide-hero, .vini-guide-pair, .vini-guide-note, .vini-guide-format { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-hero { gap: var(--vini-base-spacing-500); }\n .vini-guide-art { max-inline-size: calc(var(--vini-base-sizing-1000) * 9); justify-self: center; }\n .vini-guide-pair, .vini-guide-format { gap: var(--vini-base-spacing-600); }\n .vini-guide-team { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-note { gap: var(--vini-base-spacing-400); }\n}\n@container (max-width: 420px) {\n .vini-guide-values { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-live-space, .vini-guide-meeting { padding: var(--vini-base-spacing-400); }\n .vini-guide-icons { grid-template-columns: minmax(0, 1fr); }\n .vini-guide-token-diagram, .vini-guide-type-specimen { padding: var(--vini-base-spacing-500); }\n}\n"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "SHADCN-LICENSE.txt",
|
|
387
|
+
"language": "text",
|
|
388
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"limitations": [
|
|
392
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
393
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
394
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
395
|
+
"This decorative SVG is not the working meeting form, does not create a meeting and does not encode product behavior.",
|
|
396
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
397
|
+
],
|
|
398
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: foundations/how-it-works, MeetingArtwork extracted from SystemGuidePage.tsx."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "atlas-illustration-vini-system",
|
|
402
|
+
"title": "Как связаны части дизайн-системы VINi",
|
|
403
|
+
"description": "Decorative animated educational illustration from the public Atlas home page.",
|
|
404
|
+
"componentIds": [],
|
|
405
|
+
"patternIds": [],
|
|
406
|
+
"files": [
|
|
407
|
+
{
|
|
408
|
+
"name": "HomeSystemIllustration.tsx",
|
|
409
|
+
"language": "tsx",
|
|
410
|
+
"source": "import { useId, useLayoutEffect, useRef, useState } from 'react';\nimport { typographyClassByTokenName } from '@vini-ds/tokens';\nimport './home-system-illustration.css';\n\n// Identical on-screen corner radii even when the SVG is stretched by a responsive scene.\nfunction connectionRoutes(width: number, height: number) {\n const ratio = (height / 480) / (width / 560);\n const ry = Math.min(20, 35 / ratio);\n const rx = ry * ratio;\n return {\n foundation: `M224 60 H${264 - rx} A${rx} ${ry} 0 0 1 264 ${60 + ry} V${182 - ry} A${rx} ${ry} 0 0 1 ${264 - rx} 182 H228`,\n storybook: `M332 182 H${296 + rx} A${rx} ${ry} 0 0 1 296 ${182 - ry} V${60 + ry} A${rx} ${ry} 0 0 1 ${296 + rx} 60 H336`,\n atlas: `M206 244 H${165 + rx} A${rx} ${ry} 0 0 0 165 ${244 + ry} V${354 - ry} A${rx} ${ry} 0 0 1 ${165 - rx} 354`,\n mcp: `M354 244 H${395 - rx} A${rx} ${ry} 0 0 1 395 ${244 + ry} V${354 - ry} A${rx} ${ry} 0 0 0 ${395 + rx} 354`,\n };\n}\n\n/** Decorative choreography: shared visual material, documented states, two access points. */\nexport function HomeSystemIllustration() {\n const id = useId();\n const scene = useRef<HTMLDivElement>(null);\n const [size, setSize] = useState({ width: 560, height: 480 });\n useLayoutEffect(() => {\n const element = scene.current;\n if (!element) return;\n const update = () => {\n const { width, height } = element.getBoundingClientRect();\n if (width && height) setSize({ width, height });\n };\n update();\n const observer = new ResizeObserver(update);\n observer.observe(element);\n return () => observer.disconnect();\n }, []);\n const routes = connectionRoutes(size.width, size.height);\n const label = typographyClassByTokenName['desktop/subheader/medium/600'];\n const note = `${typographyClassByTokenName['desktop/caption/regular/400']} next-vini-system-note`;\n return <figure className=\"next-vini-system\" aria-label=\"Как связаны части дизайн-системы VINi\" aria-describedby={`${id}-description`}>\n <div ref={scene} className=\"next-vini-system-scene\" aria-hidden=\"true\">\n <svg className=\"next-vini-system-connections\" viewBox=\"0 0 560 480\" preserveAspectRatio=\"none\" focusable=\"false\">\n {Object.entries(routes).map(([name, d]) => <g key={name}>\n <path className=\"next-vini-system-path\" d={d}/>\n <path className={`next-vini-system-pulse next-vini-flow-${name}`} pathLength=\"1\" d={d}/>\n </g>)}\n <g className=\"next-vini-packet next-vini-packet-color\" style={{ offsetPath: `path('${routes.foundation}')` }}><rect className=\"next-vini-system-accent\" x=\"-8\" y=\"-8\" width=\"16\" height=\"16\" rx=\"5\"/></g>\n <g className=\"next-vini-packet next-vini-packet-type\" style={{ offsetPath: `path('${routes.foundation}')` }}><rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"-12\" y=\"-11\" width=\"24\" height=\"22\" rx=\"5\"/><text className=\"next-vini-system-svg-label\" textAnchor=\"middle\" y=\"5\">Aa</text></g>\n <g className=\"next-vini-packet next-vini-packet-story\" style={{ offsetPath: `path('${routes.storybook}')` }}><rect className=\"next-vini-system-accent\" x=\"-12\" y=\"-7\" width=\"24\" height=\"14\" rx=\"6\"/><path className=\"next-vini-system-on-accent\" d=\"M-5 0h10\"/></g>\n <g className=\"next-vini-packet next-vini-packet-atlas\" style={{ offsetPath: `path('${routes.atlas}')` }}><rect className=\"next-vini-system-accent\" x=\"-11\" y=\"-7\" width=\"22\" height=\"14\" rx=\"5\"/><path className=\"next-vini-system-on-accent\" d=\"M-4 0h8\"/></g>\n <g className=\"next-vini-packet next-vini-packet-mcp\" style={{ offsetPath: `path('${routes.mcp}')` }}><rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"-14\" y=\"-11\" width=\"28\" height=\"22\" rx=\"5\"/><path className=\"next-vini-system-accent-line\" d=\"m-4-5-4 5 4 5m8-10 4 5-4 5\"/></g>\n </svg>\n\n <div className=\"next-vini-system-node next-vini-system-foundation\">\n <svg className=\"next-vini-system-symbol\" viewBox=\"0 0 144 96\" focusable=\"false\">\n <rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <rect className=\"next-vini-system-highlight next-vini-highlight-foundation\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <text className=\"next-vini-system-svg-type\" x=\"16\" y=\"48\">Aa</text>\n <g className=\"next-vini-phase-foundation\">\n <rect className=\"next-vini-system-accent\" x=\"78\" y=\"20\" width=\"22\" height=\"22\" rx=\"7\"/>\n <rect className=\"next-vini-system-soft\" x=\"106\" y=\"20\" width=\"22\" height=\"22\" rx=\"7\"/>\n </g>\n <path className=\"next-vini-system-line\" d=\"M18 68h108M18 63v10m27-8v6m27-8v10m27-8v6m27-8v10\"/>\n <path className=\"next-vini-system-accent-line next-vini-foundation-ruler\" pathLength=\"1\" d=\"M18 68h108\"/>\n </svg>\n <strong className={label}>Foundation</strong><span className={note}>Визуальные правила</span>\n </div>\n <div className=\"next-vini-system-node next-vini-system-storybook\">\n <svg className=\"next-vini-system-symbol\" viewBox=\"0 0 144 96\" focusable=\"false\">\n <rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <rect className=\"next-vini-system-highlight next-vini-highlight-storybook\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <path className=\"next-vini-system-divider\" d=\"M27 4v86\"/>\n <circle className=\"next-vini-system-accent\" cx=\"15\" cy=\"19\" r=\"3\"/>\n <path className=\"next-vini-system-line\" d=\"M12 35h7M12 46h7M12 57h7\"/>\n <text className=\"next-vini-system-svg-label\" x=\"39\" y=\"25\">Button</text>\n <rect className=\"next-vini-system-soft\" x=\"38\" y=\"34\" width=\"90\" height=\"30\" rx=\"7\"/>\n <rect className=\"next-vini-system-accent next-vini-storybook-state\" x=\"38\" y=\"34\" width=\"90\" height=\"30\" rx=\"7\"/>\n <text className=\"next-vini-system-svg-label next-vini-storybook-text\" x=\"83\" y=\"54\" textAnchor=\"middle\">Далее</text>\n <g className=\"next-vini-storybook-api\"><text className=\"next-vini-system-svg-code\" x=\"39\" y=\"79\">color: accent</text></g>\n <path className=\"next-vini-system-cursor\" d=\"m0 0 0 20 5-5 4 8 5-3-4-7 7-1z\"/>\n </svg>\n <strong className={label}>Storybook</strong><span className={note}>Состояния и API</span>\n </div>\n <div className=\"next-vini-system-node next-vini-system-core\">\n <svg className=\"next-vini-system-center-symbol\" viewBox=\"0 0 160 108\" focusable=\"false\">\n <g className=\"next-vini-core-back\"><rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"14\" y=\"34\" width=\"132\" height=\"66\" rx=\"12\"/></g>\n <g className=\"next-vini-core-middle\"><rect className=\"next-vini-system-soft next-vini-system-panel-border\" x=\"9\" y=\"23\" width=\"142\" height=\"66\" rx=\"12\"/></g>\n <g className=\"next-vini-core-front\">\n <rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"4\" y=\"12\" width=\"152\" height=\"66\" rx=\"12\"/>\n <rect className=\"next-vini-system-highlight next-vini-highlight-core\" x=\"4\" y=\"12\" width=\"152\" height=\"66\" rx=\"12\"/>\n <text className=\"next-vini-system-svg-label\" x=\"17\" y=\"34\">Aa</text>\n <path className=\"next-vini-system-line\" d=\"M48 28h41M48 35h25\"/>\n <g className=\"next-vini-core-control\"><rect className=\"next-vini-system-accent\" x=\"17\" y=\"46\" width=\"76\" height=\"22\" rx=\"6\"/><text className=\"next-vini-system-svg-label next-vini-system-text-on-accent\" x=\"55\" y=\"61\" textAnchor=\"middle\">Далее</text></g>\n <rect className=\"next-vini-system-soft\" x=\"107\" y=\"25\" width=\"34\" height=\"18\" rx=\"9\"/>\n <g className=\"next-vini-core-toggle\"><rect className=\"next-vini-system-accent\" x=\"107\" y=\"25\" width=\"34\" height=\"18\" rx=\"9\"/><circle className=\"next-vini-system-fill-on-accent\" cx=\"132\" cy=\"34\" r=\"6\"/></g>\n <path className=\"next-vini-system-line\" d=\"M110 57h29M110 64h18\"/>\n </g>\n </svg>\n <strong className={label}>Компоненты</strong><span className={note}>Готовые элементы</span>\n </div>\n <div className=\"next-vini-system-node next-vini-system-atlas\">\n <svg className=\"next-vini-system-symbol\" viewBox=\"0 0 144 96\" focusable=\"false\">\n <rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <rect className=\"next-vini-system-highlight next-vini-highlight-output\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <path className=\"next-vini-system-divider\" d=\"M3 24h138M29 24v66\"/>\n <circle className=\"next-vini-system-ink\" cx=\"15\" cy=\"14\" r=\"2\"/><circle className=\"next-vini-system-accent\" cx=\"23\" cy=\"14\" r=\"2\"/>\n <path className=\"next-vini-system-line\" d=\"M13 37h7M13 47h7M13 57h7\"/>\n <g className=\"next-vini-output-content\">\n <path className=\"next-vini-system-line\" d=\"M40 38h48M40 46h31\"/>\n <rect className=\"next-vini-system-accent\" x=\"40\" y=\"55\" width=\"84\" height=\"24\" rx=\"6\"/>\n <text className=\"next-vini-system-svg-label next-vini-system-text-on-accent\" x=\"82\" y=\"71\" textAnchor=\"middle\">Далее</text>\n </g>\n </svg>\n <strong className={label}>Atlas</strong><span className={note}>Примеры для команды</span>\n </div>\n <div className=\"next-vini-system-node next-vini-system-mcp\">\n <svg className=\"next-vini-system-symbol\" viewBox=\"0 0 144 96\" focusable=\"false\">\n <rect className=\"next-vini-system-panel next-vini-system-panel-border\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <rect className=\"next-vini-system-highlight next-vini-highlight-output\" x=\"3\" y=\"4\" width=\"138\" height=\"86\" rx=\"12\"/>\n <path className=\"next-vini-system-divider\" d=\"M3 24h138\"/>\n <circle className=\"next-vini-system-accent\" cx=\"16\" cy=\"14\" r=\"3\"/>\n <path className=\"next-vini-system-accent-line\" d=\"M23 36h-4v10c0 3-1 4-4 4 3 0 4 1 4 4v10h4M121 36h4v10c0 3 1 4 4 4-3 0-4 1-4 4v10h-4\"/>\n <g className=\"next-vini-output-content\">\n <text className=\"next-vini-system-svg-label\" x=\"33\" y=\"43\">Button</text>\n <text className=\"next-vini-system-svg-code\" x=\"33\" y=\"60\">color: accent</text>\n <path className=\"next-vini-system-line\" d=\"M33 73h43\"/>\n <circle className=\"next-vini-system-accent\" cx=\"99\" cy=\"72\" r=\"4\"/>\n </g>\n </svg>\n <strong className={label}>MCP</strong><span className={note}>Контекст для агента</span>\n </div>\n </div>\n <span id={`${id}-description`} hidden>Foundation задаёт цвета, типографику и размеры. Компоненты реализуют элементы интерфейса, а Storybook описывает их состояния и публичный API. Atlas показывает людям примеры. MCP даёт агенту сведения о компонентах, токенах и контрактах одной закреплённой версии. Atlas и MCP — разные способы работать с системой, а не последовательные этапы сборки.</span>\n </figure>;\n}\n"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "home-system-illustration.css",
|
|
414
|
+
"language": "css",
|
|
415
|
+
"source": "/* Host-owned illustration. Geometry belongs to the artwork; visual roles come from Foundation. */\n.next-vini-system {\n display: grid;\n gap: var(--vini-base-spacing-400);\n inline-size: 100%;\n max-inline-size: calc(var(--vini-base-sizing-1000) * 10);\n min-inline-size: 0;\n margin: 0;\n justify-self: center;\n}\n.next-vini-system-scene {\n position: relative;\n isolation: isolate;\n block-size: clamp(calc(var(--vini-base-sizing-800) * 9), 100vw, calc(var(--vini-base-sizing-800) * 11));\n color: var(--vini-theme-main-foreground-primary);\n}\n.next-vini-system-scene::before {\n content: '';\n position: absolute;\n inset: 22% 14%;\n z-index: -2;\n background: radial-gradient(ellipse at center, var(--vini-theme-acc-fill), transparent 68%);\n opacity: .13;\n pointer-events: none;\n animation: vini-system-glow calc(var(--vini-base-motion-duration-2000) * 6) var(--vini-base-motion-easing-ease-in-out) infinite;\n}\n.next-vini-system-connections { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: -1; overflow: visible; }\n.next-vini-system-path, .next-vini-system-pulse { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }\n.next-vini-system-path { stroke: var(--vini-theme-acc-icon); stroke-width: var(--vini-base-border-width-500); opacity: .3; }\n.next-vini-system-pulse { stroke: var(--vini-theme-acc-fill); stroke-width: var(--vini-base-border-width-700); stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }\n.next-vini-system-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: var(--vini-base-spacing-200); inline-size: 42%; min-inline-size: 0; text-align: center; }\n.next-vini-system-foundation { inset-block-start: 0; inset-inline-start: 5%; }\n.next-vini-system-storybook { inset-block-start: 0; inset-inline-end: 5%; }\n.next-vini-system-atlas { inset-block-end: 0; inset-inline-start: 5%; }\n.next-vini-system-mcp { inset-block-end: 0; inset-inline-end: 5%; }\n.next-vini-system-core { inset-block-start: 34%; inset-inline-start: 29%; }\n.next-vini-system-symbol { display: block; inline-size: calc(var(--vini-base-sizing-1000) * 3); max-inline-size: 94%; block-size: calc(var(--vini-base-sizing-1000) * 2); margin-block-end: var(--vini-base-spacing-200); overflow: visible; filter: drop-shadow(0 var(--vini-base-spacing-200) var(--vini-base-spacing-300) color-mix(in srgb, var(--vini-theme-main-foreground-primary) 8%, transparent)); }\n.next-vini-system-center-symbol { display: block; inline-size: calc(var(--vini-base-sizing-1000) * 3.2); max-inline-size: 98%; block-size: calc(var(--vini-base-sizing-1000) * 2.1); margin-block-end: var(--vini-base-spacing-200); overflow: visible; }\n.next-vini-system-svg-type, .next-vini-system-svg-label, .next-vini-system-svg-code { font-family: var(--vini-typography-font-family-desktop, sans-serif); fill: var(--vini-theme-main-foreground-primary); }\n.next-vini-system-svg-type { font-size: 34px; font-weight: 600; }\n.next-vini-system-svg-label { font-size: 13px; font-weight: 500; }\n.next-vini-system-svg-code { font-size: 11px; fill: var(--vini-theme-main-foreground-secondary); }\n.next-vini-system-line, .next-vini-system-accent-line, .next-vini-system-on-accent { fill: none; stroke: var(--vini-theme-main-foreground-secondary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }\n.next-vini-system-accent-line { stroke: var(--vini-theme-acc-icon); stroke-width: 2.5; }\n.next-vini-system-on-accent { stroke: var(--vini-theme-acc-foreground-on-fill); stroke-width: 2; }\n.next-vini-system-panel { fill: var(--vini-theme-main-surface); }\n.next-vini-system-foundation .next-vini-system-panel,\n.next-vini-system-storybook .next-vini-system-panel,\n.next-vini-core-front .next-vini-system-panel,\n.next-vini-system-atlas .next-vini-system-panel,\n.next-vini-system-mcp .next-vini-system-panel { fill: var(--vini-theme-main-base); }\n.next-vini-system-panel-border { stroke: var(--vini-theme-main-border-strong); stroke-width: 1; }\n.next-vini-system-divider { fill: none; stroke: var(--vini-theme-main-border-strong); stroke-width: 1; }\n.next-vini-system-accent { fill: var(--vini-theme-acc-fill); }\n.next-vini-system-soft { fill: var(--vini-theme-acc-surface-active); }\n.next-vini-system-ink { fill: var(--vini-theme-main-foreground-primary); }\n.next-vini-system-text-on-accent, .next-vini-system-fill-on-accent { fill: var(--vini-theme-acc-foreground-on-fill); }\n.next-vini-system-highlight { fill: none; stroke: var(--vini-theme-acc-icon); stroke-width: 2; opacity: 0; filter: drop-shadow(0 0 var(--vini-base-spacing-300) color-mix(in srgb, var(--vini-theme-acc-fill) 55%, transparent)); }\n.next-vini-system-note { color: var(--vini-theme-main-foreground-secondary); }\n/* All actors share one clock. No timers, controls or duplicated interactive widgets. */\n.next-vini-system-scene [class*=\"next-vini-\"] {\n animation-duration: calc(var(--vini-base-motion-duration-2000) * 6);\n animation-timing-function: var(--vini-base-motion-easing-ease-in-out);\n animation-iteration-count: infinite;\n}\n.next-vini-packet { opacity: 0; offset-rotate: 0deg; filter: drop-shadow(0 0 var(--vini-base-spacing-200) var(--vini-theme-acc-fill)); }\n.next-vini-packet-color, .next-vini-packet-type { animation-name: vini-token-flight; }\n.next-vini-packet-type { animation-delay: calc(var(--vini-base-motion-duration-2000) * .18); }\n.next-vini-packet-story { animation-name: vini-story-flight; }\n.next-vini-packet-atlas { animation-name: vini-output-flight; }\n.next-vini-packet-mcp { animation-name: vini-output-flight; }\n.next-vini-flow-foundation { animation-name: vini-flow-foundation; }\n.next-vini-flow-storybook { animation-name: vini-flow-storybook; }\n.next-vini-flow-atlas, .next-vini-flow-mcp { animation-name: vini-flow-outputs; }\n.next-vini-highlight-foundation { animation-name: vini-foundation-highlight; }\n.next-vini-highlight-core { animation-name: vini-core-highlight; }\n.next-vini-highlight-storybook { animation-name: vini-storybook-highlight; }\n.next-vini-highlight-output { animation-name: vini-output-highlight; }\n.next-vini-phase-foundation { animation-name: vini-foundation-active; transform-box: fill-box; transform-origin: center; }\n.next-vini-foundation-ruler { stroke-dasharray: 1; animation-name: vini-foundation-ruler; }\n.next-vini-core-back { animation-name: vini-core-back; }\n.next-vini-core-middle { animation-name: vini-core-middle; }\n.next-vini-core-front { animation-name: vini-core-front; }\n.next-vini-core-control, .next-vini-core-toggle { transform-box: fill-box; transform-origin: center; animation-name: vini-core-material; }\n.next-vini-core-toggle { animation-delay: var(--vini-base-motion-duration-200); }\n.next-vini-storybook-state { animation-name: vini-storybook-state; }\n.next-vini-storybook-text { animation-name: vini-storybook-text; }\n.next-vini-system-cursor { fill: var(--vini-theme-main-foreground-primary); stroke: var(--vini-theme-main-base); stroke-width: 1.5; opacity: 0; animation-name: vini-storybook-cursor; }\n.next-vini-storybook-api { animation-name: vini-storybook-api; }\n.next-vini-output-content { animation-name: vini-output-reveal; }\n@keyframes vini-token-flight { 0%, 7% { opacity: 0; offset-distance: 0%; } 10% { opacity: 1; offset-distance: 0%; } 24% { opacity: 1; offset-distance: 100%; } 27%, 100% { opacity: 0; offset-distance: 100%; } }\n@keyframes vini-story-flight { 0%, 39% { opacity: 0; offset-distance: 0%; } 41% { opacity: 1; offset-distance: 0%; } 49% { opacity: 1; offset-distance: 100%; } 51%, 100% { opacity: 0; offset-distance: 100%; } }\n@keyframes vini-output-flight { 0%, 67% { opacity: 0; offset-distance: 0%; } 69% { opacity: 1; offset-distance: 0%; } 77% { opacity: 1; offset-distance: 100%; } 79%, 100% { opacity: 0; offset-distance: 100%; } }\n@keyframes vini-flow-foundation { 0%, 6%, 100% { opacity: 0; stroke-dashoffset: 1; } 10% { opacity: .9; stroke-dashoffset: 1; } 25%, 32% { opacity: .9; stroke-dashoffset: 0; } 38%, 96% { opacity: .18; stroke-dashoffset: 0; } }\n@keyframes vini-flow-storybook { 0%, 39%, 100% { opacity: 0; stroke-dashoffset: 1; } 41% { opacity: .9; stroke-dashoffset: 1; } 50%, 64% { opacity: .9; stroke-dashoffset: 0; } 69%, 96% { opacity: .18; stroke-dashoffset: 0; } }\n@keyframes vini-flow-outputs { 0%, 67%, 100% { opacity: 0; stroke-dashoffset: 1; } 69% { opacity: .9; stroke-dashoffset: 1; } 78%, 91% { opacity: .9; stroke-dashoffset: 0; } 96% { opacity: .3; stroke-dashoffset: 0; } }\n@keyframes vini-foundation-highlight { 0%, 2%, 33%, 100% { opacity: 0; } 6%, 24% { opacity: .9; } }\n@keyframes vini-core-highlight { 0%, 23%, 100% { opacity: 0; } 28%, 40% { opacity: 1; } 46%, 94% { opacity: .25; } }\n@keyframes vini-storybook-highlight { 0%, 45%, 100% { opacity: 0; } 49%, 66% { opacity: .9; } 71%, 94% { opacity: .25; } }\n@keyframes vini-output-highlight { 0%, 74%, 100% { opacity: 0; } 79%, 91% { opacity: .9; } 96% { opacity: .25; } }\n@keyframes vini-foundation-active { 0%, 27%, 100% { transform: none; } 6%, 20% { transform: translateY(-4px) scale(1.12); } }\n@keyframes vini-foundation-ruler { 0%, 100% { stroke-dashoffset: 1; } 8%, 94% { stroke-dashoffset: 0; } }\n@keyframes vini-core-back { 0%, 19%, 100% { transform: translate(-9px, 12px); opacity: .45; } 31%, 93% { transform: none; opacity: 1; } }\n@keyframes vini-core-middle { 0%, 20%, 100% { transform: translate(11px, 3px); opacity: .6; } 33%, 93% { transform: none; opacity: 1; } }\n@keyframes vini-core-front { 0%, 21%, 100% { transform: translateY(-17px); } 35%, 93% { transform: none; } }\n@keyframes vini-core-material { 0%, 22%, 100% { opacity: .18; transform: scale(.86); } 31%, 94% { opacity: 1; transform: none; } }\n@keyframes vini-storybook-state { 0%, 51%, 96%, 100% { opacity: 0; } 56%, 92% { opacity: 1; } }\n@keyframes vini-storybook-text { 0%, 51%, 96%, 100% { fill: var(--vini-theme-main-foreground-primary); } 56%, 92% { fill: var(--vini-theme-acc-foreground-on-fill); } }\n@keyframes vini-storybook-cursor { 0%, 48% { opacity: 0; transform: translate(126px, 80px); } 51% { opacity: 1; transform: translate(126px, 80px); } 56%, 62% { opacity: 1; transform: translate(103px, 51px); } 66%, 100% { opacity: 0; transform: translate(103px, 51px); } }\n@keyframes vini-storybook-api { 0%, 54%, 100% { opacity: .25; transform: translateY(3px); } 60%, 94% { opacity: 1; transform: none; } }\n@keyframes vini-output-reveal { 0%, 74%, 100% { opacity: .2; transform: translateY(7px); } 81%, 94% { opacity: 1; transform: none; } }\n@keyframes vini-system-glow { 0%, 17%, 100% { opacity: .06; } 29%, 40% { opacity: .22; } 55% { opacity: .1; } 80%, 91% { opacity: .2; } }\n@media (prefers-reduced-motion: reduce) {\n .next-vini-system-scene::before, .next-vini-system-scene [class*=\"next-vini-\"] { animation: none; }\n .next-vini-system-pulse, .next-vini-packet, .next-vini-system-cursor { opacity: 0; }\n .next-vini-system-highlight { opacity: .35; }\n .next-vini-storybook-state { opacity: 1; }\n .next-vini-storybook-text { fill: var(--vini-theme-acc-foreground-on-fill); }\n}\n@media (max-width: 560px) {\n .next-vini-system-node { inline-size: 45%; }\n .next-vini-system-atlas .next-vini-system-note, .next-vini-system-mcp .next-vini-system-note { min-block-size: calc(var(--vini-base-spacing-500) * 2); }\n .next-vini-system-foundation, .next-vini-system-atlas { inset-inline-start: 0; }\n .next-vini-system-storybook, .next-vini-system-mcp { inset-inline-end: 0; }\n .next-vini-system-core { inset-inline-start: 27.5%; }\n .next-vini-system-symbol { inline-size: calc(var(--vini-base-sizing-1000) * 2); block-size: calc(var(--vini-base-sizing-1000) * 1.34); }\n .next-vini-system-center-symbol { inline-size: calc(var(--vini-base-sizing-1000) * 2.3); block-size: calc(var(--vini-base-sizing-1000) * 1.54); }\n}\n"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "SHADCN-LICENSE.txt",
|
|
419
|
+
"language": "text",
|
|
420
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"limitations": [
|
|
424
|
+
"Educational Atlas illustration for React DOM; this is documentation artwork, not an executable product feature, reusable component API or a new pattern.",
|
|
425
|
+
"The host supplies React, matching VINi UI/tokens styles, ThemeBrandProvider and accessible font assets; check the installed package version and public API.",
|
|
426
|
+
"Styles and illustration geometry are taken from the named Atlas page; adapt its surrounding host layout and navigation before using them elsewhere.",
|
|
427
|
+
"This illustration is the explanatory artwork on the Atlas home page; it is not a separate product pattern and does not install or connect MCP.",
|
|
428
|
+
"The host must support ResizeObserver and CSS animation; the original stylesheet contains a reduced-motion alternative.",
|
|
429
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
430
|
+
],
|
|
431
|
+
"sourceCorrespondence": "Atlas 0.1.0-alpha.15: public home page, HomeSystemIllustration and its original CSS."
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"id": "atlas-snippet-use-start-60e7ebad7a4a",
|
|
435
|
+
"title": "Подключить VINi",
|
|
436
|
+
"description": "Public Atlas use-start documentation snippet.",
|
|
437
|
+
"componentIds": [],
|
|
438
|
+
"patternIds": [],
|
|
439
|
+
"limitations": [
|
|
440
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
441
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
442
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
443
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
444
|
+
],
|
|
445
|
+
"dependencies": [],
|
|
446
|
+
"sourceFiles": [
|
|
447
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
448
|
+
],
|
|
449
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Подключить VINi.",
|
|
450
|
+
"files": [
|
|
451
|
+
{
|
|
452
|
+
"name": "Fragment.txt",
|
|
453
|
+
"language": "text",
|
|
454
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "SHADCN-LICENSE.txt",
|
|
458
|
+
"language": "text",
|
|
459
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"id": "atlas-snippet-use-start-b5bef33fd079",
|
|
465
|
+
"title": "Проверить версии в проекте",
|
|
466
|
+
"description": "Public Atlas use-start documentation snippet.",
|
|
467
|
+
"componentIds": [],
|
|
468
|
+
"patternIds": [],
|
|
469
|
+
"limitations": [
|
|
470
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
471
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
472
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
473
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
474
|
+
],
|
|
475
|
+
"dependencies": [],
|
|
476
|
+
"sourceFiles": [
|
|
477
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
478
|
+
],
|
|
479
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Проверить версии в проекте.",
|
|
480
|
+
"files": [
|
|
481
|
+
{
|
|
482
|
+
"name": "Fragment.txt",
|
|
483
|
+
"language": "text",
|
|
484
|
+
"source": "npx vini-ds@0.1.0-alpha.15 status"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "SHADCN-LICENSE.txt",
|
|
488
|
+
"language": "text",
|
|
489
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"id": "atlas-snippet-use-code-24a3d87cd8c6",
|
|
495
|
+
"title": "Сначала посмотреть план",
|
|
496
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
497
|
+
"componentIds": [],
|
|
498
|
+
"patternIds": [],
|
|
499
|
+
"limitations": [
|
|
500
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
501
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
502
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
503
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
504
|
+
],
|
|
505
|
+
"dependencies": [],
|
|
506
|
+
"sourceFiles": [
|
|
507
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
508
|
+
],
|
|
509
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Сначала посмотреть план.",
|
|
510
|
+
"files": [
|
|
511
|
+
{
|
|
512
|
+
"name": "Fragment.txt",
|
|
513
|
+
"language": "text",
|
|
514
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init --plan"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "SHADCN-LICENSE.txt",
|
|
518
|
+
"language": "text",
|
|
519
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
520
|
+
}
|
|
521
|
+
]
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"id": "atlas-snippet-use-code-1ea1b3c39fbd",
|
|
525
|
+
"title": "Установить компоненты, токены и агента",
|
|
526
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
527
|
+
"componentIds": [],
|
|
528
|
+
"patternIds": [],
|
|
529
|
+
"limitations": [
|
|
530
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
531
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
532
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
533
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
534
|
+
],
|
|
535
|
+
"dependencies": [],
|
|
536
|
+
"sourceFiles": [
|
|
537
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
538
|
+
],
|
|
539
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Установить компоненты, токены и агента.",
|
|
540
|
+
"files": [
|
|
541
|
+
{
|
|
542
|
+
"name": "Fragment.txt",
|
|
543
|
+
"language": "text",
|
|
544
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "SHADCN-LICENSE.txt",
|
|
548
|
+
"language": "text",
|
|
549
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": "atlas-snippet-use-code-a83e056c3aba",
|
|
555
|
+
"title": "Компоненты и токены из npm",
|
|
556
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
557
|
+
"componentIds": [],
|
|
558
|
+
"patternIds": [],
|
|
559
|
+
"limitations": [
|
|
560
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
561
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
562
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
563
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
564
|
+
],
|
|
565
|
+
"dependencies": [],
|
|
566
|
+
"sourceFiles": [
|
|
567
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
568
|
+
],
|
|
569
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Компоненты и токены из npm.",
|
|
570
|
+
"files": [
|
|
571
|
+
{
|
|
572
|
+
"name": "Fragment.txt",
|
|
573
|
+
"language": "text",
|
|
574
|
+
"source": "npm install @vini-ds/ui@0.1.0-alpha.15 @vini-ds/tokens@0.1.0-alpha.15"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "SHADCN-LICENSE.txt",
|
|
578
|
+
"language": "text",
|
|
579
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "atlas-snippet-use-code-fc0981d6beae",
|
|
585
|
+
"title": "Стили и провайдер в точке входа",
|
|
586
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
587
|
+
"componentIds": [],
|
|
588
|
+
"patternIds": [],
|
|
589
|
+
"limitations": [
|
|
590
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
591
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
592
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
593
|
+
],
|
|
594
|
+
"dependencies": [
|
|
595
|
+
"@vini-ds/tokens/fonts.css",
|
|
596
|
+
"@vini-ds/tokens/themes.css",
|
|
597
|
+
"@vini-ds/tokens/typography.css",
|
|
598
|
+
"@vini-ds/ui/styles.css",
|
|
599
|
+
"react",
|
|
600
|
+
"@vini-ds/ui"
|
|
601
|
+
],
|
|
602
|
+
"sourceFiles": [
|
|
603
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
604
|
+
],
|
|
605
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Стили и провайдер в точке входа.",
|
|
606
|
+
"files": [
|
|
607
|
+
{
|
|
608
|
+
"name": "Fragment.tsx",
|
|
609
|
+
"language": "tsx",
|
|
610
|
+
"source": "import \"@vini-ds/tokens/fonts.css\";\nimport \"@vini-ds/tokens/themes.css\";\nimport \"@vini-ds/tokens/typography.css\";\nimport \"@vini-ds/ui/styles.css\";\n\nimport type { PropsWithChildren } from \"react\";\nimport { ThemeBrandProvider } from \"@vini-ds/ui\";\n\nexport function ViniRoot({ children }: PropsWithChildren) {\n return (\n <ThemeBrandProvider\n brand=\"vini\"\n colorway=\"blue\"\n theme=\"light\"\n typographyScope=\"desktop\"\n >\n {children}\n </ThemeBrandProvider>\n );\n}"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "SHADCN-LICENSE.txt",
|
|
614
|
+
"language": "text",
|
|
615
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"id": "atlas-snippet-use-code-cb37ab2d8c71",
|
|
621
|
+
"title": "Кнопка в существующем экране",
|
|
622
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
623
|
+
"componentIds": [],
|
|
624
|
+
"patternIds": [],
|
|
625
|
+
"limitations": [
|
|
626
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
627
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
628
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
629
|
+
],
|
|
630
|
+
"dependencies": [
|
|
631
|
+
"@vini-ds/ui"
|
|
632
|
+
],
|
|
633
|
+
"sourceFiles": [
|
|
634
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
635
|
+
],
|
|
636
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Кнопка в существующем экране.",
|
|
637
|
+
"files": [
|
|
638
|
+
{
|
|
639
|
+
"name": "Fragment.tsx",
|
|
640
|
+
"language": "tsx",
|
|
641
|
+
"source": "import { Button } from \"@vini-ds/ui\";\n\n<Button color=\"accent\" onClick={save}>Сохранить</Button>"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "SHADCN-LICENSE.txt",
|
|
645
|
+
"language": "text",
|
|
646
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"id": "atlas-snippet-use-code-aa57c842bd72",
|
|
652
|
+
"title": "Задача агенту",
|
|
653
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
654
|
+
"componentIds": [],
|
|
655
|
+
"patternIds": [],
|
|
656
|
+
"limitations": [
|
|
657
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
658
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
659
|
+
"This is the historical wording shown by the selected Atlas release, not proof that the current client has the indicated connection or that it is required for all workflows.",
|
|
660
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
661
|
+
],
|
|
662
|
+
"dependencies": [],
|
|
663
|
+
"sourceFiles": [
|
|
664
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
665
|
+
],
|
|
666
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Задача агенту.",
|
|
667
|
+
"files": [
|
|
668
|
+
{
|
|
669
|
+
"name": "Fragment.txt",
|
|
670
|
+
"language": "text",
|
|
671
|
+
"source": "Собери раздел обратной связи на VINi в существующем приложении. Используй Skill и MCP проекта: сначала проверь версию и доступные контракты.\nНужны список обращений, фильтр статуса и панель выбранного обращения. Подбери готовые компоненты; демонстрационные данные и состояния оставь в приложении.\nСохрани существующие провайдеры и навигацию. Покажи загрузку, пустой список, ошибку и повтор. Проверь сборку и затронутый сценарий; перечисли только выполненные проверки."
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "SHADCN-LICENSE.txt",
|
|
675
|
+
"language": "text",
|
|
676
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
677
|
+
}
|
|
678
|
+
]
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"id": "atlas-snippet-use-code-4da052e4cb53",
|
|
682
|
+
"title": "Анатомия Dialog; стили принадлежат приложению",
|
|
683
|
+
"description": "Public Atlas use-code documentation snippet.",
|
|
684
|
+
"componentIds": [],
|
|
685
|
+
"patternIds": [],
|
|
686
|
+
"limitations": [
|
|
687
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
688
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
689
|
+
"DetailsDialog.module.css is application-owned and is not provided by this anatomy fragment; consult the full public Dialog examples for CSS.",
|
|
690
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
691
|
+
],
|
|
692
|
+
"dependencies": [
|
|
693
|
+
"@vini-ds/ui",
|
|
694
|
+
"./DetailsDialog.module.css"
|
|
695
|
+
],
|
|
696
|
+
"sourceFiles": [
|
|
697
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
698
|
+
],
|
|
699
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Анатомия Dialog; стили принадлежат приложению.",
|
|
700
|
+
"files": [
|
|
701
|
+
{
|
|
702
|
+
"name": "Fragment.tsx",
|
|
703
|
+
"language": "tsx",
|
|
704
|
+
"source": "import { Dialog, DialogTrigger, DialogPortal, DialogBackdrop,\n DialogViewport, DialogPopup, DialogTitle, DialogDescription,\n DialogClose, Button } from '@vini-ds/ui';\nimport styles from './DetailsDialog.module.css';\n\nexport function DetailsDialog() {\n return <Dialog>\n <DialogTrigger render={<Button>Открыть сведения</Button>} />\n <DialogPortal>\n <DialogBackdrop className={styles.backdrop} />\n <DialogViewport className={styles.viewport}>\n <DialogPopup className={styles.popup}>\n <DialogTitle>Сведения</DialogTitle>\n <DialogDescription>Информация о выбранном обращении.</DialogDescription>\n <p>Содержимое и действия принадлежат приложению.</p>\n <DialogClose render={<Button variant=\"secondary\">Закрыть</Button>} />\n </DialogPopup>\n </DialogViewport>\n </DialogPortal>\n </Dialog>;\n}"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "SHADCN-LICENSE.txt",
|
|
708
|
+
"language": "text",
|
|
709
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"id": "atlas-snippet-use-agent-12eae051adad",
|
|
715
|
+
"title": "Установка с настройкой агента",
|
|
716
|
+
"description": "Public Atlas use-agent documentation snippet.",
|
|
717
|
+
"componentIds": [],
|
|
718
|
+
"patternIds": [],
|
|
719
|
+
"limitations": [
|
|
720
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
721
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
722
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
723
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
724
|
+
],
|
|
725
|
+
"dependencies": [],
|
|
726
|
+
"sourceFiles": [
|
|
727
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
728
|
+
],
|
|
729
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Установка с настройкой агента.",
|
|
730
|
+
"files": [
|
|
731
|
+
{
|
|
732
|
+
"name": "Fragment.txt",
|
|
733
|
+
"language": "text",
|
|
734
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "SHADCN-LICENSE.txt",
|
|
738
|
+
"language": "text",
|
|
739
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
740
|
+
}
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"id": "atlas-snippet-use-agent-72e0fff60a47",
|
|
745
|
+
"title": "Задача для агента",
|
|
746
|
+
"description": "Public Atlas use-agent documentation snippet.",
|
|
747
|
+
"componentIds": [],
|
|
748
|
+
"patternIds": [],
|
|
749
|
+
"limitations": [
|
|
750
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
751
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
752
|
+
"This is the historical wording shown by the selected Atlas release, not proof that the current client has the indicated connection or that it is required for all workflows.",
|
|
753
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
754
|
+
],
|
|
755
|
+
"dependencies": [],
|
|
756
|
+
"sourceFiles": [
|
|
757
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
758
|
+
],
|
|
759
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Задача для агента.",
|
|
760
|
+
"files": [
|
|
761
|
+
{
|
|
762
|
+
"name": "Fragment.txt",
|
|
763
|
+
"language": "text",
|
|
764
|
+
"source": "Проверь VINi в этом проекте, ничего не меняя. В текущем сеансе прочитай через проектный MCP vini://system/current, контракт используемого компонента и вызови check_updates.\nОбъясни, согласуются ли установленные версии компонентов, токенов и агента с контекстом MCP и доступной поставкой. Сообщи, что удалось проверить и есть ли обновление.\nЕсли MCP или реестр недоступен, укажи ошибку и не делай вывод, что обновлений нет. Не устанавливай обновление без отдельной команды."
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "SHADCN-LICENSE.txt",
|
|
768
|
+
"language": "text",
|
|
769
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "atlas-snippet-use-agent-6e1ad6be61f0",
|
|
775
|
+
"title": "Собрать раздел из готовых компонентов",
|
|
776
|
+
"description": "Public Atlas use-agent documentation snippet.",
|
|
777
|
+
"componentIds": [],
|
|
778
|
+
"patternIds": [],
|
|
779
|
+
"limitations": [
|
|
780
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
781
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
782
|
+
"This is the historical wording shown by the selected Atlas release, not proof that the current client has the indicated connection or that it is required for all workflows.",
|
|
783
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
784
|
+
],
|
|
785
|
+
"dependencies": [],
|
|
786
|
+
"sourceFiles": [
|
|
787
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
788
|
+
],
|
|
789
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Собрать раздел из готовых компонентов.",
|
|
790
|
+
"files": [
|
|
791
|
+
{
|
|
792
|
+
"name": "Fragment.txt",
|
|
793
|
+
"language": "text",
|
|
794
|
+
"source": "Собери раздел обратной связи на VINi в существующем приложении. Используй Skill и MCP проекта: сначала проверь версию и доступные контракты.\nНужны список обращений, фильтр статуса и панель выбранного обращения. Подбери готовые компоненты; демонстрационные данные и состояния оставь в приложении.\nСохрани существующие провайдеры и навигацию. Покажи загрузку, пустой список, ошибку и повтор. Проверь сборку и затронутый сценарий; перечисли только выполненные проверки."
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "SHADCN-LICENSE.txt",
|
|
798
|
+
"language": "text",
|
|
799
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"id": "atlas-snippet-use-releases-a86a4aecf824",
|
|
805
|
+
"title": "Проверить установленную версию",
|
|
806
|
+
"description": "Public Atlas use-releases documentation snippet.",
|
|
807
|
+
"componentIds": [],
|
|
808
|
+
"patternIds": [],
|
|
809
|
+
"limitations": [
|
|
810
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
811
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
812
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
813
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
814
|
+
],
|
|
815
|
+
"dependencies": [],
|
|
816
|
+
"sourceFiles": [
|
|
817
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
818
|
+
],
|
|
819
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Проверить установленную версию.",
|
|
820
|
+
"files": [
|
|
821
|
+
{
|
|
822
|
+
"name": "Fragment.txt",
|
|
823
|
+
"language": "text",
|
|
824
|
+
"source": "npx vini-ds@0.1.0-alpha.15 status"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "SHADCN-LICENSE.txt",
|
|
828
|
+
"language": "text",
|
|
829
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
830
|
+
}
|
|
831
|
+
]
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"id": "atlas-snippet-use-releases-5f4b0ee4e6fe",
|
|
835
|
+
"title": "Посмотреть план обновления",
|
|
836
|
+
"description": "Public Atlas use-releases documentation snippet.",
|
|
837
|
+
"componentIds": [],
|
|
838
|
+
"patternIds": [],
|
|
839
|
+
"limitations": [
|
|
840
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
841
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
842
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
843
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
844
|
+
],
|
|
845
|
+
"dependencies": [],
|
|
846
|
+
"sourceFiles": [
|
|
847
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
848
|
+
],
|
|
849
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Посмотреть план обновления.",
|
|
850
|
+
"files": [
|
|
851
|
+
{
|
|
852
|
+
"name": "Fragment.txt",
|
|
853
|
+
"language": "text",
|
|
854
|
+
"source": "npx vini-ds@0.1.0-alpha.15 update --plan"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "SHADCN-LICENSE.txt",
|
|
858
|
+
"language": "text",
|
|
859
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
860
|
+
}
|
|
861
|
+
]
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"id": "atlas-snippet-use-releases-44840a108392",
|
|
865
|
+
"title": "Обновить установленную связку",
|
|
866
|
+
"description": "Public Atlas use-releases documentation snippet.",
|
|
867
|
+
"componentIds": [],
|
|
868
|
+
"patternIds": [],
|
|
869
|
+
"limitations": [
|
|
870
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
871
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
872
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
873
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
874
|
+
],
|
|
875
|
+
"dependencies": [],
|
|
876
|
+
"sourceFiles": [
|
|
877
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
878
|
+
],
|
|
879
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Обновить установленную связку.",
|
|
880
|
+
"files": [
|
|
881
|
+
{
|
|
882
|
+
"name": "Fragment.txt",
|
|
883
|
+
"language": "text",
|
|
884
|
+
"source": "npx vini-ds@0.1.0-alpha.15 update"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "SHADCN-LICENSE.txt",
|
|
888
|
+
"language": "text",
|
|
889
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"id": "atlas-snippet-use-releases-1c0fd8c9aad1",
|
|
895
|
+
"title": "Обновить после ручного перехода импортов",
|
|
896
|
+
"description": "Public Atlas use-releases documentation snippet.",
|
|
897
|
+
"componentIds": [],
|
|
898
|
+
"patternIds": [],
|
|
899
|
+
"limitations": [
|
|
900
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
901
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
902
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
903
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
904
|
+
],
|
|
905
|
+
"dependencies": [],
|
|
906
|
+
"sourceFiles": [
|
|
907
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
908
|
+
],
|
|
909
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Обновить после ручного перехода импортов.",
|
|
910
|
+
"files": [
|
|
911
|
+
{
|
|
912
|
+
"name": "Fragment.txt",
|
|
913
|
+
"language": "text",
|
|
914
|
+
"source": "npx vini-ds@0.1.0-alpha.15 update --imports-migrated"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "SHADCN-LICENSE.txt",
|
|
918
|
+
"language": "text",
|
|
919
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"id": "atlas-snippet-use-releases-a797bb24bd29",
|
|
925
|
+
"title": "Подтвердить установленную связку",
|
|
926
|
+
"description": "Public Atlas use-releases documentation snippet.",
|
|
927
|
+
"componentIds": [],
|
|
928
|
+
"patternIds": [],
|
|
929
|
+
"limitations": [
|
|
930
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
931
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
932
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
933
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
934
|
+
],
|
|
935
|
+
"dependencies": [],
|
|
936
|
+
"sourceFiles": [
|
|
937
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
938
|
+
],
|
|
939
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Подтвердить установленную связку.",
|
|
940
|
+
"files": [
|
|
941
|
+
{
|
|
942
|
+
"name": "Fragment.txt",
|
|
943
|
+
"language": "text",
|
|
944
|
+
"source": "npx vini-ds@0.1.0-alpha.15 status"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "SHADCN-LICENSE.txt",
|
|
948
|
+
"language": "text",
|
|
949
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
950
|
+
}
|
|
951
|
+
]
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"id": "atlas-snippet-use-help-aff3344dadee",
|
|
955
|
+
"title": "Описание проблемы",
|
|
956
|
+
"description": "Public Atlas use-help documentation snippet.",
|
|
957
|
+
"componentIds": [],
|
|
958
|
+
"patternIds": [],
|
|
959
|
+
"limitations": [
|
|
960
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
961
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
962
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
963
|
+
],
|
|
964
|
+
"dependencies": [],
|
|
965
|
+
"sourceFiles": [
|
|
966
|
+
"experiments/atlas-next/src/pages/SharedConnectionPages.tsx"
|
|
967
|
+
],
|
|
968
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SharedConnectionPages.tsx, Описание проблемы.",
|
|
969
|
+
"files": [
|
|
970
|
+
{
|
|
971
|
+
"name": "Fragment.txt",
|
|
972
|
+
"language": "text",
|
|
973
|
+
"source": "Задача и ожидаемый результат:\nКомпонент или сценарий:\nВерсии VINi из package.json и lockfile:\nNode, React, bundler и package manager:\nШаги воспроизведения:\nЧто получилось и текст ошибки:\nЧто уже проверено:"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "SHADCN-LICENSE.txt",
|
|
977
|
+
"language": "text",
|
|
978
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"id": "atlas-snippet-guide-1d19ee6ffc03",
|
|
984
|
+
"title": "Выбираем смысл и внешний вид отдельно",
|
|
985
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
986
|
+
"componentIds": [],
|
|
987
|
+
"patternIds": [],
|
|
988
|
+
"limitations": [
|
|
989
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
990
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
991
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
992
|
+
],
|
|
993
|
+
"dependencies": [],
|
|
994
|
+
"sourceFiles": [
|
|
995
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
996
|
+
],
|
|
997
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, Выбираем смысл и внешний вид отдельно.",
|
|
998
|
+
"files": [
|
|
999
|
+
{
|
|
1000
|
+
"name": "Fragment.tsx",
|
|
1001
|
+
"language": "tsx",
|
|
1002
|
+
"source": "<Heading level={2} token=\"desktop/headline/regular/900\">\n Новая встреча\n</Heading>\n<Text as=\"p\" token=\"desktop/body/regular/500\">\n Создайте встречу и пригласите команду.\n</Text>"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1006
|
+
"language": "text",
|
|
1007
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1008
|
+
}
|
|
1009
|
+
]
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"id": "atlas-snippet-guide-312ad8dea8ff",
|
|
1013
|
+
"title": "Одна иконка — два способа показать действие",
|
|
1014
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1015
|
+
"componentIds": [],
|
|
1016
|
+
"patternIds": [],
|
|
1017
|
+
"limitations": [
|
|
1018
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1019
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1020
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1021
|
+
],
|
|
1022
|
+
"dependencies": [],
|
|
1023
|
+
"sourceFiles": [
|
|
1024
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1025
|
+
],
|
|
1026
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, Одна иконка — два способа показать действие.",
|
|
1027
|
+
"files": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "Fragment.tsx",
|
|
1030
|
+
"language": "tsx",
|
|
1031
|
+
"source": "<Button startIcon=\"videocam\">Подключиться</Button>\n\n<Button startIcon=\"videocam\"\n aria-label=\"Подключиться к встрече\" />"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1035
|
+
"language": "text",
|
|
1036
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1037
|
+
}
|
|
1038
|
+
]
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"id": "atlas-snippet-guide-b581e46042cb",
|
|
1042
|
+
"title": "CSS",
|
|
1043
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1044
|
+
"componentIds": [],
|
|
1045
|
+
"patternIds": [],
|
|
1046
|
+
"limitations": [
|
|
1047
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1048
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1049
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1050
|
+
],
|
|
1051
|
+
"dependencies": [],
|
|
1052
|
+
"sourceFiles": [
|
|
1053
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1054
|
+
],
|
|
1055
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, CSS.",
|
|
1056
|
+
"files": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "Fragment.css",
|
|
1059
|
+
"language": "css",
|
|
1060
|
+
"source": ".meeting-panel {\n background: var(--vini-theme-main-base);\n color: var(--vini-theme-main-foreground-primary);\n padding: var(--vini-base-spacing-500);\n}"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1064
|
+
"language": "text",
|
|
1065
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1066
|
+
}
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"id": "atlas-snippet-guide-b27ad06d123c",
|
|
1071
|
+
"title": "JavaScript",
|
|
1072
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1073
|
+
"componentIds": [],
|
|
1074
|
+
"patternIds": [],
|
|
1075
|
+
"limitations": [
|
|
1076
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1077
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1078
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1079
|
+
],
|
|
1080
|
+
"dependencies": [
|
|
1081
|
+
"@vini-ds/tokens"
|
|
1082
|
+
],
|
|
1083
|
+
"sourceFiles": [
|
|
1084
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1085
|
+
],
|
|
1086
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, JavaScript.",
|
|
1087
|
+
"files": [
|
|
1088
|
+
{
|
|
1089
|
+
"name": "Fragment.tsx",
|
|
1090
|
+
"language": "tsx",
|
|
1091
|
+
"source": "import { tokenByName } from \"@vini-ds/tokens\";\n\nconst style = {\n background: tokenByName[\"theme/main/base\"],\n};"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1095
|
+
"language": "text",
|
|
1096
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1097
|
+
}
|
|
1098
|
+
]
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
"id": "atlas-snippet-guide-413f5f303bdf",
|
|
1102
|
+
"title": "JSON через resolver",
|
|
1103
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1104
|
+
"componentIds": [],
|
|
1105
|
+
"patternIds": [],
|
|
1106
|
+
"limitations": [
|
|
1107
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1108
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1109
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1110
|
+
],
|
|
1111
|
+
"dependencies": [
|
|
1112
|
+
"@vini-ds/tokens/native"
|
|
1113
|
+
],
|
|
1114
|
+
"sourceFiles": [
|
|
1115
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1116
|
+
],
|
|
1117
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, JSON через resolver.",
|
|
1118
|
+
"files": [
|
|
1119
|
+
{
|
|
1120
|
+
"name": "Fragment.tsx",
|
|
1121
|
+
"language": "tsx",
|
|
1122
|
+
"source": "import { resolveNativeTokens } from \"@vini-ds/tokens/native\";\n\nconst tokens = resolveNativeTokens({\n theme: \"Light\", brand: \"Blue\",\n fontTheme: \"Roboto\", typography: \"Desktop\",\n});\nconst json = JSON.stringify(tokens, null, 2);"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1126
|
+
"language": "text",
|
|
1127
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1128
|
+
}
|
|
1129
|
+
]
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"id": "atlas-snippet-guide-24a3d87cd8c6",
|
|
1133
|
+
"title": "Сначала посмотреть план",
|
|
1134
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1135
|
+
"componentIds": [],
|
|
1136
|
+
"patternIds": [],
|
|
1137
|
+
"limitations": [
|
|
1138
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1139
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1140
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
1141
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1142
|
+
],
|
|
1143
|
+
"dependencies": [],
|
|
1144
|
+
"sourceFiles": [
|
|
1145
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1146
|
+
],
|
|
1147
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, Сначала посмотреть план.",
|
|
1148
|
+
"files": [
|
|
1149
|
+
{
|
|
1150
|
+
"name": "Fragment.txt",
|
|
1151
|
+
"language": "text",
|
|
1152
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init --plan"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1156
|
+
"language": "text",
|
|
1157
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"id": "atlas-snippet-guide-d73885dfb8c5",
|
|
1163
|
+
"title": "Затем подключить",
|
|
1164
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1165
|
+
"componentIds": [],
|
|
1166
|
+
"patternIds": [],
|
|
1167
|
+
"limitations": [
|
|
1168
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1169
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1170
|
+
"The shown command is historical documentation for this Atlas version. Verify the selected release and user authorization before any installation or update.",
|
|
1171
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1172
|
+
],
|
|
1173
|
+
"dependencies": [],
|
|
1174
|
+
"sourceFiles": [
|
|
1175
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1176
|
+
],
|
|
1177
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, Затем подключить.",
|
|
1178
|
+
"files": [
|
|
1179
|
+
{
|
|
1180
|
+
"name": "Fragment.txt",
|
|
1181
|
+
"language": "text",
|
|
1182
|
+
"source": "npx vini-ds@0.1.0-alpha.15 init"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1186
|
+
"language": "text",
|
|
1187
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1188
|
+
}
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"id": "atlas-snippet-guide-d239c80e3b01",
|
|
1193
|
+
"title": "Точка входа после установки пакетов",
|
|
1194
|
+
"description": "Public Atlas guide documentation snippet.",
|
|
1195
|
+
"componentIds": [],
|
|
1196
|
+
"patternIds": [],
|
|
1197
|
+
"limitations": [
|
|
1198
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1199
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1200
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1201
|
+
],
|
|
1202
|
+
"dependencies": [
|
|
1203
|
+
"@vini-ds/tokens/fonts.css",
|
|
1204
|
+
"@vini-ds/tokens/themes.css",
|
|
1205
|
+
"@vini-ds/tokens/typography.css",
|
|
1206
|
+
"@vini-ds/ui/styles.css",
|
|
1207
|
+
"@vini-ds/ui"
|
|
1208
|
+
],
|
|
1209
|
+
"sourceFiles": [
|
|
1210
|
+
"experiments/atlas-next/src/pages/SystemGuidePage.tsx"
|
|
1211
|
+
],
|
|
1212
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/SystemGuidePage.tsx, Точка входа после установки пакетов.",
|
|
1213
|
+
"files": [
|
|
1214
|
+
{
|
|
1215
|
+
"name": "Fragment.tsx",
|
|
1216
|
+
"language": "tsx",
|
|
1217
|
+
"source": "import \"@vini-ds/tokens/fonts.css\";\nimport \"@vini-ds/tokens/themes.css\";\nimport \"@vini-ds/tokens/typography.css\";\nimport \"@vini-ds/ui/styles.css\";\nimport { ThemeBrandProvider, Button } from \"@vini-ds/ui\";\n\nexport function App() {\n return (\n <ThemeBrandProvider brand=\"vini\" colorway=\"blue\"\n theme=\"light\" typographyScope=\"desktop\">\n <Button color=\"accent\">Создать встречу</Button>\n </ThemeBrandProvider>\n );\n}"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1221
|
+
"language": "text",
|
|
1222
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1223
|
+
}
|
|
1224
|
+
]
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"id": "atlas-snippet-home-ef30fd3b5298",
|
|
1228
|
+
"title": "Первый компонент",
|
|
1229
|
+
"description": "Public Atlas home documentation snippet.",
|
|
1230
|
+
"componentIds": [],
|
|
1231
|
+
"patternIds": [],
|
|
1232
|
+
"limitations": [
|
|
1233
|
+
"This is a public Atlas documentation snippet, not proof of a complete executable module, a product implementation or a verified installed API.",
|
|
1234
|
+
"The application owns missing imports, handlers, routes, CSS and integration. Compare the selected Atlas release with the actual installed package versions.",
|
|
1235
|
+
"SHADCN-LICENSE.txt is a retained third-party notice; it does not establish a license grant for VINi or this entire example."
|
|
1236
|
+
],
|
|
1237
|
+
"dependencies": [
|
|
1238
|
+
"@vini-ds/ui"
|
|
1239
|
+
],
|
|
1240
|
+
"sourceFiles": [
|
|
1241
|
+
"experiments/atlas-next/src/pages/HomeStartSections.tsx"
|
|
1242
|
+
],
|
|
1243
|
+
"sourceCorrespondence": "Public Atlas 0.1.0-alpha.15: experiments/atlas-next/src/pages/HomeStartSections.tsx, Первый компонент.",
|
|
1244
|
+
"files": [
|
|
1245
|
+
{
|
|
1246
|
+
"name": "Fragment.tsx",
|
|
1247
|
+
"language": "tsx",
|
|
1248
|
+
"source": "import { Button } from '@vini-ds/ui';\n\n<Button color=\"accent\">Продолжить</Button>"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "SHADCN-LICENSE.txt",
|
|
1252
|
+
"language": "text",
|
|
1253
|
+
"source": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
|
|
1254
|
+
}
|
|
1255
|
+
]
|
|
1256
|
+
}
|
|
1257
|
+
]
|