@thi.ng/rdom 0.8.12 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-06-09T16:14:01Z
3
+ - **Last updated**: 2022-07-12T19:50:54Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,13 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ## [0.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.9.0) (2022-07-12)
13
+
14
+ #### 🚀 Features
15
+
16
+ - update $input() generics ([6be320a](https://github.com/thi-ng/umbrella/commit/6be320a))
17
+ - allow any string-derived stream types
18
+
12
19
  ### [0.8.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.8.7) (2022-04-07)
13
20
 
14
21
  #### ♻️ Refactoring
package/event.d.ts CHANGED
@@ -13,7 +13,7 @@ import type { ISubscriber } from "@thi.ng/rstream";
13
13
  *
14
14
  * @param stream -
15
15
  */
16
- export declare const $input: (stream: ISubscriber<string>) => (e: Event) => void;
16
+ export declare const $input: <T extends string = string>(stream: ISubscriber<T>) => (e: Event) => void;
17
17
  /**
18
18
  * Similar to {@link $input}, but attempts to first coerce value using
19
19
  * `parseFloat()`. Uses given `fallback` value (default: 0) if coercion failed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom",
3
- "version": "0.8.12",
3
+ "version": "0.9.0",
4
4
  "description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -140,5 +140,5 @@
140
140
  "status": "beta",
141
141
  "year": 2020
142
142
  },
143
- "gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\n"
143
+ "gitHead": "21abd94ba9e13d4636f3e9a85d3a7d4e9ea269ba\n"
144
144
  }