@aurodesignsystem/auro-library 5.1.0 → 5.2.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [5.2.0](https://github.com/AlaskaAirlines/auro-library/compare/v5.1.0...v5.2.0) (2025-06-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add support for component tag name attributes when detecting focusable components ([3a10af3](https://github.com/AlaskaAirlines/auro-library/commit/3a10af334c24bdc52404e7ecf85effb2a1afd574))
|
|
9
|
+
|
|
3
10
|
# [5.1.0](https://github.com/AlaskaAirlines/auro-library/compare/v5.0.2...v5.1.0) (2025-06-18)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export function isFocusableComponent(element) {
|
|
|
39
39
|
const componentName = element.tagName.toLowerCase();
|
|
40
40
|
|
|
41
41
|
// Guard Clause: Element is a focusable component
|
|
42
|
-
if (!FOCUSABLE_COMPONENTS.
|
|
42
|
+
if (!FOCUSABLE_COMPONENTS.some((name) => element.hasAttribute(name) || componentName === name)) return false;
|
|
43
43
|
|
|
44
44
|
// Guard Clause: Element is not disabled
|
|
45
45
|
if (element.hasAttribute('disabled')) return false;
|