@vaadin/component-base 25.0.0-rc1 → 25.0.0

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.0-rc1",
3
+ "version": "25.0.0",
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.0-rc1",
41
- "@vaadin/test-runner-commands": "25.0.0-rc1",
40
+ "@vaadin/chai-plugins": "~25.0.0",
41
+ "@vaadin/test-runner-commands": "~25.0.0",
42
42
  "@vaadin/testing-helpers": "^2.0.0",
43
43
  "sinon": "^21.0.0"
44
44
  },
45
- "gitHead": "cea5e86ad18824e5631b63c11150b4d7701869c5"
45
+ "gitHead": "c979f7ca278b6412095176ada230eb07eb4456bf"
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.0-rc1') {
16
+ export function defineCustomElement(CustomElement, version = '25.0.0') {
17
17
  Object.defineProperty(CustomElement, 'version', {
18
18
  get() {
19
19
  return version;
@@ -32,7 +32,7 @@ addGlobalStyles(
32
32
  'vaadin-base',
33
33
  css`
34
34
  @layer vaadin.base {
35
- :where(html) {
35
+ html {
36
36
  /* Background color */
37
37
  --vaadin-background-color: light-dark(#fff, #222);
38
38
 
@@ -121,7 +121,7 @@ addGlobalStyles(
121
121
  }
122
122
 
123
123
  @supports not (color: hsl(0 0 0)) {
124
- :where(html) {
124
+ html {
125
125
  --_vaadin-safari-17-deg: 1deg;
126
126
  }
127
127
  }
@@ -10,7 +10,7 @@ addGlobalStyles(
10
10
  'vaadin-base-user-colors',
11
11
  css`
12
12
  @layer vaadin.base {
13
- :where(html) {
13
+ html {
14
14
  --_color-count: 10;
15
15
  --_hue-step: round(360 / var(--_color-count), 1);
16
16
  --vaadin-user-color-0: var(--vaadin-user-color, oklch(0.52 0.2 240));