acud 0.0.63 → 0.0.66

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 (115) hide show
  1. package/dist/acud.css +164 -53
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +817 -213
  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 +10 -4
  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/breadcrumb/BreadcrumbItem.d.ts +1 -1
  13. package/es/breadcrumb/BreadcrumbItem.js +16 -4
  14. package/es/date-picker/src/Picker.js +1 -1
  15. package/es/date-picker/src/RangePicker.js +1 -1
  16. package/es/date-picker/style/index.css +43 -11
  17. package/es/date-picker/style/index.less +13 -2
  18. package/es/date-picker/style/panel.less +32 -10
  19. package/es/dialog-box/style/index.css +4 -4
  20. package/es/dropdown/dropdown-button.js +11 -2
  21. package/es/dropdown/style/index.css +6 -1
  22. package/es/dropdown/style/index.less +6 -1
  23. package/es/modal/DialogBox.d.ts +46 -0
  24. package/es/modal/DialogBox.js +152 -0
  25. package/es/modal/Modal.d.ts +5 -0
  26. package/es/modal/Modal.js +6 -4
  27. package/es/modal/dialog.d.ts +17 -0
  28. package/es/modal/dialog.js +123 -0
  29. package/es/modal/index.d.ts +11 -2
  30. package/es/modal/index.js +10 -1
  31. package/es/modal/style/index.css +62 -16
  32. package/es/modal/style/index.less +76 -5
  33. package/es/modal/style/mixin.less +2 -2
  34. package/es/progress/style/common.less +5 -3
  35. package/es/progress/style/index.css +2 -1
  36. package/es/radio/index.d.ts +3 -0
  37. package/es/style/themes/dark/components/modal.less +14 -9
  38. package/es/style/themes/default/components/datePicker.less +1 -1
  39. package/es/style/themes/default/components/modal.less +14 -14
  40. package/es/time-picker/style/index.css +1 -0
  41. package/es/time-picker/style/index.less +1 -0
  42. package/es/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
  43. package/es/transfer/{dataSource.js → DataSource.js} +37 -6
  44. package/{lib/transfer/sourceList.d.ts → es/transfer/SourceList.d.ts} +2 -2
  45. package/es/transfer/{sourceList.js → SourceList.js} +0 -0
  46. package/es/transfer/{target.d.ts → Target.d.ts} +1 -1
  47. package/es/transfer/{target.js → Target.js} +60 -4
  48. package/{lib/transfer/targetList.d.ts → es/transfer/TargetList.d.ts} +2 -2
  49. package/es/transfer/{targetList.js → TargetList.js} +0 -0
  50. package/es/transfer/index.d.ts +3 -0
  51. package/es/transfer/index.js +9 -4
  52. package/es/transfer/style/css.js +3 -1
  53. package/es/transfer/style/index.css +27 -5
  54. package/es/transfer/style/index.d.ts +1 -0
  55. package/es/transfer/style/index.js +3 -1
  56. package/es/transfer/style/index.less +32 -5
  57. package/es/upload/UploadList/ListItem.js +7 -2
  58. package/es/upload/UploadList/index.js +4 -7
  59. package/es/upload/style/index.css +17 -13
  60. package/es/upload/style/index.less +25 -20
  61. package/es/upload/utils.js +1 -1
  62. package/lib/alert/style/index.css +1 -1
  63. package/lib/alert/style/index.less +150 -147
  64. package/lib/alert/style/rtl.less +27 -27
  65. package/lib/breadcrumb/BreadcrumbItem.d.ts +1 -1
  66. package/lib/breadcrumb/BreadcrumbItem.js +21 -8
  67. package/lib/date-picker/src/Picker.js +1 -1
  68. package/lib/date-picker/src/RangePicker.js +1 -1
  69. package/lib/date-picker/style/index.css +43 -11
  70. package/lib/date-picker/style/index.less +13 -2
  71. package/lib/date-picker/style/panel.less +32 -10
  72. package/lib/dialog-box/style/index.css +4 -4
  73. package/lib/dropdown/dropdown-button.js +11 -2
  74. package/lib/dropdown/style/index.css +6 -1
  75. package/lib/dropdown/style/index.less +6 -1
  76. package/lib/modal/DialogBox.d.ts +46 -0
  77. package/lib/modal/DialogBox.js +179 -0
  78. package/lib/modal/Modal.d.ts +5 -0
  79. package/lib/modal/Modal.js +6 -4
  80. package/lib/modal/dialog.d.ts +17 -0
  81. package/lib/modal/dialog.js +145 -0
  82. package/lib/modal/index.d.ts +11 -2
  83. package/lib/modal/index.js +13 -1
  84. package/lib/modal/style/index.css +62 -16
  85. package/lib/modal/style/index.less +76 -5
  86. package/lib/modal/style/mixin.less +2 -2
  87. package/lib/progress/style/common.less +5 -3
  88. package/lib/progress/style/index.css +2 -1
  89. package/lib/radio/index.d.ts +3 -0
  90. package/lib/style/themes/dark/components/modal.less +14 -9
  91. package/lib/style/themes/default/components/datePicker.less +1 -1
  92. package/lib/style/themes/default/components/modal.less +14 -14
  93. package/lib/time-picker/style/index.css +1 -0
  94. package/lib/time-picker/style/index.less +1 -0
  95. package/lib/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
  96. package/lib/transfer/{dataSource.js → DataSource.js} +38 -6
  97. package/{es/transfer/sourceList.d.ts → lib/transfer/SourceList.d.ts} +2 -2
  98. package/lib/transfer/{sourceList.js → SourceList.js} +0 -0
  99. package/lib/transfer/{target.d.ts → Target.d.ts} +1 -1
  100. package/lib/transfer/{target.js → Target.js} +63 -5
  101. package/{es/transfer/targetList.d.ts → lib/transfer/TargetList.d.ts} +2 -2
  102. package/lib/transfer/{targetList.js → TargetList.js} +0 -0
  103. package/lib/transfer/index.d.ts +3 -0
  104. package/lib/transfer/index.js +11 -7
  105. package/lib/transfer/style/css.js +3 -1
  106. package/lib/transfer/style/index.css +27 -5
  107. package/lib/transfer/style/index.d.ts +1 -0
  108. package/lib/transfer/style/index.js +3 -1
  109. package/lib/transfer/style/index.less +32 -5
  110. package/lib/upload/UploadList/ListItem.js +7 -2
  111. package/lib/upload/UploadList/index.js +4 -7
  112. package/lib/upload/style/index.css +17 -13
  113. package/lib/upload/style/index.less +25 -20
  114. package/lib/upload/utils.js +1 -1
  115. package/package.json +1 -1
@@ -24,7 +24,7 @@
24
24
  min-width: 0;
25
25
  }
26
26
  .acud-alert-icon {
27
- margin: 3px 8px 0 0;
27
+ margin: 4px 8px 0 0;
28
28
  font-size: 18px;
29
29
  height: 18px;
30
30
  line-height: 18px;
@@ -4,154 +4,157 @@
4
4
  @alert-prefix-cls: ~'@{acud-prefix}-alert';
5
5
 
6
6
  .@{alert-prefix-cls} {
7
- .reset-component();
8
-
9
- position: relative;
10
- display: flex;
11
- align-items: flex-start;
12
- padding: @P 4 * @P;
13
- word-wrap: break-word;
14
- border-radius: @alert-border-radius;
15
-
16
- &-content {
17
- flex: 1;
18
- min-width: 0;
19
- }
20
-
21
- &-icon {
22
- margin: 3px @alert-margin 0 0;
23
- font-size: @alert-icon-size;
24
- height: @alert-icon-size;
25
- line-height: @alert-icon-size;
26
- }
27
-
28
- &-description {
29
- display: none;
30
- font-size: @T2;
31
- line-height: @T2 + 8px;
32
- color: @alert-message-color;
33
- }
34
-
35
- &-success {
36
- background-color: @alert-success-bg-color;
37
- border: none;
38
- .@{alert-prefix-cls}-icon {
39
- color: @alert-success-icon-color;
40
- }
41
- }
42
-
43
- &-info {
44
- background-color: @alert-info-bg-color;
45
- border: none;
46
- .@{alert-prefix-cls}-icon {
47
- color: @alert-info-icon-color;
48
- }
49
- }
50
-
51
- &-warning {
52
- background-color: @alert-warning-bg-color;
53
- border: none;
54
- .@{alert-prefix-cls}-icon {
55
- color: @alert-warning-icon-color;
56
- }
57
- }
58
-
59
- &-error {
60
- background-color: @alert-error-bg-color;
61
- border: none;
62
-
63
- .@{alert-prefix-cls}-icon {
64
- color: @alert-error-icon-color;
65
- }
66
-
67
- .@{alert-prefix-cls}-description > pre {
68
- margin: 0;
69
- padding: 0;
70
- background: transparent;
71
- overflow: scroll;
72
- }
73
- }
74
-
75
- &-action {
76
- margin-left: @alert-margin;
77
- }
78
-
79
- &-close-icon {
80
- margin-left: @alert-margin;
81
- margin-top: @P;
82
- padding: 0;
83
- overflow: hidden;
84
- font-size: @T4;
85
- line-height: @T2;
86
- background-color: transparent;
87
- border: none;
88
- outline: none;
89
- cursor: pointer;
90
-
91
- > .@{iconfont-css-prefix} {
92
- color: @alert-close-color;
93
- transition: color 0.3s;
94
- &:hover {
95
- color: @alert-close-hover-color;
96
- }
97
- &:active {
98
- color: @alert-close-click-color;
99
- }
100
- }
101
- }
102
-
103
- &-close-text {
104
- font-size: @T2;
105
- color: @alert-close-text-color;
106
- transition: color 0.3s;
107
- &:hover {
108
- color: @alert-close-text-hover-color;
109
- }
110
- }
111
-
112
- &-with-description {
7
+ .reset-component();
8
+
9
+ position: relative;
10
+ display: flex;
113
11
  align-items: flex-start;
114
- padding: @alert-padding;
115
- }
116
-
117
- &-with-description &-message {
118
- display: block;
119
- margin-bottom: 4px;
120
- color: @alert-message-color;
121
- font-size: @T3;
122
- font-weight: @alert-title-font-weight;
123
- }
124
-
125
- &-message {
126
- color: @alert-message-color;
127
- font-size: @T2;
128
- line-height: 6 * @P;
129
- }
130
-
131
- &-with-description &-description {
132
- display: block;
133
- }
134
-
135
- &&-motion-leave {
136
- overflow: hidden;
137
- opacity: 1;
138
- transition: max-height 0.3s @ease-in-out-circ, opacity 0.3s @ease-in-out-circ,
139
- padding-top 0.3s @ease-in-out-circ, padding-bottom 0.3s @ease-in-out-circ,
140
- margin-bottom 0.3s @ease-in-out-circ;
141
- }
142
-
143
- &&-motion-leave-active {
144
- max-height: 0;
145
- margin-bottom: 0 !important;
146
- padding-top: 0;
147
- padding-bottom: 0;
148
- opacity: 0;
149
- }
150
-
151
- &-banner {
152
- margin-bottom: 0;
153
- border: 0;
154
- }
12
+ padding: @P 4 * @P;
13
+ word-wrap: break-word;
14
+ border-radius: @alert-border-radius;
15
+
16
+ &-content {
17
+ flex: 1;
18
+ min-width: 0;
19
+ }
20
+
21
+ &-icon {
22
+ margin: 4px @alert-margin 0 0;
23
+ font-size: @alert-icon-size;
24
+ height: @alert-icon-size;
25
+ line-height: @alert-icon-size;
26
+ }
27
+
28
+ &-description {
29
+ display: none;
30
+ font-size: @T2;
31
+ line-height: @T2 + 8px;
32
+ color: @alert-message-color;
33
+ }
34
+
35
+ &-success {
36
+ background-color: @alert-success-bg-color;
37
+ border: none;
38
+ .@{alert-prefix-cls}-icon {
39
+ color: @alert-success-icon-color;
40
+ }
41
+ }
42
+
43
+ &-info {
44
+ background-color: @alert-info-bg-color;
45
+ border: none;
46
+ .@{alert-prefix-cls}-icon {
47
+ color: @alert-info-icon-color;
48
+ }
49
+ }
50
+
51
+ &-warning {
52
+ background-color: @alert-warning-bg-color;
53
+ border: none;
54
+ .@{alert-prefix-cls}-icon {
55
+ color: @alert-warning-icon-color;
56
+ }
57
+ }
58
+
59
+ &-error {
60
+ background-color: @alert-error-bg-color;
61
+ border: none;
62
+
63
+ .@{alert-prefix-cls}-icon {
64
+ color: @alert-error-icon-color;
65
+ }
66
+
67
+ .@{alert-prefix-cls}-description > pre {
68
+ margin: 0;
69
+ padding: 0;
70
+ background: transparent;
71
+ overflow: scroll;
72
+ }
73
+ }
74
+
75
+ &-action {
76
+ margin-left: @alert-margin;
77
+ }
78
+
79
+ &-close-icon {
80
+ margin-left: @alert-margin;
81
+ margin-top: @P;
82
+ padding: 0;
83
+ overflow: hidden;
84
+ font-size: @T4;
85
+ line-height: @T2;
86
+ background-color: transparent;
87
+ border: none;
88
+ outline: none;
89
+ cursor: pointer;
90
+
91
+ > .@{iconfont-css-prefix} {
92
+ color: @alert-close-color;
93
+ transition: color .3s;
94
+
95
+ &:hover {
96
+ color: @alert-close-hover-color;
97
+ }
98
+
99
+ &:active {
100
+ color: @alert-close-click-color;
101
+ }
102
+ }
103
+ }
104
+
105
+ &-close-text {
106
+ font-size: @T2;
107
+ color: @alert-close-text-color;
108
+ transition: color .3s;
109
+
110
+ &:hover {
111
+ color: @alert-close-text-hover-color;
112
+ }
113
+ }
114
+
115
+ &-with-description {
116
+ align-items: flex-start;
117
+ padding: @alert-padding;
118
+ }
119
+
120
+ &-with-description &-message {
121
+ display: block;
122
+ margin-bottom: 4px;
123
+ color: @alert-message-color;
124
+ font-size: @T3;
125
+ font-weight: @alert-title-font-weight;
126
+ }
127
+
128
+ &-message {
129
+ color: @alert-message-color;
130
+ font-size: @T2;
131
+ line-height: 6 * @P;
132
+ }
133
+
134
+ &-with-description &-description {
135
+ display: block;
136
+ }
137
+
138
+ &&-motion-leave {
139
+ overflow: hidden;
140
+ opacity: 1;
141
+ transition: max-height .3s @ease-in-out-circ, opacity .3s @ease-in-out-circ,
142
+ padding-top .3s @ease-in-out-circ, padding-bottom .3s @ease-in-out-circ,
143
+ margin-bottom .3s @ease-in-out-circ;
144
+ }
145
+
146
+ &&-motion-leave-active {
147
+ max-height: 0;
148
+ margin-bottom: 0 !important;
149
+ padding-top: 0;
150
+ padding-bottom: 0;
151
+ opacity: 0;
152
+ }
153
+
154
+ &-banner {
155
+ margin-bottom: 0;
156
+ border: 0;
157
+ }
155
158
  }
156
159
 
157
160
  @import './rtl';
@@ -1,39 +1,39 @@
1
1
  .@{alert-prefix-cls} {
2
- &&-rtl {
3
- direction: rtl;
4
- }
2
+ &&-rtl {
3
+ direction: rtl;
4
+ }
5
5
 
6
- &&-no-icon {
7
- .@{alert-prefix-cls}-rtl& {
8
- padding: @alert-no-icon-padding-vertical 4 * @P;
6
+ &&-no-icon {
7
+ .@{alert-prefix-cls}-rtl& {
8
+ padding: @alert-no-icon-padding-vertical 4 * @P;
9
+ }
9
10
  }
10
- }
11
11
 
12
- &-icon {
13
- .@{alert-prefix-cls}-rtl & {
14
- margin-right: auto;
15
- margin-left: @alert-margin;
12
+ &-icon {
13
+ .@{alert-prefix-cls}-rtl & {
14
+ margin-right: auto;
15
+ margin-left: @alert-margin;
16
+ }
16
17
  }
17
- }
18
18
 
19
- &-action {
20
- .@{alert-prefix-cls}-rtl & {
21
- margin-right: @alert-margin;
22
- margin-left: auto;
19
+ &-action {
20
+ .@{alert-prefix-cls}-rtl & {
21
+ margin-right: @alert-margin;
22
+ margin-left: auto;
23
+ }
23
24
  }
24
- }
25
25
 
26
- &-close-icon {
27
- .@{alert-prefix-cls}-rtl & {
28
- margin-right: @alert-margin;
29
- margin-left: auto;
26
+ &-close-icon {
27
+ .@{alert-prefix-cls}-rtl & {
28
+ margin-right: @alert-margin;
29
+ margin-left: auto;
30
+ }
30
31
  }
31
- }
32
32
 
33
- &-with-description &-icon {
34
- .@{alert-prefix-cls}-rtl& {
35
- margin-right: auto;
36
- margin-left: @alert-padding;
33
+ &-with-description &-icon {
34
+ .@{alert-prefix-cls}-rtl& {
35
+ margin-right: auto;
36
+ margin-left: @alert-padding;
37
+ }
37
38
  }
38
- }
39
39
  }
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { BaseDropdownProps } from '../dropdown/dropdown';
3
3
  export interface BreadcrumbItemProps {
4
4
  prefixCls?: string;
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
3
 
3
4
  var __rest = this && this.__rest || function (s, e) {
4
5
  var t = {};
@@ -13,8 +14,8 @@ var __rest = this && this.__rest || function (s, e) {
13
14
  return t;
14
15
  };
15
16
 
16
- import * as React from 'react';
17
- import { OutlinedDown } from 'acud-icon';
17
+ import React, { useCallback, useState } from 'react';
18
+ import { OutlinedDown, OutlinedUp } from 'acud-icon';
18
19
  import DropDown from '../dropdown/dropdown';
19
20
  import { ConfigContext } from '../config-provider';
20
21
 
@@ -27,21 +28,32 @@ var BreadcrumbItem = function BreadcrumbItem(_a) {
27
28
  dropdownProps = _a.dropdownProps,
28
29
  restProps = __rest(_a, ["prefixCls", "separator", "children", "overlay", "dropdownProps"]);
29
30
 
31
+ var _useState = useState(false),
32
+ _useState2 = _slicedToArray(_useState, 2),
33
+ visible = _useState2[0],
34
+ setVisible = _useState2[1];
35
+
30
36
  var _React$useContext = React.useContext(ConfigContext),
31
37
  getPrefixCls = _React$useContext.getPrefixCls;
32
38
 
33
39
  var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
40
+ var handleVisibleChange = useCallback(function (visible) {
41
+ setVisible(visible);
42
+ }, []);
34
43
  /** If overlay is have Wrap a DropDown */
35
44
 
36
45
  var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {
37
46
  if (overlay) {
38
47
  return /*#__PURE__*/React.createElement(DropDown, _extends({
39
48
  overlay: overlay,
49
+ visible: visible,
40
50
  placement: "bottomCenter",
41
51
  overlayClassName: "".concat(prefixCls, "-dropdown")
42
- }, dropdownProps), /*#__PURE__*/React.createElement("span", {
52
+ }, dropdownProps, {
53
+ onVisibleChange: handleVisibleChange
54
+ }), /*#__PURE__*/React.createElement("span", {
43
55
  className: "".concat(prefixCls, "-overlay-link")
44
- }, breadcrumbItem, /*#__PURE__*/React.createElement(OutlinedDown, null)));
56
+ }, breadcrumbItem, visible ? /*#__PURE__*/React.createElement(OutlinedUp, null) : /*#__PURE__*/React.createElement(OutlinedDown, null)));
45
57
  }
46
58
 
47
59
  return breadcrumbItem;
@@ -423,7 +423,7 @@ function InnerPicker(props) {
423
423
  size: getInputSize(picker, formatList[0], generateConfig)
424
424
  }, getDataOrAriaProps(props), {
425
425
  autoComplete: autoComplete
426
- })), suffixNode, clearNode))));
426
+ })), clearNode, suffixNode))));
427
427
  } // Wrap with class component to enable pass generic with instance method
428
428
 
429
429
 
@@ -981,7 +981,7 @@ function InnerRangePicker(props) {
981
981
  width: activeBarWidth,
982
982
  position: 'absolute'
983
983
  })
984
- }), suffixNode, clearNode)));
984
+ }), clearNode, suffixNode)));
985
985
  } // Wrap with class component to enable pass generic with instance method
986
986
 
987
987
 
@@ -366,7 +366,7 @@
366
366
  .acud-picker-input:hover .acud-picker-clear {
367
367
  opacity: 1;
368
368
  }
369
- .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
369
+ .acud-picker-input-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
370
370
  opacity: 0;
371
371
  }
372
372
  .acud-picker-suffix {
@@ -455,7 +455,7 @@
455
455
  padding: 0 12px;
456
456
  line-height: 1;
457
457
  }
458
- .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-suffix {
458
+ .acud-picker-range-has-value:not(.acud-picker-clear-disabled):hover .acud-picker-clear + .acud-picker-suffix {
459
459
  opacity: 0;
460
460
  }
461
461
  .acud-picker-dropdown {
@@ -523,6 +523,28 @@
523
523
  .acud-picker-ranges .acud-picker-preset > .acud-tag-blue {
524
524
  cursor: pointer;
525
525
  }
526
+ .acud-picker-ranges .acud-picker-now {
527
+ font-size: 12px;
528
+ float: left;
529
+ cursor: pointer;
530
+ margin-top: 10px;
531
+ }
532
+ .acud-picker-ranges .acud-picker-now a {
533
+ color: #2468F2;
534
+ }
535
+ .acud-picker-ranges .acud-picker-now a:hover {
536
+ color: #528EFF;
537
+ }
538
+ .acud-picker-ranges .acud-picker-now a:focus,
539
+ .acud-picker-ranges .acud-picker-now a:active {
540
+ color: #144BCC;
541
+ }
542
+ .acud-picker-ranges .acud-picker-now a[disabled],
543
+ .acud-picker-ranges .acud-picker-now a[disabled]:hover,
544
+ .acud-picker-ranges .acud-picker-now a[disabled]:focus,
545
+ .acud-picker-ranges .acud-picker-now a[disabled]:active {
546
+ color: #B8BABF;
547
+ }
526
548
  .acud-picker-ranges .acud-picker-ok {
527
549
  float: right;
528
550
  margin-left: 12px;
@@ -606,12 +628,16 @@
606
628
  left: -12px;
607
629
  background: #E6F0FF;
608
630
  }
609
- .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover {
610
- background-color: #E6F0FF;
631
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-end:hover,
632
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-in-range.acud-picker-cell-range-hover-start:hover {
633
+ background-color: #D4E5FF;
611
634
  }
612
- .acud-picker-month-panel .acud-picker-cell-range-hover-start:hover {
613
- background-color: #A7C2F9;
614
- border-radius: 2px;
635
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
636
+ .acud-picker-month-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
637
+ background: #E6F0FF;
638
+ }
639
+ .acud-picker-month-panel .acud-picker-cell-disabled:not(:first-child)::before {
640
+ left: -12px;
615
641
  }
616
642
  .acud-picker-header {
617
643
  display: flex;
@@ -859,7 +885,7 @@
859
885
  }
860
886
  .acud-picker-cell:hover:not(.acud-picker-cell-in-view) .acud-picker-cell-inner,
861
887
  .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 {
862
- background: #E6F0FF;
888
+ background: #F7F7F9;
863
889
  border-radius: 2px;
864
890
  }
865
891
  .acud-picker-cell-in-view.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -949,7 +975,7 @@
949
975
  top: 0;
950
976
  bottom: 0;
951
977
  z-index: -1;
952
- background: #A7C2F9;
978
+ background: #D4E5FF;
953
979
  content: '';
954
980
  border-radius: 2px;
955
981
  }
@@ -996,7 +1022,7 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
996
1022
  }
997
1023
  .acud-picker-cell-disabled:not(:first-child)::before {
998
1024
  width: 12px;
999
- left: -12px;
1025
+ left: -10px;
1000
1026
  background: #F7F7F9;
1001
1027
  }
1002
1028
  .acud-picker-cell-disabled.acud-picker-cell-today .acud-picker-cell-inner::before {
@@ -1012,7 +1038,6 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1012
1038
  height: 56px;
1013
1039
  }
1014
1040
  .acud-picker-date-panel .acud-picker-content td:hover {
1015
- background-color: #E6F0FF;
1016
1041
  border-radius: 2px;
1017
1042
  }
1018
1043
  .acud-picker-date-panel tr .acud-picker-cell:first-child::before {
@@ -1033,6 +1058,10 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1033
1058
  justify-content: space-between;
1034
1059
  width: 216px;
1035
1060
  }
1061
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-end:hover,
1062
+ .acud-picker-date-panel .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:hover {
1063
+ background-color: #E6F0FF;
1064
+ }
1036
1065
  .acud-picker-footer {
1037
1066
  width: -webkit-min-content;
1038
1067
  width: -moz-min-content;
@@ -1108,6 +1137,9 @@ tr > .acud-picker-cell-in-view.acud-picker-cell-range-hover-start:last-child::af
1108
1137
  .acud-picker-panels .acud-picker-month-panel {
1109
1138
  width: 186px;
1110
1139
  }
1140
+ .acud-picker-panels .acud-picker-date-panel {
1141
+ width: 234px;
1142
+ }
1111
1143
  .acud-picker-week-panel .acud-picker-body {
1112
1144
  padding: 12px 8px;
1113
1145
  }
@@ -99,7 +99,7 @@
99
99
 
100
100
  &-has-value:not(.@{picker-prefix-cls}-clear-disabled) {
101
101
  &:hover {
102
- .@{picker-prefix-cls}-suffix {
102
+ .@{picker-prefix-cls}-clear + .@{picker-prefix-cls}-suffix {
103
103
  opacity: 0;
104
104
  }
105
105
  }
@@ -230,7 +230,7 @@
230
230
 
231
231
  &-range-has-value:not(&-clear-disabled) {
232
232
  &:hover {
233
- .@{picker-prefix-cls}-suffix {
233
+ .@{picker-prefix-cls}-clear + .@{picker-prefix-cls}-suffix {
234
234
  opacity: 0;
235
235
  }
236
236
  }
@@ -320,6 +320,17 @@
320
320
  cursor: pointer;
321
321
  }
322
322
 
323
+ .@{picker-prefix-cls}-now {
324
+ font-size: 12px;
325
+ float: left;
326
+ cursor: pointer;
327
+ margin-top: 10px;
328
+
329
+ a {
330
+ .basic-tp-config(tp2);
331
+ }
332
+ }
333
+
323
334
  .@{picker-prefix-cls}-ok {
324
335
  float: right;
325
336
  margin-left: @padding-xs;