@limetech/lime-elements 38.29.2 → 38.29.4
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/CHANGELOG.md +16 -0
- package/dist/cjs/limel-table.cjs.entry.js +15 -7
- package/dist/cjs/limel-table.cjs.entry.js.map +1 -1
- package/dist/collection/components/table/table.css +3 -1
- package/dist/collection/components/table/table.js +15 -7
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/esm/limel-table.entry.js +15 -7
- package/dist/esm/limel-table.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-76924492.entry.js → p-d1aa44e1.entry.js} +2 -2
- package/dist/lime-elements/p-d1aa44e1.entry.js.map +1 -0
- package/dist/types/components/table/table.d.ts +3 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/dist/lime-elements/p-76924492.entry.js.map +0 -1
|
@@ -21,7 +21,8 @@ import { Languages } from '../date-picker/date.types';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare class Table {
|
|
23
23
|
/**
|
|
24
|
-
* Data to be displayed in the table
|
|
24
|
+
* Data to be displayed in the table. Provide a stable `id` on each row to keep
|
|
25
|
+
* scroll position, focus, and selections intact across updates.
|
|
25
26
|
*/
|
|
26
27
|
data: object[];
|
|
27
28
|
/**
|
|
@@ -151,6 +152,7 @@ export declare class Table {
|
|
|
151
152
|
protected updateSortableColumns(): void;
|
|
152
153
|
protected updateSorting(newValue: ColumnSorter[], oldValue: ColumnSorter[]): void;
|
|
153
154
|
private shouldReplaceData;
|
|
155
|
+
private getRowIds;
|
|
154
156
|
private areEqualIds;
|
|
155
157
|
private isSameOrder;
|
|
156
158
|
private areSameColumns;
|
|
@@ -3077,7 +3077,7 @@ export namespace Components {
|
|
|
3077
3077
|
*/
|
|
3078
3078
|
"columns": Column[];
|
|
3079
3079
|
/**
|
|
3080
|
-
* Data to be displayed in the table
|
|
3080
|
+
* Data to be displayed in the table. Provide a stable `id` on each row to keep scroll position, focus, and selections intact across updates.
|
|
3081
3081
|
*/
|
|
3082
3082
|
"data": object[];
|
|
3083
3083
|
/**
|
|
@@ -8432,7 +8432,7 @@ declare namespace LocalJSX {
|
|
|
8432
8432
|
*/
|
|
8433
8433
|
"columns"?: Column[];
|
|
8434
8434
|
/**
|
|
8435
|
-
* Data to be displayed in the table
|
|
8435
|
+
* Data to be displayed in the table. Provide a stable `id` on each row to keep scroll position, focus, and selections intact across updates.
|
|
8436
8436
|
*/
|
|
8437
8437
|
"data"?: object[];
|
|
8438
8438
|
/**
|