@fluid-topics/ft-table 1.2.66 → 1.2.68
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-table.light.js +104 -104
- package/build/ft-table.min.js +94 -70
- package/build/ftds-table.d.ts +1 -1
- package/build/ftds-table.js +1 -1
- package/package.json +7 -6
- package/build/cactus.d.ts +0 -1
- package/build/cactus.js +0 -24
package/build/ftds-table.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class FtdsTable<T extends Record<string, any>> extends FtLitEleme
|
|
|
26
26
|
protected renderRow(row: T, rowIndex: number): TemplateResult<1>;
|
|
27
27
|
protected renderSortButton(sortIcon: string, label: string, sort: () => void, index: number): TemplateResult<1>;
|
|
28
28
|
protected renderCell(column: ColumnConfiguration<T>, columnIndex: number, row: T, rowIndex: number): TemplateResult<1>;
|
|
29
|
-
protected renderColumnSort(column: ColumnConfiguration<T>, index: number): TemplateResult<1
|
|
29
|
+
protected renderColumnSort(column: ColumnConfiguration<T>, index: number): typeof nothing | TemplateResult<1>;
|
|
30
30
|
private renderEmptyStateTable;
|
|
31
31
|
protected getSortIcon(isSorted: boolean | undefined): string;
|
|
32
32
|
protected update(props: PropertyValues): void;
|
package/build/ftds-table.js
CHANGED
|
@@ -17,7 +17,7 @@ import { classMap } from "lit/directives/class-map.js";
|
|
|
17
17
|
import { styleMap } from "lit/directives/style-map.js";
|
|
18
18
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
19
19
|
import { FtLitElement, jsonProperty } from "@fluid-topics/ft-wc-utils";
|
|
20
|
-
import { cactusSvg } from "
|
|
20
|
+
import { cactusSvg } from "@fluid-topics/ft-assets";
|
|
21
21
|
class FtdsTable extends FtLitElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-table",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.68",
|
|
4
4
|
"description": "A dynamic table",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluid-topics/design-system-variables": "0.1.
|
|
26
|
-
"@fluid-topics/ft-
|
|
27
|
-
"@fluid-topics/ft-
|
|
28
|
-
"@fluid-topics/ft-
|
|
25
|
+
"@fluid-topics/design-system-variables": "0.1.99",
|
|
26
|
+
"@fluid-topics/ft-assets": "1.2.68",
|
|
27
|
+
"@fluid-topics/ft-button": "1.2.68",
|
|
28
|
+
"@fluid-topics/ft-typography": "1.2.68",
|
|
29
|
+
"@fluid-topics/ft-wc-utils": "1.2.68",
|
|
29
30
|
"lit": "3.1.0"
|
|
30
31
|
},
|
|
31
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "9e118cc3ee36e48d4b93d953ea7f7ea610ef450d"
|
|
32
33
|
}
|
package/build/cactus.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cactusSvg: import("lit-html").TemplateResult<1>;
|
package/build/cactus.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { html } from "lit";
|
|
2
|
-
export const cactusSvg = html `
|
|
3
|
-
<svg width="120" height="121" viewBox="0 0 120 121" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
-
<g clip-path="url(#clip0_9048_22830)">
|
|
5
|
-
<path
|
|
6
|
-
d="M60 120.065C93.1371 120.065 120 93.2025 120 60.0654C120 26.9283 93.1371 0.0654297 60 0.0654297C26.8629 0.0654297 0 26.9283 0 60.0654C0 93.2025 26.8629 120.065 60 120.065Z"
|
|
7
|
-
fill="#F2F2F5"/>
|
|
8
|
-
<path
|
|
9
|
-
d="M60.0022 68.8142C60.0022 68.1208 60.5589 67.5641 61.2523 67.5641C61.9477 67.5641 62.5025 68.1911 62.5025 68.8142C62.5025 69.4373 61.9458 69.994 61.2523 69.994C60.5589 69.994 60.0022 69.5076 60.0022 68.8142Z"
|
|
10
|
-
fill="#BBBBC9"/>
|
|
11
|
-
<path
|
|
12
|
-
d="M57.5019 51.3123C57.5019 50.6188 58.0586 50.0621 58.7521 50.0621C59.4474 50.0621 60.0022 50.6169 60.0022 51.3123C60.0022 52.0077 59.4455 52.4921 58.7521 52.4921C58.0586 52.4921 57.5019 52.0057 57.5019 51.3123Z"
|
|
13
|
-
fill="#BBBBC9"/>
|
|
14
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
15
|
-
d="M74.8843 56.3753C76.154 56.1605 77.4635 56.5222 78.4495 57.352C79.4418 58.1802 80.0044 59.3991 80.0044 60.7587V63.2589C80.0044 68.4353 75.8047 72.635 70.6284 72.635L67.503 72.6349V77.5654H83.75C84.4404 77.5654 85 78.1251 85 78.8154C85 79.5058 84.4404 80.0654 83.75 80.0654H36.25C35.5596 80.0654 35 79.5058 35 78.8154C35 78.1251 35.5596 77.5654 36.25 77.5654H52.5014V63.8136L49.376 63.7433C44.1997 63.7433 40 59.614 40 54.4376V51.9373C40 50.6481 40.5657 49.425 41.5525 48.5948C42.5393 47.7646 43.8481 47.4032 45.1178 47.6181C47.2664 47.9799 48.751 50.0012 48.751 52.1796V54.4376C48.751 54.7794 49.0342 55.0627 49.376 55.0627H52.5014V47.5619C52.5014 45.5015 53.353 43.5388 54.7751 42.1222C56.3377 40.7061 58.3536 39.9637 60.4022 40.0767C64.4652 40.2876 67.503 43.9912 67.503 47.9838V63.8136H70.6284C70.9702 63.8136 71.2534 63.5304 71.2534 63.1886V60.9305C71.2534 58.7584 72.738 56.7347 74.8843 56.3753ZM49.376 61.3134H52.5014V57.5629L49.376 57.6333C47.6477 57.6333 46.2507 56.2363 46.2507 54.5079V52.0077C46.2507 50.9724 45.4107 50.1325 44.3755 50.1325C43.3402 50.1325 42.5003 50.9724 42.5003 52.0077V54.5079C42.5003 58.2373 45.5764 61.3134 49.376 61.3134ZM55.0016 77.5652H65.0027V47.5619C65.0027 44.8678 62.7666 42.6316 60.0022 42.6316C57.2378 42.6316 55.0016 44.7983 55.0016 47.5619V77.5652ZM70.6284 70.0643C74.4272 70.0643 77.5041 66.9882 77.5041 63.1886V60.6883C77.5041 59.6569 76.6642 58.9537 75.6289 58.9537C74.5936 58.9537 73.7537 59.7233 73.7537 60.7586V63.2589C73.7537 64.9872 72.3567 66.3842 70.6284 66.3842H67.503V70.0643H70.6284Z"
|
|
16
|
-
fill="#BBBBC9"/>
|
|
17
|
-
</g>
|
|
18
|
-
<defs>
|
|
19
|
-
<clipPath id="clip0_9048_22830">
|
|
20
|
-
<rect width="120" height="120" fill="white" transform="translate(0 0.0654297)"/>
|
|
21
|
-
</clipPath>
|
|
22
|
-
</defs>
|
|
23
|
-
</svg>
|
|
24
|
-
`;
|