@oceanbase/design 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/Alert/index.d.ts +11 -0
  3. package/es/Alert/style/index.d.ts +8 -0
  4. package/es/Button/index.d.ts +9 -0
  5. package/es/Button/style/index.d.ts +8 -0
  6. package/es/Card/index.d.ts +16 -0
  7. package/es/Card/style/index.d.ts +11 -0
  8. package/es/ConfigProvider/index.d.ts +13 -0
  9. package/es/Descriptions/Item.d.ts +8 -0
  10. package/es/Descriptions/index.d.ts +10 -0
  11. package/es/Descriptions/style/index.d.ts +11 -0
  12. package/es/Form/FormItem.d.ts +16 -0
  13. package/es/Form/index.d.ts +2 -0
  14. package/es/Modal/index.d.ts +30 -0
  15. package/es/Modal/style/index.d.ts +8 -0
  16. package/es/StaticFunction/index.d.ts +10 -0
  17. package/es/Table/index.d.ts +24 -0
  18. package/es/Table/style/index.d.ts +8 -0
  19. package/es/Tabs/TabPane.d.ts +7 -0
  20. package/es/Tabs/hooks/useInkBar.d.ts +12 -0
  21. package/es/Tabs/hooks/useLegacyItems.d.ts +3 -0
  22. package/es/Tabs/index.d.ts +17 -0
  23. package/es/Tabs/style/index.d.ts +8 -0
  24. package/es/Tooltip/MouseTooltip.d.ts +9 -0
  25. package/es/Tooltip/index.d.ts +18 -0
  26. package/es/_util/genComponentStyleHook.d.ts +9 -0
  27. package/es/index.d.ts +21 -0
  28. package/es/locale/en-US.d.ts +3 -0
  29. package/es/locale/index.d.ts +5 -0
  30. package/es/locale/zh-CN.d.ts +3 -0
  31. package/es/locale/zh-TW.d.ts +3 -0
  32. package/es/theme/index.d.ts +183 -0
  33. package/lib/Alert/index.d.ts +11 -0
  34. package/lib/Alert/style/index.d.ts +8 -0
  35. package/lib/Button/index.d.ts +9 -0
  36. package/lib/Button/style/index.d.ts +8 -0
  37. package/lib/Card/index.d.ts +16 -0
  38. package/lib/Card/style/index.d.ts +11 -0
  39. package/lib/ConfigProvider/index.d.ts +13 -0
  40. package/lib/Descriptions/Item.d.ts +8 -0
  41. package/lib/Descriptions/index.d.ts +10 -0
  42. package/lib/Descriptions/style/index.d.ts +11 -0
  43. package/lib/Form/FormItem.d.ts +16 -0
  44. package/lib/Form/index.d.ts +2 -0
  45. package/lib/Modal/index.d.ts +30 -0
  46. package/lib/Modal/style/index.d.ts +8 -0
  47. package/lib/StaticFunction/index.d.ts +10 -0
  48. package/lib/Table/index.d.ts +24 -0
  49. package/lib/Table/style/index.d.ts +8 -0
  50. package/lib/Tabs/TabPane.d.ts +7 -0
  51. package/lib/Tabs/hooks/useInkBar.d.ts +12 -0
  52. package/lib/Tabs/hooks/useLegacyItems.d.ts +3 -0
  53. package/lib/Tabs/index.d.ts +17 -0
  54. package/lib/Tabs/style/index.d.ts +8 -0
  55. package/lib/Tooltip/MouseTooltip.d.ts +9 -0
  56. package/lib/Tooltip/index.d.ts +18 -0
  57. package/lib/_util/genComponentStyleHook.d.ts +9 -0
  58. package/lib/index.d.ts +21 -0
  59. package/lib/locale/en-US.d.ts +3 -0
  60. package/lib/locale/index.d.ts +5 -0
  61. package/lib/locale/zh-CN.d.ts +3 -0
  62. package/lib/locale/zh-TW.d.ts +3 -0
  63. package/lib/theme/index.d.ts +183 -0
  64. package/package.json +8 -4
@@ -0,0 +1,11 @@
1
+ import type { AlertProps as AntAlertProps } from 'antd/es/alert';
2
+ export interface AlertProps extends AntAlertProps {
3
+ ghost?: boolean;
4
+ colored?: boolean;
5
+ }
6
+ declare const Alert: {
7
+ ({ ghost, colored, prefixCls: customizePrefixCls, className, ...restProps }: AlertProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
8
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
9
+ displayName: string;
10
+ };
11
+ export default Alert;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type AlertToken = FullToken<'Alert'>;
3
+ export declare const genAlertStyle: GenerateStyle<AlertToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { ButtonProps as AntButtonProps } from 'antd/es/button';
2
+ export declare type ButtonProps = AntButtonProps;
3
+ declare const Button: {
4
+ ({ prefixCls: customizePrefixCls, className, ...restProps }: ButtonProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
6
+ __ANT_BUTTON: any;
7
+ displayName: string;
8
+ };
9
+ export default Button;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type ButtonToken = FullToken<'Button'>;
3
+ export declare const genButtonStyle: GenerateStyle<ButtonToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { CardProps as AntCardProps, CardTabListType as AntCardTabListType } from 'antd/es/card';
2
+ import React from 'react';
3
+ export interface CardTabListType extends AntCardTabListType {
4
+ tag?: React.ReactNode;
5
+ }
6
+ export interface CardProps extends AntCardProps {
7
+ divided?: boolean;
8
+ tabList?: CardTabListType[];
9
+ }
10
+ declare const Card: {
11
+ ({ children, divided, tabList, activeTabKey, defaultActiveTabKey, onTabChange, tabProps, prefixCls: customizePrefixCls, className, ...restProps }: CardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
+ Grid: React.FC<import("antd/es/card").CardGridProps>;
13
+ Meta: React.FC<import("antd/es/card").CardMetaProps>;
14
+ displayName: string;
15
+ };
16
+ export default Card;
@@ -0,0 +1,11 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type CardToken = FullToken<'Card'> & {
3
+ tabsComponentCls: string;
4
+ tabsPrefixCls: string;
5
+ };
6
+ export declare const genCardStyle: GenerateStyle<CardToken>;
7
+ declare const _default: (prefixCls: string, tabsPrefixCls: string) => {
8
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
+ hashId: string;
10
+ };
11
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { ConfigProviderProps } from 'antd/es/config-provider';
2
+ export { globalConfig } from 'antd/es/config-provider';
3
+ declare const ConfigProvider: {
4
+ ({ children, ...restProps }: ConfigProviderProps): import("react").JSX.Element;
5
+ ConfigContext: import("react").Context<import("antd/es/config-provider").ConfigConsumerProps>;
6
+ SizeContext: import("react").Context<import("antd/es/button").ButtonSize>;
7
+ config: ({ prefixCls, iconPrefixCls, theme, }: Pick<ConfigProviderProps, "prefixCls" | "iconPrefixCls"> & {
8
+ theme?: import("antd").ThemeConfig | import("antd/es/config-provider/context").Theme;
9
+ }) => void;
10
+ useConfig: typeof import("antd/es/config-provider/hooks/useConfig").default;
11
+ displayName: string;
12
+ };
13
+ export default ConfigProvider;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { DescriptionsItemProps as AntDescriptionsItemProps } from 'antd/es/descriptions/Item';
3
+ import type { TextProps } from 'antd/es/typography/Text';
4
+ export interface DescriptionsItemProps extends AntDescriptionsItemProps {
5
+ contentProps?: TextProps;
6
+ }
7
+ declare const _default: import("react").FC<AntDescriptionsItemProps>;
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { DescriptionsProps as AntDescriptionsProps } from 'antd/es/descriptions';
2
+ import type { ReactElement } from 'react';
3
+ import React from 'react';
4
+ export declare type DescriptionsProps = AntDescriptionsProps;
5
+ declare const Descriptions: {
6
+ ({ children, bordered, prefixCls: customizePrefixCls, className, ...restProps }: DescriptionsProps): ReactElement<any, string | React.JSXElementConstructor<any>>;
7
+ displayName: string;
8
+ Item: React.FC<import("antd/es/descriptions/Item").DescriptionsItemProps>;
9
+ };
10
+ export default Descriptions;
@@ -0,0 +1,11 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type DescriptionsToken = FullToken<'Alert'> & {
3
+ typographyPrefixCls: string;
4
+ typographyComponentCls: string;
5
+ };
6
+ export declare const genDescriptionsStyle: GenerateStyle<DescriptionsToken>;
7
+ declare const _default: (prefixCls: string, typographyPrefixCls: string) => {
8
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
+ hashId: string;
10
+ };
11
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { FormItemProps as AntFormItemProps } from 'antd/es/form';
2
+ import type { ReactNode } from 'react';
3
+ import React from 'react';
4
+ import type { TooltipProps } from '../Tooltip';
5
+ export declare type WrapperTooltipProps = Omit<TooltipProps, 'mouseFollow'> & {
6
+ icon?: React.ReactElement;
7
+ };
8
+ export declare type LabelTooltipType = WrapperTooltipProps | React.ReactNode;
9
+ declare const FormItem: (<Values = any>(props: AntFormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
10
+ useStatus: () => {
11
+ status?: "" | "success" | "error" | "warning" | "validating";
12
+ errors: ReactNode[];
13
+ warnings: ReactNode[];
14
+ };
15
+ };
16
+ export default FormItem;
@@ -0,0 +1,2 @@
1
+ import { Form } from 'antd';
2
+ export default Form;
@@ -0,0 +1,30 @@
1
+ import type { ModalProps as AntModalProps } from 'antd/es/modal';
2
+ export declare type ModalProps = AntModalProps;
3
+ declare const Modal: {
4
+ ({ prefixCls: customizePrefixCls, className, ...restProps }: ModalProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ info(props: any): {
6
+ destroy: () => void;
7
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
8
+ };
9
+ success(props: any): {
10
+ destroy: () => void;
11
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
12
+ };
13
+ error(props: any): {
14
+ destroy: () => void;
15
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
16
+ };
17
+ warning(props: any): {
18
+ destroy: () => void;
19
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ };
21
+ confirm(props: any): {
22
+ destroy: () => void;
23
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
24
+ };
25
+ useModal: typeof import("antd/es/modal/useModal").default;
26
+ destroyAll: () => void;
27
+ config: typeof import("antd/es/modal/confirm").modalGlobalConfig;
28
+ displayName: string;
29
+ };
30
+ export default Modal;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type ModalToken = FullToken<'Modal'>;
3
+ export declare const genModalStyle: GenerateStyle<ModalToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { MessageInstance } from 'antd/es/message/interface';
2
+ import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
3
+ import type { NotificationInstance } from 'antd/es/notification/interface';
4
+ declare let token: import("antd/lib/theme/internal").AliasToken;
5
+ declare let message: MessageInstance;
6
+ declare let notification: NotificationInstance;
7
+ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
8
+ declare const _default: () => any;
9
+ export default _default;
10
+ export { token, message, notification, modal };
@@ -0,0 +1,24 @@
1
+ import type { TableProps as AntTableProps } from 'antd';
2
+ import type { ColumnsType } from 'antd/es/table';
3
+ import type { TableLocale as AntTableLocale } from 'antd/es/table/interface';
4
+ import type { ReactElement, ReactNode } from 'react';
5
+ import React from 'react';
6
+ export interface TableLocale extends AntTableLocale {
7
+ batchOperationBar?: {
8
+ selected?: string;
9
+ object?: string;
10
+ cancel?: string;
11
+ collapse?: string;
12
+ open?: string;
13
+ };
14
+ }
15
+ export interface TableProps<T> extends AntTableProps<T> {
16
+ columns?: ColumnsType<T>;
17
+ hiddenCancelBtn?: boolean;
18
+ toolOptionsRender?: (selectedRowKeys: any, selectedRows: any) => ReactNode[];
19
+ toolAlertRender?: false | ((selectedRowKeys: any, selectedRows: any) => ReactNode);
20
+ toolSelectedContent?: (selectedRowKeys: any, selectedRows: any) => ReactNode;
21
+ locale?: TableLocale;
22
+ }
23
+ declare function Table<T>(props: TableProps<T>): ReactElement<any, string | React.JSXElementConstructor<any>>;
24
+ export default Table;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type TableToken = FullToken<'Table'>;
3
+ export declare const genTableStyle: GenerateStyle<TableToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import type { TabPaneProps as AntTabPaneProps } from 'antd/es/tabs/TabPane';
2
+ import type React from 'react';
3
+ export interface TabPaneProps extends AntTabPaneProps {
4
+ tag?: React.ReactNode;
5
+ }
6
+ declare const _default: React.FC<TabPaneProps>;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import type { SizeType } from 'antd/es/config-provider/SizeContext';
2
+ import type { TabsPosition, TabsType } from 'antd/es/tabs';
3
+ import type { MutableRefObject } from 'react';
4
+ declare const _default: ({ prefixCls, activeKey, size, type, tabPosition, containerRef, }: {
5
+ prefixCls: string;
6
+ activeKey: string;
7
+ size: SizeType;
8
+ type: TabsType;
9
+ tabPosition: TabsPosition;
10
+ containerRef: MutableRefObject<HTMLDivElement>;
11
+ }) => void;
12
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { TabsProps } from '..';
3
+ export default function useLegacyItems(items?: TabsProps['items'], children?: React.ReactNode, prefixCls?: string): any[];
@@ -0,0 +1,17 @@
1
+ import type { TabsPosition as AntTabsPosition, TabsProps as AntTabsProps } from 'antd/es/tabs';
2
+ import type { Tab as AntTab } from 'rc-tabs/es/interface';
3
+ import React from 'react';
4
+ export type { TabPaneProps } from './TabPane';
5
+ export interface Tab extends AntTab {
6
+ tag?: React.ReactNode;
7
+ }
8
+ export interface TabsProps extends AntTabsProps {
9
+ items?: Tab[];
10
+ }
11
+ export declare type TabsPosition = AntTabsPosition;
12
+ declare const Tabs: {
13
+ ({ children, items, defaultActiveKey, activeKey: activeKeyProp, onChange, size, type, tabPosition, prefixCls: customizePrefixCls, className, ...restProps }: TabsProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
14
+ TabPane: React.FC<TabPaneProps>;
15
+ displayName: string;
16
+ };
17
+ export default Tabs;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type TabsToken = FullToken<'Tabs'>;
3
+ export declare const genTagStyle: GenerateStyle<TabsToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { TooltipPropsWithTitle as AntTooltipPropsWithTitle } from 'antd/es/tooltip';
2
+ import React from 'react';
3
+ interface MouseTooltipProps extends AntTooltipPropsWithTitle {
4
+ visible?: boolean;
5
+ offsetX?: number;
6
+ offsetY?: number;
7
+ }
8
+ declare const MouseTooltip: React.FC<MouseTooltipProps>;
9
+ export default MouseTooltip;
@@ -0,0 +1,18 @@
1
+ import type { TooltipPropsWithTitle as AntTooltipPropsWithTitle } from 'antd/es/tooltip';
2
+ import React from 'react';
3
+ export declare type TooltipType = 'default' | 'light' | 'success' | 'info' | 'warning' | 'error';
4
+ export interface TooltipProps extends AntTooltipPropsWithTitle {
5
+ type?: TooltipType;
6
+ mouseFollow?: boolean;
7
+ }
8
+ export declare const getTooltipTypeList: () => {
9
+ type: string;
10
+ color: string;
11
+ backgroundColor: string;
12
+ }[];
13
+ declare type CompoundedComponent = React.FC<TooltipProps> & {
14
+ /** @internal */
15
+ __ANT_TOOLTIP: boolean;
16
+ };
17
+ declare const Tooltip: CompoundedComponent;
18
+ export default Tooltip;
@@ -0,0 +1,9 @@
1
+ import type { CSSObject } from '@ant-design/cssinjs';
2
+ import type { ComponentTokenMap } from 'antd/es/theme/interface';
3
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
4
+ export declare type ComponentName = keyof ComponentTokenMap;
5
+ export declare function genComponentStyleHook(componentName: ComponentName, styleFn: GenerateStyle<FullToken<ComponentName>>): (prefixCls: string) => {
6
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
7
+ hashId: string;
8
+ };
9
+ export type { CSSObject, FullToken, GenerateStyle };
package/es/index.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ import 'antd/dist/reset.css';
2
+ export * from 'antd';
3
+ export { version } from '../package.json';
4
+ export { default as Alert } from './Alert';
5
+ export { default as Button } from './Button';
6
+ export { default as Card } from './Card';
7
+ export { default as ConfigProvider } from './ConfigProvider';
8
+ export { default as Descriptions } from './Descriptions';
9
+ export { default as Form } from './Form';
10
+ export { default as Modal } from './Modal';
11
+ export { message, notification, token } from './StaticFunction';
12
+ export { default as Table } from './Table';
13
+ export { default as Tabs } from './Tabs';
14
+ export { default as theme } from './theme';
15
+ export { default as Tooltip } from './Tooltip';
16
+ declare const useToken: () => {
17
+ theme: import("@ant-design/cssinjs").Theme<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
18
+ token: import("antd").GlobalToken;
19
+ hashId: string;
20
+ };
21
+ export { useToken };
@@ -0,0 +1,3 @@
1
+ import type { Locale } from '.';
2
+ declare const _default: Locale;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { Locale as AntLocale } from 'antd/es/locale';
2
+ import type { TableLocale } from '../Table';
3
+ export interface Locale extends AntLocale {
4
+ Table?: TableLocale;
5
+ }
@@ -0,0 +1,3 @@
1
+ import type { Locale } from '.';
2
+ declare const _default: Locale;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { Locale } from '.';
2
+ declare const _default: Locale;
3
+ export default _default;
@@ -0,0 +1,183 @@
1
+ declare const _default: {
2
+ defaultSeed: {
3
+ colorPrimary: string;
4
+ colorSuccess: string;
5
+ colorWarning: string;
6
+ colorError: string;
7
+ colorInfo: string;
8
+ borderRadius: number;
9
+ blue: string;
10
+ green: string;
11
+ yellow: string;
12
+ red: string;
13
+ colorTextBase: string;
14
+ colorBgBase: string;
15
+ fontFamily: string;
16
+ fontFamilyCode: string;
17
+ fontSize: number;
18
+ lineWidth: number;
19
+ lineType: string;
20
+ sizeUnit: number;
21
+ sizeStep: number;
22
+ sizePopupArrow: number;
23
+ controlHeight: number;
24
+ zIndexBase: number;
25
+ zIndexPopupBase: number;
26
+ opacityImage: number;
27
+ motionUnit: number;
28
+ motionBase: number;
29
+ motionEaseOutCirc: string;
30
+ motionEaseInOutCirc: string;
31
+ motionEaseInOut: string;
32
+ motionEaseOutBack: string;
33
+ motionEaseInBack: string;
34
+ motionEaseInQuint: string;
35
+ motionEaseOutQuint: string;
36
+ motionEaseOut: string;
37
+ wireframe: boolean;
38
+ motion: boolean;
39
+ purple: string;
40
+ cyan: string;
41
+ magenta: string;
42
+ pink: string;
43
+ orange: string;
44
+ volcano: string;
45
+ geekblue: string;
46
+ lime: string;
47
+ gold: string;
48
+ };
49
+ token: {
50
+ colorPrimaryBg: string;
51
+ colorPrimary: string;
52
+ colorPrimaryBgHover: string;
53
+ colorPrimaryBorder: string;
54
+ colorPrimaryBorderHover: string;
55
+ colorPrimaryHover: string;
56
+ colorPrimaryTextHover: string;
57
+ colorPrimaryText: string;
58
+ colorPrimaryTextActive: string;
59
+ colorSuccess: string;
60
+ colorSuccessBg: string;
61
+ colorSuccessBgHover: string;
62
+ colorSuccessBorder: string;
63
+ colorSuccessBorderHover: string;
64
+ colorSuccessHover: string;
65
+ colorSuccessActive: string;
66
+ colorSuccessTextHover: string;
67
+ colorSuccessText: string;
68
+ colorSuccessTextActive: string;
69
+ colorWarning: string;
70
+ colorWarningBg: string;
71
+ colorWarningBgHover: string;
72
+ colorWarningBorder: string;
73
+ colorWarningBorderHover: string;
74
+ colorWarningHover: string;
75
+ colorWarningActive: string;
76
+ colorWarningTextHover: string;
77
+ colorWarningText: string;
78
+ colorWarningTextActive: string;
79
+ colorErrorBg: string;
80
+ colorErrorBgHover: string;
81
+ colorErrorBorder: string;
82
+ colorErrorBorderHover: string;
83
+ colorErrorHover: string;
84
+ colorErrorActive: string;
85
+ colorErrorTextHover: string;
86
+ colorErrorText: string;
87
+ colorErrorTextActive: string;
88
+ colorError: string;
89
+ colorInfo: string;
90
+ colorInfoBg: string;
91
+ colorInfoBgHover: string;
92
+ colorInfoBorder: string;
93
+ colorInfoBorderHover: string;
94
+ colorInfoHover: string;
95
+ colorInfoActive: string;
96
+ colorInfoTextHover: string;
97
+ colorInfoText: string;
98
+ colorInfoTextActive: string;
99
+ colorTextBase: string;
100
+ colorBgBase: string;
101
+ colorText: string;
102
+ colorTextSecondary: string;
103
+ colorTextQuaternary: string;
104
+ colorTextTertiary: string;
105
+ colorBgContainer: string;
106
+ colorBgLayout: string;
107
+ colorBgSpotlight: string;
108
+ colorBgMask: string;
109
+ colorBorder: string;
110
+ colorBorderSecondary: string;
111
+ colorFillQuaternary: string;
112
+ colorFillTertiary: string;
113
+ colorFillSecondary: string;
114
+ colorFill: string;
115
+ colorIcon: string;
116
+ boxShadowSecondary: string;
117
+ boxShadow: string;
118
+ borderRadius: number;
119
+ wireframe: boolean;
120
+ colorPrimaryActive: string;
121
+ blue: string;
122
+ green: string;
123
+ yellow: string;
124
+ red: string;
125
+ fontFamily: string;
126
+ fontFamilyCode: string;
127
+ fontSize: number;
128
+ lineWidth: number;
129
+ lineType: string;
130
+ sizeUnit: number;
131
+ sizeStep: number;
132
+ sizePopupArrow: number;
133
+ controlHeight: number;
134
+ zIndexBase: number;
135
+ zIndexPopupBase: number;
136
+ opacityImage: number;
137
+ motionUnit: number;
138
+ motionBase: number;
139
+ motionEaseOutCirc: string;
140
+ motionEaseInOutCirc: string;
141
+ motionEaseInOut: string;
142
+ motionEaseOutBack: string;
143
+ motionEaseInBack: string;
144
+ motionEaseInQuint: string;
145
+ motionEaseOutQuint: string;
146
+ motionEaseOut: string;
147
+ motion: boolean;
148
+ purple: string;
149
+ cyan: string;
150
+ magenta: string;
151
+ pink: string;
152
+ orange: string;
153
+ volcano: string;
154
+ geekblue: string;
155
+ lime: string;
156
+ gold: string;
157
+ };
158
+ components: {
159
+ Dropdown: {
160
+ colorError: string;
161
+ };
162
+ Button: {
163
+ borderRadius: number;
164
+ };
165
+ InputNumber: {
166
+ handleVisible: boolean;
167
+ };
168
+ };
169
+ defaultConfig: {
170
+ token: import("antd/es/theme/internal").SeedToken;
171
+ hashed: boolean;
172
+ };
173
+ useToken: () => {
174
+ theme: import("@ant-design/cssinjs").Theme<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
175
+ token: import("antd").GlobalToken;
176
+ hashId: string;
177
+ };
178
+ defaultAlgorithm: typeof import("antd/es/theme/themes/default").default;
179
+ darkAlgorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
180
+ compactAlgorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
181
+ getDesignToken: (config?: import("antd").ThemeConfig) => import("antd/es/theme/internal").AliasToken;
182
+ };
183
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { AlertProps as AntAlertProps } from 'antd/es/alert';
2
+ export interface AlertProps extends AntAlertProps {
3
+ ghost?: boolean;
4
+ colored?: boolean;
5
+ }
6
+ declare const Alert: {
7
+ ({ ghost, colored, prefixCls: customizePrefixCls, className, ...restProps }: AlertProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
8
+ ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default;
9
+ displayName: string;
10
+ };
11
+ export default Alert;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type AlertToken = FullToken<'Alert'>;
3
+ export declare const genAlertStyle: GenerateStyle<AlertToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { ButtonProps as AntButtonProps } from 'antd/es/button';
2
+ export declare type ButtonProps = AntButtonProps;
3
+ declare const Button: {
4
+ ({ prefixCls: customizePrefixCls, className, ...restProps }: ButtonProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
6
+ __ANT_BUTTON: any;
7
+ displayName: string;
8
+ };
9
+ export default Button;
@@ -0,0 +1,8 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type ButtonToken = FullToken<'Button'>;
3
+ export declare const genButtonStyle: GenerateStyle<ButtonToken>;
4
+ declare const _default: (prefixCls: string) => {
5
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
+ hashId: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { CardProps as AntCardProps, CardTabListType as AntCardTabListType } from 'antd/es/card';
2
+ import React from 'react';
3
+ export interface CardTabListType extends AntCardTabListType {
4
+ tag?: React.ReactNode;
5
+ }
6
+ export interface CardProps extends AntCardProps {
7
+ divided?: boolean;
8
+ tabList?: CardTabListType[];
9
+ }
10
+ declare const Card: {
11
+ ({ children, divided, tabList, activeTabKey, defaultActiveTabKey, onTabChange, tabProps, prefixCls: customizePrefixCls, className, ...restProps }: CardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
+ Grid: React.FC<import("antd/es/card").CardGridProps>;
13
+ Meta: React.FC<import("antd/es/card").CardMetaProps>;
14
+ displayName: string;
15
+ };
16
+ export default Card;
@@ -0,0 +1,11 @@
1
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
+ export declare type CardToken = FullToken<'Card'> & {
3
+ tabsComponentCls: string;
4
+ tabsPrefixCls: string;
5
+ };
6
+ export declare const genCardStyle: GenerateStyle<CardToken>;
7
+ declare const _default: (prefixCls: string, tabsPrefixCls: string) => {
8
+ wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
+ hashId: string;
10
+ };
11
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { ConfigProviderProps } from 'antd/es/config-provider';
2
+ export { globalConfig } from 'antd/es/config-provider';
3
+ declare const ConfigProvider: {
4
+ ({ children, ...restProps }: ConfigProviderProps): import("react").JSX.Element;
5
+ ConfigContext: import("react").Context<import("antd/es/config-provider").ConfigConsumerProps>;
6
+ SizeContext: import("react").Context<import("antd/es/button").ButtonSize>;
7
+ config: ({ prefixCls, iconPrefixCls, theme, }: Pick<ConfigProviderProps, "prefixCls" | "iconPrefixCls"> & {
8
+ theme?: import("antd").ThemeConfig | import("antd/es/config-provider/context").Theme;
9
+ }) => void;
10
+ useConfig: typeof import("antd/es/config-provider/hooks/useConfig").default;
11
+ displayName: string;
12
+ };
13
+ export default ConfigProvider;