@thi.ng/rdom 1.0.0 → 1.0.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.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -0
- package/dom.d.ts +2 -2
- package/klist.d.ts +1 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -298,6 +298,7 @@ directory are using this package:
|
|
|
298
298
|
| Screenshot | Description | Live demo | Source |
|
|
299
299
|
|:---------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------|:----------------------------------------------------------|:---------------------------------------------------------------------------------------|
|
|
300
300
|
| <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) |
|
|
301
|
+
| <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
302
|
| <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
303
|
| <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
304
|
| <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
|
-
* -
|
|
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.
|
|
3
|
+
"version": "1.0.1",
|
|
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.
|
|
40
|
-
"@thi.ng/checks": "^3.4.
|
|
39
|
+
"@thi.ng/api": "^8.9.18",
|
|
40
|
+
"@thi.ng/checks": "^3.4.18",
|
|
41
41
|
"@thi.ng/errors": "^2.4.11",
|
|
42
|
-
"@thi.ng/hiccup": "^5.1.
|
|
43
|
-
"@thi.ng/paths": "^5.1.
|
|
42
|
+
"@thi.ng/hiccup": "^5.1.7",
|
|
43
|
+
"@thi.ng/paths": "^5.1.59",
|
|
44
44
|
"@thi.ng/prefixes": "^2.3.3",
|
|
45
|
-
"@thi.ng/rstream": "^8.2.
|
|
46
|
-
"@thi.ng/strings": "^3.7.
|
|
45
|
+
"@thi.ng/rstream": "^8.2.21",
|
|
46
|
+
"@thi.ng/strings": "^3.7.9"
|
|
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": "
|
|
145
|
+
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
|
|
146
146
|
}
|