@bcgov-sso/common-react-components 1.20.6 → 1.20.7

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.
@@ -1,5 +1,6 @@
1
1
  export declare const TABLE_BACKGROUND_COLOR = "#ededed";
2
2
  export declare const TABLE_ROW_ACTIVE_COLOR = "#4950FA";
3
+ export declare const TABLE_ROW_HOVER_COLOR = "#fdb913";
3
4
  export declare const TABLE_ROW_HEIGHT = 40;
4
5
  export declare const TABLE_ROW_HEIGHT_MINI = 40;
5
6
  export declare const TABLE_ROW_SPACING = 5;
package/dist/esm/index.js CHANGED
@@ -12623,6 +12623,7 @@ const Alert = (props) => (React.createElement(DefaultAlert, Object.assign({}, pr
12623
12623
 
12624
12624
  const TABLE_BACKGROUND_COLOR = '#ededed';
12625
12625
  const TABLE_ROW_ACTIVE_COLOR = '#4950FA';
12626
+ const TABLE_ROW_HOVER_COLOR = '#fdb913';
12626
12627
  const TABLE_ROW_HEIGHT = 40;
12627
12628
  const TABLE_ROW_HEIGHT_MINI = 40;
12628
12629
  const TABLE_ROW_SPACING = 5;
@@ -12667,16 +12668,16 @@ const Table = qe.table `
12667
12668
 
12668
12669
  ${(props) => !props.readOnly &&
12669
12670
  `
12670
- &:hover {
12671
- background-color: ${TABLE_ROW_ACTIVE_COLOR};
12672
- color: #fff;
12673
- cursor: pointer;
12674
- }
12675
12671
  &.active {
12676
12672
  background-color: ${TABLE_ROW_ACTIVE_COLOR};
12677
12673
  color: #fff;
12678
12674
  font-weight: bold;
12679
12675
  }
12676
+ &:hover {
12677
+ background-color: ${TABLE_ROW_HOVER_COLOR};
12678
+ color: #fff;
12679
+ cursor: pointer;
12680
+ }
12680
12681
  `}
12681
12682
  }
12682
12683
  }