@kdcloudjs/kdesign 1.1.3 → 1.2.0
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/CHANGELOG.md +39 -3
- package/dist/kdesign-complete.less +407 -261
- package/dist/kdesign.css +154 -54
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +253 -19
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +0 -1
- package/es/anchor/anchor.js +0 -6
- package/es/anchor/style/index.css +5 -2
- package/es/anchor/style/index.less +6 -2
- package/es/anchor/style/token.less +2 -1
- package/es/button/button.d.ts +1 -1
- package/es/button/button.js +2 -2
- package/es/button/group.d.ts +21 -0
- package/es/button/group.js +130 -0
- package/es/button/index.d.ts +5 -1
- package/es/button/index.js +4 -1
- package/es/button/style/index.css +117 -21
- package/es/button/style/index.less +332 -192
- package/es/button/style/token.less +41 -25
- package/es/carousel/carousel.js +4 -0
- package/es/config-provider/compDefaultProps.d.ts +4 -0
- package/es/config-provider/compDefaultProps.js +4 -0
- package/es/empty/defaultEmptyImg.js +5 -3
- package/es/empty/illustrationEmptyImg.js +6 -4
- package/es/icon/interface.js +1 -1
- package/es/image/preview.js +1 -1
- package/es/image/style/index.css +8 -8
- package/es/image/style/index.less +5 -5
- package/es/image/style/token.less +12 -25
- package/es/rate/style/index.css +9 -9
- package/es/rate/style/token.less +6 -6
- package/es/stepper/style/index.css +1 -1
- package/es/stepper/style/token.less +1 -1
- package/es/style/icon/kdicon.css +2 -1
- package/es/style/icon/kdicon.woff +0 -0
- package/es/switch/style/index.css +11 -11
- package/es/switch/style/index.less +2 -2
- package/es/switch/style/token.less +7 -10
- package/lib/_utils/usePopper.js +0 -1
- package/lib/anchor/anchor.js +0 -6
- package/lib/anchor/style/index.css +5 -2
- package/lib/anchor/style/index.less +6 -2
- package/lib/anchor/style/token.less +2 -1
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.js +2 -2
- package/lib/button/group.d.ts +21 -0
- package/lib/button/group.js +166 -0
- package/lib/button/index.d.ts +5 -1
- package/lib/button/index.js +5 -1
- package/lib/button/style/index.css +117 -21
- package/lib/button/style/index.less +332 -192
- package/lib/button/style/token.less +41 -25
- package/lib/carousel/carousel.js +4 -0
- package/lib/config-provider/compDefaultProps.d.ts +4 -0
- package/lib/config-provider/compDefaultProps.js +4 -0
- package/lib/empty/defaultEmptyImg.js +6 -3
- package/lib/empty/illustrationEmptyImg.js +7 -4
- package/lib/icon/interface.js +1 -1
- package/lib/image/preview.js +1 -1
- package/lib/image/style/index.css +8 -8
- package/lib/image/style/index.less +5 -5
- package/lib/image/style/token.less +12 -25
- package/lib/rate/style/index.css +9 -9
- package/lib/rate/style/token.less +6 -6
- package/lib/stepper/style/index.css +1 -1
- package/lib/stepper/style/token.less +1 -1
- package/lib/style/icon/kdicon.css +2 -1
- package/lib/style/icon/kdicon.woff +0 -0
- package/lib/switch/style/index.css +11 -11
- package/lib/switch/style/index.less +2 -2
- package/lib/switch/style/token.less +7 -10
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
2
|
import ConfigContext from '../config-provider/ConfigContext';
|
|
3
|
+
import uniqueId from 'lodash/uniqueId';
|
|
3
4
|
|
|
4
5
|
function DefaultEmptyImg() {
|
|
5
6
|
var _useContext = useContext(ConfigContext),
|
|
@@ -7,6 +8,7 @@ function DefaultEmptyImg() {
|
|
|
7
8
|
prefixCls = _useContext.prefixCls;
|
|
8
9
|
|
|
9
10
|
var emptyPrefixCls = getPrefixCls(prefixCls, 'empty');
|
|
11
|
+
var linearGradientId = uniqueId(emptyPrefixCls + '-default-linearGradient');
|
|
10
12
|
return /*#__PURE__*/React.createElement("svg", {
|
|
11
13
|
className: "".concat(emptyPrefixCls, "-image"),
|
|
12
14
|
width: "168px",
|
|
@@ -19,7 +21,7 @@ function DefaultEmptyImg() {
|
|
|
19
21
|
y1: "0%",
|
|
20
22
|
x2: "50%",
|
|
21
23
|
y2: "100%",
|
|
22
|
-
id:
|
|
24
|
+
id: linearGradientId
|
|
23
25
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
24
26
|
stopColor: "#D6DCE7",
|
|
25
27
|
offset: "0%"
|
|
@@ -69,7 +71,7 @@ function DefaultEmptyImg() {
|
|
|
69
71
|
height: "6"
|
|
70
72
|
})), /*#__PURE__*/React.createElement("g", {
|
|
71
73
|
transform: "translate(108.000000, 40.000000)",
|
|
72
|
-
fill: "url(#
|
|
74
|
+
fill: "url(#".concat(linearGradientId, ")"),
|
|
73
75
|
id: "\u80CC\u666F/\u4E91",
|
|
74
76
|
opacity: "0.300000012"
|
|
75
77
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -78,7 +80,7 @@ function DefaultEmptyImg() {
|
|
|
78
80
|
d: "M3,39 L3,24 C3,15.7157288 9.71572875,9 18,9 C25.4616776,9 31.6508469,14.4482558 32.8063948,21.5836543 C33.797875,21.2064779 34.8748247,21 36,21 C40.9705627,21 45,25.0294373 45,30 L45,39 L3,39 Z"
|
|
79
81
|
}))), /*#__PURE__*/React.createElement("g", {
|
|
80
82
|
transform: "translate(12.000000, 32.000000)",
|
|
81
|
-
fill: "url(#
|
|
83
|
+
fill: "url(#".concat(linearGradientId, ")"),
|
|
82
84
|
id: "\u80CC\u666F/\u4E91",
|
|
83
85
|
opacity: "0.300000012"
|
|
84
86
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
2
|
import ConfigContext from '../config-provider/ConfigContext';
|
|
3
|
+
import uniqueId from 'lodash/uniqueId';
|
|
3
4
|
|
|
4
5
|
function IllustrationEmptyImg() {
|
|
5
6
|
var _useContext = useContext(ConfigContext),
|
|
@@ -7,6 +8,7 @@ function IllustrationEmptyImg() {
|
|
|
7
8
|
prefixCls = _useContext.prefixCls;
|
|
8
9
|
|
|
9
10
|
var emptyPrefixCls = getPrefixCls(prefixCls, 'empty');
|
|
11
|
+
var linearGradientId = uniqueId(emptyPrefixCls + '-illus-linearGradient-');
|
|
10
12
|
return /*#__PURE__*/React.createElement("svg", {
|
|
11
13
|
className: "".concat(emptyPrefixCls, "-image"),
|
|
12
14
|
width: "200px",
|
|
@@ -25,7 +27,7 @@ function IllustrationEmptyImg() {
|
|
|
25
27
|
y1: "0%",
|
|
26
28
|
x2: "50%",
|
|
27
29
|
y2: "100%",
|
|
28
|
-
id:
|
|
30
|
+
id: linearGradientId
|
|
29
31
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
30
32
|
stopColor: "#F2F5FA",
|
|
31
33
|
offset: "0%"
|
|
@@ -38,7 +40,7 @@ function IllustrationEmptyImg() {
|
|
|
38
40
|
y1: "0%",
|
|
39
41
|
x2: "50%",
|
|
40
42
|
y2: "100%",
|
|
41
|
-
id: "
|
|
43
|
+
id: "".concat(linearGradientId, "-1")
|
|
42
44
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
43
45
|
stopColor: "#F2F5FA",
|
|
44
46
|
offset: "0%"
|
|
@@ -92,7 +94,7 @@ function IllustrationEmptyImg() {
|
|
|
92
94
|
transform: "translate(11.428571, 37.050000)"
|
|
93
95
|
}, /*#__PURE__*/React.createElement("g", {
|
|
94
96
|
transform: "translate(34.285714, 34.200000) scale(-1, 1) translate(-34.285714, -34.200000) ",
|
|
95
|
-
fill: "url(#
|
|
97
|
+
fill: "url(#".concat(linearGradientId, ")"),
|
|
96
98
|
id: "\u5F62\u72B6\u7ED3\u5408"
|
|
97
99
|
}, /*#__PURE__*/React.createElement("path", {
|
|
98
100
|
d: "M4.28571429,55.575 L4.28571429,34.2535714 C4.28571429,22.4188982 13.8796125,12.825 25.7142857,12.825 C36.3598894,12.825 45.1923741,20.587885 46.8597669,30.7616821 C48.2786739,30.2207368 49.8190861,29.925 51.4285714,29.925 C58.5293754,29.925 64.2857143,35.6813389 64.2857143,42.7821429 L64.2857143,55.575 L4.28571429,55.575 Z"
|
|
@@ -101,7 +103,7 @@ function IllustrationEmptyImg() {
|
|
|
101
103
|
id: "\u80CC\u666F/\u4E91"
|
|
102
104
|
}, /*#__PURE__*/React.createElement("g", {
|
|
103
105
|
transform: "translate(142.857143, 51.300000)",
|
|
104
|
-
fill: "url(#
|
|
106
|
+
fill: "url(#".concat(linearGradientId, "-1)"),
|
|
105
107
|
id: "\u5F62\u72B6\u7ED3\u5408"
|
|
106
108
|
}, /*#__PURE__*/React.createElement("path", {
|
|
107
109
|
d: "M17.1428571,8.55 C24.2401777,8.55 30.1286667,13.7256234 31.2399627,20.508509 C32.186033,20.1471098 33.2128549,19.95 34.2857143,19.95 C39.0195836,19.95 42.8571429,23.7875593 42.8571429,28.5214286 L42.8571429,37.05 L31.4281429,37.049 L31.4285714,37.05 L2.85714286,37.05 L2.85714286,22.8357143 C2.85714286,14.9459321 9.253075,8.55 17.1428571,8.55 Z"
|
package/es/icon/interface.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
2
2
|
import { tuple } from '../_utils/type';
|
|
3
|
-
export var BaseIcon = ['arrow-up', 'arrow-down', 'arrow-left', 'arrow-right', 'first', 'last', 'double-arrow-left', 'double-arrow-right', 'push-down', 'put-top', 'put-bottom', 'put-on', 'put-off', 'switch-up', 'switch-down', 'all-border', 'top-border', 'right-border', 'bottom-border', 'left-border', 'left-extension', 'right-extension', 'left-unfold', 'right-unfold', 'unfoldmenu', 'foldmenu', 'enlarge', 'expand', 'close-full-screen', 'split', 'back', 'arrow', 'no-border', 'border', 'rough-border', 'align-left', 'align-right', 'align-center', 'vertical-center', 'delete-indentation', 'equal', 'greater-equal', 'not-equal', 'male', 'female', 'copy', 'print', 'lock', 'scanning', 'like', 'project', 'user-info', 'shutdown', 'image', 'delete-line', 'add-line', 'job-info', 'detect', 'cancel', 'stop', 'cell', 'fixed-shrink', 'attachment', 'location', 'reduce', 'resign-report', 'forbid', 'education', 'unlock', 'contract', 'filter', 'more', 'operating-element', 'fail', 'edit', 'have-attachment', 'hide', 'preview', 'unfold-all', 'wrap', 'filter-switch', 'qualification-info', 'cn', 'en', 'git', 'reset', 'preview-view', 'unfold', 'comment', 'shoppingcart', 'add-child', 'save', 'detail', 'table-setting', 'edit-view', 'edit-border', 'hyperlink', 'code', 'import', 'address', 'analysis', 'share', 'chart', 'fixed-window', 'order', 'phone', 'classify', 'feedback', 'menu', 'voice', 'search-border', 'material', 'finish', 'more-info', 'fixed', 'change', 'copy-code', 'return', 'qrcode', 'counterclockwise', 'list', 'switch', 'task-process', 'add', 'delete', 'add-word', 'two-window', 'spin', 'ordered-list', 'cooperation', 'quit', 'shrink', 'zoom', 'graffiti', 'experience', 'medical-report', 'bankcard', 'yunzhijia', 'customize', 'refresh', 'search', 'loadding', 'loadding-circle', 'right', 'close', 'upload', 'download', 'upload-cloud', 'waiting', 'warning', 'exclamatory', 'tips', 'setting', 'chart-display', 'date', 'more-item', 'international', 'little-k', 'bellOutlined'];
|
|
3
|
+
export var BaseIcon = ['arrow-up', 'arrow-down', 'arrow-left', 'arrow-right', 'first', 'last', 'double-arrow-left', 'double-arrow-right', 'push-down', 'put-top', 'put-bottom', 'put-on', 'put-off', 'switch-up', 'switch-down', 'all-border', 'top-border', 'right-border', 'bottom-border', 'left-border', 'left-extension', 'right-extension', 'left-unfold', 'right-unfold', 'unfoldmenu', 'foldmenu', 'enlarge', 'expand', 'close-full-screen', 'split', 'back', 'arrow', 'no-border', 'border', 'rough-border', 'align-left', 'align-right', 'align-center', 'vertical-center', 'delete-indentation', 'equal', 'greater-equal', 'not-equal', 'male', 'female', 'copy', 'print', 'lock', 'scanning', 'like', 'project', 'user-info', 'shutdown', 'image', 'delete-line', 'add-line', 'job-info', 'detect', 'cancel', 'stop', 'cell', 'fixed-shrink', 'attachment', 'location', 'reduce', 'resign-report', 'forbid', 'education', 'unlock', 'contract', 'filter', 'more', 'operating-element', 'fail', 'edit', 'have-attachment', 'hide', 'preview', 'unfold-all', 'wrap', 'filter-switch', 'qualification-info', 'cn', 'en', 'git', 'reset', 'preview-view', 'unfold', 'comment', 'shoppingcart', 'add-child', 'save', 'detail', 'table-setting', 'edit-view', 'edit-border', 'hyperlink', 'code', 'import', 'address', 'analysis', 'share', 'chart', 'fixed-window', 'order', 'phone', 'classify', 'feedback', 'menu', 'voice', 'search-border', 'material', 'finish', 'more-info', 'fixed', 'change', 'copy-code', 'return', 'qrcode', 'counterclockwise', 'list', 'switch', 'task-process', 'add', 'delete', 'add-word', 'two-window', 'spin', 'ordered-list', 'cooperation', 'quit', 'shrink', 'zoom', 'graffiti', 'experience', 'medical-report', 'bankcard', 'yunzhijia', 'customize', 'refresh', 'search', 'loadding', 'loadding-circle', 'right', 'close', 'upload', 'download', 'upload-cloud', 'waiting', 'warning', 'exclamatory', 'tips', 'setting', 'chart-display', 'date', 'more-item', 'international', 'little-k', 'bellOutlined', 'sigma'];
|
|
4
4
|
export var SolidIcon = ['arrow-up-solid', 'arrow-right-solid', 'arrow-down-solid', 'arrow-left-solid', 'left-unfold-solid', 'right-unfold-solid', 'unlock-solid', 'multiply', 'division-solid', 'title-solid', 'communication-solid', 'fixed-solid', 'more-info-solid', 'timezone-solid', 'mosaic-solid', 'strike-solid', 'lock-solid', 'filter-solid', 'person-solid', 'bold-solid', 'delete-solid', 'processing-solid', 'tips-solid', 'quote-solid', 'oblique-solid', 'sun-solid', 'underline-solid', 'font-background-solid', 'eliminate-solid', 'font-color-solid', 'fx', 'refresh-solid', 'right-solid', 'location-solid', 'add-solid', 'warning-solid', 'close-solid', 'right-bold', 'close-bold', 'workbench', 'star', 'notice'];
|
|
5
5
|
export var IconTypes = tuple.apply(void 0, _concatInstanceProperty(BaseIcon).call(BaseIcon, SolidIcon));
|
package/es/image/preview.js
CHANGED
|
@@ -172,7 +172,7 @@ var Preview = function Preview(props) {
|
|
|
172
172
|
}, operations, /*#__PURE__*/React.createElement("span", {
|
|
173
173
|
onClick: onClose
|
|
174
174
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
175
|
-
type: "close"
|
|
175
|
+
type: "close-solid"
|
|
176
176
|
}), "\u5173\u95ED"))));
|
|
177
177
|
return /*#__PURE__*/ReactDOM.createPortal(peviewContainer, document.body);
|
|
178
178
|
};
|
package/es/image/style/index.css
CHANGED
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
opacity: 0;
|
|
138
138
|
-webkit-transform: translateY(100%);
|
|
139
139
|
transform: translateY(100%);
|
|
140
|
-
-webkit-transition: all
|
|
141
|
-
transition: all
|
|
140
|
+
-webkit-transition: all 0.2s ease-out;
|
|
141
|
+
transition: all 0.2s ease-out;
|
|
142
142
|
background-color: var(--kd-c-image-action-color-background, rgba(0, 0, 0, 0.5));
|
|
143
143
|
}
|
|
144
144
|
.kd-image-action > * {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
margin-left: 20px;
|
|
152
152
|
}
|
|
153
153
|
.kd-image-preview {
|
|
154
|
-
z-index:
|
|
154
|
+
z-index: 3000;
|
|
155
155
|
position: fixed;
|
|
156
156
|
top: 0;
|
|
157
157
|
right: 0;
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
-webkit-transform: scale(0.15);
|
|
162
162
|
transform: scale(0.15);
|
|
163
163
|
visibility: hidden;
|
|
164
|
-
-webkit-transition: all
|
|
165
|
-
transition: all
|
|
164
|
+
-webkit-transition: all 0.2s cubic-bezier(0.4, 0, 1, 0.6);
|
|
165
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 1, 0.6);
|
|
166
166
|
-webkit-overflow-scrolling: touch;
|
|
167
167
|
}
|
|
168
168
|
.kd-image-preview.show {
|
|
@@ -170,8 +170,8 @@
|
|
|
170
170
|
-webkit-transform: scale(1);
|
|
171
171
|
transform: scale(1);
|
|
172
172
|
visibility: visible;
|
|
173
|
-
-webkit-transition: all
|
|
174
|
-
transition: all
|
|
173
|
+
-webkit-transition: all 0.2s cubic-bezier(0, 0.4, 0.4, 1);
|
|
174
|
+
transition: all 0.2s cubic-bezier(0, 0.4, 0.4, 1);
|
|
175
175
|
}
|
|
176
176
|
.kd-image-preview-mask {
|
|
177
177
|
position: fixed;
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
}
|
|
256
256
|
.kd-image-preview-action i {
|
|
257
257
|
color: var(--kd-c-image-icon-color, var(--kd-g-color-white, #fff));
|
|
258
|
-
font-size: var(--kd-c-image-icon-font-size,
|
|
258
|
+
font-size: var(--kd-c-image-icon-font-size, 26px);
|
|
259
259
|
cursor: pointer;
|
|
260
260
|
}
|
|
261
261
|
.kd-image-preview-action i:hover,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
text-align: center;
|
|
42
42
|
opacity: 0;
|
|
43
43
|
transform: translateY(100%);
|
|
44
|
-
transition: all
|
|
44
|
+
transition: all 0.2s ease-out;
|
|
45
45
|
background-color: @image-action-background-color;
|
|
46
46
|
|
|
47
47
|
>* {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.@{image-preview-prefix-cls} {
|
|
61
|
-
z-index:
|
|
61
|
+
z-index: 3000;
|
|
62
62
|
position: fixed;
|
|
63
63
|
top: 0;
|
|
64
64
|
right: 0;
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
opacity: 0;
|
|
68
68
|
transform: scale(0.15);
|
|
69
69
|
visibility: hidden;
|
|
70
|
-
transition: all
|
|
70
|
+
transition: all 0.2s cubic-bezier(0.4,0,1,0.6);
|
|
71
71
|
-webkit-overflow-scrolling: touch;
|
|
72
72
|
|
|
73
73
|
&.show {
|
|
74
74
|
opacity: 1;
|
|
75
75
|
transform: scale(1);
|
|
76
76
|
visibility: visible;
|
|
77
|
-
transition: all
|
|
77
|
+
transition: all 0.2s cubic-bezier(0,.4,.4,1);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&-mask {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
|
|
105
105
|
&:hover,
|
|
106
106
|
&:active {
|
|
107
|
-
color:
|
|
107
|
+
color: #5582f3;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -2,31 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
@image-prefix: '--@{kd-prefix}-c-image';
|
|
4
4
|
|
|
5
|
-
@image-transition-duration: var(~'@{image-prefix}-transition-duration',@transition-duration);
|
|
6
|
-
@image-motion-ease-out: var(~'@{image-prefix}-motion-ease-out',@motion-ease-out);
|
|
7
|
-
@image-motion-ease-in: var(~'@{image-prefix}-motion-ease-out',@motion-ease-in);
|
|
8
|
-
@image-z-index-masker: var(~'@{image-prefix}-z-index-masker',@z-index-masker);
|
|
9
|
-
@image-border-radius: var(~'@{image-prefix}-radius-border',@radius-border);
|
|
10
|
-
@image-action-transition: var(~'@{image-prefix}-action-transition',@duration-quickly);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
5
|
// color
|
|
16
|
-
@image-icon-color: var(~'@{image-prefix}-icon-color'
|
|
17
|
-
@image-close-color-background: var(~'@{image-prefix}-close-color-background'
|
|
18
|
-
@image-action-background-color: var(~'@{image-prefix}-action-color-background',rgba(0, 0, 0, 0.5));
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
@image-icon-color: var(~'@{image-prefix}-icon-color', @color-white); //图片预览 图标颜色
|
|
7
|
+
@image-close-color-background: var(~'@{image-prefix}-close-color-background', #666666); //删除图标 背景色
|
|
8
|
+
@image-action-background-color: var(~'@{image-prefix}-action-color-background', rgba(0, 0, 0, 0.5));
|
|
21
9
|
// font
|
|
22
|
-
@image-icon-font-size: var(~'@{image-prefix}-icon-font-size',
|
|
23
|
-
@image-preview-close-font-size: var(~'@{image-prefix}-preview-font-size',28px);
|
|
24
|
-
@image-font-size-x-large: var(~'@{image-prefix}-font-size-x-large'
|
|
25
|
-
|
|
10
|
+
@image-icon-font-size: var(~'@{image-prefix}-icon-font-size', 26px); //图片预览 图标大小
|
|
11
|
+
@image-preview-close-font-size: var(~'@{image-prefix}-preview-font-size', 28px);
|
|
12
|
+
@image-font-size-x-large: var(~'@{image-prefix}-font-size-x-large', @font-size-x-large);
|
|
13
|
+
// radius
|
|
14
|
+
@image-border-radius: var(~'@{image-prefix}-radius-border', @radius-border);
|
|
26
15
|
// sizing
|
|
27
|
-
@image-action-width: var(~'@{image-prefix}-action-sizing-width',100%);
|
|
28
|
-
@image-preview-close-width: var(~'@{image-prefix}-preview-sizing-width',18px);
|
|
29
|
-
@image-preview-close-height: var(~'@{image-prefix}-preview-sizing-height',18px);
|
|
30
|
-
@image-action-height: var(~'@{image-prefix}-action-sizing-height',28px);
|
|
31
|
-
|
|
32
|
-
|
|
16
|
+
@image-action-width: var(~'@{image-prefix}-action-sizing-width', 100%);
|
|
17
|
+
@image-preview-close-width: var(~'@{image-prefix}-preview-sizing-width', 18px);
|
|
18
|
+
@image-preview-close-height: var(~'@{image-prefix}-preview-sizing-height', 18px);
|
|
19
|
+
@image-action-height: var(~'@{image-prefix}-action-sizing-height', 28px);
|
package/es/rate/style/index.css
CHANGED
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
justify-content: flex-start;
|
|
122
122
|
}
|
|
123
123
|
.kd-rate-size-large {
|
|
124
|
-
font-size: var(--kd-c-rate-font-size-large,
|
|
124
|
+
font-size: var(--kd-c-rate-font-size-large, 20px);
|
|
125
125
|
}
|
|
126
126
|
.kd-rate-size-middle {
|
|
127
|
-
font-size: var(--kd-c-rate-font-size-middle,
|
|
127
|
+
font-size: var(--kd-c-rate-font-size-middle, 16px);
|
|
128
128
|
}
|
|
129
129
|
.kd-rate-size-small {
|
|
130
|
-
font-size: var(--kd-c-rate-font-size-small,
|
|
130
|
+
font-size: var(--kd-c-rate-font-size-small, 12px);
|
|
131
131
|
}
|
|
132
132
|
.kd-rate-item {
|
|
133
133
|
display: -webkit-inline-box;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
-ms-flex-align: center;
|
|
142
142
|
align-items: center;
|
|
143
143
|
line-height: 100%;
|
|
144
|
-
margin-right: var(--kd-c-rate-spacing-margin-right,
|
|
144
|
+
margin-right: var(--kd-c-rate-spacing-margin-right, 8px);
|
|
145
145
|
}
|
|
146
146
|
.kd-rate-item .kd-rate-icon-view {
|
|
147
147
|
position: relative;
|
|
@@ -171,20 +171,20 @@
|
|
|
171
171
|
left: 0;
|
|
172
172
|
width: 50%;
|
|
173
173
|
overflow: hidden;
|
|
174
|
-
color: var(--kd-c-rate-color-text-not-selected, #
|
|
174
|
+
color: var(--kd-c-rate-color-text-not-selected, #E5E5E5);
|
|
175
175
|
opacity: 1;
|
|
176
176
|
cursor: pointer;
|
|
177
177
|
-webkit-transition: color var(--kd-c-rate-motion-duration, var(--kd-g-duration, 0.3s));
|
|
178
178
|
transition: color var(--kd-c-rate-motion-duration, var(--kd-g-duration, 0.3s));
|
|
179
179
|
}
|
|
180
180
|
.kd-rate-item .kd-rate-icon-first:hover {
|
|
181
|
-
color: var(--kd-c-rate-color-text-selected, #
|
|
181
|
+
color: var(--kd-c-rate-color-text-selected, #FEC104);
|
|
182
182
|
}
|
|
183
183
|
.kd-rate-item .kd-rate-icon-second {
|
|
184
184
|
display: -webkit-inline-box;
|
|
185
185
|
display: -ms-inline-flexbox;
|
|
186
186
|
display: inline-flex;
|
|
187
|
-
color: var(--kd-c-rate-color-text-not-selected, #
|
|
187
|
+
color: var(--kd-c-rate-color-text-not-selected, #E5E5E5);
|
|
188
188
|
opacity: 1;
|
|
189
189
|
cursor: pointer;
|
|
190
190
|
-webkit-transition: color var(--kd-c-rate-motion-duration, var(--kd-g-duration, 0.3s));
|
|
@@ -196,10 +196,10 @@
|
|
|
196
196
|
display: inline-flex;
|
|
197
197
|
}
|
|
198
198
|
.kd-rate-item .kd-rate-icon-second:hover {
|
|
199
|
-
color: var(--kd-c-rate-color-text-selected, #
|
|
199
|
+
color: var(--kd-c-rate-color-text-selected, #FEC104);
|
|
200
200
|
}
|
|
201
201
|
.kd-rate-item .kd-rate-icon-selected {
|
|
202
|
-
color: var(--kd-c-rate-color-text-selected, #
|
|
202
|
+
color: var(--kd-c-rate-color-text-selected, #FEC104);
|
|
203
203
|
opacity: 1;
|
|
204
204
|
}
|
|
205
205
|
.kd-rate-item:last-child {
|
package/es/rate/style/token.less
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
@rate-prefix: '--@{kd-prefix}-c-rate';
|
|
4
4
|
|
|
5
5
|
// color
|
|
6
|
-
@rate-selected-color: var(~'@{rate-prefix}-color-text-selected', #
|
|
7
|
-
@rate-not-selected-color: var(~'@{rate-prefix}-color-text-not-selected', #
|
|
6
|
+
@rate-selected-color: var(~'@{rate-prefix}-color-text-selected', #FEC104);
|
|
7
|
+
@rate-not-selected-color: var(~'@{rate-prefix}-color-text-not-selected', #E5E5E5);
|
|
8
8
|
|
|
9
9
|
// font
|
|
10
|
-
@rate-small-font-size: var(~'@{rate-prefix}-font-size-small',
|
|
11
|
-
@rate-middle-font-size: var(~'@{rate-prefix}-font-size-middle',
|
|
12
|
-
@rate-large-font-size: var(~'@{rate-prefix}-font-size-large',
|
|
10
|
+
@rate-small-font-size: var(~'@{rate-prefix}-font-size-small', 12px);
|
|
11
|
+
@rate-middle-font-size: var(~'@{rate-prefix}-font-size-middle', 16px);
|
|
12
|
+
@rate-large-font-size: var(~'@{rate-prefix}-font-size-large', 20px);
|
|
13
13
|
|
|
14
14
|
// motion
|
|
15
15
|
@rate-transition-duration: var(~'@{rate-prefix}-motion-duration', @duration-promptly);
|
|
16
16
|
|
|
17
17
|
// spacing
|
|
18
|
-
@rate-icon-margin: var(~'@{rate-prefix}-spacing-margin-right',
|
|
18
|
+
@rate-icon-margin: var(~'@{rate-prefix}-spacing-margin-right', 8px);
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
justify-content: center;
|
|
200
200
|
height: 100%;
|
|
201
201
|
border-radius: 0 1px 1px 0;
|
|
202
|
-
background-color: var(--kd-c-stepper-embed-icon-color-background,
|
|
202
|
+
background-color: var(--kd-c-stepper-embed-icon-color-background, transparent);
|
|
203
203
|
overflow: hidden;
|
|
204
204
|
border-left: 1px solid var(--kd-c-stepper-color-border-strong, var(--kd-g-color-border-strong, #d9d9d9));
|
|
205
205
|
border: none;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@stepper-icon-color: var(~'@{stepper-prefix}-icon-color', @color-text-secondary);
|
|
7
7
|
@stepper-icon-color-hover: var(~'@{stepper-prefix}-icon-color-hover', @color-theme);
|
|
8
8
|
@stepper-color-border-strong: var(~'@{stepper-prefix}-color-border-strong', @color-border-strong);
|
|
9
|
-
@stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background',
|
|
9
|
+
@stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', transparent);
|
|
10
10
|
|
|
11
11
|
// font
|
|
12
12
|
@stepper-input-font-size: var(~'@{stepper-prefix}-input-font-size', 12px);
|
package/es/style/icon/kdicon.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "kdicon";
|
|
3
|
-
src: url("kdicon.woff?t=
|
|
3
|
+
src: url("kdicon.woff?t=1649311510226") format("woff");
|
|
4
4
|
}
|
|
5
5
|
.kdicon {
|
|
6
6
|
font-family: 'kdicon' !important;
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
.kdicon-shoppingcart:before { content: "\e6bf"; }
|
|
188
188
|
.kdicon-shrink:before { content: "\e6fd"; }
|
|
189
189
|
.kdicon-shutdown:before { content: "\e686"; }
|
|
190
|
+
.kdicon-sigma:before { content: "\e71b"; }
|
|
190
191
|
.kdicon-spin:before { content: "\e6f7"; }
|
|
191
192
|
.kdicon-split:before { content: "\e6c3"; }
|
|
192
193
|
.kdicon-star:before { content: "\e653"; }
|
|
Binary file
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
display: inline-block;
|
|
108
108
|
-webkit-box-sizing: border-box;
|
|
109
109
|
box-sizing: border-box;
|
|
110
|
-
background-color: var(--kd-c-switch-color-off, #
|
|
110
|
+
background-color: var(--kd-c-switch-color-off, #B2B2B2);
|
|
111
111
|
cursor: pointer;
|
|
112
112
|
-webkit-transition: all calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
113
113
|
transition: all calc(0.3s - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
vertical-align: baseline;
|
|
156
156
|
}
|
|
157
157
|
.kd-switch-disabled {
|
|
158
|
-
background-color: var(--kd-c-switch-color-background-disabled,
|
|
158
|
+
background-color: var(--kd-c-switch-color-off-background-disabled, #D9D9D9);
|
|
159
159
|
cursor: not-allowed;
|
|
160
160
|
}
|
|
161
161
|
.kd-switch-checked {
|
|
162
|
-
background-color: var(--kd-c-switch-color-on, var(--kd-g-color-theme, #5582f3));
|
|
162
|
+
background-color: var(--kd-c-switch-color-on, var(--kd-g-color-theme-6, #5582f3));
|
|
163
163
|
text-align: right;
|
|
164
164
|
}
|
|
165
165
|
.kd-switch-checked::after {
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
color: var(--kd-c-switch-color-loading, var(--kd-g-color-ongoing, #276ff5));
|
|
175
175
|
}
|
|
176
176
|
.kd-switch-checked.kd-switch-disabled {
|
|
177
|
-
|
|
177
|
+
background-color: var(--kd-c-switch-color-on-background-disabled, var(--kd-g-color-theme-4, #b5cfff));
|
|
178
178
|
}
|
|
179
179
|
.kd-switch-checked .kd-switch-inner {
|
|
180
180
|
margin: var(--kd-c-switch-inner-spacing-margin-checked, 0 17px 0 5px);
|
|
@@ -183,19 +183,19 @@
|
|
|
183
183
|
margin: var(--kd-c-switch-inner-spacing-margin-large-checked, 0 21px 0 5px);
|
|
184
184
|
}
|
|
185
185
|
.kd-switch-size-small {
|
|
186
|
-
height: var(--kd-c-switch-small-sizing-height,
|
|
187
|
-
min-width: var(--kd-c-switch-small-sizing-width,
|
|
186
|
+
height: var(--kd-c-switch-small-sizing-height, 16px);
|
|
187
|
+
min-width: var(--kd-c-switch-small-sizing-width, 32px);
|
|
188
188
|
line-height: var(--kd-c-switch-small-line-height, 14px);
|
|
189
189
|
font-size: var(--kd-c-switch-small-font-size, var(--kd-g-font-size-small, 12px));
|
|
190
|
-
border-radius: var(--kd-c-switch-small-radius-border,
|
|
190
|
+
border-radius: var(--kd-c-switch-small-radius-border, 8px);
|
|
191
191
|
}
|
|
192
192
|
.kd-switch-size-small::after {
|
|
193
|
-
width: calc(var(--kd-c-switch-small-sizing-height,
|
|
194
|
-
height: calc(var(--kd-c-switch-small-sizing-height,
|
|
193
|
+
width: calc(var(--kd-c-switch-small-sizing-height, 16px) - 2px);
|
|
194
|
+
height: calc(var(--kd-c-switch-small-sizing-height, 16px) - 2px);
|
|
195
195
|
}
|
|
196
196
|
.kd-switch-size-small .kd-switch-loading-icon {
|
|
197
|
-
width: calc(var(--kd-c-switch-small-sizing-height,
|
|
198
|
-
height: calc(var(--kd-c-switch-small-sizing-height,
|
|
197
|
+
width: calc(var(--kd-c-switch-small-sizing-height, 16px) - 2px);
|
|
198
|
+
height: calc(var(--kd-c-switch-small-sizing-height, 16px) - 2px);
|
|
199
199
|
}
|
|
200
200
|
.kd-switch-size-large {
|
|
201
201
|
height: var(--kd-c-switch-large-sizing-height, 20px);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&-disabled {
|
|
35
|
-
background-color: @switch-disabled-bg;
|
|
35
|
+
background-color: @switch-off-disabled-bg;
|
|
36
36
|
cursor: not-allowed;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.@{switch-prefix-cls}-disabled {
|
|
56
|
-
|
|
56
|
+
background-color: @switch-on-disabled-bg;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.@{switch-prefix-cls}-inner {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@switch-prefix: '--@{kd-prefix}-c-switch';
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
// color
|
|
7
|
-
@switch-on-color: var(~'@{switch-prefix}-color-on', @color-theme);
|
|
8
|
-
@switch-off-color: var(~'@{switch-prefix}-color-off', #
|
|
9
|
-
@switch-disabled-bg: var(~'@{switch-prefix}-color-background-disabled', @color-
|
|
6
|
+
@switch-on-color: var(~'@{switch-prefix}-color-on', @color-theme-6);
|
|
7
|
+
@switch-off-color: var(~'@{switch-prefix}-color-off', #B2B2B2);
|
|
8
|
+
@switch-on-disabled-bg: var(~'@{switch-prefix}-color-on-background-disabled', @color-theme-4);
|
|
9
|
+
@switch-off-disabled-bg: var(~'@{switch-prefix}-color-off-background-disabled', #D9D9D9);
|
|
10
10
|
@switch-loading-color: var(~'@{switch-prefix}-color-loading', @color-ongoing);
|
|
11
11
|
@switch-font-color: var(~'@{switch-prefix}-color-font', @color-white);
|
|
12
12
|
|
|
@@ -15,19 +15,16 @@
|
|
|
15
15
|
@switch-large-font-size: var(~'@{switch-prefix}-large-font-size', @font-size-small);
|
|
16
16
|
@switch-inner-small-font-size: var(~'@{switch-prefix}-inner-font-size-small', @font-size-small);
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
// line-height
|
|
20
19
|
@switch-large-line-height: var(~'@{switch-prefix}-large-line-height', 20px);
|
|
21
20
|
@switch-small-line-height: var(~'@{switch-prefix}-small-line-height', 14px);
|
|
22
21
|
|
|
23
|
-
|
|
24
22
|
//radius
|
|
25
|
-
@switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border',
|
|
26
|
-
|
|
23
|
+
@switch-small-border-radius: var(~'@{switch-prefix}-small-radius-border', 8px);
|
|
27
24
|
|
|
28
25
|
// sizing
|
|
29
|
-
@switch-small-height: var(~'@{switch-prefix}-small-sizing-height',
|
|
30
|
-
@switch-small-min-width: var(~'@{switch-prefix}-small-sizing-width',
|
|
26
|
+
@switch-small-height: var(~'@{switch-prefix}-small-sizing-height', 16px);
|
|
27
|
+
@switch-small-min-width: var(~'@{switch-prefix}-small-sizing-width', 32px);
|
|
31
28
|
@switch-large-height: var(~'@{switch-prefix}-large-sizing-height', 20px);
|
|
32
29
|
@switch-large-min-width: var(~'@{switch-prefix}-large-sizing-width', 40px);
|
|
33
30
|
@switch-large-border-radius: var(~'@{switch-prefix}-large-sizing-border-radius', 10px);
|
package/lib/_utils/usePopper.js
CHANGED
|
@@ -490,7 +490,6 @@ function usePopper(locatorElement, popperElement, props) {
|
|
|
490
490
|
}
|
|
491
491
|
}, [disabled, exist, onTrigger, visible]);
|
|
492
492
|
var hidePopper = (0, _react.useCallback)(function () {
|
|
493
|
-
setEvType('');
|
|
494
493
|
props.visible === undefined && setVisible(false);
|
|
495
494
|
onVisibleChange && onVisibleChange(false);
|
|
496
495
|
}, [onVisibleChange, props.visible]);
|
package/lib/anchor/anchor.js
CHANGED
|
@@ -364,12 +364,6 @@ var InternalAnchor = function InternalAnchor(props, ref) {
|
|
|
364
364
|
var handleVisibleChange = function handleVisibleChange(visible) {
|
|
365
365
|
!isLocked && onVisibleChange && onVisibleChange(visible);
|
|
366
366
|
if (props.visible !== undefined) return;
|
|
367
|
-
|
|
368
|
-
if (visible) {
|
|
369
|
-
setOptionShow(visible);
|
|
370
|
-
return;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
367
|
!isLocked && setOptionShow(visible);
|
|
374
368
|
};
|
|
375
369
|
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
overflow: hidden;
|
|
181
181
|
white-space: nowrap;
|
|
182
182
|
text-overflow: ellipsis;
|
|
183
|
-
padding: 0
|
|
183
|
+
padding: 0 4px;
|
|
184
184
|
line-height: 1.5;
|
|
185
185
|
vertical-align: middle;
|
|
186
186
|
}
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
}
|
|
195
195
|
.kd-anchor-advanced-arrows {
|
|
196
196
|
color: var(--kd-c-anchor-advanced-arrows-color-text, #666);
|
|
197
|
-
font-size: var(--kd-c-anchor-
|
|
197
|
+
font-size: var(--kd-c-anchor-advanced-arrows-font-size, 24px);
|
|
198
198
|
cursor: pointer;
|
|
199
199
|
}
|
|
200
200
|
.kd-anchor-advanced-arrows:hover {
|
|
@@ -257,6 +257,9 @@
|
|
|
257
257
|
.kd-anchor-link {
|
|
258
258
|
padding: var(--kd-c-anchor-spacing-padding, 7px 8px);
|
|
259
259
|
}
|
|
260
|
+
.kd-anchor-link > .kd-anchor-link {
|
|
261
|
+
padding: var(--kd-c-anchor-secondary-spacing-padding, 12px 8px);
|
|
262
|
+
}
|
|
260
263
|
.kd-anchor-link-title {
|
|
261
264
|
text-decoration: none;
|
|
262
265
|
color: var(--kd-c-anchor-color-text-primary, var(--kd-g-color-text-primary, #212121));
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
overflow: hidden;
|
|
73
73
|
white-space: nowrap;
|
|
74
74
|
text-overflow: ellipsis;
|
|
75
|
-
padding: 0
|
|
75
|
+
padding: 0 4px;
|
|
76
76
|
line-height: 1.5;
|
|
77
77
|
vertical-align: middle;
|
|
78
78
|
}
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
&-advanced-arrows {
|
|
92
92
|
color: @anchor-advanced-arrows-color;
|
|
93
|
-
font-size: @anchor-
|
|
93
|
+
font-size: @anchor-advanced-arrows-font-size;
|
|
94
94
|
cursor: pointer;
|
|
95
95
|
&:hover {
|
|
96
96
|
color: @anchor-color-theme;
|
|
@@ -154,6 +154,10 @@
|
|
|
154
154
|
&-link {
|
|
155
155
|
padding: @anchor-link-padding;
|
|
156
156
|
|
|
157
|
+
&>.@{anchor-prefix-cls}-link {
|
|
158
|
+
padding: @anchor-link-secondary-padding;
|
|
159
|
+
}
|
|
160
|
+
|
|
157
161
|
&-title {
|
|
158
162
|
text-decoration: none;
|
|
159
163
|
color: @anchor-primary-text-color;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
@anchor-link-top: var(~'@{anchor-prefix}-spacing-vertical', 7px);
|
|
20
20
|
@anchor-link-left: var(~'@{anchor-prefix}-spacing-horizontal', 7px);
|
|
21
21
|
@anchor-link-padding: var(~'@{anchor-prefix}-spacing-padding', 7px 8px);
|
|
22
|
+
@anchor-link-secondary-padding: var(~'@{anchor-prefix}-secondary-spacing-padding', 12px 8px);
|
|
22
23
|
@anchor-advanced-padding-top: var(~'@{anchor-prefix}-advanced-spacing-padding-top', 8px);
|
|
23
24
|
@anchor-advanced-padding-bottom: var(~'@{anchor-prefix}-advanced-spacing-padding-bottom', 7px);
|
|
24
25
|
@anchor-ink-line-width: var(~'@{anchor-prefix}-ink-line-spacing-width', 1px);
|
|
@@ -28,6 +29,6 @@
|
|
|
28
29
|
@anchor-advanced-lock-size: var(~'@{anchor-prefix}-advanced-lock-font-size', 16px);
|
|
29
30
|
@anchor-font-size: var(~'@{anchor-prefix}-font-size', @font-size-small);
|
|
30
31
|
@anchor-icon-font-size: var(~'@{anchor-prefix}-icon-font-size', 16px);
|
|
31
|
-
|
|
32
|
+
@anchor-advanced-arrows-font-size: var(~'@{anchor-prefix}-advanced-arrows-font-size', 24px);
|
|
32
33
|
// motion
|
|
33
34
|
@anchor-transition-duration: var(~'@{anchor-prefix}-duration-duration', @duration-promptly);
|
package/lib/button/button.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const ButtonTypes: ["second", "primary", "ghost", "text"];
|
|
|
3
3
|
export declare type ButtonType = typeof ButtonTypes[number];
|
|
4
4
|
export declare const ButtonSizes: ["large", "middle", "small"];
|
|
5
5
|
export declare type ButtonSize = typeof ButtonSizes[number];
|
|
6
|
-
export declare const ButtonShapes: ["circle", "round"];
|
|
6
|
+
export declare const ButtonShapes: ["circle", "round", "none"];
|
|
7
7
|
export declare type ButtonShape = typeof ButtonShapes[number];
|
|
8
8
|
export declare const ButtonIconPlaces: ["left", "right"];
|
|
9
9
|
export declare type ButtonIconPlace = typeof ButtonIconPlaces[number];
|