@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
@@ -2,7 +2,7 @@ import { LightningElement, api } from "lwc";
2
2
  import { EmptyStateSize } from "typings/custom";
3
3
 
4
4
  export default class EmptyState extends LightningElement {
5
- @api title: string = "";
5
+ @api header: string = "";
6
6
  @api subtitle?: string | null = null;
7
7
  @api body?: string | null = null;
8
8
  @api size?: EmptyStateSize = "large";
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="container">
3
- <h2 class="faq-title dx-text-display-4">{title}</h2>
3
+ <h2 class="faq-title dx-text-display-4">{header}</h2>
4
4
  <div class="faq-content" part="content">
5
5
  <template iterator:it={options}>
6
6
  <details key={it.value.title} open={it.first}>
@@ -2,7 +2,7 @@ import { LightningElement, api } from "lwc";
2
2
  import { toJson } from "dxUtils/normalizers";
3
3
 
4
4
  export default class Faq extends LightningElement {
5
- @api title!: string;
5
+ @api header!: string;
6
6
 
7
7
  @api
8
8
  get options() {
@@ -2,7 +2,7 @@
2
2
  <section class={sectionClass}>
3
3
  <div class="description">
4
4
  <h2 if:true={hasLabel} class="dx-text-display-8 label">{label}</h2>
5
- <h3 class="dx-text-display-4">{title}</h3>
5
+ <h3 class="dx-text-display-4">{header}</h3>
6
6
  <div class="body dx-text-body-2">
7
7
  <slot></slot>
8
8
  </div>
@@ -21,14 +21,14 @@
21
21
  <img
22
22
  class="image-display"
23
23
  src="https://a.sfdcstatic.com/developer-website/images/featured-demo-art-blank.svg"
24
- alt={title}
24
+ alt={header}
25
25
  />
26
26
  <div class="image-container">
27
- <img src={imageSrc} alt={title} />
27
+ <img src={imageSrc} alt={header} />
28
28
  </div>
29
29
  </div>
30
30
  <div if:false={isDisplay} class="image">
31
- <img src={imageSrc} alt={title} />
31
+ <img src={imageSrc} alt={header} />
32
32
  </div>
33
33
  </section>
34
34
  </template>
@@ -3,7 +3,7 @@ import { track } from "dxUtils/analytics";
3
3
 
4
4
  export default class Feature extends LightningElement {
5
5
  @api label!: string;
6
- @api title!: string;
6
+ @api header!: string;
7
7
  @api imageSrc!: string;
8
8
  @api buttonHref: string | null = null;
9
9
  @api buttonLabel: string | null = null;
@@ -36,7 +36,7 @@ export default class Feature extends LightningElement {
36
36
  handleClick(event: Event) {
37
37
  const payload = {
38
38
  click_text: this.buttonLabel,
39
- element_title: this.title,
39
+ element_title: this.header,
40
40
  click_url: this.buttonHref,
41
41
  element_type: "button",
42
42
  content_category: "cta"
@@ -18,9 +18,9 @@
18
18
  onmouseenter={setLinkHovered}
19
19
  onmouseleave={setLinkInactive}
20
20
  >
21
- {title}
21
+ {header}
22
22
  </a>
23
- <template if:false={href}>{title}</template>
23
+ <template if:false={href}>{header}</template>
24
24
  </h1>
25
25
  </template>
26
26
  <template if:true={labelAsPrimaryHeading}>
@@ -33,9 +33,9 @@
33
33
  onmouseenter={setLinkHovered}
34
34
  onmouseleave={setLinkInactive}
35
35
  >
36
- {title}
36
+ {header}
37
37
  </a>
38
- <template if:false={href}>{title}</template>
38
+ <template if:false={href}>{header}</template>
39
39
  </h2>
40
40
  </template>
41
41
  <div class="authors" if:true={authors}>
@@ -24,7 +24,7 @@ export default class FeaturedContentHeader extends LightningElement {
24
24
  @api dark: boolean = false;
25
25
  @api href?: string;
26
26
  @api target?: string | null = null;
27
- @api title!: string;
27
+ @api header!: string;
28
28
  @api backgroundImg?: string;
29
29
  @api backgroundImgId:
30
30
  | "trees"
@@ -215,9 +215,9 @@ export default class FeaturedContentHeader extends LightningElement {
215
215
  }
216
216
 
217
217
  track(event.target!, trackEvent, {
218
- media_name: this.title,
218
+ media_name: this.header,
219
219
  media_action: action,
220
- media_episode: this.title.split(":")[0],
220
+ media_episode: this.header.split(":")[0],
221
221
  media_percentage_played: percentagePlayed,
222
222
  media_seconds_played: timePlayed,
223
223
  media_type: "podcast"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="container">
3
- <h2 if:true={title} class="dx-text-display-4">{title}</h2>
3
+ <h2 if:true={header} class="dx-text-display-4">{header}</h2>
4
4
  <ul>
5
5
  <template for:each={options} for:item="option">
6
6
  <li key={option.id} class="option">
@@ -7,7 +7,7 @@ import { toJson } from "dxUtils/normalizers";
7
7
  */
8
8
 
9
9
  export default class FeaturesList extends LightningElement {
10
- @api title!: string;
10
+ @api header!: string;
11
11
 
12
12
  @api get options(): Array<FeatureItem> {
13
13
  return this._options;
@@ -6,7 +6,7 @@ import { toDxColor } from "dxUtils/css";
6
6
 
7
7
  export default class FeaturesListHeader extends LightningElement {
8
8
  private _displayTitle: string | null = null;
9
- @api title!: string;
9
+ @api header!: string;
10
10
  @api subtitle?: string;
11
11
  @api ctaLabel!: string;
12
12
  @api ctaLabelSecondary?: string;
@@ -46,7 +46,7 @@ export default class FeaturesListHeader extends LightningElement {
46
46
  get displayTitle() {
47
47
  return typeof this._displayTitle === "string"
48
48
  ? this._displayTitle
49
- : this.title;
49
+ : this.header;
50
50
  }
51
51
  set displayTitle(value: string | null) {
52
52
  this._displayTitle = value;
@@ -69,12 +69,12 @@ export default class FeaturesListHeader extends LightningElement {
69
69
  click_text: this.ctaLabel,
70
70
  click_url: `${window.location.origin}${this.ctaHref}`,
71
71
  element_type: "button",
72
- element_title: this.title,
72
+ element_title: this.header,
73
73
  content_category: "cta"
74
74
  });
75
75
  track(e.currentTarget!, "custEv_linkClick", {
76
76
  click_text: this.ctaLabel,
77
- element_title: this.title,
77
+ element_title: this.header,
78
78
  click_url: `${window.location.origin}${this.ctaHref}`,
79
79
  element_type: "link",
80
80
  content_category: "cta"
@@ -88,12 +88,12 @@ export default class FeaturesListHeader extends LightningElement {
88
88
  click_text: this.ctaLabelSecondary,
89
89
  click_url: `${window.location.origin}${this.ctaHrefSecondary}`,
90
90
  element_type: "button",
91
- element_title: this.title,
91
+ element_title: this.header,
92
92
  content_category: "cta"
93
93
  });
94
94
  track(e.currentTarget!, "custEv_linkClick", {
95
95
  click_text: this.ctaLabelSecondary,
96
- element_title: this.title,
96
+ element_title: this.header,
97
97
  click_url: `${window.location.origin}${this.ctaHrefSecondary}`,
98
98
  element_type: "link",
99
99
  content_category: "cta"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <form class="container">
3
3
  <span class="title-group-main title-group" onclick={dropdownToggle}>
4
- <p class="filter-menu-title">{title}</p>
4
+ <p class="filter-menu-title">{header}</p>
5
5
  <svg
6
6
  xmlns="http://www.w3.org/2000/svg"
7
7
  width="28"
@@ -8,7 +8,7 @@ interface Option {
8
8
  }
9
9
  export default class FilterMenu extends LightningElement {
10
10
  @api name: string = "";
11
- @api title: string = "Filter Menu";
11
+ @api header: string = "Filter Menu";
12
12
  @api variant: string = "base";
13
13
  @api filtersDatesLoading?: boolean;
14
14
 
@@ -80,9 +80,10 @@ export default class FilterMenu extends LightningElement {
80
80
 
81
81
  private setIntedeterminateStatus(checkbox: any, value: boolean) {
82
82
  if ("isYear" in checkbox.value && !checkbox.value.isYear) {
83
- const yearCheckBox: any = checkbox.parentElement.parentElement.parentElement.querySelector(
84
- ".checkbox-year"
85
- );
83
+ const yearCheckBox: any =
84
+ checkbox.parentElement.parentElement.parentElement.querySelector(
85
+ ".checkbox-year"
86
+ );
86
87
  yearCheckBox.indeterminate = value;
87
88
  }
88
89
  }
@@ -2,7 +2,7 @@
2
2
  <div class={className}>
3
3
  <span if:true={label} class="label dx-text-display-8">{label}</span>
4
4
  <div class={titleClassname} role="heading" aria-level={titleAriaLevel}>
5
- {title}
5
+ {header}
6
6
  </div>
7
7
  <span class="subtitle dx-text-display-8" if:true={hasSubtitle}>
8
8
  <span if:true={owner}>{owner}</span>
@@ -16,7 +16,7 @@ const titleClasses = {
16
16
  };
17
17
 
18
18
  export default class GroupText extends LightningElement {
19
- @api title!: string;
19
+ @api header!: string;
20
20
  @api body?: string;
21
21
  @api owner?: string;
22
22
  @api dateTime?: string;
@@ -93,7 +93,7 @@ export default class GroupText extends LightningElement {
93
93
  : window.location.origin + event.currentTarget.href
94
94
  }`,
95
95
  element_type: "button",
96
- element_title: this.title,
96
+ element_title: this.header,
97
97
  content_category: "cta"
98
98
  });
99
99
  }
@@ -13,7 +13,7 @@
13
13
  version="1.1"
14
14
  xmlns="http://www.w3.org/2000/svg"
15
15
  >
16
- <title>{title}</title>
16
+ <title>{header}</title>
17
17
  <g
18
18
  id="Section-/-Nav-/-Footer-/-Architects"
19
19
  transform="translate(-148.000000, -447.000000)"
@@ -25,7 +25,7 @@
25
25
  ></path>
26
26
  </g>
27
27
  </svg>
28
- <span class="home-link-title">{title}</span>
28
+ <span class="home-link-title">{header}</span>
29
29
  </a>
30
30
  <span>/</span>
31
31
  <span if:true={currentPropertyHref}>
@@ -3,7 +3,7 @@ import cx from "classnames";
3
3
  import { HelmetVariant } from "typings/custom";
4
4
 
5
5
  export default class Helmet extends LightningElement {
6
- @api title: string = "Salesforce";
6
+ @api header: string = "Salesforce";
7
7
  @api currentPropertyTitle: string = "Heroku";
8
8
  @api currentPropertyHref?: string;
9
9
  @api variant: HelmetVariant = "neutral";
@@ -14,7 +14,7 @@ export default class Helmet extends LightningElement {
14
14
  }
15
15
 
16
16
  private get titleAlt() {
17
- return `Link to ${this.title}`;
17
+ return `Link to ${this.header}`;
18
18
  }
19
19
 
20
20
  private get currentPropertyAlt() {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <article>
3
3
  <header>
4
- <span>{title}</span>
4
+ <span>{header}</span>
5
5
  <div class="controls">
6
6
  <template if:true={isSingleDownload}>
7
7
  <dx-button
@@ -26,7 +26,7 @@
26
26
  </div>
27
27
  </header>
28
28
  <div class="body">
29
- <img src={featuredSrc} alt={title} />
29
+ <img src={featuredSrc} alt={header} />
30
30
  </div>
31
31
  </article>
32
32
  </template>
@@ -5,7 +5,7 @@ const FILENAME_FROM_URL_REGEX = /(?=\w+\.\w{3,4}$).+/;
5
5
  const EXTENSION_FROM_URL_REGEX = /\.([^.]*)$/;
6
6
 
7
7
  export default class InteractiveImage extends LightningElement {
8
- @api title!: string;
8
+ @api header!: string;
9
9
  @api featuredSrc!: string;
10
10
 
11
11
  @api
@@ -24,7 +24,7 @@ export default class InteractiveImage extends LightningElement {
24
24
  // Ensure that we have some URLs
25
25
  if (!urls || urls.length === 0) {
26
26
  throw new Error(
27
- `No download url found for interactive image with title "${this.title}"`
27
+ `No download url found for interactive image with title "${this.header}"`
28
28
  );
29
29
  }
30
30
  // Prepare download options with labels
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="container" style={style}>
3
3
  <div class={textStyle}>
4
- <h1 class="heading dx-text-display-2">{title}</h1>
4
+ <h1 class="heading dx-text-display-2">{header}</h1>
5
5
  <span class="body dx-text-body-1">{body}</span>
6
6
  <span lwc:if={subtitle} class="subtitle dx-text-display-7">
7
7
  {subtitle}
@@ -3,7 +3,7 @@ import cx from "classnames";
3
3
  import { track } from "dxUtils/analytics";
4
4
 
5
5
  export default class MainContentHeader extends LightningElement {
6
- @api title!: string;
6
+ @api header!: string;
7
7
  @api subtitle?: string;
8
8
  @api body!: string;
9
9
  @api footNote?: string;
@@ -58,12 +58,12 @@ export default class MainContentHeader extends LightningElement {
58
58
  ? this.ctaHref
59
59
  : `${window.location.origin}${this.ctaHref}`,
60
60
  element_type: "button",
61
- element_title: this.title,
61
+ element_title: this.header,
62
62
  content_category: "cta"
63
63
  });
64
64
  track(e.currentTarget!, "custEv_linkClick", {
65
65
  click_text: this.ctaLabel,
66
- element_title: this.title,
66
+ element_title: this.header,
67
67
  click_url: this.ctaHref.includes("http")
68
68
  ? this.ctaHref
69
69
  : `${window.location.origin}${this.ctaHref}`,
@@ -81,12 +81,12 @@ export default class MainContentHeader extends LightningElement {
81
81
  ? this.ctaHrefSecondary
82
82
  : `${window.location.origin}${this.ctaHrefSecondary}`,
83
83
  element_type: "button",
84
- element_title: this.title,
84
+ element_title: this.header,
85
85
  content_category: "cta"
86
86
  });
87
87
  track(e.currentTarget!, "custEv_linkClick", {
88
88
  click_text: this.ctaLabelSecondary,
89
- element_title: this.title,
89
+ element_title: this.header,
90
90
  click_url: this.ctaHrefSecondary!.includes("http")
91
91
  ? this.ctaHrefSecondary
92
92
  : `${window.location.origin}${this.ctaHrefSecondary}`,
@@ -7944,7 +7944,7 @@ select.coveo-dropdown::-ms-expand {
7944
7944
 
7945
7945
  @font-face {
7946
7946
  font-family: "Lato";
7947
- src: url('https://static.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff2'), url('https://staticdev.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff2'), url('../fonts/lato.woff2'), url('https://static.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff'), url('https://staticdev.cloud.coveo.com/searchui/v2.10113/0/fonts/lato.woff'), url('../fonts/lato.woff');
7947
+ src: url('https://static.cloud.coveo.com/searchui/v2.10115/0/fonts/lato.woff2'), url('https://staticdev.cloud.coveo.com/searchui/v2.10115/0/fonts/lato.woff2'), url('../fonts/lato.woff2'), url('https://static.cloud.coveo.com/searchui/v2.10115/0/fonts/lato.woff'), url('https://staticdev.cloud.coveo.com/searchui/v2.10115/0/fonts/lato.woff'), url('../fonts/lato.woff');
7948
7948
  font-weight: normal;
7949
7949
  font-style: normal;
7950
7950
  }
@@ -13,7 +13,7 @@
13
13
  <div if:true={hasQuery} class="dx-search-header">
14
14
  <div class="dx-search-header-container">
15
15
  <p class="dx-search-header-title">
16
- <span class="dx-search-header-title-results">{title}</span>
16
+ <span class="dx-search-header-title-results">{header}</span>
17
17
  &nbsp;results for
18
18
  </p>
19
19
  <p class="dx-search-header-query">&ldquo;{query}&rdquo;</p>
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div class="dx-facet-column-footer">
52
52
  <dx-button onclick={dismissFiltersOverlay}>
53
- View {title} results
53
+ View {header} results
54
54
  </dx-button>
55
55
  </div>
56
56
  </div>
@@ -28,8 +28,8 @@
28
28
 
29
29
  <div part="text" class="text" lwc:if={hasText}>
30
30
  <span class="label dx-text-display-8" lwc:if={label}>{label}</span>
31
- <h2 class={headingClassName} lwc:if={title}>
32
- {title}
31
+ <h2 class={headingClassName} lwc:if={header}>
32
+ {header}
33
33
  <template lwc:if={ctaBtnInline}>
34
34
  <dx-button
35
35
  class="cta"
@@ -11,7 +11,7 @@ export default class Section extends LightningElement {
11
11
  @api subtitle?: string;
12
12
  @api subtitleLevel?: "1" | "2" | "3" | "4" = "1";
13
13
  @api textAlign: "center" | "left" = "left";
14
- @api title!: string;
14
+ @api header!: string;
15
15
  @api ctaLabel?: string;
16
16
  @api ctaHref?: string;
17
17
  @api ctaBtnVariant?: string;
@@ -52,7 +52,7 @@ export default class Section extends LightningElement {
52
52
  }
53
53
 
54
54
  private get hasText(): boolean {
55
- return !!(this.title || this.label || this.subtitle);
55
+ return !!(this.header || this.label || this.subtitle);
56
56
  }
57
57
 
58
58
  private get ctaNotInline(): boolean {
@@ -62,7 +62,7 @@ export default class Section extends LightningElement {
62
62
  private handleLabelClick(e: Event) {
63
63
  track(e.target!, "custEv_ctaLinkClick", {
64
64
  click_text: this.ctaLabel,
65
- element_title: this.title,
65
+ element_title: this.header,
66
66
  click_url: this.ctaHref!.includes("http")
67
67
  ? this.ctaHref
68
68
  : `${window.location.origin}${this.ctaHref}`,
@@ -7,8 +7,8 @@
7
7
  alt=""
8
8
  />
9
9
  <div class="content">
10
- <h3 if:true={title} class="content-title dx-text-display-4">
11
- {title}
10
+ <h3 if:true={header} class="content-title dx-text-display-4">
11
+ {header}
12
12
  </h3>
13
13
  <div class="content-body-container">
14
14
  <img if:true={hasQuote} src={quoteGraphicSrc} alt="" />
@@ -25,7 +25,7 @@ export default class SectionBanner extends LightningElement {
25
25
  subtext?: string;
26
26
  };
27
27
  };
28
- @api title!: string;
28
+ @api header!: string;
29
29
  @api body!: string;
30
30
  @api hideTopGraphic = false;
31
31
  @api backgroundColor = "indigo-vibrant-20";
@@ -93,7 +93,7 @@ export default class SectionBanner extends LightningElement {
93
93
  }
94
94
 
95
95
  get contentBodyStyle() {
96
- return cx(this.title ? "content-body" : "dx-text-display-6");
96
+ return cx(this.header ? "content-body" : "dx-text-display-6");
97
97
  }
98
98
 
99
99
  get style() {
@@ -66,14 +66,14 @@
66
66
  key={result.uniqueId}
67
67
  selected={result.selected}
68
68
  title-highlights={result.titleHighlights}
69
- title={result.title}
69
+ header={result.title}
70
70
  select={result.select}
71
71
  ></dx-sidebar-search-result>
72
72
  </template>
73
73
  <dx-empty-state
74
74
  variant="alt"
75
75
  class="padding-horizontal"
76
- title="No Results"
76
+ header="No Results"
77
77
  body={emptyStateBody}
78
78
  suggestions={emptyStateSuggestions}
79
79
  size="small"
@@ -63,7 +63,7 @@
63
63
  variant="alt"
64
64
  class="padding-horizontal"
65
65
  size="small"
66
- title="No Results"
66
+ header="No Results"
67
67
  body={emptyStateBody}
68
68
  suggestions={emptyStateSuggestions}
69
69
  lwc:else
@@ -54,12 +54,12 @@ export default class SidebarSearchResult extends LightningElement {
54
54
  @api descriptionHighlights!: CoveoHighlights;
55
55
  @api href!: string;
56
56
  @api selected!: boolean;
57
- @api title!: string;
57
+ @api header!: string;
58
58
  @api titleHighlights!: CoveoHighlights;
59
59
  @api select!: Function;
60
60
 
61
61
  private get titleChunks() {
62
- return toChunks(this.title, this.titleHighlights);
62
+ return toChunks(this.header, this.titleHighlights);
63
63
  }
64
64
 
65
65
  private get descriptionChunks() {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="toc" role="navigation">
3
3
  <div class="toc toc_content">
4
- <h2 class="dx-text-display-8 toc_title">{title}</h2>
4
+ <h2 class="dx-text-display-8 toc_title">{header}</h2>
5
5
  <template for:each={options} for:item="option">
6
6
  <a
7
7
  href={option.anchor}
@@ -5,7 +5,7 @@ import { toJson } from "dxUtils/normalizers";
5
5
  import { track as sendGtm } from "dxUtils/analytics";
6
6
 
7
7
  export default class Toc extends LightningElement {
8
- @api title!: string;
8
+ @api header!: string;
9
9
 
10
10
  @api
11
11
  get value() {
@@ -54,7 +54,7 @@ export default class Toc extends LightningElement {
54
54
  click_text: text,
55
55
  clickAction: "click",
56
56
  click_url: `${window.location.href}${href}`,
57
- element_title: this.title,
57
+ element_title: this.header,
58
58
  element_type: "link",
59
59
  content_category: "cta"
60
60
  });
@@ -6,7 +6,7 @@ const MOBILE_QUERY = "(max-width: 640px)";
6
6
  export abstract class ArchiveCard extends LightningElement {
7
7
  @api contentType!: ContentType;
8
8
  @api href!: string;
9
- @api title!: string;
9
+ @api header!: string;
10
10
  @api target: LinkTarget = "_self";
11
11
 
12
12
  private matchMedia!: MediaQueryList;
@@ -41,7 +41,7 @@ export abstract class HeaderBase extends LightningElement {
41
41
  @api subtitle!: string;
42
42
  @api tbidApiBaseUrl: string | null = null;
43
43
  @api tbidBaseUrl: string | null = null;
44
- @api title: string = "Salesforce";
44
+ @api header: string = "Salesforce";
45
45
  @api version?: string | null = null;
46
46
  @api bannerMarkup =
47
47
  '<span><a href="https://forms.gle/oWYTbH9RvGyt9uxx7" target="blank">Share your feedback</a>about our new site.</span>';
@@ -206,7 +206,7 @@ export abstract class HeaderBase extends LightningElement {
206
206
  const payload = {
207
207
  ...ANALYTICS_INFO,
208
208
  click_url: this.signupLink,
209
- element_title: this.title
209
+ element_title: this.header
210
210
  };
211
211
 
212
212
  track(e.currentTarget!, "custEv_browseTrialsClick", payload);
package/LICENSE DELETED
@@ -1,12 +0,0 @@
1
- Copyright (c) 2020, Salesforce.com, Inc.
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
-
6
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
-
8
- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
-
10
- * Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11
-
12
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.