@salesforcedevs/mrkt-components 0.41.0-alpha.12 → 0.41.0-alpha.15

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/mrkt-components",
3
- "version": "0.41.0-alpha.12",
3
+ "version": "0.41.0-alpha.15",
4
4
  "description": "Marketing Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -65,6 +65,7 @@ a {
65
65
  display: flex;
66
66
  align-items: center;
67
67
  justify-content: center;
68
+ white-space: nowrap;
68
69
  }
69
70
 
70
71
  a::after {
@@ -5,7 +5,7 @@
5
5
  <h4 class="dx-text-heading-4">{subtitle}</h4>
6
6
  <p class="content-body">{body}</p>
7
7
  <p class="content-info dx-text-heading-6">{info}</p>
8
- <dx-button>{buttonLabel}</dx-button>
8
+ <dx-button href={buttonHref}>{buttonLabel}</dx-button>
9
9
  </div>
10
10
  <div class="image-container">
11
11
  <img src={imgSrc} alt={imgAlt} />
@@ -6,6 +6,7 @@ export default class TdxSection extends LightningElement {
6
6
  @api body!: string;
7
7
  @api info!: string;
8
8
  @api buttonLabel!: string;
9
+ @api buttonHref!: string;
9
10
  @api imgSrc!: string;
10
11
  @api imgAlt!: string;
11
12
  }
@@ -13,7 +13,6 @@
13
13
  var(--mrkt-c-two-col-list-section-padding-bottom)
14
14
  var(--dx-g-page-padding-horizontal);
15
15
  display: flex;
16
- width: 100%;
17
16
  }
18
17
 
19
18
  .two-col-list-section.dark {
@@ -23,17 +22,20 @@
23
22
  .item-grid {
24
23
  display: grid;
25
24
  grid-template-columns: 1fr 1fr;
26
- grid-gap: var(--dx-g-spacing-3xl);
25
+ grid-gap: var(--dx-g-spacing-3xl) var(--dx-g-spacing-6xl);
26
+ width: max-content;
27
27
  margin: auto;
28
28
  }
29
29
 
30
30
  .item {
31
31
  width: 100%;
32
- max-width: 680px;
32
+ max-width: 414px;
33
33
  display: grid;
34
- grid-template-areas: "icon title" "icon subtitle";
34
+ grid-template-areas:
35
+ "icon title"
36
+ "icon subtitle";
35
37
  grid-template-columns: min-content auto;
36
- grid-template-rows: min-content auto;
38
+ grid-template-rows: min-content;
37
39
  grid-gap: var(--dx-g-spacing-xs) var(--dx-g-spacing-mlg);
38
40
  }
39
41
 
@@ -10,7 +10,7 @@
10
10
  background-color={item.iconBackgroundColor}
11
11
  ></dx-icon-badge>
12
12
  <h3 class="title dx-text-heading-4b">{item.title}</h3>
13
- <span class="subtitle dx-text-body-1">{item.subtitle}</span>
13
+ <span class="subtitle dx-text-body-2">{item.subtitle}</span>
14
14
  </div>
15
15
  </template>
16
16
  </div>