mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore[Checkbox]: migrate to @rc-component namespace and update dependencies (#55045)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as React from 'react';
|
||||
import { composeRef } from '@rc-component/util/lib/ref';
|
||||
import classNames from 'classnames';
|
||||
import type { CheckboxRef } from 'rc-checkbox';
|
||||
import RcCheckbox from 'rc-checkbox';
|
||||
import type { CheckboxRef } from '@rc-component/checkbox';
|
||||
import RcCheckbox from '@rc-component/checkbox';
|
||||
|
||||
import { devUseWarning } from '../_util/warning';
|
||||
import Wave from '../_util/wave';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CheckboxRef } from 'rc-checkbox';
|
||||
import type { CheckboxRef } from '@rc-component/checkbox';
|
||||
|
||||
import InternalCheckbox from './Checkbox';
|
||||
import Group from './Group';
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { AbstractCheckboxProps } from '../checkbox/Checkbox';
|
||||
import type { AbstractCheckboxGroupProps } from '../checkbox/Group';
|
||||
import type { SizeType } from '../config-provider/SizeContext';
|
||||
|
||||
export type { CheckboxRef as RadioRef } from 'rc-checkbox';
|
||||
export type { CheckboxRef as RadioRef } from '@rc-component/checkbox';
|
||||
export type RadioGroupButtonStyle = 'outline' | 'solid';
|
||||
export type RadioGroupOptionType = 'default' | 'button';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from 'react';
|
||||
import { composeRef } from '@rc-component/util/lib/ref';
|
||||
import classNames from 'classnames';
|
||||
import RcCheckbox from 'rc-checkbox';
|
||||
import RcCheckbox from '@rc-component/checkbox';
|
||||
|
||||
import { devUseWarning } from '../_util/warning';
|
||||
import Wave from '../_util/wave';
|
||||
|
||||
@@ -116,6 +116,7 @@
|
||||
"@ant-design/icons": "^6.0.0",
|
||||
"@ant-design/react-slick": "~1.1.2",
|
||||
"@rc-component/cascader": "~1.6.0",
|
||||
"@rc-component/checkbox": "~1.0.0",
|
||||
"@rc-component/collapse": "~1.1.0",
|
||||
"@rc-component/color-picker": "~3.0.1",
|
||||
"@rc-component/dialog": "~1.5.0",
|
||||
@@ -152,7 +153,6 @@
|
||||
"@rc-component/util": "^1.0.1",
|
||||
"classnames": "^2.5.1",
|
||||
"dayjs": "^1.11.11",
|
||||
"rc-checkbox": "~3.5.0",
|
||||
"rc-upload": "~4.9.2",
|
||||
"rc-util": "^5.44.4",
|
||||
"scroll-into-view-if-needed": "^3.1.0",
|
||||
|
||||
Reference in New Issue
Block a user