mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
3af521d422
* feat: Input filled variant * feat: InputNumber filled variant * feat: mentions variant * fix: TextArea status with affix * chore: update snapshot * chore: update snapshot * feat: pagination input * fix: fix diff * feat: input-number disabled * fixL InputNumber * chore: update snapshot * feat: better style * chore: update * chore: update snapshot * feat: use variant classNames * chore: update snapshot * feat: mentions affix style * chore
55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
import { useStyleRegister } from '@ant-design/cssinjs';
|
|
|
|
import type {
|
|
AliasToken,
|
|
GenerateStyle,
|
|
PresetColorKey,
|
|
PresetColorType,
|
|
SeedToken,
|
|
UseComponentStyleResult,
|
|
} from './interface';
|
|
import { PresetColors } from './interface';
|
|
import useToken from './useToken';
|
|
import type {
|
|
FullToken,
|
|
GetDefaultToken,
|
|
FormatComponentToken,
|
|
} from './util/genComponentStyleHook';
|
|
import genComponentStyleHook, {
|
|
genSubStyleComponent,
|
|
genStyleHooks,
|
|
} from './util/genComponentStyleHook';
|
|
import genPresetColor from './util/genPresetColor';
|
|
import statisticToken, { merge as mergeToken } from './util/statistic';
|
|
import useResetIconStyle from './util/useResetIconStyle';
|
|
import calc from './util/calc';
|
|
|
|
export { DesignTokenContext, defaultConfig } from './context';
|
|
export {
|
|
PresetColors,
|
|
genComponentStyleHook,
|
|
genSubStyleComponent,
|
|
genPresetColor,
|
|
genStyleHooks,
|
|
mergeToken,
|
|
statisticToken,
|
|
calc,
|
|
// hooks
|
|
useResetIconStyle,
|
|
useStyleRegister,
|
|
useToken,
|
|
};
|
|
export type {
|
|
AliasToken,
|
|
// FIXME: Remove this type
|
|
AliasToken as DerivativeToken,
|
|
FullToken,
|
|
GenerateStyle,
|
|
PresetColorKey,
|
|
PresetColorType,
|
|
SeedToken,
|
|
UseComponentStyleResult,
|
|
GetDefaultToken,
|
|
FormatComponentToken,
|
|
};
|