From c609bcbcdb0e77118d3e5296116082d3802bc551 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien <567105+nstepien@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:59:29 +0100 Subject: [PATCH] linaria@5 (#3348) * linaria@5 * linaria@5.0.3 * fix circular dependency --- package.json | 4 ++-- src/TreeDataGrid.tsx | 3 ++- src/style/core.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7765457904..164e816eb7 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ "@biomejs/biome": "1.2.2", "@faker-js/faker": "^8.0.0", "@ianvs/prettier-plugin-sort-imports": "^4.0.2", - "@linaria/rollup": "^4.5.2", - "@linaria/vite": "^4.5.2", + "@linaria/rollup": "^5.0.3", + "@linaria/vite": "^5.0.3", "@microsoft/api-extractor": "^7.23.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^15.1.0", diff --git a/src/TreeDataGrid.tsx b/src/TreeDataGrid.tsx index 8ee7675d8f..3f145d135e 100644 --- a/src/TreeDataGrid.tsx +++ b/src/TreeDataGrid.tsx @@ -14,7 +14,8 @@ import type { RowHeightArgs, RowsChangeData } from './types'; -import { renderToggleGroup, SELECT_COLUMN_KEY } from '.'; +import { renderToggleGroup } from './cellRenderers'; +import { SELECT_COLUMN_KEY } from './Columns'; import DataGrid from './DataGrid'; import type { DataGridHandle, DataGridProps } from './DataGrid'; import { useDefaultRenderers } from './DataGridDefaultRenderersProvider'; diff --git a/src/style/core.ts b/src/style/core.ts index b22dfc118d..89e566c609 100644 --- a/src/style/core.ts +++ b/src/style/core.ts @@ -8,7 +8,7 @@ const lightTheme = ` --rdg-summary-border-color: #aaa; --rdg-background-color: hsl(0deg 0% 100%); --rdg-header-background-color: hsl(0deg 0% 97.5%); - --rdg-header-draggable-background-color: hsl(0deg 0% 90.5%); + --rdg-header-draggable-background-color: hsl(0deg 0% 90.5%); --rdg-row-hover-background-color: hsl(0deg 0% 96%); --rdg-row-selected-background-color: hsl(207deg 76% 92%); --rdg-row-selected-hover-background-color: hsl(207deg 76% 88%);