@salesforcedevs/dx-components 1.3.222-alpha16 → 1.3.222-alpha17

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.222-alpha16",
3
+ "version": "1.3.222-alpha17",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -2,3 +2,7 @@
2
2
  position: relative;
3
3
  margin-top: 85px;
4
4
  }
5
+
6
+ dx-section.section-reduced-padding {
7
+ --dx-c-section-padding-vertical: unset;
8
+ }
@@ -14,9 +14,9 @@ export default class CoveoRecommendations extends LightningElement {
14
14
  recommendationsLoaded = false;
15
15
 
16
16
  connectedCallback() {
17
- // const actionsHistory = localStorage.getItem(
18
- // "__coveo.analytics.history"
19
- // );
17
+ const actionsHistory = localStorage.getItem(
18
+ "__coveo.analytics.history"
19
+ );
20
20
  const url = "https://platform.cloud.coveo.com/rest/search/v2";
21
21
  fetch(url, {
22
22
  headers: {
@@ -28,14 +28,7 @@ export default class CoveoRecommendations extends LightningElement {
28
28
  pipeline: "Recommendations_Developer_Blogs",
29
29
  searchHub: "developerWebsiteBlogs",
30
30
  numberOfResults: 3,
31
- actionsHistory: [
32
- {
33
- name: "PageView",
34
- value: "https://developer.salesforce.com/blogs/2024/02/the-developers-guide-to-trailblazerdx-2024",
35
- time: "2024-02-20T19:47:51.910Z",
36
- internalTime: 1708458471910
37
- }
38
- ]
31
+ actionsHistory: actionsHistory
39
32
  })
40
33
  }).then(async (response) => {
41
34
  const recommendations = (await response.json()).results;