@thi.ng/hdom-components 5.1.30 → 5.1.31

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-11-30T22:27:37Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![hdom-components](https://media.thi.ng/umbrella/banners-20220914/thing-hdom-components.svg?8d5cc6b2)
3
+ # ![@thi.ng/hdom-components](https://media.thi.ng/umbrella/banners-20220914/thing-hdom-components.svg?8d5cc6b2)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/hdom-components.svg)](https://www.npmjs.com/package/@thi.ng/hdom-components)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hdom-components.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -24,7 +24,7 @@ This project is part of the
24
24
 
25
25
  ## About
26
26
 
27
- Raw, skinnable UI & SVG components for [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom).
27
+ Raw, skinnable UI & SVG components for @thi.ng/hdom
28
28
 
29
29
  A growing collection of unstyled, re-usable & customizable components
30
30
  for use with
@@ -59,11 +59,8 @@ ES module import:
59
59
 
60
60
  For Node.js REPL:
61
61
 
62
- ```text
63
- # with flag only for < v16
64
- node --experimental-repl-await
65
-
66
- > const hdomComponents = await import("@thi.ng/hdom-components");
62
+ ```js
63
+ const hdomComponents = await import("@thi.ng/hdom-components");
67
64
  ```
68
65
 
69
66
  Package sizes (brotli'd, pre-treeshake): ESM: 2.06 KB
@@ -128,7 +125,7 @@ A selection:
128
125
 
129
126
  ## Authors
130
127
 
131
- Karsten Schmidt
128
+ - [Karsten Schmidt](https://thi.ng)
132
129
 
133
130
  If this project contributes to an academic publication, please cite it as:
134
131
 
@@ -143,4 +140,4 @@ If this project contributes to an academic publication, please cite it as:
143
140
 
144
141
  ## License
145
142
 
146
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
143
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/button-group.d.ts CHANGED
@@ -47,7 +47,7 @@ export interface ButtonGroupItem extends Array<any> {
47
47
  [0]: ButtonArgs;
48
48
  [id: number]: any;
49
49
  }
50
- export declare type ButtonGroup = (_: any, args: ButtonGroupArgs, ...buttons: ButtonGroupItem[]) => any;
50
+ export type ButtonGroup = (_: any, args: ButtonGroupArgs, ...buttons: ButtonGroupItem[]) => any;
51
51
  /**
52
52
  * Higher order function to create a new stateless button group
53
53
  * component, pre-configured via user supplied options. The returned
package/button.d.ts CHANGED
@@ -33,7 +33,7 @@ export interface ButtonArgs {
33
33
  attribs?: IObjectOf<any>;
34
34
  disabled?: boolean;
35
35
  }
36
- export declare type Button = (_: any, args: ButtonArgs, ...body: any[]) => any;
36
+ export type Button = (_: any, args: ButtonArgs, ...body: any[]) => any;
37
37
  /**
38
38
  * Higher order function to create a new stateless button component,
39
39
  * pre-configured via user supplied options. The returned component
package/canvas.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare type CanvasContext = CanvasRenderingContext2D | WebGLRenderingContext | WebGL2RenderingContext;
1
+ export type CanvasContext = CanvasRenderingContext2D | WebGLRenderingContext | WebGL2RenderingContext;
2
2
  interface Canvas2DContextAttributes {
3
3
  alpha?: boolean;
4
4
  storage?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-components",
3
- "version": "5.1.30",
3
+ "version": "5.1.31",
4
4
  "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,20 +34,20 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/adapt-dpi": "^2.2.3",
38
- "@thi.ng/api": "^8.5.1",
39
- "@thi.ng/checks": "^3.3.4",
40
- "@thi.ng/math": "^5.3.15",
41
- "@thi.ng/transducers": "^8.3.25",
42
- "@thi.ng/transducers-stats": "^2.1.30"
37
+ "@thi.ng/adapt-dpi": "^2.2.4",
38
+ "@thi.ng/api": "^8.6.0",
39
+ "@thi.ng/checks": "^3.3.5",
40
+ "@thi.ng/math": "^5.3.16",
41
+ "@thi.ng/transducers": "^8.3.26",
42
+ "@thi.ng/transducers-stats": "^2.1.31"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.33.5",
46
- "@thi.ng/testament": "^0.3.6",
45
+ "@microsoft/api-extractor": "^7.33.7",
46
+ "@thi.ng/testament": "^0.3.7",
47
47
  "rimraf": "^3.0.2",
48
48
  "tools": "^0.0.1",
49
- "typedoc": "^0.23.20",
50
- "typescript": "^4.8.4"
49
+ "typedoc": "^0.23.22",
50
+ "typescript": "^4.9.4"
51
51
  },
52
52
  "keywords": [
53
53
  "browser",
@@ -110,5 +110,5 @@
110
110
  "status": "beta",
111
111
  "year": 2018
112
112
  },
113
- "gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
113
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
114
114
  }