@salesforcedevs/dx-components 1.3.178 → 1.3.179

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 (30) hide show
  1. package/lwc.config.json +4 -0
  2. package/package.json +2 -2
  3. package/src/modules/dx/alert/alert.css +108 -0
  4. package/src/modules/dx/alert/alert.html +36 -0
  5. package/src/modules/dx/alert/alert.ts +137 -0
  6. package/src/modules/dx/button/button.css +4 -1
  7. package/src/modules/dx/button/button.ts +18 -2
  8. package/src/modules/dx/cardStep/cardStep.css +128 -0
  9. package/src/modules/dx/cardStep/cardStep.html +31 -0
  10. package/src/modules/dx/cardStep/cardStep.ts +55 -0
  11. package/src/modules/dx/cardStep/mockProps.ts +60 -0
  12. package/src/modules/dx/checkbox/checkbox.ts +26 -2
  13. package/src/modules/dx/featuresListHeader/featuresListHeader.css +6 -1
  14. package/src/modules/dx/featuresListHeader/featuresListHeader.html +3 -1
  15. package/src/modules/dx/featuresListHeader/featuresListHeader.ts +14 -1
  16. package/src/modules/dx/input/input.css +4 -0
  17. package/src/modules/dx/input/input.html +1 -0
  18. package/src/modules/dx/input/input.ts +56 -7
  19. package/src/modules/dx/scrollManager/scrollManager.ts +1 -0
  20. package/src/modules/dx/sectionBanner/sectionBanner.css +57 -1
  21. package/src/modules/dx/sectionBanner/sectionBanner.html +18 -4
  22. package/src/modules/dx/sectionBanner/sectionBanner.ts +96 -3
  23. package/src/modules/dx/select/select.ts +28 -5
  24. package/src/modules/dx/stepSequence/stepSequence.css +0 -4
  25. package/src/modules/dx/stepSequence/stepSequence.html +2 -1
  26. package/src/modules/dx/stepSequence/stepSequence.ts +139 -34
  27. package/src/modules/dxBaseElements/lightningElementWithState/lightningElementWithState.ts +93 -0
  28. package/src/modules/dxUtils/css/css.ts +4 -1
  29. package/src/modules/dxUtils/list/list.ts +11 -0
  30. package/src/modules/dxUtils/lwc/lwc.ts +15 -0
package/lwc.config.json CHANGED
@@ -4,6 +4,7 @@
4
4
  { "npm": "@salesforcedevs/dw-components" }
5
5
  ],
6
6
  "expose": [
7
+ "dx/alert",
7
8
  "dx/audio",
8
9
  "dx/banner",
9
10
  "dx/brandThemeProvider",
@@ -22,6 +23,7 @@
22
23
  "dx/cardNews",
23
24
  "dx/cardPodcastEpisode",
24
25
  "dx/cardSmall",
26
+ "dx/cardStep",
25
27
  "dx/cardTrailheadModule",
26
28
  "dx/cardTrial",
27
29
  "dx/cardTrialExpanded",
@@ -90,6 +92,7 @@
90
92
  "dx/typeBadge",
91
93
  "dx/vimeoPlayer",
92
94
  "dxBaseElements/headerBase",
95
+ "dxBaseElements/lightningElementWithState",
93
96
  "dxBaseElements/matchMediaElement",
94
97
  "dxConstants/brands",
95
98
  "dxConstants/colors",
@@ -111,6 +114,7 @@
111
114
  "dxUtils/dates",
112
115
  "dxUtils/highlight",
113
116
  "dxUtils/language",
117
+ "dxUtils/list",
114
118
  "dxUtils/lwc",
115
119
  "dxUtils/normalizers",
116
120
  "dxUtils/queryCoordinator",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.178",
3
+ "version": "1.3.179",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -41,5 +41,5 @@
41
41
  "eventsourcemock": "^2.0.0",
42
42
  "luxon": "^3.1.0"
43
43
  },
44
- "gitHead": "cd255eb4863c6854166cf8998af1d0cbb51c6d3f"
44
+ "gitHead": "ef5efd7169e688009ba79bd74e69c42adb277e09"
45
45
  }
@@ -0,0 +1,108 @@
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+
4
+ :host {
5
+ --dx-c-alert-top: 0;
6
+ --dx-c-alert-container-align-items: flex-start;
7
+ --dx-c-alert-vertical-padding: var(--dx-g-spacing-md);
8
+ --dx-c-alert-success-color: var(--dx-g-green-vibrant-95);
9
+ --dx-c-alert-warning-color: rgb(254, 243, 217);
10
+ --dx-c-alert-danger-color: var(--dx-g-red-vibrant-95);
11
+ --dx-c-alert-success-accent-color: var(--dx-g-green-vibrant-80);
12
+ --dx-c-alert-warning-accent-color: var(--dx-g-yellow-vibrant-80);
13
+ --dx-c-alert-danger-accent-color: var(--dx-g-red-vibrant-50);
14
+ }
15
+
16
+ .alert-icon {
17
+ margin-right: var(--dx-g-spacing-md);
18
+ }
19
+
20
+ .alert-base {
21
+ padding: var(--dx-c-alert-vertical-padding);
22
+ }
23
+
24
+ .alert-container {
25
+ display: flex;
26
+ flex-direction: column;
27
+ align-items: var(--dx-c-alert-container-align-items);
28
+ padding-left: var(--dx-g-global-header-padding-horizontal);
29
+ padding-right: var(--dx-g-global-header-padding-horizontal);
30
+ width: 100%;
31
+ border: none;
32
+ }
33
+
34
+ .alert-container.alert-type-success {
35
+ background-color: var(--dx-c-alert-success-color);
36
+ border-color: var(--dx-c-alert-success-accent-color);
37
+ }
38
+
39
+ .alert-container.alert-type-warning {
40
+ background-color: var(--dx-c-alert-warning-color);
41
+ border-color: var(--dx-c-alert-warning-accent-color);
42
+ }
43
+
44
+ .alert-container.alert-type-danger {
45
+ background-color: var(--dx-c-alert-danger-color);
46
+ border-color: var(--dx-c-alert-danger-accent-color);
47
+ }
48
+
49
+ .alert-container.alert-variant-accented {
50
+ border-style: solid;
51
+ border-width: 0;
52
+ border-left-width: 4px;
53
+ }
54
+
55
+ .alert-title-container {
56
+ display: flex;
57
+ flex-direction: row;
58
+ align-items: center;
59
+ width: 100%;
60
+ }
61
+
62
+ .alert-title {
63
+ font-weight: var(--dx-g-font-bold);
64
+ }
65
+
66
+ dx-button {
67
+ margin-left: auto;
68
+ }
69
+
70
+ /*
71
+ NOTE: Here we are assuming that indicator height won't go beyond 1000px.
72
+
73
+ It's one of the suggested way to achieve the expand/collapse animation
74
+ Ref: https://stackoverflow.com/a/41164095
75
+
76
+ Otherwise we need to change the height when user clicks on button
77
+ Ref: https://stackoverflow.com/a/11837673
78
+ */
79
+
80
+ .alert-body {
81
+ display: block;
82
+ max-height: 1000px;
83
+ overflow: hidden;
84
+ padding-top: var(--dx-g-spacing-smd);
85
+ transition: max-height 0.25s ease, padding 0.25s ease;
86
+ }
87
+
88
+ .alert-body-hidden {
89
+ max-height: 0;
90
+ padding-top: 0;
91
+ transition: max-height 0.1s ease-out, padding 0.25s ease-out;
92
+ }
93
+
94
+ .alert-body a {
95
+ color: var(--dx-g-blue-vibrant-50);
96
+ }
97
+
98
+ .dismissible-icon {
99
+ margin-left: auto;
100
+ cursor: pointer;
101
+ }
102
+
103
+ /* Small Devices */
104
+ @media screen and (max-width: 480px) {
105
+ .alert-container {
106
+ padding: var(--dx-c-alert-vertical-padding);
107
+ }
108
+ }
@@ -0,0 +1,36 @@
1
+ <template>
2
+ <div class={className} part="container">
3
+ <div class="alert-title-container">
4
+ <dx-icon
5
+ class="alert-icon"
6
+ symbol={iconName}
7
+ sprite={iconSprite}
8
+ size="large"
9
+ color={iconColor}
10
+ ></dx-icon>
11
+ <p class="alert-title dx-text-body-3">{alertTitle}</p>
12
+ <dx-button
13
+ if:true={hideable}
14
+ variant="inline"
15
+ onclick={onShowHide}
16
+ aria-label={hideBodyText}
17
+ >
18
+ {hideBodyText}
19
+ </dx-button>
20
+ <dx-icon
21
+ class="dismissible-icon"
22
+ onclick={onDismiss}
23
+ if:true={dismissible}
24
+ symbol="close"
25
+ size="large"
26
+ color="status-icon-color"
27
+ ></dx-icon>
28
+ </div>
29
+ <!--
30
+ NOTE: Here we are rendering mark up using lwc:dom & innerHTML
31
+ option instead of slots because the html markup will come as a
32
+ property to the component from a configuration
33
+ -->
34
+ <span lwc:dom="manual" class={bodyClassName}></span>
35
+ </div>
36
+ </template>
@@ -0,0 +1,137 @@
1
+ import { LightningElement, api } from "lwc";
2
+ import cx from "classnames";
3
+
4
+ import { AlertInfo } from "typings/custom";
5
+ import { toJson } from "dxUtils/normalizers";
6
+
7
+ export default class Alert extends LightningElement {
8
+ _alertInfo: AlertInfo | null = null;
9
+ _dismissible = false;
10
+ _iconName = "";
11
+ _iconSprite = "";
12
+ _iconColor = "";
13
+ @api control: "none" | "hideable" | "dismissible" = "none";
14
+ @api type: "success" | "warning" | "danger" = "warning";
15
+ @api variant: "base" | "accented" = "base";
16
+
17
+ @api
18
+ get alertInfo(): AlertInfo | null {
19
+ return this._alertInfo;
20
+ }
21
+ set alertInfo(value) {
22
+ this._alertInfo = toJson(value);
23
+ }
24
+
25
+ @api
26
+ get iconColor(): string {
27
+ return this._iconColor || this.variant === "base"
28
+ ? "gray-10"
29
+ : this.accentedIconColor;
30
+ }
31
+ set iconColor(value) {
32
+ if (value) {
33
+ this._iconColor = value;
34
+ }
35
+ }
36
+
37
+ @api
38
+ get iconName(): string {
39
+ return this._iconName || this.type === "success"
40
+ ? "check-circle"
41
+ : "warning";
42
+ }
43
+ set iconName(value) {
44
+ if (value) {
45
+ this._iconName = value;
46
+ }
47
+ }
48
+
49
+ @api
50
+ get iconSprite(): string {
51
+ return this._iconSprite || this.type === "success"
52
+ ? "general"
53
+ : "utility";
54
+ }
55
+ set iconSprite(value) {
56
+ if (value) {
57
+ this._iconSprite = value;
58
+ }
59
+ }
60
+
61
+ get accentedIconColor() {
62
+ const baseColor =
63
+ this.type === "danger"
64
+ ? "red"
65
+ : this.type === "warning"
66
+ ? "yellow"
67
+ : "green";
68
+ return `${baseColor}-vibrant-50`;
69
+ }
70
+
71
+ get dismissible(): boolean {
72
+ return this.control === "dismissible";
73
+ }
74
+
75
+ get hideable(): boolean {
76
+ return this.control === "hideable";
77
+ }
78
+
79
+ get alertTitle() {
80
+ return this.alertInfo?.title;
81
+ }
82
+
83
+ get hideBodyText() {
84
+ return this.isBodyHidden ? "Show" : "Hide";
85
+ }
86
+
87
+ get alertType() {
88
+ return this.type || "warning";
89
+ }
90
+
91
+ get alertVariant() {
92
+ return this.variant || "base";
93
+ }
94
+
95
+ get className() {
96
+ return cx(
97
+ "alert-base",
98
+ "alert-container",
99
+ `alert-variant-${this.alertVariant}`,
100
+ `alert-type-${this.alertType}`
101
+ );
102
+ }
103
+
104
+ get bodyClassName() {
105
+ return cx(
106
+ "alert-body",
107
+ "dx-text-body-3",
108
+ this.isBodyHidden && "alert-body-hidden"
109
+ );
110
+ }
111
+
112
+ isBodyHidden = false;
113
+
114
+ renderedCallback() {
115
+ const phaseBodyContainer = this.template.querySelector(".alert-body");
116
+ if (phaseBodyContainer && this.alertInfo) {
117
+ // eslint-disable-next-line @lwc/lwc/no-inner-html
118
+ phaseBodyContainer.innerHTML = this.alertInfo.body;
119
+ }
120
+ }
121
+
122
+ onShowHide() {
123
+ this.isBodyHidden = !this.isBodyHidden;
124
+ }
125
+
126
+ onDismiss() {
127
+ this.dispatchEvent(
128
+ new CustomEvent("dismissphase", {
129
+ detail: {
130
+ alertInfo: this.alertInfo
131
+ },
132
+ composed: true,
133
+ bubbles: true
134
+ })
135
+ );
136
+ }
137
+ }
@@ -50,6 +50,7 @@
50
50
 
51
51
  .button dx-icon {
52
52
  display: inline;
53
+ vertical-align: var(--dx-c-button-icon-vertical-align, unset);
53
54
  }
54
55
 
55
56
  .button.variant_inline dx-icon,
@@ -61,6 +62,7 @@
61
62
  font-family: inherit;
62
63
  font-size: inherit;
63
64
  font-weight: inherit;
65
+ vertical-align: var(--dx-c-button-span-vertical-align, unset);
64
66
  }
65
67
 
66
68
  .button:not(.variant_inline-inherit).font-display {
@@ -195,7 +197,8 @@
195
197
  }
196
198
 
197
199
  /* custom */
198
- .button.variant_custom {
200
+ .button.variant_custom,
201
+ .button.variant_custom:hover.state-disabled {
199
202
  color: var(--dx-c-button-custom-color);
200
203
  background: var(--dx-c-button-custom-background);
201
204
  border: 1px solid var(--dx-c-button-custom-border);
@@ -7,10 +7,12 @@ import {
7
7
  ButtonSize,
8
8
  IconSprite,
9
9
  IconSize,
10
- IconSymbol
10
+ IconSymbol,
11
+ LightningSlotElement
11
12
  } from "typings/custom";
12
13
 
13
14
  export default class Button extends LightningElement {
15
+ private _didSetFormAttribute = false;
14
16
  @api ariaLabel: string = "";
15
17
  @api disabled: boolean | null = null;
16
18
  @api iconSize?: IconSize = "small";
@@ -22,6 +24,7 @@ export default class Button extends LightningElement {
22
24
  @api variant: ButtonVariant = "primary";
23
25
  @api inlineTextColor: ButtonTextColor = "dark";
24
26
  @api font: "display" | "sans" = "display";
27
+ @api form: string | undefined;
25
28
  @api name?: string;
26
29
  @api value?: any;
27
30
 
@@ -62,7 +65,20 @@ export default class Button extends LightningElement {
62
65
  );
63
66
  }
64
67
 
65
- private onSlotChange(e: any) {
68
+ renderedCallback() {
69
+ if (
70
+ !this.href &&
71
+ typeof this.form !== "undefined" &&
72
+ !this._didSetFormAttribute
73
+ ) {
74
+ this._didSetFormAttribute = true;
75
+ this.template
76
+ .querySelector("button")
77
+ ?.setAttribute("form", this.form);
78
+ }
79
+ }
80
+
81
+ private onSlotChange(e: LightningSlotElement) {
66
82
  const slot = e.target;
67
83
  this.isSlotEmpty = slot.assignedElements().length !== 0;
68
84
  }
@@ -0,0 +1,128 @@
1
+ @import "dxHelpers/reset";
2
+ @import "dxHelpers/text";
3
+ @import "dxHelpers/card";
4
+
5
+ .container {
6
+ margin: var(--dx-c-card-step-container-margin, 40px auto);
7
+ max-width: 90%;
8
+ width: var(--dx-c-card-step-container-width, 796px);
9
+ }
10
+
11
+ .header-container {
12
+ background-color: var(
13
+ --dx-c-card-step-header-background-color,
14
+ var(--dx-g-indigo-vibrant-20)
15
+ );
16
+ padding: var(--dw-card-sequence-header-padding, var(--dx-g-spacing-3xl));
17
+ text-align: center;
18
+ }
19
+
20
+ .header-container > * {
21
+ display: inline-block;
22
+ }
23
+
24
+ .card-title {
25
+ color: var(--dx-c-card-step-header-text-color, white);
26
+ }
27
+
28
+ .card-title-icon {
29
+ height: 40px;
30
+ padding-right: 16px;
31
+ vertical-align: top;
32
+ }
33
+
34
+ .body-container {
35
+ font-family: var(--dx-g-font-display);
36
+ font-size: var(--dx-g-text-base);
37
+ font-weight: var(--dx-g-font-demi);
38
+ padding: var(--dw-card-sequence-body-padding, var(--dx-g-spacing-xl));
39
+ }
40
+
41
+ .footer-container {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: space-between;
45
+ padding: var(--dw-card-sequence-body-padding, var(--dx-g-spacing-xl));
46
+ }
47
+
48
+ .footer-section {
49
+ display: flex;
50
+ flex: 1;
51
+ justify-content: center;
52
+ order: 1; /* all have same order by default, i.e., source code order */
53
+ }
54
+
55
+ .footer-section:first-child {
56
+ justify-content: start;
57
+ }
58
+
59
+ .footer-section:last-child {
60
+ justify-content: end;
61
+ }
62
+
63
+ .footer-section:nth-child(2) {
64
+ flex: 0.7;
65
+ font-size: var(--dx-g-text-xs, 12px);
66
+ font-family: var(--dx-g-font-sans);
67
+ line-height: 18px;
68
+ text-align: center;
69
+ }
70
+
71
+ @media screen and (max-width: 768px) {
72
+ .footer-container {
73
+ flex-wrap: wrap;
74
+ }
75
+
76
+ .footer-section:first-child {
77
+ flex: 1 1 35%;
78
+ }
79
+
80
+ .footer-section:last-child {
81
+ flex: 1 1 65%;
82
+ }
83
+
84
+ .footer-section:nth-child(2) {
85
+ flex: 2 1 100%;
86
+ order: 2; /* force the "step x of y" component to be last, and take a full row */
87
+ padding-top: var(--dx-g-spacing-lg);
88
+ }
89
+ }
90
+
91
+ @media screen and (max-width: 480px) {
92
+ .card-title {
93
+ font-size: var(--dx-g-text-xl);
94
+ line-height: 32px;
95
+ }
96
+
97
+ .card-title-icon {
98
+ height: unset;
99
+ padding-right: unset;
100
+ padding-bottom: 10px;
101
+ }
102
+
103
+ .header-container {
104
+ padding: var(--dw-card-sequence-header-padding, var(--dx-g-spacing-xl));
105
+ }
106
+
107
+ .body-container {
108
+ padding-bottom: 0;
109
+ }
110
+
111
+ .footer-container {
112
+ padding-top: 0;
113
+ }
114
+
115
+ .footer-section:first-child,
116
+ .footer-section:nth-child(2),
117
+ .footer-section:last-child {
118
+ flex: 1 1 100%;
119
+ justify-content: center;
120
+ }
121
+ }
122
+
123
+ @media screen and (max-width: 320px) {
124
+ .footer-container {
125
+ padding-left: 10px;
126
+ padding-right: 10px;
127
+ }
128
+ }
@@ -0,0 +1,31 @@
1
+ <template>
2
+ <div class="dx-card-base container">
3
+ <div if:true={stepTitle} class="header-container">
4
+ <dx-icon
5
+ if:true={hasDefinedIcon}
6
+ class="card-title-icon"
7
+ size="xlarge"
8
+ color={headerIconColor}
9
+ sprite={headerIconSprite}
10
+ symbol={headerIconSymbol}
11
+ ></dx-icon>
12
+ <h3 class="card-title dx-text-display-5">{stepTitle}</h3>
13
+ </div>
14
+ <div class="body-container">
15
+ <slot name="card-body"></slot>
16
+ </div>
17
+ <div class="footer-container" part="footer-container">
18
+ <div class="footer-section">
19
+ <slot name="secondary-action-section"></slot>
20
+ </div>
21
+ <div class="footer-section">
22
+ <span if:true={showStepNumber} class="step-id">
23
+ {stepDetails}
24
+ </span>
25
+ </div>
26
+ <div class="footer-section">
27
+ <slot name="primary-action-section"></slot>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </template>
@@ -0,0 +1,55 @@
1
+ import { api, LightningElement } from "lwc";
2
+ import { toDxColor } from "dxUtils/css";
3
+
4
+ export type HeaderData = {
5
+ backgroundColor?: string;
6
+ iconColor?: string;
7
+ iconSymbol?: string;
8
+ iconSprite?: string;
9
+ textColor?: string;
10
+ };
11
+
12
+ export default class CardStep extends LightningElement {
13
+ @api headerIconColor = "";
14
+ @api headerIconSymbol = "";
15
+ @api headerIconSprite = "";
16
+ @api headerBackgroundColor = "indigo-vibrant-20";
17
+ @api headerTextColor = "white";
18
+ @api showStepNumber = false;
19
+ @api stepCount: number | undefined;
20
+ @api stepFormatString: string | undefined;
21
+ @api stepIndex: number | undefined;
22
+ @api stepTitle: string | undefined;
23
+
24
+ get stepDetails() {
25
+ if (
26
+ typeof this.stepIndex !== "number" ||
27
+ typeof this.stepCount !== "number"
28
+ ) {
29
+ return "";
30
+ }
31
+
32
+ const displayStepNumber = this.stepIndex + 1;
33
+
34
+ return this.stepFormatString
35
+ ? this.stepFormatString
36
+ .replace("%d", displayStepNumber.toString())
37
+ .replace("%d", this.stepCount.toString())
38
+ : `Step ${displayStepNumber} of ${this.stepCount}`;
39
+ }
40
+
41
+ get hasDefinedIcon() {
42
+ return Boolean(this.headerIconSymbol && this.headerIconSprite);
43
+ }
44
+
45
+ connectedCallback() {
46
+ this.template.host.style.setProperty(
47
+ "--dx-c-card-step-header-background-color",
48
+ toDxColor(this.headerBackgroundColor)
49
+ );
50
+ this.template.host.style.setProperty(
51
+ "--dx-c-card-step-header-text-color",
52
+ toDxColor(this.headerTextColor)
53
+ );
54
+ }
55
+ }
@@ -0,0 +1,60 @@
1
+ export const stepsData = [
2
+ {
3
+ bodyHtml:
4
+ '<p class="dx-text-display-7">Register for Journey to Salesforce and you\'ll be on your way to becoming a Salesforce Developer.</p><ul class="dx-text-display-8"><li>Step 1: Log in or sign up for a free Trailblazer.me account</li><li>Step 2: Confirm your program registration</li><li>Step 3: Begin your journey!</li></ul>',
5
+ primaryAction: {
6
+ iconSprite: "general",
7
+ iconSymbol: "arrow-right",
8
+ text: "Get Started",
9
+ variant: "primary"
10
+ },
11
+ showStepNumber: "true",
12
+ stepTitle: "Get started now."
13
+ },
14
+ {
15
+ bodyHtml:
16
+ '<p class="dx-text-display-7">You\'re almost done! Please review your information and agree to the Journey to Salesforce program terms and conditions.</p>',
17
+ formData: {
18
+ countriesWithReferralInput: ["IN"],
19
+ countriesWithRequiredJobRole: ["CA"],
20
+ formId: "j2s-form",
21
+ j2sTerms:
22
+ 'I agree to the Journey to Salesforce Program Terms, subject to the <a href="http://www.google.com">Salesforce Program Agreement</a>.',
23
+ notAvailableAlertInfo: {
24
+ title: "Not Available",
25
+ body:
26
+ 'The Journey to Salesforce program is not currently available in your country. See the <a href="https://www.google.com/">program FAQs</a> for a list of participating countries.'
27
+ },
28
+ participatingCountryCodes: ["US", "CA", "IN"]
29
+ },
30
+ primaryAction: {
31
+ text: "Complete Registration"
32
+ },
33
+ secondaryActionHtml:
34
+ '<span class="required-notice">* Required to participate in Journey to Salesforce</span>',
35
+ showStepNumber: "true",
36
+ stepTitle: "Complete your registration."
37
+ },
38
+ {
39
+ bodyHtml:
40
+ '<div class="dx-text-display-8"><p>Welcome to Journey to Salesforce! Congratulations on taking this step in your journey towards becoming a Salesforce Developer. Through this program you\'ll gain the knowledge, experience, and skills to help you excel in the Salesforce ecosystem.</p><p>To get started, click the button below to join the Journey to Salesforce community, and make sure to check your email for links to bookmark!</p></div>',
41
+ headerData: {
42
+ backgroundColor: "green-vibrant-95",
43
+ iconSymbol: "check-circle",
44
+ iconSprite: "general",
45
+ iconColor: "green-vibrant-65",
46
+ textColor: "indigo-vibrant-20"
47
+ },
48
+ primaryAction: {
49
+ iconSprite: "utility",
50
+ iconSymbol: "new_window",
51
+ link: "https://salesforce-external.slack.com/archives/C05HJK4PGJV",
52
+ text: "Join Slack",
53
+ variant: "custom"
54
+ },
55
+ secondaryActionHtml:
56
+ '<span class="dx-text-display-7">Ready to jump in?</span>',
57
+ showStepNumber: "true",
58
+ stepTitle: "Your Registration is Confirmed"
59
+ }
60
+ ];