@1771technologies/lytenyte-pro 1.0.0-beta.7 → 1.0.0-beta.8
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/+types.d.ts +2 -1
- package/dist/cells/cell.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +7 -7
package/dist/+types.d.ts
CHANGED
|
@@ -892,7 +892,8 @@ export interface HeaderGroupCellLayout {
|
|
|
892
892
|
*/
|
|
893
893
|
readonly isCollapsible: boolean;
|
|
894
894
|
/**
|
|
895
|
-
*
|
|
895
|
+
* The id for the header group. Note this is not unique across all header groups. In particular
|
|
896
|
+
* split header groups with the same path will share the same id. Prefer `idOccurrence` for unique keys.
|
|
896
897
|
*/
|
|
897
898
|
readonly id: string;
|
|
898
899
|
/**
|
package/dist/cells/cell.js
CHANGED
|
@@ -10,9 +10,10 @@ const CellImpl = forwardRef(function Cell({ cell, children, ...props }, forwarde
|
|
|
10
10
|
const grid = useGridRoot().grid;
|
|
11
11
|
const cx = grid.state;
|
|
12
12
|
grid.internal.refreshKey.useValue();
|
|
13
|
+
const base = grid.state.columnBase.useValue();
|
|
13
14
|
const row = cell.row.useValue();
|
|
14
15
|
const renderers = cx.cellRenderers.useValue();
|
|
15
|
-
const providedRenderer = children ?? cell.column.cellRenderer;
|
|
16
|
+
const providedRenderer = children ?? cell.column.cellRenderer ?? base.cellRenderer;
|
|
16
17
|
const Renderer = providedRenderer
|
|
17
18
|
? typeof providedRenderer === "string"
|
|
18
19
|
? (renderers[providedRenderer] ?? CellDefault)
|
package/dist/index.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export { FilterTree } from "./filter-tree/filter-tree.js";
|
|
|
4
4
|
export { ColumnManager } from "./column-manager/column-manager.js";
|
|
5
5
|
export { GridBox } from "./grid-box/grid-box.js";
|
|
6
6
|
export { activateLicense } from "./license.js";
|
|
7
|
+
export { measureText } from "@1771technologies/lytenyte-shared";
|
package/dist/index.js
CHANGED
|
@@ -4,3 +4,4 @@ export { FilterTree } from "./filter-tree/filter-tree.js";
|
|
|
4
4
|
export { ColumnManager } from "./column-manager/column-manager.js";
|
|
5
5
|
export { GridBox } from "./grid-box/grid-box.js";
|
|
6
6
|
export { activateLicense } from "./license.js";
|
|
7
|
+
export { measureText } from "@1771technologies/lytenyte-shared";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1771technologies/lytenyte-pro",
|
|
3
3
|
"description": "Blazingly fast headless React data grid with 100s of features.",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "COMMERCIAL",
|
|
7
7
|
"files": [
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@1771technologies/atom": "^1.0.2",
|
|
52
|
-
"@1771technologies/lytenyte-
|
|
53
|
-
"@1771technologies/lytenyte-
|
|
54
|
-
"@1771technologies/lytenyte-
|
|
55
|
-
"@1771technologies/lytenyte-
|
|
56
|
-
"@1771technologies/lytenyte-
|
|
57
|
-
"@1771technologies/lytenyte-
|
|
52
|
+
"@1771technologies/lytenyte-dom-utils": "1.0.0-beta.8",
|
|
53
|
+
"@1771technologies/lytenyte-js-utils": "1.0.0-beta.8",
|
|
54
|
+
"@1771technologies/lytenyte-react-hooks": "1.0.0-beta.8",
|
|
55
|
+
"@1771technologies/lytenyte-core": "1.0.0-beta.8",
|
|
56
|
+
"@1771technologies/lytenyte-dragon": "1.0.0-beta.8",
|
|
57
|
+
"@1771technologies/lytenyte-shared": "1.0.0-beta.8"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": "^18.0.0 || ^19.0.0",
|