@kdcloudjs/kdesign 1.6.14 → 1.6.15
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 +26 -0
- package/dist/kdesign-complete.less +305 -239
- package/dist/kdesign.css +73 -5
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +536 -227
- 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.d.ts +1 -0
- package/es/_utils/usePopper.js +3 -1
- package/es/button/button.js +1 -1
- package/es/button/style/index.css +3 -0
- package/es/button/style/index.less +4 -0
- package/es/button/style/token.less +1 -0
- package/es/carousel/carousel.d.ts +1 -0
- package/es/carousel/carousel.js +66 -3
- package/es/carousel/style/index.css +39 -0
- package/es/carousel/style/index.less +40 -0
- package/es/carousel/style/token.less +2 -0
- package/es/config-provider/compDefaultProps.d.ts +1 -0
- package/es/config-provider/compDefaultProps.js +2 -1
- package/es/form/Field.js +7 -1
- package/es/form/FieldContext.js +1 -0
- package/es/form/hooks/useForm.js +14 -20
- package/es/form/interface.d.ts +1 -0
- package/es/image/preview.d.ts +1 -0
- package/es/image/preview.js +31 -6
- package/es/input/style/index.css +4 -3
- package/es/input/style/index.less +230 -227
- package/es/input/style/token.less +11 -12
- package/es/modal/modal.js +4 -8
- package/es/modal/style/index.css +7 -0
- package/es/modal/style/index.less +8 -0
- package/es/select/select.js +11 -8
- package/es/style/core/motion/other.less +9 -0
- package/es/style/icon/kdicon.css +3 -1
- package/es/style/icon/kdicon.woff +0 -0
- package/es/style/index.css +16 -0
- package/es/table/interface.d.ts +1 -0
- package/es/tooltip/tooltip.d.ts +1 -1
- package/es/tooltip/tooltip.js +10 -2
- package/es/tree/tree.d.ts +8 -0
- package/es/tree/tree.js +32 -17
- package/es/tree/treeHooks.d.ts +3 -3
- package/es/tree/treeHooks.js +7 -7
- package/es/tree/utils/treeUtils.d.ts +19 -6
- package/es/tree/utils/treeUtils.js +183 -33
- package/lib/_utils/usePopper.d.ts +1 -0
- package/lib/_utils/usePopper.js +3 -1
- package/lib/button/button.js +1 -1
- package/lib/button/style/index.css +3 -0
- package/lib/button/style/index.less +4 -0
- package/lib/button/style/token.less +1 -0
- package/lib/carousel/carousel.d.ts +1 -0
- package/lib/carousel/carousel.js +69 -2
- package/lib/carousel/style/index.css +39 -0
- package/lib/carousel/style/index.less +40 -0
- package/lib/carousel/style/token.less +2 -0
- package/lib/config-provider/compDefaultProps.d.ts +1 -0
- package/lib/config-provider/compDefaultProps.js +2 -1
- package/lib/form/Field.js +7 -1
- package/lib/form/FieldContext.js +1 -0
- package/lib/form/hooks/useForm.js +13 -20
- package/lib/form/interface.d.ts +1 -0
- package/lib/image/preview.d.ts +1 -0
- package/lib/image/preview.js +31 -6
- package/lib/input/style/index.css +4 -3
- package/lib/input/style/index.less +230 -227
- package/lib/input/style/token.less +11 -12
- package/lib/modal/modal.js +4 -8
- package/lib/modal/style/index.css +7 -0
- package/lib/modal/style/index.less +8 -0
- package/lib/select/select.js +11 -11
- package/lib/style/core/motion/other.less +9 -0
- package/lib/style/icon/kdicon.css +3 -1
- package/lib/style/icon/kdicon.woff +0 -0
- package/lib/style/index.css +16 -0
- package/lib/table/interface.d.ts +1 -0
- package/lib/tooltip/tooltip.d.ts +1 -1
- package/lib/tooltip/tooltip.js +16 -5
- package/lib/tree/tree.d.ts +8 -0
- package/lib/tree/tree.js +30 -16
- package/lib/tree/treeHooks.d.ts +3 -3
- package/lib/tree/treeHooks.js +6 -6
- package/lib/tree/utils/treeUtils.d.ts +19 -6
- package/lib/tree/utils/treeUtils.js +193 -33
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## [1.6.14](https://github.com/kdcloudone/kdesign/compare/v1.6.13...v1.6.14) (2022-11-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [date-picker]修复className、placeholder及onChange问题 ([4819147](https://github.com/kdcloudone/kdesign/commit/481914744857f13d2363ed6c1a8d47ca68c217aa))
|
|
7
|
+
* [form]修复校验及监听事件失效问题 ([8e0b0a4](https://github.com/kdcloudone/kdesign/commit/8e0b0a4a1151c852e3b1a6396d07ab3b80c60b81))
|
|
8
|
+
* [icon] 修复props传值问题 ([6b36736](https://github.com/kdcloudone/kdesign/commit/6b367365be0283a80c87650c910b580aa8c62e1c))
|
|
9
|
+
* [message] 更新api文档 ([57f0d21](https://github.com/kdcloudone/kdesign/commit/57f0d218307483c8d479ff62f0e969e38b974419))
|
|
10
|
+
* [select] 调整选择器有边框时光标位置 ([71c6cdf](https://github.com/kdcloudone/kdesign/commit/71c6cdfac64fc86bf980e3e3e5bb5d325f336808))
|
|
11
|
+
* [select] 新增select token ([e06f2a8](https://github.com/kdcloudone/kdesign/commit/e06f2a80c6fa17c12f9958d4268ca31b650bc983))
|
|
12
|
+
* [table] 修复表格demo拖拽列排序问题 ([58f464e](https://github.com/kdcloudone/kdesign/commit/58f464e2d13522f0935d4dabd0c16e16548ac9f6))
|
|
13
|
+
* [tooltip] 添加控制浮层箭头显示的属性arrow ([380d22e](https://github.com/kdcloudone/kdesign/commit/380d22ec53d25c3146f662bcf10ffef8082049b8))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.6.13](https://github.com/kdcloudone/kdesign/compare/v1.6.12...v1.6.13) (2022-11-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* [button] 修复ts报错以及size不生效的问题 ([1864c80](https://github.com/kdcloudone/kdesign/commit/1864c80c1b469de6093b2115cf00ec848aa4dd1c))
|
|
23
|
+
* [cli] 修复自动化构建报错问题 ([18142f4](https://github.com/kdcloudone/kdesign/commit/18142f46c7c7173299e59a39e2f73a41849bed27))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
1
27
|
## [1.6.12](https://github.com/kdcloudone/kdesign/compare/v1.6.11...v1.6.12) (2022-11-03)
|
|
2
28
|
|
|
3
29
|
|
|
@@ -1115,6 +1115,10 @@
|
|
|
1115
1115
|
padding: 0;
|
|
1116
1116
|
min-width: auto;
|
|
1117
1117
|
|
|
1118
|
+
.@{btn-prefix-cls}-iconWrapper-left {
|
|
1119
|
+
margin-right: @btn-text-icon-margin-right;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1118
1122
|
&:hover {
|
|
1119
1123
|
color: @btn-text-g-text-color-hover;
|
|
1120
1124
|
}
|
|
@@ -1415,6 +1419,7 @@
|
|
|
1415
1419
|
@btn-large-padding-horizontal: var(~'@{button-custom-prefix}-spacing-padding-horizontal-large', 8px); // 大号 内间距 横向
|
|
1416
1420
|
@btn-group-dropdown-item-horizontal: var(~'@{button-custom-prefix}-group-dropdown-item-horizonta', 12px);
|
|
1417
1421
|
@btn-icon-padding-horizontal: var(~'@{button-custom-prefix}-icon-spacing-padding-horizontal', 4px);
|
|
1422
|
+
@btn-text-icon-margin-right: var(~'@{button-custom-prefix}-text-icon-spacing-margin-right', 4px);
|
|
1418
1423
|
|
|
1419
1424
|
|
|
1420
1425
|
|
|
@@ -1697,6 +1702,46 @@
|
|
|
1697
1702
|
}
|
|
1698
1703
|
}
|
|
1699
1704
|
}
|
|
1705
|
+
|
|
1706
|
+
&-jump {
|
|
1707
|
+
position: absolute;
|
|
1708
|
+
top: 50%;
|
|
1709
|
+
left: unset;
|
|
1710
|
+
right: 16px;
|
|
1711
|
+
transform: translateY(-50%);
|
|
1712
|
+
|
|
1713
|
+
&-left {
|
|
1714
|
+
left: 16px;
|
|
1715
|
+
right: unset;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
&:not(.@{carousel-prefix-cls}-jump-disabled) {
|
|
1719
|
+
cursor: pointer;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
> *:first-child {
|
|
1723
|
+
display: flex;
|
|
1724
|
+
align-items: center;
|
|
1725
|
+
justify-content: center;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
&-icon {
|
|
1729
|
+
font-size: 20px;
|
|
1730
|
+
color: @carousel-jump-icon-color;
|
|
1731
|
+
|
|
1732
|
+
&:hover {
|
|
1733
|
+
color: @carousel-jump-icon-color-hover;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
&-disabled {
|
|
1738
|
+
cursor: not-allowed;
|
|
1739
|
+
|
|
1740
|
+
.@{carousel-prefix-cls}-jump-icon:hover {
|
|
1741
|
+
color: @carousel-jump-icon-color;
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1700
1745
|
}
|
|
1701
1746
|
.vertical {
|
|
1702
1747
|
display: flex;
|
|
@@ -1729,6 +1774,8 @@
|
|
|
1729
1774
|
// color
|
|
1730
1775
|
@carousel-dots-color-background: var(~'@{carousel-prefix}-dots-color-background', #D8D8D8); // 面板指示点的背景色
|
|
1731
1776
|
@carousel-dots-color-background-active: var(~'@{carousel-prefix}-dots-color-hover', #666666); // 面板指示点的背景色
|
|
1777
|
+
@carousel-jump-icon-color: var(~'@{carousel-prefix}-jump-icon-color', #D9D9D9);
|
|
1778
|
+
@carousel-jump-icon-color-hover: var(~'@{carousel-prefix}-jump-icon-color-hover', #666666);
|
|
1732
1779
|
|
|
1733
1780
|
// radius
|
|
1734
1781
|
@carousel-dots-boder-radius: var(~'@{carousel-prefix}-dots-border-radius', 2px); // 面板指示点的圆角
|
|
@@ -5012,260 +5059,263 @@
|
|
|
5012
5059
|
@input-prefix-cls: ~'@{kd-prefix}-input';
|
|
5013
5060
|
@wrapper-prefix-cls: ~'@{input-prefix-cls}-wrapper';
|
|
5014
5061
|
|
|
5015
|
-
|
|
5016
5062
|
textarea {
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5063
|
+
margin: 0;
|
|
5064
|
+
padding: 0;
|
|
5065
|
+
color: inherit;
|
|
5066
|
+
font-size: inherit;
|
|
5067
|
+
font-family: inherit;
|
|
5068
|
+
line-height: inherit;
|
|
5069
|
+
-webkit-appearance: none;
|
|
5070
|
+
overflow: auto;
|
|
5071
|
+
resize: vertical;
|
|
5026
5072
|
}
|
|
5027
5073
|
.@{input-prefix-cls} {
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5074
|
+
.input(@input-prefix-cls);
|
|
5075
|
+
transition: border-color @transition-duration-inner;
|
|
5076
|
+
&-countWrapper {
|
|
5077
|
+
position: relative;
|
|
5078
|
+
display: inline-block;
|
|
5079
|
+
width: 100%;
|
|
5080
|
+
}
|
|
5081
|
+
&-textarea {
|
|
5082
|
+
.input(@input-prefix-cls);
|
|
5083
|
+
transition: border-color @transition-duration-inner;
|
|
5084
|
+
max-width: 100%;
|
|
5085
|
+
height: auto;
|
|
5086
|
+
vertical-align: bottom;
|
|
5087
|
+
&-mark {
|
|
5088
|
+
position: absolute;
|
|
5089
|
+
right: 0;
|
|
5090
|
+
top: ~'calc(100% + 1px)';
|
|
5091
|
+
z-index: 1;
|
|
5092
|
+
color: @input-placeholder-color-inner;
|
|
5093
|
+
font-size: @input-small-font-size-inner;
|
|
5048
5094
|
line-height: 18px;
|
|
5049
5095
|
background-color: #fff;
|
|
5050
|
-
|
|
5096
|
+
}
|
|
5051
5097
|
&-mark-inner {
|
|
5052
5098
|
top: auto;
|
|
5053
5099
|
bottom: 5px;
|
|
5054
5100
|
right: 8px;
|
|
5055
5101
|
}
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5102
|
+
}
|
|
5103
|
+
&-no-resize {
|
|
5104
|
+
resize: none;
|
|
5105
|
+
}
|
|
5106
|
+
&-borderless {
|
|
5107
|
+
border: 0;
|
|
5108
|
+
padding-left: 0 !important;
|
|
5109
|
+
&:focus {
|
|
5110
|
+
border: 0;
|
|
5111
|
+
}
|
|
5112
|
+
}
|
|
5113
|
+
&-underline {
|
|
5114
|
+
border: none;
|
|
5115
|
+
border-bottom: 1px solid @input-color-border;
|
|
5116
|
+
border-radius: 0;
|
|
5117
|
+
padding-left: 0 !important;
|
|
5118
|
+
}
|
|
5119
|
+
&-disabled {
|
|
5120
|
+
background-color: @input-background-color-disabled-inner;
|
|
5121
|
+
border-color: @input-border-color-disabled-inner;
|
|
5076
5122
|
color: @input-affix-color;
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5123
|
+
cursor: not-allowed;
|
|
5124
|
+
}
|
|
5125
|
+
&-underline&-disabled {
|
|
5080
5126
|
color: @input-color-disabled-inner;
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5127
|
+
background-color: @input-background-color-inner;
|
|
5128
|
+
border-color: @input-underline-border-color-disabled-inner;
|
|
5129
|
+
}
|
|
5130
|
+
&-size-small {
|
|
5131
|
+
.input-size(@input-small-height-inner, @input-small-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
5132
|
+
}
|
|
5133
|
+
&-size-middle {
|
|
5134
|
+
.input-size(@input-middle-height-inner, @input-middle-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
5135
|
+
}
|
|
5136
|
+
&-size-large {
|
|
5137
|
+
.input-size(@input-large-height-inner, @input-large-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
5138
|
+
}
|
|
5139
|
+
&-wrapper {
|
|
5140
|
+
padding-left: @input-wrapper-padding-left !important;
|
|
5141
|
+
.input(@wrapper-prefix-cls);
|
|
5142
|
+
transition: border-color @transition-duration-inner;
|
|
5143
|
+
display: inline-flex;
|
|
5144
|
+
position: relative;
|
|
5145
|
+
padding-top: 0 !important;
|
|
5146
|
+
padding-bottom: 0 !important;
|
|
5147
|
+
overflow: hidden;
|
|
5148
|
+
.@{input-prefix-cls} {
|
|
5149
|
+
border: none;
|
|
5150
|
+
padding-left: @input-padding-left;
|
|
5151
|
+
padding-right: 0;
|
|
5152
|
+
height: 100%;
|
|
5153
|
+
&-suffix,
|
|
5154
|
+
&-prefix {
|
|
5155
|
+
display: flex;
|
|
5156
|
+
flex: 0;
|
|
5157
|
+
align-items: center;
|
|
5158
|
+
justify-content: center;
|
|
5159
|
+
word-break: keep-all;
|
|
5112
5160
|
color: @input-affix-color;
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5161
|
+
}
|
|
5162
|
+
&-suffix {
|
|
5163
|
+
margin-left: 4px;
|
|
5164
|
+
}
|
|
5165
|
+
&-prefix {
|
|
5166
|
+
margin-right: 4px;
|
|
5167
|
+
}
|
|
5168
|
+
}
|
|
5169
|
+
&-size-small {
|
|
5170
|
+
.input-size(@input-small-height-inner, @input-small-font-size-inner, @input-small-padding-vertical-inner, @input-small-padding-horizontal-inner);
|
|
5171
|
+
}
|
|
5172
|
+
&-size-middle {
|
|
5173
|
+
.input-size(@input-middle-height-inner, @input-middle-font-size-inner, @input-small-padding-vertical-inner, @input-middle-padding-horizontal-inner);
|
|
5174
|
+
}
|
|
5175
|
+
&-size-large {
|
|
5176
|
+
.input-size(@input-large-height-inner, @input-large-font-size-inner, @input-small-padding-vertical-inner, @input-large-padding-horizontal-inner);
|
|
5177
|
+
}
|
|
5178
|
+
&-borderless {
|
|
5179
|
+
.border-less;
|
|
5180
|
+
}
|
|
5181
|
+
&-underline {
|
|
5182
|
+
.underline;
|
|
5183
|
+
}
|
|
5136
5184
|
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5185
|
+
&-focused {
|
|
5186
|
+
border-color: @input-border-color-focused;
|
|
5187
|
+
}
|
|
5140
5188
|
|
|
5141
5189
|
&-disabled {
|
|
5142
5190
|
background-color: @input-background-color-disabled-inner;
|
|
5143
5191
|
border-color: @input-border-color-disabled-inner;
|
|
5144
5192
|
cursor: not-allowed;
|
|
5145
5193
|
|
|
5146
|
-
.@{input-prefix-cls}-suffix,
|
|
5194
|
+
.@{input-prefix-cls}-suffix,
|
|
5195
|
+
.@{input-prefix-cls}-prefix {
|
|
5147
5196
|
color: @input-color-disabled-inner;
|
|
5148
5197
|
}
|
|
5149
5198
|
}
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5199
|
+
}
|
|
5200
|
+
&-wrapper-textarea {
|
|
5201
|
+
.input(@input-prefix-cls);
|
|
5202
|
+
border: none !important;
|
|
5203
|
+
padding: 0 !important;
|
|
5204
|
+
position: relative;
|
|
5205
|
+
display: inline-block;
|
|
5206
|
+
.@{input-prefix-cls} {
|
|
5207
|
+
&-textarea-clear-icon {
|
|
5208
|
+
position: absolute;
|
|
5160
5209
|
z-index: 2;
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5210
|
+
right: 8px;
|
|
5211
|
+
top: 3px;
|
|
5212
|
+
}
|
|
5213
|
+
}
|
|
5214
|
+
}
|
|
5215
|
+
&-clear-icon,
|
|
5216
|
+
&-textarea-clear-icon {
|
|
5217
|
+
.input-clear-icon;
|
|
5218
|
+
}
|
|
5219
|
+
&-clear-icon-hidden {
|
|
5220
|
+
visibility: hidden;
|
|
5221
|
+
}
|
|
5222
|
+
&-clear-icon-rightSpace {
|
|
5223
|
+
margin-right: 4px;
|
|
5224
|
+
}
|
|
5175
5225
|
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5226
|
+
&-group-wrapper {
|
|
5227
|
+
display: inline-block;
|
|
5228
|
+
width: 100%;
|
|
5229
|
+
text-align: start;
|
|
5230
|
+
vertical-align: top;
|
|
5231
|
+
.@{input-prefix-cls} {
|
|
5232
|
+
&-group {
|
|
5233
|
+
box-sizing: border-box;
|
|
5234
|
+
margin: 0;
|
|
5235
|
+
padding: 0;
|
|
5236
|
+
color: rgba(0, 0, 0, 0.85);
|
|
5237
|
+
font-size: 14px;
|
|
5238
|
+
font-variant: tabular-nums;
|
|
5239
|
+
// line-height: 1.5715;
|
|
5240
|
+
list-style: none;
|
|
5241
|
+
font-feature-settings: 'tnum';
|
|
5242
|
+
position: relative;
|
|
5243
|
+
display: flex;
|
|
5244
|
+
width: 100%;
|
|
5245
|
+
border-collapse: separate;
|
|
5246
|
+
border-spacing: 0;
|
|
5247
|
+
& > .@{input-prefix-cls}-wrapper {
|
|
5248
|
+
&:not(:first-child):not(:last-child) {
|
|
5249
|
+
border-radius: 0;
|
|
5250
|
+
}
|
|
5251
|
+
&:first-child:not(:last-child) {
|
|
5252
|
+
border-top-right-radius: 0;
|
|
5253
|
+
border-bottom-right-radius: 0;
|
|
5254
|
+
}
|
|
5255
|
+
&:not(:first-child):last-child {
|
|
5256
|
+
border-top-left-radius: 0;
|
|
5257
|
+
border-bottom-left-radius: 0;
|
|
5258
|
+
}
|
|
5259
|
+
}
|
|
5260
|
+
.@{input-prefix-cls}-group-addon {
|
|
5261
|
+
position: relative;
|
|
5262
|
+
color: @input-affix-color;
|
|
5263
|
+
padding: 0 9px;
|
|
5264
|
+
font-weight: 400;
|
|
5265
|
+
font-size: 14px;
|
|
5266
|
+
text-align: center;
|
|
5267
|
+
border: 1px solid @input-border-color-disabled-inner;
|
|
5268
|
+
border-radius: @input-border-radius-inner;
|
|
5269
|
+
white-space: nowrap;
|
|
5270
|
+
box-sizing: border-box;
|
|
5271
|
+
display: flex;
|
|
5272
|
+
align-items: center;
|
|
5273
|
+
height: @input-middle-height-inner;
|
|
5274
|
+
&:first-child {
|
|
5275
|
+
border-top-right-radius: 0;
|
|
5276
|
+
border-bottom-right-radius: 0;
|
|
5277
|
+
border-right: none;
|
|
5278
|
+
}
|
|
5279
|
+
&:last-child {
|
|
5280
|
+
border-top-left-radius: 0;
|
|
5281
|
+
border-bottom-left-radius: 0;
|
|
5282
|
+
border-left: none;
|
|
5283
|
+
}
|
|
5284
|
+
|
|
5285
|
+
&-borderless {
|
|
5286
|
+
.border-less;
|
|
5287
|
+
}
|
|
5288
|
+
&-underline {
|
|
5289
|
+
.underline;
|
|
5290
|
+
}
|
|
5291
|
+
&-disabled {
|
|
5292
|
+
background-color: @input-background-color-disabled-inner;
|
|
5293
|
+
border-color: @input-border-color-disabled-inner;
|
|
5244
5294
|
color: @input-color-disabled-inner;
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5295
|
+
cursor: not-allowed;
|
|
5296
|
+
}
|
|
5297
|
+
}
|
|
5298
|
+
}
|
|
5299
|
+
&-group-size-small {
|
|
5300
|
+
.@{input-prefix-cls}-group-addon {
|
|
5301
|
+
height: @input-small-height-inner;
|
|
5302
|
+
}
|
|
5303
|
+
}
|
|
5304
|
+
&-group-middle-small {
|
|
5305
|
+
.@{input-prefix-cls}-group-addon {
|
|
5306
|
+
height: @input-middle-height-inner;
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
&-group-large-small {
|
|
5310
|
+
.@{input-prefix-cls}-group-addon {
|
|
5311
|
+
height: @input-large-height-inner;
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
&-allowClear-spacing {
|
|
5317
|
+
padding-right: 20px;
|
|
5318
|
+
}
|
|
5269
5319
|
}
|
|
5270
5320
|
|
|
5271
5321
|
|
|
@@ -5345,7 +5395,6 @@ textarea {
|
|
|
5345
5395
|
|
|
5346
5396
|
@input-prefix: '--@{kd-prefix}-c-input';
|
|
5347
5397
|
|
|
5348
|
-
|
|
5349
5398
|
// color
|
|
5350
5399
|
@input-font-color-inner: var(~'@{input-prefix}-color-text', @color-text-primary);
|
|
5351
5400
|
@input-placeholder-color-inner: var(~'@{input-prefix}-placeholder-color-text', @color-text-placeholder);
|
|
@@ -5353,10 +5402,16 @@ textarea {
|
|
|
5353
5402
|
@input-clear-color: var(~'@{input-prefix}-clear-color', #d9d9d9);
|
|
5354
5403
|
@input-clear-color-hover: var(~'@{input-prefix}-clear-color-hover', #999);
|
|
5355
5404
|
@input-background-color-inner: var(~'@{input-prefix}-color-background', @color-white);
|
|
5356
|
-
@input-background-color-disabled-inner: var(
|
|
5405
|
+
@input-background-color-disabled-inner: var(
|
|
5406
|
+
~'@{input-prefix}-color-background-disabled',
|
|
5407
|
+
@color-background-contain-disabled
|
|
5408
|
+
);
|
|
5357
5409
|
@input-border-color-focused: var(~'@{input-prefix}-color-border-focused', @color-theme);
|
|
5358
5410
|
@input-border-color-disabled-inner: var(~'@{input-prefix}-color-border-disabled', @color-border-strong);
|
|
5359
|
-
@input-underline-border-color-disabled-inner: var(
|
|
5411
|
+
@input-underline-border-color-disabled-inner: var(
|
|
5412
|
+
~'@{input-prefix}-underline-color-border-disabled',
|
|
5413
|
+
@color-border-weak
|
|
5414
|
+
);
|
|
5360
5415
|
@input-color-disabled-inner: var(~'@{input-prefix}-color-disabled', @color-disabled);
|
|
5361
5416
|
@input-affix-color: var(~'@{input-prefix}-affix-color-text', #666);
|
|
5362
5417
|
|
|
@@ -5376,6 +5431,8 @@ textarea {
|
|
|
5376
5431
|
@input-middle-height-inner: var(~'@{input-prefix}-sizing-height-middle', 30px);
|
|
5377
5432
|
@input-large-height-inner: var(~'@{input-prefix}-sizing-height-large', 36px);
|
|
5378
5433
|
@input-border-width-inner: var(~'@{input-prefix}-sizing-border', 1px);
|
|
5434
|
+
@input-wrapper-padding-left: var(~'@{input-prefix}-wrapper-padding-left', 0px);
|
|
5435
|
+
@input-padding-left: var(~'@{input-prefix}-padding-left', 9px);
|
|
5379
5436
|
|
|
5380
5437
|
// spacing
|
|
5381
5438
|
@input-small-padding-vertical-inner: var(~'@{input-prefix}-spacing-padding-vertical-small', 3px);
|
|
@@ -5387,14 +5444,6 @@ textarea {
|
|
|
5387
5444
|
|
|
5388
5445
|
|
|
5389
5446
|
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
5447
|
@inputNumber-prefix-cls: ~'@{kd-prefix}-inputNumber';
|
|
5399
5448
|
.@{inputNumber-prefix-cls} {
|
|
5400
5449
|
&-baseStep {
|
|
@@ -6381,6 +6430,14 @@ textarea {
|
|
|
6381
6430
|
&-container {
|
|
6382
6431
|
position: relative;
|
|
6383
6432
|
z-index: @modal-z-index-dialog;
|
|
6433
|
+
|
|
6434
|
+
&-show {
|
|
6435
|
+
animation: kdModalEffect calc(@transition-duration - 0.1s) @ease both;
|
|
6436
|
+
}
|
|
6437
|
+
|
|
6438
|
+
&-hidden {
|
|
6439
|
+
display: none
|
|
6440
|
+
}
|
|
6384
6441
|
}
|
|
6385
6442
|
&-mask {
|
|
6386
6443
|
.overlay(@modal-mask-color-background, 0);
|
|
@@ -10609,6 +10666,15 @@ textarea {
|
|
|
10609
10666
|
opacity: 0;
|
|
10610
10667
|
}
|
|
10611
10668
|
}
|
|
10669
|
+
|
|
10670
|
+
@keyframes kdModalEffect {
|
|
10671
|
+
0% {
|
|
10672
|
+
opacity: 0;
|
|
10673
|
+
}
|
|
10674
|
+
100% {
|
|
10675
|
+
opacity: 1;
|
|
10676
|
+
}
|
|
10677
|
+
}
|
|
10612
10678
|
.slide-motion(@className, @keyframeName, @componentName, @duration: calc(@transition-duration - 0.1s)) {
|
|
10613
10679
|
.@{className} {
|
|
10614
10680
|
.@{componentName}&-active {
|