@salesforcedevs/dx-components 1.3.331 → 1.3.334
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/dx/cardDocs/cardDocs.css +1 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +1 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +1 -0
- package/src/modules/dx/footer/links.ts +4 -4
- package/src/modules/dxHelpers/card/card.css +3 -6
- package/src/modules/dxUtils/css/css.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.334",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"volta": {
|
|
47
47
|
"node": "18.18.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "4d0cdd026fd451e2db124abab418a2c44053abbb"
|
|
50
50
|
}
|
|
@@ -36,6 +36,7 @@ export default class FeaturedContentHeader extends LightningElement {
|
|
|
36
36
|
| null = null;
|
|
37
37
|
@api noSwoop: boolean = false;
|
|
38
38
|
@api icon: string = "";
|
|
39
|
+
@api swoopUnderColor: string = "#FFFFFF";
|
|
39
40
|
|
|
40
41
|
private _authors?: Array<ImageAndLabel>;
|
|
41
42
|
private isSlotEmpty: boolean = true;
|
|
@@ -32,7 +32,7 @@ export const generalLinksRaw: OptionWithRequiredNested[] = [
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
link: {
|
|
35
|
-
href: "/
|
|
35
|
+
href: "/developer-centers/einstein-1-studio"
|
|
36
36
|
},
|
|
37
37
|
label: "Einstein",
|
|
38
38
|
id: "Einstein"
|
|
@@ -65,9 +65,9 @@ export const generalLinksRaw: OptionWithRequiredNested[] = [
|
|
|
65
65
|
id: "Trailhead"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
link: { href: "/
|
|
69
|
-
label: "
|
|
70
|
-
id: "
|
|
68
|
+
link: { href: "/sample-apps" },
|
|
69
|
+
label: "Sample Apps",
|
|
70
|
+
id: "Sample Apps"
|
|
71
71
|
},
|
|
72
72
|
{ link: { href: "/podcast" }, label: "Podcasts", id: "Podcasts" },
|
|
73
73
|
{
|
|
@@ -104,12 +104,9 @@ span {
|
|
|
104
104
|
|
|
105
105
|
.dx-card-base_ctas {
|
|
106
106
|
/* this is a hack since we can't target the ::slotted ctas */
|
|
107
|
-
display:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
auto-fill,
|
|
111
|
-
minmax(min-content, var(--dx-c-card-grid-max-width, 50px))
|
|
112
|
-
);
|
|
107
|
+
display: flex;
|
|
108
|
+
gap: var(--dx-g-spacing-xs) var(--dx-g-spacing-xl);
|
|
109
|
+
justify-content: space-between;
|
|
113
110
|
}
|
|
114
111
|
|
|
115
112
|
/* card image */
|
|
@@ -41,7 +41,9 @@ export const colorToDxColors = (
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export const toDxColor = (color: string) =>
|
|
44
|
-
["white", "transparent"].includes(color) ||
|
|
44
|
+
["white", "transparent"].includes(color) ||
|
|
45
|
+
color?.includes("linear-gradient") ||
|
|
46
|
+
BROWSER_COLOR_REGEXP.test(color)
|
|
45
47
|
? color
|
|
46
48
|
: `var(--dx-g-${color})`;
|
|
47
49
|
|