@salesforcedevs/dx-components 0.19.3 → 0.21.0

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": "0.19.3",
3
+ "version": "0.21.0",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -29,5 +29,5 @@
29
29
  "@types/debounce": "^1.2.0",
30
30
  "@types/lodash.get": "^4.4.6"
31
31
  },
32
- "gitHead": "3e316062ee2d79d71aebcbc69d327f24ebefa8fc"
32
+ "gitHead": "a92996810904d262ad1c154ff21419aeffc47059"
33
33
  }
@@ -81,10 +81,6 @@ dx-button {
81
81
  }
82
82
 
83
83
  dx-type-badge {
84
- --dx-c-type-badge-border-radius: var(--dx-g-spacing-smd);
85
- --dx-c-type-badge-text-transform: capitalize;
86
- --dx-c-type-badge-height: var(--dx-g-spacing-lg);
87
-
88
84
  margin-top: var(--dx-g-spacing-sm);
89
85
  margin-bottom: var(--dx-g-spacing-sm);
90
86
  }
@@ -44,8 +44,9 @@
44
44
  {location}
45
45
  </span>
46
46
  <dx-type-badge
47
+ color={brandType}
48
+ type="content-type"
47
49
  value={type}
48
- brand={brand}
49
50
  if:true={type}
50
51
  ></dx-type-badge>
51
52
  </div>
@@ -49,6 +49,7 @@ export const Base = () => html`
49
49
  img-alt="Scenic view of a mountain."
50
50
  img-src="https://i.imgur.com/FUsyxR5.jpg"
51
51
  short-description="Dev Talkies is back in June! Kris Lande, SVP Trailhead Marketing and Trailblazer Relations at Salesforce, is joining us to inspire you and give you an exclusive peek into TrailheaDX."
52
+ type="Live Event"
52
53
  ></dx-card-event>
53
54
 
54
55
  <dx-card-event
@@ -36,7 +36,7 @@ export default class CardEvent extends LightningElement {
36
36
  this.isLinkHovered = false;
37
37
  }
38
38
 
39
- private get brand() {
40
- return this.type === "Webinar" ? "sales" : "service";
39
+ private get brandType() {
40
+ return this.type === "Webinar" ? "green" : "red";
41
41
  }
42
42
  }
@@ -41,7 +41,7 @@ export default class CodeBlock extends LightningElement {
41
41
  { label: "Visualforce", id: "visualforce" },
42
42
  { label: "Html", id: "html" },
43
43
  { label: "xml", id: "xml" },
44
- { label: "TypeScript", id: "TypeScript" },
44
+ { label: "TypeScript", id: "typescript" },
45
45
  { label: "PHP", id: "php" }
46
46
  ];
47
47
 
@@ -122,6 +122,7 @@ input::placeholder {
122
122
  }
123
123
 
124
124
  .shortcut {
125
+ align-items: center;
125
126
  display: flex;
126
127
  flex-shrink: 0;
127
128
  flex-direction: row;