@salesforcedevs/dx-components 1.3.389 → 1.3.391
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.
|
|
3
|
+
"version": "1.3.391",
|
|
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": "bc4ba0f67ada8b9721ee3e695b4e204084ea9afd"
|
|
50
50
|
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
slot="image-badge"
|
|
17
17
|
></dx-icon-badge>
|
|
18
18
|
<dx-formatted-date-time
|
|
19
|
-
if:true={
|
|
19
|
+
if:true={date}
|
|
20
20
|
slot="datetime"
|
|
21
21
|
day="2-digit"
|
|
22
22
|
month="long"
|
|
23
23
|
year="numeric"
|
|
24
|
-
value={
|
|
24
|
+
value={date}
|
|
25
25
|
></dx-formatted-date-time>
|
|
26
26
|
</dx-card-content>
|
|
27
27
|
</template>
|
|
@@ -2,7 +2,7 @@ import { LightningElement, api } from "lwc";
|
|
|
2
2
|
|
|
3
3
|
export default class CardVideoPreview extends LightningElement {
|
|
4
4
|
@api body?: string | null = null;
|
|
5
|
-
@api
|
|
5
|
+
@api date?: string;
|
|
6
6
|
@api featured?: boolean = false;
|
|
7
7
|
@api href!: string;
|
|
8
8
|
@api imgAlt?: string;
|
|
@@ -22,6 +22,10 @@ export default class TabPanelList extends LightningElement {
|
|
|
22
22
|
}
|
|
23
23
|
set tabs(value: Tab[]) {
|
|
24
24
|
this._tabs = toJson(value);
|
|
25
|
+
if (typeof this._activeIndex === "number") {
|
|
26
|
+
this._activeIndex = undefined;
|
|
27
|
+
this.updateTabs();
|
|
28
|
+
}
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
private _initialIndex: number = 0;
|