Skip to content

Commit d742641

Browse files
authored
chore: bump father plugin version (#685)
1 parent c40b685 commit d742641

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

packages/icons-react/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/icons",
3-
"version": "5.6.1",
3+
"version": "6.0.0",
44
"repository": "https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-react",
55
"license": "MIT",
66
"contributors": [
@@ -25,14 +25,14 @@
2525
"test:local": "npm run generate && npm run compile && npm run test"
2626
},
2727
"dependencies": {
28-
"@ant-design/colors": "^7.0.0",
28+
"@ant-design/colors": "^8.0.0",
2929
"@ant-design/icons-svg": "^4.4.0",
30-
"@babel/runtime": "^7.24.8",
3130
"classnames": "^2.2.6",
32-
"rc-util": "^5.31.1"
31+
"@rc-component/util": "^1.2.1"
3332
},
3433
"devDependencies": {
35-
"@rc-component/father-plugin": "^1.0.2",
34+
"@rc-component/father-plugin": "^2.0.4",
35+
"@rc-component/np": "^1.0.0",
3636
"@swc/core": "^1.3.53",
3737
"@testing-library/react": "^12",
3838
"@types/classnames": "^2.2.9",

packages/icons-react/src/components/Icon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Seems this is used for iconFont
22
import * as React from 'react';
33
import classNames from 'classnames';
4-
import { useComposeRef } from 'rc-util/lib/ref'
4+
import { useComposeRef } from '@rc-component/util/lib/ref'
55
import Context from './Context';
66

77
import { svgBaseProps, warning, useInsertStyles } from '../utils';

packages/icons-react/src/utils.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { generate as generateColor } from '@ant-design/colors';
22
import type { AbstractNode, IconDefinition } from '@ant-design/icons-svg/lib/types';
3-
import { updateCSS } from 'rc-util/lib/Dom/dynamicCSS';
4-
import { getShadowRoot } from 'rc-util/lib/Dom/shadow';
5-
import warn from 'rc-util/lib/warning';
3+
import { updateCSS } from '@rc-component/util/lib/Dom/dynamicCSS';
4+
import { getShadowRoot } from '@rc-component/util/lib/Dom/shadow';
5+
import warn from '@rc-component/util/lib/warning';
66
import type { CSSProperties, MouseEventHandler, MutableRefObject, ReactNode } from 'react';
77
import React, { useContext, useEffect } from 'react';
88
import IconContext from './components/Context';

0 commit comments

Comments
 (0)