Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-themable-mixin

Package Overview
Dependencies
Maintainers
12
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-themable-mixin - npm Package Compare versions

Comparing version 23.2.0-dev.8a7678b70 to 23.2.0-rc1

6

package.json
{
"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 {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc