acud 0.0.68 → 0.0.69

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 (67) hide show
  1. package/dist/acud.css +47 -37
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +235 -219
  4. package/dist/acud.js.map +1 -1
  5. package/dist/acud.min.css +1 -1
  6. package/dist/acud.min.css.map +1 -1
  7. package/dist/acud.min.js +6 -6
  8. package/dist/acud.min.js.map +1 -1
  9. package/es/cascader/Cascader.js +2 -1
  10. package/es/cascader/MenuItem.js +7 -13
  11. package/es/cascader/Menus.d.ts +3 -2
  12. package/es/cascader/Menus.js +30 -24
  13. package/es/cascader/index.js +14 -8
  14. package/es/cascader/style/index.css +15 -11
  15. package/es/cascader/style/index.less +21 -14
  16. package/es/dropdown/dropdown.js +2 -3
  17. package/es/form/style/horizontal.less +3 -2
  18. package/es/form/style/index.css +2 -3
  19. package/es/menu/menu.d.ts +2 -1
  20. package/es/radio/Radio.d.ts +1 -0
  21. package/es/radio/Radio.js +3 -2
  22. package/es/radio/RadioButton.js +3 -2
  23. package/es/radio/RadioGroup.d.ts +1 -0
  24. package/es/radio/RadioGroup.js +4 -1
  25. package/es/radio/context.d.ts +1 -0
  26. package/es/toast/index.js +7 -8
  27. package/es/toast/style/index.css +1 -1
  28. package/es/toast/style/index.less +3 -3
  29. package/es/transfer/SourceList.js +1 -0
  30. package/es/transfer/index.js +3 -7
  31. package/es/transfer/style/index.css +3 -0
  32. package/es/transfer/style/index.less +3 -0
  33. package/es/upload/Upload.js +4 -1
  34. package/es/upload/UploadList/ListItem.js +2 -2
  35. package/es/upload/UploadList/index.js +1 -1
  36. package/es/upload/style/index.css +25 -21
  37. package/es/upload/style/index.less +28 -21
  38. package/lib/cascader/Cascader.js +2 -1
  39. package/lib/cascader/MenuItem.js +7 -13
  40. package/lib/cascader/Menus.d.ts +3 -2
  41. package/lib/cascader/Menus.js +31 -24
  42. package/lib/cascader/index.js +15 -8
  43. package/lib/cascader/style/index.css +15 -11
  44. package/lib/cascader/style/index.less +21 -14
  45. package/lib/dropdown/dropdown.js +2 -3
  46. package/lib/form/style/horizontal.less +3 -2
  47. package/lib/form/style/index.css +2 -3
  48. package/lib/menu/menu.d.ts +2 -1
  49. package/lib/radio/Radio.d.ts +1 -0
  50. package/lib/radio/Radio.js +3 -2
  51. package/lib/radio/RadioButton.js +3 -2
  52. package/lib/radio/RadioGroup.d.ts +1 -0
  53. package/lib/radio/RadioGroup.js +5 -1
  54. package/lib/radio/context.d.ts +1 -0
  55. package/lib/toast/index.js +7 -8
  56. package/lib/toast/style/index.css +1 -1
  57. package/lib/toast/style/index.less +3 -3
  58. package/lib/transfer/SourceList.js +1 -0
  59. package/lib/transfer/index.js +3 -7
  60. package/lib/transfer/style/index.css +3 -0
  61. package/lib/transfer/style/index.less +3 -0
  62. package/lib/upload/Upload.js +4 -1
  63. package/lib/upload/UploadList/ListItem.js +2 -2
  64. package/lib/upload/UploadList/index.js +1 -1
  65. package/lib/upload/style/index.css +25 -21
  66. package/lib/upload/style/index.less +28 -21
  67. package/package.json +1 -1
package/dist/acud.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v0.0.68 */
1
+ /*! acud v0.0.69 */
2
2
  /* color */
3
3
  /* 默认颜色 */
4
4
  /* 通用-icon */
@@ -9511,7 +9511,7 @@ a {
9511
9511
  color: #B8BABF;
9512
9512
  }
9513
9513
  .acud-cascader-picker-arrow-expand {
9514
- transform: rotate(-180deg);
9514
+ transform: rotate(180deg);
9515
9515
  }
9516
9516
  .acud-cascader-picker-arrow > svg {
9517
9517
  width: 16px;
@@ -9659,7 +9659,9 @@ a {
9659
9659
  color: #151B26;
9660
9660
  background-color: #FFFFFF;
9661
9661
  border-color: transparent;
9662
- padding: 0 8px 0 12px;
9662
+ display: flex;
9663
+ justify-content: space-between;
9664
+ padding: 0 12px;
9663
9665
  height: 32px;
9664
9666
  line-height: 32px;
9665
9667
  cursor: pointer;
@@ -9707,17 +9709,18 @@ a {
9707
9709
  border-color: transparent;
9708
9710
  }
9709
9711
  .acud-cascader-menu-item-content {
9710
- width: calc(100% - 3 * 4px);
9712
+ display: flex;
9711
9713
  overflow: hidden;
9712
9714
  text-overflow: ellipsis;
9713
9715
  }
9714
- .acud-cascader-menu-item-checkbox {
9716
+ .acud-cascader-menu-item-checkbox.acud-checkbox-wrapper {
9715
9717
  vertical-align: middle;
9718
+ margin-right: 8px;
9716
9719
  }
9717
- .acud-cascader-menu-item-checkbox .acud-checkbox {
9720
+ .acud-cascader-menu-item-checkbox.acud-checkbox-wrapper .acud-checkbox {
9718
9721
  top: 0;
9719
9722
  }
9720
- .acud-cascader-menu-item-checkbox .acud-checkbox + span {
9723
+ .acud-cascader-menu-item-label {
9721
9724
  overflow: hidden;
9722
9725
  text-overflow: ellipsis;
9723
9726
  }
@@ -9739,15 +9742,11 @@ a {
9739
9742
  }
9740
9743
  .acud-cascader-menu-item-expand {
9741
9744
  position: relative;
9745
+ padding-right: 8px;
9742
9746
  }
9743
9747
  .acud-cascader-menu-item-expand .acud-cascader-menu-item-expand-icon,
9744
9748
  .acud-cascader-menu-item-loading-icon {
9745
9749
  color: #84868C;
9746
- position: absolute;
9747
- right: 8px;
9748
- top: 50%;
9749
- transform: translateY(-50%);
9750
- line-height: 0;
9751
9750
  }
9752
9751
  .acud-cascader-menu-item-expand .acud-cascader-menu-item-expand-icon:hover,
9753
9752
  .acud-cascader-menu-item-loading-icon:hover {
@@ -9772,6 +9771,11 @@ a {
9772
9771
  .acud-cascader-menu-item .acud-cascader-menu-item-keyword {
9773
9772
  color: #2468F2;
9774
9773
  }
9774
+ .acud-cascader-tag-tooltip.acud-tooltip,
9775
+ .acud-cascader-picker-label-tooltip.acud-tooltip,
9776
+ .acud-cascader-menu-item-tooltip.acud-tooltip {
9777
+ max-width: initial;
9778
+ }
9775
9779
 
9776
9780
  /* color */
9777
9781
  /* 默认颜色 */
@@ -13946,13 +13950,12 @@ li.acud-dropdown-menu-submenu-active:hover,
13946
13950
  .acud-form-horizontal .acud-form-item-label {
13947
13951
  flex-grow: 0;
13948
13952
  line-height: 1.6667;
13953
+ padding-left: calc(.5em + 4px);
13954
+ box-sizing: content-box;
13949
13955
  }
13950
13956
  .acud-form-horizontal .acud-form-item-label:not([class*=' acud-col-']) {
13951
13957
  margin-right: 16px;
13952
13958
  }
13953
- .acud-form-horizontal .acud-form-item-label > label {
13954
- padding-left: calc(.5em + 4px);
13955
- }
13956
13959
  .acud-form-horizontal .acud-form-item-label > label.acud-form-item-required:not(.acud-form-item-required-mark-optional)::before {
13957
13960
  text-indent: -0.5em;
13958
13961
  margin-left: -4px;
@@ -23853,7 +23856,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23853
23856
  }
23854
23857
  .acud-notification-notice-with-icon .acud-notification-notice-message {
23855
23858
  margin: 0 calc(8px + 4px * 4) 0 calc(8px + 18px);
23856
- font-size: 16px;
23859
+ font-size: 14px;
23857
23860
  }
23858
23861
  .acud-notification-notice-with-icon .acud-notification-notice-description {
23859
23862
  margin: 0 calc(8px + 4px * 4) 0 calc(8px + 18px);
@@ -24161,6 +24164,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24161
24164
  .acud-transfer-datasource-item-group-option {
24162
24165
  padding-left: 60px;
24163
24166
  }
24167
+ .acud-transfer-datasource-item-checkbox {
24168
+ height: 16px;
24169
+ }
24164
24170
  .acud-transfer-datasource-search {
24165
24171
  height: 40px;
24166
24172
  padding: 8px 12px;
@@ -24503,6 +24509,12 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24503
24509
  .acud-upload.acud-upload-drag.acud-upload-drag-hover:not(.acud-upload-disabled) {
24504
24510
  border-color: #144BCC;
24505
24511
  }
24512
+ .acud-upload.acud-upload-drag.acud-upload-drag-click:not(.acud-upload-disabled) {
24513
+ border-color: #144BCC;
24514
+ }
24515
+ .acud-upload.acud-upload-drag.acud-upload-drag-click:not(.acud-upload-disabled):hover {
24516
+ border-color: #144BCC;
24517
+ }
24506
24518
  .acud-upload.acud-upload-drag.acud-upload-disabled {
24507
24519
  background: #fafafa;
24508
24520
  cursor: not-allowed;
@@ -24572,9 +24584,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24572
24584
  }
24573
24585
  .acud-upload-list-item {
24574
24586
  position: relative;
24575
- height: 24px;
24576
- margin-top: 8px;
24577
24587
  font-size: 12px;
24588
+ transition: background-color 0.3s;
24589
+ overflow-y: hidden;
24578
24590
  }
24579
24591
  .acud-upload-list-item-name {
24580
24592
  display: inline-block;
@@ -24601,7 +24613,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24601
24613
  }
24602
24614
  .acud-upload-list-item-card-actions {
24603
24615
  position: absolute;
24604
- right: 0;
24616
+ right: 4px;
24605
24617
  }
24606
24618
  .acud-upload-list-item-card-actions-btn {
24607
24619
  opacity: 0;
@@ -24637,9 +24649,8 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24637
24649
  color: #B8BABF;
24638
24650
  }
24639
24651
  .acud-upload-list-item-info {
24640
- height: 100%;
24652
+ height: 24px;
24641
24653
  padding: 0 2px;
24642
- transition: background-color 0.3s;
24643
24654
  border-radius: 2px;
24644
24655
  }
24645
24656
  .acud-upload-list-item-info > span {
@@ -24687,7 +24698,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24687
24698
  .acud-upload-list-item .acuicon-outlined-close:hover {
24688
24699
  color: #151B26;
24689
24700
  }
24690
- .acud-upload-list-item:hover .acud-upload-list-item-info {
24701
+ .acud-upload-list-item:hover {
24691
24702
  background-color: #F7F7F9;
24692
24703
  }
24693
24704
  .acud-upload-list-item:hover .acuicon-outlined-close {
@@ -24719,10 +24730,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24719
24730
  color: #F33E3E;
24720
24731
  }
24721
24732
  .acud-upload-list-item-progress {
24722
- position: absolute;
24723
- bottom: -12px;
24724
24733
  width: 100%;
24725
24734
  padding-left: 4px;
24735
+ padding-right: 4px;
24726
24736
  font-size: 12px;
24727
24737
  line-height: 0;
24728
24738
  }
@@ -24812,13 +24822,6 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24812
24822
  .acud-upload-list-picture-card .acud-upload-list-item-uploading .acud-upload-list-item-name {
24813
24823
  margin-bottom: 12px;
24814
24824
  }
24815
- .acud-upload-list-picture .acud-upload-list-item-progress,
24816
- .acud-upload-list-picture-card .acud-upload-list-item-progress {
24817
- bottom: 14px;
24818
- width: calc(100% - 24px);
24819
- margin-top: 0;
24820
- padding-left: 56px;
24821
- }
24822
24825
  .acud-upload-list-picture .acuicon-outlined-close,
24823
24826
  .acud-upload-list-picture-card .acuicon-outlined-close {
24824
24827
  position: absolute;
@@ -24871,7 +24874,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24871
24874
  opacity: 0;
24872
24875
  transition: all 0.3s;
24873
24876
  }
24874
- .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-refresh,
24877
+ .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-button-upload,
24875
24878
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-eye,
24876
24879
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-download,
24877
24880
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-delete {
@@ -24899,8 +24902,8 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24899
24902
  display: block;
24900
24903
  width: 100%;
24901
24904
  height: 100%;
24902
- -o-object-fit: contain;
24903
- object-fit: contain;
24905
+ -o-object-fit: cover;
24906
+ object-fit: cover;
24904
24907
  }
24905
24908
  .acud-upload-list-picture-card .acud-upload-list-item-name {
24906
24909
  display: none;
@@ -24927,6 +24930,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24927
24930
  line-height: 140px;
24928
24931
  }
24929
24932
  .acud-upload-list-picture-card .acud-upload-list-item-progress {
24933
+ position: absolute;
24930
24934
  top: 44px;
24931
24935
  padding-left: 8px;
24932
24936
  padding-right: 8px;
@@ -24963,9 +24967,15 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24963
24967
  margin: 0;
24964
24968
  padding: 0 8px 0 4px;
24965
24969
  }
24966
- .acud-upload-list-text .acud-upload-list-item-card-actions,
24967
- .acud-upload-list-picture .acud-upload-list-item-card-actions {
24968
- position: static;
24970
+ .acud-upload-list-text-container {
24971
+ margin-bottom: 4px;
24972
+ }
24973
+ .acud-upload-list-text-container:first-child {
24974
+ margin-top: 8px;
24975
+ }
24976
+ .acud-upload-list-text .acud-upload-list-item-progress {
24977
+ margin-top: 4px;
24978
+ margin-bottom: 2px;
24969
24979
  }
24970
24980
  .acud-upload-list .acud-upload-animate-inline-appear,
24971
24981
  .acud-upload-list .acud-upload-animate-inline-enter,