@brightspace-ui/core 2.51.4 → 2.52.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.
@@ -438,7 +438,7 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
438
438
  }
439
439
 
440
440
  if (dispatchEvent) {
441
- await this.updateComplete; // wait for validity logic to re-run
441
+ await this.requestValidate(true); // wait for validity logic to re-run
442
442
  this.dispatchEvent(new CustomEvent(
443
443
  'change',
444
444
  { bubbles: true, composed: false }
@@ -1,3 +1,4 @@
1
+ import '../colors/colors.js';
1
2
  import '../icons/icon.js';
2
3
  import { css, html, LitElement } from 'lit';
3
4
  import { FocusMixin } from '../../mixins/focus-mixin.js';
@@ -51,11 +52,14 @@ export class TableColSortButton extends FocusMixin(LitElement) {
51
52
  button:disabled {
52
53
  opacity: 0.5;
53
54
  }
54
- button:hover,
55
- button:focus {
56
- outline-style: none;
55
+ button:hover {
57
56
  text-decoration: underline;
58
57
  }
58
+ button:focus-visible {
59
+ border-radius: 0.2rem;
60
+ box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--d2l-color-celestine);
61
+ outline-style: none;
62
+ }
59
63
  `;
60
64
  }
61
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.51.4",
3
+ "version": "2.52.0",
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",