@uxf/data-grid 11.96.0-canary.2 → 11.97.0

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
@@ -67,7 +67,8 @@ useUserConfig(actions);
67
67
 
68
68
  ## Row type
69
69
 
70
- Create a `column-types.d.ts` file in your project and add the following:
70
+ Create a `column-types.d.ts` file in root of your project (next to tsconfig) and add the following:
71
+ (be aware - it must be interface)
71
72
 
72
73
  ```tsx
73
74
  declare module "@uxf/data-grid/column-types" {
package/_generator/cli.js CHANGED
@@ -11,18 +11,19 @@ Usage:
11
11
  .option("s", { alias: "schemaDirectory", type: "string" })
12
12
  .option("o", { alias: "outputDirectory", type: "string" })
13
13
  .option("l", { alias: "requiredLoader", type: "boolean" })
14
+ .option("t", { alias: "columnTypes", type: "string", deprecated: "example: -t '@shared/data-grid/column-types'" })
14
15
  .option("h", { alias: "help", group: "Options" })
15
16
  .strict(false)
16
17
  .exitProcess(false);
17
18
 
18
19
  try {
19
- const { help, schemaDirectory, outputDirectory, requiredLoader } = cli.parse(argv.slice(2));
20
+ const { help, schemaDirectory, outputDirectory, requiredLoader, columnTypes } = cli.parse(argv.slice(2));
20
21
 
21
22
  if (Boolean(help)) {
22
23
  return 0;
23
24
  }
24
25
 
25
- await require("./index")(schemaDirectory, outputDirectory, requiredLoader, "@shared/data-grid/column-types");
26
+ await require("./index")(schemaDirectory, outputDirectory, requiredLoader, columnTypes);
26
27
  } catch (e) {
27
28
  console.error(e);
28
29
  return 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/data-grid",
3
- "version": "11.96.0-canary.2",
3
+ "version": "11.97.0",
4
4
  "description": "UXF DataGrid",
5
5
  "homepage": "https://gitlab.com/uxf-npm/data-grid#readme",
6
6
  "main": "index.js",
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "@dnd-kit/core": "6.3.1",
38
38
  "@dnd-kit/sortable": "10.0.0",
39
- "@uxf/core": "11.95.0",
40
- "@uxf/core-react": "11.95.0",
41
- "@uxf/ui": "11.96.0-canary.2",
39
+ "@uxf/core": "11.97.0",
40
+ "@uxf/core-react": "11.97.0",
41
+ "@uxf/ui": "11.97.0",
42
42
  "dayjs": "1.11.19",
43
43
  "deepmerge": "4.3.1",
44
44
  "fast-glob": "3.3.3",