@uxf/data-grid 11.117.2 → 11.118.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.
@@ -46,9 +46,9 @@ function generateGridSchema(gridName) {
46
46
 
47
47
  function generateSchemaFile(gridName, schema, schemaRelativeImport, columnTypes) {
48
48
  const imports = [
49
- 'import { Schema } from "@uxf/data-grid";',
49
+ 'import type { Schema } from "@uxf/data-grid";',
50
50
  `import json from "${schemaRelativeImport}";`,
51
- !!columnTypes && `import { ColumnTypes } from "${columnTypes}";`,
51
+ !!columnTypes && `import type { ColumnTypes } from "${columnTypes}";`,
52
52
  ]
53
53
  .filter(Boolean)
54
54
  .join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/data-grid",
3
- "version": "11.117.2",
3
+ "version": "11.118.1",
4
4
  "description": "UXF DataGrid",
5
5
  "homepage": "https://gitlab.com/uxf-npm/data-grid#readme",
6
6
  "main": "index.js",
@@ -45,7 +45,7 @@
45
45
  "@uxf/core-react": "11.114.0",
46
46
  "@uxf/localize": "11.114.0",
47
47
  "@uxf/styles": "11.114.0",
48
- "@uxf/ui": "11.117.2",
48
+ "@uxf/ui": "11.118.0",
49
49
  "dayjs": "^1.11.19",
50
50
  "react": ">=18.2.0",
51
51
  "react-dom": ">=18.2.0"
@@ -60,7 +60,7 @@
60
60
  "@uxf/core-react": "11.114.0",
61
61
  "@uxf/localize": "11.114.0",
62
62
  "@uxf/styles": "11.114.0",
63
- "@uxf/ui": "11.117.2",
63
+ "@uxf/ui": "11.118.0",
64
64
  "dayjs": "^1.11.19",
65
65
  "react": "18.3.1",
66
66
  "react-dom": "18.3.1"
@@ -6,7 +6,7 @@ import { DataGridControl } from "../use-data-grid-control";
6
6
  export interface DataGridToolbarTabsProps extends DataGridControl {
7
7
  changeTabFilterBehavior?: ChangeTabFilterBehavior;
8
8
  schema: Schema<any>;
9
- tabCounts?: Record<string, number> | Nullish;
9
+ tabCounts?: Partial<Record<string, number>> | Nullish;
10
10
  variant?: "default" | "segmented";
11
11
  }
12
12
  export declare function DataGridToolbarTabs(props: DataGridToolbarTabsProps): React.JSX.Element;
package/types/api.d.ts CHANGED
@@ -18,6 +18,6 @@ export interface Request {
18
18
  export interface Response {
19
19
  totalCount: number;
20
20
  count: number;
21
- tabCounts: Record<string, number> | Nullish;
21
+ tabCounts: Partial<Record<string, number>> | Nullish;
22
22
  result: ResultItem[];
23
23
  }
@@ -5,7 +5,7 @@ import { DataGridControl } from "../use-data-grid-control";
5
5
  interface Response<Row> {
6
6
  result: Row[];
7
7
  count: number;
8
- tabCounts: Record<string, number> | Nullish;
8
+ tabCounts: Partial<Record<string, number>> | Nullish;
9
9
  totalCount: number;
10
10
  }
11
11
  export interface DataGridFetchingResult<Row> {