@vaadin/component-base 24.3.0 → 24.3.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/component-base",
3
- "version": "24.3.0",
3
+ "version": "24.3.2",
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": "713c37a239d9230774eddc10436c7587a1de09d1"
45
+ "gitHead": "615ee9dd4611f52db90445b0db13dcbb91ca74d4"
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, ReactiveControllerHost } from 'lit';
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
  }
package/src/define.js CHANGED
@@ -9,7 +9,7 @@ export function defineCustomElement(CustomElement) {
9
9
  if (!defined) {
10
10
  Object.defineProperty(CustomElement, 'version', {
11
11
  get() {
12
- return '24.3.0';
12
+ return '24.3.2';
13
13
  },
14
14
  });
15
15
 
@@ -16,5 +16,5 @@ export declare class DelegateStateMixinClass {
16
16
  /**
17
17
  * A target element to which attributes and properties are delegated.
18
18
  */
19
- stateTarget: HTMLElement | null;
19
+ protected stateTarget: HTMLElement | null;
20
20
  }