@brightspace-ui/core 3.248.0 → 3.248.1

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.
@@ -29,11 +29,6 @@ class PageHeaderButton extends FocusMixin(LitElement) {
29
29
  * @type {'start'|'end'}
30
30
  */
31
31
  iconPosition: { attribute: 'icon-position', type: String },
32
- /**
33
- * Visually hides the highlight border when hovered/focused
34
- * @type {boolean}
35
- */
36
- noHighlightBorder: { attribute: 'no-highlight-border', type: Boolean },
37
32
  /**
38
33
  * REQUIRED: Text for the button
39
34
  * @type {string}
@@ -68,7 +63,6 @@ class PageHeaderButton extends FocusMixin(LitElement) {
68
63
  super();
69
64
  this.disabled = false;
70
65
  this.iconPosition = 'start';
71
- this.noHighlightBorder = false;
72
66
  this.textHidden = false;
73
67
  this.tooltipPosition = 'bottom';
74
68
  }
@@ -79,7 +73,7 @@ class PageHeaderButton extends FocusMixin(LitElement) {
79
73
 
80
74
  render() {
81
75
  const { ariaLabel, id, text, tooltip } = this.#getRenderSettings();
82
- const highlightBorder = (!this.disabled && !this.noHighlightBorder) ? html`<span class="d2l-labs-navigation-highlight-border"></span>` : nothing;
76
+ const highlightBorder = !this.disabled ? html`<span class="d2l-labs-navigation-highlight-border"></span>` : nothing;
83
77
  const icon = html`<d2l-icon icon="${this.icon}"></d2l-icon>`;
84
78
  return html`
85
79
  <button id="${ifDefined(id)}" ?disabled="${this.disabled}" aria-label="${ifDefined(ariaLabel)}" type="button">
@@ -12379,12 +12379,6 @@
12379
12379
  "type": "'start'|'end'",
12380
12380
  "default": "\"start\""
12381
12381
  },
12382
- {
12383
- "name": "no-highlight-border",
12384
- "description": "Visually hides the highlight border when hovered/focused",
12385
- "type": "boolean",
12386
- "default": "false"
12387
- },
12388
12382
  {
12389
12383
  "name": "text-hidden",
12390
12384
  "description": "Visually hides the text but still accessible",
@@ -12425,13 +12419,6 @@
12425
12419
  "type": "'start'|'end'",
12426
12420
  "default": "\"start\""
12427
12421
  },
12428
- {
12429
- "name": "noHighlightBorder",
12430
- "attribute": "no-highlight-border",
12431
- "description": "Visually hides the highlight border when hovered/focused",
12432
- "type": "boolean",
12433
- "default": "false"
12434
- },
12435
12422
  {
12436
12423
  "name": "textHidden",
12437
12424
  "attribute": "text-hidden",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.248.0",
3
+ "version": "3.248.1",
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",