sag_components 1.0.638 → 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,
@@ -444,6 +446,15 @@ const FilterPanel = props => {
444
446
  type: "primary",
445
447
  size: "medium",
446
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",
447
458
  disabled: disableOKButton,
448
459
  onClick: () => onOkClick({
449
460
  eventName: 'onOkClick',
@@ -461,6 +472,15 @@ const FilterPanel = props => {
461
472
  size: "medium",
462
473
  type: "secondary",
463
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",
464
484
  disabled: false,
465
485
  onClick: e => onClickResetHandler(e)
466
486
  })));
@@ -473,6 +493,8 @@ FilterPanel.defaultProps = {
473
493
  width: '800px',
474
494
  height: '600px',
475
495
  okButtonBackgroundColor: '#229E38',
496
+ okButtonHoverColor: '#92CF17',
497
+ resetButtonHoverColor: '#E8F5EB',
476
498
  borderColor: '#757575',
477
499
  onOkClick: () => {},
478
500
  onResetClick: () => {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.638",
3
+ "version": "1.0.639",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {