@vaadin/component-base 25.0.12 → 25.0.13

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": "25.0.12",
3
+ "version": "25.0.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,10 +37,10 @@
37
37
  "lit": "^3.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@vaadin/chai-plugins": "~25.0.12",
41
- "@vaadin/test-runner-commands": "~25.0.12",
40
+ "@vaadin/chai-plugins": "~25.0.13",
41
+ "@vaadin/test-runner-commands": "~25.0.13",
42
42
  "@vaadin/testing-helpers": "^2.0.0",
43
43
  "sinon": "^21.0.0"
44
44
  },
45
- "gitHead": "4da2fac35ba4a02254c6e18c8392fa445d873d13"
45
+ "gitHead": "6fc4c433cd2462ec37c79fb947262cb672d7852d"
46
46
  }
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 = '25.0.12') {
16
+ export function defineCustomElement(CustomElement, version = '25.0.13') {
17
17
  Object.defineProperty(CustomElement, 'version', {
18
18
  get() {
19
19
  return version;
@@ -22,9 +22,7 @@ import { addGlobalStyles } from './add-global-styles.js';
22
22
  name: propertyName,
23
23
  syntax: '<color>',
24
24
  inherits: true,
25
- // Use this initial value so the color stays visible when the property
26
- // is set to an invalid value to make debugging a bit easier.
27
- initialValue: 'light-dark(black, white)',
25
+ initialValue: 'transparent',
28
26
  });
29
27
  });
30
28