@brightspace-ui/core 2.85.3 → 2.85.4

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.
@@ -102,7 +102,7 @@ export const htmlBlockContentStyles = css`
102
102
  text-decoration: underline;
103
103
  }
104
104
  a:${unsafeCSS(getFocusPseudoClass())} {
105
- border-radius: 3px;
105
+ border-radius: 2px;
106
106
  outline: 2px solid var(--d2l-color-celestine, #006fbf);
107
107
  outline-offset: 1px;
108
108
  text-decoration: underline;
@@ -21,7 +21,7 @@ export const linkStyles = css`
21
21
  text-decoration: underline;
22
22
  }
23
23
  .d2l-link:${unsafeCSS(getFocusPseudoClass())} {
24
- border-radius: 3px;
24
+ border-radius: 2px;
25
25
  outline: 2px solid var(--d2l-color-celestine);
26
26
  outline-offset: 1px;
27
27
  text-decoration: underline;
@@ -9,13 +9,23 @@
9
9
  text-decoration: none;
10
10
  cursor: pointer;
11
11
  }
12
- &:hover,
13
- &:focus,
14
- &.d2l-link-focus {
12
+ &:hover {
15
13
  color: $d2l-color-celestine-minus-1;
16
14
  text-decoration: underline;
17
- outline-width: 0;
18
15
  }
16
+ &:focus-visible {
17
+ border-radius: 2px;
18
+ outline: 2px solid $d2l-color-celestine;
19
+ outline-offset: 1px;
20
+ text-decoration: underline;
21
+ }
22
+ .d2l-focus-visible-not-supported &:focus {
23
+ border-radius: 2px;
24
+ outline: 2px solid $d2l-color-celestine;
25
+ outline-offset: 1px;
26
+ text-decoration: underline;
27
+ }
28
+
19
29
  &[main] {
20
30
  font-weight: 700;
21
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.85.3",
3
+ "version": "2.85.4",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",