@cashub/ui-elv 1.0.5 → 1.0.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.
@@ -143,7 +143,7 @@ const MenuListWithSubMenu = ({
143
143
  .filter((prop) => prop.name)
144
144
  .map((prop, key) => {
145
145
  const href = `${path}${prop.path}`;
146
- const active = currentPath.includes(prop.path);
146
+ const active = currentPath.includes(href);
147
147
 
148
148
  if (prop.parent === true) {
149
149
  return (
@@ -153,7 +153,7 @@ const NavItem = styled.li`
153
153
  color: var(--font-on-background);
154
154
 
155
155
  > div > span:first-of-type {
156
- color: var(--font-on-primary);
156
+ color: var(--color-background2);
157
157
  background: var(--font-on-background);
158
158
  }
159
159
  }
@@ -143,7 +143,7 @@ const MenuListWithSubMenu = ({
143
143
  .filter((prop) => prop.name)
144
144
  .map((prop, key) => {
145
145
  const href = `${path}${prop.path}`;
146
- const active = currentPath.includes(prop.path);
146
+ const active = currentPath.includes(href);
147
147
 
148
148
  if (prop.parent === true) {
149
149
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui-elv",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library (Elavon)",
package/wizard/Wizard.js CHANGED
@@ -160,7 +160,7 @@ const NavItem = _styledComponents.default.li`
160
160
  color: var(--font-on-background);
161
161
 
162
162
  > div > span:first-of-type {
163
- color: var(--font-on-primary);
163
+ color: var(--color-background2);
164
164
  background: var(--font-on-background);
165
165
  }
166
166
  }