makeup-expander
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -93,3 +93,3 @@ "use strict"; | ||
} else if (focusManagement !== null) { | ||
const el = contentEl.querySelector("#".concat(focusManagement)); | ||
const el = contentEl.querySelector(`#${focusManagement}`); | ||
if (el) { | ||
@@ -124,3 +124,3 @@ el.focus(); | ||
(0, _makeupNextId.default)(this.el, "expander"); | ||
this.contentEl.id = this.contentEl.id || "".concat(this.el.id, "-content"); | ||
this.contentEl.id = this.contentEl.id || `${this.el.id}-content`; | ||
this.hostEl.setAttribute("aria-controls", this.contentEl.id); | ||
@@ -127,0 +127,0 @@ } |
{ | ||
"name": "makeup-expander", | ||
"description": "Creates the basic interactivity for an element that expands and collapses another element.", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"main": "./dist/cjs/index.js", | ||
@@ -29,5 +29,5 @@ "module": "./dist/mjs/index.js", | ||
"dependencies": { | ||
"makeup-exit-emitter": "^0.5.1", | ||
"makeup-focusables": "^0.4.2", | ||
"makeup-next-id": "^0.5.1" | ||
"makeup-exit-emitter": "^0.5.2", | ||
"makeup-focusables": "^0.4.3", | ||
"makeup-next-id": "^0.5.2" | ||
}, | ||
@@ -43,3 +43,3 @@ "files": [ | ||
], | ||
"gitHead": "886b3aa580639f0721966474e63ec3b3781bb302" | ||
"gitHead": "d5eb699503d9b7f3eb9ff04379de5a38aa63096a" | ||
} |
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
26744
6
508
Updatedmakeup-exit-emitter@^0.5.2
Updatedmakeup-focusables@^0.4.3
Updatedmakeup-next-id@^0.5.2