@dxos/react-ui-grid 0.9.1-main.c7dcc2e112 → 0.10.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/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/Grid/Grid.d.ts +4 -4
- package/dist/types/src/Grid/Grid.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -18
- package/src/CellEditor/CellEditor.tsx +1 -1
- package/src/Grid/Grid.tsx +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-grid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "React component which manages a `dx-grid` Lit web component.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,29 +33,29 @@
|
|
|
33
33
|
"@radix-ui/react-context": "1.1.1",
|
|
34
34
|
"@radix-ui/react-popper": "1.2.2",
|
|
35
35
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
36
|
-
"@dxos/react-ui-editor": "0.
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/ui-editor": "0.
|
|
36
|
+
"@dxos/react-ui-editor": "0.10.0",
|
|
37
|
+
"@dxos/lit-grid": "0.10.0",
|
|
38
|
+
"@dxos/util": "0.10.0",
|
|
39
|
+
"@dxos/ui-editor": "0.10.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/react": "~19.2.
|
|
42
|
+
"@types/react": "~19.2.17",
|
|
43
43
|
"@types/react-dom": "~19.2.3",
|
|
44
|
-
"react": "~19.2.
|
|
45
|
-
"react-dom": "~19.2.
|
|
44
|
+
"react": "~19.2.7",
|
|
45
|
+
"react-dom": "~19.2.7",
|
|
46
46
|
"vite": "^8.0.16",
|
|
47
|
-
"@dxos/random": "0.
|
|
48
|
-
"@dxos/react-ui": "0.
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/react-ui-
|
|
51
|
-
"@dxos/ui-theme": "0.
|
|
52
|
-
"@dxos/
|
|
47
|
+
"@dxos/random": "0.10.0",
|
|
48
|
+
"@dxos/react-ui": "0.10.0",
|
|
49
|
+
"@dxos/storybook-utils": "0.10.0",
|
|
50
|
+
"@dxos/react-ui-list": "0.10.0",
|
|
51
|
+
"@dxos/ui-theme": "0.10.0",
|
|
52
|
+
"@dxos/react-ui-search": "0.10.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"react": "~19.2.
|
|
56
|
-
"react-dom": "~19.2.
|
|
57
|
-
"@dxos/ui
|
|
58
|
-
"@dxos/
|
|
55
|
+
"react": "~19.2.7",
|
|
56
|
+
"react-dom": "~19.2.7",
|
|
57
|
+
"@dxos/react-ui": "0.10.0",
|
|
58
|
+
"@dxos/ui-theme": "0.10.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
@@ -155,7 +155,7 @@ export const CellEditor = ({ value, extensions, box, gridId, autoFocus, slots, o
|
|
|
155
155
|
slots: {
|
|
156
156
|
editor: {
|
|
157
157
|
className: mx(
|
|
158
|
-
'min-w-full! w-min! !max-w-(--dx-grid-cell-editor-max-
|
|
158
|
+
'min-w-full! w-min! !max-w-(--dx-grid-cell-editor-max-inline-size) min-h-full! !max-h-(--dx-grid-cell-editor-max-block-size)',
|
|
159
159
|
slots?.editor?.className,
|
|
160
160
|
),
|
|
161
161
|
},
|
package/src/Grid/Grid.tsx
CHANGED
|
@@ -168,33 +168,33 @@ export const Grid = {
|
|
|
168
168
|
Content: GridContent,
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { GridContent, GridRoot, createGridScope, gridSeparatorBlockEnd, gridSeparatorInlineEnd, useGridContext };
|
|
172
172
|
|
|
173
|
-
export type {
|
|
173
|
+
export type { DxGridElement, GridContentProps, GridEditBox, GridEditing, GridRootProps, GridScopedProps };
|
|
174
174
|
|
|
175
175
|
export {
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
DxEditRequest,
|
|
177
|
+
cellQuery,
|
|
178
178
|
closestCell,
|
|
179
|
+
colToA1Notation,
|
|
179
180
|
commentedClassName,
|
|
180
|
-
toPlaneCellIndex,
|
|
181
181
|
parseCellIndex,
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
rowToA1Notation,
|
|
183
|
+
toPlaneCellIndex,
|
|
184
184
|
} from '@dxos/lit-grid';
|
|
185
185
|
|
|
186
186
|
export type {
|
|
187
|
-
DxGridRange,
|
|
188
|
-
DxGridAxisMeta,
|
|
189
187
|
DxAxisResize,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
DxGridPlaneCells,
|
|
188
|
+
DxGridAxis,
|
|
189
|
+
DxGridAxisMeta,
|
|
193
190
|
DxGridCellIndex,
|
|
194
|
-
|
|
191
|
+
DxGridCells,
|
|
195
192
|
DxGridCellValue,
|
|
196
193
|
DxGridPlane,
|
|
197
|
-
|
|
194
|
+
DxGridPlaneCellIndex,
|
|
195
|
+
DxGridPlaneCells,
|
|
198
196
|
DxGridPlanePosition,
|
|
199
|
-
|
|
197
|
+
DxGridPlaneRange,
|
|
198
|
+
DxGridPosition,
|
|
199
|
+
DxGridRange,
|
|
200
200
|
} from '@dxos/lit-grid';
|