Browse Source

chore(deps): update dependency (#40121)

* chore(deps): update `@ant-design/colors` dependency

* test: update case

* chore(deps): update `@ant-design/icons` dependency
pull/40156/head
Wuxh 2 years ago
committed by GitHub
parent
commit
e70c702232
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/progress/__tests__/index.test.tsx
  2. 4
      package.json

2
components/progress/__tests__/index.test.tsx

@ -139,7 +139,7 @@ describe('Progress', () => {
expect(handleGradient({ from: 'test', to: 'test' }).backgroundImage).toBe(
'linear-gradient(to right, test, test)',
);
expect(handleGradient({}).backgroundImage).toBe('linear-gradient(to right, #1890FF, #1890FF)');
expect(handleGradient({}).backgroundImage).toBe('linear-gradient(to right, #1677FF, #1677FF)');
expect(handleGradient({ from: 'test', to: 'test', '0%': 'test' }).backgroundImage).toBe(
'linear-gradient(to right, test 0%)',
);

4
package.json

@ -107,9 +107,9 @@
"not dead"
],
"dependencies": {
"@ant-design/colors": "^6.0.0",
"@ant-design/colors": "^7.0.0",
"@ant-design/cssinjs": "^1.4.0",
"@ant-design/icons": "^4.7.0",
"@ant-design/icons": "^5.0.0",
"@ant-design/react-slick": "~1.0.0",
"@babel/runtime": "^7.18.3",
"@ctrl/tinycolor": "^3.4.0",

Loading…
Cancel
Save