@agent-ui-kit/components 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/README.md +18 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -33,6 +33,24 @@ import '@agent-ui-kit/components/controls/menu'
33
33
 
34
34
  Design notes: light-DOM rendering (your CSS reaches everything), ARIA via `ElementInternals` (form-associated custom elements — real form participation, no native inputs), and per-component `--ui-{name}-*` CSS custom-property seams over the shared `--md-sys-*` token system.
35
35
 
36
+ ## CDN (no build step)
37
+
38
+ ```html
39
+ <!-- styles: shared's two sheets DIRECTLY (foundation-styles.css uses bare @imports a browser
40
+ can't resolve), then the component barrel (relative imports only — CDN-safe) -->
41
+ <link rel="stylesheet" href="https://esm.sh/@agent-ui-kit/shared@0.0.5/tokens.css">
42
+ <link rel="stylesheet" href="https://esm.sh/@agent-ui-kit/shared@0.0.5/dimensions.css">
43
+ <link rel="stylesheet" href="https://esm.sh/@agent-ui-kit/components@0.0.5/component-styles.css">
44
+
45
+ <script type="module">
46
+ import 'https://esm.sh/@agent-ui-kit/components@0.0.5/components' // the whole fleet, self-defining
47
+ </script>
48
+
49
+ <ui-button variant="solid">Save</ui-button>
50
+ ```
51
+
52
+ esm.sh rewrites the bare `@agent-ui-kit/*` sibling imports for you; pin the version in real pages.
53
+
36
54
  ## The @agent-ui-kit family
37
55
 
38
56
  | Package | What it is |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-ui-kit/components",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "The agent-ui component framework: a fine-grained signals kernel, 50+ accessible light-DOM `ui-*` custom elements (form controls, containers, overlays, data-viz), and a token-driven styling system.",
5
5
  "keywords": [
6
6
  "agent-ui",
@@ -270,8 +270,8 @@
270
270
  "./base-styles.css": "./dist/base-styles.css"
271
271
  },
272
272
  "dependencies": {
273
- "@agent-ui-kit/icons": "^0.0.4",
274
- "@agent-ui-kit/shared": "^0.0.4"
273
+ "@agent-ui-kit/icons": "^0.0.5",
274
+ "@agent-ui-kit/shared": "^0.0.5"
275
275
  },
276
276
  "files": [
277
277
  "dist"