@salesforcedevs/dx-components 1.3.323 → 1.3.324-alpha
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 +1 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +1 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +1 -0
- package/src/modules/dx/searchResults/coveo.css +1 -1
- package/src/modules/dxHelpers/card/card.css +3 -6
- package/src/modules/dxUtils/css/css.ts +3 -1
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -7944,7 +7944,7 @@ select.coveo-dropdown::-ms-expand {
|
|
|
7944
7944
|
|
|
7945
7945
|
@font-face {
|
|
7946
7946
|
font-family: "Lato";
|
|
7947
|
-
src: url('https://static.cloud.coveo.com/searchui/v2.
|
|
7947
|
+
src: url('https://static.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff2'), url('https://staticdev.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff2'), url('../fonts/lato.woff2'), url('https://static.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff'), url('https://staticdev.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff'), url('../fonts/lato.woff');
|
|
7948
7948
|
font-weight: normal;
|
|
7949
7949
|
font-style: normal;
|
|
7950
7950
|
}
|
|
@@ -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
|
|