@kdcloudjs/kdesign 1.6.17 → 1.6.19

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.
@@ -155,6 +155,9 @@
155
155
  -moz-user-select: none;
156
156
  -ms-user-select: none;
157
157
  user-select: none;
158
+ overflow: hidden;
159
+ white-space: nowrap;
160
+ text-overflow: ellipsis;
158
161
  }
159
162
  .kd-checkbox-children .kd-input-underline {
160
163
  background-color: transparent;
@@ -39,6 +39,9 @@
39
39
  align-items: center;
40
40
  z-index: 999;
41
41
  user-select: none;
42
+ overflow: hidden;
43
+ white-space: nowrap;
44
+ text-overflow: ellipsis;
42
45
 
43
46
  .kd-input-underline {
44
47
  background-color: transparent;
@@ -188,7 +188,10 @@ declare const compDefaultProps: {
188
188
  disabled: boolean;
189
189
  popupOffset: number[];
190
190
  };
191
- Message: {};
191
+ Message: {
192
+ closable: boolean;
193
+ duration: number;
194
+ };
192
195
  Notice: {};
193
196
  Notification: {};
194
197
  Pagination: {
@@ -194,7 +194,10 @@ var compDefaultProps = {
194
194
  disabled: false,
195
195
  popupOffset: [0, 0]
196
196
  },
197
- Message: {},
197
+ Message: {
198
+ closable: false,
199
+ duration: 3000
200
+ },
198
201
  Notice: {},
199
202
  Notification: {},
200
203
  Pagination: {
@@ -4,7 +4,7 @@ import NotificationApi from '../notification-base';
4
4
  import Content from './content';
5
5
  var defaultStyle = {};
6
6
  var defaultDuration = 3000;
7
- var defaultClosable = true;
7
+ var defaultClosable = false;
8
8
  var defaultOffset = '40px';
9
9
  var defaultSuffixCls = 'message';
10
10
  var defaultPlacement = 'message';
@@ -133,7 +133,7 @@ var InternalSelect = function InternalSelect(props, ref) {
133
133
 
134
134
  useEffect(function () {
135
135
  if (isMultiple) {
136
- multipleRef.current.selectedVal = initValue || [];
136
+ multipleRef.current.selectedVal = Array.isArray(initValue) ? _toConsumableArray(initValue) : initValue || [];
137
137
 
138
138
  if (Array.isArray(initValue)) {
139
139
  if (realChildren === null || realChildren === void 0 ? void 0 : realChildren.length) {
@@ -596,21 +596,16 @@ var InternalSelect = function InternalSelect(props, ref) {
596
596
 
597
597
  var handleMaxTagHolder = useCallback(function () {
598
598
  var maxTagPlaceholder = selectProps.maxTagPlaceholder;
599
- var TagStyle = {
600
- margin: '2px 8px 2px 0'
601
- };
602
599
 
603
600
  if (typeof maxTagPlaceholder === 'function') {
604
601
  return /*#__PURE__*/React.createElement(Tag, {
605
602
  type: "edit",
606
- style: TagStyle,
607
603
  size: size,
608
604
  disabled: disabled
609
605
  }, maxTagPlaceholder(mulOptions));
610
606
  } else {
611
607
  return /*#__PURE__*/React.createElement(Tag, {
612
608
  type: "edit",
613
- style: TagStyle,
614
609
  size: size,
615
610
  disabled: disabled
616
611
  }, maxTagPlaceholder);
@@ -653,7 +648,8 @@ var InternalSelect = function InternalSelect(props, ref) {
653
648
  var multipleCls = classNames(commCls, (_classNames10 = {}, _defineProperty(_classNames10, "".concat(selectPrefixCls, "-multiple-disabled"), disabled), _defineProperty(_classNames10, _concatInstanceProperty(_context3 = "".concat(selectPrefixCls, "-")).call(_context3, mode), mode), _defineProperty(_classNames10, "".concat(selectPrefixCls, "-focused"), autoFocus || optionShow), _defineProperty(_classNames10, "".concat(selectPrefixCls, "-placeholder"), placeholder && !mulOptions.length), _classNames10));
654
649
  var itemCls = classNames((_classNames11 = {}, _defineProperty(_classNames11, "".concat(selectPrefixCls, "-selection-item"), true), _defineProperty(_classNames11, _concatInstanceProperty(_context4 = "".concat(selectPrefixCls, "-selection-item-")).call(_context4, size), size), _classNames11));
655
650
  var TagStyle = {
656
- margin: '2px 8px 2px 0'
651
+ margin: '2px 8px 2px 0',
652
+ maxWidth: '100%'
657
653
  };
658
654
  return /*#__PURE__*/React.createElement("div", {
659
655
  className: multipleCls,
@@ -662,7 +658,8 @@ var InternalSelect = function InternalSelect(props, ref) {
662
658
  var label = item.label,
663
659
  value = item.value;
664
660
  return (!maxTagCount || index <= maxTagCount - 1) && /*#__PURE__*/React.createElement("span", {
665
- key: value
661
+ key: value,
662
+ className: classNames("".concat(selectPrefixCls, "-selection-tag"))
666
663
  }, /*#__PURE__*/React.createElement(Tag, {
667
664
  type: "edit",
668
665
  style: TagStyle,
@@ -239,7 +239,6 @@
239
239
  box-sizing: border-box;
240
240
  background-color: transparent;
241
241
  cursor: pointer;
242
- margin: 0 8px 2px 0;
243
242
  vertical-align: middle;
244
243
  }
245
244
  .kd-select-selector:hover .kd-select-icon-active {
@@ -393,19 +392,16 @@
393
392
  min-width: 75px;
394
393
  }
395
394
  .kd-select-item-option-content {
396
- display: -webkit-box;
397
- display: -ms-flexbox;
398
- display: flex;
399
- -webkit-box-align: center;
400
- -ms-flex-align: center;
401
- align-items: center;
402
- -webkit-box-flex: 1;
403
- -ms-flex: auto;
404
- flex: auto;
405
395
  overflow: hidden;
406
396
  white-space: nowrap;
407
397
  text-overflow: ellipsis;
408
398
  }
399
+ .kd-select-item-option-content .kd-checkbox {
400
+ width: 100%;
401
+ }
402
+ .kd-select-item-option-content .kd-checkbox .kd-checkbox-children {
403
+ display: inline-block;
404
+ }
409
405
  .kd-select-item-option:hover:not(.kd-select-item-option-selected):not(.kd-select-item-option-disabled) {
410
406
  background-color: var(--kd-c-select-color-background, #f5f5f5);
411
407
  }
@@ -455,13 +451,13 @@
455
451
  justify-content: center;
456
452
  margin-left: 8px;
457
453
  }
458
- .kd-select-single .kd-select-selection-search {
454
+ .kd-select .kd-select-single .kd-select-selection-search {
459
455
  position: absolute;
460
456
  right: 28px;
461
457
  left: 0;
462
458
  height: 100%;
463
459
  }
464
- .kd-select-single .kd-select-selection-search-input {
460
+ .kd-select .kd-select-single .kd-select-selection-search-input {
465
461
  outline: 0;
466
462
  border-radius: 0;
467
463
  border: none;
@@ -469,35 +465,41 @@
469
465
  height: 100%;
470
466
  width: 100%;
471
467
  }
472
- .kd-select-single-focused {
468
+ .kd-select .kd-select-single .kd-select-selection-item {
469
+ display: inline-block;
470
+ overflow: hidden;
471
+ white-space: nowrap;
472
+ text-overflow: ellipsis;
473
+ }
474
+ .kd-select .kd-select-single-focused {
473
475
  border-color: var(--kd-c-select-color-border-foucs, var(--kd-g-color-theme, #5582f3)) !important;
474
476
  }
475
- .kd-select-single-disabled {
477
+ .kd-select .kd-select-single-disabled {
476
478
  background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
477
479
  color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
478
480
  }
479
- .kd-select-single-disabled:hover {
481
+ .kd-select .kd-select-single-disabled:hover {
480
482
  cursor: not-allowed;
481
483
  }
482
- .kd-select-single-disabled .kd-select-suffix {
484
+ .kd-select .kd-select-single-disabled .kd-select-suffix {
483
485
  color: var(--kd-c-select-arrow-icon-color-text-disabled, #b2b2b2);
484
486
  }
485
- .kd-select-single:hover .kd-select-icon-clear {
487
+ .kd-select .kd-select-single:hover .kd-select-icon-clear {
486
488
  opacity: 1;
487
489
  }
488
- .kd-select-single .kd-select-icon-clear {
490
+ .kd-select .kd-select-single .kd-select-icon-clear {
489
491
  color: var(--kd-c-select-icon-clear-color-text, #d9d9d9);
490
492
  }
491
- .kd-select-single .kd-select-icon-clear:hover {
493
+ .kd-select .kd-select-single .kd-select-icon-clear:hover {
492
494
  color: var(--kd-c-select-icon-clear-color-text-hover, #999);
493
495
  }
494
- .kd-select-single-text {
496
+ .kd-select .kd-select-single-text {
495
497
  color: var(--kd-c-select-single-color-text, var(--kd-g-color-text-primary, #212121));
496
498
  overflow: hidden;
497
499
  white-space: nowrap;
498
500
  text-overflow: ellipsis;
499
501
  }
500
- .kd-select-single-disabled-text {
502
+ .kd-select .kd-select-single-disabled-text {
501
503
  color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
502
504
  }
503
505
  .kd-select .kd-select-selection-item {
@@ -521,13 +523,13 @@
521
523
  user-select: none;
522
524
  }
523
525
  .kd-select .kd-select-selection-item-small {
524
- height: 18px;
526
+ height: 20px;
525
527
  line-height: 18px;
526
528
  font-size: 12px;
527
529
  }
528
530
  .kd-select .kd-select-selection-item-middle {
529
531
  font-size: 12px;
530
- height: 18px;
532
+ height: 20px;
531
533
  line-height: 18px;
532
534
  }
533
535
  .kd-select .kd-select-selection-item-large {
@@ -569,6 +571,13 @@
569
571
  width: 100%;
570
572
  min-width: 20px;
571
573
  }
574
+ .kd-select-multiple .kd-select-selection-tag {
575
+ max-width: calc(100% - 5px);
576
+ }
577
+ .kd-select-multiple .kd-select-selection-tag .kd-tag {
578
+ margin: 2px 8px 2px 0;
579
+ max-width: 100%;
580
+ }
572
581
  .kd-select-multiple .kd-select-selection-search {
573
582
  position: relative;
574
583
  max-width: 100%;
@@ -10,7 +10,6 @@
10
10
  box-sizing: border-box;
11
11
  background-color: transparent;
12
12
  cursor: pointer;
13
- margin: 0 8px 2px 0;
14
13
  vertical-align: middle;
15
14
 
16
15
  &-selector:hover {
@@ -158,10 +157,15 @@
158
157
  min-width: 75px;
159
158
 
160
159
  &-content {
161
- display: flex;
162
- align-items: center;
163
- flex: auto;
164
160
  .over();
161
+
162
+ .@{kd-prefix}-checkbox {
163
+ width: 100%;
164
+
165
+ .@{kd-prefix}-checkbox-children {
166
+ display: inline-block;
167
+ }
168
+ }
165
169
  }
166
170
 
167
171
  &:hover:not(&-selected):not(&-disabled) {
@@ -208,7 +212,7 @@
208
212
  justify-content: center;
209
213
  margin-left: 8px;
210
214
  }
211
- &-single {
215
+ .@{select-prefix-cls}-single {
212
216
  .@{select-prefix-cls}-selection {
213
217
  &-search {
214
218
  position: absolute;
@@ -224,6 +228,10 @@
224
228
  width: 100%;
225
229
  }
226
230
  }
231
+ &-item {
232
+ display: inline-block;
233
+ .over();
234
+ }
227
235
  }
228
236
  &-focused {
229
237
  .focusColor();
@@ -270,14 +278,14 @@
270
278
  cursor: default;
271
279
  user-select: none;
272
280
  &-small {
273
- height: 18px;
281
+ height: 20px;
274
282
  line-height: 18px;
275
283
  font-size: 12px;
276
284
  }
277
285
 
278
286
  &-middle {
279
287
  font-size: 12px;
280
- height: 18px;
288
+ height: 20px;
281
289
  line-height: 18px;
282
290
  }
283
291
 
@@ -320,6 +328,14 @@
320
328
  // 多选
321
329
  &-multiple {
322
330
  .@{select-prefix-cls}-selection {
331
+ &-tag {
332
+ max-width: calc(100% - 5px);
333
+
334
+ .@{kd-prefix}-tag {
335
+ margin: 2px 8px 2px 0;
336
+ max-width: 100%;
337
+ }
338
+ }
323
339
  &-search {
324
340
  position: relative;
325
341
  max-width: 100%;
@@ -105,6 +105,11 @@
105
105
  -webkit-transition: all var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
106
106
  transition: all var(--kd-c-tag-motion-duration, var(--kd-g-duration, 0.3s));
107
107
  }
108
+ .kd-tag-ellipsis {
109
+ white-space: nowrap;
110
+ overflow: hidden;
111
+ text-overflow: ellipsis;
112
+ }
108
113
  .kd-tag-size-small {
109
114
  font-size: var(--kd-c-tag-font-size-small, var(--kd-g-font-size-small, 12px));
110
115
  height: var(--kd-c-tag-sizing-height-small, 20px);
@@ -468,6 +473,9 @@
468
473
  }
469
474
  .kd-tag-text {
470
475
  margin-left: 6px;
476
+ white-space: nowrap;
477
+ overflow: hidden;
478
+ text-overflow: ellipsis;
471
479
  }
472
480
  .kd-tag-closable-disabled {
473
481
  background-color: var(--kd-c-tag-edit-color-background-disabled, var(--kd-g-color-background-contain-disabled, #f5f5f5));
@@ -7,6 +7,12 @@
7
7
  @colors: @tag-process-color, @tag-success-color, @tag-warning-color, @tag-error-color, @tag-end-color, @tag-expired-color;
8
8
 
9
9
  .@{tag-prefix-cls} {
10
+ &-ellipsis {
11
+ white-space: nowrap;
12
+ overflow: hidden;
13
+ text-overflow: ellipsis;
14
+ }
15
+
10
16
  &-size-small {
11
17
  .tag-size(@tag-small-font-size, @tag-small-height, @tag-small-padding-horizontal);
12
18
  }
@@ -89,6 +95,9 @@
89
95
  // 图标设置外边距
90
96
  &-text {
91
97
  margin-left: 6px;
98
+ white-space: nowrap;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
92
101
  }
93
102
 
94
103
  &-closable-disabled {
package/es/tag/tag.js CHANGED
@@ -81,13 +81,17 @@ var InteranalTag = function InteranalTag(props, ref) {
81
81
  var tagRef = ref || thisTagRef; // 对children进行进一步处理 当标签包含图标时 文本内容需要用标签包裹设置外边距
82
82
 
83
83
  var handleChild = function handleChild(child) {
84
+ if (!child) return null;
85
+
84
86
  if (typeof child === 'string' && icon) {
85
87
  return /*#__PURE__*/React.createElement("span", {
86
88
  className: "".concat(tagPrefixCls, "-text")
87
89
  }, child);
88
90
  }
89
91
 
90
- return child;
92
+ return /*#__PURE__*/React.createElement("span", {
93
+ className: "".concat(tagPrefixCls, "-ellipsis")
94
+ }, child);
91
95
  }; // 预设的颜色值
92
96
 
93
97
 
@@ -155,6 +155,9 @@
155
155
  -moz-user-select: none;
156
156
  -ms-user-select: none;
157
157
  user-select: none;
158
+ overflow: hidden;
159
+ white-space: nowrap;
160
+ text-overflow: ellipsis;
158
161
  }
159
162
  .kd-checkbox-children .kd-input-underline {
160
163
  background-color: transparent;
@@ -39,6 +39,9 @@
39
39
  align-items: center;
40
40
  z-index: 999;
41
41
  user-select: none;
42
+ overflow: hidden;
43
+ white-space: nowrap;
44
+ text-overflow: ellipsis;
42
45
 
43
46
  .kd-input-underline {
44
47
  background-color: transparent;
@@ -188,7 +188,10 @@ declare const compDefaultProps: {
188
188
  disabled: boolean;
189
189
  popupOffset: number[];
190
190
  };
191
- Message: {};
191
+ Message: {
192
+ closable: boolean;
193
+ duration: number;
194
+ };
192
195
  Notice: {};
193
196
  Notification: {};
194
197
  Pagination: {
@@ -212,7 +212,10 @@ var compDefaultProps = {
212
212
  disabled: false,
213
213
  popupOffset: [0, 0]
214
214
  },
215
- Message: {},
215
+ Message: {
216
+ closable: false,
217
+ duration: 3000
218
+ },
216
219
  Notice: {},
217
220
  Notification: {},
218
221
  Pagination: {
@@ -17,7 +17,7 @@ var _content = _interopRequireDefault(require("./content"));
17
17
 
18
18
  var defaultStyle = {};
19
19
  var defaultDuration = 3000;
20
- var defaultClosable = true;
20
+ var defaultClosable = false;
21
21
  var defaultOffset = '40px';
22
22
  var defaultSuffixCls = 'message';
23
23
  var defaultPlacement = 'message';
@@ -171,7 +171,7 @@ var InternalSelect = function InternalSelect(props, ref) {
171
171
 
172
172
  (0, _react.useEffect)(function () {
173
173
  if (isMultiple) {
174
- multipleRef.current.selectedVal = initValue || [];
174
+ multipleRef.current.selectedVal = Array.isArray(initValue) ? (0, _toConsumableArray2.default)(initValue) : initValue || [];
175
175
 
176
176
  if (Array.isArray(initValue)) {
177
177
  if (realChildren === null || realChildren === void 0 ? void 0 : realChildren.length) {
@@ -621,21 +621,16 @@ var InternalSelect = function InternalSelect(props, ref) {
621
621
 
622
622
  var handleMaxTagHolder = (0, _react.useCallback)(function () {
623
623
  var maxTagPlaceholder = selectProps.maxTagPlaceholder;
624
- var TagStyle = {
625
- margin: '2px 8px 2px 0'
626
- };
627
624
 
628
625
  if (typeof maxTagPlaceholder === 'function') {
629
626
  return /*#__PURE__*/_react.default.createElement(_index.Tag, {
630
627
  type: "edit",
631
- style: TagStyle,
632
628
  size: size,
633
629
  disabled: disabled
634
630
  }, maxTagPlaceholder(mulOptions));
635
631
  } else {
636
632
  return /*#__PURE__*/_react.default.createElement(_index.Tag, {
637
633
  type: "edit",
638
- style: TagStyle,
639
634
  size: size,
640
635
  disabled: disabled
641
636
  }, maxTagPlaceholder);
@@ -678,7 +673,8 @@ var InternalSelect = function InternalSelect(props, ref) {
678
673
  var multipleCls = (0, _classnames.default)(commCls, (_classNames10 = {}, (0, _defineProperty2.default)(_classNames10, "".concat(selectPrefixCls, "-multiple-disabled"), disabled), (0, _defineProperty2.default)(_classNames10, (0, _concat.default)(_context3 = "".concat(selectPrefixCls, "-")).call(_context3, mode), mode), (0, _defineProperty2.default)(_classNames10, "".concat(selectPrefixCls, "-focused"), autoFocus || optionShow), (0, _defineProperty2.default)(_classNames10, "".concat(selectPrefixCls, "-placeholder"), placeholder && !mulOptions.length), _classNames10));
679
674
  var itemCls = (0, _classnames.default)((_classNames11 = {}, (0, _defineProperty2.default)(_classNames11, "".concat(selectPrefixCls, "-selection-item"), true), (0, _defineProperty2.default)(_classNames11, (0, _concat.default)(_context4 = "".concat(selectPrefixCls, "-selection-item-")).call(_context4, size), size), _classNames11));
680
675
  var TagStyle = {
681
- margin: '2px 8px 2px 0'
676
+ margin: '2px 8px 2px 0',
677
+ maxWidth: '100%'
682
678
  };
683
679
  return /*#__PURE__*/_react.default.createElement("div", {
684
680
  className: multipleCls,
@@ -687,7 +683,8 @@ var InternalSelect = function InternalSelect(props, ref) {
687
683
  var label = item.label,
688
684
  value = item.value;
689
685
  return (!maxTagCount || index <= maxTagCount - 1) && /*#__PURE__*/_react.default.createElement("span", {
690
- key: value
686
+ key: value,
687
+ className: (0, _classnames.default)("".concat(selectPrefixCls, "-selection-tag"))
691
688
  }, /*#__PURE__*/_react.default.createElement(_index.Tag, {
692
689
  type: "edit",
693
690
  style: TagStyle,
@@ -239,7 +239,6 @@
239
239
  box-sizing: border-box;
240
240
  background-color: transparent;
241
241
  cursor: pointer;
242
- margin: 0 8px 2px 0;
243
242
  vertical-align: middle;
244
243
  }
245
244
  .kd-select-selector:hover .kd-select-icon-active {
@@ -393,19 +392,16 @@
393
392
  min-width: 75px;
394
393
  }
395
394
  .kd-select-item-option-content {
396
- display: -webkit-box;
397
- display: -ms-flexbox;
398
- display: flex;
399
- -webkit-box-align: center;
400
- -ms-flex-align: center;
401
- align-items: center;
402
- -webkit-box-flex: 1;
403
- -ms-flex: auto;
404
- flex: auto;
405
395
  overflow: hidden;
406
396
  white-space: nowrap;
407
397
  text-overflow: ellipsis;
408
398
  }
399
+ .kd-select-item-option-content .kd-checkbox {
400
+ width: 100%;
401
+ }
402
+ .kd-select-item-option-content .kd-checkbox .kd-checkbox-children {
403
+ display: inline-block;
404
+ }
409
405
  .kd-select-item-option:hover:not(.kd-select-item-option-selected):not(.kd-select-item-option-disabled) {
410
406
  background-color: var(--kd-c-select-color-background, #f5f5f5);
411
407
  }
@@ -455,13 +451,13 @@
455
451
  justify-content: center;
456
452
  margin-left: 8px;
457
453
  }
458
- .kd-select-single .kd-select-selection-search {
454
+ .kd-select .kd-select-single .kd-select-selection-search {
459
455
  position: absolute;
460
456
  right: 28px;
461
457
  left: 0;
462
458
  height: 100%;
463
459
  }
464
- .kd-select-single .kd-select-selection-search-input {
460
+ .kd-select .kd-select-single .kd-select-selection-search-input {
465
461
  outline: 0;
466
462
  border-radius: 0;
467
463
  border: none;
@@ -469,35 +465,41 @@
469
465
  height: 100%;
470
466
  width: 100%;
471
467
  }
472
- .kd-select-single-focused {
468
+ .kd-select .kd-select-single .kd-select-selection-item {
469
+ display: inline-block;
470
+ overflow: hidden;
471
+ white-space: nowrap;
472
+ text-overflow: ellipsis;
473
+ }
474
+ .kd-select .kd-select-single-focused {
473
475
  border-color: var(--kd-c-select-color-border-foucs, var(--kd-g-color-theme, #5582f3)) !important;
474
476
  }
475
- .kd-select-single-disabled {
477
+ .kd-select .kd-select-single-disabled {
476
478
  background-color: var(--kd-c-select-color-background-disabled, #f5f5f5);
477
479
  color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
478
480
  }
479
- .kd-select-single-disabled:hover {
481
+ .kd-select .kd-select-single-disabled:hover {
480
482
  cursor: not-allowed;
481
483
  }
482
- .kd-select-single-disabled .kd-select-suffix {
484
+ .kd-select .kd-select-single-disabled .kd-select-suffix {
483
485
  color: var(--kd-c-select-arrow-icon-color-text-disabled, #b2b2b2);
484
486
  }
485
- .kd-select-single:hover .kd-select-icon-clear {
487
+ .kd-select .kd-select-single:hover .kd-select-icon-clear {
486
488
  opacity: 1;
487
489
  }
488
- .kd-select-single .kd-select-icon-clear {
490
+ .kd-select .kd-select-single .kd-select-icon-clear {
489
491
  color: var(--kd-c-select-icon-clear-color-text, #d9d9d9);
490
492
  }
491
- .kd-select-single .kd-select-icon-clear:hover {
493
+ .kd-select .kd-select-single .kd-select-icon-clear:hover {
492
494
  color: var(--kd-c-select-icon-clear-color-text-hover, #999);
493
495
  }
494
- .kd-select-single-text {
496
+ .kd-select .kd-select-single-text {
495
497
  color: var(--kd-c-select-single-color-text, var(--kd-g-color-text-primary, #212121));
496
498
  overflow: hidden;
497
499
  white-space: nowrap;
498
500
  text-overflow: ellipsis;
499
501
  }
500
- .kd-select-single-disabled-text {
502
+ .kd-select .kd-select-single-disabled-text {
501
503
  color: var(--kd-c-select-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
502
504
  }
503
505
  .kd-select .kd-select-selection-item {
@@ -521,13 +523,13 @@
521
523
  user-select: none;
522
524
  }
523
525
  .kd-select .kd-select-selection-item-small {
524
- height: 18px;
526
+ height: 20px;
525
527
  line-height: 18px;
526
528
  font-size: 12px;
527
529
  }
528
530
  .kd-select .kd-select-selection-item-middle {
529
531
  font-size: 12px;
530
- height: 18px;
532
+ height: 20px;
531
533
  line-height: 18px;
532
534
  }
533
535
  .kd-select .kd-select-selection-item-large {
@@ -569,6 +571,13 @@
569
571
  width: 100%;
570
572
  min-width: 20px;
571
573
  }
574
+ .kd-select-multiple .kd-select-selection-tag {
575
+ max-width: calc(100% - 5px);
576
+ }
577
+ .kd-select-multiple .kd-select-selection-tag .kd-tag {
578
+ margin: 2px 8px 2px 0;
579
+ max-width: 100%;
580
+ }
572
581
  .kd-select-multiple .kd-select-selection-search {
573
582
  position: relative;
574
583
  max-width: 100%;