diff --git a/packages/main/package.json b/packages/main/package.json index 4977009cd21..9147e3fce17 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -48,7 +48,7 @@ "watch:css": "yarn build:css --watch" }, "dependencies": { - "@tanstack/react-virtual": "~3.8.0", + "@tanstack/react-virtual": "~3.10.0", "@ui5/webcomponents-react-base": "workspace:~", "clsx": "2.1.1", "react-table": "7.8.0", diff --git a/packages/main/src/components/AnalyticalTable/ColumnHeader/index.tsx b/packages/main/src/components/AnalyticalTable/ColumnHeader/index.tsx index 468980fc819..01e14ed0748 100644 --- a/packages/main/src/components/AnalyticalTable/ColumnHeader/index.tsx +++ b/packages/main/src/components/AnalyticalTable/ColumnHeader/index.tsx @@ -33,7 +33,7 @@ export interface ColumnHeaderProps { dragOver: boolean; isDraggable: boolean; headerTooltip: string; - virtualColumn: VirtualItem; + virtualColumn: VirtualItem; columnVirtualizer: Virtualizer; isRtl: boolean; children: ReactNode | ReactNode[]; diff --git a/packages/main/src/components/AnalyticalTable/TableBody/EmptyRow.tsx b/packages/main/src/components/AnalyticalTable/TableBody/EmptyRow.tsx index ba2accb716a..95f8947cf2a 100644 --- a/packages/main/src/components/AnalyticalTable/TableBody/EmptyRow.tsx +++ b/packages/main/src/components/AnalyticalTable/TableBody/EmptyRow.tsx @@ -6,7 +6,7 @@ export const EmptyRow = ({ className, children }: { - virtualRow: VirtualItem; + virtualRow: VirtualItem; className: string; children?: ReactNode; }) => { diff --git a/packages/main/src/components/AnalyticalTable/TableBody/RowSubComponent.tsx b/packages/main/src/components/AnalyticalTable/TableBody/RowSubComponent.tsx index 02204af5e0b..8b0b21c9100 100644 --- a/packages/main/src/components/AnalyticalTable/TableBody/RowSubComponent.tsx +++ b/packages/main/src/components/AnalyticalTable/TableBody/RowSubComponent.tsx @@ -6,7 +6,7 @@ import { classNames, styleData } from './RowSubComponent.module.css.js'; interface RowSubComponent { subComponentsHeight: Record; - virtualRow: VirtualItem; + virtualRow: VirtualItem; dispatch: (e: { type: string; payload?: Record }) => void; row: Record; rowHeight: number; diff --git a/yarn.lock b/yarn.lock index 6d13ec35af9..2b39b457017 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5146,22 +5146,22 @@ __metadata: languageName: node linkType: hard -"@tanstack/react-virtual@npm:~3.8.0": - version: 3.8.4 - resolution: "@tanstack/react-virtual@npm:3.8.4" +"@tanstack/react-virtual@npm:~3.10.0": + version: 3.10.8 + resolution: "@tanstack/react-virtual@npm:3.10.8" dependencies: - "@tanstack/virtual-core": "npm:3.8.4" + "@tanstack/virtual-core": "npm:3.10.8" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/2c803a0fd9101c75666b894d455c0c793bc50df4b5039e2bc748c4c50b64ec4ebaf3de990ab711d396ad8cd0582ca1858c7d0132d7f72acb57dfd9721464186e + checksum: 10c0/b7aec88ef48f604d3e7245b9996ba42f06e6ee2c1a45146cb96814cb3873a4c888bf86d26d10284c847a5ed97e16dc9430c380387abc1231c2e43c00f6ebadff languageName: node linkType: hard -"@tanstack/virtual-core@npm:3.8.4": - version: 3.8.4 - resolution: "@tanstack/virtual-core@npm:3.8.4" - checksum: 10c0/32b3d7c7d7c380992730f38efe171eddb4841a3f9bdac198ff6f6e7c00da0e22d2984d57dcb27895f234768accb5625fc04946aa8745c22a136b3f31941d42ac +"@tanstack/virtual-core@npm:3.10.8": + version: 3.10.8 + resolution: "@tanstack/virtual-core@npm:3.10.8" + checksum: 10c0/ddb97cd03d84b343b38a2c14d85e33c788f4af622fccc0fdf997caf4e83e47e8f67b099b854c7dc4337d7662f647625ab3247cd8aa1bc9d4dda701bda83245f6 languageName: node linkType: hard @@ -6454,7 +6454,7 @@ __metadata: version: 0.0.0-use.local resolution: "@ui5/webcomponents-react@workspace:packages/main" dependencies: - "@tanstack/react-virtual": "npm:~3.8.0" + "@tanstack/react-virtual": "npm:~3.10.0" "@ui5/webcomponents-react-base": "workspace:~" clsx: "npm:2.1.1" react-table: "npm:7.8.0"