@salesforcedevs/dx-components 1.3.398 → 1.4.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/dx/cardTrial/cardTrial.html +1 -1
- package/src/modules/dx/cardTrial/cardTrial.ts +1 -1
- package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.html +1 -1
- package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.ts +1 -1
- package/src/modules/dx/sidebarSearch/sidebarSearch.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
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": "052e1a61657dec2c9299570814e2d7c561517fe2"
|
|
50
50
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<span class="top-text dx-text-body-4">{topText}</span>
|
|
35
35
|
<dx-hr spacing="md"></dx-hr>
|
|
36
36
|
</template>
|
|
37
|
-
<div class="badge-container">
|
|
37
|
+
<div class="badge-container" lwc:if={badgeSymbol}>
|
|
38
38
|
<dx-icon-badge
|
|
39
39
|
class="badge-main"
|
|
40
40
|
background-color={badgeBackgroundColor}
|
|
@@ -6,7 +6,7 @@ import { track } from "dxUtils/analytics";
|
|
|
6
6
|
export default class CardTrial extends LightningElement {
|
|
7
7
|
@api badgeBackgroundColor?: string = "indigo-vibrant-90";
|
|
8
8
|
@api badgeSprite?: string = "salesforcebrand";
|
|
9
|
-
@api badgeSymbol
|
|
9
|
+
@api badgeSymbol?: string;
|
|
10
10
|
@api body!: string;
|
|
11
11
|
@api buttonOneCta?: string;
|
|
12
12
|
@api buttonOneHref?: string;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<div class="content-container" tabindex="0" onkeydown={handleKeyDown}>
|
|
14
14
|
<div class="col-one">
|
|
15
|
-
<div class="badge-container">
|
|
15
|
+
<div class="badge-container" lwc:if={badgeSymbol}>
|
|
16
16
|
<dx-icon-badge
|
|
17
17
|
class="badge-main"
|
|
18
18
|
background-color={badgeBackgroundColor}
|
|
@@ -5,7 +5,7 @@ import { track } from "dxUtils/analytics";
|
|
|
5
5
|
export default class CardTrial extends LightningElement {
|
|
6
6
|
@api badgeBackgroundColor?: string = "indigo-vibrant-90";
|
|
7
7
|
@api badgeSprite?: string = "salesforcebrand";
|
|
8
|
-
@api badgeSymbol
|
|
8
|
+
@api badgeSymbol?: string;
|
|
9
9
|
@api body!: string;
|
|
10
10
|
@api buttonCta?: string;
|
|
11
11
|
@api buttonHref?: string;
|
|
@@ -33,7 +33,7 @@ const SEARCH_DEBOUNCE_DELAY = 1200;
|
|
|
33
33
|
const UserRecentSearches = new RecentSearches();
|
|
34
34
|
|
|
35
35
|
const normalizeCoveoAdvancedQueryValue = (version: string): string =>
|
|
36
|
-
version
|
|
36
|
+
version?.split(".").join("\\.");
|
|
37
37
|
|
|
38
38
|
export default class SidebarSearch extends LightningElement {
|
|
39
39
|
@api coveoOrganizationId!: string;
|