@vaadin/component-base 24.3.0 → 24.3.1
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/controller-mixin.d.ts +4 -6
- package/src/define.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/component-base",
|
|
3
|
-
"version": "24.3.
|
|
3
|
+
"version": "24.3.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@vaadin/testing-helpers": "^0.6.0",
|
|
43
43
|
"sinon": "^13.0.2"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b81b3535adec8e4371ceb5d1ba5b12fa2a2abf22"
|
|
46
46
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
7
|
-
import type { ReactiveController
|
|
7
|
+
import type { ReactiveController } from 'lit';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A mixin for connecting controllers to the element.
|
|
@@ -13,16 +13,14 @@ export declare function ControllerMixin<T extends Constructor<HTMLElement>>(
|
|
|
13
13
|
superclass: T,
|
|
14
14
|
): Constructor<ControllerMixinClass> & T;
|
|
15
15
|
|
|
16
|
-
export declare class ControllerMixinClass
|
|
17
|
-
implements Pick<ReactiveControllerHost, 'addController' | 'removeController'>
|
|
18
|
-
{
|
|
16
|
+
export declare class ControllerMixinClass {
|
|
19
17
|
/**
|
|
20
18
|
* Registers a controller to participate in the element update cycle.
|
|
21
19
|
*/
|
|
22
|
-
addController(controller: ReactiveController): void;
|
|
20
|
+
protected addController(controller: ReactiveController): void;
|
|
23
21
|
|
|
24
22
|
/**
|
|
25
23
|
* Removes a controller from the element.
|
|
26
24
|
*/
|
|
27
|
-
removeController(controller: ReactiveController): void;
|
|
25
|
+
protected removeController(controller: ReactiveController): void;
|
|
28
26
|
}
|