@brightspace-ui/core 3.205.0 → 3.205.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.
|
@@ -31,6 +31,7 @@ import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
|
|
|
31
31
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
32
32
|
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
|
33
33
|
import { offscreenStyles } from '../offscreen/offscreen.js';
|
|
34
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
34
35
|
import { SubscriberRegistryController } from '../../controllers/subscriber/subscriberControllers.js';
|
|
35
36
|
|
|
36
37
|
const ARROWLEFT_KEY_CODE = 37;
|
|
@@ -635,6 +636,10 @@ class Filter extends FocusMixin(LocalizeCoreElement(LitElement)) {
|
|
|
635
636
|
listItems = dimension.values.map(item => this._createSetDimensionItem(item));
|
|
636
637
|
}
|
|
637
638
|
|
|
639
|
+
const listStyles = {
|
|
640
|
+
paddingBlockEnd: dimension.hasMore ? '10px' : undefined
|
|
641
|
+
};
|
|
642
|
+
|
|
638
643
|
return html`
|
|
639
644
|
${searchResults}
|
|
640
645
|
<d2l-list
|
|
@@ -644,7 +649,8 @@ class Filter extends FocusMixin(LocalizeCoreElement(LitElement)) {
|
|
|
644
649
|
grid
|
|
645
650
|
label="${ifDefined(listLabel)}"
|
|
646
651
|
?selection-single="${dimension.selectionSingle}"
|
|
647
|
-
separators="between"
|
|
652
|
+
separators="between"
|
|
653
|
+
style=${styleMap(listStyles)}>
|
|
648
654
|
${selectedListItems}
|
|
649
655
|
${listHeader}
|
|
650
656
|
${listItems}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.205.
|
|
3
|
+
"version": "3.205.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",
|