@thi.ng/rdom 1.0.0 → 1.0.2

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**: 2024-01-23T15:58:26Z
3
+ - **Last updated**: 2024-01-29T20:39:37Z
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.
package/README.md CHANGED
@@ -7,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/rdom.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [From hdom to rdom: Reactive UIs without virtual DOMs](#from-hdom-to-rdom-reactive-uis-without-virtual-doms)
@@ -298,6 +302,7 @@ directory are using this package:
298
302
  | Screenshot | Description | Live demo | Source |
299
303
  |:---------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------|:----------------------------------------------------------|:---------------------------------------------------------------------------------------|
300
304
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/big-font.png" width="240"/> | Large ASCII font text generator using @thi.ng/rdom | [Demo](https://demo.thi.ng/umbrella/big-font/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/big-font) |
305
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/blurhash.jpg" width="240"/> | Interactive & reactive image blurhash generator | [Demo](https://demo.thi.ng/umbrella/blurhash/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/blurhash) |
301
306
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/canvas-recorder.png" width="240"/> | Self-modifying, animated typographic grid with emergent complex patterns | [Demo](https://demo.thi.ng/umbrella/canvas-recorder/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/canvas-recorder) |
302
307
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
303
308
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |
package/dom.d.ts CHANGED
@@ -8,8 +8,8 @@ import type { NumOrElement } from "./api.js";
8
8
  * Supports elements given in these forms:
9
9
  *
10
10
  * - {@link IComponent} instance
11
- * - {@link IDeref} instance (must resolve to another supported type in this
12
- * list)
11
+ * - [`IDeref`](https://docs.thi.ng/umbrella/api/interfaces/IDeref.html)
12
+ * instance (must resolve to another supported type in this list)
13
13
  * - `["div#id.class", {...attribs}, ...children]`
14
14
  * - `[COMMENT, "foo", "bar"...]` (DOM comment node)
15
15
  * - `[IComponent, ...mountargs]`
package/klist.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { Fn, Fn2, NumOrString } from "@thi.ng/api";
2
2
  import type { ISubscribable } from "@thi.ng/rstream";
3
3
  import type { IComponent, IMountWithState, NumOrElement } from "./api.js";
4
4
  import { Component } from "./component.js";
5
- interface KListItem {
5
+ export interface KListItem {
6
6
  k: NumOrString;
7
7
  v: IComponent;
8
8
  }
@@ -71,5 +71,4 @@ export declare class KList<T> extends Component<T[]> implements IMountWithState<
71
71
  unmount(): Promise<void>;
72
72
  update(curr: T[]): Promise<void>;
73
73
  }
74
- export {};
75
74
  //# sourceMappingURL=klist.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
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",
@@ -36,14 +36,14 @@
36
36
  "test": "bun test"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.17",
40
- "@thi.ng/checks": "^3.4.17",
41
- "@thi.ng/errors": "^2.4.11",
42
- "@thi.ng/hiccup": "^5.1.6",
43
- "@thi.ng/paths": "^5.1.58",
44
- "@thi.ng/prefixes": "^2.3.3",
45
- "@thi.ng/rstream": "^8.2.20",
46
- "@thi.ng/strings": "^3.7.8"
39
+ "@thi.ng/api": "^8.9.19",
40
+ "@thi.ng/checks": "^3.4.19",
41
+ "@thi.ng/errors": "^2.4.12",
42
+ "@thi.ng/hiccup": "^5.1.8",
43
+ "@thi.ng/paths": "^5.1.60",
44
+ "@thi.ng/prefixes": "^2.3.4",
45
+ "@thi.ng/rstream": "^8.2.22",
46
+ "@thi.ng/strings": "^3.7.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.39.0",
@@ -142,5 +142,5 @@
142
142
  ],
143
143
  "year": 2020
144
144
  },
145
- "gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
145
+ "gitHead": "20909ffc46f23f61ec7647e8d27ed17752ce9828\n"
146
146
  }