diff --git a/components/alert/style/index.ts b/components/alert/style/index.ts index cca34d638..172674fe5 100644 --- a/components/alert/style/index.ts +++ b/components/alert/style/index.ts @@ -1,7 +1,7 @@ import type { CSSInterpolation, CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/anchor/style/index.ts b/components/anchor/style/index.ts index 45357a012..3a4039d97 100644 --- a/components/anchor/style/index.ts +++ b/components/anchor/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; export interface ComponentToken {} diff --git a/components/avatar/style/index.ts b/components/avatar/style/index.ts index c9bccbc12..77d31de0f 100644 --- a/components/avatar/style/index.ts +++ b/components/avatar/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/back-top/style/index.ts b/components/back-top/style/index.ts index 545e5fc9d..fb69b7591 100644 --- a/components/back-top/style/index.ts +++ b/components/back-top/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken { diff --git a/components/badge/style/index.ts b/components/badge/style/index.ts index 069b93a6d..1e46c6007 100644 --- a/components/badge/style/index.ts +++ b/components/badge/style/index.ts @@ -2,7 +2,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genPresetColor, resetComponent } from '../../_style'; +import { genPresetColor, resetComponent } from '../../style'; interface BadgeToken extends FullToken<'Badge'> { badgeFontHeight: number; diff --git a/components/breadcrumb/style/index.ts b/components/breadcrumb/style/index.ts index 1fe152f21..9d3b24d9c 100644 --- a/components/breadcrumb/style/index.ts +++ b/components/breadcrumb/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusStyle, resetComponent } from '../../_style'; +import { genFocusStyle, resetComponent } from '../../style'; interface BreadcrumbToken extends FullToken<'Breadcrumb'> { breadcrumbBaseColor: string; diff --git a/components/button/style/index.ts b/components/button/style/index.ts index cee2ca21e..bf228dcc7 100644 --- a/components/button/style/index.ts +++ b/components/button/style/index.ts @@ -2,9 +2,9 @@ import type { CSSInterpolation, CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import genGroupStyle from './group'; -import { genFocusStyle } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; -import { genCompactItemVerticalStyle } from '../../_style/compact-item-vertical'; +import { genFocusStyle } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; +import { genCompactItemVerticalStyle } from '../../style/compact-item-vertical'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken {} diff --git a/components/calendar/style/index.tsx b/components/calendar/style/index.tsx index df14efb97..514b4e863 100644 --- a/components/calendar/style/index.tsx +++ b/components/calendar/style/index.tsx @@ -1,5 +1,5 @@ import type { CSSObject } from '../../_util/cssinjs'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; import type { PickerPanelToken } from '../../date-picker/style'; import { genPanelStyle, initPickerPanelToken } from '../../date-picker/style'; import type { InputToken } from '../../input/style'; diff --git a/components/card/style/index.tsx b/components/card/style/index.tsx index 910e8379b..447bcd148 100644 --- a/components/card/style/index.tsx +++ b/components/card/style/index.tsx @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { clearFix, resetComponent, textEllipsis } from '../../_style'; +import { clearFix, resetComponent, textEllipsis } from '../../style'; export interface ComponentToken {} diff --git a/components/carousel/style/index.tsx b/components/carousel/style/index.tsx index 41d453c6d..06e29a3e9 100644 --- a/components/carousel/style/index.tsx +++ b/components/carousel/style/index.tsx @@ -1,6 +1,6 @@ import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken { dotWidth: number; diff --git a/components/cascader/style/index.ts b/components/cascader/style/index.ts index 07379da99..07e6417ae 100644 --- a/components/cascader/style/index.ts +++ b/components/cascader/style/index.ts @@ -1,8 +1,8 @@ import { getStyle as getCheckboxStyle } from '../../checkbox/style'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook } from '../../theme/internal'; -import { textEllipsis } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; +import { textEllipsis } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; export interface ComponentToken { controlWidth: number; diff --git a/components/checkbox/style/index.ts b/components/checkbox/style/index.ts index f6d8906ac..bff9cfbaa 100644 --- a/components/checkbox/style/index.ts +++ b/components/checkbox/style/index.ts @@ -1,7 +1,7 @@ import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusOutline, resetComponent } from '../../_style'; +import { genFocusOutline, resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/collapse/style/index.tsx b/components/collapse/style/index.tsx index 2ca88f3ba..3d9b43302 100644 --- a/components/collapse/style/index.tsx +++ b/components/collapse/style/index.tsx @@ -1,7 +1,7 @@ -import { genCollapseMotion } from '../../_style/motion'; +import { genCollapseMotion } from '../../style/motion'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, resetIcon } from '../../_style'; +import { resetComponent, resetIcon } from '../../style'; export interface ComponentToken {} diff --git a/components/config-provider/style/index.ts b/components/config-provider/style/index.ts index 4fe8c6770..77ed478a0 100644 --- a/components/config-provider/style/index.ts +++ b/components/config-provider/style/index.ts @@ -1,5 +1,5 @@ import { useStyleRegister } from '../../_util/cssinjs'; -import { resetIcon } from '../../_style'; +import { resetIcon } from '../../style'; import { useToken } from '../../theme/internal'; import { computed, Ref } from 'vue'; diff --git a/components/date-picker/style/index.ts b/components/date-picker/style/index.ts index e765b859b..dbb787952 100644 --- a/components/date-picker/style/index.ts +++ b/components/date-picker/style/index.ts @@ -14,13 +14,13 @@ import { slideDownOut, slideUpIn, slideUpOut, -} from '../../_style/motion'; +} from '../../style/motion'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import type { GlobalToken } from '../../theme/interface'; import type { TokenWithCommonCls } from '../../theme/util/genComponentStyleHook'; -import { resetComponent, roundedArrow, textEllipsis } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; +import { resetComponent, roundedArrow, textEllipsis } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; export interface ComponentToken { presetsWidth: number; diff --git a/components/descriptions/style/index.ts b/components/descriptions/style/index.ts index 53491ea28..037edb550 100644 --- a/components/descriptions/style/index.ts +++ b/components/descriptions/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; interface DescriptionsToken extends FullToken<'Descriptions'> { descriptionsTitleMarginBottom: number; diff --git a/components/divider/style/index.ts b/components/divider/style/index.ts index 9f8aa7a88..42694100d 100644 --- a/components/divider/style/index.ts +++ b/components/divider/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken { diff --git a/components/dropdown/style/index.ts b/components/dropdown/style/index.ts index 5ea57e6f7..0e8ceabb3 100644 --- a/components/dropdown/style/index.ts +++ b/components/dropdown/style/index.ts @@ -1,4 +1,4 @@ -import { getArrowOffset } from '../../_style/placementArrow'; +import { getArrowOffset } from '../../style/placementArrow'; import { initMoveMotion, initSlideMotion, @@ -7,12 +7,12 @@ import { slideDownOut, slideUpIn, slideUpOut, -} from '../../_style/motion'; +} from '../../style/motion'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import genButtonStyle from './button'; import genStatusStyle from './status'; -import { genFocusStyle, resetComponent, roundedArrow } from '../../_style'; +import { genFocusStyle, resetComponent, roundedArrow } from '../../style'; export interface ComponentToken { zIndexPopup: number; diff --git a/components/form/style/index.ts b/components/form/style/index.ts index 031f3b760..dad4aa62f 100644 --- a/components/form/style/index.ts +++ b/components/form/style/index.ts @@ -1,8 +1,8 @@ import type { CSSObject } from '../../_util/cssinjs'; -import { genCollapseMotion, zoomIn } from '../../_style/motion'; +import { genCollapseMotion, zoomIn } from '../../style/motion'; import type { AliasToken, FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; import genFormValidateMotionStyle from './explain'; export interface FormToken extends FullToken<'Form'> { diff --git a/components/image/style/index.ts b/components/image/style/index.ts index c8642298a..8a5f86421 100644 --- a/components/image/style/index.ts +++ b/components/image/style/index.ts @@ -1,10 +1,10 @@ import { CSSObject } from '../../_util/cssinjs'; import { TinyColor } from '@ctrl/tinycolor'; import { genModalMaskStyle } from '../../modal/style'; -import { initZoomMotion, initFadeMotion } from '../../_style/motion'; +import { initZoomMotion, initFadeMotion } from '../../style/motion'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; export interface ComponentToken { zIndexPopup: number; diff --git a/components/input-number/style/index.tsx b/components/input-number/style/index.tsx index 957ae9ed9..d119e7d66 100644 --- a/components/input-number/style/index.tsx +++ b/components/input-number/style/index.tsx @@ -11,8 +11,8 @@ import { } from '../../input/style'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook } from '../../theme/internal'; -import { resetComponent, resetIcon } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; +import { resetComponent, resetIcon } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; export interface ComponentToken { controlWidth: number; diff --git a/components/input/style/index.ts b/components/input/style/index.ts index edbcb16dd..f3d37358b 100644 --- a/components/input/style/index.ts +++ b/components/input/style/index.ts @@ -2,8 +2,8 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import type { GlobalToken } from '../../theme/interface'; -import { clearFix, resetComponent } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; +import { clearFix, resetComponent } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; export type InputToken> = T & { inputAffixPadding: number; diff --git a/components/list/style/index.tsx b/components/list/style/index.tsx index d763f7999..2a1e75c9b 100644 --- a/components/list/style/index.tsx +++ b/components/list/style/index.tsx @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken { contentWidth: number; diff --git a/components/mentions/style/index.ts b/components/mentions/style/index.ts index 746b39389..9b098a40e 100644 --- a/components/mentions/style/index.ts +++ b/components/mentions/style/index.ts @@ -9,7 +9,7 @@ import { } from '../../input/style'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; export interface ComponentToken { zIndexPopup: number; diff --git a/components/menu/style/index.ts b/components/menu/style/index.ts index c54a756d2..89b138d4e 100644 --- a/components/menu/style/index.ts +++ b/components/menu/style/index.ts @@ -1,13 +1,13 @@ import { TinyColor } from '@ctrl/tinycolor'; import type { CSSObject } from '../../_util/cssinjs'; -import { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../_style/motion'; +import { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion'; import type { FullToken, GenerateStyle, UseComponentStyleResult } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import getHorizontalStyle from './horizontal'; import getRTLStyle from './rtl'; import getThemeStyle from './theme'; import getVerticalStyle from './vertical'; -import { clearFix, resetComponent, resetIcon } from '../../_style'; +import { clearFix, resetComponent, resetIcon } from '../../style'; import { Ref } from 'vue'; /** Component only token. Which will handle additional calculation of alias token */ diff --git a/components/menu/style/theme.ts b/components/menu/style/theme.ts index f8c33e333..d59ad5adc 100644 --- a/components/menu/style/theme.ts +++ b/components/menu/style/theme.ts @@ -1,5 +1,5 @@ import type { CSSInterpolation } from '../../_util/cssinjs'; -import { genFocusOutline } from '../../_style'; +import { genFocusOutline } from '../../style'; import type { MenuToken } from '.'; const accessibilityFocus = (token: MenuToken) => ({ diff --git a/components/menu/style/vertical.ts b/components/menu/style/vertical.ts index 5ce3fb2e5..874e7126f 100644 --- a/components/menu/style/vertical.ts +++ b/components/menu/style/vertical.ts @@ -1,5 +1,5 @@ import type { CSSObject } from '../../_util/cssinjs'; -import { textEllipsis } from '../../_style'; +import { textEllipsis } from '../../style'; import type { MenuToken } from '.'; import type { GenerateStyle } from '../../theme/internal'; diff --git a/components/message/style/index.ts b/components/message/style/index.ts index f9b9a3592..8a09b3358 100644 --- a/components/message/style/index.ts +++ b/components/message/style/index.ts @@ -2,7 +2,7 @@ import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken { diff --git a/components/modal/style/index.ts b/components/modal/style/index.ts index 85c63ad42..d1fada9f5 100644 --- a/components/modal/style/index.ts +++ b/components/modal/style/index.ts @@ -1,8 +1,8 @@ -import { initFadeMotion, initZoomMotion } from '../../_style/motion'; +import { initFadeMotion, initZoomMotion } from '../../style/motion'; import type { AliasToken, FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import type { TokenWithCommonCls } from '../../theme/util/genComponentStyleHook'; -import { clearFix, genFocusStyle, resetComponent } from '../../_style'; +import { clearFix, genFocusStyle, resetComponent } from '../../style'; import { CSSProperties } from 'vue'; /** Component only token. Which will handle additional calculation of alias token */ diff --git a/components/notification/style/index.ts b/components/notification/style/index.ts index c3c74cb42..5bb3bdcdf 100644 --- a/components/notification/style/index.ts +++ b/components/notification/style/index.ts @@ -2,7 +2,7 @@ import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import genNotificationPlacementStyle from './placement'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken { diff --git a/components/page-header/style/index.ts b/components/page-header/style/index.ts index 45dfd09e3..61d0ce774 100644 --- a/components/page-header/style/index.ts +++ b/components/page-header/style/index.ts @@ -1,8 +1,8 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; -import { operationUnit } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; +import { operationUnit } from '../../style'; interface PageHeaderToken extends FullToken<'PageHeader'> { pageHeaderPadding: number; diff --git a/components/pagination/style/index.tsx b/components/pagination/style/index.tsx index 5ccefbf5d..83d9df2c0 100644 --- a/components/pagination/style/index.tsx +++ b/components/pagination/style/index.tsx @@ -7,7 +7,7 @@ import { } from '../../input/style'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusOutline, genFocusStyle, resetComponent } from '../../_style'; +import { genFocusOutline, genFocusStyle, resetComponent } from '../../style'; interface PaginationToken extends InputToken> { paginationItemSize: number; diff --git a/components/popover/style/index.ts b/components/popover/style/index.ts index 40a41953f..744021a87 100644 --- a/components/popover/style/index.ts +++ b/components/popover/style/index.ts @@ -1,8 +1,8 @@ -import { initZoomMotion } from '../../_style/motion'; +import { initZoomMotion } from '../../style/motion'; import type { FullToken, GenerateStyle, PresetColorType } from '../../theme/internal'; import { genComponentStyleHook, mergeToken, PresetColors } from '../../theme/internal'; -import { resetComponent } from '../../_style'; -import getArrowStyle from '../../_style/placementArrow'; +import { resetComponent } from '../../style'; +import getArrowStyle from '../../style/placementArrow'; export interface ComponentToken { zIndexPopup: number; diff --git a/components/progress/style/index.ts b/components/progress/style/index.ts index 76a210e71..23311fe94 100644 --- a/components/progress/style/index.ts +++ b/components/progress/style/index.ts @@ -2,7 +2,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/radio/style/index.tsx b/components/radio/style/index.tsx index 88b681000..786eda6a8 100644 --- a/components/radio/style/index.tsx +++ b/components/radio/style/index.tsx @@ -1,7 +1,7 @@ import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusOutline, resetComponent } from '../../_style'; +import { genFocusOutline, resetComponent } from '../../style'; // ============================== Tokens ============================== export interface ComponentToken {} diff --git a/components/rate/style/index.ts b/components/rate/style/index.ts index 7138e441a..b2e94a31b 100644 --- a/components/rate/style/index.ts +++ b/components/rate/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export type ComponentToken = {}; diff --git a/components/segmented/style/index.ts b/components/segmented/style/index.ts index 7b232db8f..914ee9a6d 100644 --- a/components/segmented/style/index.ts +++ b/components/segmented/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; export interface ComponentToken {} diff --git a/components/select/style/dropdown.ts b/components/select/style/dropdown.ts index c990ef9cf..cb2b0dbe7 100644 --- a/components/select/style/dropdown.ts +++ b/components/select/style/dropdown.ts @@ -7,9 +7,9 @@ import { slideDownOut, slideUpIn, slideUpOut, -} from '../../_style/motion'; +} from '../../style/motion'; import type { GenerateStyle } from '../../theme/internal'; -import { resetComponent, textEllipsis } from '../../_style'; +import { resetComponent, textEllipsis } from '../../style'; const genItemStyle: GenerateStyle = token => { const { controlPaddingHorizontal } = token; diff --git a/components/select/style/index.ts b/components/select/style/index.ts index c51166749..439f2eaa2 100644 --- a/components/select/style/index.ts +++ b/components/select/style/index.ts @@ -4,8 +4,8 @@ import { genComponentStyleHook, mergeToken } from '../../theme/internal'; import genDropdownStyle from './dropdown'; import genMultipleStyle from './multiple'; import genSingleStyle from './single'; -import { resetComponent, resetIcon, textEllipsis } from '../../_style'; -import { genCompactItemStyle } from '../../_style/compact-item'; +import { resetComponent, resetIcon, textEllipsis } from '../../style'; +import { genCompactItemStyle } from '../../style/compact-item'; export interface ComponentToken { zIndexPopup: number; diff --git a/components/select/style/multiple.ts b/components/select/style/multiple.ts index 143ee932e..70e4aba00 100644 --- a/components/select/style/multiple.ts +++ b/components/select/style/multiple.ts @@ -1,7 +1,7 @@ import type { CSSInterpolation, CSSObject } from '../../_util/cssinjs'; import type { SelectToken } from '.'; import { mergeToken } from '../../theme/internal'; -import { resetIcon } from '../../_style'; +import { resetIcon } from '../../style'; const FIXED_ITEM_MARGIN = 2; diff --git a/components/select/style/single.ts b/components/select/style/single.ts index 70a7f2823..8c928d097 100644 --- a/components/select/style/single.ts +++ b/components/select/style/single.ts @@ -1,5 +1,5 @@ import type { CSSInterpolation, CSSObject } from '../../_util/cssinjs'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; import type { SelectToken } from '.'; import { mergeToken } from '../../theme/internal'; diff --git a/components/slider/style/index.tsx b/components/slider/style/index.tsx index 70b381029..c88742226 100644 --- a/components/slider/style/index.tsx +++ b/components/slider/style/index.tsx @@ -3,7 +3,7 @@ import type { CSSProperties } from 'vue'; import { TinyColor } from '@ctrl/tinycolor'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; // Direction naming standard: // Horizontal base: diff --git a/components/spin/style/index.ts b/components/spin/style/index.ts index 52187ca7d..2eccec181 100644 --- a/components/spin/style/index.ts +++ b/components/spin/style/index.ts @@ -2,7 +2,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import { Keyframes } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken { contentHeight: number; diff --git a/components/statistic/style/index.tsx b/components/statistic/style/index.tsx index ee4ae80c6..d70e31b0c 100644 --- a/components/statistic/style/index.tsx +++ b/components/statistic/style/index.tsx @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; interface StatisticToken extends FullToken<'Statistic'> { statisticTitleFontSize: number; diff --git a/components/steps/style/index.tsx b/components/steps/style/index.tsx index 8598aa128..14d907eb8 100644 --- a/components/steps/style/index.tsx +++ b/components/steps/style/index.tsx @@ -10,7 +10,7 @@ import genStepsRTLStyle from './rtl'; import genStepsSmallStyle from './small'; import genStepsVerticalStyle from './vertical'; import genStepsInlineStyle from './inline'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken { descriptionWidth: number; diff --git a/components/steps/style/nav.ts b/components/steps/style/nav.ts index 2cad520f0..741ed3f76 100644 --- a/components/steps/style/nav.ts +++ b/components/steps/style/nav.ts @@ -1,5 +1,5 @@ import type { CSSObject } from '../../_util/cssinjs'; -import { textEllipsis } from '../../_style'; +import { textEllipsis } from '../../style'; import type { StepsToken } from '.'; import type { GenerateStyle } from '../../theme/internal'; diff --git a/components/_style/compact-item-vertical.ts b/components/style/compact-item-vertical.ts similarity index 100% rename from components/_style/compact-item-vertical.ts rename to components/style/compact-item-vertical.ts diff --git a/components/_style/compact-item.ts b/components/style/compact-item.ts similarity index 100% rename from components/_style/compact-item.ts rename to components/style/compact-item.ts diff --git a/components/_style/index.ts b/components/style/index.ts similarity index 100% rename from components/_style/index.ts rename to components/style/index.ts diff --git a/components/_style/motion/collapse.ts b/components/style/motion/collapse.ts similarity index 100% rename from components/_style/motion/collapse.ts rename to components/style/motion/collapse.ts diff --git a/components/_style/motion/fade.ts b/components/style/motion/fade.ts similarity index 100% rename from components/_style/motion/fade.ts rename to components/style/motion/fade.ts diff --git a/components/_style/motion/index.ts b/components/style/motion/index.ts similarity index 100% rename from components/_style/motion/index.ts rename to components/style/motion/index.ts diff --git a/components/_style/motion/motion.ts b/components/style/motion/motion.ts similarity index 100% rename from components/_style/motion/motion.ts rename to components/style/motion/motion.ts diff --git a/components/_style/motion/move.ts b/components/style/motion/move.ts similarity index 100% rename from components/_style/motion/move.ts rename to components/style/motion/move.ts diff --git a/components/_style/motion/slide.ts b/components/style/motion/slide.ts similarity index 100% rename from components/_style/motion/slide.ts rename to components/style/motion/slide.ts diff --git a/components/_style/motion/zoom.ts b/components/style/motion/zoom.ts similarity index 100% rename from components/_style/motion/zoom.ts rename to components/style/motion/zoom.ts diff --git a/components/_style/operationUnit.ts b/components/style/operationUnit.ts similarity index 100% rename from components/_style/operationUnit.ts rename to components/style/operationUnit.ts diff --git a/components/_style/placementArrow.ts b/components/style/placementArrow.ts similarity index 100% rename from components/_style/placementArrow.ts rename to components/style/placementArrow.ts diff --git a/components/_style/presetColor.tsx b/components/style/presetColor.tsx similarity index 100% rename from components/_style/presetColor.tsx rename to components/style/presetColor.tsx diff --git a/components/_style/reset.css b/components/style/reset.css similarity index 100% rename from components/_style/reset.css rename to components/style/reset.css diff --git a/components/_style/roundedArrow.ts b/components/style/roundedArrow.ts similarity index 100% rename from components/_style/roundedArrow.ts rename to components/style/roundedArrow.ts diff --git a/components/switch/style/index.ts b/components/switch/style/index.ts index d72a14cf0..1eae4a853 100644 --- a/components/switch/style/index.ts +++ b/components/switch/style/index.ts @@ -2,7 +2,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import { TinyColor } from '@ctrl/tinycolor'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusStyle, resetComponent } from '../../_style'; +import { genFocusStyle, resetComponent } from '../../style'; interface SwitchToken extends FullToken<'Switch'> { switchMinWidth: number; diff --git a/components/table/style/ellipsis.ts b/components/table/style/ellipsis.ts index 4097aef57..f7d3c9d57 100644 --- a/components/table/style/ellipsis.ts +++ b/components/table/style/ellipsis.ts @@ -1,5 +1,5 @@ import type { CSSObject } from '../../_util/cssinjs'; -import { textEllipsis } from '../../_style'; +import { textEllipsis } from '../../style'; import type { GenerateStyle } from '../../theme/internal'; import type { TableToken } from './index'; diff --git a/components/table/style/expand.ts b/components/table/style/expand.ts index f9946c4d9..eb4262e05 100644 --- a/components/table/style/expand.ts +++ b/components/table/style/expand.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { GenerateStyle } from '../../theme/internal'; import type { TableToken } from './index'; -import { operationUnit } from '../../_style'; +import { operationUnit } from '../../style'; const genExpandStyle: GenerateStyle = token => { const { diff --git a/components/table/style/filter.ts b/components/table/style/filter.ts index bdb17f82f..f86dfead4 100644 --- a/components/table/style/filter.ts +++ b/components/table/style/filter.ts @@ -1,6 +1,6 @@ import type { GenerateStyle } from '../../theme/internal'; import type { TableToken } from './index'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; const genFilterStyle: GenerateStyle = token => { const { diff --git a/components/table/style/index.ts b/components/table/style/index.ts index 2b0984396..1dd0becd4 100644 --- a/components/table/style/index.ts +++ b/components/table/style/index.ts @@ -16,7 +16,7 @@ import genSizeStyle from './size'; import genSorterStyle from './sorter'; import genStickyStyle from './sticky'; import genSummaryStyle from './summary'; -import { clearFix, resetComponent } from '../../_style'; +import { clearFix, resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/tabs/style/index.ts b/components/tabs/style/index.ts index 30ff2aa87..eab13eb16 100644 --- a/components/tabs/style/index.ts +++ b/components/tabs/style/index.ts @@ -1,7 +1,7 @@ import { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusStyle, resetComponent, textEllipsis } from '../../_style'; +import { genFocusStyle, resetComponent, textEllipsis } from '../../style'; import genMotionStyle from './motion'; export interface ComponentToken { diff --git a/components/tabs/style/motion.ts b/components/tabs/style/motion.ts index c93858740..42e958df1 100644 --- a/components/tabs/style/motion.ts +++ b/components/tabs/style/motion.ts @@ -1,5 +1,5 @@ import type { TabsToken } from '.'; -import { initSlideMotion } from '../../_style/motion'; +import { initSlideMotion } from '../../style/motion'; import type { GenerateStyle } from '../../theme/internal'; const genMotionStyle: GenerateStyle = token => { diff --git a/components/tag/style/index.ts b/components/tag/style/index.ts index e3b3c1147..ab7d68906 100644 --- a/components/tag/style/index.ts +++ b/components/tag/style/index.ts @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genPresetColor, resetComponent } from '../../_style'; +import { genPresetColor, resetComponent } from '../../style'; import type { CSSProperties } from 'vue'; import { capitalize } from '../../_util/util'; diff --git a/components/theme/util/genComponentStyleHook.ts b/components/theme/util/genComponentStyleHook.ts index 9b6cba739..d5879d52e 100644 --- a/components/theme/util/genComponentStyleHook.ts +++ b/components/theme/util/genComponentStyleHook.ts @@ -2,7 +2,7 @@ import { useStyleRegister } from '../../_util/cssinjs'; import type { CSSInterpolation } from '../../_util/cssinjs'; -import { genCommonStyle, genLinkStyle } from '../../_style'; +import { genCommonStyle, genLinkStyle } from '../../style'; import type { UseComponentStyleResult } from '../internal'; import { mergeToken, statisticToken, useToken } from '../internal'; import type { ComponentTokenMap, GlobalToken } from '../interface'; diff --git a/components/timeline/style/index.tsx b/components/timeline/style/index.tsx index e3b94f92e..88df45ca4 100644 --- a/components/timeline/style/index.tsx +++ b/components/timeline/style/index.tsx @@ -1,7 +1,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent } from '../../_style'; +import { resetComponent } from '../../style'; export interface ComponentToken {} diff --git a/components/tooltip/style/index.ts b/components/tooltip/style/index.ts index 88223298f..367a4055c 100644 --- a/components/tooltip/style/index.ts +++ b/components/tooltip/style/index.ts @@ -1,8 +1,8 @@ -import { initZoomMotion } from '../../_style/motion'; +import { initZoomMotion } from '../../style/motion'; import type { FullToken, GenerateStyle, UseComponentStyleResult } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genPresetColor, resetComponent } from '../../_style'; -import getArrowStyle, { MAX_VERTICAL_CONTENT_RADIUS } from '../../_style/placementArrow'; +import { genPresetColor, resetComponent } from '../../style'; +import getArrowStyle, { MAX_VERTICAL_CONTENT_RADIUS } from '../../style/placementArrow'; import { Ref } from 'vue'; export interface ComponentToken { diff --git a/components/transfer/style/index.tsx b/components/transfer/style/index.tsx index 84af98f25..d5b0cb914 100644 --- a/components/transfer/style/index.tsx +++ b/components/transfer/style/index.tsx @@ -2,7 +2,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { FullToken, GenerateStyle } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { resetComponent, resetIcon, textEllipsis } from '../../_style'; +import { resetComponent, resetIcon, textEllipsis } from '../../style'; export interface ComponentToken { listWidth: number; diff --git a/components/tree/style/index.ts b/components/tree/style/index.ts index ffc90eecd..71c64a693 100644 --- a/components/tree/style/index.ts +++ b/components/tree/style/index.ts @@ -1,10 +1,10 @@ import type { CSSInterpolation, CSSObject } from '../../_util/cssinjs'; import { Keyframes } from '../../_util/cssinjs'; -import { genCollapseMotion } from '../../_style/motion'; +import { genCollapseMotion } from '../../style/motion'; import { getStyle as getCheckboxStyle } from '../../checkbox/style'; import type { DerivativeToken } from '../../theme/internal'; import { genComponentStyleHook, mergeToken } from '../../theme/internal'; -import { genFocusOutline, resetComponent } from '../../_style'; +import { genFocusOutline, resetComponent } from '../../style'; // ============================ Keyframes ============================= const treeNodeFX = new Keyframes('ant-tree-node-fx-do-not-use', { diff --git a/components/typography/style/index.tsx b/components/typography/style/index.tsx index 368146d97..50e84e5a6 100644 --- a/components/typography/style/index.tsx +++ b/components/typography/style/index.tsx @@ -8,7 +8,7 @@ import { getResetStyles, getTitleStyles, } from './mixins'; -import { operationUnit } from '../../_style'; +import { operationUnit } from '../../style'; /** Component only token. Which will handle additional calculation of alias token */ export interface ComponentToken { diff --git a/components/typography/style/mixins.tsx b/components/typography/style/mixins.tsx index 28a1719f6..fe40aad34 100644 --- a/components/typography/style/mixins.tsx +++ b/components/typography/style/mixins.tsx @@ -12,7 +12,7 @@ import type { CSSObject } from '../../_util/cssinjs'; import type { TypographyToken } from '.'; import { initInputToken } from '../../input/style'; import type { GenerateStyle } from '../../theme/internal'; -import { operationUnit } from '../../_style'; +import { operationUnit } from '../../style'; // eslint-disable-next-line import/prefer-default-export const getTitleStyle = ( diff --git a/components/upload/style/index.ts b/components/upload/style/index.ts index 81b2bc5ae..e2f278939 100644 --- a/components/upload/style/index.ts +++ b/components/upload/style/index.ts @@ -5,8 +5,8 @@ import genListStyle from './list'; import genMotionStyle from './motion'; import { genPictureCardStyle, genPictureStyle } from './picture'; import genRtlStyle from './rtl'; -import { resetComponent } from '../../_style'; -import { genCollapseMotion } from '../../_style/motion'; +import { resetComponent } from '../../style'; +import { genCollapseMotion } from '../../style/motion'; export interface ComponentToken {} diff --git a/components/upload/style/list.ts b/components/upload/style/list.ts index 8c8028f5a..56cef3da7 100644 --- a/components/upload/style/list.ts +++ b/components/upload/style/list.ts @@ -1,6 +1,6 @@ import type { UploadToken } from '.'; import type { GenerateStyle } from '../../theme/internal'; -import { clearFix, textEllipsis } from '../../_style'; +import { clearFix, textEllipsis } from '../../style'; const genListStyle: GenerateStyle = token => { const { componentCls, antCls, iconCls, fontSize, lineHeight } = token; diff --git a/components/upload/style/picture.ts b/components/upload/style/picture.ts index bcd07240b..ed08e7911 100644 --- a/components/upload/style/picture.ts +++ b/components/upload/style/picture.ts @@ -1,7 +1,7 @@ import { TinyColor } from '@ctrl/tinycolor'; import type { UploadToken } from '.'; import type { GenerateStyle } from '../../theme/internal'; -import { clearFix, textEllipsis } from '../../_style'; +import { clearFix, textEllipsis } from '../../style'; const genPictureStyle: GenerateStyle = token => { const { componentCls, iconCls, uploadThumbnailSize, uploadProgressOffset } = token;