@brightspace-ui-labs/facet-filter-sort 4.2.3 → 4.2.4
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.
- package/components/applied-filters/applied-core-filters.js +1 -1
- package/components/applied-filters/applied-filters.js +2 -3
- package/components/filter-dropdown/filter-dropdown-category.js +1 -1
- package/components/filter-dropdown/filter-dropdown-option.js +1 -1
- package/components/sort-by-dropdown/sort-by-dropdown-option.js +1 -1
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@brightspace-ui/core/components/button/button-subtle.js';
|
|
2
2
|
import '@brightspace-ui-labs/multi-select/multi-select-list.js';
|
|
3
3
|
import '@brightspace-ui-labs/multi-select/multi-select-list-item.js';
|
|
4
|
-
import { css, html, LitElement } from 'lit-element
|
|
4
|
+
import { css, html, LitElement } from 'lit-element';
|
|
5
5
|
import { announce } from '@brightspace-ui/core/helpers/announce.js';
|
|
6
6
|
import { bodyCompactStyles } from '@brightspace-ui/core/components/typography/styles.js';
|
|
7
7
|
import { IdSubscriberController } from '@brightspace-ui/core/controllers/subscriber/subscriberControllers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@brightspace-ui/core/components/button/button-subtle.js';
|
|
2
2
|
import '@brightspace-ui-labs/multi-select/multi-select-list.js';
|
|
3
3
|
import '@brightspace-ui-labs/multi-select/multi-select-list-item.js';
|
|
4
|
-
import { css, html, LitElement } from 'lit-element
|
|
4
|
+
import { css, html, LitElement } from 'lit-element';
|
|
5
5
|
import { announce } from '@brightspace-ui/core/helpers/announce.js';
|
|
6
6
|
import { bodyCompactStyles } from '@brightspace-ui/core/components/typography/styles.js';
|
|
7
7
|
import { getComposedChildren } from '@brightspace-ui/core/helpers/dom.js';
|
|
@@ -158,11 +158,10 @@ class D2lLabsAppliedFilters extends RtlMixin(LocalizeStaticMixin(LitElement)) {
|
|
|
158
158
|
</d2l-labs-multi-select-list-item>
|
|
159
159
|
`)}
|
|
160
160
|
</d2l-labs-multi-select-list>`
|
|
161
|
-
:
|
|
161
|
+
: null;
|
|
162
162
|
|
|
163
163
|
return html`
|
|
164
164
|
<div class="d2l-labs-applied-filters-wrapper">
|
|
165
|
-
<span id="d2l-labs-applied-filters-label" class="d2l-labs-applied-filters-label d2l-body-compact">${this.labelText || this.localize('appliedFilters')}</span>
|
|
166
165
|
<div id="d2l-list-holder">
|
|
167
166
|
${filters}
|
|
168
167
|
<d2l-button-subtle id="d2l-clear-filters-button" text="${this.localize('clearFilters')}" ?hidden="${this._selectedEntries.length < CLEAR_FILTERS_THRESHOLD}" @click="${this._clearFiltersClicked}"></d2l-button-subtle>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@brightspace-ui/core/components/colors/colors.js';
|
|
2
2
|
import '@brightspace-ui/core/components/inputs/input-search.js';
|
|
3
3
|
import '@brightspace-ui/core/components/menu/menu.js';
|
|
4
|
-
import { css, html, LitElement } from 'lit-element
|
|
4
|
+
import { css, html, LitElement } from 'lit-element';
|
|
5
5
|
import { ifDefined } from 'lit-html/directives/if-defined.js';
|
|
6
6
|
import { LocalizeStaticMixin } from '@brightspace-ui/core/mixins/localize-static-mixin.js';
|
|
7
7
|
import { TabPanelMixin } from '@brightspace-ui/core/components/tabs/tab-panel-mixin.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@brightspace-ui/core/components/icons/icon.js';
|
|
2
|
-
import { css, html, LitElement } from 'lit-element
|
|
2
|
+
import { css, html, LitElement } from 'lit-element';
|
|
3
3
|
import { MenuItemSelectableMixin } from '@brightspace-ui/core/components/menu/menu-item-selectable-mixin.js';
|
|
4
4
|
import { menuItemSelectableStyles } from '@brightspace-ui/core/components/menu/menu-item-selectable-styles.js';
|
|
5
5
|
import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@brightspace-ui/core/components/icons/icon.js';
|
|
2
|
-
import { html, LitElement } from 'lit-element
|
|
2
|
+
import { html, LitElement } from 'lit-element';
|
|
3
3
|
import { MenuItemRadioMixin } from '@brightspace-ui/core/components/menu/menu-item-radio-mixin.js';
|
|
4
4
|
import { menuItemSelectableStyles } from '@brightspace-ui/core/components/menu/menu-item-selectable-styles.js';
|
|
5
5
|
import { RtlMixin } from '@brightspace-ui/core/mixins/rtl-mixin.js';
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lint:lit": "lit-analyzer \"{components, test, demo}/**/*.js\" --strict --rules.no-unknown-tag-name off",
|
|
20
20
|
"lint:polymer": "polymer lint -i \"test/**/*.js\" \"demo/**/*.js\" \"components/**/*.js\"",
|
|
21
21
|
"lint:style": "stylelint \"**/*.{js,html}\"",
|
|
22
|
-
"start": "web-dev-server --node-resolve --watch --open",
|
|
22
|
+
"start": "web-dev-server --node-resolve --watch --open --app-index demo/index.html",
|
|
23
23
|
"test": "npm run lint && npm run test:headless",
|
|
24
24
|
"test:headless": "web-test-runner --group default",
|
|
25
25
|
"test:headless:watch": "web-test-runner --group default --watch"
|
|
@@ -42,16 +42,17 @@
|
|
|
42
42
|
"eslint-plugin-sort-class-members": "^1",
|
|
43
43
|
"lit-analyzer": "^1",
|
|
44
44
|
"polymer-cli": "^1",
|
|
45
|
-
"sinon": "^
|
|
45
|
+
"sinon": "^13",
|
|
46
46
|
"stylelint": "^14"
|
|
47
47
|
},
|
|
48
|
-
"version": "4.2.
|
|
48
|
+
"version": "4.2.4",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@brightspace-ui/core": "^1",
|
|
51
51
|
"d2l-localize-behavior": "BrightspaceUI/localize-behavior#semver:^2",
|
|
52
52
|
"@brightspace-ui-labs/multi-select": "^5",
|
|
53
53
|
"d2l-typography": "BrightspaceUI/typography#semver:^7",
|
|
54
54
|
"lit-element": "^2",
|
|
55
|
+
"lit-html": "^1",
|
|
55
56
|
"@polymer/polymer": "^3"
|
|
56
57
|
}
|
|
57
58
|
}
|