@kdcloudjs/kdesign 1.7.25 → 1.7.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/kdesign-complete.less +109 -45
  3. package/dist/kdesign.css +85 -40
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +266 -106
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +3 -3
  8. package/dist/kdesign.min.js +6 -6
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/anchor/style/index.css +1 -1
  11. package/es/anchor/style/index.less +1 -1
  12. package/es/anchor/style/token.less +1 -0
  13. package/es/cascader/cascader.js +64 -32
  14. package/es/cascader/style/index.css +42 -26
  15. package/es/cascader/style/index.less +51 -29
  16. package/es/cascader/style/token.less +5 -3
  17. package/es/city-picker/city-picker.js +104 -13
  18. package/es/city-picker/interface.d.ts +3 -0
  19. package/es/city-picker/option.js +15 -3
  20. package/es/city-picker/style/index.css +22 -10
  21. package/es/city-picker/style/index.less +24 -10
  22. package/es/collapse/panel.js +31 -18
  23. package/es/collapse/style/index.css +4 -1
  24. package/es/collapse/style/index.less +4 -1
  25. package/es/form/Field.d.ts +1 -0
  26. package/es/form/Field.js +5 -3
  27. package/es/form/FieldWrapper.d.ts +1 -0
  28. package/es/form/FieldWrapper.js +13 -5
  29. package/es/form/style/index.css +11 -1
  30. package/es/form/style/index.less +16 -1
  31. package/es/form/style/token.less +1 -0
  32. package/es/select/style/index.css +1 -0
  33. package/es/select/style/index.less +1 -0
  34. package/es/select/style/token.less +1 -0
  35. package/es/tabs/style/index.css +3 -0
  36. package/es/tabs/style/index.less +3 -0
  37. package/es/tabs/style/token.less +1 -0
  38. package/es/tag/tag.d.ts +1 -0
  39. package/es/tree-select/tree-select.js +2 -1
  40. package/lib/anchor/style/index.css +1 -1
  41. package/lib/anchor/style/index.less +1 -1
  42. package/lib/anchor/style/token.less +1 -0
  43. package/lib/cascader/cascader.js +63 -31
  44. package/lib/cascader/style/index.css +42 -26
  45. package/lib/cascader/style/index.less +51 -29
  46. package/lib/cascader/style/token.less +5 -3
  47. package/lib/city-picker/city-picker.js +103 -12
  48. package/lib/city-picker/interface.d.ts +3 -0
  49. package/lib/city-picker/option.js +15 -3
  50. package/lib/city-picker/style/index.css +22 -10
  51. package/lib/city-picker/style/index.less +24 -10
  52. package/lib/collapse/panel.js +32 -19
  53. package/lib/collapse/style/index.css +4 -1
  54. package/lib/collapse/style/index.less +4 -1
  55. package/lib/form/Field.d.ts +1 -0
  56. package/lib/form/Field.js +5 -3
  57. package/lib/form/FieldWrapper.d.ts +1 -0
  58. package/lib/form/FieldWrapper.js +13 -5
  59. package/lib/form/style/index.css +11 -1
  60. package/lib/form/style/index.less +16 -1
  61. package/lib/form/style/token.less +1 -0
  62. package/lib/select/style/index.css +1 -0
  63. package/lib/select/style/index.less +1 -0
  64. package/lib/select/style/token.less +1 -0
  65. package/lib/tabs/style/index.css +3 -0
  66. package/lib/tabs/style/index.less +3 -0
  67. package/lib/tabs/style/token.less +1 -0
  68. package/lib/tag/tag.d.ts +1 -0
  69. package/lib/tree-select/tree-select.js +2 -1
  70. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,50 @@
1
+ ## [1.7.26](https://github.com/kdcloudone/kdesign/compare/v1.7.25...v1.7.26) (2023-09-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [cascader]修复清空时显示问题 fix [#528](https://github.com/kdcloudone/kdesign/issues/528) ([4b1c711](https://github.com/kdcloudone/kdesign/commit/4b1c7110b11a4c9c600348ccc2c4993256ee9552))
7
+ * [cascader]修复disabled问题 fix [#397](https://github.com/kdcloudone/kdesign/issues/397),fix [#398](https://github.com/kdcloudone/kdesign/issues/398) ([91cc162](https://github.com/kdcloudone/kdesign/commit/91cc162a5308d7b9ce863f31f25fd2251861e487))
8
+ * [cascader]修复focus相关api及样式问题 fix [#338](https://github.com/kdcloudone/kdesign/issues/338), fix [#395](https://github.com/kdcloudone/kdesign/issues/395) ([bf255fc](https://github.com/kdcloudone/kdesign/commit/bf255fcbc4e261278ed346c917417af3fc145d45))
9
+ * [cascader]修复hover样式问题 fix [#396](https://github.com/kdcloudone/kdesign/issues/396) ([0c9de4c](https://github.com/kdcloudone/kdesign/commit/0c9de4c867e5328a0ae3ed15408ce36cfbe5a15a))
10
+ * [city-picker] 更新下拉面板视觉规范 fix [#565](https://github.com/kdcloudone/kdesign/issues/565) ([db5ffd4](https://github.com/kdcloudone/kdesign/commit/db5ffd46f220319a973553e17abe82f745187b73))
11
+ * [city-picker] 修复国际版当数据无province时,下拉项无分隔符问题 fix [#567](https://github.com/kdcloudone/kdesign/issues/567) ([0ce1677](https://github.com/kdcloudone/kdesign/commit/0ce1677667ac9bb9c9ff0d5ca2485b682ad23143))
12
+ * [city-picker] 修复受控时将value设置为空字符串,城市选项没清空问题 fix [#569](https://github.com/kdcloudone/kdesign/issues/569) ([7e69ccd](https://github.com/kdcloudone/kdesign/commit/7e69ccd95b099a92a794899f92bd96ae3a3f031f))
13
+ * [city-picker] 修复ie浏览器下容器宽度过长问题 fix [#568](https://github.com/kdcloudone/kdesign/issues/568) ([d66e890](https://github.com/kdcloudone/kdesign/commit/d66e890d50de81cff720004d161d1ecdf283b62c))
14
+ * [collapse] 添加header描述性语句api ([1ea5824](https://github.com/kdcloudone/kdesign/commit/1ea5824d72ac8e9930cedc0f2184d46ae5d894bb))
15
+ * [collapse] 修复边框显示问题 fix [#564](https://github.com/kdcloudone/kdesign/issues/564) ([7437b36](https://github.com/kdcloudone/kdesign/commit/7437b36069d5b4ca3b895c1befe17f9920cbfaf7))
16
+ * [tree-select] 新增tag标签的title属性 fix [#570](https://github.com/kdcloudone/kdesign/issues/570) ([341e21a](https://github.com/kdcloudone/kdesign/commit/341e21ada13a124b1d7b08a686bcdbef33341ef9))
17
+
18
+
19
+ ### Features
20
+
21
+ * [form]新增extra属性 fix [#223](https://github.com/kdcloudone/kdesign/issues/223) ([6b42df7](https://github.com/kdcloudone/kdesign/commit/6b42df763728317f4414b68dc02f61052cc85bb5))
22
+
23
+
24
+
25
+ ## [1.7.25](https://github.com/kdcloudone/kdesign/compare/v1.7.24...v1.7.25) (2023-08-31)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * [city-picker] 新增城市选择Token fix [#555](https://github.com/kdcloudone/kdesign/issues/555) ([9e451db](https://github.com/kdcloudone/kdesign/commit/9e451db0cae93cd14c93762a57631c30904eaede))
31
+ * [city-picker] 修复切换页签导致常用面板显示异常问题 fix [#558](https://github.com/kdcloudone/kdesign/issues/558) ([ac49649](https://github.com/kdcloudone/kdesign/commit/ac49649a330470ee09726f19709a3b02803e3cec))
32
+ * [city-picker] 修复搜索后关闭下拉面板时会闪烁到常用面板问题 fix [#560](https://github.com/kdcloudone/kdesign/issues/560) ([be676f7](https://github.com/kdcloudone/kdesign/commit/be676f7530095d97119cb3bdc1ec04574dff107d))
33
+ * [city-picker] 修复下拉面板省略号显示问题 fix [#553](https://github.com/kdcloudone/kdesign/issues/553) ([a536527](https://github.com/kdcloudone/kdesign/commit/a536527274fa5da825e7505862c1d92eb6ddcc52))
34
+ * [city-picker] 修复选中项出现多余逗号问题 fix [#554](https://github.com/kdcloudone/kdesign/issues/554) ([f7c1bf4](https://github.com/kdcloudone/kdesign/commit/f7c1bf48f15bbdd8eba30d91ebb7c52d8fb22fad))
35
+ * [city-picker] 修复页签文字超出问题 fix [#562](https://github.com/kdcloudone/kdesign/issues/562) ([1bc7aa1](https://github.com/kdcloudone/kdesign/commit/1bc7aa130844fb2b70263711910d44fe521bb18e))
36
+ * [input-number] 修复传入format后中间位置输入内容后光标自动回到末尾的问题 fix [#508](https://github.com/kdcloudone/kdesign/issues/508) ([acdbdf3](https://github.com/kdcloudone/kdesign/commit/acdbdf38d216d1fe8d8b82944e08169493856678))
37
+ * [input-number] 修复输入值超出范围时失焦不触发onChange事件 fix [#464](https://github.com/kdcloudone/kdesign/issues/464) ([df9b40b](https://github.com/kdcloudone/kdesign/commit/df9b40bff73aabc56d2acf347da650fb45d03583))
38
+ * [radio]修复radio在表格中选中发生位置偏移的问题 ([e5c2d2c](https://github.com/kdcloudone/kdesign/commit/e5c2d2c7edbfa613b985b4a45eb7a42a9a823569))
39
+ * [select] 修复快捷键展开收起下拉面板不触发onVisibleChange回调问题 fix [#546](https://github.com/kdcloudone/kdesign/issues/546) ([6c9d16a](https://github.com/kdcloudone/kdesign/commit/6c9d16a63c09bd57f1122eedb61f976855acc799))
40
+
41
+
42
+ ### Features
43
+
44
+ * [city-picker] 新增国际化配置 fix [#557](https://github.com/kdcloudone/kdesign/issues/557) ([5d8a68f](https://github.com/kdcloudone/kdesign/commit/5d8a68fc8322228362c4b23f8f75e579c439218b))
45
+
46
+
47
+
1
48
  ## [1.7.24](https://github.com/kdcloudone/kdesign/compare/v1.7.23...v1.7.24) (2023-08-25)
2
49
 
3
50
 
@@ -260,7 +260,7 @@
260
260
  display: inline-block;
261
261
  &-title {
262
262
  display: inline-block;
263
- max-width: 96px;
263
+ max-width: @anchor-horizontal-link-max-width;
264
264
  overflow: hidden;
265
265
  white-space: nowrap;
266
266
  text-overflow: ellipsis;
@@ -413,6 +413,7 @@
413
413
  // sizing
414
414
  @anchor-width: var(~'@{anchor-prefix}-sizing-width', 120px);
415
415
  @anchor-advanced-width: var(~'@{anchor-prefix}-advanced-sizing-width', 160px);
416
+ @anchor-horizontal-link-max-width: var(~'@{anchor-prefix}-horizontal-link-sizing-max-width', 96px);
416
417
 
417
418
  // spacing
418
419
  @anchor-link-top: var(~'@{anchor-prefix}-spacing-vertical', 7px);
@@ -1840,22 +1841,6 @@
1840
1841
  cursor: pointer;
1841
1842
  background: @cascader-bg-color;
1842
1843
 
1843
- &:focus > &-input {
1844
- border-color: @cascader-active-color;
1845
-
1846
- .@{kd-prefix}-input-suffix,
1847
- i[class*='kdicon'] {
1848
- color: @cascader-active-color;
1849
- }
1850
- }
1851
-
1852
- &:hover > &-input {
1853
- .@{kd-prefix}-input-suffix,
1854
- i[class*='kdicon'] {
1855
- color: @cascader-active-color;
1856
- }
1857
- }
1858
-
1859
1844
  &.disabled {
1860
1845
  .@{cascader-picker-prefix-cls}-input {
1861
1846
  cursor: not-allowed;
@@ -1882,7 +1867,7 @@
1882
1867
  }
1883
1868
 
1884
1869
  &-input {
1885
- background-color: transparent !important;
1870
+ background-color: transparent;
1886
1871
  transition: all 0.2s;
1887
1872
 
1888
1873
  > input {
@@ -1891,10 +1876,7 @@
1891
1876
  }
1892
1877
 
1893
1878
  &.expand {
1894
- border-color: @cascader-active-color;
1895
-
1896
1879
  i[class*='kdicon'] {
1897
- color: @cascader-active-color;
1898
1880
  transform: rotate(180deg);
1899
1881
  }
1900
1882
  }
@@ -1933,7 +1915,7 @@
1933
1915
  transform: scale(0.9) translateY(-50%);
1934
1916
 
1935
1917
  &:hover {
1936
- color: @cascader-active-color;
1918
+ color: @cascader-clear-color-hover;
1937
1919
  }
1938
1920
  }
1939
1921
  }
@@ -1991,12 +1973,12 @@
1991
1973
  }
1992
1974
 
1993
1975
  &-label {
1994
- width: 72px;
1976
+ width: @cascader-menu-item-label-width;
1995
1977
  .ellipsis;
1996
1978
  }
1997
1979
 
1998
1980
  &.last .@{cascader-menu-prefix-cls}-item-label {
1999
- width: 92px;
1981
+ width: calc(@cascader-menu-item-label-width + 20px);
2000
1982
  }
2001
1983
 
2002
1984
  .@{kd-prefix}-cascader-checkbox {
@@ -2045,6 +2027,11 @@
2045
2027
  position: relative;
2046
2028
  border-bottom: 1px solid #d9d9d9;
2047
2029
  background: @cascader-bg-color;
2030
+
2031
+ &:not(.@{kd-prefix}-cascader-disabled):focus {
2032
+ border-color: @cascader-selected-color;
2033
+ outline: none;
2034
+ }
2048
2035
  }
2049
2036
 
2050
2037
  &-multiple-wrapper {
@@ -2056,7 +2043,8 @@
2056
2043
 
2057
2044
  &-placeholder {
2058
2045
  position: absolute;
2059
- color: @select-placeholder-color;
2046
+ font-size: @middle-font-size;
2047
+ color: @cascader-placeholder-color;
2060
2048
  overflow: hidden;
2061
2049
  white-space: nowrap;
2062
2050
  text-overflow: ellipsis;
@@ -2095,10 +2083,6 @@
2095
2083
  transform: rotate(0deg);
2096
2084
  transition: transform calc(@transition-duration - 0.1s) @ease;
2097
2085
  }
2098
-
2099
- &-focus {
2100
- color: @cascader-g-color-border-foucs;
2101
- }
2102
2086
  }
2103
2087
 
2104
2088
  &-clear {
@@ -2113,6 +2097,7 @@
2113
2097
  }
2114
2098
  }
2115
2099
  }
2100
+
2116
2101
  &-tag {
2117
2102
  &-describe {
2118
2103
  font-size: 12px;
@@ -2124,7 +2109,6 @@
2124
2109
  &-content {
2125
2110
  display: inline-flex;
2126
2111
  align-items: center;
2127
- vertical-align: middle;
2128
2112
  padding: 0 7px;
2129
2113
  overflow: hidden;
2130
2114
  white-space: nowrap;
@@ -2134,6 +2118,45 @@
2134
2118
  }
2135
2119
  }
2136
2120
  }
2121
+
2122
+ &-disabled {
2123
+ cursor: not-allowed;
2124
+
2125
+ .@{kd-prefix}-cascader-picker-label {
2126
+ color: @cascader-disabled-color;
2127
+ }
2128
+
2129
+ .@{kd-prefix}-cascader-picker-input {
2130
+ background-color: @cascader-disabled-color-background;
2131
+
2132
+ > input {
2133
+ background-color: @cascader-disabled-color-background;
2134
+ }
2135
+ }
2136
+
2137
+ &.@{kd-prefix}-cascader-multiple {
2138
+ background-color: @cascader-disabled-color-background;
2139
+ }
2140
+
2141
+ .@{kd-prefix}-cascader-suffix {
2142
+ color: @cascader-disabled-color;
2143
+ }
2144
+
2145
+ .@{kd-prefix}-cascader-tag-describe-content {
2146
+ color: @cascader-tag-disabled-color;
2147
+ border-color: @cascader-tag-disabled-color;
2148
+ }
2149
+ }
2150
+
2151
+ &-picker:not(&-disabled):hover, &-expand {
2152
+ .kd-input-wrapper {
2153
+ border-color: @cascader-g-color-border-focus;
2154
+ }
2155
+ }
2156
+
2157
+ &-multiple:not(&-disabled):hover, &-expand {
2158
+ border-color: @cascader-g-color-border-focus;
2159
+ }
2137
2160
  }
2138
2161
 
2139
2162
 
@@ -2144,23 +2167,25 @@
2144
2167
  @cascader-height: var(~'@{cascader-prefix}-sizing-height', 192px);
2145
2168
  @cascader-menu-min-width: var(~'@{cascader-prefix}-menu-sizing-min-width', 116px);
2146
2169
  @cascader-menu-item-height: var(~'@{cascader-prefix}-menu-item-sizing-height', 32px);
2170
+ @cascader-menu-item-label-width: var(~'@{cascader-prefix}-menu-item-label-sizing-width', 72px);
2147
2171
 
2148
2172
  // spacing
2149
2173
  @cascader-menu-padding-vertical: var(~'@{cascader-prefix}-menu-spacing-padding-vertical', 8px);
2150
2174
  @cascader-menu-item-padding-horizontal: var(~'@{cascader-prefix}-menu-item-spacing-padding-horizontal', 12px);
2151
2175
 
2152
2176
  // colors
2153
- @cascader-active-color: var(~'@{cascader-prefix}-color-active', #999);
2154
2177
  @cascader-color: var(~'@{cascader-prefix}-color-text', @color-text-primary);
2155
2178
  @cascader-bg-color: var(~'@{cascader-prefix}-color-background', @color-white);
2156
2179
  @cascader-hover-bg-color: var(~'@{cascader-prefix}-color-background-hover', @color-hover);
2157
2180
  @cascader-selected-color: var(~'@{cascader-prefix}-color-text-selected', @color-theme);
2158
2181
  @cascader-selected-bg-color: var(~'@{cascader-prefix}-color-background-selected', @color-background-ongoing);
2159
2182
  @cascader-disabled-color: var(~'@{cascader-prefix}-color-text-disabled', @color-disabled);
2183
+ @cascader-disabled-color-background: var(~'@{cascader-prefix}-color-background-disabled', @color-background-contain-disabled);
2160
2184
  @cascader-clear-color: var(~'@{cascader-prefix}-clear-color-text', #d9d9d9);
2161
- @cascader-g-color-border-foucs: var(~'@{cascader-prefix}-color-border-foucs', @color-theme);
2162
- @cascader-clear-color: var(~'@{cascader-prefix}-icon-clear-color-text', #d9d9d9);
2163
2185
  @cascader-clear-color-hover: var(~'@{cascader-prefix}-icon-clear-color-text-hover', #999);
2186
+ @cascader-g-color-border-focus: var(~'@{cascader-prefix}-color-border-foucs', @color-theme);
2187
+ @cascader-tag-disabled-color: var(~'@{cascader-prefix}-tag-disabled-color', #d9d9d9);
2188
+ @cascader-placeholder-color: var(~'@{cascader-prefix}-placeholder-color', @color-text-placeholder);
2164
2189
 
2165
2190
  // font
2166
2191
  @cascader-font-size: var(~'@{cascader-prefix}-font-size', @font-size-small);
@@ -2501,6 +2526,9 @@
2501
2526
  display: flex;
2502
2527
  flex-direction: column;
2503
2528
 
2529
+ &-selector {
2530
+ width: 100%;
2531
+ }
2504
2532
  &-selector:hover {
2505
2533
  .@{city-picker-prefix-cls}-icon-active {
2506
2534
  color: #3761ca;
@@ -2686,6 +2714,15 @@
2686
2714
  align-items: center;
2687
2715
  justify-content: center;
2688
2716
  }
2717
+
2718
+ &.topLeft.hidden,
2719
+ &.bottomLeft.hidden,
2720
+ &.topRight.hidden,
2721
+ &.bottomRight.hidden {
2722
+ opacity: 0;
2723
+ visibility: hidden;
2724
+ transition: all calc(@transition-duration - 0.1s) @ease;
2725
+ }
2689
2726
  }
2690
2727
 
2691
2728
  &-list {
@@ -2705,13 +2742,17 @@
2705
2742
  white-space: nowrap;
2706
2743
  }
2707
2744
 
2708
- &:hover {
2745
+ &-active:not(&-disabled) {
2709
2746
  background-color: @city-picker-item-active-bg;
2710
2747
  }
2711
2748
 
2712
2749
  &-selected:not(&-disabled) {
2713
2750
  background-color: @city-picker-item-selected-bg;
2714
2751
  color: @city-picker-list-item-color-selected;
2752
+
2753
+ .@{city-picker-prefix-cls}-list-item-info {
2754
+ color: @city-picker-list-item-color-selected;
2755
+ }
2715
2756
  }
2716
2757
 
2717
2758
  &-disabled {
@@ -2720,6 +2761,13 @@
2720
2761
  background-color: @city-picker-disabled-option-bg;
2721
2762
  }
2722
2763
  }
2764
+
2765
+ & > .@{city-picker-prefix-cls}-list-item-match {
2766
+ color: @city-picker-font-color;
2767
+ .@{city-picker-prefix-cls}-list-item-info {
2768
+ color: @city-picker-placeholder-color;
2769
+ }
2770
+ }
2723
2771
  }
2724
2772
 
2725
2773
  &-highlight {
@@ -2810,15 +2858,6 @@
2810
2858
  .over();
2811
2859
  }
2812
2860
  }
2813
-
2814
- &.topLeft.hidden,
2815
- &.bottomLeft.hidden,
2816
- &.topRight.hidden,
2817
- &.bottomRight.hidden {
2818
- opacity: 0;
2819
- visibility: hidden;
2820
- transition: all calc(@transition-duration - 0.1s) @ease;
2821
- }
2822
2861
  }
2823
2862
 
2824
2863
 
@@ -2914,9 +2953,12 @@
2914
2953
  &-panel:last-child {
2915
2954
  border-top: none;
2916
2955
  }
2917
- &-panel:first-child {
2956
+ &-panel-border&-panel:first-child {
2918
2957
  border-top: @collapse-border-width solid @collapse-border-color;
2919
2958
  }
2959
+ &-panel-border&-panel:not(:nth-child(1)) {
2960
+ border-top: none;
2961
+ }
2920
2962
  &-panel {
2921
2963
  display: inline-flex;
2922
2964
  flex-direction: column;
@@ -5038,6 +5080,10 @@
5038
5080
  &-hidden {
5039
5081
  display: none !important;
5040
5082
  }
5083
+
5084
+ &-extra {
5085
+ margin-bottom: calc(@form-field-spacing-margin-bottom * 2);
5086
+ }
5041
5087
  }
5042
5088
 
5043
5089
  .@{field-label-cls} {
@@ -5068,7 +5114,8 @@
5068
5114
 
5069
5115
  .@{field-wrapper-cls} {
5070
5116
  position: relative;
5071
- &-message {
5117
+
5118
+ &-message, &-extra {
5072
5119
  position: absolute;
5073
5120
  left: -7px;
5074
5121
  right: 0;
@@ -5081,6 +5128,16 @@
5081
5128
  white-space: nowrap;
5082
5129
  text-overflow: ellipsis;
5083
5130
  }
5131
+
5132
+ &-extra {
5133
+ &-message {
5134
+ color: @form-error-color;
5135
+ }
5136
+
5137
+ &-text {
5138
+ color: @form-extra-color;
5139
+ }
5140
+ }
5084
5141
  }
5085
5142
 
5086
5143
 
@@ -5090,6 +5147,7 @@
5090
5147
  // color
5091
5148
  @form-field-color: var(~'@{form-prefix}-field-color', @color-text-secondary);
5092
5149
  @form-error-color: var(~'@{form-prefix}-error-color', @color-error);
5150
+ @form-extra-color: var(~'@{form-prefix}-extra-color', @color-text-third);
5093
5151
 
5094
5152
  // font
5095
5153
  @form-field-label-font-size: var(~'@{form-prefix}-field-label-font-size',12px);
@@ -9837,6 +9895,7 @@ textarea {
9837
9895
  min-width: 75px;
9838
9896
 
9839
9897
  &-content {
9898
+ max-width: @select-item-max-width;
9840
9899
  .over();
9841
9900
 
9842
9901
  .@{kd-prefix}-checkbox {
@@ -10219,6 +10278,7 @@ textarea {
10219
10278
  @select-large-height: var(~'@{select-custom-prefix}-sizing-height-large', 36px); // 大号高度 lh:28px
10220
10279
  @select-middle-height: var(~'@{select-custom-prefix}-sizing-height-middle', 30px); // 中号高度lh:22px
10221
10280
  @select-small-height: var(~'@{select-custom-prefix}-sizing-height-small', 24px); // 小号高度lh:12px
10281
+ @select-item-max-width: var(~'@{select-custom-prefix}-item-sizing-max-width');
10222
10282
 
10223
10283
  // spacing
10224
10284
  @select-bordered: var(~'@{select-custom-prefix}-bordered-spacing-padding-left', 8px);
@@ -13469,6 +13529,9 @@ template {
13469
13529
  &-text {
13470
13530
  display: inline-block;
13471
13531
  transition: color @tab-g-motion-duration;
13532
+ overflow: hidden;
13533
+ text-overflow: ellipsis;
13534
+ max-width: @tab-pane-text-max-width;
13472
13535
  &-active,
13473
13536
  &:hover {
13474
13537
  color: @tabPane-font-color-active;
@@ -13711,6 +13774,7 @@ template {
13711
13774
  @tab-pane-type-line-height-small: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-small', 32px);
13712
13775
  @tab-pane-type-line-height-middle: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-middle', 32px);
13713
13776
  @tab-pane-type-dynamic-height: var(~'@{tabs-custom-prefix}-pane-type-dynamic-sizing-height', 32px);
13777
+ @tab-pane-text-max-width: var(~'@{tabs-custom-prefix}-pane-text-sizing-max-width');
13714
13778
 
13715
13779
 
13716
13780
  // spacing