@salesforcedevs/mrkt-components 0.0.0-alpha.2 → 0.0.0-alpha.5

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.0.0-alpha.2",
3
+ "version": "0.0.0-alpha.5",
4
4
  "description": "Marketing Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -5,19 +5,19 @@
5
5
  --padding-vertical: 108px;
6
6
  --mrkt-c-two-col-list-section-padding-top: var(--padding-vertical);
7
7
  --mrkt-c-two-col-list-section-padding-bottom: var(--padding-vertical);
8
+ --mrkt-c-two-col-list-section-align-items: center;
8
9
  }
9
10
 
10
11
  .two-col-panel-section {
11
12
  display: flex;
12
13
  flex-direction: row;
13
14
  justify-content: space-between;
14
- align-items: center;
15
+ align-items: var(--mrkt-c-two-col-list-section-align-items);
15
16
  width: 100%;
16
17
  padding: var(--mrkt-c-two-col-list-section-padding-top)
17
18
  var(--dx-g-page-padding-horizontal)
18
19
  var(--mrkt-c-two-col-list-section-padding-bottom)
19
20
  var(--dx-g-page-padding-horizontal);
20
- overflow: hidden;
21
21
  }
22
22
 
23
23
  .text-container {
@@ -79,7 +79,7 @@ img {
79
79
  .graphic-1 {
80
80
  width: 306px;
81
81
  bottom: 100px;
82
- left: -106px;
82
+ left: -120px;
83
83
  z-index: 0;
84
84
  }
85
85
 
@@ -138,6 +138,12 @@ img {
138
138
  }
139
139
 
140
140
  @media (max-width: 768px) {
141
+ .main-cta {
142
+ --dx-c-button-display: inline;
143
+ --dx-c-button-horizontal-spacing: var(--dx-g-spacing-md);
144
+ --dx-c-button-vertical-spacing: var(--dx-g-spacing-xs);
145
+ }
146
+
141
147
  .two-col-panel-section {
142
148
  display: flex;
143
149
  flex-direction: column;
@@ -1,6 +1,5 @@
1
1
  import { api, LightningElement } from "lwc";
2
2
  import cx from "classnames";
3
- import mockProps from "./__tests__/mockProps";
4
3
 
5
4
  export default class TwoColPanelSection extends LightningElement {
6
5
  @api body!: string;
@@ -13,18 +12,18 @@ export default class TwoColPanelSection extends LightningElement {
13
12
 
14
13
  @api modalBadgeBackgroundColor?: string;
15
14
  @api modalBadgeSprite?: string;
16
- @api modalBadgeSymbol?: string = mockProps.badgeSymbol;
17
- @api modalTitle?: string = mockProps.title;
18
- @api modalBody?: string = mockProps.body;
19
- @api modalDetails?: string = JSON.stringify(mockProps.details);
20
- @api modalLabel: string = mockProps.label;
21
- @api modalTerms: string = mockProps.terms;
22
- @api modalTwoColTitle: string = mockProps.twoColTitle;
23
- @api modalTwoColDetails: string = JSON.stringify(mockProps.twoColDetails);
24
- @api modalButtonCta: string = mockProps.buttonOneCta;
25
- @api modalButtonHref: string = mockProps.buttonOneHref;
26
- @api modalButtonIcon: string = mockProps.buttonOneIcon;
27
- @api modalButtonIconSize: string = mockProps.buttonOneIconSize;
15
+ @api modalBadgeSymbol?: string;
16
+ @api modalTitle?: string;
17
+ @api modalBody?: string;
18
+ @api modalDetails?: string;
19
+ @api modalLabel?: string;
20
+ @api modalTerms?: string;
21
+ @api modalTwoColTitle?: string;
22
+ @api modalTwoColDetails?: string;
23
+ @api modalButtonCta?: string;
24
+ @api modalButtonHref?: string;
25
+ @api modalButtonIcon?: string;
26
+ @api modalButtonIconSize?: string;
28
27
 
29
28
  private modalOpen: boolean = false;
30
29