@haiilo/catalyst 10.33.2 → 10.33.3

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.
@@ -3713,7 +3713,7 @@ button.cat-link-danger:focus-visible {
3713
3713
  border: 0 !important;
3714
3714
  }
3715
3715
 
3716
- .cat-visually-hidden-focusable:not(:focus-visible):not(:has(:focus-visible)) {
3716
+ .cat-visually-hidden-focusable:not(:focus):not(:focus-within) {
3717
3717
  position: absolute !important;
3718
3718
  width: 1px !important;
3719
3719
  height: 1px !important;
@@ -3725,7 +3725,7 @@ button.cat-link-danger:focus-visible {
3725
3725
  border: 0 !important;
3726
3726
  }
3727
3727
 
3728
- *:not(:hover):not(:focus-visible):not(:has(:focus-visible)) > .cat-visually-hidden-hoverable {
3728
+ *:not(:hover):not(:focus):not(:focus-within) > .cat-visually-hidden-hoverable {
3729
3729
  position: absolute !important;
3730
3730
  width: 1px !important;
3731
3731
  height: 1px !important;
@@ -11,18 +11,18 @@
11
11
  }
12
12
 
13
13
  @mixin cat-visually-hidden-focusable {
14
- &:not(:focus-visible):not(:has(:focus-visible)) {
14
+ &:not(:focus):not(:focus-within) {
15
15
  @include cat-visually-hidden;
16
16
  }
17
17
  }
18
18
 
19
19
  @mixin cat-visually-hidden-hoverable($container: null) {
20
20
  @if $container {
21
- #{$container}:not(:hover):not(:focus-visible):not(:has(:focus-visible)) & {
21
+ #{$container}:not(:hover):not(:focus):not(:focus-within) & {
22
22
  @include cat-visually-hidden;
23
23
  }
24
24
  } @else {
25
- *:not(:hover):not(:focus-visible):not(:has(:focus-visible)) > & {
25
+ *:not(:hover):not(:focus):not(:focus-within) > & {
26
26
  @include cat-visually-hidden;
27
27
  }
28
28
  }
@@ -11,18 +11,18 @@
11
11
  }
12
12
 
13
13
  @mixin cat-visually-hidden-focusable {
14
- &:not(:focus-visible):not(:has(:focus-visible)) {
14
+ &:not(:focus):not(:focus-within) {
15
15
  @include cat-visually-hidden;
16
16
  }
17
17
  }
18
18
 
19
19
  @mixin cat-visually-hidden-hoverable($container: null) {
20
20
  @if $container {
21
- #{$container}:not(:hover):not(:focus-visible):not(:has(:focus-visible)) & {
21
+ #{$container}:not(:hover):not(:focus):not(:focus-within) & {
22
22
  @include cat-visually-hidden;
23
23
  }
24
24
  } @else {
25
- *:not(:hover):not(:focus-visible):not(:has(:focus-visible)) > & {
25
+ *:not(:hover):not(:focus):not(:focus-within) > & {
26
26
  @include cat-visually-hidden;
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haiilo/catalyst",
3
- "version": "10.33.2",
3
+ "version": "10.33.3",
4
4
  "description": "Catalyst Design System",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "sanitize.css": "13.0.0",
40
40
  "tabbable": "6.2.0",
41
41
  "toastify-js": "1.12.0",
42
- "@haiilo/catalyst-tokens": "10.33.2"
42
+ "@haiilo/catalyst-tokens": "10.33.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.24.7",