@archetypeai/ds-cli 0.10.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archetypeai-design-system",
3
- "version": "0.10.1",
3
+ "version": "0.12.0",
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",
@@ -188,8 +205,8 @@
188
205
  "source": "https://design-system-console.archetypeai.workers.dev/r/codeblock.json",
189
206
  "description": "Syntax-highlighted code display (CodeBlock, shiki) and editable code field with JSON-schema validation (CodeBlockEditor).",
190
207
  "usage": [
191
- "`<CodeBlock code language=\"yaml\" class=\"border-border border\" />` for configs; wrap in {#key darkMode.current} so it re-highlights on theme flips.",
192
- "Config editors: `<CodeBlockEditor bind:value bind:valid bind:schemaUnavailable schema={jsonSchema} placeholder showDownload downloadBaseName />` + a Label sectionHeader row showing the derived valid/invalid state in status tokens."
208
+ "`<CodeBlock code language=\"yaml\" />` for read-only configs (border built in). 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."
193
210
  ]
194
211
  },
195
212
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archetypeai/ds-cli",
3
- "version": "0.10.1",
3
+ "version": "0.12.0",
4
4
  "description": "Archetype AI Design System CLI Tool",
5
5
  "type": "module",
6
6
  "bin": {