@archetypeai/ds-cli 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files/ds-manifest.json +26 -3
- 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.11.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "alert",
|
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
"source": "https://design-system-console.archetypeai.workers.dev/r/codeblock.json",
|
|
189
189
|
"description": "Syntax-highlighted code display (CodeBlock, shiki) and editable code field with JSON-schema validation (CodeBlockEditor).",
|
|
190
190
|
"usage": [
|
|
191
|
-
"`<CodeBlock code language=\"yaml\"
|
|
192
|
-
"Config editors: `<CodeBlockEditor bind:value bind:valid bind:schemaUnavailable schema={jsonSchema} placeholder showDownload downloadBaseName />` + a
|
|
191
|
+
"`<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.",
|
|
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."
|
|
193
193
|
]
|
|
194
194
|
},
|
|
195
195
|
{
|
|
@@ -625,6 +625,29 @@
|
|
|
625
625
|
"source": "https://design-system-labs.archetypeai.workers.dev/r/labs-utils.json",
|
|
626
626
|
"description": "Labs domain helpers plus cn() re-exported from console."
|
|
627
627
|
},
|
|
628
|
+
{
|
|
629
|
+
"name": "loading-bar",
|
|
630
|
+
"import": "@archetypeai/ds-ui-svelte-console/primitives/loading-bar",
|
|
631
|
+
"source": "https://design-system-console.archetypeai.workers.dev/r/loading-bar.json",
|
|
632
|
+
"description": "Indeterminate loading bar for route/navigation transitions.",
|
|
633
|
+
"usage": [
|
|
634
|
+
"Mount once in the root layout and gate on navigation: `{#if navigating.to}<LoadingBar />{/if}` (SvelteKit `navigating` from `$app/state`). Presentational only — it does not read navigation state itself.",
|
|
635
|
+
"`position=\"bottom\"` pins it to the viewport bottom; always fixed + full-width. Indeterminate only — for a determinate value bar use `progress`."
|
|
636
|
+
],
|
|
637
|
+
"variants": {
|
|
638
|
+
"loadingBarVariants": {
|
|
639
|
+
"axes": {
|
|
640
|
+
"position": [
|
|
641
|
+
"top",
|
|
642
|
+
"bottom"
|
|
643
|
+
]
|
|
644
|
+
},
|
|
645
|
+
"defaults": {
|
|
646
|
+
"position": "top"
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
},
|
|
628
651
|
{
|
|
629
652
|
"name": "logo",
|
|
630
653
|
"import": "@archetypeai/ds-ui-svelte-labs/primitives/logo",
|