@thi.ng/hdom-components 5.1.7 → 5.1.10

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-05-07T11:33:36Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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/button.d.ts CHANGED
@@ -48,5 +48,5 @@ export declare type Button = (_: any, args: ButtonArgs, ...body: any[]) => any;
48
48
  * button version to create. The button can have any number of body
49
49
  * elements (e.g. icon and label), given as varargs.
50
50
  */
51
- export declare const button: (opts?: Partial<ButtonOpts> | undefined) => Button;
51
+ export declare const button: (opts?: Partial<ButtonOpts>) => Button;
52
52
  //# sourceMappingURL=button.d.ts.map
package/canvas.d.ts CHANGED
@@ -51,7 +51,7 @@ export interface CanvasHandlers<T extends CanvasContext> {
51
51
  * @param handlers - user provided handlers
52
52
  * @param opts - canvas context creation options
53
53
  */
54
- export declare const canvasWebGL: (handlers: Partial<CanvasHandlers<WebGLRenderingContext>>, opts?: WebGLContextAttributes | undefined) => {
54
+ export declare const canvasWebGL: (handlers: Partial<CanvasHandlers<WebGLRenderingContext>>, opts?: WebGLContextAttributes) => {
55
55
  init(_el: HTMLCanvasElement, hctx: any, ...args: any[]): void;
56
56
  render(hctx: any, ...args: any[]): any[];
57
57
  release(hctx: any, ...args: any[]): void;
@@ -62,7 +62,7 @@ export declare const canvasWebGL: (handlers: Partial<CanvasHandlers<WebGLRenderi
62
62
  * @param handlers - user provided handlers
63
63
  * @param opts - canvas context creation options
64
64
  */
65
- export declare const canvasWebGL2: (handlers: Partial<CanvasHandlers<WebGL2RenderingContext>>, opts?: WebGLContextAttributes | undefined) => {
65
+ export declare const canvasWebGL2: (handlers: Partial<CanvasHandlers<WebGL2RenderingContext>>, opts?: WebGLContextAttributes) => {
66
66
  init(_el: HTMLCanvasElement, hctx: any, ...args: any[]): void;
67
67
  render(hctx: any, ...args: any[]): any[];
68
68
  release(hctx: any, ...args: any[]): void;
@@ -73,7 +73,7 @@ export declare const canvasWebGL2: (handlers: Partial<CanvasHandlers<WebGL2Rende
73
73
  * @param handlers - user provided handlers
74
74
  * @param glopts - canvas context creation options
75
75
  */
76
- export declare const canvas2D: (handlers: Partial<CanvasHandlers<CanvasRenderingContext2D>>, opts?: Canvas2DContextAttributes | undefined) => {
76
+ export declare const canvas2D: (handlers: Partial<CanvasHandlers<CanvasRenderingContext2D>>, opts?: Canvas2DContextAttributes) => {
77
77
  init(_el: HTMLCanvasElement, hctx: any, ...args: any[]): void;
78
78
  render(hctx: any, ...args: any[]): any[];
79
79
  release(hctx: any, ...args: any[]): void;
package/dropdown.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare const option: ([value, label, disabled]: DropDownOption, sel: str
15
15
  disabled: boolean;
16
16
  selected: boolean;
17
17
  })[];
18
- export declare const optgroup: (attribs: any, options: DropDownOption[], sel?: string | number | undefined) => any[];
19
- export declare const dropdown: (_: any, attribs: any, options: DropDownOption[], sel?: string | number | undefined) => any[];
20
- export declare const groupedDropdown: (_: any, attribs: any, groups: DropDownOptionGroup[], sel?: string | number | undefined) => any[];
18
+ export declare const optgroup: (attribs: any, options: DropDownOption[], sel?: string | number) => any[];
19
+ export declare const dropdown: (_: any, attribs: any, options: DropDownOption[], sel?: string | number) => any[];
20
+ export declare const groupedDropdown: (_: any, attribs: any, groups: DropDownOptionGroup[], sel?: string | number) => any[];
21
21
  //# sourceMappingURL=dropdown.d.ts.map
package/fps-counter.d.ts CHANGED
@@ -27,5 +27,5 @@ export interface FpsCounterOpts {
27
27
  *
28
28
  * @param opts -
29
29
  */
30
- export declare const fpsCounter: (_opts?: Partial<FpsCounterOpts> | undefined) => any;
30
+ export declare const fpsCounter: (_opts?: Partial<FpsCounterOpts>) => any;
31
31
  //# sourceMappingURL=fps-counter.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-components",
3
- "version": "5.1.7",
3
+ "version": "5.1.10",
4
4
  "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,20 +34,20 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/adapt-dpi": "^2.1.6",
38
- "@thi.ng/api": "^8.3.6",
39
- "@thi.ng/checks": "^3.1.6",
40
- "@thi.ng/math": "^5.3.2",
41
- "@thi.ng/transducers": "^8.3.2",
42
- "@thi.ng/transducers-stats": "^2.1.7"
37
+ "@thi.ng/adapt-dpi": "^2.1.7",
38
+ "@thi.ng/api": "^8.3.7",
39
+ "@thi.ng/checks": "^3.2.1",
40
+ "@thi.ng/math": "^5.3.3",
41
+ "@thi.ng/transducers": "^8.3.5",
42
+ "@thi.ng/transducers-stats": "^2.1.10"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.23.1",
46
- "@thi.ng/testament": "^0.2.6",
45
+ "@microsoft/api-extractor": "^7.25.0",
46
+ "@thi.ng/testament": "^0.2.8",
47
47
  "rimraf": "^3.0.2",
48
48
  "tools": "^0.0.1",
49
- "typedoc": "^0.22.15",
50
- "typescript": "^4.6.4"
49
+ "typedoc": "^0.22.17",
50
+ "typescript": "^4.7.3"
51
51
  },
52
52
  "keywords": [
53
53
  "browser",
@@ -110,5 +110,5 @@
110
110
  "status": "beta",
111
111
  "year": 2018
112
112
  },
113
- "gitHead": "cf084be5fd5932226054d2dd32bad35481379f5d\n"
113
+ "gitHead": "ab0188234419f2d9f471de80871df930e5555bd6\n"
114
114
  }
package/title.d.ts CHANGED
@@ -32,5 +32,5 @@ export interface TitleOpts {
32
32
  *
33
33
  * @param opts -
34
34
  */
35
- export declare const title: (_opts?: Partial<TitleOpts> | undefined) => (_: any, title: any, subtitle: any) => any[];
35
+ export declare const title: (_opts?: Partial<TitleOpts>) => (_: any, title: any, subtitle: any) => any[];
36
36
  //# sourceMappingURL=title.d.ts.map