@brightspace-ui/core 3.162.0 → 3.162.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.
@@ -49,7 +49,8 @@ class Progress extends LitElement {
49
49
  display: block;
50
50
  min-width: 6rem;
51
51
  }
52
- :host([hidden]) {
52
+ :host([hidden]),
53
+ .text[hidden] {
53
54
  display: none;
54
55
  }
55
56
  .text {
@@ -130,7 +131,7 @@ class Progress extends LitElement {
130
131
  const perecentageText = formatPercent(percentage);
131
132
 
132
133
  return html`
133
- <div class=${classMap(textClasses)} >
134
+ <div class=${classMap(textClasses)} ?hidden=${(this.labelHidden || !this.label) && this.valueHidden}>
134
135
  <span ?hidden=${this.labelHidden} id="label">${this.label}</span>
135
136
  <span style="font-size: 0;">${getSeparator({ nonBreaking: true })}</span>
136
137
  <span ?hidden=${this.valueHidden}>${perecentageText}</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.162.0",
3
+ "version": "3.162.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",