@thi.ng/hdom-components 5.1.114 → 5.1.116
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 +7 -1
- package/README.md +3 -3
- package/canvas.d.ts +2 -1
- package/dropdown.d.ts +2 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-04-
|
|
3
|
+
- **Last updated**: 2024-04-20T14:42:45Z
|
|
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,12 @@ 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
|
+
### [5.1.116](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.1.116) (2024-04-20)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update type usage ([981e943](https://github.com/thi-ng/umbrella/commit/981e943))
|
|
17
|
+
|
|
12
18
|
### [5.1.76](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.1.76) (2023-11-09)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 192 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -63,10 +63,10 @@ import * as hc from "@thi.ng/hdom-components";
|
|
|
63
63
|
Browser ESM import:
|
|
64
64
|
|
|
65
65
|
```html
|
|
66
|
-
<script type="module" src="https://
|
|
66
|
+
<script type="module" src="https://esm.run/@thi.ng/hdom-components"></script>
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
[
|
|
69
|
+
[JSDelivr documentation](https://www.jsdelivr.com/)
|
|
70
70
|
|
|
71
71
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.05 KB
|
|
72
72
|
|
package/canvas.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { Maybe } from "@thi.ng/api";
|
|
1
2
|
export type CanvasContext = CanvasRenderingContext2D | WebGLRenderingContext | WebGL2RenderingContext;
|
|
2
3
|
export interface Canvas2DContextAttributes {
|
|
3
4
|
alpha?: boolean;
|
|
4
5
|
storage?: boolean;
|
|
5
6
|
willReadFrequently?: boolean;
|
|
6
|
-
[attribute: string]: boolean | string
|
|
7
|
+
[attribute: string]: Maybe<boolean | string>;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* User provided canvas life cycle methods. These differ from the usual
|
package/dropdown.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Maybe } from "@thi.ng/api";
|
|
1
2
|
export interface DropDownOption extends Array<any> {
|
|
2
3
|
[0]: string | number;
|
|
3
4
|
[1]: string | number;
|
|
@@ -10,7 +11,7 @@ export interface DropDownOptionGroup extends Array<any> {
|
|
|
10
11
|
};
|
|
11
12
|
[1]: DropDownOption[];
|
|
12
13
|
}
|
|
13
|
-
export declare const option: ([value, label, disabled]: DropDownOption, sel: string | number
|
|
14
|
+
export declare const option: ([value, label, disabled]: DropDownOption, sel: Maybe<string | number>) => (string | number | {
|
|
14
15
|
value: string | number;
|
|
15
16
|
disabled: boolean;
|
|
16
17
|
selected: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hdom-components",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.116",
|
|
4
4
|
"description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/canvas": "^0.2.
|
|
41
|
-
"@thi.ng/checks": "^3.6.
|
|
42
|
-
"@thi.ng/math": "^5.10.
|
|
43
|
-
"@thi.ng/transducers": "^9.0.
|
|
44
|
-
"@thi.ng/transducers-stats": "^2.1.
|
|
39
|
+
"@thi.ng/api": "^8.11.0",
|
|
40
|
+
"@thi.ng/canvas": "^0.2.17",
|
|
41
|
+
"@thi.ng/checks": "^3.6.2",
|
|
42
|
+
"@thi.ng/math": "^5.10.11",
|
|
43
|
+
"@thi.ng/transducers": "^9.0.2",
|
|
44
|
+
"@thi.ng/transducers-stats": "^2.1.115"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"status": "beta",
|
|
112
112
|
"year": 2018
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
|
|
115
115
|
}
|