@douyinfe/semi-ui 2.38.2 → 2.39.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/dist/css/semi.css CHANGED
@@ -3590,7 +3590,6 @@ body {
3590
3590
  position: relative;
3591
3591
  display: flex;
3592
3592
  align-items: flex-start;
3593
- flex-wrap: wrap;
3594
3593
  font-size: 14px;
3595
3594
  line-height: 20px;
3596
3595
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -16715,6 +16714,9 @@ img[src=""], img:not([src]) {
16715
16714
  .semi-switch-disabled:active {
16716
16715
  background-color: transparent;
16717
16716
  }
16717
+ .semi-switch-disabled:active .semi-switch-knob {
16718
+ width: 18px;
16719
+ }
16718
16720
  .semi-switch-disabled .semi-switch-knob {
16719
16721
  cursor: not-allowed;
16720
16722
  box-shadow: none;
@@ -16728,6 +16730,9 @@ img[src=""], img:not([src]) {
16728
16730
  border-color: transparent;
16729
16731
  background-color: var(--semi-color-success-disabled);
16730
16732
  }
16733
+ .semi-switch-disabled.semi-switch-checked:active .semi-switch-knob {
16734
+ transform: translateX(18px);
16735
+ }
16731
16736
  .semi-switch-disabled.semi-switch-checked .semi-switch-knob {
16732
16737
  box-shadow: none;
16733
16738
  border: none;
@@ -20384,11 +20389,14 @@ img[src=""], img:not([src]) {
20384
20389
  padding-right: 0;
20385
20390
  cursor: pointer;
20386
20391
  color: var(--semi-color-text-0);
20392
+ position: relative;
20387
20393
  }
20388
- .semi-tree-select-selection-placeholder {
20394
+ .semi-tree-select-selection-content {
20389
20395
  overflow: hidden;
20390
20396
  white-space: nowrap;
20391
20397
  text-overflow: ellipsis;
20398
+ }
20399
+ .semi-tree-select-selection-placeholder {
20392
20400
  color: var(--semi-color-text-2);
20393
20401
  }
20394
20402
  .semi-tree-select-selection .semi-tag-group {
@@ -20402,6 +20410,10 @@ img[src=""], img:not([src]) {
20402
20410
  }
20403
20411
  .semi-tree-select-selection-TriggerSearchItem {
20404
20412
  position: absolute;
20413
+ max-width: calc(100% - 12px);
20414
+ text-overflow: ellipsis;
20415
+ overflow: hidden;
20416
+ white-space: nowrap;
20405
20417
  }
20406
20418
  .semi-tree-select-selection-TriggerSearchItem-placeholder {
20407
20419
  opacity: 0.6;