@thecb/components 9.3.1 → 9.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "9.3.1",
3
+ "version": "9.3.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -70,19 +70,9 @@ const AutopayModal = ({
70
70
  : navigateToSettings
71
71
  };
72
72
 
73
- const hoverStyles = `
74
- &:hover {
75
- .autopayIcon { fill: ${themeValues.hoverColor}; text-decoration: underline; cursor: pointer; }
76
- }`;
73
+ const hoverStyles = "text-decoration: underline;";
74
+ const activeStyles = "text-decoration: underline;";
77
75
 
78
- const activeStyles = `
79
- &:active {
80
- .autopayIcon { fill: ${themeValues.activeColor}; text-decoration: underline; }
81
- }`;
82
-
83
- const defaultStyles = `
84
- .autopayIcon { fill: ${themeValues.color}; text-decoration: underline; }
85
- `;
86
76
  const renderAutoPayControl = () => {
87
77
  switch (controlType) {
88
78
  case "secondary": {
@@ -126,7 +116,7 @@ const AutopayModal = ({
126
116
  }}
127
117
  hoverStyles={hoverStyles}
128
118
  activeStyles={activeStyles}
129
- extraStyles={defaultStyles}
119
+ extraStyles={"cursor: pointer;"}
130
120
  >
131
121
  <Cluster
132
122
  justify={isMobile ? "flex-start" : "flex-end"}
@@ -4,4 +4,4 @@ export const ARROW_RIGHT = 39;
4
4
  export const ARROW_DOWN = 40;
5
5
  export const ENTER = 13;
6
6
  export const ESCAPE = 27;
7
- export const SPACEBAR = 32;
7
+ export const SPACEBAR = 32;