elseware-ui 2.24.0 → 2.25.1
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/components/data-display/data-view/com/DataViewContent.d.ts +2 -1
- package/build/components/data-display/data-view/com/DataViewFooter.d.ts +6 -0
- package/build/components/data-display/data-view/controls/DataViewPageSize.d.ts +7 -0
- package/build/components/data-display/data-view/controls/DataViewPagination.d.ts +6 -0
- package/build/components/data-display/data-view/controls/DataViewSearch.d.ts +1 -1
- package/build/components/data-display/data-view/index.d.ts +5 -1
- package/build/components/data-display/index.d.ts +0 -1
- package/build/components/data-display/table/Table.d.ts +10 -8
- package/build/compositions/data-display/data-view-table/DataViewTable.d.ts +21 -0
- package/build/compositions/data-display/data-view-table/index.d.ts +2 -0
- package/build/compositions/data-display/index.d.ts +2 -0
- package/build/compositions/data-display/world-map-country-table/WorldMapCountryTable.d.ts +7 -0
- package/build/compositions/index.d.ts +1 -0
- package/build/index.d.ts +1 -1
- package/build/index.es.js +315 -330
- package/build/index.js +287 -303
- package/package.json +1 -1
- package/build/components/data-display/data-view/com/DataViewPagination.d.ts +0 -7
- package/build/components/data-display/table/TableContent.d.ts +0 -18
- package/build/components/data-display/world-map-country-table/WorldMapCountryTable.d.ts +0 -8
- /package/build/{components → compositions}/data-display/world-map-country-table/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../types";
|
|
2
|
-
type DataViewPaginationProps = {
|
|
3
|
-
pageSizeOptions?: (number | "All")[];
|
|
4
|
-
shape?: Shape;
|
|
5
|
-
};
|
|
6
|
-
declare function DataViewPagination({ pageSizeOptions, shape, }: DataViewPaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
export default DataViewPagination;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Shape } from "../../../data/enums";
|
|
3
|
-
export type TableColumnConfig<T> = {
|
|
4
|
-
key: keyof T;
|
|
5
|
-
header: string;
|
|
6
|
-
render: (value: T[keyof T], record: T) => React.ReactNode;
|
|
7
|
-
sortable?: boolean;
|
|
8
|
-
};
|
|
9
|
-
type TableContentProps<T> = {
|
|
10
|
-
title?: string;
|
|
11
|
-
columns: TableColumnConfig<T>[];
|
|
12
|
-
data: T[];
|
|
13
|
-
defaultPageSize?: number;
|
|
14
|
-
pageSizeOptions?: (number | "All")[];
|
|
15
|
-
shape?: keyof typeof Shape;
|
|
16
|
-
};
|
|
17
|
-
export declare function TableContent<T extends Record<string, any>>({ title, columns, data, defaultPageSize, pageSizeOptions, shape, }: TableContentProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { WorldMapPoint } from "../world-map/WorldMap";
|
|
2
|
-
interface WorldMapCountryTableProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
data: WorldMapPoint[];
|
|
5
|
-
defaultPageSize?: number;
|
|
6
|
-
}
|
|
7
|
-
export default function WorldMapCountryTable({ title, data, defaultPageSize, }: WorldMapCountryTableProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
File without changes
|