@mdsfe/mds-ui 0.2.0 → 0.2.9-rc.1

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 (131) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +9 -9
  3. package/dist/_mixin/popper.js +1 -0
  4. package/dist/_util/_popper/dom-helper.js +284 -0
  5. package/dist/_util/_popper/popper-mixin.js +35 -0
  6. package/dist/_util/_popper/popper.js +1267 -0
  7. package/dist/_util/_popper/popup/popup-main.js +224 -0
  8. package/dist/_util/_popper/popup/popup-manager.js +205 -0
  9. package/dist/_util/_popper/vue-popper.js +204 -0
  10. package/dist/_util/popup/index.js +1 -1
  11. package/dist/_util/tree/node.js +2 -0
  12. package/dist/_util/tree/tree.js +65 -21
  13. package/dist/_util/util.js +29 -1
  14. package/dist/affix.js +18 -18
  15. package/dist/anchor.js +18 -18
  16. package/dist/avatar.js +17 -17
  17. package/dist/backtop.js +19 -19
  18. package/dist/badge.js +21 -21
  19. package/dist/bordershadow.js +20 -9
  20. package/dist/breadcrumb.js +18 -18
  21. package/dist/button.js +21 -21
  22. package/dist/card.js +18 -18
  23. package/dist/carousel.js +76 -76
  24. package/dist/cascader.js +4980 -0
  25. package/dist/cascaderpanel.js +645 -603
  26. package/dist/checkbox.js +23 -23
  27. package/dist/col.js +14 -14
  28. package/dist/collapse.js +6 -6
  29. package/dist/color.js +6 -6
  30. package/dist/datepicker.js +2487 -266
  31. package/dist/divider.js +19 -19
  32. package/dist/drawer.js +787 -37
  33. package/dist/dropdown.js +150 -104
  34. package/dist/empty.js +19 -19
  35. package/dist/font/iconfont.28359fa.ttf +0 -0
  36. package/dist/font/iconfont.486e3d3.woff2 +0 -0
  37. package/dist/font/iconfont.675049e.woff +0 -0
  38. package/dist/font.js +6 -6
  39. package/dist/form.js +28 -26
  40. package/dist/icon.js +55 -47
  41. package/dist/index.js +1 -1
  42. package/dist/input.js +65 -49
  43. package/dist/inputnumber.js +59 -39
  44. package/dist/layout.js +25 -25
  45. package/dist/list.js +17 -17
  46. package/dist/loading.js +21 -8
  47. package/dist/mds-ui.min.css +3 -3
  48. package/dist/mds-ui.min.js +19183 -15407
  49. package/dist/menu.js +31 -31
  50. package/dist/message.js +773 -24
  51. package/dist/modal.js +1146 -307
  52. package/dist/notification.js +27 -27
  53. package/dist/pagination.js +78 -55
  54. package/dist/popconfirm.js +36 -36
  55. package/dist/popover.js +2778 -48
  56. package/dist/progress.js +107 -65
  57. package/dist/radio.js +56 -54
  58. package/dist/rate.js +67 -59
  59. package/dist/row.js +14 -14
  60. package/dist/select.js +847 -503
  61. package/dist/slider.js +25 -25
  62. package/dist/slottable.js +2663 -129
  63. package/dist/steps.js +18 -18
  64. package/dist/style/affix.css +224 -2
  65. package/dist/style/anchor.css +224 -2
  66. package/dist/style/avatar.css +224 -2
  67. package/dist/style/badge.css +224 -2
  68. package/dist/style/bordershadow.css +236 -59
  69. package/dist/style/breadcrumb.css +224 -2
  70. package/dist/style/button.css +234 -5
  71. package/dist/style/card.css +224 -2
  72. package/dist/style/carousel.css +224 -2
  73. package/dist/style/cascader.css +214 -0
  74. package/dist/style/cascaderpanel.css +13 -16
  75. package/dist/style/checkbox.css +230 -8
  76. package/dist/style/col.css +225 -3
  77. package/dist/style/collapse.css +224 -2
  78. package/dist/style/color.css +224 -2
  79. package/dist/style/datepicker.css +236 -2
  80. package/dist/style/divider.css +227 -2
  81. package/dist/style/drawer.css +224 -2
  82. package/dist/style/dropdown.css +234 -5
  83. package/dist/style/empty.css +224 -2
  84. package/dist/style/font.css +226 -4
  85. package/dist/style/form.css +224 -2
  86. package/dist/style/icon.css +226 -3
  87. package/dist/style/input.css +231 -5
  88. package/dist/style/inputnumber.css +224 -2
  89. package/dist/style/layout.css +224 -2
  90. package/dist/style/list.css +224 -2
  91. package/dist/style/loading.css +2527 -2
  92. package/dist/style/menu.css +340 -129
  93. package/dist/style/message.css +1 -4
  94. package/dist/style/modal.css +247 -25
  95. package/dist/style/notification.css +224 -2
  96. package/dist/style/pagination.css +236 -7
  97. package/dist/style/popconfirm.css +334 -180
  98. package/dist/style/popover.css +324 -177
  99. package/dist/style/progress.css +226 -3
  100. package/dist/style/radio.css +225 -3
  101. package/dist/style/rate.css +226 -3
  102. package/dist/style/row.css +225 -3
  103. package/dist/style/select.css +240 -12
  104. package/dist/style/slider.css +224 -2
  105. package/dist/style/slottable.css +350 -149
  106. package/dist/style/steps.css +224 -2
  107. package/dist/style/switch.css +224 -2
  108. package/dist/style/table.css +458 -314
  109. package/dist/style/tabs.css +225 -18
  110. package/dist/style/tag.css +224 -2
  111. package/dist/style/text.css +224 -2
  112. package/dist/style/timeline.css +224 -2
  113. package/dist/style/timepicker.css +231 -6
  114. package/dist/style/tooltip.css +340 -129
  115. package/dist/style/tree.css +228 -6
  116. package/dist/style/typography.css +224 -2
  117. package/dist/style/upload.css +224 -2
  118. package/dist/switch.js +20 -20
  119. package/dist/table.js +3071 -201
  120. package/dist/tabs.js +24 -22
  121. package/dist/tag.js +17 -23
  122. package/dist/text.js +38 -22
  123. package/dist/timeline.js +14 -14
  124. package/dist/timepicker.js +3063 -172
  125. package/dist/tooltip.js +2550 -27
  126. package/dist/transfer.js +28 -28
  127. package/dist/transition.js +6 -6
  128. package/dist/tree.js +316 -171
  129. package/dist/typography.js +6 -6
  130. package/dist/upload.js +46 -38
  131. package/package.json +9 -5
@@ -504,7 +504,7 @@ a {
504
504
  }
505
505
  a:focus {
506
506
  text-decoration: underline;
507
- text-decoration-skip: ink;
507
+ text-decoration-skip-ink: auto;
508
508
  }
509
509
  a:hover {
510
510
  color: #3f89ff;
@@ -554,7 +554,7 @@ samp {
554
554
  font-display: auto;
555
555
  font-style: normal;
556
556
  /* project id 1921203 */
557
- src: url('//at.alicdn.com/t/font_1921203_dze2k4tp7o.woff2?t=1629700491964') format('woff2'), url('//at.alicdn.com/t/font_1921203_dze2k4tp7o.woff?t=1629700491964') format('woff'), url('//at.alicdn.com/t/font_1921203_dze2k4tp7o.ttf?t=1629700491964') format('truetype');
557
+ src: url(/dist/font/iconfont.486e3d3.woff2) format('woff2'), url(/dist/font/iconfont.675049e.woff) format('woff'), url(/dist/font/iconfont.28359fa.ttf) format('truetype');
558
558
  }
559
559
  .mdsicon {
560
560
  display: inline-block;
@@ -2071,6 +2071,54 @@ samp {
2071
2071
  .mdsicon-line-process:before {
2072
2072
  content: "\E60B";
2073
2073
  }
2074
+ .mdsicon-line-cluster:before {
2075
+ content: "\E6D2";
2076
+ }
2077
+ .mdsicon-line-approval:before {
2078
+ content: "\E6D1";
2079
+ }
2080
+ .mdsicon-line-whistory:before {
2081
+ content: "\E6D0";
2082
+ }
2083
+ .mdsicon-line-wtable:before {
2084
+ content: "\E6CF";
2085
+ }
2086
+ .mdsicon-line-Apply:before {
2087
+ content: "\E6CE";
2088
+ }
2089
+ .mdsicon-line-wlist:before {
2090
+ content: "\E6CD";
2091
+ }
2092
+ .mdsicon-line-monitor:before {
2093
+ content: "\E6CC";
2094
+ }
2095
+ .mdsicon-line-deploy:before {
2096
+ content: "\E6CB";
2097
+ }
2098
+ .mdsicon-line-gateway:before {
2099
+ content: "\E6CA";
2100
+ }
2101
+ .mdsicon-line-measure:before {
2102
+ content: "\E6C9";
2103
+ }
2104
+ .mdsicon-line-new:before {
2105
+ content: "\E6C8";
2106
+ }
2107
+ .mdsicon-line-data:before {
2108
+ content: "\E6C7";
2109
+ }
2110
+ .mdsicon-line-SCF:before {
2111
+ content: "\E6C6";
2112
+ }
2113
+ .mdsicon-line-order:before {
2114
+ content: "\E6C5";
2115
+ }
2116
+ .mdsicon-line-alert:before {
2117
+ content: "\E6C4";
2118
+ }
2119
+ .mdsicon-line-management:before {
2120
+ content: "\E6C3";
2121
+ }
2074
2122
  .mdsicon-line-trend-up:before {
2075
2123
  content: "\EA63";
2076
2124
  }
@@ -2509,6 +2557,9 @@ samp {
2509
2557
  .mdsicon-line-electronic-archives:before {
2510
2558
  content: "\E60D";
2511
2559
  }
2560
+ .mdsicon-line-doc:before {
2561
+ content: "\E707";
2562
+ }
2512
2563
  .mdsicon-line-send-forward:before {
2513
2564
  content: "\EAC6";
2514
2565
  }
@@ -4673,6 +4724,177 @@ samp {
4673
4724
  display: inline-block;
4674
4725
  animation: loadingCircle 6s infinite linear;
4675
4726
  }
4727
+ .mdsicon-line-recommended-2:before {
4728
+ content: "\E698";
4729
+ }
4730
+ .mdsicon-line-history-2:before {
4731
+ content: "\E697";
4732
+ }
4733
+ .mdsicon-fill-collect-1:before {
4734
+ content: "\E669";
4735
+ }
4736
+ .mdsicon-fill-praise-1:before {
4737
+ content: "\E66D";
4738
+ }
4739
+ .mdsicon-line-show:before {
4740
+ content: "\E659";
4741
+ }
4742
+ .mdsicon-line-praise-1:before {
4743
+ content: "\E65D";
4744
+ }
4745
+ .mdsicon-fill-book1:before {
4746
+ content: "\E63F";
4747
+ }
4748
+ .mdsicon-fill-beans:before {
4749
+ content: "\E640";
4750
+ }
4751
+ .mdsicon-fill-article:before {
4752
+ content: "\E641";
4753
+ }
4754
+ .mdsicon-fill-delete1:before {
4755
+ content: "\E642";
4756
+ }
4757
+ .mdsicon-fill-recommend:before {
4758
+ content: "\E643";
4759
+ }
4760
+ .mdsicon-fill-message:before {
4761
+ content: "\E644";
4762
+ }
4763
+ .mdsicon-fill-ranking:before {
4764
+ content: "\E645";
4765
+ }
4766
+ .mdsicon-fill-achievement:before {
4767
+ content: "\E646";
4768
+ }
4769
+ .mdsicon-fill-circle:before {
4770
+ content: "\E647";
4771
+ }
4772
+ .mdsicon-fill-figure-1:before {
4773
+ content: "\E648";
4774
+ }
4775
+ .mdsicon-fill-figure-2:before {
4776
+ content: "\E64A";
4777
+ }
4778
+ .mdsicon-fill-figure-7:before {
4779
+ content: "\E64B";
4780
+ }
4781
+ .mdsicon-fill-figure-4:before {
4782
+ content: "\E64C";
4783
+ }
4784
+ .mdsicon-fill-figure-10:before {
4785
+ content: "\E652";
4786
+ }
4787
+ .mdsicon-fill-figure-5:before {
4788
+ content: "\E653";
4789
+ }
4790
+ .mdsicon-fill-figure-3:before {
4791
+ content: "\E654";
4792
+ }
4793
+ .mdsicon-fill-figure-9:before {
4794
+ content: "\E655";
4795
+ }
4796
+ .mdsicon-fill-figure-6:before {
4797
+ content: "\E656";
4798
+ }
4799
+ .mdsicon-fill-figure-8:before {
4800
+ content: "\E657";
4801
+ }
4802
+ .mdsicon-line-article:before {
4803
+ content: "\E658";
4804
+ }
4805
+ .mdsicon-line-calendar1:before {
4806
+ content: "\E65A";
4807
+ }
4808
+ .mdsicon-line-add:before {
4809
+ content: "\E65B";
4810
+ }
4811
+ .mdsicon-line-download1:before {
4812
+ content: "\E65C";
4813
+ }
4814
+ .mdsicon-line-dynamic:before {
4815
+ content: "\E65E";
4816
+ }
4817
+ .mdsicon-line-change:before {
4818
+ content: "\E65F";
4819
+ }
4820
+ .mdsicon-line-course:before {
4821
+ content: "\E660";
4822
+ }
4823
+ .mdsicon-line-edit1:before {
4824
+ content: "\E661";
4825
+ }
4826
+ .mdsicon-line-comment:before {
4827
+ content: "\E662";
4828
+ }
4829
+ .mdsicon-line-delete1:before {
4830
+ content: "\E663";
4831
+ }
4832
+ .mdsicon-line-email:before {
4833
+ content: "\E664";
4834
+ }
4835
+ .mdsicon-line-message:before {
4836
+ content: "\E665";
4837
+ }
4838
+ .mdsicon-line-feedback:before {
4839
+ content: "\E666";
4840
+ }
4841
+ .mdsicon-line-face1:before {
4842
+ content: "\E667";
4843
+ }
4844
+ .mdsicon-line-link1:before {
4845
+ content: "\E668";
4846
+ }
4847
+ .mdsicon-line-member:before {
4848
+ content: "\E66A";
4849
+ }
4850
+ .mdsicon-line-picture:before {
4851
+ content: "\E66B";
4852
+ }
4853
+ .mdsicon-line-PSQ:before {
4854
+ content: "\E66C";
4855
+ }
4856
+ .mdsicon-line-time1:before {
4857
+ content: "\E66E";
4858
+ }
4859
+ .mdsicon-line-setting1:before {
4860
+ content: "\E66F";
4861
+ }
4862
+ .mdsicon-line-topic:before {
4863
+ content: "\E670";
4864
+ }
4865
+ .mdsicon-line-transmit:before {
4866
+ content: "\E671";
4867
+ }
4868
+ .mdsicon-line-select:before {
4869
+ content: "\E672";
4870
+ }
4871
+ .mdsicon-line-management1:before {
4872
+ content: "\E673";
4873
+ }
4874
+ .mdsicon-line-search1:before {
4875
+ content: "\E674";
4876
+ }
4877
+ .mdsicon-line-vote:before {
4878
+ content: "\E675";
4879
+ }
4880
+ .mdsicon-line-prompt:before {
4881
+ content: "\E676";
4882
+ }
4883
+ .mdsicon-line-video:before {
4884
+ content: "\E678";
4885
+ }
4886
+ .mdsicon-line-wechat:before {
4887
+ content: "\E67A";
4888
+ }
4889
+ .mdsicon-line-close1:before {
4890
+ content: "\E67B";
4891
+ }
4892
+ .mdsicon-line-home1:before {
4893
+ content: "\E67C";
4894
+ }
4895
+ .mdsicon-line-landmark:before {
4896
+ content: "\E67D";
4897
+ }
4676
4898
  .fade-enter,
4677
4899
  .fade-appear {
4678
4900
  animation-duration: 0.2s;
@@ -5519,8 +5741,7 @@ samp {
5519
5741
  /* stylelint-disable declaration-bang-space-before */
5520
5742
  /* stylelint-disable declaration-bang-space-before */
5521
5743
  .mds-time-picker-panel {
5522
- z-index: 1050;
5523
- position: absolute;
5744
+ margin-left: 2px;
5524
5745
  }
5525
5746
  .mds-time-picker-panel-inner {
5526
5747
  position: relative;
@@ -5535,6 +5756,7 @@ samp {
5535
5756
  z-index: 10;
5536
5757
  }
5537
5758
  .mds-time-picker-panel-input {
5759
+ outline: none;
5538
5760
  float: left;
5539
5761
  font-size: 14px;
5540
5762
  margin: 0;
@@ -5716,7 +5938,7 @@ li.mds-time-picker-panel-select-option-disabled:hover {
5716
5938
  margin-right: 24px;
5717
5939
  }
5718
5940
  .mds-time-picker-panel-picker-box-bottom {
5719
- padding: 8px 12px;
5941
+ padding: 4px 6px;
5720
5942
  width: 100%;
5721
5943
  border-top: 1px solid #F0F2F5;
5722
5944
  }
@@ -5762,6 +5984,10 @@ li.mds-time-picker-panel-select-option-disabled:hover {
5762
5984
  .mds-time-picker-panel.slide-up-leave.slide-up-leave-active.mds-time-picker-panel-placement-bottomRight {
5763
5985
  animation-name: antSlideUpOut;
5764
5986
  }
5987
+ .mds-time-picker-panel .lazy-footer {
5988
+ display: flex;
5989
+ justify-content: flex-end;
5990
+ }
5765
5991
  .mds-time-picker {
5766
5992
  outline: none;
5767
5993
  font-size: 12px;
@@ -5770,7 +5996,6 @@ li.mds-time-picker-panel-select-option-disabled:hover {
5770
5996
  position: relative;
5771
5997
  display: inline-block;
5772
5998
  padding: 4px 12px;
5773
- width: 100%;
5774
5999
  height: 36px;
5775
6000
  font-size: 14px;
5776
6001
  line-height: 1.5;