@salesforcedevs/dx-components 1.3.322 → 1.3.323

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.
Files changed (78) hide show
  1. package/package.json +2 -3
  2. package/src/modules/dx/agenda/agenda.html +1 -1
  3. package/src/modules/dx/agenda/agenda.ts +1 -1
  4. package/src/modules/dx/breadcrumbs/breadcrumbs.html +1 -1
  5. package/src/modules/dx/breadcrumbs/breadcrumbs.ts +9 -11
  6. package/src/modules/dx/cardBlogPost/cardBlogPost.html +1 -1
  7. package/src/modules/dx/cardBlogPost/cardBlogPost.ts +4 -4
  8. package/src/modules/dx/cardCallout/cardCallout.html +1 -1
  9. package/src/modules/dx/cardCallout/cardCallout.ts +3 -3
  10. package/src/modules/dx/cardClickthrough/cardClickthrough.html +1 -1
  11. package/src/modules/dx/cardClickthrough/cardClickthrough.ts +3 -3
  12. package/src/modules/dx/cardContent/cardContent.html +1 -1
  13. package/src/modules/dx/cardContent/cardContent.ts +2 -2
  14. package/src/modules/dx/cardDemo/cardDemo.html +1 -1
  15. package/src/modules/dx/cardDemo/cardDemo.ts +1 -1
  16. package/src/modules/dx/cardDocs/cardDocs.html +8 -2
  17. package/src/modules/dx/cardDocs/cardDocs.ts +6 -6
  18. package/src/modules/dx/cardEvent/cardEvent.html +1 -1
  19. package/src/modules/dx/cardEvent/cardEvent.ts +1 -1
  20. package/src/modules/dx/cardExpanded/cardExpanded.html +2 -2
  21. package/src/modules/dx/cardGrid/cardGrid.html +1 -1
  22. package/src/modules/dx/cardGridDocs/cardGridDocs.html +2 -2
  23. package/src/modules/dx/cardMinimal/cardMinimal.html +1 -1
  24. package/src/modules/dx/cardNews/cardNews.html +1 -1
  25. package/src/modules/dx/cardNews/cardNews.ts +2 -2
  26. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.html +1 -1
  27. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.ts +1 -1
  28. package/src/modules/dx/cardSmall/cardSmall.html +2 -2
  29. package/src/modules/dx/cardSmall/cardSmall.ts +1 -1
  30. package/src/modules/dx/cardTitle/cardTitle.ts +4 -4
  31. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.html +1 -1
  32. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.ts +1 -1
  33. package/src/modules/dx/cardTrial/cardTrial.html +2 -2
  34. package/src/modules/dx/cardTrial/cardTrial.ts +1 -1
  35. package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.html +2 -2
  36. package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.ts +2 -2
  37. package/src/modules/dx/cardVideoPreview/cardVideoPreview.html +1 -1
  38. package/src/modules/dx/cardVideoPreview/cardVideoPreview.ts +1 -1
  39. package/src/modules/dx/codeBlock/codeBlock.html +1 -1
  40. package/src/modules/dx/codeBlock/codeBlock.ts +1 -1
  41. package/src/modules/dx/coveoRecommendations/coveoRecommendations.html +1 -1
  42. package/src/modules/dx/embeddedVideo/embeddedVideo.html +1 -1
  43. package/src/modules/dx/embeddedVideo/embeddedVideo.ts +1 -1
  44. package/src/modules/dx/emptyState/emptyState.html +1 -1
  45. package/src/modules/dx/emptyState/emptyState.ts +1 -1
  46. package/src/modules/dx/faq/faq.html +1 -1
  47. package/src/modules/dx/faq/faq.ts +1 -1
  48. package/src/modules/dx/feature/feature.html +4 -4
  49. package/src/modules/dx/feature/feature.ts +2 -2
  50. package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +4 -4
  51. package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +3 -3
  52. package/src/modules/dx/featuresList/featuresList.html +1 -1
  53. package/src/modules/dx/featuresList/featuresList.ts +1 -1
  54. package/src/modules/dx/featuresListHeader/featuresListHeader.ts +6 -6
  55. package/src/modules/dx/filterMenu/filterMenu.html +1 -1
  56. package/src/modules/dx/filterMenu/filterMenu.ts +5 -4
  57. package/src/modules/dx/groupText/groupText.html +1 -1
  58. package/src/modules/dx/groupText/groupText.ts +2 -2
  59. package/src/modules/dx/helmet/helmet.html +2 -2
  60. package/src/modules/dx/helmet/helmet.ts +2 -2
  61. package/src/modules/dx/interactiveImage/interactiveImage.html +2 -2
  62. package/src/modules/dx/interactiveImage/interactiveImage.ts +2 -2
  63. package/src/modules/dx/mainContentHeader/mainContentHeader.html +1 -1
  64. package/src/modules/dx/mainContentHeader/mainContentHeader.ts +5 -5
  65. package/src/modules/dx/searchResults/coveo.css +1 -1
  66. package/src/modules/dx/searchResults/searchResults.html +2 -2
  67. package/src/modules/dx/section/section.html +2 -2
  68. package/src/modules/dx/section/section.ts +3 -3
  69. package/src/modules/dx/sectionBanner/sectionBanner.html +2 -2
  70. package/src/modules/dx/sectionBanner/sectionBanner.ts +2 -2
  71. package/src/modules/dx/sidebar/sidebar.html +2 -2
  72. package/src/modules/dx/sidebarOld/sidebarOld.html +1 -1
  73. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.ts +2 -2
  74. package/src/modules/dx/toc/toc.html +1 -1
  75. package/src/modules/dx/toc/toc.ts +2 -2
  76. package/src/modules/dxBaseElements/archiveCard/archiveCard.ts +1 -1
  77. package/src/modules/dxBaseElements/headerBase/headerBase.ts +2 -2
  78. package/LICENSE +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.322",
3
+ "version": "1.3.323",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -45,6 +45,5 @@
45
45
  },
46
46
  "volta": {
47
47
  "node": "16.19.1"
48
- },
49
- "gitHead": "489fc5c1b1cc01080269de7a82f462e12fca8966"
48
+ }
50
49
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="container">
3
- <h2 class="detail-list-title dx-text-display-4">{title}</h2>
3
+ <h2 class="detail-list-title dx-text-display-4">{header}</h2>
4
4
  <div class="detail-list-content-container">
5
5
  <ul class="detail-list-content" part="content">
6
6
  <template for:each={items} for:item="item">
@@ -10,7 +10,7 @@ export interface AgendaItem {
10
10
  }
11
11
 
12
12
  export default class Agenda extends LightningElement {
13
- @api title: string = "Agenda";
13
+ @api header: string = "Agenda";
14
14
  @api flourish?: string;
15
15
  @api flourishAlt?: string;
16
16
 
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <nav class={className} role="navigation" aria-label={ariaLabel}>
3
3
  <template if:true={logo}>
4
- <dx-logo href={baseHref} label={title}></dx-logo>
4
+ <dx-logo href={baseHref} label={header}></dx-logo>
5
5
  <span if:false={breadcrumbsEmpty}>/</span>
6
6
  </template>
7
7
  <dx-dropdown
@@ -21,7 +21,7 @@ export default class Breadcrumbs extends LightningElement {
21
21
  @api baseHref: string = "/";
22
22
  @api navItems: OptionWithNested[] = [];
23
23
  @api pathname: string = window.location.pathname;
24
- @api title: string = "Salesforce";
24
+ @api header: string = "Salesforce";
25
25
  @api logo: boolean = false;
26
26
  @api truncate = false;
27
27
  @api hideCurrentLocation = false;
@@ -85,16 +85,14 @@ export default class Breadcrumbs extends LightningElement {
85
85
  breadcrumbs: Breadcrumb[]
86
86
  ): NormalizedBreadcrumb[] {
87
87
  const { length } = breadcrumbs;
88
- return breadcrumbs.map(
89
- (breadcrumb, i): NormalizedBreadcrumb => {
90
- const last = i === length - 1;
91
- return {
92
- ...breadcrumb,
93
- asLink: this.hideCurrentLocation || !last,
94
- last
95
- };
96
- }
97
- );
88
+ return breadcrumbs.map((breadcrumb, i): NormalizedBreadcrumb => {
89
+ const last = i === length - 1;
90
+ return {
91
+ ...breadcrumb,
92
+ asLink: this.hideCurrentLocation || !last,
93
+ last
94
+ };
95
+ });
98
96
  }
99
97
 
100
98
  private get breadcrumbDropdownOptions() {
@@ -9,7 +9,7 @@
9
9
  img-src={imgSrc}
10
10
  label={label}
11
11
  target={target}
12
- title={title}
12
+ header={header}
13
13
  content-type="blogs"
14
14
  >
15
15
  <dx-formatted-date-time
@@ -11,7 +11,7 @@ export default class CardBlogPost extends LightningElement {
11
11
  @api imgSrc?: string | null;
12
12
  @api label?: string;
13
13
  @api target?: string | null = null;
14
- @api title!: string;
14
+ @api header!: string;
15
15
  @api authors?: Array<any> | null = null;
16
16
  @api origin?: string = "wordpress";
17
17
  @api clickEvent?: () => void;
@@ -28,9 +28,9 @@ export default class CardBlogPost extends LightningElement {
28
28
  }
29
29
 
30
30
  const payload = {
31
- click_text: this.title,
31
+ click_text: this.header,
32
32
  click_url: `${window.location.origin}${this.href}`,
33
- element_title: this.title,
33
+ element_title: this.header,
34
34
  element_type: "card",
35
35
  content_category: "link",
36
36
  recommendation_type: this.origin
@@ -38,7 +38,7 @@ export default class CardBlogPost extends LightningElement {
38
38
  track(event.target!, "custEv_blogCardClick", {
39
39
  ...payload,
40
40
  blog_author: this.authors,
41
- blog_title: this.title
41
+ blog_title: this.header
42
42
  });
43
43
  track(event.target!, "custEv_linkClick", payload);
44
44
  }
@@ -6,7 +6,7 @@
6
6
  style={style}
7
7
  onclick={sendGtm}
8
8
  >
9
- <h3 class="dx-text-display-4">{title}</h3>
9
+ <h3 class="dx-text-display-4">{header}</h3>
10
10
  <span class="dx-text-button-light">
11
11
  {label}
12
12
  <dx-icon symbol="forward"></dx-icon>
@@ -11,7 +11,7 @@ export default class CardCallout extends LightningElement {
11
11
  @api href!: string;
12
12
  @api label: string = "";
13
13
  @api target?: string;
14
- @api title!: string;
14
+ @api header!: string;
15
15
 
16
16
  private get style(): string {
17
17
  const background = `background-color: ${toDxColor(
@@ -31,9 +31,9 @@ export default class CardCallout extends LightningElement {
31
31
 
32
32
  private sendGtm(e: PointerEvent) {
33
33
  track(e.currentTarget!, "custEv_ctaLinkClick", {
34
- click_text: this.title,
34
+ click_text: this.header,
35
35
  click_url: `${window.location.origin}${this.href}`,
36
- element_title: this.title,
36
+ element_title: this.header,
37
37
  element_type: "link",
38
38
  content_category: "cta"
39
39
  });
@@ -12,7 +12,7 @@
12
12
  {label}
13
13
  </span>
14
14
  <dx-card-title
15
- title={title}
15
+ header={header}
16
16
  target={target}
17
17
  onclick={handleLinkClick}
18
18
  ></dx-card-title>
@@ -40,7 +40,7 @@ export default class CardClickthrough<
40
40
  @api imgAlt?: string = "";
41
41
  @api imgSrc?: string | null = null;
42
42
  @api label!: string;
43
- @api title!: string;
43
+ @api header!: string;
44
44
  @api target?: string | null = null;
45
45
  @api showMobileImg?: boolean = false;
46
46
 
@@ -127,8 +127,8 @@ export default class CardClickthrough<
127
127
  return;
128
128
  }
129
129
  const payloadCardInfo = {
130
- click_text: this.title,
131
- element_title: this.title,
130
+ click_text: this.header,
131
+ element_title: this.header,
132
132
  click_url: this.href,
133
133
  element_type: "link",
134
134
  content_category: "cta"
@@ -34,7 +34,7 @@
34
34
  onclick={handleClick}
35
35
  onmouseenter={setLinkHovered}
36
36
  onmouseleave={setLinkInactive}
37
- title={title}
37
+ header={header}
38
38
  ></dx-card-title>
39
39
  <span
40
40
  class="subtitle dx-text-label-1-dark"
@@ -17,7 +17,7 @@ export default class CardContent extends LightningElement {
17
17
  @api layout: "vertical" | "horizontal" = "vertical";
18
18
  @api subtitle?: string | null = null;
19
19
  @api target?: string | null = null;
20
- @api title!: string;
20
+ @api header!: string;
21
21
  @api hrefClick: any = null;
22
22
  @api contentType: string | null = null;
23
23
  @api
@@ -56,7 +56,7 @@ export default class CardContent extends LightningElement {
56
56
  }
57
57
 
58
58
  private get imgLinkAriaLabel() {
59
- return `Read More About ${this.title}`;
59
+ return `Read More About ${this.header}`;
60
60
  }
61
61
 
62
62
  private get className(): string {
@@ -7,6 +7,6 @@
7
7
  img-src={imgSrc}
8
8
  label="Demo"
9
9
  target={target}
10
- title={title}
10
+ header={header}
11
11
  ></dx-card-content>
12
12
  </template>
@@ -7,5 +7,5 @@ export default class CardDemo extends LightningElement {
7
7
  @api imgAlt?: string;
8
8
  @api imgSrc?: string | null;
9
9
  @api target?: string | null = null;
10
- @api title!: string;
10
+ @api header!: string;
11
11
  }
@@ -11,11 +11,17 @@
11
11
  >
12
12
  <span class="dx-text-label-3" part="label">{label}</span>
13
13
  <dx-card-title
14
- title={title}
14
+ header={header}
15
15
  target={target}
16
16
  onclick={handleLinkClick}
17
17
  ></dx-card-title>
18
- <span lwc:if={body} class="dx-text-body-2" onclick={handleTextClick}>{body}</span>
18
+ <span
19
+ lwc:if={body}
20
+ class="dx-text-body-2"
21
+ onclick={handleTextClick}
22
+ >
23
+ {body}
24
+ </span>
19
25
  </div>
20
26
  <div class="dx-card-base_section-vertical dx-card-base_ctas">
21
27
  <slot onslotchange={onSlotChange}></slot>
@@ -10,7 +10,7 @@ export default class CardDocs extends LightningElement {
10
10
  @api imgAlt?: string = "";
11
11
  @api imgSrc?: string | null = null;
12
12
  @api label!: string;
13
- @api title!: string;
13
+ @api header!: string;
14
14
  @api target?: string | null = null;
15
15
  @api showMobileImg?: boolean = false;
16
16
 
@@ -37,13 +37,13 @@ export default class CardDocs extends LightningElement {
37
37
  slotElement?.addEventListener("click", (event: Event) => {
38
38
  track(event.currentTarget!, "custEv_cardClick", {
39
39
  ...payloadInnerButton,
40
- element_title: this.title,
40
+ element_title: this.header,
41
41
  click_text: slotElement.innerText,
42
42
  click_url: `${window.location.origin}${slotElement.href}`
43
43
  });
44
44
  track(event.currentTarget!, "custEv_linkClick", {
45
45
  ...payloadInnerButton,
46
- element_title: this.title,
46
+ element_title: this.header,
47
47
  click_text: slotElement.innerText,
48
48
  click_url: `${window.location.origin}${slotElement.href}`
49
49
  });
@@ -54,8 +54,8 @@ export default class CardDocs extends LightningElement {
54
54
 
55
55
  private handleLinkClick(event: PointerEvent) {
56
56
  const payloadCardInfo = {
57
- click_text: this.title,
58
- element_title: this.title,
57
+ click_text: this.header,
58
+ element_title: this.header,
59
59
  click_url: `${window.location.origin}${this.href}`,
60
60
  element_type: "link",
61
61
  content_category: "cta"
@@ -67,7 +67,7 @@ export default class CardDocs extends LightningElement {
67
67
  private handleTextClick(event: PointerEvent) {
68
68
  const payloadCardTextInfo = {
69
69
  click_text: this.body,
70
- element_title: this.title,
70
+ element_title: this.header,
71
71
  click_url: `${window.location.origin}${this.href}`,
72
72
  element_type: "tile",
73
73
  content_category: "cta"
@@ -42,7 +42,7 @@
42
42
  onmouseenter={setLinkHovered}
43
43
  onmouseleave={setLinkInactive}
44
44
  target={target}
45
- title={title}
45
+ header={header}
46
46
  ></dx-card-title>
47
47
  <div class="subtitle-container" if:true={showSubtitle}>
48
48
  <span class="subtitle dx-text-label-1-dark" part="subtitle">
@@ -11,7 +11,7 @@ export default class CardEvent extends LightningElement {
11
11
  @api location?: string | null = null;
12
12
  @api startDatetime!: string;
13
13
  @api target: string = "_blank";
14
- @api title!: string;
14
+ @api header!: string;
15
15
  @api shortDescription?: string;
16
16
  @api type?: string;
17
17
 
@@ -2,10 +2,10 @@
2
2
  <div class={containerClass}>
3
3
  <dx-type-badge variant={contentType} size={badgeSize}></dx-type-badge>
4
4
  <dx-card-title
5
- if:true={title}
5
+ if:true={header}
6
6
  href={href}
7
7
  target={target}
8
- title={title}
8
+ header={header}
9
9
  ></dx-card-title>
10
10
  <div class="card-extra-info dx-text-label-1-dark">
11
11
  <div class="authors" if:true={renderAuthor}>
@@ -8,7 +8,7 @@
8
8
  img-alt={card.imgAlt}
9
9
  img-src={card.imgSrc}
10
10
  label={card.label}
11
- title={card.title}
11
+ header={card.title}
12
12
  target={card.target}
13
13
  show-mobile-img={card.showMobileImg}
14
14
  widget-config={card.widgetConfig}
@@ -29,7 +29,7 @@
29
29
  img-alt={card.imgAlt}
30
30
  img-src={card.imgSrc}
31
31
  label={card.label}
32
- title={card.title}
32
+ header={card.title}
33
33
  target={card.target}
34
34
  show-mobile-img={card.showMobileImg}
35
35
  >
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  </div>
62
62
  <dx-empty-state
63
- title="Beep boop. That did not compute."
63
+ header="Beep boop. That did not compute."
64
64
  subtitle={emptyStateSubtitle}
65
65
  if:true={showEmptyState}
66
66
  ></dx-empty-state>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="card-container">
3
3
  <a class="dx-text-truncate" href={href} target={target}>
4
- <h4>{title}</h4>
4
+ <h4>{header}</h4>
5
5
  </a>
6
6
  <dx-type-badge variant={contentType} size={badgeSize}></dx-type-badge>
7
7
  </div>
@@ -9,7 +9,7 @@
9
9
  >
10
10
  <div class={textContainerClassName}>
11
11
  <h3 class="dx-text-display-4">
12
- <dx-formatted-rich-text value={title}></dx-formatted-rich-text>
12
+ <dx-formatted-rich-text value={header}></dx-formatted-rich-text>
13
13
  </h3>
14
14
  <p>{body}</p>
15
15
  <div class="cta">
@@ -13,7 +13,7 @@ import { track } from "dxUtils/analytics";
13
13
 
14
14
  export default class CardNews extends LightningElement {
15
15
  @api backgroundColor: string = "indigo-vibrant-40";
16
- @api title!: string;
16
+ @api header!: string;
17
17
  @api body!: string;
18
18
  @api buttonText?: string = "";
19
19
  @api buttonType!: CardNewsButtonType;
@@ -70,7 +70,7 @@ export default class CardNews extends LightningElement {
70
70
  click_url: this.href.includes("http")
71
71
  ? this.href
72
72
  : `${window.location.origin}${this.href}`,
73
- element_title: this.title,
73
+ element_title: this.header,
74
74
  element_type: "link",
75
75
  content_category: "cta"
76
76
  };
@@ -23,7 +23,7 @@
23
23
  target={target}
24
24
  onmouseenter={setLinkHovered}
25
25
  onmouseleave={setLinkInactive}
26
- title={title}
26
+ header={header}
27
27
  ></dx-card-title>
28
28
  <span class="datetime dx-text-label-1-dark">
29
29
  <dx-relative-date-time
@@ -8,7 +8,7 @@ export default class CardPodcastEpisode extends LightningElement {
8
8
  @api href!: string;
9
9
  @api length!: string;
10
10
  @api target?: string | null = null;
11
- @api title!: string;
11
+ @api header!: string;
12
12
 
13
13
  private isLinkHovered: boolean = false;
14
14
 
@@ -13,7 +13,7 @@
13
13
  <dx-card-title
14
14
  href={href}
15
15
  target={target}
16
- title={title}
16
+ header={header}
17
17
  ></dx-card-title>
18
18
  <span class="dx-text-body-2">{body}</span>
19
19
  <div if:false={isSlotEmpty} class="dx-card-base_ctas">
@@ -32,7 +32,7 @@
32
32
  ></dx-icon-badge>
33
33
  </div>
34
34
  <div class="dx-card-base_section-horizontal dx-card-base_column">
35
- <dx-card-title target={target} title={title}></dx-card-title>
35
+ <dx-card-title target={target} header={header}></dx-card-title>
36
36
  <span class="dx-text-body-2">{body}</span>
37
37
  <div if:false={isSlotEmpty} class="dx-card-base_ctas">
38
38
  <slot onslotchange={onSlotChange}></slot>
@@ -18,7 +18,7 @@ export default class CardSmall extends LightningElement {
18
18
  @api borderless?: boolean = false;
19
19
  @api href!: string;
20
20
  @api target?: string | null = null;
21
- @api title!: string;
21
+ @api header!: string;
22
22
 
23
23
  private isSlotEmpty: boolean = false;
24
24
 
@@ -3,7 +3,7 @@ import { LightningElement, api } from "lwc";
3
3
  export default class CardTitle extends LightningElement {
4
4
  @api href!: string;
5
5
  @api target?: string | null = null;
6
- @api title!: string;
6
+ @api header!: string;
7
7
 
8
8
  private get isExternal() {
9
9
  return this.target === "_blank";
@@ -11,8 +11,8 @@ export default class CardTitle extends LightningElement {
11
11
 
12
12
  private get titleToWrap() {
13
13
  return this.isExternal
14
- ? this.title.substring(0, this.title.lastIndexOf(" "))
15
- : this.title;
14
+ ? this.header.substring(0, this.header.lastIndexOf(" "))
15
+ : this.header;
16
16
  }
17
17
 
18
18
  private get needsSpace() {
@@ -21,7 +21,7 @@ export default class CardTitle extends LightningElement {
21
21
 
22
22
  private get titleNoWrap() {
23
23
  return this.isExternal
24
- ? this.title.substring(this.title.lastIndexOf(" ") + 1)
24
+ ? this.header.substring(this.header.lastIndexOf(" ") + 1)
25
25
  : null;
26
26
  }
27
27
  }
@@ -7,7 +7,7 @@
7
7
  label={label}
8
8
  subtitle={subtitle}
9
9
  target={target}
10
- title={title}
10
+ header={header}
11
11
  >
12
12
  <img
13
13
  class="badge"
@@ -10,7 +10,7 @@ export default class CardTrailheadModule extends LightningElement {
10
10
  @api length!: string;
11
11
  @api points!: string | number;
12
12
  @api target?: string | null = null;
13
- @api title!: string;
13
+ @api header!: string;
14
14
  @api label?: string = "Trailhead";
15
15
 
16
16
  get subtitle() {
@@ -20,7 +20,7 @@
20
20
  col-two-details={modalDetails}
21
21
  target={target}
22
22
  terms={terms}
23
- title={title}
23
+ header={header}
24
24
  type-badge-value={modalTypeBadgeValue}
25
25
  type-badge-dark={modalTypeBadgeDark}
26
26
  onclickclose={closeModal}
@@ -53,7 +53,7 @@
53
53
  <dx-card-title
54
54
  href={href}
55
55
  target={target}
56
- title={title}
56
+ header={header}
57
57
  ></dx-card-title>
58
58
  <span class="label dx-text-body-3">{label}</span>
59
59
  <p class="body dx-text-body-2 static-font">{body}</p>
@@ -23,7 +23,7 @@ export default class CardTrial extends LightningElement {
23
23
  @api recommended?: boolean = false;
24
24
  @api target?: string;
25
25
  @api terms!: string;
26
- @api title!: string;
26
+ @api header!: string;
27
27
  @api topText?: string;
28
28
  @api modalTitle?: string;
29
29
 
@@ -29,7 +29,7 @@
29
29
  class="title-main"
30
30
  href={href}
31
31
  target={target}
32
- title={title}
32
+ header={header}
33
33
  ></dx-card-title>
34
34
  <span class="label dx-text-body-3">{label}</span>
35
35
  <p class="body dx-text-body-2 static-font">{body}</p>
@@ -64,7 +64,7 @@
64
64
  <div class="col-two">
65
65
  <dx-card-title
66
66
  class="title-secondary"
67
- title={colTwoTitle}
67
+ header={colTwoTitle}
68
68
  ></dx-card-title>
69
69
  <template for:each={colTwoDetails} for:item="colTwoItem">
70
70
  <div key={colTwoItem.title}>
@@ -16,7 +16,7 @@ export default class CardTrial extends LightningElement {
16
16
  @api label!: string;
17
17
  @api target?: string;
18
18
  @api terms!: string;
19
- @api title!: string;
19
+ @api header!: string;
20
20
  @api typeBadgeValue?: string;
21
21
  @api typeBadgeDark?: boolean = false;
22
22
 
@@ -72,7 +72,7 @@ export default class CardTrial extends LightningElement {
72
72
  if (this.href.includes("signup")) {
73
73
  const payload = {
74
74
  click_text: this.buttonCta,
75
- element_title: this.title,
75
+ element_title: this.header,
76
76
  element_type: "card",
77
77
  click_url: `${window.location.origin}${this.href}`,
78
78
  content_category: "cta"
@@ -7,7 +7,7 @@
7
7
  img-src={imgSrc}
8
8
  layout={layout}
9
9
  target={target}
10
- title={title}
10
+ header={header}
11
11
  >
12
12
  <dx-icon-badge
13
13
  class="dx-play-button"
@@ -9,5 +9,5 @@ export default class CardVideoPreview extends LightningElement {
9
9
  @api imgSrc?: string | null;
10
10
  @api target?: string | null = null;
11
11
  @api layout: "vertical" | "horizontal" = "vertical";
12
- @api title!: string;
12
+ @api header!: string;
13
13
  }
@@ -4,7 +4,7 @@
4
4
  <div class="toolbar">
5
5
  <div class="toolbar-item">
6
6
  <div class="dx-text-display-8 dx-code-block-heading">
7
- { title }
7
+ { header }
8
8
  </div>
9
9
  </div>
10
10
  <template if:true={showLanguageDropdown}>
@@ -46,7 +46,7 @@ const LOCAL_STORAGE_KEY = "dx-codeblock-theme";
46
46
 
47
47
  export default class CodeBlock extends LightningElement {
48
48
  @api defaultTheme: CodeBlockTheme = LIGHT;
49
- @api title: string = "title";
49
+ @api header: string = "title";
50
50
  @api sourceLink: string = "";
51
51
  @api language: string = "";
52
52
  // if it is true, it renders code as is coming instead of wrapping it into html/xml comments tags.
@@ -17,7 +17,7 @@
17
17
  img-alt={recommendation.yoast_head_json.title}
18
18
  img-src={recommendation.featured_image}
19
19
  key={recommendation.id}
20
- title={recommendation.yoast_head_json.title}
20
+ header={recommendation.yoast_head_json.title}
21
21
  origin="coveo"
22
22
  click-event={recommendation.clickEvent}
23
23
  ></dx-card-blog-post>
@@ -22,7 +22,7 @@
22
22
  title="Embedded post"
23
23
  ></iframe>
24
24
  </template>
25
- <h2 class="dx-text-display-6">{title}</h2>
25
+ <h2 class="dx-text-display-6">{header}</h2>
26
26
  <p class="dx-text-body-2">{body}</p>
27
27
  <div lwc:if={hasSocial}>
28
28
  <dx-hr no-padding="true" spacing="smd"></dx-hr>
@@ -5,7 +5,7 @@ export default class EmbeddedVideo extends LightningElement {
5
5
  @api videoId!: string;
6
6
  @api compact = false;
7
7
 
8
- @api title = "";
8
+ @api header = "";
9
9
  @api body = "";
10
10
 
11
11
  @api hasSocial? = false;
@@ -8,7 +8,7 @@
8
8
  lwc:if={altVariant}
9
9
  />
10
10
  <div class={textClassName}>
11
- <h3 class={titleClassName}>{title}</h3>
11
+ <h3 class={titleClassName}>{header}</h3>
12
12
  <p class={subtitleClassName} if:true={subtitle}>{subtitle}</p>
13
13
  <p class="body dx-text-display-8" if:true={body}>{body}</p>
14
14
  <ul if:true={suggestions}>