@salesforcedevs/mrkt-components 1.3.252 → 1.3.324

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": "1.3.252",
3
+ "version": "1.3.324",
4
4
  "description": "Marketing Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -15,5 +15,5 @@
15
15
  "devDependencies": {
16
16
  "@types/classnames": "^2.2.10"
17
17
  },
18
- "gitHead": "8379eb747571af22dfdfc3c440e8c23c85d1fe8b"
18
+ "gitHead": "f005d7f0cbb1ce8f67f11d7267cfeb893d2c031a"
19
19
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class={className} part="container">
3
3
  <div class="text-container">
4
- <h2 class="dx-text-display-8">{title}</h2>
4
+ <h2 class="dx-text-display-8">{header}</h2>
5
5
  <span if:true={subtitle} class="subtitle dx-text-body-2">
6
6
  {subtitle}
7
7
  </span>
@@ -12,7 +12,7 @@ export default class CTASection extends LightningElement {
12
12
  @api subtitle?: string;
13
13
  @api imgSrcLeft?: string;
14
14
  @api imgSrcRight?: string;
15
- @api title!: string;
15
+ @api header!: string;
16
16
 
17
17
  private get hasImages(): boolean {
18
18
  return !!this.imgSrcLeft && !!this.imgSrcRight;
@@ -31,7 +31,7 @@ export default class CTASection extends LightningElement {
31
31
  click_text: this.buttonText,
32
32
  click_url: this.buttonHref,
33
33
  element_type: "button",
34
- element_title: this.title,
34
+ element_title: this.header,
35
35
  content_category: "cta"
36
36
  });
37
37
  }
@@ -15,7 +15,7 @@
15
15
  sprite={iconSprite}
16
16
  background-size="large"
17
17
  ></dx-icon-badge>
18
- <h2 if:true={title} class="title dx-text-display-3">{title}</h2>
18
+ <h2 if:true={header} class="title dx-text-display-3">{header}</h2>
19
19
  <span if:true={subtitle} class="subtitle dx-text-body-1">
20
20
  {subtitle}
21
21
  </span>
@@ -12,14 +12,14 @@ export default class SectionHeader extends LightningElement {
12
12
  @api overlapImages?: boolean = false;
13
13
  @api lightGradient?: boolean;
14
14
  @api subtitle?: string;
15
- @api title!: string;
15
+ @api header!: string;
16
16
 
17
17
  private get hasPageMarginGraphics(): boolean {
18
18
  return !!this.imgSrcLeft && !!this.imgSrcRight;
19
19
  }
20
20
 
21
21
  private get hasIcon(): boolean {
22
- return !!this.title && !!this.iconSymbol;
22
+ return !!this.header && !!this.iconSymbol;
23
23
  }
24
24
 
25
25
  private get className(): string {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="socials">
3
- <dx-hr text={title} spacing="none"></dx-hr>
3
+ <dx-hr text={header} spacing="none"></dx-hr>
4
4
  <div class="socials-container">
5
5
  <template for:each={items} for:item="item">
6
6
  <a key={item.id} href={item.link.href}>
@@ -3,7 +3,7 @@ import { toJson } from "dxUtils/normalizers";
3
3
  import type { OptionWithLink } from "typings/custom";
4
4
 
5
5
  export default class Socials extends LightningElement {
6
- @api title: string = "Our Socials";
6
+ @api header: string = "Our Socials";
7
7
 
8
8
  @api
9
9
  get items() {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="container">
3
3
  <div class="content">
4
- <h3 class="content-title dx-text-display-3">{title}</h3>
4
+ <h3 class="content-title dx-text-display-3">{header}</h3>
5
5
  <h4 class="dx-text-display-6">{subtitle}</h4>
6
6
  <p class="content-body">{body}</p>
7
7
  <p class="content-info dx-text-display-8">{info}</p>
@@ -1,7 +1,7 @@
1
1
  import { api, LightningElement } from "lwc";
2
2
 
3
3
  export default class TdxSection extends LightningElement {
4
- @api title!: string;
4
+ @api header!: string;
5
5
  @api subtitle!: string;
6
6
  @api body!: string;
7
7
  @api info!: string;
@@ -14,7 +14,7 @@
14
14
  href={modalHref}
15
15
  label={modalLabel}
16
16
  terms={modalTerms}
17
- title={modalTitle}
17
+ header={modalTitle}
18
18
  col-two-title={modalTwoColTitle}
19
19
  col-two-details={modalTwoColDetails}
20
20
  button-cta={modalButtonCta}
@@ -26,7 +26,7 @@
26
26
  </dx-modal>
27
27
  <div class="text-container">
28
28
  <span class="subtitle dx-text-label-4">{subtitle}</span>
29
- <h2 class="title dx-text-display-4">{title}</h2>
29
+ <h2 class="title dx-text-display-4">{header}</h2>
30
30
  <p class="body dx-text-body-2">{body}</p>
31
31
  <div class="cta-group">
32
32
  <dx-button
@@ -8,7 +8,7 @@ export default class TwoColPanelSection extends LightningElement {
8
8
  @api buttonText!: string;
9
9
  @api modalButtonText?: string;
10
10
  @api subtitle!: string;
11
- @api title!: string;
11
+ @api header!: string;
12
12
  @api light?: boolean = false;
13
13
 
14
14
  @api modalBadgeBackgroundColor?: string;
@@ -45,7 +45,7 @@ export default class TwoColPanelSection extends LightningElement {
45
45
  if (this.buttonHref.includes("signup")) {
46
46
  const payload = {
47
47
  click_text: this.buttonText,
48
- element_title: this.title,
48
+ element_title: this.header,
49
49
  element_type: "card",
50
50
  click_url: `${window.location.origin}${this.buttonHref}`,
51
51
  content_category: "cta"
@@ -2,7 +2,7 @@
2
2
  <div class={className}>
3
3
  <img src={imgSrc} alt={imgAlt} />
4
4
  <div class="text-container">
5
- <h2 class="dx-text-display-6">{title}</h2>
5
+ <h2 class="dx-text-display-6">{header}</h2>
6
6
  <span class="dx-text-body-2">{subtitle}</span>
7
7
  </div>
8
8
  </div>
@@ -6,7 +6,7 @@ export default class TwoColSection extends LightningElement {
6
6
  @api subtitle!: string;
7
7
  @api imgAlt!: string;
8
8
  @api imgSrc!: string;
9
- @api title!: string;
9
+ @api header!: string;
10
10
 
11
11
  private get className(): string {
12
12
  return cx("two-col-section", this.dark && "dark");
@@ -14,7 +14,7 @@
14
14
  ></path>
15
15
  </svg>
16
16
  </div>
17
- <h2 class="section-title">{title}</h2>
17
+ <h2 class="section-title">{header}</h2>
18
18
  <div class="video">
19
19
  <dx-vimeo-player video-id={videoId}></dx-vimeo-player>
20
20
  </div>
@@ -1,6 +1,6 @@
1
1
  import { LightningElement, api } from "lwc";
2
2
 
3
3
  export default class VideoPlayerSection extends LightningElement {
4
- @api title!: string;
4
+ @api header!: string;
5
5
  @api videoId!: number;
6
6
  }