@salesforcedevs/dx-components 1.3.219-alpha.2 → 1.3.219-alpha.4

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.219-alpha.2",
3
+ "version": "1.3.219-alpha.4",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -276,6 +276,7 @@ li.coveo-dynamic-facet-breadcrumb-value-list-item {
276
276
  .dx-result-title {
277
277
  /* override the default Coveo style */
278
278
  color: var(--dx-g-blue-vibrant-20) !important;
279
+ display: block;
279
280
  font-family: var(--dx-g-font-display);
280
281
  font-size: var(--dx-g-text-lg);
281
282
  margin: 0;
@@ -91,7 +91,11 @@ const resultsTemplatesInnerHtml = `
91
91
  href="<%= raw.uri %>"
92
92
  class="dx-result-title"
93
93
  >
94
- <%= uri %>
94
+ <% if (title) { %>
95
+ <%= title %>
96
+ <% } else { %>
97
+ <%= uri %>
98
+ <% } %>
95
99
  <% if (!raw.uri.includes('developer.salesforce.com') && !raw.uri.includes('developer-website-s.herokuapp.com')) { %>
96
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>
97
101
  <% } %>