@vaadin/vaadin-themable-mixin
Advanced tools
Comparing version 23.2.0-dev.8a7678b70 to 23.2.0-rc1
{ | ||
"name": "@vaadin/vaadin-themable-mixin", | ||
"version": "23.2.0-dev.8a7678b70", | ||
"version": "23.2.0-rc1", | ||
"publishConfig": { | ||
@@ -17,3 +17,3 @@ "access": "public" | ||
"bugs": { | ||
"url": "https://github.com/vaadin/vaadin-themable-mixin/issues" | ||
"url": "https://github.com/vaadin/web-components/issues" | ||
}, | ||
@@ -44,3 +44,3 @@ "main": "vaadin-themable-mixin.js", | ||
}, | ||
"gitHead": "85b403f96d8282f262322b56c0ff4289f843d02a" | ||
"gitHead": "e78a1f2fe6f42d78cefa3f48085b09a3033c9588" | ||
} |
@@ -6,5 +6,5 @@ /** | ||
*/ | ||
import { Constructor } from '@open-wc/dedupe-mixin'; | ||
import { CSSResult, CSSResultGroup } from 'lit'; | ||
import { ThemePropertyMixinClass } from './vaadin-theme-property-mixin.js'; | ||
import type { Constructor } from '@open-wc/dedupe-mixin'; | ||
import type { CSSResult, CSSResultGroup } from 'lit'; | ||
import type { ThemePropertyMixinClass } from './vaadin-theme-property-mixin.js'; | ||
@@ -16,3 +16,3 @@ /** | ||
base: T, | ||
): T & Constructor<ThemableMixinClass> & Constructor<ThemePropertyMixinClass>; | ||
): Constructor<ThemableMixinClass> & Constructor<ThemePropertyMixinClass> & T; | ||
@@ -35,3 +35,3 @@ export declare class ThemableMixinClass { | ||
moduleId?: string; | ||
include?: string | string[]; | ||
include?: string[] | string; | ||
}; | ||
@@ -38,0 +38,0 @@ |
@@ -92,5 +92,5 @@ /** | ||
let includePriority = 0; | ||
if (moduleName.indexOf('lumo-') === 0 || moduleName.indexOf('material-') === 0) { | ||
if (moduleName.startsWith('lumo-') || moduleName.startsWith('material-')) { | ||
includePriority = 1; | ||
} else if (moduleName.indexOf('vaadin-') === 0) { | ||
} else if (moduleName.startsWith('vaadin-')) { | ||
includePriority = 2; | ||
@@ -97,0 +97,0 @@ } |
@@ -6,7 +6,7 @@ /** | ||
*/ | ||
import { Constructor } from '@open-wc/dedupe-mixin'; | ||
import type { Constructor } from '@open-wc/dedupe-mixin'; | ||
export declare function ThemePropertyMixin<T extends Constructor<HTMLElement>>( | ||
base: T, | ||
): T & Constructor<ThemePropertyMixinClass>; | ||
): Constructor<ThemePropertyMixinClass> & T; | ||
@@ -13,0 +13,0 @@ export declare class ThemePropertyMixinClass { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25974