Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions demos/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-i18next": "^15.5.2",
"react-router-dom": "^7.6.2",
"slickgrid-react": "workspace:*"
},
"peerDependencies": {
Expand All @@ -81,17 +82,14 @@
"@types/react": "^19.1.6",
"@types/react-dom": "^19.1.5",
"@types/sortablejs": "catalog:",
"@types/text-encoding-utf-8": "^1.0.5",
"@vitejs/plugin-react": "^4.5.1",
"cross-env": "catalog:",
"globals": "catalog:",
"react-router-dom": "^7.6.1",
"regenerator-runtime": "^0.14.1",
"rxjs": "catalog:",
"sass": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4"
"vite-tsconfig-paths": "catalog:"
}
}
2 changes: 1 addition & 1 deletion frameworks/angular-slickgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"typescript": "~5.8.3",
"typescript-eslint": "^8.33.1",
"vite": "catalog:",
"vite-tsconfig-paths": "^5.1.4",
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:",
"zone.js": "~0.15.1"
}
Expand Down
5 changes: 2 additions & 3 deletions frameworks/slickgrid-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,13 @@
"native-copyfiles": "catalog:",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.6.1",
"react-router-dom": "^7.6.2",
"regenerator-runtime": "^0.14.1",
"rimraf": "catalog:",
"rxjs": "catalog:",
"sass": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4"
"vite-tsconfig-paths": "catalog:"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -739,15 +739,13 @@ describe('ExtensionService', () => {
const cellMenuSpy = vi.spyOn(service, 'translateCellMenu');
const contextMenuSpy = vi.spyOn(service, 'translateContextMenu');
const colHeaderSpy = vi.spyOn(service, 'translateColumnHeaders');
const contextSpy = vi.spyOn(service, 'translateContextMenu');
const headerMenuSpy = vi.spyOn(service, 'translateHeaderMenu');

service.translateAllExtensions();

expect(cellMenuSpy).toHaveBeenCalled();
expect(contextMenuSpy).toHaveBeenCalled();
expect(colHeaderSpy).toHaveBeenCalled();
expect(contextSpy).toHaveBeenCalled();
expect(headerMenuSpy).toHaveBeenCalled();
});

Expand Down
2 changes: 0 additions & 2 deletions packages/common/src/services/__tests__/grid.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,6 @@ describe('Grid Service', () => {
const autoSizeSpy = vi.spyOn(gridStub, 'autosizeColumns');
const setColsSpy = vi.spyOn(gridStub, 'setColumns');
const pubSubSpy = vi.spyOn(pubSubServiceStub, 'publish');
const setColSpy = vi.spyOn(gridStub, 'setColumns');

const output = service.hideColumnById('field2');

Expand All @@ -1801,7 +1800,6 @@ describe('Grid Service', () => {
expect(setVisibleSpy).toHaveBeenCalledWith(mockWithoutColumns);
expect(setColsSpy).toHaveBeenCalledWith(mockWithoutColumns);
expect(pubSubSpy).toHaveBeenCalledWith('onHideColumns', { columns: mockWithoutColumns });
expect(setColSpy).toHaveBeenCalledTimes(1);
});

it('should set new columns minus the column to hide but without triggering an event when set to False', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,6 @@ describe('SlickRowDetailView plugin', () => {
gridStub.onScroll.notify({ scrollLeft: 20, scrollTop: 53, scrollHeight: 10, grid: gridStub }, eventData as any, gridStub);
vi.advanceTimersByTime(1);

expect(onRowOutOfViewportSpy).toHaveBeenCalled();

vi.spyOn(gridStub, 'getRenderedRange').mockReturnValue({ top: 125, bottom: 150, left: 33, right: 18 } as any);
plugin.expandDetailView(123);
plugin.addonOptions.singleRowExpand = false;
Expand Down
Loading