@vaadin/vaadin-themable-mixin 22.0.12 → 22.0.15

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/vaadin-themable-mixin",
3
- "version": "22.0.12",
3
+ "version": "22.0.15",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,5 +39,5 @@
39
39
  "@vaadin/testing-helpers": "^0.3.2",
40
40
  "sinon": "^9.2.4"
41
41
  },
42
- "gitHead": "ba1b2b04365d6cc9d5c05376b6d1f1402bc314ec"
42
+ "gitHead": "bba021b56ba45da93d2bb980242956ad929ecfe2"
43
43
  }
@@ -11,7 +11,7 @@ import { ThemePropertyMixinClass } from './vaadin-theme-property-mixin.js';
11
11
  * A mixin for `nav` elements, facilitating navigation and selection of childNodes.
12
12
  */
13
13
  export declare function ThemableMixin<T extends Constructor<HTMLElement>>(
14
- base: T
14
+ base: T,
15
15
  ): T & Constructor<ThemableMixinClass> & Constructor<ThemePropertyMixinClass>;
16
16
 
17
17
  export declare class ThemableMixinClass {
@@ -53,7 +53,7 @@ export function registerStyles(themeFor, styles, options = {}) {
53
53
  themeFor,
54
54
  styles,
55
55
  include: options.include,
56
- moduleId: options.moduleId
56
+ moduleId: options.moduleId,
57
57
  });
58
58
  }
59
59
  }
@@ -168,7 +168,7 @@ function getThemes(tagName) {
168
168
  // Prepend styles from included themes
169
169
  styles: [...getIncludedStyles(theme), ...theme.styles],
170
170
  // Map moduleId to includePriority
171
- includePriority: getIncludePriority(theme.moduleId)
171
+ includePriority: getIncludePriority(theme.moduleId),
172
172
  }))
173
173
  // Sort by includePriority
174
174
  .sort((themeA, themeB) => themeB.includePriority - themeA.includePriority);
@@ -6,7 +6,7 @@
6
6
  import { Constructor } from '@open-wc/dedupe-mixin';
7
7
 
8
8
  export declare function ThemePropertyMixin<T extends Constructor<HTMLElement>>(
9
- base: T
9
+ base: T,
10
10
  ): T & Constructor<ThemePropertyMixinClass>;
11
11
 
12
12
  export declare class ThemePropertyMixinClass {
@@ -29,8 +29,8 @@ export const ThemePropertyMixin = (superClass) =>
29
29
  */
30
30
  theme: {
31
31
  type: String,
32
- readOnly: true
33
- }
32
+ readOnly: true,
33
+ },
34
34
  };
35
35
  }
36
36