@salesforcedevs/dx-components 0.51.0 → 0.53.1
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/lwc.config.json +0 -1
- package/package.json +2 -2
- package/src/modules/dx/codeBlock/codeBlock.ts +3 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +3 -3
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +1 -1
- package/src/modules/dx/podcastSubscription/podcastSubscription.ts +8 -14
- package/src/modules/utils/prismjs/prismjs.ts +1197 -919
package/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"@types/lodash.get": "^4.4.6",
|
|
29
29
|
"@types/vimeo__player": "^2.16.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d0ec69fdb1483f7061ef4deeddc583c0ec3a11d5"
|
|
32
32
|
}
|
|
@@ -43,7 +43,9 @@ export default class CodeBlock extends LightningElement {
|
|
|
43
43
|
{ label: "xml", id: "xml" },
|
|
44
44
|
{ label: "TypeScript", id: "typescript" },
|
|
45
45
|
{ label: "PHP", id: "php" },
|
|
46
|
-
{ label: "JSON", id: "json" }
|
|
46
|
+
{ label: "JSON", id: "json" },
|
|
47
|
+
{ label: "Swift", id: "swift" },
|
|
48
|
+
{ label: "Kotlin", id: "kotlin" }
|
|
47
49
|
];
|
|
48
50
|
|
|
49
51
|
connectedCallback() {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
/* Z INDEX STUFF */
|
|
232
232
|
|
|
233
233
|
.label,
|
|
234
|
-
.main-content,
|
|
234
|
+
.featured-content-main-content,
|
|
235
235
|
.image-container {
|
|
236
236
|
position: relative;
|
|
237
237
|
z-index: var(--swoop-z-index);
|
|
@@ -269,12 +269,12 @@ a.image-container > img {
|
|
|
269
269
|
|
|
270
270
|
/* MAIN CONTENT AREA */
|
|
271
271
|
|
|
272
|
-
.main-content {
|
|
272
|
+
.featured-content-main-content {
|
|
273
273
|
grid-area: main;
|
|
274
274
|
max-width: var(--dx-c-featured-content-main-content-max-width);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
.main-content > * {
|
|
277
|
+
.featured-content-main-content > * {
|
|
278
278
|
z-index: 10;
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -3,14 +3,12 @@ import { LightningElement } from "lwc";
|
|
|
3
3
|
export default class PodcastSubscription extends LightningElement {
|
|
4
4
|
badgeLinks = [
|
|
5
5
|
{
|
|
6
|
-
href:
|
|
7
|
-
"https://podcasts.apple.com/us/podcast/salesforce-developer-podcast/id1482325260",
|
|
6
|
+
href: "https://podcasts.apple.com/us/podcast/salesforce-developer-podcast/id1482325260",
|
|
8
7
|
imgAlt: "Listen on Apple Podcasts",
|
|
9
8
|
imgSrc: "/assets/svg/podcasts-subscription-apple.svg"
|
|
10
9
|
},
|
|
11
10
|
{
|
|
12
|
-
href:
|
|
13
|
-
"https://www.google.com/podcasts?feed=aHR0cHM6Ly9zYWxlc2ZvcmNlZGV2cG9kY2FzdC5saWJzeW4uY29tL3Jzcw%3D%3D",
|
|
11
|
+
href: "https://www.google.com/podcasts?feed=aHR0cHM6Ly9zYWxlc2ZvcmNlZGV2cG9kY2FzdC5saWJzeW4uY29tL3Jzcw%3D%3D",
|
|
14
12
|
imgAlt: "Listen on Google Podcasts",
|
|
15
13
|
imgSrc: "/assets/svg/podcasts-subscription-google.svg"
|
|
16
14
|
},
|
|
@@ -27,28 +25,24 @@ export default class PodcastSubscription extends LightningElement {
|
|
|
27
25
|
text: "Stitcher"
|
|
28
26
|
},
|
|
29
27
|
{
|
|
30
|
-
href:
|
|
31
|
-
"https://www.amazon.com/Emerald-City-Productions-Salesforce-Developer/dp/B082PPXMLN/",
|
|
28
|
+
href: "https://www.amazon.com/Emerald-City-Productions-Salesforce-Developer/dp/B082PPXMLN/",
|
|
32
29
|
text: "Alexa"
|
|
33
30
|
},
|
|
34
31
|
{
|
|
35
|
-
href:
|
|
36
|
-
"https://www.pandora.com/podcast/salesforce-developer-podcast/PC:34746",
|
|
32
|
+
href: "https://www.pandora.com/podcast/salesforce-developer-podcast/PC:34746",
|
|
37
33
|
text: "Pandora"
|
|
38
34
|
},
|
|
39
35
|
{
|
|
40
|
-
href:
|
|
41
|
-
"https://www.iheart.com/podcast/263-salesforce-developer-podca-56252827",
|
|
36
|
+
href: "https://www.iheart.com/podcast/263-salesforce-developer-podca-56252827",
|
|
42
37
|
text: "iHeartRadio"
|
|
43
38
|
},
|
|
44
39
|
{
|
|
45
|
-
href:
|
|
46
|
-
"https://tunein.com/podcasts/Technology-Podcasts/Salesforce-Developer-Podcast-p1255006/",
|
|
40
|
+
href: "https://tunein.com/podcasts/Technology-Podcasts/Salesforce-Developer-Podcast-p1255006/",
|
|
47
41
|
text: "Tune-in"
|
|
48
42
|
},
|
|
49
43
|
{
|
|
50
|
-
href: "https://
|
|
51
|
-
text: "
|
|
44
|
+
href: "https://player.fm/series/salesforce-developer-podcast",
|
|
45
|
+
text: "PlayerFM"
|
|
52
46
|
},
|
|
53
47
|
{
|
|
54
48
|
href: "https://dev.to/salesforce_developers_podcast",
|