@vaadin/lit-renderer 24.0.0-alpha1 → 24.0.0-alpha10
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/package.json +2 -2
- package/src/lit-renderer.d.ts +3 -3
- package/src/lit-renderer.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/lit-renderer",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
38
38
|
"sinon": "^13.0.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2e04534d8b47bcd216f89b5f849bafef1a73b174"
|
|
41
41
|
}
|
package/src/lit-renderer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { ElementPart, nothing, RenderOptions, TemplateResult } from 'lit';
|
|
@@ -19,8 +19,6 @@ export abstract class LitRendererDirective<E extends Element, R extends LitRende
|
|
|
19
19
|
|
|
20
20
|
update(_part: ElementPart, props: [R, unknown]): typeof nothing;
|
|
21
21
|
|
|
22
|
-
protected renderRenderer(container: Element, ...args: Parameters<R>): void;
|
|
23
|
-
|
|
24
22
|
/**
|
|
25
23
|
* Adds the renderer callback to the element.
|
|
26
24
|
*/
|
|
@@ -35,4 +33,6 @@ export abstract class LitRendererDirective<E extends Element, R extends LitRende
|
|
|
35
33
|
* Removes the renderer callback from the element.
|
|
36
34
|
*/
|
|
37
35
|
abstract removeRenderer(): void;
|
|
36
|
+
|
|
37
|
+
protected renderRenderer(container: Element, ...args: Parameters<R>): void;
|
|
38
38
|
}
|
package/src/lit-renderer.js
CHANGED