@rlabs-inc/signals 1.8.0 → 1.8.1

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.
@@ -11,13 +11,13 @@ export type PropInput<T> = T | (() => T) | {
11
11
  /**
12
12
  * The input type for reactiveProps - each property can be any PropInput
13
13
  */
14
- export type PropsInput<T extends Record<string, unknown>> = {
14
+ export type PropsInput<T> = {
15
15
  [K in keyof T]: PropInput<T[K]>;
16
16
  };
17
17
  /**
18
18
  * The output type - each property is a DerivedSignal
19
19
  */
20
- export type ReactiveProps<T extends Record<string, unknown>> = {
20
+ export type ReactiveProps<T> = {
21
21
  readonly [K in keyof T]: DerivedSignal<T[K]>;
22
22
  };
23
23
  /**
@@ -47,5 +47,5 @@ export type ReactiveProps<T extends Record<string, unknown>> = {
47
47
  * MyComponent({ name: nameSignal, count: () => getCount() })
48
48
  * ```
49
49
  */
50
- export declare function reactiveProps<T extends Record<string, unknown>>(rawProps: PropsInput<T>): ReactiveProps<T>;
50
+ export declare function reactiveProps<T>(rawProps: PropsInput<T>): ReactiveProps<T>;
51
51
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/primitives/props.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAOrD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;KACzD,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IAC7D,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC7C,CAAA;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7D,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,GACtB,aAAa,CAAC,CAAC,CAAC,CAWlB"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/primitives/props.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAOrD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;KACzB,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC7C,CAAA;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAC7B,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,GACtB,aAAa,CAAC,CAAC,CAAC,CAWlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlabs-inc/signals",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Production-grade fine-grained reactivity for TypeScript. A complete standalone mirror of Svelte 5's reactivity system - signals, effects, derived values, deep reactivity, reactive collections, reactive bindings, and reactive slots.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",