@vaadin/vaadin-themable-mixin 25.3.0-alpha1 → 25.3.0-alpha3

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.
@@ -3,6 +3,7 @@
3
3
  * Copyright (c) 2021 - 2026 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+ import { registerCSSProperty } from '@vaadin/component-base/src/css-utils.js';
6
7
  import { getLumoInjectorPropName, LumoInjector } from './src/lumo-injector.js';
7
8
 
8
9
  /**
@@ -46,7 +47,7 @@ export const LumoInjectionMixin = (superClass) =>
46
47
  // so that changing it to 1 would inject styles to instances
47
48
  // Use `inherits: true` so that property defined on `<html>`
48
49
  // would apply to components instances within shadow roots
49
- CSS.registerProperty({
50
+ registerCSSProperty({
50
51
  name: propName,
51
52
  syntax: '<number>',
52
53
  inherits: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-themable-mixin",
3
- "version": "25.3.0-alpha1",
3
+ "version": "25.3.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,15 +33,15 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@open-wc/dedupe-mixin": "^1.3.0",
36
- "@vaadin/component-base": "25.3.0-alpha1",
36
+ "@vaadin/component-base": "25.3.0-alpha3",
37
37
  "lit": "^3.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/chai-plugins": "25.3.0-alpha1",
42
- "@vaadin/test-runner-commands": "25.3.0-alpha1",
41
+ "@vaadin/chai-plugins": "25.3.0-alpha3",
42
+ "@vaadin/test-runner-commands": "25.3.0-alpha3",
43
43
  "@vaadin/testing-helpers": "^2.0.0",
44
44
  "sinon": "^22.0.0"
45
45
  },
46
- "gitHead": "5824d54c995945aafd50d30edc2cb763a58a18b6"
46
+ "gitHead": "ba0c4c55ea219eadd9aefe244f53e87803a066c8"
47
47
  }
@@ -3,17 +3,18 @@
3
3
  * Copyright (c) 2000 - 2026 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+ import { registerCSSProperty } from '@vaadin/component-base/src/css-utils.js';
6
7
  import { CSSPropertyObserver } from './css-property-observer.js';
7
8
 
8
9
  // Register CSS custom properties for observing theme changes
9
- CSS.registerProperty({
10
+ registerCSSProperty({
10
11
  name: '--vaadin-aura-theme',
11
12
  syntax: '<number>',
12
13
  inherits: true,
13
14
  initialValue: '0',
14
15
  });
15
16
 
16
- CSS.registerProperty({
17
+ registerCSSProperty({
17
18
  name: '--vaadin-lumo-theme',
18
19
  syntax: '<number>',
19
20
  inherits: true,