@archetypeai/ds-cli 0.11.0 → 0.12.1
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/files/ds-manifest.json +22 -5
- package/package.json +1 -1
package/files/ds-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "archetypeai-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "alert",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"description": "Small pill for statuses and selected items.",
|
|
46
46
|
"usage": [
|
|
47
47
|
"Status: `variant=\"status\"` colored via status tokens, e.g. class=\"text-atai-good border-atai-good\" (Completed), atai-critical (Failed), atai-warning (Interrupted), atai-neutral (Running), muted-foreground (Pending).",
|
|
48
|
+
"Size: `size=\"sm\"` gives the status pill smaller type and tighter spacing for tight spaces (cards, tables) or inline with text; defaults to `size=\"default\"`.",
|
|
48
49
|
"Selection: `variant=\"selection\"` for dismissible picks, with an embedded `Button variant=\"ghost\" size=\"inline\" visibility=\"dimmed\"` X icon to remove."
|
|
49
50
|
],
|
|
50
51
|
"variants": {
|
|
@@ -53,14 +54,30 @@
|
|
|
53
54
|
"variant": [
|
|
54
55
|
"selection",
|
|
55
56
|
"status"
|
|
57
|
+
],
|
|
58
|
+
"size": [
|
|
59
|
+
"default",
|
|
60
|
+
"sm"
|
|
56
61
|
]
|
|
57
62
|
},
|
|
58
63
|
"defaults": {
|
|
59
|
-
"variant": "status"
|
|
64
|
+
"variant": "status",
|
|
65
|
+
"size": "default"
|
|
60
66
|
}
|
|
61
67
|
}
|
|
62
68
|
}
|
|
63
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"name": "breadcrumb",
|
|
72
|
+
"import": "@archetypeai/ds-ui-svelte-console/primitives/breadcrumb",
|
|
73
|
+
"source": "https://design-system-console.archetypeai.workers.dev/r/breadcrumb.json",
|
|
74
|
+
"description": "Hierarchical navigation trail for nested console flows (e.g. user management).",
|
|
75
|
+
"usage": [
|
|
76
|
+
"Compose Breadcrumb.Root > Breadcrumb.List > Breadcrumb.Item; place a Breadcrumb.Separator between items (defaults to a chevron, override via children).",
|
|
77
|
+
"Ancestors are links (`Breadcrumb.Link href=\"...\"`); the current location is the non-link `Breadcrumb.Page` (carries aria-current=\"page\").",
|
|
78
|
+
"Collapse long trails by putting `Breadcrumb.Ellipsis` inside a Breadcrumb.Item. Typography is mono/uppercase to match the `backToDashboard` button."
|
|
79
|
+
]
|
|
80
|
+
},
|
|
64
81
|
{
|
|
65
82
|
"name": "button",
|
|
66
83
|
"import": "@archetypeai/ds-ui-svelte-console/primitives/button",
|
|
@@ -186,10 +203,10 @@
|
|
|
186
203
|
"name": "codeblock",
|
|
187
204
|
"import": "@archetypeai/ds-ui-svelte-console/primitives/codeblock",
|
|
188
205
|
"source": "https://design-system-console.archetypeai.workers.dev/r/codeblock.json",
|
|
189
|
-
"description": "Syntax-highlighted code display (CodeBlock, shiki) and editable code field with JSON-schema validation (CodeBlockEditor).",
|
|
206
|
+
"description": "Syntax-highlighted code display (CodeBlock, shiki; yaml/json/python/shell) and editable code field with JSON-schema validation for YAML (CodeBlockEditor).",
|
|
190
207
|
"usage": [
|
|
191
|
-
"`<CodeBlock code language=\"yaml\" />` for read-only
|
|
192
|
-
"Config editors: `<CodeBlockEditor bind:value bind:valid bind:validating bind:schemaUnavailable schema={jsonSchema} placeholder showDownload downloadBaseName disabled />` + a status badge row driven by the bindables (validating → 'Checking…' spinner; !valid → 'Invalid'; valid+schemaUnavailable → 'YAML parses'; valid → 'Valid YAML'). Grows to content (floor via `minHeight`, default 10rem); cap+scroll via `maxHeight` (any length) or `scroll` (=600px). Visually identical to CodeBlock."
|
|
208
|
+
"`<CodeBlock code language=\"yaml\" />` for read-only code (border built in). `language` accepts `\"yaml\" | \"json\" | \"python\" | \"shell\"` — use `\"shell\"` for bash/sh/curl snippets. Theme switches are CSS-only — no {#key} wrapper needed. Grows to content by default; to cap the height pass `maxHeight=\"20rem\"` (any CSS length) or the `scroll` shorthand (=600px) — this puts the scrollbar on the internal scroller, whereas a `max-h-*` class on the component clips without scrolling. `showLineNumbers={false}` hides the gutter; `wrap` wraps long lines instead of scrolling horizontally.",
|
|
209
|
+
"Config editors: `<CodeBlockEditor bind:value bind:valid bind:validating bind:schemaUnavailable schema={jsonSchema} placeholder showDownload downloadBaseName disabled />` + a status badge row driven by the bindables (validating → 'Checking…' spinner; !valid → 'Invalid'; valid+schemaUnavailable → 'YAML parses'; valid → 'Valid YAML'). Grows to content (floor via `minHeight`, default 10rem); cap+scroll via `maxHeight` (any length) or `scroll` (=600px). Visually identical to CodeBlock. `language` (same union, default `\"yaml\"`) switches highlighting; live validation runs only for `\"yaml\"` — for other languages `schema` is ignored and `valid` stays true. The download button's extension/MIME follows the language (.yaml/.json/.py/.sh)."
|
|
193
210
|
]
|
|
194
211
|
},
|
|
195
212
|
{
|