@vaadin/vaadin-themable-mixin 23.0.7 → 23.0.10

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": "23.0.7",
3
+ "version": "23.0.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,5 +40,5 @@
40
40
  "@vaadin/testing-helpers": "^0.3.2",
41
41
  "sinon": "^9.2.4"
42
42
  },
43
- "gitHead": "005c2d85db8f50cd3b239dd89ac467add6a71049"
43
+ "gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
44
44
  }
@@ -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 {
@@ -52,7 +52,7 @@ export function registerStyles(themeFor, styles, options = {}) {
52
52
  themeFor,
53
53
  styles,
54
54
  include: options.include,
55
- moduleId: options.moduleId
55
+ moduleId: options.moduleId,
56
56
  });
57
57
  }
58
58
  }
@@ -161,7 +161,7 @@ function getThemes(tagName) {
161
161
  // Prepend styles from included themes
162
162
  styles: [...getIncludedStyles(theme), ...theme.styles],
163
163
  // Map moduleId to includePriority
164
- includePriority: getIncludePriority(theme.moduleId)
164
+ includePriority: getIncludePriority(theme.moduleId),
165
165
  }))
166
166
  // Sort by includePriority
167
167
  .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