@salesforcedevs/mrkt-components 0.68.0 → 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 +2 -2
- package/src/modules/mrkt/noCodeSection/noCodeSection.css +4 -3
- package/src/modules/mrkt/sectionHeader/sectionHeader.html +2 -0
- package/src/modules/mrkt/sectionHeader/sectionHeader.ts +2 -0
- package/src/modules/mrkt/subNavBar/subNavBar.css +2 -1
- package/src/modules/mrkt/subNavBar/subNavBar.html +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/mrkt-components",
|
|
3
|
-
"version": "0.
|
|
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": "
|
|
18
|
+
"gitHead": "5183cd0ee93cedb7988377ff667f1e4c54ff8ea6"
|
|
19
19
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.container {
|
|
11
|
+
position: relative;
|
|
11
12
|
background-color: var(--dx-g-indigo-vibrant-20);
|
|
12
13
|
display: flex;
|
|
13
14
|
justify-content: space-between;
|
|
@@ -43,12 +44,12 @@
|
|
|
43
44
|
width: 238px;
|
|
44
45
|
position: absolute;
|
|
45
46
|
left: var(--dx-g-page-padding-horizontal);
|
|
46
|
-
top:
|
|
47
|
+
top: calc(-1 * var(--margin-top));
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
@media (min-width:
|
|
50
|
+
@media (min-width: 1600px) {
|
|
50
51
|
.container {
|
|
51
|
-
padding:
|
|
52
|
+
padding: var(--padding-top) var(--dx-g-page-padding-horizontal) 0;
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
<div class="text-container">
|
|
11
11
|
<dx-icon-badge
|
|
12
12
|
if:true={hasIcon}
|
|
13
|
+
color={iconColor}
|
|
13
14
|
symbol={iconSymbol}
|
|
15
|
+
sprite={iconSprite}
|
|
14
16
|
></dx-icon-badge>
|
|
15
17
|
<h2 if:true={title} class="title dx-text-heading-2b">{title}</h2>
|
|
16
18
|
<span if:true={subtitle} class="subtitle dx-text-body-1">
|
|
@@ -3,7 +3,9 @@ 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;
|
|
8
|
+
@api iconSprite?: string = "utility";
|
|
7
9
|
@api imgSrc?: string;
|
|
8
10
|
@api imgSrcLeft?: string;
|
|
9
11
|
@api imgSrcRight?: 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 */
|