@brightspace-ui/core 3.152.0 → 3.153.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.
@@ -21,6 +21,11 @@ export const LinkMixin = superclass => class extends LocalizeCoreElement(supercl
21
21
  * @type {string}
22
22
  */
23
23
  href: { type: String },
24
+ /**
25
+ * Label for the link
26
+ * @type {string}
27
+ */
28
+ ariaLabel: { type: String, attribute: 'aria-label' },
24
29
  /**
25
30
  * Where to display the linked URL
26
31
  * @type {string}
@@ -52,14 +57,14 @@ export const LinkMixin = superclass => class extends LocalizeCoreElement(supercl
52
57
  `];
53
58
  }
54
59
 
55
- _render(inner, { rel = undefined, ariaLabel = undefined, linkClasses = {}, tabindex = undefined } = {}) {
60
+ _render(inner, { rel = undefined, linkClasses = {}, tabindex = undefined } = {}) {
56
61
  /*
57
62
  * NOTICE:
58
63
  * All html template whitespace within this component is critical to proper rendering and wrapping.
59
64
  * Do not modify for readability!
60
65
  */
61
66
  return html`<a
62
- aria-label="${ifDefined(ariaLabel)}"
67
+ aria-label="${ifDefined(this.ariaLabel)}"
63
68
  class="${classMap(linkClasses)}"
64
69
  download="${ifDefined(this.download)}"
65
70
  href="${ifDefined(this.href)}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.152.0",
3
+ "version": "3.153.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",