@happyvertical/smrt-ui 0.35.3 → 0.36.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 +1 @@
1
- {"version":3,"file":"module-registry.d.ts","sourceRoot":"","sources":["../../src/registry/module-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAEV,yBAAyB,EAE1B,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,wBAAgB,sBAAsB,IAAI,yBAAyB,CAiDlE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gBAAgB,EAAE,yBACL,CAAC"}
1
+ {"version":3,"file":"module-registry.d.ts","sourceRoot":"","sources":["../../src/registry/module-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAEV,yBAAyB,EAE1B,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,wBAAgB,sBAAsB,IAAI,yBAAyB,CAmDlE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gBAAgB,EAAE,yBACL,CAAC"}
@@ -32,7 +32,9 @@
32
32
  * Follows the same pattern as createUIRegistry() in smrt-agents.
33
33
  */
34
34
  export function createModuleUIRegistry() {
35
- // biome-ignore lint/suspicious/noExplicitAny: ComponentType needs any
35
+ // ModuleComponentType owns the single irreducible component-registry `any`
36
+ // (documented at its definition in @happyvertical/smrt-types); the default
37
+ // `Props` is fine here since the stored function signature is Props-agnostic.
36
38
  const components = new Map();
37
39
  const modules = new Map();
38
40
  const makeKey = (moduleName, slotId) => `${moduleName}:${slotId}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-ui",
3
- "version": "0.35.3",
3
+ "version": "0.36.0",
4
4
  "description": "Domain-agnostic Svelte 5 UI runtime for SMRT: primitives, i18n client, theme system, and module UI registry",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -114,7 +114,7 @@
114
114
  },
115
115
  "dependencies": {
116
116
  "esm-env": "^1.2.2",
117
- "@happyvertical/smrt-types": "0.35.3"
117
+ "@happyvertical/smrt-types": "0.36.0"
118
118
  },
119
119
  "peerDependencies": {
120
120
  "svelte": "^5.18.2"