@douyinfe/semi-ui 2.28.0 → 2.29.0-beta.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.
Files changed (93) hide show
  1. package/dist/css/semi.css +21 -11
  2. package/dist/css/semi.min.css +1 -1
  3. package/dist/umd/semi-ui.js +120 -43
  4. package/dist/umd/semi-ui.js.map +1 -1
  5. package/dist/umd/semi-ui.min.js +1 -1
  6. package/dist/umd/semi-ui.min.js.map +1 -1
  7. package/lib/cjs/datePicker/dateInput.d.ts +1 -1
  8. package/lib/cjs/datePicker/dateInput.js +15 -6
  9. package/lib/cjs/datePicker/datePicker.js +4 -4
  10. package/lib/cjs/datePicker/index.d.ts +1 -0
  11. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  12. package/lib/cjs/datePicker/monthsGrid.js +1 -1
  13. package/lib/cjs/datePicker/quickControl.d.ts +3 -2
  14. package/lib/cjs/datePicker/quickControl.js +1 -1
  15. package/lib/cjs/form/group.d.ts +2 -0
  16. package/lib/cjs/form/group.js +16 -5
  17. package/lib/cjs/locale/interface.d.ts +1 -2
  18. package/lib/cjs/locale/source/ar.js +7 -8
  19. package/lib/cjs/locale/source/de.js +4 -5
  20. package/lib/cjs/locale/source/en_GB.js +4 -5
  21. package/lib/cjs/locale/source/en_US.js +4 -5
  22. package/lib/cjs/locale/source/es.js +4 -5
  23. package/lib/cjs/locale/source/fr.js +4 -5
  24. package/lib/cjs/locale/source/id_ID.js +4 -5
  25. package/lib/cjs/locale/source/it.js +4 -5
  26. package/lib/cjs/locale/source/ja_JP.js +4 -5
  27. package/lib/cjs/locale/source/ko_KR.js +4 -5
  28. package/lib/cjs/locale/source/ms_MY.js +4 -5
  29. package/lib/cjs/locale/source/nl_NL.d.ts +8 -0
  30. package/lib/cjs/locale/source/nl_NL.js +181 -0
  31. package/lib/cjs/locale/source/pl_PL.d.ts +8 -0
  32. package/lib/cjs/locale/source/pl_PL.js +181 -0
  33. package/lib/cjs/locale/source/pt_BR.js +4 -5
  34. package/lib/cjs/locale/source/ro.d.ts +1 -2
  35. package/lib/cjs/locale/source/ro.js +7 -8
  36. package/lib/cjs/locale/source/ru_RU.js +7 -8
  37. package/lib/cjs/locale/source/sv_SE.d.ts +7 -0
  38. package/lib/cjs/locale/source/sv_SE.js +180 -0
  39. package/lib/cjs/locale/source/th_TH.js +4 -5
  40. package/lib/cjs/locale/source/tr_TR.js +2 -3
  41. package/lib/cjs/locale/source/vi_VN.js +4 -5
  42. package/lib/cjs/locale/source/zh_CN.js +4 -5
  43. package/lib/cjs/locale/source/zh_TW.js +4 -5
  44. package/lib/cjs/pagination/index.js +7 -4
  45. package/lib/cjs/resizeObserver/index.js +5 -0
  46. package/lib/cjs/slider/index.js +3 -10
  47. package/lib/cjs/tooltip/index.js +5 -1
  48. package/lib/cjs/transfer/index.d.ts +16 -1
  49. package/lib/cjs/transfer/index.js +37 -3
  50. package/lib/es/datePicker/dateInput.d.ts +1 -1
  51. package/lib/es/datePicker/dateInput.js +17 -6
  52. package/lib/es/datePicker/datePicker.js +4 -4
  53. package/lib/es/datePicker/index.d.ts +1 -0
  54. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  55. package/lib/es/datePicker/monthsGrid.js +1 -1
  56. package/lib/es/datePicker/quickControl.d.ts +3 -2
  57. package/lib/es/datePicker/quickControl.js +1 -1
  58. package/lib/es/form/group.d.ts +2 -0
  59. package/lib/es/form/group.js +16 -5
  60. package/lib/es/locale/interface.d.ts +1 -2
  61. package/lib/es/locale/source/ar.js +7 -8
  62. package/lib/es/locale/source/de.js +4 -5
  63. package/lib/es/locale/source/en_GB.js +4 -5
  64. package/lib/es/locale/source/en_US.js +4 -5
  65. package/lib/es/locale/source/es.js +4 -5
  66. package/lib/es/locale/source/fr.js +4 -5
  67. package/lib/es/locale/source/id_ID.js +4 -5
  68. package/lib/es/locale/source/it.js +4 -5
  69. package/lib/es/locale/source/ja_JP.js +4 -5
  70. package/lib/es/locale/source/ko_KR.js +4 -5
  71. package/lib/es/locale/source/ms_MY.js +4 -5
  72. package/lib/es/locale/source/nl_NL.d.ts +8 -0
  73. package/lib/es/locale/source/nl_NL.js +173 -0
  74. package/lib/es/locale/source/pl_PL.d.ts +8 -0
  75. package/lib/es/locale/source/pl_PL.js +173 -0
  76. package/lib/es/locale/source/pt_BR.js +4 -5
  77. package/lib/es/locale/source/ro.d.ts +1 -2
  78. package/lib/es/locale/source/ro.js +7 -8
  79. package/lib/es/locale/source/ru_RU.js +7 -8
  80. package/lib/es/locale/source/sv_SE.d.ts +7 -0
  81. package/lib/es/locale/source/sv_SE.js +172 -0
  82. package/lib/es/locale/source/th_TH.js +4 -5
  83. package/lib/es/locale/source/tr_TR.js +2 -3
  84. package/lib/es/locale/source/vi_VN.js +4 -5
  85. package/lib/es/locale/source/zh_CN.js +4 -5
  86. package/lib/es/locale/source/zh_TW.js +4 -5
  87. package/lib/es/pagination/index.js +7 -4
  88. package/lib/es/resizeObserver/index.js +5 -0
  89. package/lib/es/slider/index.js +3 -10
  90. package/lib/es/tooltip/index.js +5 -1
  91. package/lib/es/transfer/index.d.ts +16 -1
  92. package/lib/es/transfer/index.js +37 -3
  93. package/package.json +8 -8
package/dist/css/semi.css CHANGED
@@ -5742,6 +5742,7 @@ body {
5742
5742
  margin-bottom: 0;
5743
5743
  padding-top: 12px;
5744
5744
  padding-bottom: 12px;
5745
+ overflow: hidden;
5745
5746
  }
5746
5747
  .semi-form-vertical .semi-form-field-group .semi-form-field {
5747
5748
  margin-top: 0;
@@ -11902,6 +11903,9 @@ img[src=""], img:not([src]) {
11902
11903
  top: 1px;
11903
11904
  bottom: 1px;
11904
11905
  }
11906
+ .semi-input-group .semi-select {
11907
+ overflow-y: visible;
11908
+ }
11905
11909
  .semi-input-group .semi-input-number,
11906
11910
  .semi-input-group .semi-datepicker,
11907
11911
  .semi-input-group .semi-timepicker,
@@ -15251,6 +15255,7 @@ img[src=""], img:not([src]) {
15251
15255
  padding-top: 8px;
15252
15256
  padding-bottom: 8px;
15253
15257
  cursor: not-allowed;
15258
+ height: 20px;
15254
15259
  }
15255
15260
 
15256
15261
  .semi-rtl .semi-select,
@@ -15668,8 +15673,8 @@ img[src=""], img:not([src]) {
15668
15673
  }
15669
15674
 
15670
15675
  .semi-slider {
15671
- padding: 0 13px;
15672
- margin: 0;
15676
+ padding: 0px 13px;
15677
+ margin: 0px;
15673
15678
  }
15674
15679
  .semi-slider-wrapper {
15675
15680
  box-sizing: border-box;
@@ -15681,8 +15686,8 @@ img[src=""], img:not([src]) {
15681
15686
  }
15682
15687
  .semi-slider-rail {
15683
15688
  box-sizing: border-box;
15684
- margin: 0;
15685
- padding: 0;
15689
+ margin: 0px;
15690
+ padding: 0px;
15686
15691
  color: rgba(0, 0, 0, 0.65);
15687
15692
  font-size: 14px;
15688
15693
  font-variant: tabular-nums;
@@ -15711,7 +15716,7 @@ img[src=""], img:not([src]) {
15711
15716
  border-radius: 50%;
15712
15717
  cursor: pointer;
15713
15718
  transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
15714
- transform: scale(var(--semi-transform_scale-small));
15719
+ transform: var(--semi-transform_scale-small) translateX(-50%) translateY(0px);
15715
15720
  }
15716
15721
  .semi-slider-handle:focus-visible {
15717
15722
  outline: 2px solid var(--semi-color-primary-light-active);
@@ -15747,6 +15752,7 @@ img[src=""], img:not([src]) {
15747
15752
  background-color: var(--semi-color-white);
15748
15753
  border-radius: 50%;
15749
15754
  cursor: pointer;
15755
+ transform: translateX(0px);
15750
15756
  }
15751
15757
  .semi-slider-dot-active {
15752
15758
  background-color: var(--semi-color-white);
@@ -15754,7 +15760,7 @@ img[src=""], img:not([src]) {
15754
15760
  .semi-slider-marks {
15755
15761
  position: absolute;
15756
15762
  top: 23px;
15757
- left: 0;
15763
+ left: 0px;
15758
15764
  width: 100%;
15759
15765
  font-size: 14px;
15760
15766
  }
@@ -15769,7 +15775,7 @@ img[src=""], img:not([src]) {
15769
15775
  .semi-slider-marks-reverse {
15770
15776
  position: absolute;
15771
15777
  top: 23px;
15772
- left: 0;
15778
+ left: 0px;
15773
15779
  width: 100%;
15774
15780
  font-size: 14px;
15775
15781
  }
@@ -15793,10 +15799,10 @@ img[src=""], img:not([src]) {
15793
15799
  display: inline-block;
15794
15800
  }
15795
15801
  .semi-slider-boundary-min {
15796
- left: 0;
15802
+ left: 0px;
15797
15803
  }
15798
15804
  .semi-slider-boundary-max {
15799
- right: 0;
15805
+ right: 0px;
15800
15806
  }
15801
15807
  .semi-slider-boundary-show {
15802
15808
  visibility: visible;
@@ -15822,11 +15828,15 @@ img[src=""], img:not([src]) {
15822
15828
  .semi-slider-vertical-wrapper .semi-slider-rail {
15823
15829
  width: 4px;
15824
15830
  height: 100%;
15825
- top: 0;
15831
+ top: 0px;
15826
15832
  }
15827
15833
  .semi-slider-vertical-wrapper .semi-slider-handle {
15828
- margin-top: 0;
15834
+ margin-top: 0px;
15829
15835
  margin-left: -10px;
15836
+ transform: var(--semi-transform_scale-small) translateY(-50%) translateX(0px);
15837
+ }
15838
+ .semi-slider-vertical-wrapper .semi-slider-dot {
15839
+ transform: translateY(0px);
15830
15840
  }
15831
15841
 
15832
15842
  .semi-slider-disabled {