@thi.ng/hdom-components 5.1.8 → 5.1.11
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/button.d.ts +1 -1
- package/canvas.d.ts +3 -3
- package/dropdown.d.ts +3 -3
- package/fps-counter.d.ts +1 -1
- package/package.json +12 -12
- package/title.d.ts +1 -1
package/CHANGELOG.md
CHANGED
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
19
|
-
export declare const dropdown: (_: any, attribs: any, options: DropDownOption[], sel?: string | number
|
|
20
|
-
export declare const groupedDropdown: (_: any, attribs: any, groups: DropDownOptionGroup[], sel?: string | number
|
|
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>
|
|
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.
|
|
3
|
+
"version": "5.1.11",
|
|
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.
|
|
38
|
-
"@thi.ng/api": "^8.3.
|
|
39
|
-
"@thi.ng/checks": "^3.1
|
|
40
|
-
"@thi.ng/math": "^5.3.
|
|
41
|
-
"@thi.ng/transducers": "^8.3.
|
|
42
|
-
"@thi.ng/transducers-stats": "^2.1.
|
|
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.6",
|
|
42
|
+
"@thi.ng/transducers-stats": "^2.1.11"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.
|
|
46
|
-
"@thi.ng/testament": "^0.2.
|
|
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.
|
|
50
|
-
"typescript": "^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": "
|
|
113
|
+
"gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\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>
|
|
35
|
+
export declare const title: (_opts?: Partial<TitleOpts>) => (_: any, title: any, subtitle: any) => any[];
|
|
36
36
|
//# sourceMappingURL=title.d.ts.map
|