@fluid-topics/ft-filter 1.1.41 → 1.1.42
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/README.md +1 -1
- package/build/ft-filter-level.js +1 -1
- package/build/{ft-filter-level.css.js → ft-filter-level.styles.js} +2 -2
- package/build/ft-filter.js +1 -1
- package/build/ft-filter.light.js +1 -1
- package/build/ft-filter.min.js +396 -380
- package/build/{ft-filter.css.js → ft-filter.styles.js} +2 -2
- package/build/index.d.ts +2 -2
- package/build/index.js +2 -2
- package/package.json +10 -10
- /package/build/{ft-filter-level.css.d.ts → ft-filter-level.styles.d.ts} +0 -0
- /package/build/{ft-filter.css.d.ts → ft-filter.styles.d.ts} +0 -0
package/README.md
CHANGED
package/build/ft-filter-level.js
CHANGED
|
@@ -14,7 +14,7 @@ import { FtRipple } from "@fluid-topics/ft-ripple";
|
|
|
14
14
|
import { FtIcon } from "@fluid-topics/ft-icon";
|
|
15
15
|
import { FtCheckbox } from "@fluid-topics/ft-checkbox";
|
|
16
16
|
import { FtRadio } from "@fluid-topics/ft-radio";
|
|
17
|
-
import { levelStyles } from "./ft-filter-level.
|
|
17
|
+
import { levelStyles } from "./ft-filter-level.styles";
|
|
18
18
|
class FtFilterLevel extends FtLitElement {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
2
|
import { designSystemVariables, FtCssVariableFactory, setVariable } from "@fluid-topics/ft-wc-utils";
|
|
3
|
-
import { FtButtonCssVariables } from "@fluid-topics/ft-button/build/ft-button.
|
|
4
|
-
import { FtTypographyBody2CssVariables } from "@fluid-topics/ft-typography/build/ft-typography.
|
|
3
|
+
import { FtButtonCssVariables } from "@fluid-topics/ft-button/build/ft-button.styles";
|
|
4
|
+
import { FtTypographyBody2CssVariables } from "@fluid-topics/ft-typography/build/ft-typography.styles";
|
|
5
5
|
export const FtFilterLevelCssVariables = {
|
|
6
6
|
borderRadiusM: FtCssVariableFactory.external(designSystemVariables.borderRadiusM, "Design system"),
|
|
7
7
|
colorOutline: FtCssVariableFactory.external(designSystemVariables.colorOutline, "Design system"),
|
package/build/ft-filter.js
CHANGED
|
@@ -11,7 +11,7 @@ import { FtTypography } from "@fluid-topics/ft-typography";
|
|
|
11
11
|
import { FtFilterLevel } from "./ft-filter-level";
|
|
12
12
|
import { FtButton } from "@fluid-topics/ft-button";
|
|
13
13
|
import { FtSnapScroll } from "@fluid-topics/ft-snap-scroll";
|
|
14
|
-
import { styles } from "./ft-filter.
|
|
14
|
+
import { styles } from "./ft-filter.styles";
|
|
15
15
|
export class FtFilterChangeEvent extends CustomEvent {
|
|
16
16
|
constructor(selectedValues) {
|
|
17
17
|
super("change", { detail: selectedValues });
|
package/build/ft-filter.light.js
CHANGED
|
@@ -1145,7 +1145,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},P=t=>({_$litSta
|
|
|
1145
1145
|
@change=${t=>t.stopPropagation()}>
|
|
1146
1146
|
${t.renderOption?t.renderOption:t.label}
|
|
1147
1147
|
</ft-radio>
|
|
1148
|
-
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ri.elementDefinitions={"ft-button":ri,"ft-ripple":Bo,"ft-typography":go,"ft-checkbox":ui,"ft-icon":Qe,"ft-radio":$i},Ri.styles=Wi,Ei([i.property({type:String})],Ri.prototype,"filterId",void 0),Ei([i.property({type:Object})],Ri.prototype,"parent",void 0),Ei([i.property({type:Array})],Ri.prototype,"options",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"multivalued",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"disabled",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"hideSelectedOptions",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"preventNavigation",void 0),Ei([i.property({type:String})],Ri.prototype,"filter",void 0),Ei([i.property({type:String})],Ri.prototype,"moreValuesButtonLabel",void 0),Ei([i.property({type:String})],Ri.prototype,"noValuesLabel",void 0),Ei([i.property({type:Number})],Ri.prototype,"displayedValuesLimit",void 0),Ei([i.query(".ft-filter-level--container")],Ri.prototype,"container",void 0),Ei([i.state()],Ri.prototype,"displayedPages",void 0);const Ui={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","
|
|
1148
|
+
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ri.elementDefinitions={"ft-button":ri,"ft-ripple":Bo,"ft-typography":go,"ft-checkbox":ui,"ft-icon":Qe,"ft-radio":$i},Ri.styles=Wi,Ei([i.property({type:String})],Ri.prototype,"filterId",void 0),Ei([i.property({type:Object})],Ri.prototype,"parent",void 0),Ei([i.property({type:Array})],Ri.prototype,"options",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"multivalued",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"disabled",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"hideSelectedOptions",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"preventNavigation",void 0),Ei([i.property({type:String})],Ri.prototype,"filter",void 0),Ei([i.property({type:String})],Ri.prototype,"moreValuesButtonLabel",void 0),Ei([i.property({type:String})],Ri.prototype,"noValuesLabel",void 0),Ei([i.property({type:Number})],Ri.prototype,"displayedValuesLimit",void 0),Ei([i.query(".ft-filter-level--container")],Ri.prototype,"container",void 0),Ei([i.state()],Ri.prototype,"displayedPages",void 0);const Ui={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},Li=e.css`
|
|
1149
1149
|
.ft-snap-scroll {
|
|
1150
1150
|
box-sizing: border-box;
|
|
1151
1151
|
position: relative;
|