mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 10:38:16 +08:00
fix: 修复theme-helper引用报错问题 (#11273)
* fix: 修复theme-helper引用报错问题 * 调整成包依赖 * 调整成包依赖
This commit is contained in:
parent
311bb4de06
commit
4f826db3e5
@ -31,10 +31,14 @@
|
||||
"dependencies": {
|
||||
"amis": "*",
|
||||
"amis-core": "*",
|
||||
"amis-ui": "*"
|
||||
"amis-ui": "*",
|
||||
"style-inject": "^0.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.3",
|
||||
"@rollup/plugin-commonjs": "^22.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
||||
"@rollup/plugin-typescript": "^8.3.2",
|
||||
"@rollup/plugin-url": "^7.0.0",
|
||||
"@svgr/rollup": "^6.4.0",
|
||||
"@types/async": "^2.0.45",
|
||||
@ -45,23 +49,20 @@
|
||||
"@types/lodash": "^4.14.76",
|
||||
"@types/node": "^14.0.24",
|
||||
"@types/react": "^18.0.24",
|
||||
"@types/react-color": "^3.0.6",
|
||||
"@types/react-dom": "^18.0.8",
|
||||
"@rollup/plugin-commonjs": "^22.0.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.3.0",
|
||||
"@rollup/plugin-typescript": "^8.3.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"react": "^18.2.0",
|
||||
"react-color": "^2.19.3",
|
||||
"react-dom": "^18.2.0",
|
||||
"rollup": "^2.73.0",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-license": "^2.7.0",
|
||||
"@types/react-color": "^3.0.6",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^4.6.4",
|
||||
"sass": "^1.49.7",
|
||||
"sass-loader": "^12.5.0",
|
||||
"style-loader": "^3.2.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-color": "^2.19.3"
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^4.6.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"amis": "*",
|
||||
@ -71,4 +72,4 @@
|
||||
"react": ">=16.8.6",
|
||||
"react-dom": ">=16.8.6"
|
||||
}
|
||||
}
|
||||
}
|
@ -47,10 +47,10 @@ const pkgs = [];
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
const external = id =>
|
||||
pkgs.some(pkg => id.startsWith(pkg) || ~id.indexOf(`node_modules/${pkg}`));
|
||||
const input = ['./src/index.ts'];
|
||||
|
||||
export default [
|
||||
{
|
||||
input,
|
||||
|
@ -166,8 +166,8 @@
|
||||
right: px2rem(2px);
|
||||
bottom: px2rem(6px);
|
||||
transform: rotate(-40deg);
|
||||
width: var(--Checkbox--full-inner-size);
|
||||
height: calc(var(--Checkbox--full-inner-size) / 2);
|
||||
width: px2rem(8px);
|
||||
height: px2rem(4px);
|
||||
border-color: #fff;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user