@aquera/nile-visualization 2.9.18 → 2.9.19
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
CHANGED
|
@@ -36,6 +36,9 @@ To run a local development server that serves the basic demo located in `demo/in
|
|
|
36
36
|
|
|
37
37
|
In this section, you can find the updates for each release of `nile-visualization`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
|
38
38
|
|
|
39
|
+
#### Version 2.9.19 (June 16, 2026)
|
|
40
|
+
- Nile Chart: Forwarded the new data-grid pagination sub-properties (`paginationVariant`, `totalItems`, `currentPage`, `pageSize`) through `<nile-chart>` when using `type: 'grid'` (UIF-1265)
|
|
41
|
+
|
|
39
42
|
#### Version 2.9.18 (June 10, 2026)
|
|
40
43
|
- Nile Chart: Exposed the full `<nile-data-grid>` property surface through `<nile-chart>` — every public grid property is forwarded when using `type: 'grid'`(UIF-1260)
|
|
41
44
|
|
|
@@ -17,6 +17,10 @@ export interface ChartGridConfigType {
|
|
|
17
17
|
paginationEnabled?: boolean;
|
|
18
18
|
pagination?: PaginationState;
|
|
19
19
|
pageSizeOptions?: number[];
|
|
20
|
+
paginationVariant?: 'fluid' | 'compact' | 'mini';
|
|
21
|
+
totalItems?: number;
|
|
22
|
+
currentPage?: number;
|
|
23
|
+
pageSize?: number;
|
|
20
24
|
virtualized?: boolean;
|
|
21
25
|
estimatedRowHeight?: number;
|
|
22
26
|
overscan?: number;
|
|
@@ -275,6 +275,10 @@ export interface NileGridChartConfig extends NileChartConfigBase {
|
|
|
275
275
|
paginationEnabled?: boolean;
|
|
276
276
|
pagination?: PaginationState;
|
|
277
277
|
pageSizeOptions?: number[];
|
|
278
|
+
paginationVariant?: 'fluid' | 'compact' | 'mini';
|
|
279
|
+
totalItems?: number;
|
|
280
|
+
currentPage?: number;
|
|
281
|
+
pageSize?: number;
|
|
278
282
|
virtualized?: boolean;
|
|
279
283
|
estimatedRowHeight?: number;
|
|
280
284
|
overscan?: number;
|
|
@@ -1752,6 +1752,10 @@ let NileChart = class NileChart extends NileElement {
|
|
|
1752
1752
|
.paginationEnabled=${config.paginationEnabled ?? false}
|
|
1753
1753
|
.pagination=${config.pagination ?? DEFAULT_GRID_PAGINATION}
|
|
1754
1754
|
.pageSizeOptions=${config.pageSizeOptions ?? DEFAULT_GRID_PAGE_SIZE_OPTIONS}
|
|
1755
|
+
.paginationVariant=${config.paginationVariant ?? 'fluid'}
|
|
1756
|
+
.totalItems=${config.totalItems ?? null}
|
|
1757
|
+
.currentPage=${config.currentPage ?? null}
|
|
1758
|
+
.pageSize=${config.pageSize ?? null}
|
|
1755
1759
|
.virtualized=${config.virtualized ?? false}
|
|
1756
1760
|
.estimatedRowHeight=${config.estimatedRowHeight ?? 44}
|
|
1757
1761
|
.overscan=${config.overscan ?? 10}
|