@vaadin/vaadin-themable-mixin 25.2.0-alpha10 → 25.2.0-alpha12
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/lumo-injection-mixin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-themable-mixin",
|
|
3
|
-
"version": "25.2.0-
|
|
3
|
+
"version": "25.2.0-alpha12",
|
|
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.2.0-
|
|
36
|
+
"@vaadin/component-base": "25.2.0-alpha12",
|
|
37
37
|
"lit": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/chai-plugins": "25.2.0-
|
|
42
|
-
"@vaadin/test-runner-commands": "25.2.0-
|
|
41
|
+
"@vaadin/chai-plugins": "25.2.0-alpha12",
|
|
42
|
+
"@vaadin/test-runner-commands": "25.2.0-alpha12",
|
|
43
43
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
44
44
|
"sinon": "^21.0.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ae1e4373aec3653d63a45b6be18eee36f4b245a1"
|
|
47
47
|
}
|
package/vaadin-themable-mixin.js
CHANGED
|
@@ -298,10 +298,6 @@ function getThemes(tagName) {
|
|
|
298
298
|
return themeRegistry.filter((theme) => theme.moduleId === defaultModuleName);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
/**
|
|
302
|
-
* @polymerMixin
|
|
303
|
-
* @mixes ThemePropertyMixin
|
|
304
|
-
*/
|
|
305
301
|
export const ThemableMixin = (superClass) =>
|
|
306
302
|
class VaadinThemableMixin extends ThemePropertyMixin(superClass) {
|
|
307
303
|
constructor() {
|
|
@@ -6,8 +6,6 @@ import { ThemeDetector } from './src/theme-detector.js';
|
|
|
6
6
|
* Automatically adds a `data-application-theme` attribute to the host
|
|
7
7
|
* element with the name of the detected theme (`lumo` or `aura`), which
|
|
8
8
|
* can be used in component styles to apply theme-specific styling.
|
|
9
|
-
*
|
|
10
|
-
* @polymerMixin
|
|
11
9
|
*/
|
|
12
10
|
export const ThemeDetectionMixin = (superClass) =>
|
|
13
11
|
class ThemeDetectionMixinClass extends superClass {
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2026 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @polymerMixin
|
|
8
|
-
*/
|
|
9
6
|
export const ThemePropertyMixin = (superClass) =>
|
|
10
7
|
class VaadinThemePropertyMixin extends superClass {
|
|
11
8
|
static get properties() {
|