acud 0.0.68 → 0.0.71

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 (84) hide show
  1. package/dist/acud.css +51 -38
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +513 -477
  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 +21 -14
  14. package/es/cascader/style/index.css +15 -11
  15. package/es/cascader/style/index.less +21 -14
  16. package/es/date-picker/generatePicker/generateSinglePicker.js +7 -5
  17. package/es/dropdown/dropdown.js +2 -3
  18. package/es/form/style/horizontal.less +3 -2
  19. package/es/form/style/index.css +2 -3
  20. package/es/input/style/index.css +3 -0
  21. package/es/input/style/index.less +3 -0
  22. package/es/input-number/src/hooks/useLayoutEffect.d.ts +1 -1
  23. package/es/locale/en_US.js +2 -0
  24. package/es/locale/zh_CN.js +2 -0
  25. package/es/menu/menu.d.ts +2 -1
  26. package/es/radio/Radio.d.ts +1 -0
  27. package/es/radio/Radio.js +3 -2
  28. package/es/radio/RadioButton.js +3 -2
  29. package/es/radio/RadioGroup.d.ts +1 -0
  30. package/es/radio/RadioGroup.js +4 -1
  31. package/es/radio/context.d.ts +1 -0
  32. package/es/toast/index.js +5 -6
  33. package/es/toast/style/index.css +1 -1
  34. package/es/toast/style/index.less +3 -3
  35. package/es/transfer/SourceList.js +1 -0
  36. package/es/transfer/index.js +3 -7
  37. package/es/transfer/style/index.css +3 -0
  38. package/es/transfer/style/index.less +3 -0
  39. package/es/upload/Upload.js +6 -1
  40. package/es/upload/UploadList/ListItem.d.ts +1 -0
  41. package/es/upload/UploadList/ListItem.js +5 -3
  42. package/es/upload/UploadList/index.js +7 -3
  43. package/es/upload/interface.d.ts +2 -0
  44. package/es/upload/style/index.css +26 -22
  45. package/es/upload/style/index.less +29 -22
  46. package/lib/cascader/Cascader.js +2 -1
  47. package/lib/cascader/MenuItem.js +7 -13
  48. package/lib/cascader/Menus.d.ts +3 -2
  49. package/lib/cascader/Menus.js +31 -24
  50. package/lib/cascader/index.js +22 -14
  51. package/lib/cascader/style/index.css +15 -11
  52. package/lib/cascader/style/index.less +21 -14
  53. package/lib/date-picker/generatePicker/generateSinglePicker.js +7 -5
  54. package/lib/dropdown/dropdown.js +2 -3
  55. package/lib/form/style/horizontal.less +3 -2
  56. package/lib/form/style/index.css +2 -3
  57. package/lib/input/style/index.css +3 -0
  58. package/lib/input/style/index.less +3 -0
  59. package/lib/input-number/src/hooks/useLayoutEffect.d.ts +1 -1
  60. package/lib/locale/en_US.js +5 -0
  61. package/lib/locale/zh_CN.js +5 -0
  62. package/lib/menu/menu.d.ts +2 -1
  63. package/lib/radio/Radio.d.ts +1 -0
  64. package/lib/radio/Radio.js +3 -2
  65. package/lib/radio/RadioButton.js +3 -2
  66. package/lib/radio/RadioGroup.d.ts +1 -0
  67. package/lib/radio/RadioGroup.js +5 -1
  68. package/lib/radio/context.d.ts +1 -0
  69. package/lib/toast/index.js +5 -6
  70. package/lib/toast/style/index.css +1 -1
  71. package/lib/toast/style/index.less +3 -3
  72. package/lib/transfer/SourceList.js +1 -0
  73. package/lib/transfer/index.js +3 -7
  74. package/lib/transfer/style/index.css +3 -0
  75. package/lib/transfer/style/index.less +3 -0
  76. package/lib/upload/Upload.js +6 -1
  77. package/lib/upload/UploadList/ListItem.d.ts +1 -0
  78. package/lib/upload/UploadList/ListItem.js +5 -3
  79. package/lib/upload/UploadList/index.js +7 -3
  80. package/lib/upload/interface.d.ts +2 -0
  81. package/lib/upload/style/index.css +26 -22
  82. package/lib/upload/style/index.less +29 -22
  83. package/package.json +1 -1
  84. package/CHANGELOG.md +0 -4
package/dist/acud.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v0.0.68 */
1
+ /*! acud v0.0.71 */
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
  /* 默认颜色 */
@@ -10719,6 +10723,9 @@ a {
10719
10723
  top: 2px;
10720
10724
  right: 12px;
10721
10725
  cursor: pointer;
10726
+ display: flex;
10727
+ align-items: center;
10728
+ bottom: 2px;
10722
10729
  }
10723
10730
  .acud-input-password-outer-icon .acuicon svg {
10724
10731
  fill: #84868C;
@@ -13946,13 +13953,12 @@ li.acud-dropdown-menu-submenu-active:hover,
13946
13953
  .acud-form-horizontal .acud-form-item-label {
13947
13954
  flex-grow: 0;
13948
13955
  line-height: 1.6667;
13956
+ padding-left: calc(.5em + 4px);
13957
+ box-sizing: content-box;
13949
13958
  }
13950
13959
  .acud-form-horizontal .acud-form-item-label:not([class*=' acud-col-']) {
13951
13960
  margin-right: 16px;
13952
13961
  }
13953
- .acud-form-horizontal .acud-form-item-label > label {
13954
- padding-left: calc(.5em + 4px);
13955
- }
13956
13962
  .acud-form-horizontal .acud-form-item-label > label.acud-form-item-required:not(.acud-form-item-required-mark-optional)::before {
13957
13963
  text-indent: -0.5em;
13958
13964
  margin-left: -4px;
@@ -23853,7 +23859,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23853
23859
  }
23854
23860
  .acud-notification-notice-with-icon .acud-notification-notice-message {
23855
23861
  margin: 0 calc(8px + 4px * 4) 0 calc(8px + 18px);
23856
- font-size: 16px;
23862
+ font-size: 14px;
23857
23863
  }
23858
23864
  .acud-notification-notice-with-icon .acud-notification-notice-description {
23859
23865
  margin: 0 calc(8px + 4px * 4) 0 calc(8px + 18px);
@@ -24161,6 +24167,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24161
24167
  .acud-transfer-datasource-item-group-option {
24162
24168
  padding-left: 60px;
24163
24169
  }
24170
+ .acud-transfer-datasource-item-checkbox {
24171
+ height: 16px;
24172
+ }
24164
24173
  .acud-transfer-datasource-search {
24165
24174
  height: 40px;
24166
24175
  padding: 8px 12px;
@@ -24503,6 +24512,12 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24503
24512
  .acud-upload.acud-upload-drag.acud-upload-drag-hover:not(.acud-upload-disabled) {
24504
24513
  border-color: #144BCC;
24505
24514
  }
24515
+ .acud-upload.acud-upload-drag.acud-upload-drag-click:not(.acud-upload-disabled) {
24516
+ border-color: #144BCC;
24517
+ }
24518
+ .acud-upload.acud-upload-drag.acud-upload-drag-click:not(.acud-upload-disabled):hover {
24519
+ border-color: #144BCC;
24520
+ }
24506
24521
  .acud-upload.acud-upload-drag.acud-upload-disabled {
24507
24522
  background: #fafafa;
24508
24523
  cursor: not-allowed;
@@ -24572,9 +24587,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24572
24587
  }
24573
24588
  .acud-upload-list-item {
24574
24589
  position: relative;
24575
- height: 24px;
24576
- margin-top: 8px;
24577
24590
  font-size: 12px;
24591
+ transition: background-color 0.3s;
24592
+ overflow-y: hidden;
24578
24593
  }
24579
24594
  .acud-upload-list-item-name {
24580
24595
  display: inline-block;
@@ -24601,7 +24616,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24601
24616
  }
24602
24617
  .acud-upload-list-item-card-actions {
24603
24618
  position: absolute;
24604
- right: 0;
24619
+ right: 4px;
24605
24620
  }
24606
24621
  .acud-upload-list-item-card-actions-btn {
24607
24622
  opacity: 0;
@@ -24637,9 +24652,8 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24637
24652
  color: #B8BABF;
24638
24653
  }
24639
24654
  .acud-upload-list-item-info {
24640
- height: 100%;
24655
+ height: 24px;
24641
24656
  padding: 0 2px;
24642
- transition: background-color 0.3s;
24643
24657
  border-radius: 2px;
24644
24658
  }
24645
24659
  .acud-upload-list-item-info > span {
@@ -24687,7 +24701,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24687
24701
  .acud-upload-list-item .acuicon-outlined-close:hover {
24688
24702
  color: #151B26;
24689
24703
  }
24690
- .acud-upload-list-item:hover .acud-upload-list-item-info {
24704
+ .acud-upload-list-item:hover {
24691
24705
  background-color: #F7F7F9;
24692
24706
  }
24693
24707
  .acud-upload-list-item:hover .acuicon-outlined-close {
@@ -24719,10 +24733,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24719
24733
  color: #F33E3E;
24720
24734
  }
24721
24735
  .acud-upload-list-item-progress {
24722
- position: absolute;
24723
- bottom: -12px;
24724
24736
  width: 100%;
24725
24737
  padding-left: 4px;
24738
+ padding-right: 4px;
24726
24739
  font-size: 12px;
24727
24740
  line-height: 0;
24728
24741
  }
@@ -24731,7 +24744,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24731
24744
  position: relative;
24732
24745
  height: 66px;
24733
24746
  padding: 0;
24734
- border: 1px 1px #d9d9d9;
24747
+ border: 1px solid #d9d9d9;
24735
24748
  border-radius: 0px;
24736
24749
  }
24737
24750
  .acud-upload-list-picture .acud-upload-list-item:hover,
@@ -24812,13 +24825,6 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24812
24825
  .acud-upload-list-picture-card .acud-upload-list-item-uploading .acud-upload-list-item-name {
24813
24826
  margin-bottom: 12px;
24814
24827
  }
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
24828
  .acud-upload-list-picture .acuicon-outlined-close,
24823
24829
  .acud-upload-list-picture-card .acuicon-outlined-close {
24824
24830
  position: absolute;
@@ -24871,7 +24877,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24871
24877
  opacity: 0;
24872
24878
  transition: all 0.3s;
24873
24879
  }
24874
- .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-refresh,
24880
+ .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-button-upload,
24875
24881
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-eye,
24876
24882
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-download,
24877
24883
  .acud-upload-list-picture-card .acud-upload-list-item-actions .acuicon-outlined-delete {
@@ -24899,8 +24905,8 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24899
24905
  display: block;
24900
24906
  width: 100%;
24901
24907
  height: 100%;
24902
- -o-object-fit: contain;
24903
- object-fit: contain;
24908
+ -o-object-fit: cover;
24909
+ object-fit: cover;
24904
24910
  }
24905
24911
  .acud-upload-list-picture-card .acud-upload-list-item-name {
24906
24912
  display: none;
@@ -24927,6 +24933,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24927
24933
  line-height: 140px;
24928
24934
  }
24929
24935
  .acud-upload-list-picture-card .acud-upload-list-item-progress {
24936
+ position: absolute;
24930
24937
  top: 44px;
24931
24938
  padding-left: 8px;
24932
24939
  padding-right: 8px;
@@ -24963,9 +24970,15 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24963
24970
  margin: 0;
24964
24971
  padding: 0 8px 0 4px;
24965
24972
  }
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;
24973
+ .acud-upload-list-text-container {
24974
+ margin-bottom: 4px;
24975
+ }
24976
+ .acud-upload-list-text-container:first-child {
24977
+ margin-top: 8px;
24978
+ }
24979
+ .acud-upload-list-text .acud-upload-list-item-progress {
24980
+ margin-top: 4px;
24981
+ margin-bottom: 2px;
24969
24982
  }
24970
24983
  .acud-upload-list .acud-upload-animate-inline-appear,
24971
24984
  .acud-upload-list .acud-upload-animate-inline-enter,