@adia-ai/web-modules 0.7.12 → 0.7.14

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog — @adia-ai/web-modules
2
2
 
3
+ ## [0.7.14] — 2026-06-08
4
+
5
+ ### Maintenance
6
+ - **Lockstep version bump only.** No source changes in this package; bumped to maintain the 9-package version coherence enforced by `scripts/release/check-lockstep.mjs`. Substantive v0.7.14 work shipped in input-ui/textarea-ui .value upgrade-safety fix. See `packages/web-components/CHANGELOG.md (0.7.14)` for details.
7
+
8
+ ## [0.7.13] — 2026-06-06
9
+
10
+ ### Fixed
11
+ - **`./css/sheet` subpath export now resolves TS types.** Same fix as `@adia-ai/web-components` — added `web-modules.sheet.d.ts` + the `types` condition + the `.d.ts` to `files[]`.
12
+
13
+ ### Added
14
+ - **`<embed-shell>` `/with-css` companion** (ADR-0030) — `import '@adia-ai/web-modules/shell/embed-shell/with-css'` registers the element + mounts its CSS in one line; completes the 5-shell `/with-css` family (was the lone shell missing it). (check:with-css-pairing.)
15
+
16
+ ### Docs
17
+ - README CDN snippets refreshed: `@0.6` → `@0.7`.
18
+
3
19
  ## [0.7.12] — 2026-06-04
4
20
 
5
21
  ### Changed
@@ -967,7 +983,7 @@ import '@adia-ai/web-modules/theme/theme-panel.css';
967
983
  "./theme/*.css": "./theme/*/*.css"
968
984
  ```
969
985
 
970
- The pattern key `./<cluster>/*.css` captures the element name; the value's two `*` are both substituted with the captured name, resolving `<cluster>/<elem>.css` requests to `<cluster>/<elem>/<elem>.css` on disk. Existing JS subpath exports (`./<cluster>/*` → `./<cluster>/*/*.js`) are preserved unchanged — both can coexist because `.css` requests don't collide with bare-name `.js` requests. Driven by [consumer feedback](/Users/kimba/Projects/adia/color-app/docs/outbound/FEEDBACK-adia-packages.md) from Design Tokens Studio (claim #6, the only fully-correct item in their 8-claim audit).
986
+ The pattern key `./<cluster>/*.css` captures the element name; the value's two `*` are both substituted with the captured name, resolving `<cluster>/<elem>.css` requests to `<cluster>/<elem>/<elem>.css` on disk. Existing JS subpath exports (`./<cluster>/*` → `./<cluster>/*/*.js`) are preserved unchanged — both can coexist because `.css` requests don't collide with bare-name `.js` requests. Driven by consumer feedback from Design Tokens Studio (claim #6, the only fully-correct item in their 8-claim audit).
971
987
 
972
988
  ### Documentation
973
989
 
@@ -978,7 +994,7 @@ The pattern key `./<cluster>/*.css` captures the element name; the value's two `
978
994
 
979
995
  Lockstep PATCH cut alongside `@adia-ai/web-components@0.4.4` (14 yaml gap closures from corpus simplification arc), `@adia-ai/a2ui-runtime@0.4.4` (registry expansion +27 web-modules + renderer kebab-case fix), `@adia-ai/a2ui-compose@0.4.4` (composition-library rename + transpiler `<a>` → Link), `@adia-ai/a2ui-corpus@0.4.4` (corpus simplification arc §36–§51), `@adia-ai/a2ui-mcp@0.4.4` (`get_fragment` tool retirement). Source byte-identical to v0.4.3.
980
996
 
981
- Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4.0` covers `0.4.x` under semver). See root [CHANGELOG.md `## [0.4.4]`](../../../CHANGELOG.md) for the cut narrative.
997
+ Internal `@adia-ai/*` dep ranges stay at `^0.4.0` (patch-cut asymmetry — `^0.4.0` covers `0.4.x` under semver). See root [CHANGELOG.md `## [0.4.4]`](../../CHANGELOG.md) for the cut narrative.
982
998
  ## [0.4.3] - 2026-05-11
983
999
 
984
1000
  ### Documentation
@@ -1129,7 +1145,7 @@ Legacy authoring shapes (`<section data-chat-messages>`, `<chat-input-ui data-ch
1129
1145
  Legacy authoring shapes (`<aside data-sidebar="leading">`, `<dialog data-command>`, `<div data-resize>`, `[data-sidebar-toggle]`, `<aside-ui slot="leading">`) all still work identically. Mixed markup (some bespoke, some legacy) renders the same. Migration is opt-in.
1130
1146
  ## [0.3.3] - 2026-05-07
1131
1147
 
1132
- **Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
1148
+ **Lockstep cut.** All 9 published `@adia-ai/*` packages now share version `0.3.3`, governed by [`docs/specs/package-architecture.md` § 15](../../docs/specs/package-architecture.md#15-versioning-policy).
1133
1149
 
1134
1150
  ### Changed
1135
1151
 
@@ -1142,7 +1158,7 @@ Legacy authoring shapes (`<aside data-sidebar="leading">`, `<dialog data-command
1142
1158
  ## [0.3.2] - 2026-05-06
1143
1159
 
1144
1160
  **9-package lockstep patch cut to v0.3.2.** All lockstep members share
1145
- one version per [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
1161
+ one version per [`docs/specs/package-architecture.md` § 15](../../docs/specs/package-architecture.md#15-versioning-policy).
1146
1162
  Internal `@adia-ai/*` dep ranges unchanged at `^0.3.0`.
1147
1163
 
1148
1164
  ### No source changes
@@ -1226,7 +1242,7 @@ _Nothing yet._
1226
1242
 
1227
1243
  **Lockstep cut.** All 8 published `@adia-ai/*` packages bump
1228
1244
  0.2.2 → 0.2.3 per
1229
- [`docs/specs/package-architecture.md` § 15](../../../docs/specs/package-architecture.md#15-versioning-policy).
1245
+ [`docs/specs/package-architecture.md` § 15](../../docs/specs/package-architecture.md#15-versioning-policy).
1230
1246
  Patch cut — no breaking changes.
1231
1247
 
1232
1248
  ### Changed
package/README.md CHANGED
@@ -19,11 +19,11 @@ Since **v0.6.30**, both this package and `@adia-ai/web-components` ship pre-flat
19
19
 
20
20
  ```html
21
21
  <!-- CSS: all primitives + the shell tier you use -->
22
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-components@0.6/dist/web-components.min.css">
23
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/shell/admin-shell.min.css">
22
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-components@0.7/dist/web-components.min.css">
23
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/shell/admin-shell.min.css">
24
24
 
25
25
  <!-- JS: everything in one bundle (primitives + all 4 shells + a2ui-runtime; ~190 KB gzipped) -->
26
- <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/everything.min.js"></script>
26
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/everything.min.js"></script>
27
27
 
28
28
  <admin-shell mode="rounded borderless">
29
29
  <admin-sidebar slot="leading" resizable collapsible>
@@ -81,8 +81,8 @@ Since **v0.6.30**, both this package and `@adia-ai/web-components` ship pre-flat
81
81
  **Per-shell setup (advanced — only one shell tier loaded):**
82
82
 
83
83
  ```html
84
- <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-components@0.6/dist/web-components.min.js"></script>
85
- <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/shell/admin-shell.min.js"></script>
84
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-components@0.7/dist/web-components.min.js"></script>
85
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/shell/admin-shell.min.js"></script>
86
86
  ```
87
87
 
88
88
  | Bundle | Path | Gzipped | Contents | When to use |
@@ -96,13 +96,13 @@ Since **v0.6.30**, both this package and `@adia-ai/web-components` ship pre-flat
96
96
  **Each shell needs its matching CSS** (the kitchen-sink example above loads only `admin-shell.min.css`). Mirror the JS path — swap the shell tier:
97
97
 
98
98
  ```html
99
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/shell/admin-shell.min.css">
100
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/chat/chat-shell.min.css">
101
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/editor/editor-shell.min.css">
102
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.6/dist/simple/simple-shell.min.css">
99
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/shell/admin-shell.min.css">
100
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/chat/chat-shell.min.css">
101
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/editor/editor-shell.min.css">
102
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@adia-ai/web-modules@0.7/dist/simple/simple-shell.min.css">
103
103
  ```
104
104
 
105
- The `@0.6` range tracks the latest `0.6.x` patch (won't jump to a breaking `0.7`); pin an exact version (e.g. `@0.6.45`) for reproducible builds.
105
+ The `@0.7` range tracks the latest `0.6.x` patch (won't jump to a breaking `0.8`); pin an exact version (e.g. `@0.7.13`) for reproducible builds.
106
106
 
107
107
  **Pick ONE bundle path.** Mixing `everything.min.js` with a separate `web-components.min.js` causes `customElements.define` to throw "name already defined". For CodePen the kitchen-sink path is correct.
108
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-modules",
3
- "version": "0.7.12",
3
+ "version": "0.7.14",
4
4
  "description": "AdiaUI composite custom elements \u2014 shell, chat, editor, runtime clusters built from @adia-ai/web-components primitives. Subpath exports per cluster.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -14,6 +14,7 @@
14
14
  "default": "./dist/web-modules.min.css"
15
15
  },
16
16
  "./css/sheet": {
17
+ "types": "./web-modules.sheet.d.ts",
17
18
  "import": "./dist/web-modules.sheet.js",
18
19
  "default": "./dist/web-modules.sheet.js"
19
20
  },
@@ -260,6 +261,7 @@
260
261
  "!generative/**/*.html",
261
262
  "index.js",
262
263
  "css-module.d.ts",
264
+ "web-modules.sheet.d.ts",
263
265
  "README.md",
264
266
  "CHANGELOG.md"
265
267
  ],
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Type declarations for `embed-shell/with-css` — opt-in CSS-bundled companion.
3
+ *
4
+ * Side-effect-only module. Importing this registers the `<embed-shell>`
5
+ * custom element AND side-effect-imports its layout CSS.
6
+ *
7
+ * Per ADR-0030 (shell `/with-css` opt-in carve-out, v0.6.10). The
8
+ * canonical class type is re-exported here so consumers using the
9
+ * `/with-css` companion don't lose typing parity with the default
10
+ * subpath.
11
+ */
12
+
13
+ export * from './embed-shell.js';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Opt-in `/with-css` companion for <embed-shell>.
3
+ *
4
+ * Side-effect-only module. Importing this:
5
+ * 1. Loads `./embed-shell.js` (registers the `<embed-shell>` custom element)
6
+ * 2. Side-effect-imports `./embed-shell.css` (mounts the shell's layout CSS)
7
+ *
8
+ * Consumer-facing entry point:
9
+ * import '@adia-ai/web-modules/shell/embed-shell/with-css';
10
+ *
11
+ * This is the explicit CSS-policy carve-out documented in ADR-0030. The
12
+ * default subpath (`@adia-ai/web-modules/shell/embed-shell`) preserves
13
+ * the explicit-import contract; this `/with-css` companion is the named
14
+ * opt-in for consumers who prefer one-line cold-start over tree-shake.
15
+ *
16
+ * Pairs verified at CI by `scripts/release/check-with-css-pairing.mjs`.
17
+ */
18
+ import './embed-shell.js';
19
+ import './embed-shell.css';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Type declarations for the `@adia-ai/web-modules/css/sheet` subpath — the
3
+ * constructable-`CSSStyleSheet` twin of `web-modules.min.css` (byte-identical to the
4
+ * CDN bundle), adopted via `document.adoptedStyleSheets`.
5
+ */
6
+ export function constructSheet(): CSSStyleSheet | null;
7
+ export default constructSheet;