@adia-ai/web-components 0.6.39 → 0.6.40

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/index.js CHANGED
@@ -29,7 +29,19 @@
29
29
  * pre-registration. Apps with bundle-size SLOs should skip this barrel,
30
30
  * import primitives piecemeal, and call `installIconLoaders()` with a
31
31
  * scoped glob — see `core/icons.js` JSDoc.
32
+ *
33
+ * Router primitive: the main barrel ALSO side-effect-imports
34
+ * `core/provider.js` so `<router-ui>` registers without an extra
35
+ * import. The router is the canonical content-area driver for the
36
+ * <admin-shell> + <chat-shell> + <editor-shell> family — omitting
37
+ * it makes `<router-ui>` render as HTMLUnknownElement and
38
+ * `router.routes = [...]` silently no-op (no error, no warning,
39
+ * empty content area). Same precedent as icons-phosphor.js. Apps
40
+ * with bundle-size SLOs can skip the barrel and import the router
41
+ * piecemeal via `import '@adia-ai/web-components/core/provider'`
42
+ * (FB-72 substrate fix, 2026-05-25).
32
43
  */
33
44
 
34
45
  import './core/icons-phosphor.js';
46
+ import './core/provider.js';
35
47
  export * from './components/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-components",
3
- "version": "0.6.39",
3
+ "version": "0.6.40",
4
4
  "description": "AdiaUI web components \u2014 vanilla custom elements. A2UI runtime (renderer, registry, streams, wiring) lives in @adia-ai/a2ui-runtime.",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",