@vaadin/component-base 24.4.0-beta2 → 24.4.0-beta3

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.4.0-beta2",
3
+ "version": "24.4.0-beta3",
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": "886ab2e7ccb8353ac3b7a42ebb96dfe2d1211556"
45
+ "gitHead": "3dd7aacdb6ff53db93efcdc7e4c840119370ed38"
46
46
  }
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.4.0-beta2';
12
+ return '24.4.0-beta3';
13
13
  },
14
14
  });
15
15
 
@@ -69,7 +69,7 @@ export const OverlayClassMixin = (superclass) =>
69
69
  }
70
70
 
71
71
  // Add new classes based on the overlayClass
72
- const classesToAdd = typeof overlayClass === 'string' ? overlayClass.split(' ') : [];
72
+ const classesToAdd = typeof overlayClass === 'string' ? overlayClass.split(' ').filter(Boolean) : [];
73
73
  if (classesToAdd.length > 0) {
74
74
  classList.add(...classesToAdd);
75
75
  }