refactor: rename _style to style

pull/6316/head
tangjinzhou 2023-02-27 16:00:05 +08:00
parent d3a919b0bf
commit 516b2e5a0c
79 changed files with 87 additions and 87 deletions

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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 {

View File

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

View File

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

View File

@ -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 {}

View File

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

View File

@ -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 {}

View File

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

View File

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

View File

@ -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 {}

View File

@ -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 {}

View File

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

View File

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

View File

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

View File

@ -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 {

View File

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

View File

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

View File

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

View File

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

View File

@ -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 extends GlobalToken = FullToken<'Input'>> = T & {
inputAffixPadding: number;

View File

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

View File

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

View File

@ -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 */

View File

@ -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) => ({

View File

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

View File

@ -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 {

View File

@ -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 */

View File

@ -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 {

View File

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

View File

@ -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<FullToken<'Pagination'>> {
paginationItemSize: number;

View File

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

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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 = {};

View File

@ -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 {}

View File

@ -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<SelectToken, CSSObject> = token => {
const { controlPaddingHorizontal } = token;

View File

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

View File

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

View File

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

View File

@ -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:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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<TableToken, CSSObject> = token => {
const {

View File

@ -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<TableToken> = token => {
const {

View File

@ -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 {}

View File

@ -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 {

View File

@ -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<TabsToken> = token => {

View File

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

View File

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

View File

@ -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 {}

View File

@ -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 {

View File

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

View File

@ -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', {

View File

@ -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 {

View File

@ -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 = (

View File

@ -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 {}

View File

@ -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<UploadToken> = token => {
const { componentCls, antCls, iconCls, fontSize, lineHeight } = token;

View File

@ -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<UploadToken> = token => {
const { componentCls, iconCls, uploadThumbnailSize, uploadProgressOffset } = token;