@qn-pandora/pandora-component 3.0.1 → 3.0.2
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.
- package/CHANGELOG.json +0 -20
- package/CHANGELOG.md +1 -9
- package/es/components/AutoComplete/style.css +4 -1
- package/es/components/Button/index.js +1 -1
- package/es/components/Card/style.css +10 -2
- package/es/components/CheckTransformList/index.js +1 -1
- package/es/components/CheckTransformList/style.css +17 -7
- package/es/components/Collapse/Panel/index.js +2 -1
- package/es/components/DateTimePicker/Base/style.css +7 -12
- package/es/components/DateTimePicker/DisplayInput/style.css +17 -7
- package/es/components/DateTimePicker/constants.js +1 -1
- package/es/components/DateTimePicker/style.css +155 -57
- package/es/components/Input/style.css +17 -7
- package/es/components/InputNumber/style.css +1 -1
- package/es/components/Menu/Option.d.ts +1 -1
- package/es/components/Menu/style.css +4 -0
- package/es/components/NameLimiter/index.js +1 -0
- package/es/components/OptionList/PopoverOptionList/style.css +155 -57
- package/es/components/OptionList/style.css +155 -57
- package/es/components/RangeInput/style.css +18 -8
- package/es/components/Selector/style.css +4 -1
- package/es/components/SolidRadioGroup/style.css +0 -1
- package/es/components/Table/style.css +10 -6
- package/es/components/Tabs/style.css +10 -2
- package/es/index.css +233 -112
- package/es/index.less +3 -3
- package/es/style/theme.less +2 -2
- package/lib/components/AutoComplete/style.css +4 -1
- package/lib/components/Button/index.js +1 -1
- package/lib/components/Card/style.css +10 -2
- package/lib/components/CheckTransformList/index.js +1 -1
- package/lib/components/CheckTransformList/style.css +17 -7
- package/lib/components/Collapse/Panel/index.js +2 -1
- package/lib/components/DateTimePicker/Base/style.css +7 -12
- package/lib/components/DateTimePicker/DisplayInput/style.css +17 -7
- package/lib/components/DateTimePicker/constants.js +1 -1
- package/lib/components/DateTimePicker/style.css +155 -57
- package/lib/components/Input/style.css +17 -7
- package/lib/components/InputNumber/style.css +1 -1
- package/lib/components/Menu/Option.d.ts +1 -1
- package/lib/components/Menu/style.css +4 -0
- package/lib/components/NameLimiter/index.js +1 -0
- package/lib/components/OptionList/PopoverOptionList/style.css +155 -57
- package/lib/components/OptionList/style.css +155 -57
- package/lib/components/RangeInput/style.css +18 -8
- package/lib/components/Selector/style.css +4 -1
- package/lib/components/SolidRadioGroup/style.css +0 -1
- package/lib/components/Table/style.css +10 -6
- package/lib/components/Tabs/style.css +10 -2
- package/lib/index.css +272 -151
- package/lib/index.less +2 -2
- package/lib/style/theme.less +2 -2
- package/package.json +4 -4
@@ -384,8 +384,15 @@
|
|
384
384
|
.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,
|
385
385
|
.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,
|
386
386
|
.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {
|
387
|
-
margin-right:
|
388
|
-
margin-left:
|
387
|
+
margin-right: 2px;
|
388
|
+
margin-left: 0;
|
389
|
+
}
|
390
|
+
.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-add,
|
391
|
+
.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-add,
|
392
|
+
.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-add,
|
393
|
+
.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-add {
|
394
|
+
margin-right: 2px;
|
395
|
+
margin-left: 0;
|
389
396
|
}
|
390
397
|
.ant-tabs-dropdown-rtl {
|
391
398
|
direction: rtl;
|
@@ -862,6 +869,7 @@
|
|
862
869
|
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add,
|
863
870
|
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add {
|
864
871
|
min-width: 40px;
|
872
|
+
margin-left: 2px;
|
865
873
|
padding: 0 8px;
|
866
874
|
background: #fafafa;
|
867
875
|
border: 1px solid #e5e5e5;
|
@@ -90,7 +90,7 @@ function CheckTransformList(props) {
|
|
90
90
|
return !lodash_1.includes(filterLeftOptions.map(function (option) { return option.value; }), item);
|
91
91
|
}));
|
92
92
|
}
|
93
|
-
}, [filterLeftOptions, setCheckList]);
|
93
|
+
}, [filterLeftOptions, setCheckList, checkedList]);
|
94
94
|
var handOnchange = useCallback(function (e) {
|
95
95
|
var value = e.target.value;
|
96
96
|
if (e.target.checked) {
|
@@ -496,8 +496,8 @@ textarea.ant-input-affix-wrapper {
|
|
496
496
|
outline: none;
|
497
497
|
}
|
498
498
|
.ant-input-affix-wrapper > input.ant-input:focus {
|
499
|
-
-webkit-box-shadow: none;
|
500
|
-
box-shadow: none;
|
499
|
+
-webkit-box-shadow: none !important;
|
500
|
+
box-shadow: none !important;
|
501
501
|
}
|
502
502
|
.ant-input-affix-wrapper::before {
|
503
503
|
width: 0;
|
@@ -522,7 +522,7 @@ textarea.ant-input-affix-wrapper {
|
|
522
522
|
.ant-input-suffix {
|
523
523
|
margin-left: 4px;
|
524
524
|
}
|
525
|
-
.ant-input-clear-icon {
|
525
|
+
.anticon.ant-input-clear-icon {
|
526
526
|
margin: 0 4px;
|
527
527
|
color: rgba(0, 0, 0, 0.25);
|
528
528
|
font-size: 12px;
|
@@ -531,16 +531,16 @@ textarea.ant-input-affix-wrapper {
|
|
531
531
|
-webkit-transition: color 0.3s;
|
532
532
|
transition: color 0.3s;
|
533
533
|
}
|
534
|
-
.ant-input-clear-icon:hover {
|
534
|
+
.anticon.ant-input-clear-icon:hover {
|
535
535
|
color: rgba(0, 0, 0, 0.45);
|
536
536
|
}
|
537
|
-
.ant-input-clear-icon:active {
|
537
|
+
.anticon.ant-input-clear-icon:active {
|
538
538
|
color: rgba(0, 0, 0, 0.65);
|
539
539
|
}
|
540
|
-
.ant-input-clear-icon-hidden {
|
540
|
+
.anticon.ant-input-clear-icon-hidden {
|
541
541
|
visibility: hidden;
|
542
542
|
}
|
543
|
-
.ant-input-clear-icon:last-child {
|
543
|
+
.anticon.ant-input-clear-icon:last-child {
|
544
544
|
margin-right: 0;
|
545
545
|
}
|
546
546
|
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
@@ -755,6 +755,16 @@ textarea.ant-input {
|
|
755
755
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
756
756
|
color: #7a869a;
|
757
757
|
}
|
758
|
+
.ant-input-group-addon .ant-cascader-picker {
|
759
|
+
margin: -9px -12px;
|
760
|
+
background-color: transparent;
|
761
|
+
}
|
762
|
+
.ant-input-group-addon .ant-cascader-picker .ant-cascader-input {
|
763
|
+
text-align: left;
|
764
|
+
border: 0;
|
765
|
+
-webkit-box-shadow: none;
|
766
|
+
box-shadow: none;
|
767
|
+
}
|
758
768
|
.ant-input-group > .ant-input:first-child,
|
759
769
|
.ant-input-group-addon:first-child {
|
760
770
|
border-top-right-radius: 0;
|
@@ -42,6 +42,7 @@ function Panel(props) {
|
|
42
42
|
if (baseIsActive !== isActive) {
|
43
43
|
setIsActive(baseIsActive || false);
|
44
44
|
}
|
45
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
45
46
|
}, [baseIsActive]);
|
46
47
|
var onTogglePanel = useCallback(function () {
|
47
48
|
if (disableToggle) {
|
@@ -51,7 +52,7 @@ function Panel(props) {
|
|
51
52
|
if (onToggle) {
|
52
53
|
onToggle(!isActive, panelKey);
|
53
54
|
}
|
54
|
-
}, [disableToggle, panelKey, isActive]);
|
55
|
+
}, [disableToggle, panelKey, isActive, onToggle]);
|
55
56
|
return (React.createElement("div", { className: classnames_1.default(style_1.SDK_PREFIX + "-panel", className), key: panelKey },
|
56
57
|
React.createElement("div", { className: classnames_1.default(titleClassName, (_a = {}, _a[style_1.SDK_PREFIX + "-panel-disable"] = disableToggle, _a), style_1.SDK_PREFIX + "-panel-title"), onClick: onTogglePanel },
|
57
58
|
React.createElement("span", null, title),
|
@@ -113,6 +113,7 @@ textarea.ant-input-number {
|
|
113
113
|
font-weight: bold;
|
114
114
|
line-height: 0;
|
115
115
|
text-align: center;
|
116
|
+
border-left: 1px solid #e5e5e5;
|
116
117
|
-webkit-transition: all 0.1s linear;
|
117
118
|
transition: all 0.1s linear;
|
118
119
|
}
|
@@ -255,7 +256,6 @@ textarea.ant-input-number {
|
|
255
256
|
width: 22px;
|
256
257
|
height: 100%;
|
257
258
|
background: #ffffff;
|
258
|
-
border-left: 1px solid #e5e5e5;
|
259
259
|
border-radius: 0 2px 2px 0;
|
260
260
|
opacity: 0;
|
261
261
|
-webkit-transition: opacity 0.24s linear 0.1s;
|
@@ -742,6 +742,10 @@ textarea.ant-picker-input > input {
|
|
742
742
|
border-width: 0 0 1px 0;
|
743
743
|
border-radius: 0;
|
744
744
|
}
|
745
|
+
.ant-picker-panel-container .ant-picker-panel .ant-picker-content,
|
746
|
+
.ant-picker-panel-container .ant-picker-panel table {
|
747
|
+
text-align: center;
|
748
|
+
}
|
745
749
|
.ant-picker-panel-container .ant-picker-panel-focused {
|
746
750
|
border-color: #e5e5e5;
|
747
751
|
}
|
@@ -894,9 +898,6 @@ textarea.ant-picker-input > input {
|
|
894
898
|
.ant-picker-cell-in-view {
|
895
899
|
color: rgba(0, 0, 0, 0.65);
|
896
900
|
}
|
897
|
-
.ant-picker-cell-disabled {
|
898
|
-
cursor: not-allowed;
|
899
|
-
}
|
900
901
|
.ant-picker-cell::before {
|
901
902
|
position: absolute;
|
902
903
|
top: 50%;
|
@@ -1038,14 +1039,14 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
|
|
1038
1039
|
border-bottom-right-radius: 2px;
|
1039
1040
|
}
|
1040
1041
|
.ant-picker-cell-disabled {
|
1042
|
+
color: rgba(0, 0, 0, 0.25);
|
1041
1043
|
pointer-events: none;
|
1042
1044
|
}
|
1043
1045
|
.ant-picker-cell-disabled .ant-picker-cell-inner {
|
1044
|
-
color: rgba(0, 0, 0, 0.25);
|
1045
1046
|
background: transparent;
|
1046
1047
|
}
|
1047
1048
|
.ant-picker-cell-disabled::before {
|
1048
|
-
background:
|
1049
|
+
background: rgba(0, 0, 0, 0.04);
|
1049
1050
|
}
|
1050
1051
|
.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner::before {
|
1051
1052
|
border-color: rgba(0, 0, 0, 0.25);
|
@@ -1062,12 +1063,6 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
|
|
1062
1063
|
.ant-picker-month-panel .ant-picker-cell-inner {
|
1063
1064
|
padding: 0 8px;
|
1064
1065
|
}
|
1065
|
-
.ant-picker-decade-panel .ant-picker-cell-disabled .ant-picker-cell-inner,
|
1066
|
-
.ant-picker-year-panel .ant-picker-cell-disabled .ant-picker-cell-inner,
|
1067
|
-
.ant-picker-quarter-panel .ant-picker-cell-disabled .ant-picker-cell-inner,
|
1068
|
-
.ant-picker-month-panel .ant-picker-cell-disabled .ant-picker-cell-inner {
|
1069
|
-
background: #f5f5f5;
|
1070
|
-
}
|
1071
1066
|
.ant-picker-quarter-panel .ant-picker-content {
|
1072
1067
|
height: 56px;
|
1073
1068
|
}
|
@@ -132,8 +132,8 @@ textarea.ant-input-affix-wrapper {
|
|
132
132
|
outline: none;
|
133
133
|
}
|
134
134
|
.ant-input-affix-wrapper > input.ant-input:focus {
|
135
|
-
-webkit-box-shadow: none;
|
136
|
-
box-shadow: none;
|
135
|
+
-webkit-box-shadow: none !important;
|
136
|
+
box-shadow: none !important;
|
137
137
|
}
|
138
138
|
.ant-input-affix-wrapper::before {
|
139
139
|
width: 0;
|
@@ -158,7 +158,7 @@ textarea.ant-input-affix-wrapper {
|
|
158
158
|
.ant-input-suffix {
|
159
159
|
margin-left: 4px;
|
160
160
|
}
|
161
|
-
.ant-input-clear-icon {
|
161
|
+
.anticon.ant-input-clear-icon {
|
162
162
|
margin: 0 4px;
|
163
163
|
color: rgba(0, 0, 0, 0.25);
|
164
164
|
font-size: 12px;
|
@@ -167,16 +167,16 @@ textarea.ant-input-affix-wrapper {
|
|
167
167
|
-webkit-transition: color 0.3s;
|
168
168
|
transition: color 0.3s;
|
169
169
|
}
|
170
|
-
.ant-input-clear-icon:hover {
|
170
|
+
.anticon.ant-input-clear-icon:hover {
|
171
171
|
color: rgba(0, 0, 0, 0.45);
|
172
172
|
}
|
173
|
-
.ant-input-clear-icon:active {
|
173
|
+
.anticon.ant-input-clear-icon:active {
|
174
174
|
color: rgba(0, 0, 0, 0.65);
|
175
175
|
}
|
176
|
-
.ant-input-clear-icon-hidden {
|
176
|
+
.anticon.ant-input-clear-icon-hidden {
|
177
177
|
visibility: hidden;
|
178
178
|
}
|
179
|
-
.ant-input-clear-icon:last-child {
|
179
|
+
.anticon.ant-input-clear-icon:last-child {
|
180
180
|
margin-right: 0;
|
181
181
|
}
|
182
182
|
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
@@ -391,6 +391,16 @@ textarea.ant-input {
|
|
391
391
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
392
392
|
color: #7a869a;
|
393
393
|
}
|
394
|
+
.ant-input-group-addon .ant-cascader-picker {
|
395
|
+
margin: -9px -12px;
|
396
|
+
background-color: transparent;
|
397
|
+
}
|
398
|
+
.ant-input-group-addon .ant-cascader-picker .ant-cascader-input {
|
399
|
+
text-align: left;
|
400
|
+
border: 0;
|
401
|
+
-webkit-box-shadow: none;
|
402
|
+
box-shadow: none;
|
403
|
+
}
|
394
404
|
.ant-input-group > .ant-input:first-child,
|
395
405
|
.ant-input-group-addon:first-child {
|
396
406
|
border-top-right-radius: 0;
|
@@ -289,7 +289,7 @@ exports.relativeTimeUnits = [
|
|
289
289
|
time: function (num) { return moment_1.default().subtract(num, 'weeks'); }
|
290
290
|
},
|
291
291
|
{
|
292
|
-
text: '
|
292
|
+
text: '月前',
|
293
293
|
value: RelativeUnitValue.Month,
|
294
294
|
time: function (num) { return moment_1.default().subtract(num, 'months'); }
|
295
295
|
},
|
@@ -113,100 +113,198 @@
|
|
113
113
|
display: block;
|
114
114
|
width: 8.48528137px;
|
115
115
|
height: 8.48528137px;
|
116
|
+
overflow: hidden;
|
116
117
|
background: transparent;
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
118
|
+
pointer-events: none;
|
119
|
+
}
|
120
|
+
.ant-popover-arrow-content {
|
121
|
+
position: absolute;
|
122
|
+
top: 0;
|
123
|
+
right: 0;
|
124
|
+
bottom: 0;
|
125
|
+
left: 0;
|
126
|
+
display: block;
|
127
|
+
width: 6px;
|
128
|
+
height: 6px;
|
129
|
+
margin: auto;
|
130
|
+
background-color: #ffffff;
|
131
|
+
content: '';
|
132
|
+
pointer-events: auto;
|
133
|
+
}
|
134
|
+
.ant-popover-placement-top .ant-popover-arrow,
|
135
|
+
.ant-popover-placement-topLeft .ant-popover-arrow,
|
136
|
+
.ant-popover-placement-topRight .ant-popover-arrow {
|
137
|
+
bottom: 1.51471863px;
|
138
|
+
}
|
139
|
+
.ant-popover-placement-top .ant-popover-arrow-content,
|
140
|
+
.ant-popover-placement-topLeft .ant-popover-arrow-content,
|
141
|
+
.ant-popover-placement-topRight .ant-popover-arrow-content {
|
130
142
|
-webkit-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
|
131
143
|
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
|
144
|
+
-webkit-transform: translateY(-4.24264069px) rotate(45deg);
|
145
|
+
transform: translateY(-4.24264069px) rotate(45deg);
|
132
146
|
}
|
133
|
-
.ant-popover-placement-top
|
147
|
+
.ant-popover-placement-top .ant-popover-arrow {
|
134
148
|
left: 50%;
|
135
|
-
-webkit-transform: translateX(-50%)
|
136
|
-
transform: translateX(-50%)
|
149
|
+
-webkit-transform: translateX(-50%);
|
150
|
+
transform: translateX(-50%);
|
137
151
|
}
|
138
|
-
.ant-popover-placement-topLeft
|
152
|
+
.ant-popover-placement-topLeft .ant-popover-arrow {
|
139
153
|
left: 16px;
|
140
154
|
}
|
141
|
-
.ant-popover-placement-topRight
|
155
|
+
.ant-popover-placement-topRight .ant-popover-arrow {
|
142
156
|
right: 16px;
|
143
157
|
}
|
144
|
-
.ant-popover-placement-right
|
145
|
-
.ant-popover-placement-rightTop
|
146
|
-
.ant-popover-placement-rightBottom
|
147
|
-
left:
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
158
|
+
.ant-popover-placement-right .ant-popover-arrow,
|
159
|
+
.ant-popover-placement-rightTop .ant-popover-arrow,
|
160
|
+
.ant-popover-placement-rightBottom .ant-popover-arrow {
|
161
|
+
left: 1.51471863px;
|
162
|
+
}
|
163
|
+
.ant-popover-placement-right .ant-popover-arrow-content,
|
164
|
+
.ant-popover-placement-rightTop .ant-popover-arrow-content,
|
165
|
+
.ant-popover-placement-rightBottom .ant-popover-arrow-content {
|
152
166
|
-webkit-box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
|
153
167
|
box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
|
168
|
+
-webkit-transform: translateX(4.24264069px) rotate(45deg);
|
169
|
+
transform: translateX(4.24264069px) rotate(45deg);
|
154
170
|
}
|
155
|
-
.ant-popover-placement-right
|
171
|
+
.ant-popover-placement-right .ant-popover-arrow {
|
156
172
|
top: 50%;
|
157
|
-
-webkit-transform: translateY(-50%)
|
158
|
-
transform: translateY(-50%)
|
173
|
+
-webkit-transform: translateY(-50%);
|
174
|
+
transform: translateY(-50%);
|
159
175
|
}
|
160
|
-
.ant-popover-placement-rightTop
|
176
|
+
.ant-popover-placement-rightTop .ant-popover-arrow {
|
161
177
|
top: 12px;
|
162
178
|
}
|
163
|
-
.ant-popover-placement-rightBottom
|
179
|
+
.ant-popover-placement-rightBottom .ant-popover-arrow {
|
164
180
|
bottom: 12px;
|
165
181
|
}
|
166
|
-
.ant-popover-placement-bottom
|
167
|
-
.ant-popover-placement-bottomLeft
|
168
|
-
.ant-popover-placement-bottomRight
|
169
|
-
top:
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
182
|
+
.ant-popover-placement-bottom .ant-popover-arrow,
|
183
|
+
.ant-popover-placement-bottomLeft .ant-popover-arrow,
|
184
|
+
.ant-popover-placement-bottomRight .ant-popover-arrow {
|
185
|
+
top: 1.51471863px;
|
186
|
+
}
|
187
|
+
.ant-popover-placement-bottom .ant-popover-arrow-content,
|
188
|
+
.ant-popover-placement-bottomLeft .ant-popover-arrow-content,
|
189
|
+
.ant-popover-placement-bottomRight .ant-popover-arrow-content {
|
174
190
|
-webkit-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
|
175
191
|
box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);
|
192
|
+
-webkit-transform: translateY(4.24264069px) rotate(45deg);
|
193
|
+
transform: translateY(4.24264069px) rotate(45deg);
|
176
194
|
}
|
177
|
-
.ant-popover-placement-bottom
|
195
|
+
.ant-popover-placement-bottom .ant-popover-arrow {
|
178
196
|
left: 50%;
|
179
|
-
-webkit-transform: translateX(-50%)
|
180
|
-
transform: translateX(-50%)
|
197
|
+
-webkit-transform: translateX(-50%);
|
198
|
+
transform: translateX(-50%);
|
181
199
|
}
|
182
|
-
.ant-popover-placement-bottomLeft
|
200
|
+
.ant-popover-placement-bottomLeft .ant-popover-arrow {
|
183
201
|
left: 16px;
|
184
202
|
}
|
185
|
-
.ant-popover-placement-bottomRight
|
203
|
+
.ant-popover-placement-bottomRight .ant-popover-arrow {
|
186
204
|
right: 16px;
|
187
205
|
}
|
188
|
-
.ant-popover-placement-left
|
189
|
-
.ant-popover-placement-leftTop
|
190
|
-
.ant-popover-placement-leftBottom
|
191
|
-
right:
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
206
|
+
.ant-popover-placement-left .ant-popover-arrow,
|
207
|
+
.ant-popover-placement-leftTop .ant-popover-arrow,
|
208
|
+
.ant-popover-placement-leftBottom .ant-popover-arrow {
|
209
|
+
right: 1.51471863px;
|
210
|
+
}
|
211
|
+
.ant-popover-placement-left .ant-popover-arrow-content,
|
212
|
+
.ant-popover-placement-leftTop .ant-popover-arrow-content,
|
213
|
+
.ant-popover-placement-leftBottom .ant-popover-arrow-content {
|
196
214
|
-webkit-box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
|
197
215
|
box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
|
216
|
+
-webkit-transform: translateX(-4.24264069px) rotate(45deg);
|
217
|
+
transform: translateX(-4.24264069px) rotate(45deg);
|
198
218
|
}
|
199
|
-
.ant-popover-placement-left
|
219
|
+
.ant-popover-placement-left .ant-popover-arrow {
|
200
220
|
top: 50%;
|
201
|
-
-webkit-transform: translateY(-50%)
|
202
|
-
transform: translateY(-50%)
|
221
|
+
-webkit-transform: translateY(-50%);
|
222
|
+
transform: translateY(-50%);
|
203
223
|
}
|
204
|
-
.ant-popover-placement-leftTop
|
224
|
+
.ant-popover-placement-leftTop .ant-popover-arrow {
|
205
225
|
top: 12px;
|
206
226
|
}
|
207
|
-
.ant-popover-placement-leftBottom
|
227
|
+
.ant-popover-placement-leftBottom .ant-popover-arrow {
|
208
228
|
bottom: 12px;
|
209
229
|
}
|
230
|
+
.ant-popover-pink .ant-popover-inner {
|
231
|
+
background-color: #eb2f96;
|
232
|
+
}
|
233
|
+
.ant-popover-pink .ant-popover-arrow-content {
|
234
|
+
background-color: #eb2f96;
|
235
|
+
}
|
236
|
+
.ant-popover-magenta .ant-popover-inner {
|
237
|
+
background-color: #eb2f96;
|
238
|
+
}
|
239
|
+
.ant-popover-magenta .ant-popover-arrow-content {
|
240
|
+
background-color: #eb2f96;
|
241
|
+
}
|
242
|
+
.ant-popover-red .ant-popover-inner {
|
243
|
+
background-color: #f5222d;
|
244
|
+
}
|
245
|
+
.ant-popover-red .ant-popover-arrow-content {
|
246
|
+
background-color: #f5222d;
|
247
|
+
}
|
248
|
+
.ant-popover-volcano .ant-popover-inner {
|
249
|
+
background-color: #fa541c;
|
250
|
+
}
|
251
|
+
.ant-popover-volcano .ant-popover-arrow-content {
|
252
|
+
background-color: #fa541c;
|
253
|
+
}
|
254
|
+
.ant-popover-orange .ant-popover-inner {
|
255
|
+
background-color: #fa8c16;
|
256
|
+
}
|
257
|
+
.ant-popover-orange .ant-popover-arrow-content {
|
258
|
+
background-color: #fa8c16;
|
259
|
+
}
|
260
|
+
.ant-popover-yellow .ant-popover-inner {
|
261
|
+
background-color: #fadb14;
|
262
|
+
}
|
263
|
+
.ant-popover-yellow .ant-popover-arrow-content {
|
264
|
+
background-color: #fadb14;
|
265
|
+
}
|
266
|
+
.ant-popover-gold .ant-popover-inner {
|
267
|
+
background-color: #faad14;
|
268
|
+
}
|
269
|
+
.ant-popover-gold .ant-popover-arrow-content {
|
270
|
+
background-color: #faad14;
|
271
|
+
}
|
272
|
+
.ant-popover-cyan .ant-popover-inner {
|
273
|
+
background-color: #13c2c2;
|
274
|
+
}
|
275
|
+
.ant-popover-cyan .ant-popover-arrow-content {
|
276
|
+
background-color: #13c2c2;
|
277
|
+
}
|
278
|
+
.ant-popover-lime .ant-popover-inner {
|
279
|
+
background-color: #a0d911;
|
280
|
+
}
|
281
|
+
.ant-popover-lime .ant-popover-arrow-content {
|
282
|
+
background-color: #a0d911;
|
283
|
+
}
|
284
|
+
.ant-popover-green .ant-popover-inner {
|
285
|
+
background-color: #52c41a;
|
286
|
+
}
|
287
|
+
.ant-popover-green .ant-popover-arrow-content {
|
288
|
+
background-color: #52c41a;
|
289
|
+
}
|
290
|
+
.ant-popover-blue .ant-popover-inner {
|
291
|
+
background-color: #1890ff;
|
292
|
+
}
|
293
|
+
.ant-popover-blue .ant-popover-arrow-content {
|
294
|
+
background-color: #1890ff;
|
295
|
+
}
|
296
|
+
.ant-popover-geekblue .ant-popover-inner {
|
297
|
+
background-color: #2f54eb;
|
298
|
+
}
|
299
|
+
.ant-popover-geekblue .ant-popover-arrow-content {
|
300
|
+
background-color: #2f54eb;
|
301
|
+
}
|
302
|
+
.ant-popover-purple .ant-popover-inner {
|
303
|
+
background-color: #722ed1;
|
304
|
+
}
|
305
|
+
.ant-popover-purple .ant-popover-arrow-content {
|
306
|
+
background-color: #722ed1;
|
307
|
+
}
|
210
308
|
.ant-popover-rtl {
|
211
309
|
direction: rtl;
|
212
310
|
text-align: right;
|
@@ -132,8 +132,8 @@ textarea.ant-input-affix-wrapper {
|
|
132
132
|
outline: none;
|
133
133
|
}
|
134
134
|
.ant-input-affix-wrapper > input.ant-input:focus {
|
135
|
-
-webkit-box-shadow: none;
|
136
|
-
box-shadow: none;
|
135
|
+
-webkit-box-shadow: none !important;
|
136
|
+
box-shadow: none !important;
|
137
137
|
}
|
138
138
|
.ant-input-affix-wrapper::before {
|
139
139
|
width: 0;
|
@@ -158,7 +158,7 @@ textarea.ant-input-affix-wrapper {
|
|
158
158
|
.ant-input-suffix {
|
159
159
|
margin-left: 4px;
|
160
160
|
}
|
161
|
-
.ant-input-clear-icon {
|
161
|
+
.anticon.ant-input-clear-icon {
|
162
162
|
margin: 0 4px;
|
163
163
|
color: rgba(0, 0, 0, 0.25);
|
164
164
|
font-size: 12px;
|
@@ -167,16 +167,16 @@ textarea.ant-input-affix-wrapper {
|
|
167
167
|
-webkit-transition: color 0.3s;
|
168
168
|
transition: color 0.3s;
|
169
169
|
}
|
170
|
-
.ant-input-clear-icon:hover {
|
170
|
+
.anticon.ant-input-clear-icon:hover {
|
171
171
|
color: rgba(0, 0, 0, 0.45);
|
172
172
|
}
|
173
|
-
.ant-input-clear-icon:active {
|
173
|
+
.anticon.ant-input-clear-icon:active {
|
174
174
|
color: rgba(0, 0, 0, 0.65);
|
175
175
|
}
|
176
|
-
.ant-input-clear-icon-hidden {
|
176
|
+
.anticon.ant-input-clear-icon-hidden {
|
177
177
|
visibility: hidden;
|
178
178
|
}
|
179
|
-
.ant-input-clear-icon:last-child {
|
179
|
+
.anticon.ant-input-clear-icon:last-child {
|
180
180
|
margin-right: 0;
|
181
181
|
}
|
182
182
|
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
@@ -391,6 +391,16 @@ textarea.ant-input {
|
|
391
391
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
392
392
|
color: #7a869a;
|
393
393
|
}
|
394
|
+
.ant-input-group-addon .ant-cascader-picker {
|
395
|
+
margin: -9px -12px;
|
396
|
+
background-color: transparent;
|
397
|
+
}
|
398
|
+
.ant-input-group-addon .ant-cascader-picker .ant-cascader-input {
|
399
|
+
text-align: left;
|
400
|
+
border: 0;
|
401
|
+
-webkit-box-shadow: none;
|
402
|
+
box-shadow: none;
|
403
|
+
}
|
394
404
|
.ant-input-group > .ant-input:first-child,
|
395
405
|
.ant-input-group-addon:first-child {
|
396
406
|
border-top-right-radius: 0;
|
@@ -113,6 +113,7 @@ textarea.ant-input-number {
|
|
113
113
|
font-weight: bold;
|
114
114
|
line-height: 0;
|
115
115
|
text-align: center;
|
116
|
+
border-left: 1px solid #e5e5e5;
|
116
117
|
-webkit-transition: all 0.1s linear;
|
117
118
|
transition: all 0.1s linear;
|
118
119
|
}
|
@@ -255,7 +256,6 @@ textarea.ant-input-number {
|
|
255
256
|
width: 22px;
|
256
257
|
height: 100%;
|
257
258
|
background: #ffffff;
|
258
|
-
border-left: 1px solid #e5e5e5;
|
259
259
|
border-radius: 0 2px 2px 0;
|
260
260
|
opacity: 0;
|
261
261
|
-webkit-transition: opacity 0.24s linear 0.1s;
|
@@ -121,6 +121,10 @@
|
|
121
121
|
-webkit-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
122
122
|
transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
123
123
|
}
|
124
|
+
.ant-menu-title-content {
|
125
|
+
-webkit-transition: color 0.3s;
|
126
|
+
transition: color 0.3s;
|
127
|
+
}
|
124
128
|
.ant-menu-item a {
|
125
129
|
color: #7a869a;
|
126
130
|
}
|
@@ -31,6 +31,7 @@ function NameLimiter(_a) {
|
|
31
31
|
var _b = __read(react_1.useState(false), 2), ellipsis = _b[0], setEllipsis = _b[1];
|
32
32
|
var _c = __read(react_1.useState(false), 2), visible = _c[0], setVisible = _c[1];
|
33
33
|
var ref = react_1.useRef(null);
|
34
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
34
35
|
react_1.useLayoutEffect(function () {
|
35
36
|
if (!ref.current) {
|
36
37
|
return;
|