@vaadin/themable-element
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "@vaadin/themable-element", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"author": "Vaadin Ltd", | ||
@@ -14,3 +14,2 @@ "license": "Apache-2.0", | ||
"files": [ | ||
"custom_typings/", | ||
"themable-element.d.ts*", | ||
@@ -20,4 +19,4 @@ "themable-element.js*" | ||
"dependencies": { | ||
"@polymer/polymer": "^3.3.0", | ||
"@vaadin/vaadin-themable-mixin": "^1.5.2", | ||
"@polymer/polymer": "^3.2.0", | ||
"@vaadin/vaadin-themable-mixin": "^1.6.1", | ||
"lit-element": "^2.3.0", | ||
@@ -32,3 +31,3 @@ "lit-html": "^1.0.0" | ||
}, | ||
"gitHead": "938c4c73427a160ec1fba1a625352de50faf92b8" | ||
"gitHead": "c83bb8903ef1a84e011035b3ba30a99dfbc98e7f" | ||
} |
@@ -12,5 +12,8 @@ # @vaadin/themable-element | ||
registerStyles('my-lit-element', css` | ||
/* Styles which will be included in my-element local scope */ | ||
`); | ||
registerStyles( | ||
'my-lit-element', | ||
css` | ||
/* Styles which will be included in my-element local scope */ | ||
` | ||
); | ||
``` | ||
@@ -17,0 +20,0 @@ |
@@ -9,4 +9,4 @@ import { DomModule } from '@polymer/polymer/lib/elements/dom-module.js'; | ||
const prefixes = ['lumo-', 'material-']; | ||
const vaadinThemeA = prefixes.filter(p => moduleNameA.indexOf(p) === 0).length > 0; | ||
const vaadinThemeB = prefixes.filter(p => moduleNameB.indexOf(p) === 0).length > 0; | ||
const vaadinThemeA = prefixes.filter((p) => moduleNameA.indexOf(p) === 0).length > 0; | ||
const vaadinThemeB = prefixes.filter((p) => moduleNameB.indexOf(p) === 0).length > 0; | ||
let result; | ||
@@ -34,3 +34,3 @@ if (vaadinA !== vaadinB) { | ||
const { modules } = DomModule.prototype; | ||
sortModules(modules).forEach(moduleName => { | ||
sortModules(modules).forEach((moduleName) => { | ||
const themeFor = modules[moduleName].getAttribute('theme-for'); | ||
@@ -37,0 +37,0 @@ if (themeFor) { |
Sorry, the diff of this file is not supported yet
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
22
18720
7
50