@salesforcedevs/mrkt-components 0.68.2 → 0.69.0

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": "@salesforcedevs/mrkt-components",
3
- "version": "0.68.2",
3
+ "version": "0.69.0",
4
4
  "description": "Marketing Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -15,5 +15,5 @@
15
15
  "devDependencies": {
16
16
  "@types/classnames": "^2.2.10"
17
17
  },
18
- "gitHead": "15e09ed86a911009655e02d9b69a4b9c7407fa71"
18
+ "gitHead": "5183cd0ee93cedb7988377ff667f1e4c54ff8ea6"
19
19
  }
@@ -10,6 +10,7 @@
10
10
  <div class="text-container">
11
11
  <dx-icon-badge
12
12
  if:true={hasIcon}
13
+ color={iconColor}
13
14
  symbol={iconSymbol}
14
15
  sprite={iconSprite}
15
16
  ></dx-icon-badge>
@@ -3,6 +3,7 @@ import cx from "classnames";
3
3
 
4
4
  export default class SectionHeader extends LightningElement {
5
5
  @api dark?: boolean;
6
+ @api iconColor?: string;
6
7
  @api iconSymbol?: string;
7
8
  @api iconSprite?: string = "utility";
8
9
  @api imgSrc?: string;
@@ -96,8 +96,9 @@ a.active > dx-icon-badge {
96
96
  --dx-c-icon-badge-background-color: var(--dx-g-blue-vibrant-50);
97
97
  }
98
98
 
99
- a:not(.active):hover > dx-icon-badge {
99
+ a:not(.active):hover > dx-icon-badge::part(badge) {
100
100
  --dx-c-icon-badge-background-color: var(--dx-g-blue-vibrant-40);
101
+ --dx-c-icon-badge-color: white;
101
102
  }
102
103
 
103
104
  /* accounts for font gap */
@@ -23,6 +23,7 @@
23
23
  <a class={navItem.className} href={navItem.link.href}>
24
24
  <dx-icon-badge
25
25
  symbol={navItem.iconSymbol}
26
+ color={navItem.iconColor}
26
27
  if:true={isDesktop}
27
28
  ></dx-icon-badge>
28
29
  <span>{navItem.label}</span>