@vaadin/vaadin-checkbox
Advanced tools
Comparing version 3.0.0-alpha1 to 3.0.0
{ | ||
"name": "@vaadin/vaadin-checkbox", | ||
"version": "3.0.0-alpha1", | ||
"version": "3.0.0", | ||
"description": "vaadin-checkbox", | ||
@@ -5,0 +5,0 @@ "main": "vaadin-checkbox.js", |
@@ -61,4 +61,4 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
* | ||
* @fires {CustomEvent<boolean>} invalid-changed | ||
* @fires {CustomEvent<Array<string>>} value-changed | ||
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes. | ||
* @fires {CustomEvent} value-changed - Fired when the `value` property changes. | ||
*/ | ||
@@ -65,0 +65,0 @@ declare class CheckboxGroupElement extends ThemableMixin(DirMixin(HTMLElement)) { |
@@ -48,4 +48,4 @@ /** | ||
* | ||
* @fires {CustomEvent<boolean>} invalid-changed | ||
* @fires {CustomEvent<Array<string>>} value-changed | ||
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes. | ||
* @fires {CustomEvent} value-changed - Fired when the `value` property changes. | ||
* | ||
@@ -376,5 +376,3 @@ * @extends HTMLElement | ||
_containsFocus() { | ||
const root = this.getRootNode(); | ||
// Safari 9 needs polyfilled `_activeElement` to return correct node | ||
const activeElement = root._activeElement !== undefined ? root._activeElement : root.activeElement; | ||
const activeElement = this.getRootNode().activeElement; | ||
return this.contains(activeElement); | ||
@@ -381,0 +379,0 @@ } |
@@ -59,4 +59,5 @@ import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js'; | ||
* | ||
* @fires {CustomEvent<boolean>} checked-changed | ||
* @fires {CustomEvent<boolean>} indeterminate-changed | ||
* @fires {Event} change - Fired when the user commits a value change. | ||
* @fires {CustomEvent} checked-changed - Fired when the `checked` property changes. | ||
* @fires {CustomEvent} indeterminate-changed - Fired when the `indeterminate` property changes. | ||
*/ | ||
@@ -63,0 +64,0 @@ declare class CheckboxElement extends ElementMixin( |
@@ -44,4 +44,5 @@ /** | ||
* | ||
* @fires {CustomEvent<boolean>} checked-changed | ||
* @fires {CustomEvent<boolean>} indeterminate-changed | ||
* @fires {Event} change - Fired when the user commits a value change. | ||
* @fires {CustomEvent} checked-changed - Fired when the `checked` property changes. | ||
* @fires {CustomEvent} indeterminate-changed - Fired when the `indeterminate` property changes. | ||
* | ||
@@ -119,3 +120,3 @@ * @extends HTMLElement | ||
static get version() { | ||
return '3.0.0-alpha1'; | ||
return '3.0.0'; | ||
} | ||
@@ -122,0 +123,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
58497
0