@salesforcedevs/dw-components 1.3.176-canary.0 → 1.3.179-alpha.1
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 +1 -1
- package/src/modules/dw/codeSamplesGrid/codeSamplesGrid.css +2 -3
- package/src/modules/dw/contentArchive/contentArchive.css +3 -3
- package/src/modules/dw/docsGrid/docsGrid.css +0 -1
- package/src/modules/dw/eventsList/eventsList.css +4 -4
- package/src/modules/dw/j2sCardSequenceStep/j2sCardSequenceStep.css +2 -2
- package/src/modules/dw/j2sForm/j2sForm.ts +1 -0
- package/src/modules/dw/newsletterForm/newsletterForm.css +2 -2
- package/src/modules/dw/podcastSubscription/podcastSubscription.css +3 -4
- package/src/modules/dw/slackCta/slackCta.css +1 -2
- package/src/modules/dw/j2sCardSequence/mockProps.ts +0 -61
package/package.json
CHANGED
|
@@ -83,7 +83,6 @@ dx-section {
|
|
|
83
83
|
|
|
84
84
|
.pagination-container {
|
|
85
85
|
max-width: fit-content;
|
|
86
|
-
max-width: -moz-fit-content;
|
|
87
86
|
margin: 50px auto;
|
|
88
87
|
}
|
|
89
88
|
|
|
@@ -158,13 +157,13 @@ dx-section {
|
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
@media screen and (min-width: 1025px) {
|
|
161
|
-
.item-container:not(:nth-child(1)
|
|
160
|
+
.item-container:not(:nth-child(1), :nth-child(2), :nth-child(3)) {
|
|
162
161
|
margin-top: 70px;
|
|
163
162
|
}
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
@media screen and (max-width: 1024px) and (min-width: 768px) {
|
|
167
|
-
.item-container:not(:nth-child(1)
|
|
166
|
+
.item-container:not(:nth-child(1), :nth-child(2)) {
|
|
168
167
|
margin-top: 51px;
|
|
169
168
|
}
|
|
170
169
|
}
|
|
@@ -182,13 +182,13 @@ dx-filter-menu {
|
|
|
182
182
|
|
|
183
183
|
.chip-title {
|
|
184
184
|
font-weight: bold;
|
|
185
|
-
color: rgb(24
|
|
185
|
+
color: rgb(24 24 24);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.chip-item {
|
|
189
|
-
border: 2px solid rgb(92
|
|
189
|
+
border: 2px solid rgb(92 92 92);
|
|
190
190
|
border-radius: 4px;
|
|
191
|
-
color: rgb(92
|
|
191
|
+
color: rgb(92 92 92);
|
|
192
192
|
font-weight: 600;
|
|
193
193
|
padding: 2px 4px;
|
|
194
194
|
}
|
|
@@ -23,7 +23,7 @@ dx-section.events-action-bar::part(container) {
|
|
|
23
23
|
|
|
24
24
|
dx-section.upcoming-events::part(container)::before {
|
|
25
25
|
content: "";
|
|
26
|
-
background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud1.svg);
|
|
26
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/events-cloud1.svg");
|
|
27
27
|
width: 146px;
|
|
28
28
|
height: 106px;
|
|
29
29
|
position: absolute;
|
|
@@ -34,7 +34,7 @@ dx-section.upcoming-events::part(container)::before {
|
|
|
34
34
|
|
|
35
35
|
dx-section.upcoming-events::part(container)::after {
|
|
36
36
|
content: "";
|
|
37
|
-
background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud2.svg);
|
|
37
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/events-cloud2.svg");
|
|
38
38
|
width: 152px;
|
|
39
39
|
height: 111px;
|
|
40
40
|
position: absolute;
|
|
@@ -45,7 +45,7 @@ dx-section.upcoming-events::part(container)::after {
|
|
|
45
45
|
|
|
46
46
|
dx-section.past-events::part(container)::before {
|
|
47
47
|
content: "";
|
|
48
|
-
background-image: url(https://a.sfdcstatic.com/developer-website/images/events-gradient-elipse.svg);
|
|
48
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/events-gradient-elipse.svg");
|
|
49
49
|
width: 2991px;
|
|
50
50
|
height: 839px;
|
|
51
51
|
position: absolute;
|
|
@@ -56,7 +56,7 @@ dx-section.past-events::part(container)::before {
|
|
|
56
56
|
|
|
57
57
|
dx-section:not(:nth-child(2)).past-events::part(container)::after {
|
|
58
58
|
content: "";
|
|
59
|
-
background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud3.svg);
|
|
59
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/events-cloud3.svg");
|
|
60
60
|
width: 655px;
|
|
61
61
|
height: 270px;
|
|
62
62
|
position: absolute;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
dx-card-step.final-card-with-action::part(footer-container) {
|
|
7
7
|
background-color: var(--dx-g-indigo-vibrant-95);
|
|
8
8
|
border-radius: 8px;
|
|
9
|
-
margin: 0 30px 30px
|
|
9
|
+
margin: 0 30px 30px;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
[slot="secondary-action-section"] {
|
|
@@ -71,6 +71,6 @@ dx-card-step.final-card-with-action::part(footer-container) {
|
|
|
71
71
|
@media screen and (max-width: 320px) {
|
|
72
72
|
/* Special styling for the final step's actions if they are shown */
|
|
73
73
|
dx-card-step.final-card-with-action::part(footer-container) {
|
|
74
|
-
margin: 0 20px 30px
|
|
74
|
+
margin: 0 20px 30px;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -302,6 +302,7 @@ export default class J2sForm extends LightningElementWithState<J2sFormState> {
|
|
|
302
302
|
|
|
303
303
|
this.setState({
|
|
304
304
|
MailingCountry: countryCode,
|
|
305
|
+
MailingState: undefined,
|
|
305
306
|
learnMore: countryData.learnMore,
|
|
306
307
|
legalText: countryData.legalText,
|
|
307
308
|
marketingText: countryData.marketingText,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
h4 {
|
|
13
13
|
font-size: 20px;
|
|
14
|
-
margin: 0 0 28px
|
|
14
|
+
margin: 0 0 28px;
|
|
15
15
|
text-align: center;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -55,7 +55,7 @@ dx-checkbox:last-of-type {
|
|
|
55
55
|
.marketing-text,
|
|
56
56
|
.legal-text {
|
|
57
57
|
font-size: 14px;
|
|
58
|
-
margin: 0 0 16px
|
|
58
|
+
margin: 0 0 16px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@media screen and (max-width: 360px) {
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
background-repeat: no-repeat;
|
|
6
6
|
background-position: center;
|
|
7
7
|
display: flex;
|
|
8
|
-
flex-
|
|
9
|
-
flex-wrap: wrap;
|
|
8
|
+
flex-flow: column wrap;
|
|
10
9
|
align-items: center;
|
|
11
10
|
justify-content: center;
|
|
12
11
|
text-align: center;
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.badges {
|
|
27
|
-
margin: 8px auto 6px
|
|
26
|
+
margin: 8px auto 6px;
|
|
28
27
|
text-align: center;
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -59,7 +58,7 @@
|
|
|
59
58
|
|
|
60
59
|
.badges a {
|
|
61
60
|
display: inline-block;
|
|
62
|
-
margin: 22px 13px 8px
|
|
61
|
+
margin: 22px 13px 8px;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
.badges img {
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export const stepSequenceData = {
|
|
2
|
-
animateTransitions: "true",
|
|
3
|
-
stepsData: [
|
|
4
|
-
{
|
|
5
|
-
bodyHtml:
|
|
6
|
-
'<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>',
|
|
7
|
-
primaryAction: {
|
|
8
|
-
text: "Get Started"
|
|
9
|
-
},
|
|
10
|
-
showStepNumber: "true",
|
|
11
|
-
stepTitle: "Get started now."
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
bodyHtml:
|
|
15
|
-
'<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>',
|
|
16
|
-
formData: {
|
|
17
|
-
countriesWithReferralInput: ["IN"],
|
|
18
|
-
countriesWithRequiredJobRole: ["CA"],
|
|
19
|
-
formId: "j2s-form",
|
|
20
|
-
j2sTerms:
|
|
21
|
-
'I agree to the Journey to Salesforce Program Terms, subject to the <a href="http://www.google.com">Salesforce Program Agreement</a>.',
|
|
22
|
-
notAvailableAlertInfo: {
|
|
23
|
-
title: "Not Available",
|
|
24
|
-
body:
|
|
25
|
-
'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.'
|
|
26
|
-
},
|
|
27
|
-
participatingCountryCodes: ["US", "CA", "IN"]
|
|
28
|
-
},
|
|
29
|
-
primaryAction: {
|
|
30
|
-
text: "Complete Registration"
|
|
31
|
-
},
|
|
32
|
-
secondaryActionHtml:
|
|
33
|
-
'<span class="required-notice">* Required to participate in Journey to Salesforce</span>',
|
|
34
|
-
showStepNumber: "true",
|
|
35
|
-
stepTitle: "Complete your registration."
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
bodyHtml:
|
|
39
|
-
'<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>',
|
|
40
|
-
headerData: {
|
|
41
|
-
backgroundColor: "green-vibrant-95",
|
|
42
|
-
iconSymbol: "check-circle",
|
|
43
|
-
iconSprite: "general",
|
|
44
|
-
iconColor: "green-vibrant-65",
|
|
45
|
-
textColor: "indigo-vibrant-20"
|
|
46
|
-
},
|
|
47
|
-
primaryAction: {
|
|
48
|
-
iconSprite: "utility",
|
|
49
|
-
iconSymbol: "new_window",
|
|
50
|
-
link:
|
|
51
|
-
"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
|
-
]
|
|
61
|
-
};
|