@vaadin/a11y-base
Advanced tools
Comparing version 24.1.0-alpha8 to 24.1.0-alpha9
{ | ||
"name": "@vaadin/a11y-base", | ||
"version": "24.1.0-alpha8", | ||
"version": "24.1.0-alpha9", | ||
"publishConfig": { | ||
@@ -35,3 +35,3 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "24.1.0-alpha8", | ||
"@vaadin/component-base": "24.1.0-alpha9", | ||
"lit": "^2.0.0" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "1996d6f496a68cefc4c370c45a5d1995c3276c0b" | ||
"gitHead": "db4fe44603a6702b85b0da2a6d033ddf8ffea5c4" | ||
} |
@@ -117,4 +117,4 @@ /** | ||
// Replace the "oldId" with "newId" on the stored values set and leave | ||
storedValues.delete(oldId); | ||
storedValues.add(newId); | ||
oldId && storedValues.delete(oldId); | ||
newId && storedValues.add(newId); | ||
return; | ||
@@ -121,0 +121,0 @@ } |
@@ -40,3 +40,7 @@ /** | ||
this.__setAriaRequiredAttribute(this.__required); | ||
this.__setLabelIdToAriaAttribute(this.__labelId); | ||
// We need to make sure that value in __labelId is stored | ||
this.__setLabelIdToAriaAttribute(this.__labelId, this.__labelId); | ||
if (this.__labelIdFromUser != null) { | ||
this.__setLabelIdToAriaAttribute(this.__labelIdFromUser, this.__labelIdFromUser, true); | ||
} | ||
this.__setErrorIdToAriaAttribute(this.__errorId); | ||
@@ -43,0 +47,0 @@ this.__setHelperIdToAriaAttribute(this.__helperId); |
@@ -151,3 +151,5 @@ /** | ||
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent | ||
if (element.offsetParent === null) { | ||
// However `offsetParent` is also null when the element is using fixed | ||
// positioning, so additionally check if the element takes up layout space. | ||
if (element.offsetParent === null && element.clientWidth === 0 && element.clientHeight === 0) { | ||
return true; | ||
@@ -154,0 +156,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
99744
2623
+ Added@vaadin/component-base@24.1.0-alpha9(transitive)
- Removed@vaadin/component-base@24.1.0-alpha8(transitive)