@fluid-topics/ft-filter 0.3.71 → 1.0.0-alpha.0
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/build/ft-filter-level.css.d.ts +1 -2
- package/build/ft-filter-level.css.js +1 -2
- package/build/ft-filter-level.d.ts +0 -1
- package/build/ft-filter-level.js +7 -7
- package/build/ft-filter-option.d.ts +0 -1
- package/build/ft-filter-option.js +2 -2
- package/build/ft-filter-option.properties.d.ts +0 -1
- package/build/ft-filter-option.properties.js +0 -1
- package/build/ft-filter.css.d.ts +0 -1
- package/build/ft-filter.css.js +0 -1
- package/build/ft-filter.d.ts +0 -1
- package/build/ft-filter.js +2 -2
- package/build/ft-filter.light.js +208 -208
- package/build/ft-filter.min.js +241 -251
- package/build/ft-filter.properties.d.ts +0 -1
- package/build/ft-filter.properties.js +0 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/utils.d.ts +0 -1
- package/build/utils.js +0 -1
- package/package.json +11 -11
|
@@ -13,5 +13,4 @@ export declare const FtFilterLevelCssVariables: {
|
|
|
13
13
|
lineHeight: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
14
14
|
textTransform: import("@fluid-topics/ft-wc-utils").FtCssVariable;
|
|
15
15
|
};
|
|
16
|
-
export declare const
|
|
17
|
-
//# sourceMappingURL=ft-filter-level.css.d.ts.map
|
|
16
|
+
export declare const levelStyles: import("lit").CSSResult;
|
|
@@ -18,7 +18,7 @@ export const FtFilterLevelCssVariables = {
|
|
|
18
18
|
textTransform: FtCssVariableFactory.external(FtTypographyBody2CssVariables.textTransform, "Body2 typography"),
|
|
19
19
|
};
|
|
20
20
|
// language=CSS
|
|
21
|
-
export const
|
|
21
|
+
export const levelStyles = css `
|
|
22
22
|
.ft-filter-level--container {
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
@@ -85,4 +85,3 @@ export const styles = css `
|
|
|
85
85
|
color: ${FtFilterLevelCssVariables.colorOnSurfaceMedium};
|
|
86
86
|
}
|
|
87
87
|
`;
|
|
88
|
-
//# sourceMappingURL=ft-filter-level.css.js.map
|
package/build/ft-filter-level.js
CHANGED
|
@@ -15,8 +15,8 @@ import { FtRipple } from "@fluid-topics/ft-ripple";
|
|
|
15
15
|
import { FtIcon } from "@fluid-topics/ft-icon";
|
|
16
16
|
import { FtCheckbox } from "@fluid-topics/ft-checkbox";
|
|
17
17
|
import { FtRadio } from "@fluid-topics/ft-radio";
|
|
18
|
-
import {
|
|
19
|
-
|
|
18
|
+
import { levelStyles } from "./ft-filter-level.css";
|
|
19
|
+
class FtFilterLevel extends FtLitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
22
|
this.id = "";
|
|
@@ -60,7 +60,7 @@ export class FtFilterLevel extends FtLitElement {
|
|
|
60
60
|
@keyup=${this.goBackOnKeyPress}
|
|
61
61
|
@click=${this.goBackOnClick}>
|
|
62
62
|
<ft-ripple></ft-ripple>
|
|
63
|
-
<ft-icon
|
|
63
|
+
<ft-icon>thin_arrow_left</ft-icon>
|
|
64
64
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
65
65
|
</div>
|
|
66
66
|
`}
|
|
@@ -75,7 +75,7 @@ export class FtFilterLevel extends FtLitElement {
|
|
|
75
75
|
<div class="ft-filter-level--option" part="options">
|
|
76
76
|
${this.multivalued ? this.buildMultiValuedOption(option) : this.buildMonoValuedOption(option)}
|
|
77
77
|
${this.preventNavigation || option.selected || ((_a = option.subOptions) !== null && _a !== void 0 ? _a : []).length === 0 ? nothing : html `
|
|
78
|
-
<ft-button icon="
|
|
78
|
+
<ft-button icon="thin_arrow_right"
|
|
79
79
|
part="controls navigate-hierarchy"
|
|
80
80
|
label="${option.label}"
|
|
81
81
|
?disabled=${this.disabled}
|
|
@@ -88,7 +88,7 @@ export class FtFilterLevel extends FtLitElement {
|
|
|
88
88
|
${limitedOptions.length < options.length ? html `
|
|
89
89
|
<ft-button
|
|
90
90
|
class="ft-filter-level--display-more"
|
|
91
|
-
icon="
|
|
91
|
+
icon="thin_arrow"
|
|
92
92
|
dense trailingIcon
|
|
93
93
|
part="controls display-more"
|
|
94
94
|
@click=${this.displayMore}>
|
|
@@ -161,7 +161,7 @@ FtFilterLevel.elementDefinitions = {
|
|
|
161
161
|
"ft-radio": FtRadio,
|
|
162
162
|
};
|
|
163
163
|
// language=CSS
|
|
164
|
-
FtFilterLevel.styles =
|
|
164
|
+
FtFilterLevel.styles = levelStyles;
|
|
165
165
|
__decorate([
|
|
166
166
|
property({ type: String })
|
|
167
167
|
], FtFilterLevel.prototype, "id", void 0);
|
|
@@ -201,4 +201,4 @@ __decorate([
|
|
|
201
201
|
__decorate([
|
|
202
202
|
state()
|
|
203
203
|
], FtFilterLevel.prototype, "displayedPages", void 0);
|
|
204
|
-
|
|
204
|
+
export { FtFilterLevel };
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { FtLitElement, jsonProperty } from "@fluid-topics/ft-wc-utils";
|
|
8
8
|
import { property, query } from "lit/decorators.js";
|
|
9
9
|
import { html } from "lit";
|
|
10
|
-
|
|
10
|
+
class FtFilterOption extends FtLitElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.label = "";
|
|
@@ -51,4 +51,4 @@ __decorate([
|
|
|
51
51
|
__decorate([
|
|
52
52
|
query(".ft-filter-option--slot")
|
|
53
53
|
], FtFilterOption.prototype, "slotElement", void 0);
|
|
54
|
-
|
|
54
|
+
export { FtFilterOption };
|
package/build/ft-filter.css.d.ts
CHANGED
package/build/ft-filter.css.js
CHANGED
package/build/ft-filter.d.ts
CHANGED
package/build/ft-filter.js
CHANGED
|
@@ -18,7 +18,7 @@ export class FtFilterChangeEvent extends CustomEvent {
|
|
|
18
18
|
super("change", { detail: selectedValues });
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
class FtFilter extends FtLitElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
|
24
24
|
this.id = "";
|
|
@@ -319,4 +319,4 @@ __decorate([
|
|
|
319
319
|
__decorate([
|
|
320
320
|
state()
|
|
321
321
|
], FtFilter.prototype, "slideOut", void 0);
|
|
322
|
-
|
|
322
|
+
export { FtFilter };
|