@oceanbase/design 0.2.4 → 0.2.5
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.
- package/dist/design.min.js +1 -1
- package/es/card/index.js +3 -4
- package/es/card/style/index.js +5 -7
- package/es/tabs/hooks/useInkBar.d.ts +12 -0
- package/es/tabs/hooks/useInkBar.js +2 -2
- package/es/tabs/index.js +3 -4
- package/es/tabs/style/index.d.ts +8 -0
- package/es/tabs/style/index.js +6 -6
- package/lib/card/index.js +3 -2
- package/lib/card/style/index.js +6 -14
- package/lib/tabs/hooks/useInkBar.d.ts +12 -0
- package/lib/tabs/hooks/useInkBar.js +1 -1
- package/lib/tabs/index.js +3 -2
- package/lib/tabs/style/index.d.ts +8 -0
- package/lib/tabs/style/index.js +6 -8
- package/package.json +2 -2
- package/es/_util/genComponentStyleHook.d.ts +0 -9
- package/es/index.d.ts +0 -21
- package/lib/_util/genComponentStyleHook.d.ts +0 -9
- package/lib/index.d.ts +0 -21
package/es/card/index.js
CHANGED
|
@@ -68,9 +68,8 @@ var Card = function Card(_ref) {
|
|
|
68
68
|
tabPosition: tabProps === null || tabProps === void 0 ? void 0 : tabProps.tabPosition,
|
|
69
69
|
containerRef: ref
|
|
70
70
|
});
|
|
71
|
-
return wrapSSR( /*#__PURE__*/React.createElement(
|
|
72
|
-
ref: ref
|
|
73
|
-
}, /*#__PURE__*/React.createElement(AntCard, _extends({
|
|
71
|
+
return wrapSSR( /*#__PURE__*/React.createElement(AntCard, _extends({
|
|
72
|
+
ref: ref,
|
|
74
73
|
tabList: newTabList,
|
|
75
74
|
defaultActiveTabKey: defaultActiveTabKey,
|
|
76
75
|
activeTabKey: activeTabKey,
|
|
@@ -81,7 +80,7 @@ var Card = function Card(_ref) {
|
|
|
81
80
|
tabProps: tabProps,
|
|
82
81
|
prefixCls: customizePrefixCls,
|
|
83
82
|
className: cardCls
|
|
84
|
-
}, restProps), children))
|
|
83
|
+
}, restProps), children));
|
|
85
84
|
};
|
|
86
85
|
Card.Grid = AntCard.Grid;
|
|
87
86
|
Card.Meta = AntCard.Meta;
|
package/es/card/style/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export var genCardStyle = function genCardStyle(token) {
|
|
|
10
10
|
var _$concat$concat, _ref;
|
|
11
11
|
var componentCls = token.componentCls,
|
|
12
12
|
tabsComponentCls = token.tabsComponentCls,
|
|
13
|
+
tabsPrefixCls = token.tabsPrefixCls,
|
|
13
14
|
padding = token.padding,
|
|
14
15
|
paddingSM = token.paddingSM,
|
|
15
16
|
paddingLG = token.paddingLG;
|
|
@@ -19,12 +20,12 @@ export var genCardStyle = function genCardStyle(token) {
|
|
|
19
20
|
padding: "0 ".concat(paddingLG, "px ").concat(padding, "px ").concat(paddingLG, "px")
|
|
20
21
|
}), _$concat$concat)), _defineProperty(_ref, "".concat(componentCls, "-small").concat(componentCls, "-no-divider"), _defineProperty({}, "".concat(componentCls, "-body"), {
|
|
21
22
|
padding: "0 ".concat(paddingSM, "px 12px ").concat(paddingSM, "px")
|
|
22
|
-
})), _defineProperty(_ref, "".concat(componentCls).concat(componentCls, "-contain-tabs"), _defineProperty({}, "".concat(componentCls, "-head"),
|
|
23
|
+
})), _defineProperty(_ref, "".concat(componentCls).concat(componentCls, "-contain-tabs"), _defineProperty({}, "".concat(componentCls, "-head"), _objectSpread({
|
|
23
24
|
// 包含页签时,去掉 head 的底部分割线
|
|
24
25
|
borderBottom: 'none'
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
}, genTagStyle(_objectSpread(_objectSpread({}, token), {}, {
|
|
27
|
+
componentCls: tabsComponentCls,
|
|
28
|
+
prefixCls: tabsPrefixCls
|
|
28
29
|
}))))), _ref;
|
|
29
30
|
};
|
|
30
31
|
export default (function (prefixCls, tabsPrefixCls) {
|
|
@@ -32,9 +33,6 @@ export default (function (prefixCls, tabsPrefixCls) {
|
|
|
32
33
|
return [genCardStyle(_objectSpread(_objectSpread({}, token), {}, {
|
|
33
34
|
tabsComponentCls: ".".concat(tabsPrefixCls),
|
|
34
35
|
tabsPrefixCls: tabsPrefixCls
|
|
35
|
-
})), genTagStyle(_objectSpread(_objectSpread({}, token), {}, {
|
|
36
|
-
componentCls: ".".concat(tabsPrefixCls),
|
|
37
|
-
prefixCls: tabsPrefixCls
|
|
38
36
|
}))];
|
|
39
37
|
});
|
|
40
38
|
return useStyle(prefixCls);
|
|
@@ -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;
|
|
@@ -23,8 +23,8 @@ export default (function (_ref) {
|
|
|
23
23
|
var horizontalOffset = 8;
|
|
24
24
|
setTimeout(function () {
|
|
25
25
|
if ((!type || type === 'line') && inkBarNode) {
|
|
26
|
-
// 水平布局,如果 inkbar 宽度
|
|
27
|
-
if (isHorizontal && (activeTabNode === null || activeTabNode === void 0 ? void 0 : activeTabNode.offsetWidth)
|
|
26
|
+
// 水平布局,如果 inkbar 宽度 >= 24,则两侧各减去 8px,并保持水平居中
|
|
27
|
+
if (isHorizontal && (activeTabNode === null || activeTabNode === void 0 ? void 0 : activeTabNode.offsetWidth) >= 24) {
|
|
28
28
|
inkBarNode.style.width = "".concat((activeTabNode === null || activeTabNode === void 0 ? void 0 : activeTabNode.offsetWidth) - horizontalOffset * 2, "px");
|
|
29
29
|
inkBarNode.style.marginLeft = "".concat(horizontalOffset, "px");
|
|
30
30
|
inkBarNode.style.marginTop = '0px';
|
package/es/tabs/index.js
CHANGED
|
@@ -72,9 +72,8 @@ var Tabs = function Tabs(_ref) {
|
|
|
72
72
|
tabPosition: tabPosition,
|
|
73
73
|
containerRef: ref
|
|
74
74
|
});
|
|
75
|
-
return wrapSSR( /*#__PURE__*/React.createElement(
|
|
76
|
-
ref: ref
|
|
77
|
-
}, /*#__PURE__*/React.createElement(AntTabs, _extends({
|
|
75
|
+
return wrapSSR( /*#__PURE__*/React.createElement(AntTabs, _extends({
|
|
76
|
+
ref: ref,
|
|
78
77
|
items: newItems,
|
|
79
78
|
defaultActiveKey: defaultActiveKey,
|
|
80
79
|
activeKey: activeKey,
|
|
@@ -88,7 +87,7 @@ var Tabs = function Tabs(_ref) {
|
|
|
88
87
|
tabBarGutter: !type || type === 'line' ? isHorizontal ? 24 : 0 : undefined,
|
|
89
88
|
prefixCls: customizePrefixCls,
|
|
90
89
|
className: tabsCls
|
|
91
|
-
}, restProps)))
|
|
90
|
+
}, restProps)));
|
|
92
91
|
};
|
|
93
92
|
Tabs.TabPane = TabPane;
|
|
94
93
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -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;
|
package/es/tabs/style/index.js
CHANGED
|
@@ -4,12 +4,15 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
4
4
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
5
|
import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
|
|
6
6
|
export var genTagStyle = function genTagStyle(token) {
|
|
7
|
-
var _componentCls
|
|
7
|
+
var _componentCls;
|
|
8
8
|
var componentCls = token.componentCls,
|
|
9
9
|
colorInfo = token.colorInfo,
|
|
10
10
|
colorInfoBg = token.colorInfoBg,
|
|
11
11
|
colorTextSecondary = token.colorTextSecondary;
|
|
12
|
-
return
|
|
12
|
+
return _defineProperty({}, componentCls, (_componentCls = {}, _defineProperty(_componentCls, "&".concat(componentCls, "-top, &").concat(componentCls, "-bottom"), _defineProperty({}, "".concat(componentCls, "-nav::before"), {
|
|
13
|
+
// 页签位置为 top 和 bottom 时,去掉分割线
|
|
14
|
+
border: 'none'
|
|
15
|
+
})), _defineProperty(_componentCls, "".concat(componentCls, "-tab"), _defineProperty({}, "".concat(componentCls, "-tab-tag"), {
|
|
13
16
|
color: colorTextSecondary,
|
|
14
17
|
fontFamily: 'PingFangSC',
|
|
15
18
|
fontSize: 12,
|
|
@@ -22,10 +25,7 @@ export var genTagStyle = function genTagStyle(token) {
|
|
|
22
25
|
})), _defineProperty(_componentCls, "".concat(componentCls, "-ink-bar"), {
|
|
23
26
|
// inkbar 带圆角
|
|
24
27
|
borderRadius: '1px'
|
|
25
|
-
}), _componentCls))
|
|
26
|
-
// 页签位置为 top 和 bottom 时,去掉分割线
|
|
27
|
-
border: 'none'
|
|
28
|
-
}))), _ref;
|
|
28
|
+
}), _componentCls));
|
|
29
29
|
};
|
|
30
30
|
export default (function (prefixCls) {
|
|
31
31
|
var useStyle = genComponentStyleHook('Tabs', function (token) {
|
package/lib/card/index.js
CHANGED
|
@@ -86,9 +86,10 @@ var Card = ({
|
|
|
86
86
|
containerRef: ref
|
|
87
87
|
});
|
|
88
88
|
return wrapSSR(
|
|
89
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
89
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
90
90
|
import_antd.Card,
|
|
91
91
|
{
|
|
92
|
+
ref,
|
|
92
93
|
tabList: newTabList,
|
|
93
94
|
defaultActiveTabKey,
|
|
94
95
|
activeTabKey,
|
|
@@ -102,7 +103,7 @@ var Card = ({
|
|
|
102
103
|
...restProps
|
|
103
104
|
},
|
|
104
105
|
children
|
|
105
|
-
)
|
|
106
|
+
)
|
|
106
107
|
);
|
|
107
108
|
};
|
|
108
109
|
Card.Grid = import_antd.Card.Grid;
|
package/lib/card/style/index.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(style_exports);
|
|
|
26
26
|
var import_style = require("../../tabs/style");
|
|
27
27
|
var import_genComponentStyleHook = require("../../_util/genComponentStyleHook");
|
|
28
28
|
var genCardStyle = (token) => {
|
|
29
|
-
const { componentCls, tabsComponentCls, padding, paddingSM, paddingLG } = token;
|
|
29
|
+
const { componentCls, tabsComponentCls, tabsPrefixCls, padding, paddingSM, paddingLG } = token;
|
|
30
30
|
return {
|
|
31
31
|
[`${componentCls}${componentCls}-no-divider`]: {
|
|
32
32
|
[`${componentCls}-head`]: {
|
|
@@ -45,14 +45,11 @@ var genCardStyle = (token) => {
|
|
|
45
45
|
[`${componentCls}-head`]: {
|
|
46
46
|
// 包含页签时,去掉 head 的底部分割线
|
|
47
47
|
borderBottom: "none",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
48
|
+
...(0, import_style.genTagStyle)({
|
|
49
|
+
...token,
|
|
50
|
+
componentCls: tabsComponentCls,
|
|
51
|
+
prefixCls: tabsPrefixCls
|
|
52
|
+
})
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
};
|
|
@@ -64,11 +61,6 @@ var style_default = (prefixCls, tabsPrefixCls) => {
|
|
|
64
61
|
...token,
|
|
65
62
|
tabsComponentCls: `.${tabsPrefixCls}`,
|
|
66
63
|
tabsPrefixCls
|
|
67
|
-
}),
|
|
68
|
-
(0, import_style.genTagStyle)({
|
|
69
|
-
...token,
|
|
70
|
-
componentCls: `.${tabsPrefixCls}`,
|
|
71
|
-
prefixCls: tabsPrefixCls
|
|
72
64
|
})
|
|
73
65
|
];
|
|
74
66
|
});
|
|
@@ -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;
|
|
@@ -46,7 +46,7 @@ var useInkBar_default = ({
|
|
|
46
46
|
const horizontalOffset = 8;
|
|
47
47
|
setTimeout(() => {
|
|
48
48
|
if ((!type || type === "line") && inkBarNode) {
|
|
49
|
-
if (isHorizontal && (activeTabNode == null ? void 0 : activeTabNode.offsetWidth)
|
|
49
|
+
if (isHorizontal && (activeTabNode == null ? void 0 : activeTabNode.offsetWidth) >= 24) {
|
|
50
50
|
inkBarNode.style.width = `${(activeTabNode == null ? void 0 : activeTabNode.offsetWidth) - horizontalOffset * 2}px`;
|
|
51
51
|
inkBarNode.style.marginLeft = `${horizontalOffset}px`;
|
|
52
52
|
inkBarNode.style.marginTop = "0px";
|
package/lib/tabs/index.js
CHANGED
|
@@ -84,9 +84,10 @@ var Tabs = ({
|
|
|
84
84
|
containerRef: ref
|
|
85
85
|
});
|
|
86
86
|
return wrapSSR(
|
|
87
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
87
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
88
88
|
import_antd.Tabs,
|
|
89
89
|
{
|
|
90
|
+
ref,
|
|
90
91
|
items: newItems,
|
|
91
92
|
defaultActiveKey,
|
|
92
93
|
activeKey,
|
|
@@ -102,7 +103,7 @@ var Tabs = ({
|
|
|
102
103
|
className: tabsCls,
|
|
103
104
|
...restProps
|
|
104
105
|
}
|
|
105
|
-
)
|
|
106
|
+
)
|
|
106
107
|
);
|
|
107
108
|
};
|
|
108
109
|
Tabs.TabPane = import_TabPane.default;
|
|
@@ -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;
|
package/lib/tabs/style/index.js
CHANGED
|
@@ -28,6 +28,12 @@ var genTagStyle = (token) => {
|
|
|
28
28
|
const { componentCls, colorInfo, colorInfoBg, colorTextSecondary } = token;
|
|
29
29
|
return {
|
|
30
30
|
[componentCls]: {
|
|
31
|
+
[`&${componentCls}-top, &${componentCls}-bottom`]: {
|
|
32
|
+
[`${componentCls}-nav::before`]: {
|
|
33
|
+
// 页签位置为 top 和 bottom 时,去掉分割线
|
|
34
|
+
border: "none"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
31
37
|
[`${componentCls}-tab`]: {
|
|
32
38
|
[`${componentCls}-tab-tag`]: {
|
|
33
39
|
color: colorTextSecondary,
|
|
@@ -48,14 +54,6 @@ var genTagStyle = (token) => {
|
|
|
48
54
|
// inkbar 带圆角
|
|
49
55
|
borderRadius: "1px"
|
|
50
56
|
}
|
|
51
|
-
},
|
|
52
|
-
[componentCls]: {
|
|
53
|
-
[`&${componentCls}-top, &${componentCls}-bottom`]: {
|
|
54
|
-
[`${componentCls}-nav::before`]: {
|
|
55
|
-
// 页签位置为 top 和 bottom 时,去掉分割线
|
|
56
|
-
border: "none"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
57
|
}
|
|
60
58
|
};
|
|
61
59
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "The Design System for OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"OceanBase",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"react": "^16.9.0",
|
|
56
56
|
"react-dom": "^16.9.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "fa3eea6c268ba32858604c74c853147006c20e98"
|
|
59
59
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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 './config-provider';
|
|
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 './static-function';
|
|
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 };
|
|
@@ -1,9 +0,0 @@
|
|
|
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/lib/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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 './config-provider';
|
|
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 './static-function';
|
|
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 };
|