@salesforcedevs/dx-components 1.3.153 → 1.3.155
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 +2 -2
- package/src/modules/dx/emptyState/emptyState.ts +1 -1
- package/src/modules/dx/feature/feature.css +2 -2
- package/src/modules/dx/feature/feature.html +1 -1
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +14 -13
- package/src/modules/dx/footer/footer.css +5 -5
- package/src/modules/dx/footer/footer.html +1 -1
- package/src/modules/dx/footer/links.ts +3 -5
- package/src/modules/dx/input/input.ts +1 -1
- package/src/modules/dx/logo/logo.ts +2 -1
- package/src/modules/dx/mainContentHeader/mainContentHeader.html +2 -2
- package/src/modules/dx/sectionBanner/sectionBanner.html +1 -1
- package/src/modules/dx/sidebar/sidebar.html +1 -1
- package/src/modules/dx/treeItem/treeItem.html +1 -1
- package/src/assets/svg/big-moon.svg +0 -1
- package/src/assets/svg/blue-circle.svg +0 -3
- package/src/assets/svg/card-news-learn-moar.svg +0 -415
- package/src/assets/svg/cloud-1.svg +0 -24
- package/src/assets/svg/cloud-2.svg +0 -18
- package/src/assets/svg/codey.svg +0 -93
- package/src/assets/svg/command.svg +0 -9
- package/src/assets/svg/control.svg +0 -10
- package/src/assets/svg/docs-empty-state-small.svg +0 -72
- package/src/assets/svg/docs-empty-state.svg +0 -86
- package/src/assets/svg/dsc-home-news-bear.svg +0 -3
- package/src/assets/svg/dsc-home-news-community.png +0 -0
- package/src/assets/svg/dsc-home-news-goatbear.svg +0 -257
- package/src/assets/svg/dsc-home-news-samplegallery.svg +0 -76
- package/src/assets/svg/dx-section-banner-graphic-1.svg +0 -23
- package/src/assets/svg/empty-state-assistant.svg +0 -1
- package/src/assets/svg/fch-blog-cloud-1.png +0 -0
- package/src/assets/svg/fch-blog-cloud-2.png +0 -0
- package/src/assets/svg/fch-blog-planet.png +0 -0
- package/src/assets/svg/feature-backdrop1.svg +0 -10
- package/src/assets/svg/feature-backdrop2.svg +0 -10
- package/src/assets/svg/featured-demo-art-blank.svg +0 -76
- package/src/assets/svg/featured-demo-art-eBikes.svg +0 -77
- package/src/assets/svg/footer-graphic-large.svg +0 -207
- package/src/assets/svg/footer-graphic-mountains-small.svg +0 -17
- package/src/assets/svg/footer-graphic-mountains.svg +0 -21
- package/src/assets/svg/footer-graphic-trees-small.svg +0 -33
- package/src/assets/svg/footer-graphic-trees.svg +0 -62
- package/src/assets/svg/lake-mountain.svg +0 -79
- package/src/assets/svg/login-widget-bg.png +0 -0
- package/src/assets/svg/no-results-combined.svg +0 -80
- package/src/assets/svg/podcast-subscription-clouds-small.svg +0 -49
- package/src/assets/svg/podcast-subscription-clouds.svg +0 -57
- package/src/assets/svg/podcasts-subscription-apple.svg +0 -164
- package/src/assets/svg/podcasts-subscription-google.svg +0 -29
- package/src/assets/svg/podcasts-subscription-spotify.svg +0 -11
- package/src/assets/svg/privacyicon.png +0 -0
- package/src/assets/svg/salesforce-cloud.svg +0 -7
- package/src/assets/svg/salesforce-logo-corporate.svg +0 -21
- package/src/assets/svg/salesforce-logo.svg +0 -14
- package/src/assets/svg/sidebar-item-loading.svg +0 -3
- package/src/assets/svg/sidebar-loading.svg +0 -34
- package/src/assets/svg/slack-cta-podcast-background-left.svg +0 -28
- package/src/assets/svg/slack-cta-podcast-background-right.svg +0 -38
- package/src/assets/svg/subscribe-background-left.svg +0 -14
- package/src/assets/svg/subscribe-background-right.svg +0 -11
- package/src/assets/svg/trees.svg +0 -42
- package/src/assets/svg/trial-left.svg +0 -6
- package/src/assets/svg/trial-right.svg +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.155",
|
|
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": "
|
|
44
|
+
"gitHead": "49e14e97f56c7c2978f7dc7e8609ec921344e939"
|
|
45
45
|
}
|
|
@@ -13,7 +13,7 @@ export default class EmptyState extends LightningElement {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
get imageAssetPath() {
|
|
16
|
-
return
|
|
16
|
+
return `https://a.sfdcstatic.com/developer-website/images/docs-empty-state${
|
|
17
17
|
this.size === "small" ? "-small" : ""
|
|
18
18
|
}.svg`;
|
|
19
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
:host {
|
|
5
5
|
--dx-c-feature-img-box-shadow: 0 6px 30px 0 rgba(0, 20, 45, 0.4);
|
|
6
|
-
--dx-c-feature-description-left-img-src: url(/
|
|
6
|
+
--dx-c-feature-description-left-img-src: url("https://a.sfdcstatic.com/developer-website/images/feature-backdrop1.svg");
|
|
7
7
|
--dx-c-feature-description-max-width: 31.75rem;
|
|
8
8
|
--dx-c-feature-img-margin-left: auto;
|
|
9
9
|
--dx-c-feature-img-container-padding: 4rem;
|
|
@@ -73,7 +73,7 @@ section {
|
|
|
73
73
|
|
|
74
74
|
.description-right .image {
|
|
75
75
|
margin-right: auto;
|
|
76
|
-
background-image: url(/
|
|
76
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/feature-backdrop2.svg");
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.image-display-container {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div if:true={isDisplay} class="image-display-container">
|
|
21
21
|
<img
|
|
22
22
|
class="image-display"
|
|
23
|
-
src="/
|
|
23
|
+
src="https://a.sfdcstatic.com/developer-website/images/featured-demo-art-blank.svg"
|
|
24
24
|
alt={title}
|
|
25
25
|
/>
|
|
26
26
|
<div class="image-container">
|
|
@@ -165,14 +165,15 @@
|
|
|
165
165
|
left: 0;
|
|
166
166
|
width: 100%;
|
|
167
167
|
height: 100%;
|
|
168
|
-
background-image: url(/
|
|
169
|
-
url(/
|
|
168
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/cloud-1.svg"),
|
|
169
|
+
url("https://a.sfdcstatic.com/developer-website/images/cloud-2.svg"),
|
|
170
|
+
url("https://a.sfdcstatic.com/developer-website/images/trees.svg");
|
|
170
171
|
background-position: top center, 102% 10%, 65% 90%;
|
|
171
172
|
background-repeat: no-repeat, no-repeat, no-repeat;
|
|
172
173
|
}
|
|
173
174
|
@media screen and (max-width: 1174px) {
|
|
174
175
|
.custom-bg-codey::after {
|
|
175
|
-
background-image: url(/
|
|
176
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/cloud-2.svg");
|
|
176
177
|
background-position: calc(100% + 30px) -20%;
|
|
177
178
|
}
|
|
178
179
|
}
|
|
@@ -208,16 +209,16 @@
|
|
|
208
209
|
left: 0;
|
|
209
210
|
width: 100%;
|
|
210
211
|
height: 100%;
|
|
211
|
-
background-image: url(/
|
|
212
|
-
url(/
|
|
213
|
-
url(/
|
|
212
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/fch-blog-cloud-1.png"),
|
|
213
|
+
url("https://a.sfdcstatic.com/developer-website/images/fch-blog-cloud-2.png"),
|
|
214
|
+
url("https://a.sfdcstatic.com/developer-website/images/fch-blog-planet.png");
|
|
214
215
|
background-position: calc(100% + -60px) -80px, 67% calc(100% + -100px),
|
|
215
216
|
54% 70px;
|
|
216
217
|
background-repeat: no-repeat, no-repeat, no-repeat;
|
|
217
218
|
}
|
|
218
219
|
@media screen and (max-width: 1024px) {
|
|
219
220
|
.custom-bg-blog::after {
|
|
220
|
-
background-image: url(/
|
|
221
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/fch-blog-cloud-1.png");
|
|
221
222
|
background-position: calc(100% + 78px) -60px;
|
|
222
223
|
}
|
|
223
224
|
|
|
@@ -226,7 +227,7 @@
|
|
|
226
227
|
position: absolute;
|
|
227
228
|
width: 100%;
|
|
228
229
|
height: 100%;
|
|
229
|
-
background-image: url(/
|
|
230
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/fch-blog-cloud-2.png");
|
|
230
231
|
background-repeat: no-repeat;
|
|
231
232
|
background-position: bottom left;
|
|
232
233
|
transform: rotate(180deg);
|
|
@@ -243,8 +244,8 @@
|
|
|
243
244
|
|
|
244
245
|
.custom-bg-trial::after {
|
|
245
246
|
content: "";
|
|
246
|
-
background-image: url(/
|
|
247
|
-
url(/
|
|
247
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/trial-left.svg"),
|
|
248
|
+
url("https://a.sfdcstatic.com/developer-website/images/trial-right.svg");
|
|
248
249
|
background-position: var(--dx-g-page-padding-horizontal) 50px,
|
|
249
250
|
right 15px top;
|
|
250
251
|
background-repeat: no-repeat;
|
|
@@ -257,7 +258,7 @@
|
|
|
257
258
|
|
|
258
259
|
@media screen and (max-width: 1024px) {
|
|
259
260
|
.custom-bg-trial::after {
|
|
260
|
-
background-image: url(/
|
|
261
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/trial-left.svg");
|
|
261
262
|
background-position: 48px 30px;
|
|
262
263
|
background-size: contain;
|
|
263
264
|
}
|
|
@@ -265,7 +266,7 @@
|
|
|
265
266
|
|
|
266
267
|
.custom-bg-big-moon::after {
|
|
267
268
|
content: "";
|
|
268
|
-
background-image: url(/
|
|
269
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/big-moon.svg");
|
|
269
270
|
background-position: top right;
|
|
270
271
|
background-repeat: no-repeat;
|
|
271
272
|
position: absolute;
|
|
@@ -280,7 +281,7 @@
|
|
|
280
281
|
justify-content: center;
|
|
281
282
|
align-items: center;
|
|
282
283
|
position: absolute;
|
|
283
|
-
background-image: url(/
|
|
284
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/blue-circle.svg");
|
|
284
285
|
top: 110px;
|
|
285
286
|
right: 230px;
|
|
286
287
|
left: unset;
|
|
@@ -109,14 +109,14 @@ footer.signup-variant-no-signup {
|
|
|
109
109
|
height: 112px;
|
|
110
110
|
width: 110px;
|
|
111
111
|
margin-right: var(--dx-g-spacing-lg);
|
|
112
|
-
background-image: url("/
|
|
112
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/footer-graphic-trees.svg");
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.graphic-mountains {
|
|
116
116
|
height: 96px;
|
|
117
117
|
width: 220px;
|
|
118
118
|
margin-right: var(--dx-g-spacing-lg);
|
|
119
|
-
background-image: url("/
|
|
119
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/footer-graphic-mountains.svg");
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.graphic-mountains-mobile {
|
|
@@ -126,14 +126,14 @@ footer.signup-variant-no-signup {
|
|
|
126
126
|
bottom: 0;
|
|
127
127
|
height: 56px;
|
|
128
128
|
width: 100px;
|
|
129
|
-
background-image: url("/
|
|
129
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/footer-graphic-mountains-small.svg");
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.graphic-trees-small {
|
|
133
133
|
height: 66px;
|
|
134
134
|
width: 52px;
|
|
135
135
|
margin-left: var(--dx-g-spacing-lg);
|
|
136
|
-
background-image: url("/
|
|
136
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/footer-graphic-trees-small.svg");
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.graphic-large {
|
|
@@ -143,7 +143,7 @@ footer.signup-variant-no-signup {
|
|
|
143
143
|
bottom: -2px;
|
|
144
144
|
width: 100%;
|
|
145
145
|
height: 100%;
|
|
146
|
-
background-image: url("/
|
|
146
|
+
background-image: url("https://a.sfdcstatic.com/developer-website/images/footer-graphic-large.svg");
|
|
147
147
|
background-size: 101%;
|
|
148
148
|
}
|
|
149
149
|
|
|
@@ -81,8 +81,7 @@ export const generalLinksRaw: OptionWithRequiredNested[] = [
|
|
|
81
81
|
options: [
|
|
82
82
|
{
|
|
83
83
|
link: {
|
|
84
|
-
href:
|
|
85
|
-
"https://trailhead.salesforce.com/trailblazer-community/feed"
|
|
84
|
+
href: "https://trailhead.salesforce.com/trailblazer-community/feed"
|
|
86
85
|
},
|
|
87
86
|
label: "Trailblazer Community",
|
|
88
87
|
id: "Trailblazer Community"
|
|
@@ -159,8 +158,7 @@ export const termsLinks = [
|
|
|
159
158
|
label: "Legal"
|
|
160
159
|
},
|
|
161
160
|
{
|
|
162
|
-
href:
|
|
163
|
-
"https://www.salesforce.com/company/privacy/full_privacy/#nav_info",
|
|
161
|
+
href: "https://www.salesforce.com/company/privacy/full_privacy/#nav_info",
|
|
164
162
|
label: "Use of Cookies"
|
|
165
163
|
},
|
|
166
164
|
{ href: "https://trust.salesforce.com/en/", label: "Trust" },
|
|
@@ -173,7 +171,7 @@ export const termsLinks = [
|
|
|
173
171
|
{
|
|
174
172
|
href: "https://www.salesforce.com/form/other/privacy-request/",
|
|
175
173
|
label: "Your Privacy Choices",
|
|
176
|
-
img: "/
|
|
174
|
+
img: "https://a.sfdcstatic.com/developer-website/images/privacyicon.png"
|
|
177
175
|
}
|
|
178
176
|
];
|
|
179
177
|
|
|
@@ -144,7 +144,7 @@ export default class Input extends LightningElement {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
private get shortcutImgSrc() {
|
|
147
|
-
return
|
|
147
|
+
return `https://a.sfdcstatic.com/developer-website/images/${this.commandKey}.svg`;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
private get shortcutImgAlt() {
|
|
@@ -2,7 +2,8 @@ import { LightningElement, api } from "lwc";
|
|
|
2
2
|
|
|
3
3
|
export default class Logo extends LightningElement {
|
|
4
4
|
@api href: string = "/";
|
|
5
|
-
@api imgSrc: string =
|
|
5
|
+
@api imgSrc: string =
|
|
6
|
+
"https://a.sfdcstatic.com/developer-website/images/salesforce-cloud.svg";
|
|
6
7
|
@api imgAlt: string = "Salesforce logo";
|
|
7
8
|
@api label!: string;
|
|
8
9
|
}
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
<div class="image-container">
|
|
32
|
-
<img class="desktop" src={imgSrc} />
|
|
33
|
-
<img class="mobile" src={imgSrcMobile} />
|
|
32
|
+
<img class="desktop" src={imgSrc} alt="" />
|
|
33
|
+
<img class="mobile" src={imgSrcMobile} alt="" />
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
<template if:true={hasSwoop}>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<img
|
|
16
16
|
if:true={showChildrenLoading}
|
|
17
17
|
class="tree-children-loading"
|
|
18
|
-
src="/
|
|
18
|
+
src="https://a.sfdcstatic.com/developer-website/images/sidebar-item-loading.svg"
|
|
19
19
|
alt="childrenLoading"
|
|
20
20
|
/>
|
|
21
21
|
<template if:true={showChildren} tabindex="0">
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 397 322" width="397" height="322"><defs><clipPath clipPathUnits="userSpaceOnUse" id="cp1"><path d="m0 0h397v322h-397z"/></clipPath></defs><style>.a{fill:#3a49da}.b{fill:none;stroke:#90d0fe;stroke-width:2}.c{fill:none;stroke:#90d0fe;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.d{fill:none;stroke:#90d0fe;stroke-linecap:round;stroke-width:2}</style><g clip-path="url(#cp1)"><path class="a" d="m424.5 322c-207.1 0-374.5-167.4-374.5-374.5 0-207.1 167.4-374.5 374.5-374.5 207.1 0 374.5 167.4 374.5 374.5 0 207.1-167.4 374.5-374.5 374.5z"/><path class="b" d="m270 137c-5.5 0-10-4.5-10-10 0-5.5 4.5-10 10-10 5.5 0 10 4.5 10 10 0 5.5-4.5 10-10 10z"/><path class="c" d="m356.2 93.2c5.3-9.8 5.8-21.3 1.4-31.6"/><path class="c" d="m353.3 97.7c-10 13.4-27.9 19.1-44.4 14.2-16.4-5-27.6-19.5-27.6-36q0-2.7 0.4-5.3"/><path class="c" d="m282.9 65.2c4.6-14.3 17.5-24.8 33.2-26.6 15.6-1.9 30.9 5.2 38.9 18.1"/><path class="c" d="m291.6 70.4h-13.9"/><path class="c" d="m272.3 70.4h-3.3"/><path class="c" d="m374.5 57.3h-4.7"/><path class="c" d="m363.9 57.3h-14.5"/><path class="b" d="m364.6 58.2c-0.5 0-0.9-0.4-0.9-0.9 0-0.5 0.4-0.9 0.9-0.9 0.6 0 1 0.4 1 0.9 0 0.5-0.4 0.9-1 0.9z"/><path class="c" d="m363.5 97.5h-14.7"/><path class="c" d="m331.5 172l2.1 5.7q0.3 0.6 0.9 0.9l5.7 2.1c1.3 0.5 1.3 2.3 0 2.8l-5.7 2.1q-0.6 0.3-0.9 0.9l-2.1 5.7c-0.5 1.3-2.3 1.3-2.8 0l-2.1-5.7q-0.3-0.6-0.9-0.9l-5.7-2.1c-1.3-0.5-1.3-2.3 0-2.8l5.7-2.1q0.6-0.3 0.9-0.9l2.1-5.7c0.5-1.3 2.3-1.3 2.8 0z"/><path class="c" d="m162.4 32.6l3.4 9.3q0.5 1.1 1.5 1.5l9.3 3.4c2.1 0.8 2.1 3.8 0 4.6l-9.3 3.4q-1 0.4-1.5 1.5l-3.4 9.3c-0.8 2.1-3.8 2.1-4.6 0l-3.4-9.3q-0.5-1.1-1.5-1.5l-9.3-3.4c-2.1-0.8-2.1-3.8 0-4.6l9.3-3.4q1-0.4 1.5-1.5l3.4-9.3c0.8-2.1 3.8-2.1 4.6 0z"/><path class="c" d="m8 284v-16"/><path class="c" d="m16.1 276h-16.1"/><path class="d" d="m160 176h28"/><path class="d" d="m204 176h-9"/><path class="b" d="m200 106c-1.1 0-2-0.9-2-2 0-1.1 0.9-2 2-2 1.1 0 2 0.9 2 2 0 1.1-0.9 2-2 2z"/><path class="b" d="m150 246c-1.1 0-2-0.9-2-2 0-1.1 0.9-2 2-2 1.1 0 2 0.9 2 2 0 1.1-0.9 2-2 2z"/></g></svg>
|