acud 0.0.62 → 0.0.65

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 (59) hide show
  1. package/dist/acud.css +91 -18
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +972 -311
  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 +5 -5
  8. package/dist/acud.min.js.map +1 -1
  9. package/es/alert/style/index.css +1 -1
  10. package/es/alert/style/index.less +150 -147
  11. package/es/alert/style/rtl.less +27 -27
  12. package/es/date-picker/src/Picker.js +1 -1
  13. package/es/date-picker/src/RangePicker.js +1 -1
  14. package/es/date-picker/style/index.css +43 -11
  15. package/es/date-picker/style/index.less +13 -2
  16. package/es/date-picker/style/panel.less +32 -10
  17. package/es/dropdown/dropdown-button.js +5 -2
  18. package/es/dropdown/style/index.css +4 -0
  19. package/es/dropdown/style/index.less +4 -0
  20. package/es/modal/DialogBox.d.ts +46 -0
  21. package/es/modal/DialogBox.js +152 -0
  22. package/es/modal/dialog.d.ts +17 -0
  23. package/es/modal/dialog.js +123 -0
  24. package/es/modal/index.d.ts +11 -2
  25. package/es/modal/index.js +10 -1
  26. package/es/modal/style/index.css +40 -4
  27. package/es/modal/style/index.less +60 -1
  28. package/es/style/themes/default/components/datePicker.less +1 -1
  29. package/es/style/themes/default/components/modal.less +2 -2
  30. package/es/tooltip/index.d.ts +0 -1
  31. package/es/tooltip/index.js +3 -8
  32. package/es/transfer/style/index.css +2 -1
  33. package/es/transfer/style/index.less +2 -1
  34. package/lib/alert/style/index.css +1 -1
  35. package/lib/alert/style/index.less +150 -147
  36. package/lib/alert/style/rtl.less +27 -27
  37. package/lib/date-picker/src/Picker.js +1 -1
  38. package/lib/date-picker/src/RangePicker.js +1 -1
  39. package/lib/date-picker/style/index.css +43 -11
  40. package/lib/date-picker/style/index.less +13 -2
  41. package/lib/date-picker/style/panel.less +32 -10
  42. package/lib/dropdown/dropdown-button.js +5 -2
  43. package/lib/dropdown/style/index.css +4 -0
  44. package/lib/dropdown/style/index.less +4 -0
  45. package/lib/modal/DialogBox.d.ts +46 -0
  46. package/lib/modal/DialogBox.js +179 -0
  47. package/lib/modal/dialog.d.ts +17 -0
  48. package/lib/modal/dialog.js +145 -0
  49. package/lib/modal/index.d.ts +11 -2
  50. package/lib/modal/index.js +13 -1
  51. package/lib/modal/style/index.css +40 -4
  52. package/lib/modal/style/index.less +60 -1
  53. package/lib/style/themes/default/components/datePicker.less +1 -1
  54. package/lib/style/themes/default/components/modal.less +2 -2
  55. package/lib/tooltip/index.d.ts +0 -1
  56. package/lib/tooltip/index.js +3 -8
  57. package/lib/transfer/style/index.css +2 -1
  58. package/lib/transfer/style/index.less +2 -1
  59. package/package.json +1 -1
package/dist/acud.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v0.0.62 */
1
+ /*! acud v0.0.65 */
2
2
  /* color */
3
3
  /* 默认颜色 */
4
4
  /* 通用-icon */
@@ -1114,7 +1114,7 @@ a {
1114
1114
  min-width: 0;
1115
1115
  }
1116
1116
  .acud-alert-icon {
1117
- margin: 3px 8px 0 0;
1117
+ margin: 4px 8px 0 0;
1118
1118
  font-size: 18px;
1119
1119
  height: 18px;
1120
1120
  line-height: 18px;
@@ -11745,7 +11745,7 @@ a {
11745
11745
  .acud-picker-input:hover .acud-picker-clear {
11746
11746
  opacity: 1;
11747
11747
  }
11748
- .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
11748
+ .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
11749
11749
  opacity: 0;
11750
11750
  }
11751
11751
  .acud-picker-suffix {
@@ -11834,7 +11834,7 @@ a {
11834
11834
  padding: 0 12px;
11835
11835
  line-height: 1;
11836
11836
  }
11837
- .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
11837
+ .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
11838
11838
  opacity: 0;
11839
11839
  }
11840
11840
  .acud-picker-dropdown {
@@ -11902,6 +11902,28 @@ a {
11902
11902
  .acud-picker-ranges .acud-picker-preset > .acud-tag-blue {
11903
11903
  cursor: pointer;
11904
11904
  }
11905
+ .acud-picker-ranges .acud-picker-now {
11906
+ font-size: 12px;
11907
+ float: left;
11908
+ cursor: pointer;
11909
+ margin-top: 10px;
11910
+ }
11911
+ .acud-picker-ranges .acud-picker-now a {
11912
+ color: #2468F2;
11913
+ }
11914
+ .acud-picker-ranges .acud-picker-now a:hover {
11915
+ color: #528EFF;
11916
+ }
11917
+ .acud-picker-ranges .acud-picker-now a:focus,
11918
+ .acud-picker-ranges .acud-picker-now a:active {
11919
+ color: #144BCC;
11920
+ }
11921
+ .acud-picker-ranges .acud-picker-now a[disabled],
11922
+ .acud-picker-ranges .acud-picker-now a[disabled]:hover,
11923
+ .acud-picker-ranges .acud-picker-now a[disabled]:focus,
11924
+ .acud-picker-ranges .acud-picker-now a[disabled]:active {
11925
+ color: #B8BABF;
11926
+ }
11905
11927
  .acud-picker-ranges .acud-picker-ok {
11906
11928
  float: right;
11907
11929
  margin-left: 12px;
@@ -11985,12 +12007,16 @@ a {
11985
12007
  left: -12px;
11986
12008
  background: #E6F0FF;
11987
12009
  }
11988
- .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover {
11989
- background-color: #E6F0FF;
12010
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-end:hover,
12011
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-start:hover {
12012
+ background-color: #D4E5FF;
11990
12013
  }
11991
- .acud-picker-month-panel .acud-picker-cell-range-hover-start:hover {
11992
- background-color: #A7C2F9;
11993
- border-radius: 2px;
12014
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
12015
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
12016
+ background: #E6F0FF;
12017
+ }
12018
+ .acud-picker-month-panel .acud-picker-cell-disabled:not(:first-child)::before {
12019
+ left: -12px;
11994
12020
  }
11995
12021
  .acud-picker-header {
11996
12022
  display: flex;
@@ -12238,7 +12264,7 @@ a {
12238
12264
  }
12239
12265
  .acud-picker-cell:hover:not(.acud-picker-cell-in-view) .acud-picker-cell-inner,
12240
12266
  .acud-picker-cell:hover:not(.acud-picker-cell-selected):not(.acud-picker-cell-range-start):not(.acud-picker-cell-range-end):not(.acud-picker-cell-range-hover-start):not(.acud-picker-cell-range-hover-end) .acud-picker-cell-inner {
12241
- background: #E6F0FF;
12267
+ background: #F7F7F9;
12242
12268
  border-radius: 2px;
12243
12269
  }
12244
12270
  .acud-picker-cell-in-view.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -12328,7 +12354,7 @@ a {
12328
12354
  top: 0;
12329
12355
  bottom: 0;
12330
12356
  z-index: -1;
12331
- background: #A7C2F9;
12357
+ background: #D4E5FF;
12332
12358
  content: '';
12333
12359
  border-radius: 2px;
12334
12360
  }
@@ -12375,7 +12401,7 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
12375
12401
  }
12376
12402
  .acud-picker-cell-disabled:not(:first-child)::before {
12377
12403
  width: 12px;
12378
- left: -12px;
12404
+ left: -10px;
12379
12405
  background: #F7F7F9;
12380
12406
  }
12381
12407
  .acud-picker-cell-disabled.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -12391,7 +12417,6 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
12391
12417
  height: 56px;
12392
12418
  }
12393
12419
  .acud-picker-date-panel .acud-picker-content td:hover {
12394
- background-color: #E6F0FF;
12395
12420
  border-radius: 2px;
12396
12421
  }
12397
12422
  .acud-picker-date-panel tr .acud-picker-cell:first-child::before {
@@ -12412,6 +12437,10 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
12412
12437
  justify-content: space-between;
12413
12438
  width: 216px;
12414
12439
  }
12440
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
12441
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
12442
+ background-color: #E6F0FF;
12443
+ }
12415
12444
  .acud-picker-footer {
12416
12445
  width: -webkit-min-content;
12417
12446
  width: -moz-min-content;
@@ -12487,6 +12516,9 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
12487
12516
  .acud-picker-panels .acud-picker-month-panel {
12488
12517
  width: 186px;
12489
12518
  }
12519
+ .acud-picker-panels .acud-picker-date-panel {
12520
+ width: 234px;
12521
+ }
12490
12522
  .acud-picker-week-panel .acud-picker-body {
12491
12523
  padding: 12px 8px;
12492
12524
  }
@@ -13673,6 +13705,10 @@ li.acud-dropdown-menu-submenu-disabled:active,
13673
13705
  .acud-dropdown-menu-item-disabled:active {
13674
13706
  border-color: transparent;
13675
13707
  }
13708
+ li.acud-dropdown-menu-submenu-active:hover,
13709
+ .acud-dropdown-menu-item-active:hover {
13710
+ background-color: #E6F0FF;
13711
+ }
13676
13712
  .acud-dropdown-menu-submenu-title,
13677
13713
  .acud-dropdown-menu-item {
13678
13714
  padding-left: 12px;
@@ -16560,7 +16596,6 @@ li.acud-dropdown-menu-submenu-disabled:active,
16560
16596
  transform: translate(-50%, -50%);
16561
16597
  width: auto;
16562
16598
  max-width: calc(100vw - 32px);
16563
- padding-bottom: 24px;
16564
16599
  }
16565
16600
  .acud-modal.zoom-enter,
16566
16601
  .acud-modal.zoom-appear {
@@ -16652,7 +16687,7 @@ li.acud-dropdown-menu-submenu-disabled:active,
16652
16687
  }
16653
16688
  .acud-modal-close-x {
16654
16689
  display: block;
16655
- margin-top: 28px;
16690
+ margin-top: 27px;
16656
16691
  font-size: 16px;
16657
16692
  text-align: center;
16658
16693
  text-transform: none;
@@ -16666,8 +16701,8 @@ li.acud-dropdown-menu-submenu-disabled:active,
16666
16701
  font-weight: 900;
16667
16702
  }
16668
16703
  .acud-modal-title {
16669
- font-size: 16px;
16670
- line-height: 24px;
16704
+ font-size: 14px;
16705
+ line-height: 22px;
16671
16706
  word-wrap: break-word;
16672
16707
  }
16673
16708
  .acud-modal-body {
@@ -16684,6 +16719,9 @@ li.acud-dropdown-menu-submenu-disabled:active,
16684
16719
  background: #FFFFFF;
16685
16720
  text-align: right;
16686
16721
  flex: none;
16722
+ display: flex;
16723
+ align-items: center;
16724
+ justify-content: flex-end;
16687
16725
  }
16688
16726
  .acud-modal-footer .acud-btn {
16689
16727
  margin: 0;
@@ -16691,6 +16729,40 @@ li.acud-dropdown-menu-submenu-disabled:active,
16691
16729
  .acud-modal-footer .acud-btn + .acud-btn {
16692
16730
  margin-left: 16px;
16693
16731
  }
16732
+ .acud-modal-dialogbox {
16733
+ width: 400px;
16734
+ height: auto;
16735
+ min-height: 184px;
16736
+ }
16737
+ .acud-modal-dialogbox-icon {
16738
+ height: 100%;
16739
+ margin-right: 12px;
16740
+ float: left;
16741
+ display: flex;
16742
+ align-items: center;
16743
+ padding-top: 2px;
16744
+ }
16745
+ .acud-modal-dialogbox .acud-modal-title .acudicon {
16746
+ font-size: 20px;
16747
+ }
16748
+ .acud-modal-dialogbox-content {
16749
+ padding-left: 32px;
16750
+ }
16751
+ .acud-modal-dialogbox-warning .acud-modal-dialogbox-icon {
16752
+ color: #FF9326;
16753
+ }
16754
+ .acud-modal-dialogbox-info .acud-modal-dialogbox-icon {
16755
+ color: #2468F2;
16756
+ }
16757
+ .acud-modal-dialogbox-success .acud-modal-dialogbox-icon {
16758
+ color: #30BF13;
16759
+ }
16760
+ .acud-modal-dialogbox-error .acud-modal-dialogbox-icon {
16761
+ color: #F33E3E;
16762
+ }
16763
+ .acud-modal-dialogbox-confirm .acud-modal-dialogbox-icon {
16764
+ color: #FF9326;
16765
+ }
16694
16766
 
16695
16767
  /* color */
16696
16768
  /* 默认颜色 */
@@ -23843,6 +23915,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23843
23915
  border: 1px solid #E8E9EB;
23844
23916
  border-radius: 4px;
23845
23917
  background-color: #F7F7F9;
23918
+ overflow: hidden;
23846
23919
  }
23847
23920
  .acud-transfer-datasource-header {
23848
23921
  display: flex;
@@ -23984,6 +24057,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23984
24057
  border-radius: 4px;
23985
24058
  background-color: #F7F7F9;
23986
24059
  margin-left: 16px;
24060
+ overflow: hidden;
23987
24061
  }
23988
24062
  .acud-transfer-target-header {
23989
24063
  display: flex;
@@ -24099,7 +24173,6 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24099
24173
  .acud-transfer-target-item-cancel.acuicon-outlined-close {
24100
24174
  display: flex;
24101
24175
  cursor: pointer;
24102
- font-size: 22px;
24103
24176
  color: #84868C;
24104
24177
  }
24105
24178
  .acud-transfer-target-item-cancel.acuicon-outlined-close:hover {