@vaadin/component-base 24.8.0-alpha15 → 24.8.0-alpha17

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.8.0-alpha15",
3
+ "version": "24.8.0-alpha17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,10 +38,10 @@
38
38
  "lit": "^3.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@vaadin/chai-plugins": "24.8.0-alpha15",
42
- "@vaadin/test-runner-commands": "24.8.0-alpha15",
41
+ "@vaadin/chai-plugins": "24.8.0-alpha17",
42
+ "@vaadin/test-runner-commands": "24.8.0-alpha17",
43
43
  "@vaadin/testing-helpers": "^1.1.0",
44
44
  "sinon": "^18.0.0"
45
45
  },
46
- "gitHead": "d2d0d1bb5efa3a439e568c1693d2fee3cc18fc67"
46
+ "gitHead": "bf06d4d774049e0d19a3f008273864df15e085f6"
47
47
  }
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
6
+ import { dedupeMixin } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  /**
9
9
  * @typedef ReactiveController
@@ -15,7 +15,7 @@ import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
15
15
  *
16
16
  * @polymerMixin
17
17
  */
18
- export const ControllerMixin = dedupingMixin((superClass) => {
18
+ export const ControllerMixin = dedupeMixin((superClass) => {
19
19
  // If the superclass extends from LitElement,
20
20
  // use its own controllers implementation.
21
21
  if (typeof superClass.prototype.addController === 'function') {
package/src/define.js CHANGED
@@ -13,7 +13,7 @@ function dashToCamelCase(dash) {
13
13
 
14
14
  const experimentalMap = {};
15
15
 
16
- export function defineCustomElement(CustomElement, version = '24.8.0-alpha15') {
16
+ export function defineCustomElement(CustomElement, version = '24.8.0-alpha17') {
17
17
  Object.defineProperty(CustomElement, 'version', {
18
18
  get() {
19
19
  return version;
@@ -3,14 +3,14 @@
3
3
  * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
6
+ import { dedupeMixin } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  /**
9
9
  * A mixin to delegate properties and attributes to a target element.
10
10
  *
11
11
  * @polymerMixin
12
12
  */
13
- export const DelegateStateMixin = dedupingMixin(
13
+ export const DelegateStateMixin = dedupeMixin(
14
14
  (superclass) =>
15
15
  class DelegateStateMixinClass extends superclass {
16
16
  static get properties() {
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
6
+ import { dedupeMixin } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  const observer = new ResizeObserver((entries) => {
9
9
  setTimeout(() => {
@@ -29,7 +29,7 @@ const observer = new ResizeObserver((entries) => {
29
29
  *
30
30
  * @polymerMixin
31
31
  */
32
- export const ResizeMixin = dedupingMixin(
32
+ export const ResizeMixin = dedupeMixin(
33
33
  (superclass) =>
34
34
  class ResizeMixinClass extends superclass {
35
35
  /**
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
6
+ import { dedupeMixin } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  const stylesMap = new WeakMap();
9
9
 
@@ -42,7 +42,7 @@ function insertStyles(styles, root) {
42
42
  *
43
43
  * @polymerMixin
44
44
  */
45
- export const SlotStylesMixin = dedupingMixin(
45
+ export const SlotStylesMixin = dedupeMixin(
46
46
  (superclass) =>
47
47
  class SlotStylesMixinClass extends superclass {
48
48
  /**