@brightspace-ui/core 3.334.0 → 3.334.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.
|
@@ -436,11 +436,10 @@ class Filter extends FocusMixin(LocalizeCoreElement(LitElement)) {
|
|
|
436
436
|
}
|
|
437
437
|
return this._dimensions.map((dimension) => {
|
|
438
438
|
const builtDimension = this._buildDimension(dimension);
|
|
439
|
-
const countBadgeId = `filters-applied-count-${dimension.key}`;
|
|
440
439
|
const filtersAppliedText = `${this.localize('components.filter.filterCountDescription', { number: dimension.appliedCount })}`;
|
|
441
|
-
return html`<d2l-menu-item text="${dimension.text}" description="${dimension.text}.
|
|
440
|
+
return html`<d2l-menu-item text="${dimension.text}" description="${dimension.text}. ${filtersAppliedText}">
|
|
442
441
|
<div slot="supporting">
|
|
443
|
-
<d2l-count-badge
|
|
442
|
+
<d2l-count-badge number="${dimension.appliedCount}" max-digits="2" text="${filtersAppliedText}" hide-zero></d2l-count-badge>
|
|
444
443
|
</div>
|
|
445
444
|
${builtDimension}
|
|
446
445
|
</d2l-menu-item>`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.334.
|
|
3
|
+
"version": "3.334.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",
|