sag_components 1.0.637 → 1.0.639
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.
|
@@ -25,6 +25,8 @@ const FilterPanel = props => {
|
|
|
25
25
|
fieldsData,
|
|
26
26
|
borderColor,
|
|
27
27
|
okButtonBackgroundColor,
|
|
28
|
+
okButtonHoverColor,
|
|
29
|
+
resetButtonHoverColor,
|
|
28
30
|
onOkClick,
|
|
29
31
|
onResetClick,
|
|
30
32
|
onItemValueChanged,
|
|
@@ -94,7 +96,9 @@ const FilterPanel = props => {
|
|
|
94
96
|
}, /*#__PURE__*/_react.default.createElement(_RangePicker.default, {
|
|
95
97
|
className: "RangePicker",
|
|
96
98
|
name: ''.concat(item.name, '_Date'),
|
|
97
|
-
borderColor:
|
|
99
|
+
borderColor: "#E7E7E7",
|
|
100
|
+
borderColorFocus: borderColor,
|
|
101
|
+
textColor: "#212121",
|
|
98
102
|
borderRadius: "12px",
|
|
99
103
|
label: "Date Range",
|
|
100
104
|
onChange: eventRangePicker => {
|
|
@@ -442,6 +446,15 @@ const FilterPanel = props => {
|
|
|
442
446
|
type: "primary",
|
|
443
447
|
size: "medium",
|
|
444
448
|
width: "74px",
|
|
449
|
+
textColor: "#ffffff",
|
|
450
|
+
backgroundColor: okButtonBackgroundColor,
|
|
451
|
+
borderColor: okButtonBackgroundColor,
|
|
452
|
+
hoverTextColor: "#ffffff",
|
|
453
|
+
hoverBackgroundColor: okButtonHoverColor,
|
|
454
|
+
hoverBorderColor: okButtonHoverColor,
|
|
455
|
+
disabledTextColor: "#B1B1B1",
|
|
456
|
+
disabledBackgroundColor: "#E3E4E5",
|
|
457
|
+
disabledBorderColor: "#E3E4E5",
|
|
445
458
|
disabled: disableOKButton,
|
|
446
459
|
onClick: () => onOkClick({
|
|
447
460
|
eventName: 'onOkClick',
|
|
@@ -459,6 +472,15 @@ const FilterPanel = props => {
|
|
|
459
472
|
size: "medium",
|
|
460
473
|
type: "secondary",
|
|
461
474
|
width: "74px",
|
|
475
|
+
textColor: "#212121",
|
|
476
|
+
backgroundColor: "#ffffff",
|
|
477
|
+
borderColor: "#B1B1B1",
|
|
478
|
+
hoverTextColor: okButtonBackgroundColor,
|
|
479
|
+
hoverBackgroundColor: resetButtonHoverColor,
|
|
480
|
+
hoverBorderColor: okButtonBackgroundColor,
|
|
481
|
+
disabledTextColor: "#B1B1B1",
|
|
482
|
+
disabledBackgroundColor: "#ffffff",
|
|
483
|
+
disabledBorderColor: "#E3E4E5",
|
|
462
484
|
disabled: false,
|
|
463
485
|
onClick: e => onClickResetHandler(e)
|
|
464
486
|
})));
|
|
@@ -471,6 +493,8 @@ FilterPanel.defaultProps = {
|
|
|
471
493
|
width: '800px',
|
|
472
494
|
height: '600px',
|
|
473
495
|
okButtonBackgroundColor: '#229E38',
|
|
496
|
+
okButtonHoverColor: '#92CF17',
|
|
497
|
+
resetButtonHoverColor: '#E8F5EB',
|
|
474
498
|
borderColor: '#757575',
|
|
475
499
|
onOkClick: () => {},
|
|
476
500
|
onResetClick: () => {},
|