mirror of
https://github.com/supabase/supabase.git
synced 2026-12-05 07:59:03 +00:00
## Context Happens in the ProjectLayout when the side navigation menu's width can be resized (Table Editor / SQL Editor) On those pages, if you were to toggle the inline SQL Editor with Cmd+E, the side navigation menu's width will change to fit the max width once the inline SQL Editor is closed, and its happening due to the library's default behaviour for handling nested resizable groups. The fix was to bump `react-resizable-panel` to `4.7.x` which introduced a new property `groupResizeBehaviour` and allows us to set that prop's value as `preseve-pixel-size` for the `ProjectLayout` since we use pixel values in this context for the panel widths. Same fix also applied for `FilterSideBar` which is used in Unified Logs
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "0.0.0",
|
|
"main": "./index.tsx",
|
|
"types": "./index.tsx",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"typecheck": "tsc --noEmit",
|
|
"generate-tailwind-classes": "tsx ./scripts/generate-tailwind-classes.ts",
|
|
"clean": "rimraf .turbo tsconfig.tsbuildinfo",
|
|
"test": "vitest",
|
|
"test:ci": "vitest --run --coverage",
|
|
"test:report": "open coverage/lcov-report/index.html"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/forms": "^0.5.11",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"class-variance-authority": "^0.7.1",
|
|
"cn": "catalog:",
|
|
"cmdk": "^1.1.1",
|
|
"color": "^4.2.3",
|
|
"date-fns": "^2.30.0",
|
|
"input-otp": "^1.4.2",
|
|
"lodash": "catalog:",
|
|
"lucide-react": "catalog:",
|
|
"motion": "catalog:",
|
|
"prop-types": "^15.7.2",
|
|
"radix-ui": "catalog:",
|
|
"react": "catalog:",
|
|
"react-accessible-treeview": "^2.11.2",
|
|
"react-copy-to-clipboard": "^5.1.0",
|
|
"react-day-picker": "^9.11.1",
|
|
"react-dom": "catalog:",
|
|
"react-hook-form": "^7.71.2",
|
|
"react-intersection-observer": "^9.8.2",
|
|
"react-resizable-panels": "^4.7.0",
|
|
"recharts": "catalog:",
|
|
"sonner": "^2.0.8",
|
|
"tailwindcss": "catalog:",
|
|
"vaul": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@hookform/resolvers": "^3.1.1",
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.3",
|
|
"@testing-library/user-event": "^14.0.0",
|
|
"@types/lodash": "4.17.5",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
"@types/react-dom": "catalog:",
|
|
"@typescript/native": "catalog:",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"config": "workspace:*",
|
|
"tsconfig": "workspace:*",
|
|
"tsx": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|