@salesforcedevs/dw-components 1.3.362 → 1.3.366

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "1.3.362",
3
+ "version": "1.3.366",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
7
- "node": ">= 14.x"
7
+ "node": "18.18.0"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
@@ -26,5 +26,5 @@
26
26
  "@types/setimmediate": "1.0.4",
27
27
  "setimmediate": "1.0.5"
28
28
  },
29
- "gitHead": "b467b87ab7cf96d27e036a784d7d8fd4b7e423fe"
29
+ "gitHead": "879600edad044c730d365d3737f72f9f5eaec399"
30
30
  }
@@ -1,7 +1,16 @@
1
1
  <template>
2
- <dx-grid columns="dynamic">
2
+ <dx-grid columns="three">
3
3
  <template for:each={videosData} for:item="videoData">
4
- <template if:false={videoData.thumbnail}>
4
+ <template lwc:if={videoData.thumbnail}>
5
+ <dx-card-video-preview
6
+ key={videoData.id}
7
+ href={videoData.src}
8
+ header={videoData.title}
9
+ img-src={videoData.thumbnail}
10
+ target={videoData.src}
11
+ ></dx-card-video-preview>
12
+ </template>
13
+ <template lwc:else>
5
14
  <div class="video-container" key={videoData.id}>
6
15
  <iframe
7
16
  id={videoData.id}
@@ -21,15 +30,6 @@
21
30
  ></dx-formatted-date-time>
22
31
  </div>
23
32
  </template>
24
- <template if:true={videoData.thumbnail}>
25
- <dx-card-video-preview
26
- key={videoData.id}
27
- href={videoData.src}
28
- header={videoData.title}
29
- img-src={videoData.thumbnail}
30
- target={videoData.src}
31
- ></dx-card-video-preview>
32
- </template>
33
33
  </template>
34
34
  </dx-grid>
35
35
  </template>