@object-ui/plugin-grid 3.0.2 → 3.1.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/.turbo/turbo-build.log +10 -49
- package/CHANGELOG.md +11 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2169 -922
- package/dist/index.umd.cjs +9 -3
- package/dist/plugin-grid/src/FormulaBar.d.ts +29 -0
- package/dist/plugin-grid/src/GroupRow.d.ts +23 -0
- package/dist/plugin-grid/src/ImportWizard.d.ts +29 -0
- package/dist/{packages/plugin-grid → plugin-grid}/src/ObjectGrid.d.ts +1 -0
- package/dist/plugin-grid/src/SplitPaneGrid.d.ts +22 -0
- package/dist/plugin-grid/src/components/BulkActionBar.d.ts +12 -0
- package/dist/plugin-grid/src/components/RowActionMenu.d.ts +23 -0
- package/dist/plugin-grid/src/index.d.ts +35 -0
- package/dist/plugin-grid/src/useCellClipboard.d.ts +47 -0
- package/dist/plugin-grid/src/useColumnSummary.d.ts +25 -0
- package/dist/plugin-grid/src/useGradientColor.d.ts +37 -0
- package/dist/plugin-grid/src/useGroupReorder.d.ts +34 -0
- package/dist/{packages/plugin-grid → plugin-grid}/src/useGroupedData.d.ts +24 -3
- package/package.json +10 -10
- package/src/FormulaBar.tsx +151 -0
- package/src/GroupRow.tsx +69 -0
- package/src/ImportWizard.tsx +412 -0
- package/src/ListColumnExtensions.test.tsx +4 -5
- package/src/ObjectGrid.tsx +994 -139
- package/src/SplitPaneGrid.tsx +120 -0
- package/src/VirtualGrid.tsx +2 -2
- package/src/__tests__/GroupRow.test.tsx +206 -0
- package/src/__tests__/ImportPreview.test.tsx +171 -0
- package/src/__tests__/accessorKey-inference.test.tsx +132 -0
- package/src/__tests__/airtable-style.test.tsx +508 -0
- package/src/__tests__/column-features.test.tsx +490 -0
- package/src/__tests__/grid-export.test.tsx +121 -0
- package/src/__tests__/mobile-card-view.test.tsx +355 -0
- package/src/__tests__/objectdef-enrichment.test.tsx +566 -0
- package/src/__tests__/phase11-features.test.tsx +418 -0
- package/src/__tests__/row-bulk-actions.test.tsx +413 -0
- package/src/__tests__/row-height.test.tsx +160 -0
- package/src/__tests__/useGroupedData.test.ts +165 -0
- package/src/components/BulkActionBar.tsx +66 -0
- package/src/components/RowActionMenu.tsx +91 -0
- package/src/index.tsx +46 -2
- package/src/useCellClipboard.ts +136 -0
- package/src/useColumnSummary.ts +128 -0
- package/src/useGradientColor.ts +103 -0
- package/src/useGroupReorder.ts +123 -0
- package/src/useGroupedData.ts +69 -4
- package/tsconfig.json +2 -1
- package/dist/packages/plugin-grid/src/ListColumnExtensions.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/ListColumnSchema.test.d.ts +0 -1
- package/dist/packages/plugin-grid/src/ObjectGrid.EdgeCases.stories.d.ts +0 -25
- package/dist/packages/plugin-grid/src/ObjectGrid.msw.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/ObjectGrid.stories.d.ts +0 -33
- package/dist/packages/plugin-grid/src/VirtualGrid.test.d.ts +0 -8
- package/dist/packages/plugin-grid/src/__tests__/InlineEditing.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/__tests__/VirtualGrid.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/__tests__/accessibility.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/__tests__/performance-benchmark.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/__tests__/view-states.test.d.ts +0 -0
- package/dist/packages/plugin-grid/src/index.d.ts +0 -15
- package/dist/packages/plugin-grid/src/index.test.d.ts +0 -1
- package/src/VirtualGrid.test.tsx +0 -23
- /package/dist/{packages/plugin-grid → plugin-grid}/src/InlineEditing.d.ts +0 -0
- /package/dist/{packages/plugin-grid → plugin-grid}/src/VirtualGrid.d.ts +0 -0
- /package/dist/{packages/plugin-grid → plugin-grid}/src/useRowColor.d.ts +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,66 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
> @object-ui/plugin-grid@3.0
|
|
2
|
+
> @object-ui/plugin-grid@3.1.0 build /home/runner/work/objectui/objectui/packages/plugin-grid
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v7.3.1 [32mbuilding client environment for production...[36m[39m
|
|
6
6
|
transforming...
|
|
7
|
-
[32m✓[39m
|
|
7
|
+
[32m✓[39m 41 modules transformed.
|
|
8
8
|
rendering chunks...
|
|
9
9
|
[32m
|
|
10
10
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
11
|
-
[
|
|
11
|
+
[96msrc/ObjectGrid.tsx[0m:[93m623[0m:[93m98[0m - [91merror[0m[90m TS2345: [0mArgument of type 'string | { key: string; defaultValue?: string | undefined; params?: Record<string, string | number | boolean> | undefined; }' is not assignable to parameter of type 'string'.
|
|
12
|
+
Type '{ key: string; defaultValue?: string | undefined; params?: Record<string, string | number | boolean> | undefined; }' is not assignable to type 'string'.
|
|
12
13
|
|
|
13
|
-
[
|
|
14
|
-
[7m
|
|
15
|
-
[96msrc/ObjectGrid.EdgeCases.stories.tsx[0m:[93m4[0m:[93m43[0m - [91merror[0m[90m TS2307: [0mCannot find module '@storybook-config/datasource' or its corresponding type declarations.
|
|
16
|
-
|
|
17
|
-
[7m4[0m import { createStorybookDataSource } from '@storybook-config/datasource';
|
|
18
|
-
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
19
|
-
[96msrc/ObjectGrid.stories.tsx[0m:[93m4[0m:[93m43[0m - [91merror[0m[90m TS2307: [0mCannot find module '@storybook-config/datasource' or its corresponding type declarations.
|
|
20
|
-
|
|
21
|
-
[7m4[0m import { createStorybookDataSource } from '@storybook-config/datasource';
|
|
22
|
-
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
|
|
23
|
-
[96msrc/__tests__/VirtualGrid.test.tsx[0m:[93m23[0m:[93m11[0m - [91merror[0m[90m TS7034: [0mVariable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
24
|
-
|
|
25
|
-
[7m23[0m const items = [];
|
|
26
|
-
[7m [0m [91m ~~~~~[0m
|
|
27
|
-
[96msrc/__tests__/VirtualGrid.test.tsx[0m:[93m28[0m:[93m30[0m - [91merror[0m[90m TS7005: [0mVariable 'items' implicitly has an 'any[]' type.
|
|
28
|
-
|
|
29
|
-
[7m28[0m getVirtualItems: () => items,
|
|
30
|
-
[7m [0m [91m ~~~~~[0m
|
|
31
|
-
[96msrc/__tests__/accessibility.test.tsx[0m:[93m28[0m:[93m11[0m - [91merror[0m[90m TS7034: [0mVariable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
32
|
-
|
|
33
|
-
[7m28[0m const items = [];
|
|
34
|
-
[7m [0m [91m ~~~~~[0m
|
|
35
|
-
[96msrc/__tests__/accessibility.test.tsx[0m:[93m33[0m:[93m30[0m - [91merror[0m[90m TS7005: [0mVariable 'items' implicitly has an 'any[]' type.
|
|
36
|
-
|
|
37
|
-
[7m33[0m getVirtualItems: () => items,
|
|
38
|
-
[7m [0m [91m ~~~~~[0m
|
|
39
|
-
[96msrc/__tests__/performance-benchmark.test.tsx[0m:[93m27[0m:[93m11[0m - [91merror[0m[90m TS7034: [0mVariable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
40
|
-
|
|
41
|
-
[7m27[0m const items = [];
|
|
42
|
-
[7m [0m [91m ~~~~~[0m
|
|
43
|
-
[96msrc/__tests__/performance-benchmark.test.tsx[0m:[93m32[0m:[93m30[0m - [91merror[0m[90m TS7005: [0mVariable 'items' implicitly has an 'any[]' type.
|
|
44
|
-
|
|
45
|
-
[7m32[0m getVirtualItems: () => items,
|
|
46
|
-
[7m [0m [91m ~~~~~[0m
|
|
47
|
-
[96msrc/__tests__/view-states.test.tsx[0m:[93m27[0m:[93m11[0m - [91merror[0m[90m TS7034: [0mVariable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
48
|
-
|
|
49
|
-
[7m27[0m const items = [];
|
|
50
|
-
[7m [0m [91m ~~~~~[0m
|
|
51
|
-
[96msrc/__tests__/view-states.test.tsx[0m:[93m32[0m:[93m30[0m - [91merror[0m[90m TS7005: [0mVariable 'items' implicitly has an 'any[]' type.
|
|
52
|
-
|
|
53
|
-
[7m32[0m getVirtualItems: () => items,
|
|
54
|
-
[7m [0m [91m ~~~~~[0m
|
|
14
|
+
[7m623[0m const header = schema.objectName ? resolveFieldLabel(schema.objectName, col.field, rawHeader) : rawHeader;
|
|
15
|
+
[7m [0m [91m ~~~~~~~~~[0m
|
|
55
16
|
|
|
56
17
|
computing gzip size...
|
|
57
|
-
[2mdist/[22m[36mindex.js [39m[1m[
|
|
58
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
18
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m111.38 kB[22m[1m[22m[2m │ gzip: 29.34 kB[22m
|
|
19
|
+
[32m[36m[vite:dts][32m Declaration files built in 26607ms.
|
|
59
20
|
[39m
|
|
60
21
|
[33mNo name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".[39m
|
|
61
22
|
[33mNo name was provided for external module "@object-ui/react" in "output.globals" – guessing "react".[39m
|
|
62
23
|
[33mNo name was provided for external module "@object-ui/fields" in "output.globals" – guessing "fields".[39m
|
|
63
24
|
[33mNo name was provided for external module "@object-ui/components" in "output.globals" – guessing "components".[39m
|
|
64
25
|
[33mNo name was provided for external module "lucide-react" in "output.globals" – guessing "lucideReact".[39m
|
|
65
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[
|
|
66
|
-
[32m✓ built in
|
|
26
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[2m77.43 kB[22m[1m[22m[2m │ gzip: 25.12 kB[22m
|
|
27
|
+
[32m✓ built in 28.64s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @object-ui/plugin-grid
|
|
2
2
|
|
|
3
|
+
## 3.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @object-ui/types@3.0.3
|
|
8
|
+
- @object-ui/core@3.0.3
|
|
9
|
+
- @object-ui/react@3.0.3
|
|
10
|
+
- @object-ui/components@3.0.3
|
|
11
|
+
- @object-ui/fields@3.0.3
|
|
12
|
+
- @object-ui/mobile@3.0.3
|
|
13
|
+
|
|
3
14
|
## 3.0.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './plugin-grid/src/index'
|
|
2
2
|
export {}
|