@oceanbase/design 1.0.0-alpha.1 → 1.0.0-alpha.10
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.css +1 -1
- package/dist/design.min.js +1 -1
- package/dist/reset.css +2 -1
- package/dist/static/Inter-Medium.ea234620.woff2 +0 -0
- package/dist/static/Inter-Regular.34ba43c9.woff2 +0 -0
- package/dist/static/Inter-SemiBold.95439fb4.woff2 +0 -0
- package/es/_util/genComponentStyleHook.d.ts +21 -4
- package/es/_util/genComponentStyleHook.js +68 -20
- package/es/alert/index.d.ts +2 -2
- package/es/alert/index.js +22 -6
- package/es/alert/style/index.d.ts +2 -5
- package/es/alert/style/index.js +157 -67
- package/es/app/index.d.ts +8 -0
- package/es/app/index.js +43 -1
- package/es/app/style/index.d.ts +6 -0
- package/es/app/style/index.js +9 -0
- package/es/badge/index.js +15 -7
- package/es/badge/style/index.d.ts +2 -5
- package/es/badge/style/index.js +13 -18
- package/es/button/index.js +10 -4
- package/es/button/style/index.d.ts +4 -5
- package/es/button/style/index.js +40 -7
- package/es/card/index.d.ts +11 -0
- package/es/card/index.js +151 -9
- package/es/card/style/index.d.ts +2 -5
- package/es/card/style/index.js +83 -18
- package/es/checkbox/index.js +9 -2
- package/es/checkbox/style/index.d.ts +2 -5
- package/es/checkbox/style/index.js +14 -11
- package/es/config-provider/context.d.ts +11 -0
- package/es/config-provider/context.js +2 -1
- package/es/config-provider/index.d.ts +4 -3
- package/es/config-provider/index.js +92 -40
- package/es/descriptions/index.d.ts +10 -0
- package/es/descriptions/index.js +62 -5
- package/es/descriptions/style/index.d.ts +3 -6
- package/es/descriptions/style/index.js +70 -10
- package/es/drawer/index.js +10 -7
- package/es/drawer/style/index.d.ts +2 -5
- package/es/drawer/style/index.js +44 -17
- package/es/dropdown/dropdown-button.js +26 -6
- package/es/dropdown/style/index.d.ts +6 -0
- package/es/{_util/genStyle.js → dropdown/style/index.js} +14 -11
- package/es/empty/index.js +4 -3
- package/es/empty/style/index.d.ts +2 -5
- package/es/empty/style/index.js +10 -10
- package/es/fonts/Inter-Medium.woff2 +0 -0
- package/es/fonts/Inter-Regular.woff2 +0 -0
- package/es/fonts/Inter-SemiBold.woff2 +0 -0
- package/es/form/FormItem.d.ts +1 -0
- package/es/form/FormItem.js +26 -11
- package/es/form/index.js +9 -2
- package/es/form/style/index.d.ts +2 -5
- package/es/form/style/index.js +19 -8
- package/es/index.d.ts +4 -3
- package/es/index.js +1 -1
- package/es/input/Input.d.ts +2 -0
- package/es/input/Input.js +30 -7
- package/es/input/Password.js +24 -5
- package/es/input/Search.js +24 -5
- package/es/input/TextArea.js +24 -5
- package/es/input/style/index.d.ts +6 -0
- package/es/input/style/index.js +32 -0
- package/es/input-number/index.d.ts +2 -1
- package/es/input-number/index.js +18 -4
- package/es/input-number/style/index.d.ts +6 -0
- package/es/input-number/style/index.js +19 -0
- package/es/locale/en-US.js +4 -1
- package/es/locale/index.d.ts +2 -0
- package/es/locale/ja-JP.d.ts +3 -0
- package/es/locale/ja-JP.js +31 -0
- package/es/locale/zh-CN.js +4 -1
- package/es/locale/zh-TW.js +4 -1
- package/es/modal/Modal.js +29 -8
- package/es/modal/style/index.d.ts +2 -5
- package/es/modal/style/index.js +67 -26
- package/es/radio/index.js +9 -2
- package/es/radio/style/index.d.ts +2 -5
- package/es/radio/style/index.js +16 -10
- package/es/result/index.d.ts +2 -2
- package/es/result/index.js +14 -6
- package/es/result/style/index.d.ts +2 -5
- package/es/result/style/index.js +3 -6
- package/es/segmented/index.d.ts +1 -0
- package/es/segmented/index.js +24 -9
- package/es/segmented/style/index.d.ts +1 -4
- package/es/segmented/style/index.js +4 -6
- package/es/select/index.js +9 -2
- package/es/select/style/index.d.ts +2 -5
- package/es/select/style/index.js +6 -7
- package/es/slider/index.js +9 -2
- package/es/slider/style/index.d.ts +2 -5
- package/es/slider/style/index.js +11 -11
- package/es/space/index.js +9 -2
- package/es/space/style/index.d.ts +2 -5
- package/es/space/style/index.js +3 -6
- package/es/spin/index.js +9 -2
- package/es/spin/style/index.d.ts +2 -5
- package/es/spin/style/index.js +27 -27
- package/es/static-function/index.js +13 -4
- package/es/style/cssVariables.d.ts +25 -0
- package/es/style/cssVariables.js +48 -0
- package/es/style/cssVariablesMeta.d.ts +24 -0
- package/es/style/cssVariablesMeta.js +974 -0
- package/es/style/global.d.ts +8 -0
- package/es/style/global.js +121 -0
- package/es/style/reset.css +2 -1
- package/es/switch/index.js +9 -2
- package/es/switch/style/index.d.ts +2 -5
- package/es/switch/style/index.js +3 -6
- package/es/table/index.d.ts +1 -4
- package/es/table/index.js +67 -34
- package/es/table/style/index.d.ts +2 -5
- package/es/table/style/index.js +58 -36
- package/es/tabs/index.js +9 -2
- package/es/tabs/style/index.d.ts +2 -5
- package/es/tabs/style/index.js +10 -10
- package/es/tag/index.d.ts +1 -0
- package/es/tag/index.js +17 -4
- package/es/tag/style/index.d.ts +3 -8
- package/es/tag/style/index.js +39 -35
- package/es/theme/compact.d.ts +1 -1
- package/es/theme/compact.js +2 -6
- package/es/theme/dark.d.ts +1 -48
- package/es/theme/default.d.ts +48 -2
- package/es/theme/default.js +324 -62
- package/es/theme/index.d.ts +20 -57
- package/es/theme/interface.d.ts +130 -0
- package/es/theme/interface.js +4 -1
- package/es/theme/style/aliyun.less +41 -41
- package/es/theme/style/compact.less +166 -137
- package/es/theme/style/dark.less +58 -58
- package/es/theme/style/default.less +169 -140
- package/es/tooltip/index.js +4 -4
- package/es/tooltip/style/index.d.ts +2 -5
- package/es/tooltip/style/index.js +10 -13
- package/es/tree-select/index.js +9 -2
- package/es/tree-select/style/index.d.ts +2 -5
- package/es/tree-select/style/index.js +3 -6
- package/es/typography/Link.js +9 -2
- package/es/typography/Paragraph.js +9 -2
- package/es/typography/Text.d.ts +1 -0
- package/es/typography/Text.js +12 -4
- package/es/typography/Title.js +9 -2
- package/es/typography/hooks/useClassName.d.ts +1 -1
- package/es/typography/hooks/useClassName.js +2 -2
- package/es/typography/index.d.ts +12 -1
- package/es/typography/index.js +2 -1
- package/es/typography/style/index.d.ts +2 -5
- package/es/typography/style/index.js +36 -28
- package/lib/_util/genComponentStyleHook.d.ts +21 -4
- package/lib/_util/genComponentStyleHook.js +50 -31
- package/lib/alert/index.d.ts +2 -2
- package/lib/alert/index.js +20 -11
- package/lib/alert/style/index.d.ts +2 -5
- package/lib/alert/style/index.js +174 -79
- package/lib/app/index.d.ts +8 -0
- package/lib/app/index.js +36 -1
- package/lib/app/style/index.d.ts +6 -0
- package/lib/{_util/getWeakenBorderColor.js → app/style/index.js} +15 -10
- package/lib/badge/index.js +32 -23
- package/lib/badge/style/index.d.ts +2 -5
- package/lib/badge/style/index.js +14 -16
- package/lib/button/index.js +5 -4
- package/lib/button/style/index.d.ts +4 -5
- package/lib/button/style/index.js +48 -9
- package/lib/card/index.d.ts +11 -0
- package/lib/card/index.js +160 -12
- package/lib/card/style/index.d.ts +2 -5
- package/lib/card/style/index.js +132 -21
- package/lib/checkbox/index.js +4 -3
- package/lib/checkbox/style/index.d.ts +2 -5
- package/lib/checkbox/style/index.js +10 -8
- package/lib/config-provider/DefaultRenderEmpty.js +4 -3
- package/lib/config-provider/context.d.ts +11 -0
- package/lib/config-provider/index.d.ts +4 -3
- package/lib/config-provider/index.js +133 -30
- package/lib/descriptions/hooks/useItems.js +5 -4
- package/lib/descriptions/index.d.ts +10 -0
- package/lib/descriptions/index.js +54 -6
- package/lib/descriptions/style/index.d.ts +3 -6
- package/lib/descriptions/style/index.js +117 -7
- package/lib/drawer/index.js +46 -35
- package/lib/drawer/style/index.d.ts +2 -5
- package/lib/drawer/style/index.js +44 -14
- package/lib/dropdown/dropdown-button.js +26 -3
- package/lib/dropdown/index.js +2 -2
- package/lib/dropdown/style/index.d.ts +6 -0
- package/lib/dropdown/style/index.js +46 -0
- package/lib/empty/colored.js +413 -327
- package/lib/empty/database.js +267 -222
- package/lib/empty/default.js +16 -21
- package/lib/empty/guide.js +201 -184
- package/lib/empty/index.js +25 -20
- package/lib/empty/style/index.d.ts +2 -5
- package/lib/empty/style/index.js +9 -10
- package/lib/fonts/Inter-Medium.woff2 +0 -0
- package/lib/fonts/Inter-Regular.woff2 +0 -0
- package/lib/fonts/Inter-SemiBold.woff2 +0 -0
- package/lib/form/FormItem.d.ts +1 -0
- package/lib/form/FormItem.js +19 -8
- package/lib/form/index.js +8 -5
- package/lib/form/style/index.d.ts +2 -5
- package/lib/form/style/index.js +28 -7
- package/lib/grid/col.js +2 -1
- package/lib/grid/row.js +2 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.js +3 -1
- package/lib/input/Input.d.ts +2 -0
- package/lib/input/Input.js +37 -13
- package/lib/input/Password.js +22 -4
- package/lib/input/Search.js +32 -12
- package/lib/input/TextArea.js +22 -4
- package/lib/input/style/index.d.ts +6 -0
- package/lib/input/style/index.js +74 -0
- package/lib/input-number/index.d.ts +2 -1
- package/lib/input-number/index.js +19 -3
- package/lib/input-number/style/index.d.ts +6 -0
- package/lib/{_util/genStyle.js → input-number/style/index.js} +22 -17
- package/lib/list/index.js +3 -2
- package/lib/locale/en-US.js +3 -0
- package/lib/locale/index.d.ts +2 -0
- package/lib/locale/ja-JP.d.ts +3 -0
- package/lib/locale/ja-JP.js +63 -0
- package/lib/locale/zh-CN.js +3 -0
- package/lib/locale/zh-TW.js +3 -0
- package/lib/lottie/index.js +2 -1
- package/lib/modal/Modal.js +35 -11
- package/lib/modal/Progress.js +9 -5
- package/lib/modal/style/index.d.ts +2 -5
- package/lib/modal/style/index.js +81 -24
- package/lib/radio/index.js +4 -3
- package/lib/radio/style/index.d.ts +2 -5
- package/lib/radio/style/index.js +17 -8
- package/lib/result/403.js +156 -121
- package/lib/result/404.js +328 -267
- package/lib/result/500.js +295 -257
- package/lib/result/Error.js +127 -99
- package/lib/result/Processing.js +246 -213
- package/lib/result/Success.js +233 -169
- package/lib/result/Warning.js +611 -515
- package/lib/result/index.d.ts +2 -2
- package/lib/result/index.js +14 -13
- package/lib/result/style/index.d.ts +2 -5
- package/lib/result/style/index.js +3 -6
- package/lib/segmented/index.d.ts +1 -0
- package/lib/segmented/index.js +17 -6
- package/lib/segmented/style/index.d.ts +1 -4
- package/lib/segmented/style/index.js +4 -6
- package/lib/select/index.js +4 -3
- package/lib/select/style/index.d.ts +2 -5
- package/lib/select/style/index.js +7 -7
- package/lib/slider/index.js +4 -3
- package/lib/slider/style/index.d.ts +2 -5
- package/lib/slider/style/index.js +12 -11
- package/lib/space/index.js +3 -2
- package/lib/space/style/index.d.ts +2 -5
- package/lib/space/style/index.js +3 -6
- package/lib/spin/index.js +7 -6
- package/lib/spin/style/index.d.ts +2 -5
- package/lib/spin/style/index.js +26 -28
- package/lib/static-function/index.js +7 -1
- package/lib/style/cssVariables.d.ts +25 -0
- package/lib/style/cssVariables.js +261 -0
- package/lib/style/cssVariablesMeta.d.ts +24 -0
- package/lib/style/cssVariablesMeta.js +1059 -0
- package/lib/style/global.d.ts +8 -0
- package/lib/style/global.js +176 -0
- package/lib/style/reset.css +2 -1
- package/lib/switch/index.js +4 -3
- package/lib/switch/style/index.d.ts +2 -5
- package/lib/switch/style/index.js +3 -6
- package/lib/table/index.d.ts +1 -4
- package/lib/table/index.js +114 -68
- package/lib/table/style/index.d.ts +2 -5
- package/lib/table/style/index.js +68 -32
- package/lib/tabs/index.js +12 -7
- package/lib/tabs/style/index.d.ts +2 -5
- package/lib/tabs/style/index.js +12 -8
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/index.js +18 -8
- package/lib/tag/style/index.d.ts +3 -8
- package/lib/tag/style/index.js +45 -36
- package/lib/theme/compact.d.ts +1 -1
- package/lib/theme/compact.js +1 -5
- package/lib/theme/dark.d.ts +1 -48
- package/lib/theme/default.d.ts +48 -2
- package/lib/theme/default.js +403 -61
- package/lib/theme/index.d.ts +20 -57
- package/lib/theme/interface.d.ts +130 -0
- package/lib/theme/style/aliyun.less +41 -41
- package/lib/theme/style/compact.less +166 -137
- package/lib/theme/style/dark.less +58 -58
- package/lib/theme/style/default.less +169 -140
- package/lib/tooltip/MouseTooltip.js +43 -39
- package/lib/tooltip/ReactStickyMouseTooltip.js +5 -4
- package/lib/tooltip/index.js +17 -13
- package/lib/tooltip/style/index.d.ts +2 -5
- package/lib/tooltip/style/index.js +10 -13
- package/lib/tree-select/index.js +4 -3
- package/lib/tree-select/style/index.d.ts +2 -5
- package/lib/tree-select/style/index.js +3 -6
- package/lib/typography/Link.js +7 -6
- package/lib/typography/Paragraph.js +7 -6
- package/lib/typography/Text.d.ts +1 -0
- package/lib/typography/Text.js +9 -8
- package/lib/typography/Title.js +7 -6
- package/lib/typography/hooks/useClassName.d.ts +1 -1
- package/lib/typography/hooks/useClassName.js +3 -2
- package/lib/typography/index.d.ts +12 -1
- package/lib/typography/index.js +6 -5
- package/lib/typography/style/index.d.ts +2 -5
- package/lib/typography/style/index.js +34 -26
- package/package.json +10 -9
- package/dist/static/Inter.f6bcdfb6.woff2 +0 -0
- package/es/_util/genStyle.d.ts +0 -2
- package/es/_util/getWeakenBorderColor.d.ts +0 -1
- package/es/_util/getWeakenBorderColor.js +0 -4
- package/es/fonts/Inter.woff2 +0 -0
- package/es/global.css +0 -48
- package/lib/_util/genStyle.d.ts +0 -2
- package/lib/_util/getWeakenBorderColor.d.ts +0 -1
- package/lib/fonts/Inter.woff2 +0 -0
- package/lib/global.css +0 -48
package/lib/alert/style/index.js
CHANGED
|
@@ -23,128 +23,223 @@ __export(style_exports, {
|
|
|
23
23
|
genAlertStyle: () => genAlertStyle
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(style_exports);
|
|
26
|
+
var import_cssinjs = require("@ant-design/cssinjs");
|
|
26
27
|
var import_genComponentStyleHook = require("../../_util/genComponentStyleHook");
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
var import_lodash = require("lodash");
|
|
29
|
+
var genAlertTypeStyle = (type, token) => {
|
|
30
|
+
const { componentCls } = token;
|
|
31
|
+
const textColor = token[`color${(0, import_lodash.upperFirst)(type)}Text`];
|
|
32
|
+
const hoverColor = token[`color${(0, import_lodash.upperFirst)(type)}TextHover`];
|
|
33
|
+
const activeColor = token[`color${(0, import_lodash.upperFirst)(type)}TextActive`];
|
|
34
|
+
const linkStyle = {
|
|
35
|
+
color: textColor,
|
|
36
|
+
textDecoration: "underline",
|
|
37
|
+
"&:hover": {
|
|
38
|
+
color: hoverColor
|
|
39
|
+
},
|
|
40
|
+
"&:active": {
|
|
41
|
+
color: activeColor
|
|
42
|
+
}
|
|
41
43
|
};
|
|
42
|
-
};
|
|
43
|
-
var genColoredStyle = (color, colorHover, token) => {
|
|
44
|
-
const { componentCls, iconCls } = token;
|
|
45
44
|
return {
|
|
46
45
|
[`${componentCls}-message`]: {
|
|
47
|
-
color
|
|
46
|
+
color: textColor,
|
|
47
|
+
a: linkStyle
|
|
48
48
|
},
|
|
49
49
|
[`${componentCls}-description`]: {
|
|
50
|
-
|
|
50
|
+
a: linkStyle
|
|
51
51
|
},
|
|
52
|
-
[`${componentCls}-
|
|
53
|
-
|
|
54
|
-
color,
|
|
55
|
-
"&:hover": {
|
|
56
|
-
color: colorHover
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
[`${componentCls}-close-text`]: {
|
|
60
|
-
color,
|
|
61
|
-
"&:hover": {
|
|
62
|
-
color: colorHover
|
|
63
|
-
}
|
|
64
|
-
}
|
|
52
|
+
[`${componentCls}-icon`]: {
|
|
53
|
+
color: textColor
|
|
65
54
|
}
|
|
66
55
|
};
|
|
67
56
|
};
|
|
68
57
|
var genAlertStyle = (token) => {
|
|
69
|
-
const {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
colorErrorHover,
|
|
79
|
-
colorIcon,
|
|
80
|
-
colorIconHover,
|
|
81
|
-
motionDurationMid
|
|
82
|
-
} = token;
|
|
83
|
-
const height = token.fontSize * token.lineHeight;
|
|
58
|
+
const { componentCls, colorIcon, colorIconHover, motionDurationMid, calc } = token;
|
|
59
|
+
const height = calc(token.fontSize).mul(token.lineHeight).equal();
|
|
60
|
+
const iconWidth = calc(token.fontSize).add(1).equal();
|
|
61
|
+
const contentStartOffset = calc(iconWidth).add(token.marginXS).equal();
|
|
62
|
+
const closeIconWidth = height;
|
|
63
|
+
const contentWidth = (0, import_cssinjs.unit)(
|
|
64
|
+
calc(contentStartOffset).add(closeIconWidth).add(token.padding).equal()
|
|
65
|
+
);
|
|
66
|
+
const actionWidth = (0, import_cssinjs.unit)(calc(contentStartOffset).add(token.padding).equal());
|
|
84
67
|
return {
|
|
85
68
|
[`${componentCls}`]: {
|
|
86
69
|
// vertical align to flex-start
|
|
87
70
|
alignItems: "flex-start !important",
|
|
88
|
-
|
|
71
|
+
paddingInline: token.padding,
|
|
72
|
+
position: "relative",
|
|
73
|
+
[`${componentCls}-content`]: {
|
|
74
|
+
flex: `1 1 calc(100% - ${contentWidth})`,
|
|
75
|
+
minWidth: 0,
|
|
76
|
+
maxWidth: `calc(100% - ${contentWidth})`,
|
|
77
|
+
wordBreak: "break-word"
|
|
78
|
+
},
|
|
79
|
+
[`${componentCls}-action`]: {
|
|
80
|
+
width: `calc(100% - ${actionWidth})`,
|
|
81
|
+
marginInlineStart: contentStartOffset
|
|
82
|
+
},
|
|
89
83
|
[`${componentCls}-icon`]: {
|
|
90
|
-
height
|
|
84
|
+
height,
|
|
85
|
+
fontSize: iconWidth,
|
|
86
|
+
marginInlineEnd: token.marginXS,
|
|
87
|
+
flexShrink: 0
|
|
91
88
|
},
|
|
92
89
|
[`${componentCls}-close-icon`]: {
|
|
90
|
+
position: "absolute",
|
|
91
|
+
top: token.paddingXS,
|
|
92
|
+
insetInlineEnd: token.padding,
|
|
93
93
|
height,
|
|
94
94
|
color: colorIcon,
|
|
95
95
|
transition: `color ${motionDurationMid}`,
|
|
96
|
+
flexShrink: 0,
|
|
97
|
+
display: "flex",
|
|
98
|
+
alignItems: "center",
|
|
96
99
|
"&:hover": {
|
|
97
100
|
color: colorIconHover
|
|
98
101
|
}
|
|
99
|
-
}
|
|
102
|
+
},
|
|
103
|
+
// Default link styles (will be overridden by type-specific styles)
|
|
104
|
+
[`${componentCls}-message`]: {
|
|
105
|
+
a: {
|
|
106
|
+
textDecoration: "underline"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
[`${componentCls}-description`]: {
|
|
110
|
+
a: {
|
|
111
|
+
textDecoration: "underline"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
[`&${componentCls}-success`]: genAlertTypeStyle("success", token),
|
|
115
|
+
[`&${componentCls}-info`]: genAlertTypeStyle("info", token),
|
|
116
|
+
[`&${componentCls}-warning`]: genAlertTypeStyle("warning", token),
|
|
117
|
+
[`&${componentCls}-error`]: genAlertTypeStyle("error", token)
|
|
100
118
|
},
|
|
101
119
|
[`${componentCls}:not(${componentCls}-with-description)`]: {
|
|
102
|
-
|
|
120
|
+
flexWrap: "wrap",
|
|
121
|
+
[`${componentCls}-action`]: {
|
|
122
|
+
marginTop: token.marginXS
|
|
123
|
+
}
|
|
103
124
|
},
|
|
104
125
|
[`${componentCls}${componentCls}-with-description`]: {
|
|
105
|
-
paddingBlock: token.
|
|
126
|
+
paddingBlock: token.paddingSM,
|
|
127
|
+
flexWrap: "wrap",
|
|
106
128
|
[`${componentCls}-message`]: {
|
|
107
|
-
|
|
108
|
-
|
|
129
|
+
fontSize: token.fontSize,
|
|
130
|
+
fontWeight: token.fontWeightStrong,
|
|
131
|
+
marginBottom: token.marginXXS,
|
|
132
|
+
wordBreak: "break-word"
|
|
109
133
|
},
|
|
110
134
|
[`${componentCls}-description`]: {
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
[`${componentCls}-icon`]: {
|
|
114
|
-
fontSize: token.fontSizeHeading4,
|
|
115
|
-
height: token.fontSizeHeading3,
|
|
116
|
-
marginInlineEnd: token.margin
|
|
135
|
+
wordBreak: "break-word"
|
|
117
136
|
},
|
|
118
137
|
[`${componentCls}-action`]: {
|
|
119
|
-
|
|
138
|
+
marginTop: token.marginSM
|
|
139
|
+
},
|
|
140
|
+
[`${componentCls}-close-icon`]: {
|
|
141
|
+
top: token.paddingSM
|
|
120
142
|
}
|
|
121
143
|
},
|
|
122
|
-
[`${componentCls}:not(${componentCls}-banner):not(${componentCls}-ghost)`]: {
|
|
123
|
-
[`&${componentCls}-success::before`]: genTypeStyle(colorSuccess, token),
|
|
124
|
-
[`&${componentCls}-info::before`]: genTypeStyle(colorInfo, token),
|
|
125
|
-
[`&${componentCls}-warning::before`]: genTypeStyle(colorWarning, token),
|
|
126
|
-
[`&${componentCls}-error::before`]: genTypeStyle(colorError, token)
|
|
127
|
-
},
|
|
128
144
|
[`${componentCls}${componentCls}-ghost`]: {
|
|
129
145
|
backgroundColor: "transparent",
|
|
130
146
|
border: "none",
|
|
131
|
-
padding:
|
|
147
|
+
padding: "0px !important",
|
|
132
148
|
borderRadius: 0
|
|
133
149
|
},
|
|
134
|
-
[`${componentCls}-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
150
|
+
[`${componentCls}${componentCls}-mini`]: {
|
|
151
|
+
paddingBlock: token.paddingXXS,
|
|
152
|
+
paddingInline: token.paddingXS,
|
|
153
|
+
border: "none",
|
|
154
|
+
width: "fit-content",
|
|
155
|
+
display: "inline-flex",
|
|
156
|
+
alignItems: "center",
|
|
157
|
+
flexWrap: "nowrap",
|
|
158
|
+
[`${componentCls}-icon`]: {
|
|
159
|
+
marginInlineEnd: token.paddingXS,
|
|
160
|
+
flexShrink: 0,
|
|
161
|
+
display: "flex",
|
|
162
|
+
alignItems: "center",
|
|
163
|
+
justifyContent: "center",
|
|
164
|
+
lineHeight: 1
|
|
165
|
+
},
|
|
166
|
+
[`${componentCls}-message`]: {
|
|
167
|
+
whiteSpace: "nowrap",
|
|
168
|
+
wordBreak: "normal",
|
|
169
|
+
overflow: "visible",
|
|
170
|
+
lineHeight: token.lineHeight,
|
|
171
|
+
display: "flex",
|
|
172
|
+
alignItems: "center"
|
|
173
|
+
},
|
|
174
|
+
[`${componentCls}-content`]: {
|
|
175
|
+
display: "flex",
|
|
176
|
+
alignItems: "center",
|
|
177
|
+
flex: "0 1 auto",
|
|
178
|
+
whiteSpace: "nowrap",
|
|
179
|
+
minWidth: 0,
|
|
180
|
+
lineHeight: token.lineHeight
|
|
181
|
+
},
|
|
182
|
+
[`${componentCls}-close-icon`]: {
|
|
183
|
+
position: "relative",
|
|
184
|
+
top: token.paddingXXS,
|
|
185
|
+
insetInlineEnd: "auto",
|
|
186
|
+
height: "auto",
|
|
187
|
+
flexShrink: 0,
|
|
188
|
+
marginInlineStart: 0
|
|
189
|
+
},
|
|
190
|
+
[`&${componentCls}-closable`]: {
|
|
191
|
+
[`${componentCls}-content`]: {
|
|
192
|
+
paddingInlineEnd: token.paddingXS
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
[`&:not(${componentCls}-with-description)`]: {
|
|
196
|
+
flexWrap: "nowrap",
|
|
197
|
+
[`${componentCls}-content`]: {
|
|
198
|
+
flex: "0 1 auto",
|
|
199
|
+
minWidth: 0,
|
|
200
|
+
maxWidth: "none",
|
|
201
|
+
wordBreak: "normal"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
[`&${componentCls}-with-description`]: {
|
|
205
|
+
paddingBlock: token.paddingXXS,
|
|
206
|
+
flexDirection: "row",
|
|
207
|
+
alignItems: "flex-start",
|
|
208
|
+
position: "relative",
|
|
209
|
+
flexWrap: "nowrap",
|
|
210
|
+
[`${componentCls}-icon`]: {
|
|
211
|
+
alignSelf: "flex-start",
|
|
212
|
+
marginTop: 0
|
|
213
|
+
},
|
|
214
|
+
[`${componentCls}-content`]: {
|
|
215
|
+
flexDirection: "column",
|
|
216
|
+
alignItems: "flex-start",
|
|
217
|
+
flex: "0 1 auto",
|
|
218
|
+
minWidth: 0,
|
|
219
|
+
maxWidth: "none",
|
|
220
|
+
wordBreak: "normal"
|
|
221
|
+
},
|
|
222
|
+
[`${componentCls}-message`]: {
|
|
223
|
+
marginBottom: token.marginXXS,
|
|
224
|
+
whiteSpace: "nowrap",
|
|
225
|
+
wordBreak: "normal"
|
|
226
|
+
},
|
|
227
|
+
[`${componentCls}-description`]: {
|
|
228
|
+
whiteSpace: "nowrap",
|
|
229
|
+
wordBreak: "normal"
|
|
230
|
+
},
|
|
231
|
+
[`${componentCls}-close-icon`]: {
|
|
232
|
+
position: "absolute",
|
|
233
|
+
top: token.paddingXXS,
|
|
234
|
+
insetInlineEnd: token.paddingXS
|
|
235
|
+
}
|
|
236
|
+
}
|
|
139
237
|
}
|
|
140
238
|
};
|
|
141
239
|
};
|
|
142
|
-
var style_default = (
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
});
|
|
146
|
-
return useStyle(prefixCls);
|
|
147
|
-
};
|
|
240
|
+
var style_default = (0, import_genComponentStyleHook.genStyleHooks)("Alert", (token) => {
|
|
241
|
+
return [genAlertStyle(token)];
|
|
242
|
+
});
|
|
148
243
|
// Annotate the CommonJS export names for ESM import in node:
|
|
149
244
|
0 && (module.exports = {
|
|
150
245
|
genAlertStyle
|
package/lib/app/index.d.ts
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { App as AntApp } from 'antd';
|
|
3
|
+
import type { AppProps } from 'antd/es/app';
|
|
1
4
|
export * from 'antd/es/app';
|
|
5
|
+
export type AppType = React.FC<AppProps> & {
|
|
6
|
+
useApp: typeof AntApp.useApp;
|
|
7
|
+
};
|
|
8
|
+
declare const App: AppType;
|
|
9
|
+
export default App;
|
package/lib/app/index.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
5
11
|
var __copyProps = (to, from, except, desc) => {
|
|
6
12
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
13
|
for (let key of __getOwnPropNames(from))
|
|
@@ -11,12 +17,41 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
11
17
|
return to;
|
|
12
18
|
};
|
|
13
19
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
14
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
29
|
|
|
16
|
-
// src/app/index.
|
|
30
|
+
// src/app/index.tsx
|
|
17
31
|
var app_exports = {};
|
|
32
|
+
__export(app_exports, {
|
|
33
|
+
default: () => app_default
|
|
34
|
+
});
|
|
18
35
|
module.exports = __toCommonJS(app_exports);
|
|
36
|
+
var import_react = require("react");
|
|
37
|
+
var import_antd = require("antd");
|
|
38
|
+
var import_classnames = __toESM(require("classnames"));
|
|
39
|
+
var import_config_provider = __toESM(require("../config-provider"));
|
|
40
|
+
var import_style = __toESM(require("./style"));
|
|
19
41
|
__reExport(app_exports, require("antd/es/app"), module.exports);
|
|
42
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
|
+
var App = ({ prefixCls: customizePrefixCls, className, ...restProps }) => {
|
|
44
|
+
const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
|
|
45
|
+
const prefixCls = getPrefixCls("app", customizePrefixCls);
|
|
46
|
+
const [wrapCSSVar] = (0, import_style.default)(prefixCls);
|
|
47
|
+
const appCls = (0, import_classnames.default)(className);
|
|
48
|
+
return wrapCSSVar(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_antd.App, { prefixCls: customizePrefixCls, className: appCls, ...restProps }));
|
|
49
|
+
};
|
|
50
|
+
App.useApp = import_antd.App.useApp;
|
|
51
|
+
if (process.env.NODE_ENV !== "production") {
|
|
52
|
+
App.displayName = import_antd.App.displayName;
|
|
53
|
+
}
|
|
54
|
+
var app_default = App;
|
|
20
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
21
56
|
0 && (module.exports = {
|
|
22
57
|
...require("antd/es/app")
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { FullToken, GenerateStyle } from '../../theme/interface';
|
|
3
|
+
export type AppToken = FullToken<'App'>;
|
|
4
|
+
export declare const genAppStyle: GenerateStyle<AppToken>;
|
|
5
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, string, string];
|
|
6
|
+
export default _default;
|
|
@@ -16,17 +16,22 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
|
-
// src/
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
|
|
19
|
+
// src/app/style/index.ts
|
|
20
|
+
var style_exports = {};
|
|
21
|
+
__export(style_exports, {
|
|
22
|
+
default: () => style_default,
|
|
23
|
+
genAppStyle: () => genAppStyle
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(style_exports);
|
|
26
|
+
var import_genComponentStyleHook = require("../../_util/genComponentStyleHook");
|
|
27
|
+
var genAppStyle = (token) => {
|
|
28
|
+
const { antCls, componentCls } = token;
|
|
29
|
+
return {};
|
|
30
|
+
};
|
|
31
|
+
var style_default = (0, import_genComponentStyleHook.genStyleHooks)("App", (token) => {
|
|
32
|
+
return [genAppStyle(token)];
|
|
23
33
|
});
|
|
24
|
-
module.exports = __toCommonJS(getWeakenBorderColor_exports);
|
|
25
|
-
var import_tinycolor = require("@ctrl/tinycolor");
|
|
26
|
-
function getWeakenBorderColor(color) {
|
|
27
|
-
return new import_tinycolor.TinyColor(color).setAlpha(0.4).toHex8String();
|
|
28
|
-
}
|
|
29
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30
35
|
0 && (module.exports = {
|
|
31
|
-
|
|
36
|
+
genAppStyle
|
|
32
37
|
});
|
package/lib/badge/index.js
CHANGED
|
@@ -40,46 +40,55 @@ var import_classnames = __toESM(require("classnames"));
|
|
|
40
40
|
var import_config_provider = __toESM(require("../config-provider"));
|
|
41
41
|
var import_style = __toESM(require("./style"));
|
|
42
42
|
__reExport(badge_exports, require("antd/es/badge"), module.exports);
|
|
43
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
44
|
var Badge = import_react.default.forwardRef(
|
|
44
45
|
({ prefixCls: customizePrefixCls, className, status, text, icon, ...restProps }, ref) => {
|
|
45
|
-
const { getPrefixCls
|
|
46
|
+
const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
|
|
46
47
|
const prefixCls = getPrefixCls("badge", customizePrefixCls);
|
|
47
|
-
const
|
|
48
|
+
const [wrapCSSVar, hashId] = (0, import_style.default)(prefixCls);
|
|
48
49
|
const iconMap = {
|
|
49
|
-
default: /* @__PURE__ */
|
|
50
|
-
processing: /* @__PURE__ */
|
|
50
|
+
default: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.MinusCircleFilled, { rotate: 45 }),
|
|
51
|
+
processing: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51
52
|
import_icons.Loading3QuartersOutlined,
|
|
52
53
|
{
|
|
53
54
|
style: {
|
|
54
55
|
display: "inline-block"
|
|
55
56
|
},
|
|
56
|
-
|
|
57
|
+
spin: true
|
|
57
58
|
}
|
|
58
59
|
),
|
|
59
|
-
success: /* @__PURE__ */
|
|
60
|
-
error: /* @__PURE__ */
|
|
61
|
-
warning: /* @__PURE__ */
|
|
60
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.CheckCircleFilled, {}),
|
|
61
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.CloseCircleFilled, {}),
|
|
62
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.EllipsisCircleFilled, {})
|
|
62
63
|
};
|
|
63
|
-
return
|
|
64
|
-
/* @__PURE__ */
|
|
64
|
+
return wrapCSSVar(
|
|
65
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: status && icon ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
65
66
|
"span",
|
|
66
67
|
{
|
|
67
68
|
ref,
|
|
68
|
-
className: (0, import_classnames.default)(
|
|
69
|
+
className: (0, import_classnames.default)(
|
|
70
|
+
prefixCls,
|
|
71
|
+
`${prefixCls}-status`,
|
|
72
|
+
className,
|
|
73
|
+
// hashId is required to make style work
|
|
74
|
+
hashId
|
|
75
|
+
),
|
|
69
76
|
style: {
|
|
70
77
|
display: "inline-block"
|
|
71
78
|
},
|
|
72
|
-
...restProps
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
...restProps,
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
82
|
+
"span",
|
|
83
|
+
{
|
|
84
|
+
className: (0, import_classnames.default)(`${prefixCls}-status-icon`, `${prefixCls}-status-${status}`),
|
|
85
|
+
children: import_react.default.isValidElement(icon) ? icon : iconMap[status]
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: `${prefixCls}-status-text`, children: text })
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
92
|
import_antd.Badge,
|
|
84
93
|
{
|
|
85
94
|
ref,
|
|
@@ -89,7 +98,7 @@ var Badge = import_react.default.forwardRef(
|
|
|
89
98
|
text,
|
|
90
99
|
...restProps
|
|
91
100
|
}
|
|
92
|
-
))
|
|
101
|
+
) })
|
|
93
102
|
);
|
|
94
103
|
}
|
|
95
104
|
);
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { FullToken, GenerateStyle } from '
|
|
2
|
+
import type { FullToken, GenerateStyle } from '../../theme/interface';
|
|
3
3
|
export type BadgeToken = FullToken<'Badge'>;
|
|
4
4
|
export declare const genBadgeStyle: GenerateStyle<BadgeToken>;
|
|
5
|
-
declare const _default: (prefixCls: string) =>
|
|
6
|
-
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
7
|
-
hashId: string;
|
|
8
|
-
};
|
|
5
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, string, string];
|
|
9
6
|
export default _default;
|
package/lib/badge/style/index.js
CHANGED
|
@@ -26,20 +26,20 @@ module.exports = __toCommonJS(style_exports);
|
|
|
26
26
|
var import_genComponentStyleHook = require("../../_util/genComponentStyleHook");
|
|
27
27
|
var genBadgeStyle = (token) => {
|
|
28
28
|
const { componentCls } = token;
|
|
29
|
-
const dotSize = token.fontSizeLG / 2;
|
|
30
29
|
return {
|
|
31
30
|
[`${componentCls}`]: {
|
|
32
|
-
//
|
|
33
|
-
color: "inherit"
|
|
31
|
+
// make status text inherit parent style
|
|
32
|
+
color: "inherit",
|
|
33
|
+
fontSize: "inherit"
|
|
34
34
|
},
|
|
35
35
|
[`${componentCls}${componentCls}-status`]: {
|
|
36
36
|
// dot style
|
|
37
37
|
[`${componentCls}-status-dot`]: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
[`&${componentCls}-status-default`]: {}
|
|
39
|
+
},
|
|
40
|
+
[`${componentCls}-status-processing::after`]: {
|
|
41
|
+
// remove animation for processing status dot
|
|
42
|
+
display: "none"
|
|
43
43
|
},
|
|
44
44
|
// icon style
|
|
45
45
|
[`${componentCls}-status-icon`]: {
|
|
@@ -66,18 +66,16 @@ var genBadgeStyle = (token) => {
|
|
|
66
66
|
},
|
|
67
67
|
[`${componentCls}-status-text`]: {
|
|
68
68
|
marginInlineStart: token.marginXS,
|
|
69
|
-
// inherit
|
|
70
|
-
color: "inherit"
|
|
69
|
+
// inherit style from parent
|
|
70
|
+
color: "inherit",
|
|
71
|
+
fontSize: "inherit"
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
};
|
|
74
75
|
};
|
|
75
|
-
var style_default = (
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
});
|
|
79
|
-
return useStyle(prefixCls);
|
|
80
|
-
};
|
|
76
|
+
var style_default = (0, import_genComponentStyleHook.genStyleHooks)("Badge", (token) => {
|
|
77
|
+
return [genBadgeStyle(token)];
|
|
78
|
+
});
|
|
81
79
|
// Annotate the CommonJS export names for ESM import in node:
|
|
82
80
|
0 && (module.exports = {
|
|
83
81
|
genBadgeStyle
|
package/lib/button/index.js
CHANGED
|
@@ -39,14 +39,15 @@ var import_react = __toESM(require("react"));
|
|
|
39
39
|
var import_config_provider = __toESM(require("../config-provider"));
|
|
40
40
|
var import_style = __toESM(require("./style"));
|
|
41
41
|
__reExport(button_exports, require("antd/es/button"), module.exports);
|
|
42
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
43
|
var Button = import_react.default.forwardRef(
|
|
43
44
|
({ prefixCls: customizePrefixCls, className, ...restProps }, ref) => {
|
|
44
|
-
const {
|
|
45
|
+
const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
|
|
45
46
|
const prefixCls = getPrefixCls("btn", customizePrefixCls);
|
|
46
|
-
const
|
|
47
|
+
const [wrapCSSVar] = (0, import_style.default)(prefixCls);
|
|
47
48
|
const buttonCls = (0, import_classnames.default)(className);
|
|
48
|
-
return
|
|
49
|
-
/* @__PURE__ */
|
|
49
|
+
return wrapCSSVar(
|
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_antd.Button, { ref, prefixCls: customizePrefixCls, className: buttonCls, ...restProps })
|
|
50
51
|
);
|
|
51
52
|
}
|
|
52
53
|
);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { CSSObject } from '@ant-design/cssinjs';
|
|
3
|
+
import type { FullToken, GenerateStyle } from '../../theme/interface';
|
|
3
4
|
export type ButtonToken = FullToken<'Button'>;
|
|
5
|
+
export declare const genPresetColorStyle: (token: ButtonToken) => Record<string, CSSObject>;
|
|
4
6
|
export declare const genButtonStyle: GenerateStyle<ButtonToken>;
|
|
5
|
-
declare const _default: (prefixCls: string,
|
|
6
|
-
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
7
|
-
hashId: string;
|
|
8
|
-
};
|
|
7
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, string, string];
|
|
9
8
|
export default _default;
|