@salesforcedevs/dw-components 0.79.1 → 0.79.3

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/dw-components",
3
- "version": "0.79.1",
3
+ "version": "0.79.3",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -22,5 +22,5 @@
22
22
  "@types/lodash.orderby": "^4.6.7",
23
23
  "@types/lodash.uniqby": "^4.7.7"
24
24
  },
25
- "gitHead": "31fa5005b9be9a1e38f71f6ee6a8cd45f75eb40a"
25
+ "gitHead": "1ac28eaeb46528d77fbaabad4471b9e87e39d08e"
26
26
  }
@@ -83,11 +83,6 @@ dx-section:first-of-type {
83
83
  margin: 50px auto;
84
84
  }
85
85
 
86
- dx-type-badge.platform {
87
- --dx-c-type-badge-color: var(--dx-g-green-vibrant-40);
88
- --dx-c-type-badge-background: var(--dx-g-green-vibrant-90);
89
- }
90
-
91
86
  @media screen and (max-width: 1024px) {
92
87
  .code-samples-feature {
93
88
  --dx-c-feature-description-font-size: 14px;
@@ -102,10 +102,10 @@
102
102
  >
103
103
  <div class="badge-link-container">
104
104
  <div class="badge-container">
105
- <dx-type-badge
105
+ <dx-metadata-badge
106
106
  value={item.product}
107
- class={item.product}
108
- ></dx-type-badge>
107
+ size="small"
108
+ ></dx-metadata-badge>
109
109
  </div>
110
110
  <div class="external-link-container">
111
111
  <dx-button
@@ -123,7 +123,6 @@ export default class CodeSamplesGrid extends LightningElement {
123
123
 
124
124
  @api
125
125
  set samples(value: string) {
126
- console.log(value);
127
126
  const jsonSamples = toJson(value) || [];
128
127
  this._samplesList = jsonSamples.map((sample, i) => ({
129
128
  id: i,
@@ -60,7 +60,7 @@ function normalizePosts(posts: Array<ArchivePost>, contentType: string) {
60
60
  id: post.id,
61
61
  title: post.title.rendered,
62
62
  date: post.date,
63
- contentType: post.sitename,
63
+ contentType: post.sitename.toLowerCase(),
64
64
  href: post.link,
65
65
  ...(contentType === "expanded" && {
66
66
  excerpt: post.excerpt,
@@ -21,7 +21,7 @@ export default class PodcastSubscription extends LightningElement {
21
21
 
22
22
  secondaryLinks = [
23
23
  {
24
- href: "https://app.stitcher.com/browse/feed/470480/details",
24
+ href: "https://www.stitcher.com/show/salesforce-developer-podcast",
25
25
  text: "Stitcher"
26
26
  },
27
27
  {