diff --git a/components/_util/theme/interface.ts b/components/_util/theme/interface.ts index 27d4014663..3a91fe1bf0 100644 --- a/components/_util/theme/interface.ts +++ b/components/_util/theme/interface.ts @@ -1,30 +1,31 @@ import type * as React from 'react'; import type { ComponentToken as AnchorComponentToken } from '../../anchor/style'; +import type { ComponentToken as BackTopComponentToken } from '../../back-top/style'; import type { ComponentToken as ButtonComponentToken } from '../../button/style'; +import type { ComponentToken as CalendarComponentToken } from '../../calendar/style'; +import type { ComponentToken as CarouselComponentToken } from '../../carousel/style'; +import type { ComponentToken as CascaderComponentToken } from '../../cascader/style'; +import type { ComponentToken as DatePickerComponentToken } from '../../date-picker/style'; import type { ComponentToken as DividerComponentToken } from '../../divider/style'; import type { ComponentToken as DropdownComponentToken } from '../../dropdown/style'; import type { ComponentToken as EmptyComponentToken } from '../../empty/style'; -import type { ComponentToken as CascaderComponentToken } from '../../cascader/style'; +import type { ComponentToken as ImageComponentToken } from '../../image/style'; import type { ComponentToken as InputNumberComponentToken } from '../../input-number/style'; import type { ComponentToken as LayoutComponentToken } from '../../layout/style'; +import type { ComponentToken as ListComponentToken } from '../../list/style'; import type { ComponentToken as MentionsComponentToken } from '../../mentions/style'; +import type { ComponentToken as MenuComponentToken } from '../../menu/style'; +import type { ComponentToken as ModalComponentToken } from '../../modal/style'; import type { ComponentToken as NotificationComponentToken } from '../../notification/style'; +import type { ComponentToken as PopconfirmComponentToken } from '../../popconfirm/style'; +import type { ComponentToken as ProgressComponentToken } from '../../progress/style'; import type { ComponentToken as SegmentedComponentToken } from '../../segmented/style'; import type { ComponentToken as SelectComponentToken } from '../../select/style'; import type { ComponentToken as SliderComponentToken } from '../../slider/style'; -import type { ComponentToken as TypographyComponentToken } from '../../typography/style'; -import type { ComponentToken as BackTopComponentToken } from '../../back-top/style'; -import type { ComponentToken as CalendarComponentToken } from '../../calendar/style'; -import type { ComponentToken as DatePickerComponentToken } from '../../date-picker/style'; -import type { ComponentToken as TimelineComponentToken } from '../../timeline/style'; -import type { ComponentToken as MenuComponentToken } from '../../menu/style'; -import type { ComponentToken as UploadComponentToken } from '../../upload/style'; -import type { ComponentToken as CarouselComponentToken } from '../../carousel/style'; -import type { ComponentToken as ProgressComponentToken } from '../../progress/style'; import type { ComponentToken as SpaceComponentToken } from '../../space/style'; -import type { ComponentToken as ModalComponentToken } from '../../modal/style'; -import type { ComponentToken as ImageComponentToken } from '../../image/style'; -import type { ComponentToken as ListComponentToken } from '../../list/style'; +import type { ComponentToken as TimelineComponentToken } from '../../timeline/style'; +import type { ComponentToken as TypographyComponentToken } from '../../typography/style'; +import type { ComponentToken as UploadComponentToken } from '../../upload/style'; export const PresetColors = [ 'blue', @@ -84,6 +85,7 @@ export interface OverrideToken { Notification?: NotificationComponentToken; Pagination?: {}; Popover?: {}; + Popconfirm?: PopconfirmComponentToken; Rate?: {}; Result?: {}; Segmented?: SegmentedComponentToken; diff --git a/components/config-provider/__tests__/__snapshots__/components.test.js.snap b/components/config-provider/__tests__/__snapshots__/components.test.js.snap index 001f724c16..80dfd88669 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.js.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.js.snap @@ -18071,10 +18071,10 @@ exports[`ConfigProvider components Popconfirm configProvider 1`] = ` role="tooltip" >