chore[Checkbox]: migrate to @rc-component namespace and update dependencies (#55045)

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
This commit is contained in:
EmilyyyLiu
2025-09-17 15:53:56 +08:00
committed by GitHub
parent ec8f9eae07
commit ded4c3a01e
5 changed files with 6 additions and 6 deletions

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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",