@vaadin/vaadin-cookie-consent
Advanced tools
Comparing version 1.1.0-alpha1 to 1.1.0-alpha2
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-cookie-consent", | ||
"version": "1.1.0-alpha1", | ||
"version": "1.1.0-alpha2", | ||
"main": "vaadin-cookie-consent.js", | ||
@@ -29,17 +29,17 @@ "author": "Vaadin Ltd", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-element-mixin": "^1.1.0", | ||
"@vaadin/vaadin-license-checker": "^2.1.0-alpha1", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0-beta1", | ||
"@vaadin/vaadin-material-styles": "^1.1.0-beta1", | ||
"@vaadin/vaadin-themable-mixin": "^1.2.0" | ||
"@vaadin/vaadin-themable-mixin": "^1.2.0", | ||
"@vaadin/vaadin-element-mixin": "^2.0.0", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0", | ||
"@vaadin/vaadin-material-styles": "^1.1.0", | ||
"@vaadin/vaadin-license-checker": "^2.1.0-alpha2" | ||
}, | ||
"devDependencies": { | ||
"axe-core": "^3.0.3", | ||
"pwa-helpers": "^0.8.3", | ||
"@polymer/iron-component-page": "^3.0.0-pre.18", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.18", | ||
"@vaadin/vaadin-demo-helpers": "^2.0.0", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"axe-core": "^3.0.3", | ||
"pwa-helpers": "^0.8.3", | ||
"wct-browser-legacy": "^1.0.1" | ||
"wct-browser-legacy": "^1.0.1", | ||
"@vaadin/vaadin-demo-helpers": "^2.0.0" | ||
} | ||
} |
@@ -12,2 +12,3 @@ /** | ||
import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; | ||
import '@vaadin/vaadin-license-checker/vaadin-license-checker.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -28,2 +29,16 @@ import 'cookieconsent/build/cookieconsent.min.js'; | ||
* | ||
* ### Styling | ||
* | ||
* To change the look of the cookie consent banner, a `style` node should be attached | ||
* to the document's head with the following style names overridden: | ||
* | ||
* Style name | Description | ||
* ----------------|-------------------------------------------------------| | ||
* `cc-window` | Banner container | ||
* `cc-message` | Message container | ||
* `cc-compliance` | Dismiss cookie button container | ||
* `cc-dismiss` | Dismiss cookie button | ||
* `cc-btn` | Dismiss cookie button | ||
* `cc-link` | Learn more link element | ||
* | ||
* @memberof Vaadin | ||
@@ -51,3 +66,3 @@ * @mixes Vaadin.ElementMixin | ||
static get version() { | ||
return '1.1.0-alpha1'; | ||
return '1.1.0-alpha2'; | ||
} | ||
@@ -205,4 +220,7 @@ | ||
export { CookieConsentElement }; | ||
if (window.Vaadin.runIfDevelopmentMode) { | ||
window.Vaadin.runIfDevelopmentMode('vaadin-license-checker', CookieConsentElement); | ||
const licenseChecker = window.Vaadin.developmentModeCallback | ||
&& window.Vaadin.developmentModeCallback['vaadin-license-checker']; | ||
if (typeof licenseChecker === 'function') { | ||
licenseChecker(CookieConsentElement); | ||
} |
Sorry, the diff of this file is not supported yet
178330
354
+ Added@vaadin/vaadin-element-mixin@2.4.2(transitive)
+ Added@vaadin/vaadin-usage-statistics@2.1.3(transitive)
- Removed@vaadin/vaadin-development-mode-detector@1.1.0(transitive)
- Removed@vaadin/vaadin-element-mixin@1.1.2(transitive)
- Removed@vaadin/vaadin-usage-statistics@1.1.0(transitive)