acud 1.1.13 → 1.1.15

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 (55) hide show
  1. package/dist/acud.css +123 -34
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +13029 -7326
  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 +3 -3
  8. package/dist/acud.min.js.map +1 -1
  9. package/es/form/style/index.css +1 -1
  10. package/es/form/style/index.less +2 -1
  11. package/es/input/Input.d.ts +1 -0
  12. package/es/input/Input.js +8 -2
  13. package/es/input/Label.d.ts +3 -1
  14. package/es/input/Label.js +12 -1
  15. package/es/input/TextArea.d.ts +1 -0
  16. package/es/input/TextArea.js +8 -2
  17. package/es/input/style/index.css +24 -23
  18. package/es/input/style/index.less +2 -1
  19. package/es/toast/base.js +1 -1
  20. package/es/toast/index.js +13 -8
  21. package/es/toast/style/index.css +9 -9
  22. package/es/toast/style/index.less +215 -206
  23. package/es/tree/style/index.css +44 -0
  24. package/es/tree/style/mixin.less +64 -0
  25. package/es/tree/tree.d.ts +5 -2
  26. package/es/tree/tree.js +3 -1
  27. package/es/tree/utils/iconHelper.d.ts +2 -2
  28. package/es/tree/utils/iconHelper.js +20 -5
  29. package/es/tree-select/index.js +1 -1
  30. package/es/tree-select/src/OptionList.js +35 -1
  31. package/es/tree-select/style/index.css +44 -0
  32. package/lib/form/style/index.css +1 -1
  33. package/lib/form/style/index.less +2 -1
  34. package/lib/input/Input.d.ts +1 -0
  35. package/lib/input/Input.js +8 -2
  36. package/lib/input/Label.d.ts +3 -1
  37. package/lib/input/Label.js +12 -1
  38. package/lib/input/TextArea.d.ts +1 -0
  39. package/lib/input/TextArea.js +8 -2
  40. package/lib/input/style/index.css +24 -23
  41. package/lib/input/style/index.less +2 -1
  42. package/lib/toast/base.js +1 -1
  43. package/lib/toast/index.js +12 -7
  44. package/lib/toast/style/index.css +9 -9
  45. package/lib/toast/style/index.less +215 -206
  46. package/lib/tree/style/index.css +44 -0
  47. package/lib/tree/style/mixin.less +64 -0
  48. package/lib/tree/tree.d.ts +5 -2
  49. package/lib/tree/tree.js +3 -1
  50. package/lib/tree/utils/iconHelper.d.ts +2 -2
  51. package/lib/tree/utils/iconHelper.js +20 -5
  52. package/lib/tree-select/index.js +1 -1
  53. package/lib/tree-select/src/OptionList.js +35 -1
  54. package/lib/tree-select/style/index.css +44 -0
  55. package/package.json +24 -24
package/dist/acud.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v1.1.13 */
1
+ /*! acud v1.1.15 */
2
2
  /* color */
3
3
  /* 默认颜色 */
4
4
  /* 通用-icon */
@@ -10797,42 +10797,43 @@ a {
10797
10797
  .acud-input-textarea-autosize {
10798
10798
  min-height: 32px;
10799
10799
  }
10800
- .acud-input-textarea-limit {
10800
+ .acud-input-textarea-limit-box {
10801
+ color: #84868C;
10801
10802
  background-color: #FFFFFF;
10802
10803
  border-color: #F33E3E;
10803
10804
  }
10804
- .acud-input-textarea-limit:hover {
10805
+ .acud-input-textarea-limit-box:hover {
10805
10806
  background-color: #FFFFFF;
10806
10807
  }
10807
- .acud-input-textarea-limit:focus,
10808
- .acud-input-textarea-limit:active {
10808
+ .acud-input-textarea-limit-box:focus,
10809
+ .acud-input-textarea-limit-box:active {
10809
10810
  background-color: #FFFFFF;
10810
10811
  }
10811
- .acud-input-textarea-limit[disabled],
10812
- .acud-input-textarea-limit[aria-disabled="true"],
10813
- .acud-input-textarea-limit[disabled]:hover,
10814
- .acud-input-textarea-limit[aria-disabled="true"]:hover,
10815
- .acud-input-textarea-limit[disabled]:focus,
10816
- .acud-input-textarea-limit[aria-disabled="true"]:focus,
10817
- .acud-input-textarea-limit[disabled]:active,
10818
- .acud-input-textarea-limit[aria-disabled="true"]:active {
10812
+ .acud-input-textarea-limit-box[disabled],
10813
+ .acud-input-textarea-limit-box[aria-disabled="true"],
10814
+ .acud-input-textarea-limit-box[disabled]:hover,
10815
+ .acud-input-textarea-limit-box[aria-disabled="true"]:hover,
10816
+ .acud-input-textarea-limit-box[disabled]:focus,
10817
+ .acud-input-textarea-limit-box[aria-disabled="true"]:focus,
10818
+ .acud-input-textarea-limit-box[disabled]:active,
10819
+ .acud-input-textarea-limit-box[aria-disabled="true"]:active {
10819
10820
  background-color: #FFFFFF;
10820
10821
  }
10821
- .acud-input-textarea-limit:hover {
10822
+ .acud-input-textarea-limit-box:hover {
10822
10823
  border-color: #F33E3E;
10823
10824
  }
10824
- .acud-input-textarea-limit:focus,
10825
- .acud-input-textarea-limit:active {
10825
+ .acud-input-textarea-limit-box:focus,
10826
+ .acud-input-textarea-limit-box:active {
10826
10827
  border-color: #F33E3E;
10827
10828
  }
10828
- .acud-input-textarea-limit[disabled],
10829
- .acud-input-textarea-limit[aria-disabled="true"],
10830
- .acud-input-textarea-limit[disabled]:hover,
10831
- .acud-input-textarea-limit[aria-disabled="true"]:hover,
10832
- .acud-input-textarea-limit[disabled]:focus,
10833
- .acud-input-textarea-limit[aria-disabled="true"]:focus,
10834
- .acud-input-textarea-limit[disabled]:active,
10835
- .acud-input-textarea-limit[aria-disabled="true"]:active {
10829
+ .acud-input-textarea-limit-box[disabled],
10830
+ .acud-input-textarea-limit-box[aria-disabled="true"],
10831
+ .acud-input-textarea-limit-box[disabled]:hover,
10832
+ .acud-input-textarea-limit-box[aria-disabled="true"]:hover,
10833
+ .acud-input-textarea-limit-box[disabled]:focus,
10834
+ .acud-input-textarea-limit-box[aria-disabled="true"]:focus,
10835
+ .acud-input-textarea-limit-box[disabled]:active,
10836
+ .acud-input-textarea-limit-box[aria-disabled="true"]:active {
10836
10837
  border-color: #F33E3E;
10837
10838
  }
10838
10839
  .acud-input-textarea-no-limit {
@@ -17189,7 +17190,7 @@ li.acud-dropdown-menu-submenu-active:hover,
17189
17190
  clear: both;
17190
17191
  margin: 4px 0 0;
17191
17192
  min-height: 1.6667;
17192
- color: #B8BABF;
17193
+ color: #84868C;
17193
17194
  font-size: 12px;
17194
17195
  line-height: 1.6667;
17195
17196
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
@@ -23661,6 +23662,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23661
23662
  }
23662
23663
  .acud-tree-switcher .acud-tree-switcher-icon svg,
23663
23664
  .acud-tree-switcher .acud-select-tree-switcher-icon svg {
23665
+ width: 16px!important;
23664
23666
  transition: transform 0.3s;
23665
23667
  }
23666
23668
  .acud-tree-switcher-noop {
@@ -23669,6 +23671,29 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23669
23671
  .acud-tree-switcher_close .acud-tree-switcher-icon svg {
23670
23672
  transform: rotate(-90deg);
23671
23673
  }
23674
+ .acud-tree-switcher-leaf-line {
23675
+ position: relative;
23676
+ z-index: 1;
23677
+ display: inline-block;
23678
+ width: 100%;
23679
+ height: 100%;
23680
+ }
23681
+ .acud-tree-switcher-leaf-line::before {
23682
+ position: absolute;
23683
+ top: 0;
23684
+ right: 8px;
23685
+ bottom: -4px;
23686
+ margin-left: -1px;
23687
+ border-right: 1px solid #B8BABF;
23688
+ content: ' ';
23689
+ }
23690
+ .acud-tree-switcher-leaf-line::after {
23691
+ position: absolute;
23692
+ width: 10px;
23693
+ height: 14px;
23694
+ border-bottom: 1px solid #B8BABF;
23695
+ content: ' ';
23696
+ }
23672
23697
  .acud-tree .acud-tree-node-content-wrapper {
23673
23698
  position: relative;
23674
23699
  z-index: auto;
@@ -23760,6 +23785,26 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23760
23785
  .acud-tree-treenode:hover .acud-tree-draggable-icon {
23761
23786
  opacity: 0.45;
23762
23787
  }
23788
+ .acud-tree-show-line .acud-tree-indent-unit {
23789
+ position: relative;
23790
+ height: 100%;
23791
+ }
23792
+ .acud-tree-show-line .acud-tree-indent-unit::before {
23793
+ position: absolute;
23794
+ top: 0;
23795
+ right: 16px;
23796
+ bottom: -4px;
23797
+ border-right: 1px solid #B8BABF;
23798
+ content: '';
23799
+ }
23800
+ .acud-tree-show-line .acud-tree-indent-unit-end::before {
23801
+ display: none;
23802
+ }
23803
+ .acud-tree .acud-tree-treenode-leaf-last .acud-tree-switcher-leaf-line::before {
23804
+ top: auto !important;
23805
+ bottom: auto !important;
23806
+ height: 14px !important;
23807
+ }
23763
23808
  .acud-tree-checkbox {
23764
23809
  margin: 2px 0 0 8px;
23765
23810
  top: 0.1em;
@@ -25349,23 +25394,23 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
25349
25394
  display: block;
25350
25395
  content: '';
25351
25396
  }
25352
- .acud-notification-notice-message .acud-toast-wrap {
25397
+ .acud-notification-notice-message .acud-notification-toast-wrap {
25353
25398
  display: flex;
25354
25399
  }
25355
- .acud-notification-notice-message .acud-toast-wrap-left {
25400
+ .acud-notification-notice-message .acud-notification-toast-wrap-left {
25356
25401
  flex: 1;
25357
25402
  font-size: 14px;
25358
25403
  color: #151B26;
25359
25404
  font-weight: 500;
25360
25405
  }
25361
- .acud-notification-notice-message .acud-toast-wrap-right {
25406
+ .acud-notification-notice-message .acud-notification-toast-wrap-right {
25362
25407
  font-size: 12px;
25363
25408
  color: #B8BABF;
25364
25409
  }
25365
- .acud-notification-notice-message .acud-toast-wrap-right span {
25410
+ .acud-notification-notice-message .acud-notification-toast-wrap-right span {
25366
25411
  font-size: 12px;
25367
25412
  }
25368
- .acud-notification-notice-message .acud-toast-wrap-no-description {
25413
+ .acud-notification-notice-message .acud-notification-toast-wrap-no-description {
25369
25414
  color: #151B26;
25370
25415
  font-size: 12px;
25371
25416
  font-weight: 400;
@@ -25393,16 +25438,16 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
25393
25438
  line-height: 16px;
25394
25439
  top: 8px;
25395
25440
  }
25396
- .acudicon.acud-notification-notice-icon-success path {
25441
+ .acud-notification-notice .acud-notification-notice-icon-success path {
25397
25442
  fill: #30BF13;
25398
25443
  }
25399
- .acudicon.acud-notification-notice-icon-info path {
25444
+ .acud-notification-notice .acud-notification-notice-icon-info path {
25400
25445
  fill: #2468F2;
25401
25446
  }
25402
- .acudicon.acud-notification-notice-icon-warning path {
25447
+ .acud-notification-notice .acud-notification-notice-icon-warning path {
25403
25448
  fill: #FF9326;
25404
25449
  }
25405
- .acudicon.acud-notification-notice-icon-error path {
25450
+ .acud-notification-notice .acud-notification-notice-icon-error path {
25406
25451
  fill: #F33E3E;
25407
25452
  }
25408
25453
  .acud-notification-notice-close {
@@ -26313,6 +26358,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
26313
26358
  }
26314
26359
  .acud-select-tree-switcher .acud-tree-switcher-icon svg,
26315
26360
  .acud-select-tree-switcher .acud-select-tree-switcher-icon svg {
26361
+ width: 16px!important;
26316
26362
  transition: transform 0.3s;
26317
26363
  }
26318
26364
  .acud-select-tree-switcher-noop {
@@ -26321,6 +26367,29 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
26321
26367
  .acud-select-tree-switcher_close .acud-select-tree-switcher-icon svg {
26322
26368
  transform: rotate(-90deg);
26323
26369
  }
26370
+ .acud-select-tree-switcher-leaf-line {
26371
+ position: relative;
26372
+ z-index: 1;
26373
+ display: inline-block;
26374
+ width: 100%;
26375
+ height: 100%;
26376
+ }
26377
+ .acud-select-tree-switcher-leaf-line::before {
26378
+ position: absolute;
26379
+ top: 0;
26380
+ right: 8px;
26381
+ bottom: -4px;
26382
+ margin-left: -1px;
26383
+ border-right: 1px solid #B8BABF;
26384
+ content: ' ';
26385
+ }
26386
+ .acud-select-tree-switcher-leaf-line::after {
26387
+ position: absolute;
26388
+ width: 10px;
26389
+ height: 14px;
26390
+ border-bottom: 1px solid #B8BABF;
26391
+ content: ' ';
26392
+ }
26324
26393
  .acud-select-tree .acud-select-tree-node-content-wrapper {
26325
26394
  position: relative;
26326
26395
  z-index: auto;
@@ -26412,6 +26481,26 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
26412
26481
  .acud-select-tree-treenode:hover .acud-select-tree-draggable-icon {
26413
26482
  opacity: 0.45;
26414
26483
  }
26484
+ .acud-select-tree-show-line .acud-select-tree-indent-unit {
26485
+ position: relative;
26486
+ height: 100%;
26487
+ }
26488
+ .acud-select-tree-show-line .acud-select-tree-indent-unit::before {
26489
+ position: absolute;
26490
+ top: 0;
26491
+ right: 16px;
26492
+ bottom: -4px;
26493
+ border-right: 1px solid #B8BABF;
26494
+ content: '';
26495
+ }
26496
+ .acud-select-tree-show-line .acud-select-tree-indent-unit-end::before {
26497
+ display: none;
26498
+ }
26499
+ .acud-select-tree .acud-select-tree-treenode-leaf-last .acud-select-tree-switcher-leaf-line::before {
26500
+ top: auto !important;
26501
+ bottom: auto !important;
26502
+ height: 14px !important;
26503
+ }
26415
26504
  .acud-select-tree-checkbox {
26416
26505
  margin: 2px 0 0 8px;
26417
26506
  top: 0.1em;