feat: 更新了@types/react-dom和@radix-ui下的多个依赖包的版本,使其与react和react-dom的版本一致

This commit is contained in:
zyh 2024-10-21 22:24:48 +00:00
parent 81d6d05107
commit ebb227f54a
5 changed files with 584 additions and 558 deletions

View File

@ -1,3 +1,5 @@
@use '../z-index' as z;
[data-resize-handle] { [data-resize-handle] {
position: relative; position: relative;
@ -8,7 +10,7 @@
bottom: 0; bottom: 0;
left: -6px; left: -6px;
right: -5px; right: -5px;
z-index: $zIndexMax; z-index: z.$zIndexMax;
} }
&[data-panel-group-direction='vertical']:after { &[data-panel-group-direction='vertical']:after {
@ -18,7 +20,7 @@
right: 0; right: 0;
top: -5px; top: -5px;
bottom: -6px; bottom: -6px;
z-index: $zIndexMax; z-index: z.$zIndexMax;
} }
&[data-resize-handle-state='hover']:after, &[data-resize-handle-state='hover']:after,

View File

@ -1,11 +1,11 @@
@import './variables.scss'; @use './variables';
@import './z-index.scss'; @use './z-index';
@import './animations.scss'; @use './animations';
@import './components/terminal.scss'; @use './components/terminal';
@import './components/resize-handle.scss'; @use './components/resize-handle';
@import './components/code.scss'; @use './components/code';
@import './components/editor.scss'; @use './components/editor';
@import './components/toast.scss'; @use './components/toast';
html, html,
body { body {

View File

@ -74,6 +74,7 @@
"remark-gfm": "^4.0.0", "remark-gfm": "^4.0.0",
"remix-island": "^0.2.0", "remix-island": "^0.2.0",
"remix-utils": "^7.6.0", "remix-utils": "^7.6.0",
"set-cookie-parser": "2.4.8",
"shiki": "^1.9.1", "shiki": "^1.9.1",
"unist-util-visit": "^5.0.0" "unist-util-visit": "^5.0.0"
}, },
@ -88,7 +89,7 @@
"is-ci": "^3.0.1", "is-ci": "^3.0.1",
"node-fetch": "^3.3.2", "node-fetch": "^3.3.2",
"prettier": "^3.3.2", "prettier": "^3.3.2",
"sass-embedded": "^1.79.4", "sass-embedded": "^1.80.3",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"unified": "^11.0.5", "unified": "^11.0.5",
"unocss": "^0.61.3", "unocss": "^0.61.3",

File diff suppressed because it is too large Load Diff

View File

@ -7,9 +7,9 @@ import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig((config) => { export default defineConfig((config) => {
return { return {
define: { // define: {
'module': {}, // 'module': {},
}, // },
build: { build: {
target: 'esnext', target: 'esnext',
}, },