mirror of
https://github.com/mathuo/dockview
synced 2025-01-23 01:45:58 +00:00
chore: upgrade deps
This commit is contained in:
parent
5ec847ec77
commit
ea51b5c883
39
package.json
39
package.json
@ -29,43 +29,46 @@
|
|||||||
"version": "lerna version"
|
"version": "lerna version"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/react": "^18.2.31",
|
"@types/react": "^18.2.46",
|
||||||
"@types/react-dom": "^18.2.14"
|
"@types/react-dom": "^18.2.18"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||||
"@rollup/plugin-terser": "^0.4.4",
|
"@rollup/plugin-terser": "^0.4.4",
|
||||||
"@rollup/plugin-typescript": "^11.1.5",
|
"@rollup/plugin-typescript": "^11.1.5",
|
||||||
"@testing-library/dom": "^9.3.3",
|
"@testing-library/dom": "^9.3.3",
|
||||||
"@testing-library/jest-dom": "^6.1.4",
|
"@testing-library/jest-dom": "^6.1.6",
|
||||||
"@testing-library/react": "^14.0.0",
|
"@testing-library/react": "^14.1.2",
|
||||||
"@total-typescript/shoehorn": "^0.1.1",
|
"@total-typescript/shoehorn": "^0.1.1",
|
||||||
"@types/jest": "^29.5.6",
|
"@types/jest": "^29.5.11",
|
||||||
"@types/react": "^18.2.31",
|
"@types/react": "^18.2.46",
|
||||||
"@types/react-dom": "^18.2.14",
|
"@types/react-dom": "^18.2.18",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
||||||
"@typescript-eslint/parser": "^6.8.0",
|
"@typescript-eslint/parser": "^6.17.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^8.52.0",
|
"eslint": "^8.56.0",
|
||||||
"fs-extra": "^11.1.1",
|
"fs-extra": "^11.2.0",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-dart-sass": "^1.1.0",
|
"gulp-dart-sass": "^1.1.0",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jest-environment-jsdom": "^29.7.0",
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
"jest-sonar-reporter": "^2.0.0",
|
"jest-sonar-reporter": "^2.0.0",
|
||||||
"jsdom": "^22.1.0",
|
"jsdom": "^23.0.1",
|
||||||
"lerna": "^7.4.1",
|
"lerna": "^8.0.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"rollup": "^4.1.4",
|
"rollup": "^4.9.2",
|
||||||
"rollup-plugin-postcss": "^4.0.2",
|
"rollup-plugin-postcss": "^4.0.2",
|
||||||
"ts-jest": "^29.1.1",
|
"ts-jest": "^29.1.1",
|
||||||
"ts-loader": "^9.5.0",
|
"ts-loader": "^9.5.1",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"typedoc": "^0.25.2",
|
"typedoc": "^0.25.6",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.3.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,9 +1,9 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
|
||||||
const lightCodeTheme = require('prism-react-renderer/themes/nightOwlLight');
|
const { themes } = require('prism-react-renderer');
|
||||||
// const lightCodeTheme = require('prism-react-renderer/themes/dracula');
|
const lightCodeTheme = themes.nightOwlLight;
|
||||||
const darkCodeTheme = require('prism-react-renderer/themes/vsDark');
|
const darkCodeTheme = themes.vsDark;
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
@ -21,25 +21,25 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^2.4.3",
|
"@docusaurus/core": "^3.0.1",
|
||||||
"@docusaurus/module-type-aliases": "^2.4.3",
|
"@docusaurus/module-type-aliases": "^3.0.1",
|
||||||
"@docusaurus/preset-classic": "^2.4.3",
|
"@docusaurus/preset-classic": "^3.0.1",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"@minoru/react-dnd-treeview": "^3.4.3",
|
"@minoru/react-dnd-treeview": "^3.4.4",
|
||||||
"@radix-ui/react-icons": "^1.3.0",
|
"@radix-ui/react-icons": "^1.3.0",
|
||||||
"@radix-ui/react-popover": "^1.0.7",
|
"@radix-ui/react-popover": "^1.0.7",
|
||||||
"axios": "^1.3.3",
|
"axios": "^1.6.3",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^2.1.0",
|
||||||
"dockview": "^1.8.5",
|
"dockview": "^1.8.5",
|
||||||
"prism-react-renderer": "^1.3.5",
|
"prism-react-renderer": "^2.3.1",
|
||||||
"react-dnd": "^16.0.1",
|
"react-dnd": "^16.0.1",
|
||||||
"recoil": "^0.7.6",
|
"recoil": "^0.7.7",
|
||||||
"source-map-loader": "^4.0.1",
|
"source-map-loader": "^4.0.2",
|
||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/docusaurus": "^1.0.6",
|
"@tsconfig/docusaurus": "^2.0.2",
|
||||||
"@types/uuid": "^9.0.0",
|
"@types/uuid": "^9.0.7",
|
||||||
"docusaurus-plugin-sass": "^0.2.3"
|
"docusaurus-plugin-sass": "^0.2.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ For example if n=4 then our split view controls has 4 views. This generic approa
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
Additional by definition we can known V<sup>min</sup><sub>n</sub> <= V<sub>n</sub> <= V<sup>max</sup><sub>n</sub>
|
Additional by definition we can known V<sup>min</sup><sub>n</sub> \<= V<sub>n</sub> \<= V<sup>max</sup><sub>n</sub>
|
||||||
|
|
||||||
To be able to resize a view we need to be able to drag on the edge of a view to increase or decrease it's size.
|
To be able to resize a view we need to be able to drag on the edge of a view to increase or decrease it's size.
|
||||||
This can be achieved by introducing a narrow component that sits between each view acting as a 'drag handle'.
|
This can be achieved by introducing a narrow component that sits between each view acting as a 'drag handle'.
|
||||||
|
Loading…
Reference in New Issue
Block a user