@salesforcedevs/dx-components 1.3.221 → 1.3.222

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/dx-components",
3
- "version": "1.3.221",
3
+ "version": "1.3.222",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -44,5 +44,5 @@
44
44
  "volta": {
45
45
  "node": "16.19.1"
46
46
  },
47
- "gitHead": "eca6f0494621686d4b7c408a316e8b230b09b6dc"
47
+ "gitHead": "62a015d9361eb7d42205236276ecd7813de38abf"
48
48
  }
@@ -274,18 +274,15 @@ li.coveo-dynamic-facet-breadcrumb-value-list-item {
274
274
  }
275
275
 
276
276
  .dx-result-title {
277
+ /* override the default Coveo style */
278
+ color: var(--dx-g-blue-vibrant-20) !important;
279
+ display: block;
277
280
  font-family: var(--dx-g-font-display);
278
281
  font-size: var(--dx-g-text-lg);
279
282
  margin: 0;
280
283
  margin-bottom: var(--dx-g-spacing-sm);
281
284
  }
282
285
 
283
- .CoveoResultLink,
284
- a.CoveoResultLink,
285
- .CoveoResult a.CoveoResultLink {
286
- color: var(--dx-g-blue-vibrant-20);
287
- }
288
-
289
286
  .dx-result-excerpt {
290
287
  color: var(--dx-g-gray-10);
291
288
  font-size: 14px;
@@ -57,12 +57,15 @@ const resultsTemplatesInnerHtml = `
57
57
  <% } %>
58
58
  <% } %>
59
59
  </div>
60
- <p class="dx-result-title">
61
- <span
62
- class="CoveoResultLink"
63
- data-field="@uri"
64
- ></span>
65
- </p>
60
+ <a
61
+ href="<%= raw.uri %>"
62
+ class="dx-result-title"
63
+ >
64
+ <%= title %>
65
+ <% if (!raw.uri.includes('developer.salesforce.com') && !raw.uri.includes('developer-website-s.herokuapp.com')) { %>
66
+ <svg xmlns="http://www.w3.org/2000/svg" style="display: inline; vertical-align: baseline;" fill="var(--dx-g-blue-vibrant-20)" width="20" height="20" part="svg" aria-hidden="true"><use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#new_window"></use></svg>
67
+ <% } %>
68
+ </a>
66
69
  <p class="dx-result-excerpt CoveoExcerpt"></p>
67
70
  </div>
68
71
  </script>
@@ -84,9 +87,19 @@ const resultsTemplatesInnerHtml = `
84
87
  <% } %>
85
88
  <% } %>
86
89
  </div>
87
- <p class="dx-result-title">
88
- <a class="CoveoResultLink"></a>
89
- </p>
90
+ <a
91
+ href="<%= raw.uri %>"
92
+ class="dx-result-title"
93
+ >
94
+ <% if (title) { %>
95
+ <%= title %>
96
+ <% } else { %>
97
+ <%= uri %>
98
+ <% } %>
99
+ <% if (!raw.uri.includes('developer.salesforce.com') && !raw.uri.includes('developer-website-s.herokuapp.com')) { %>
100
+ <svg xmlns="http://www.w3.org/2000/svg" style="display: inline; vertical-align: baseline;" fill="var(--dx-g-blue-vibrant-20)" width="20" height="20" part="svg" aria-hidden="true"><use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#new_window"></use></svg>
101
+ <% } %>
102
+ </a>
90
103
  <p class="dx-result-excerpt CoveoExcerpt"></p>
91
104
  </div>
92
105
  </script>