@fluid-topics/ft-filterable-table 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-filterable-table.css.d.ts +0 -1
- package/build/ft-filterable-table.css.js +0 -1
- package/build/ft-filterable-table.d.ts +0 -1
- package/build/ft-filterable-table.js +3 -2
- package/build/ft-filterable-table.light.js +267 -266
- package/build/ft-filterable-table.min.js +297 -306
- package/build/ft-filterable-table.properties.d.ts +1 -2
- package/build/ft-filterable-table.properties.js +0 -1
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -1
- package/package.json +7 -7
|
@@ -18,7 +18,7 @@ import { styles } from "./ft-filterable-table.css";
|
|
|
18
18
|
const DEFAULT_RENDER = (v) => html `${v}`;
|
|
19
19
|
const DEFAULT_COMPARATOR = (a, b) => a - b;
|
|
20
20
|
const DEFAULT_STRINGIFY = (v) => "" + v;
|
|
21
|
-
|
|
21
|
+
class FtFilterableTable extends FtLitElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
// Don't scope components here or web components cannot be used in columns render method
|
|
24
24
|
// static elementDefinitions: ElementDefinitionsMap = {}
|
|
@@ -150,6 +150,7 @@ export class FtFilterableTable extends FtLitElement {
|
|
|
150
150
|
round
|
|
151
151
|
dense
|
|
152
152
|
class="${((_a = column.sortable) !== null && _a !== void 0 ? _a : true) ? "" : "hidden"}"
|
|
153
|
+
iconVariant="material"
|
|
153
154
|
icon="${sortIcon}"
|
|
154
155
|
label="Sort ${column.title}"
|
|
155
156
|
@click=${sort}
|
|
@@ -234,4 +235,4 @@ __decorate([
|
|
|
234
235
|
__decorate([
|
|
235
236
|
state()
|
|
236
237
|
], FtFilterableTable.prototype, "currentSort", void 0);
|
|
237
|
-
|
|
238
|
+
export { FtFilterableTable };
|