@fluid-topics/ft-filterable-table 1.1.40 → 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-filterable-table.js +1 -1
- package/build/ft-filterable-table.light.js +1 -1
- package/build/ft-filterable-table.min.js +435 -412
- package/build/{ft-filterable-table.css.js → ft-filterable-table.styles.js} +2 -2
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/package.json +6 -6
- /package/build/{ft-filterable-table.css.d.ts → ft-filterable-table.styles.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ import "@fluid-topics/ft-text-field";
|
|
|
14
14
|
import "@fluid-topics/ft-button";
|
|
15
15
|
import { classMap } from "lit/directives/class-map.js";
|
|
16
16
|
import { RowClickEvent } from "./ft-filterable-table.properties";
|
|
17
|
-
import { styles } from "./ft-filterable-table.
|
|
17
|
+
import { styles } from "./ft-filterable-table.styles";
|
|
18
18
|
const DEFAULT_RENDER = (v) => html `${v}`;
|
|
19
19
|
const DEFAULT_COMPARATOR = (a, b) => a - b;
|
|
20
20
|
const DEFAULT_STRINGIFY = (v) => "" + v;
|
|
@@ -1377,7 +1377,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1377
1377
|
width: ${tt.smallIconOnlyWidth};
|
|
1378
1378
|
padding: unset;
|
|
1379
1379
|
}
|
|
1380
|
-
`,o.noTextSelect];var mi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xi extends gi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Y.caption1medium:Y.body2medium}}xi.styles=[o.safariEllipsisFix,bi],mi([i.property({type:Boolean})],xi.prototype,"primary",void 0),mi([i.property({type:Boolean})],xi.prototype,"secondary",void 0),mi([i.property({type:Boolean})],xi.prototype,"tertiary",void 0),mi([i.property({type:Boolean})],xi.prototype,"neutral",void 0),mi([i.property({type:Boolean})],xi.prototype,"small",void 0),o.customElement("ft-button")(yi),o.customElement("ftds-button")(xi);class vi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Oi={headerBackground:o.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","
|
|
1380
|
+
`,o.noTextSelect];var mi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xi extends gi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Y.caption1medium:Y.body2medium}}xi.styles=[o.safariEllipsisFix,bi],mi([i.property({type:Boolean})],xi.prototype,"primary",void 0),mi([i.property({type:Boolean})],xi.prototype,"secondary",void 0),mi([i.property({type:Boolean})],xi.prototype,"tertiary",void 0),mi([i.property({type:Boolean})],xi.prototype,"neutral",void 0),mi([i.property({type:Boolean})],xi.prototype,"small",void 0),o.customElement("ft-button")(yi),o.customElement("ftds-button")(xi);class vi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Oi={headerBackground:o.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:o.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:o.FtCssVariableFactory.external(o.designSystemVariables.titleFont,"Design system"),contentFont:o.FtCssVariableFactory.external(o.designSystemVariables.contentFont,"Design system")},$i=e.css`
|
|
1381
1381
|
:host {
|
|
1382
1382
|
display: block;
|
|
1383
1383
|
}
|