@primer/behaviors 0.0.0-20241018180654 → 0.0.0-20241021181012

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -182,6 +182,7 @@ function focusZone(container, settings) {
182
182
  }
183
183
  activeDescendantControl === null || activeDescendantControl === void 0 ? void 0 : activeDescendantControl.removeAttribute('aria-activedescendant');
184
184
  container.removeAttribute(hasActiveDescendantAttribute);
185
+ previouslyActiveElement === null || previouslyActiveElement === void 0 ? void 0 : previouslyActiveElement.removeAttribute(isActiveDescendantAttribute);
185
186
  for (const item of container.querySelectorAll(`[${isActiveDescendantAttribute}]`)) {
186
187
  item === null || item === void 0 ? void 0 : item.removeAttribute(isActiveDescendantAttribute);
187
188
  }
@@ -180,6 +180,7 @@ function focusZone(container, settings) {
180
180
  }
181
181
  activeDescendantControl === null || activeDescendantControl === void 0 ? void 0 : activeDescendantControl.removeAttribute('aria-activedescendant');
182
182
  container.removeAttribute(hasActiveDescendantAttribute);
183
+ previouslyActiveElement === null || previouslyActiveElement === void 0 ? void 0 : previouslyActiveElement.removeAttribute(isActiveDescendantAttribute);
183
184
  for (const item of container.querySelectorAll(`[${isActiveDescendantAttribute}]`)) {
184
185
  item === null || item === void 0 ? void 0 : item.removeAttribute(isActiveDescendantAttribute);
185
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/behaviors",
3
- "version": "0.0.0-20241018180654",
3
+ "version": "0.0.0-20241021181012",
4
4
  "description": "Shared behaviors for JavaScript components",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cjs/index.js",