Skip to content

Commit

Permalink
fix(ci): Upgrade antd version
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Jun 20, 2024
1 parent 7352759 commit ad8f4ca
Show file tree
Hide file tree
Showing 13 changed files with 4,213 additions and 4,782 deletions.
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,78 +43,78 @@
},
"devDependencies": {
"@ant-design/colors": "^7.0.2",
"@ant-design/cssinjs": "^1.19.1",
"@ant-design/icons": "^5.3.6",
"@babel/cli": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@ant-design/cssinjs": "^1.21.0",
"@ant-design/icons": "^5.3.7",
"@babel/cli": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@chenshuai2144/less2cssinjs": "^1.0.7",
"@ctrl/tinycolor": "^4.0.3",
"@ctrl/tinycolor": "^4.1.0",
"@emotion/babel-preset-css-prop": "^11.11.0",
"@emotion/css": "^11.11.2",
"@emotion/react": "^11.11.4",
"@emotion/server": "^11.11.0",
"@oceanbase/aliyun-theme": "^0.1.2",
"@qixian.cs/github-contributors-list": "^2.0.1",
"@rc-component/trigger": "^2.0.0",
"@stackblitz/sdk": "^1.9.0",
"@qixian.cs/github-contributors-list": "^2.0.2",
"@rc-component/trigger": "^2.2.0",
"@stackblitz/sdk": "^1.10.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.3.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/lodash": "^4.17.0",
"@types/node": "^20.12.5",
"@types/react": "^18.2.74",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",
"@umijs/fabric": "^4.0.1",
"@umijs/test": "^4.1.8",
"@vercel/analytics": "^1.2.2",
"antd": "^5.16.1",
"@umijs/test": "^4.2.13",
"@vercel/analytics": "^1.3.1",
"antd": "^5.18.3",
"antd-style": "^3.6.2",
"antd-token-previewer": "^2.0.8",
"babel-jest": "^29.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"cross-env": "^7.0.3",
"dayjs": "^1.11.10",
"dumi": "^2.2.17",
"dayjs": "^1.11.11",
"dumi": "^2.3.8",
"eslint-plugin-jest": "^27.9.0",
"execa": "^5.1.1",
"father": "^4.4.0",
"father": "^4.4.4",
"fs-extra": "^11.2.0",
"gh-pages": "^6.1.1",
"glob": "^10.3.12",
"glob": "^10.4.2",
"html2sketch": "^1.0.2",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"isomorphic-fetch": "^3.0.0",
"jest-environment-jsdom": "^29.7.0",
"jsonml-to-react-element": "^1.1.11",
"jsonml.js": "^0.1.0",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"lerna": "^8.1.3",
"lint-staged": "^15.2.7",
"lodash": "^4.17.21",
"mockdate": "^3.0.5",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"prismjs": "^1.29.0",
"rc-checkbox": "^3.2.0",
"rc-drawer": "^7.1.0",
"rc-checkbox": "^3.3.0",
"rc-drawer": "^7.2.0",
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.4.0",
"rc-segmented": "^2.3.0",
"rc-tabs": "^14.1.1",
"rc-util": "^5.39.1",
"react": "^18.2.0",
"rc-util": "^5.43.0",
"react": "^18.3.1",
"react-color": "^2.19.3",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"react-fast-marquee": "^1.6.4",
"react-intl": "^6.6.5",
"react-router-dom": "^6.22.3",
"react-intl": "^6.6.8",
"react-router-dom": "^6.23.1",
"runscript": "^1.6.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.4",
"vanilla-jsoneditor": "^0.23.1",
"vitest": "^1.5.0",
"typescript": "^5.4.5",
"vanilla-jsoneditor": "^0.23.7",
"vitest": "^1.6.0",
"vitest-canvas-mock": "^0.3.3",
"vitest-fetch-mock": "^0.2.2",
"web-vitals": "^3.5.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@oceanbase/util": "workspace:^",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"rc-util": "^5.39.1",
"rc-util": "^5.43.0",
"tinycolor2": "^1.6.0",
"use-resize-observer": "^9.1.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"command-exists": "^1.2.9",
"execa": "^5.1.1",
"find-up": "^7.0.0",
"glob": "^10.3.12",
"glob": "^10.4.2",
"is-directory": "^0.3.1",
"is-git-clean": "^1.1.0",
"jscodeshift": "^0.15.2",
"lodash": "^4.17.21",
"postcss": "^8.4.38",
"postcss-less": "^6.0.0",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"read-pkg-up": "^10.1.0",
"semver": "^7.6.0",
"semver": "^7.6.2",
"update-check": "^1.5.4",
"yargs-parser": "^21.1.1"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,26 @@
"postbuild": "cp src/style/reset.css dist/"
},
"dependencies": {
"@ant-design/cssinjs": "^1.19.1",
"@ant-design/cssinjs": "^1.21.0",
"@oceanbase/aliyun-theme": "^0.1.2",
"@oceanbase/icons": "workspace:^",
"@oceanbase/util": "workspace:^",
"ahooks": "^2.10.14",
"antd": "^5.16.1",
"antd": "^5.18.3",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"lottie-web": "^5.12.2",
"prop-types": "^15.8.1",
"rc-util": "^5.39.1",
"rc-util": "^5.43.0",
"react-sticky-mouse-tooltip": "^0.0.1"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@babel/cli": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"antd-token-previewer": "^2.0.8",
"rc-select": "^14.13.0",
"rc-table": "^7.45.4",
"rc-tree-select": "^5.19.0"
"rc-select": "^14.15.0",
"rc-table": "^7.47.1",
"rc-tree-select": "^5.22.0"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down
1 change: 1 addition & 0 deletions packages/design/src/config-provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const ConfigProvider: ConfigProviderType = ({
spin={merge({}, parentContext.spin, spin)}
table={merge({}, parentContext.table, table)}
tabs={merge(
{},
{
indicatorSize: origin => (origin >= 24 ? origin - 16 : origin),
},
Expand Down
51 changes: 17 additions & 34 deletions packages/design/src/form/demo/pro-form.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,23 @@
import { Button, Form, Input, message } from '@oceanbase/design';
import React from 'react';

const onFinish = (values: any) => {
message.success('Success');
console.log(values);
};

const onFinishFailed = (errorInfo: any) => {
message.error('Failed');
console.log(errorInfo);
};
import { ConfigProvider } from '@oceanbase/design';
import { ProForm, ProFormText } from '@oceanbase/ui';

const App: React.FC = () => (
<Form
name="basic"
labelCol={{ span: 6 }}
wrapperCol={{ span: 10 }}
onFinish={onFinish}
onFinishFailed={onFinishFailed}
>
<Form.Item
label="Username"
name="username"
rules={[{ required: true, message: 'Please input your username!' }]}
>
<Input />
</Form.Item>
<Form.Item label="Address" name="address">
<Input />
</Form.Item>
<Form.Item wrapperCol={{ offset: 6, span: 10 }}>
<Button type="primary" htmlType="submit">
Submit
</Button>
</Form.Item>
</Form>
<ConfigProvider>
<ProForm name="basic" labelCol={{ span: 6 }} wrapperCol={{ span: 10 }}>
<ProFormText
label="Name"
name="name"
rules={[
{
required: true,
message: 'Name is required',
},
]}
/>
<ProFormText label="Address" name="address" />
</ProForm>
</ConfigProvider>
);

export default App;
1 change: 1 addition & 0 deletions packages/design/src/theme/style/compact.less
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
@colorSuccessTextActive: #00b378;
@colorErrorBg: #ffebeb;
@colorErrorBgHover: #ffd6d6;
@colorErrorBgActive: #ffbcb5;
@colorErrorBorder: #ffb3b3;
@colorErrorBorderHover: #ff7575;
@colorErrorHover: #ff7575;
Expand Down
1 change: 1 addition & 0 deletions packages/design/src/theme/style/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
@colorSuccessTextActive: #0e845d;
@colorErrorBg: #2b1416;
@colorErrorBgHover: #44191a;
@colorErrorBgActive: #591f1f;
@colorErrorBorder: #591f1f;
@colorErrorBorderHover: #7b2525;
@colorErrorHover: #e8615b;
Expand Down
1 change: 1 addition & 0 deletions packages/design/src/theme/style/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
@colorSuccessTextActive: #00b378;
@colorErrorBg: #ffebeb;
@colorErrorBgHover: #ffd6d6;
@colorErrorBgActive: #ffbcb5;
@colorErrorBorder: #ffb3b3;
@colorErrorBorderHover: #ff7575;
@colorErrorHover: #ff7575;
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@ant-design/colors": "^7.0.2",
"@ant-design/icons": "^5.3.6",
"@ant-design/icons": "^5.3.7",
"@oceanbase/icons-svg": "^1.0.6"
},
"peerDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"build": "NODE_OPTIONS=--max_old_space_size=4096 father build"
},
"dependencies": {
"@ant-design/cssinjs": "^1.19.1",
"@ant-design/pro-components": "^2.7.0",
"@ant-design/cssinjs": "^1.21.0",
"@ant-design/pro-components": "^2.7.10",
"@antv/g6": "3.4.10",
"@oceanbase/design": "workspace:^",
"@oceanbase/icons": "workspace:^",
"@oceanbase/util": "workspace:^",
"ahooks": "^2.10.14",
"classnames": "^2.5.1",
"dayjs": "^1.11.10",
"dayjs": "^1.11.11",
"diff": "^5.2.0",
"highlight.js": "^11.9.0",
"highlightjs-solidity": "^2.0.6",
Expand All @@ -51,15 +51,15 @@
"moment": "^2.30.1",
"path-to-regexp": "^6.2.2",
"randexp": "^0.5.3",
"rc-util": "^5.39.1",
"rc-util": "^5.43.0",
"react-copy-to-clipboard": "^5.1.0",
"react-json-view": "^1.21.3",
"react-split-pane": "^0.1.92",
"screenfull": "^6.0.2"
},
"devDependencies": {
"@ant-design/pro-form": "^2.25.1",
"@ant-design/pro-layout": "^7.19.0"
"@ant-design/pro-form": "^2.28.0",
"@ant-design/pro-layout": "^7.19.8"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"ahooks": "^2.10.14",
"filesize": "^10.1.1",
"filesize": "^10.1.2",
"is-url": "^1.2.4",
"lodash": "^4.17.21",
"moment": "^2.30.1",
Expand Down
Loading

0 comments on commit ad8f4ca

Please sign in to comment.