@salesforcedevs/dx-components 0.14.3 → 0.15.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/lwc.config.json +2 -1
- package/package.json +2 -2
- package/src/modules/dx/cardGrid/__tests__/cardMockProps.ts +78 -148
- package/src/modules/dx/footer/links.ts +3 -5
- package/src/modules/dx/newsletterForm/newsletterForm.html +5 -3
- package/src/modules/dx/sidebar/sidebar.ts +7 -0
- package/src/modules/utils/highlight/highlight.ts +31 -0
- package/src/modules/utils/regexps/regexps.ts +5 -0
package/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"@types/debounce": "^1.2.0",
|
|
30
30
|
"@types/lodash.get": "^4.4.6"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2f4882a3e2e0b3693ff8d16612d54953be57a522"
|
|
33
33
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export default [
|
|
2
2
|
{
|
|
3
3
|
title: "Heroku Dev Center",
|
|
4
|
-
body:
|
|
5
|
-
"Learn about building, deploying, and managing your apps on Heroku.",
|
|
4
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
6
5
|
href: "https://devcenter.heroku.com/",
|
|
7
6
|
brand: "platform",
|
|
8
7
|
links: [
|
|
@@ -25,10 +24,8 @@ export default [
|
|
|
25
24
|
},
|
|
26
25
|
{
|
|
27
26
|
title: "Lightning Web Components",
|
|
28
|
-
body:
|
|
29
|
-
|
|
30
|
-
href:
|
|
31
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
27
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
28
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
32
29
|
brand: "platform",
|
|
33
30
|
links: [
|
|
34
31
|
{
|
|
@@ -50,8 +47,7 @@ export default [
|
|
|
50
47
|
},
|
|
51
48
|
{
|
|
52
49
|
title: "Lightning Design System",
|
|
53
|
-
body:
|
|
54
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
50
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
55
51
|
href: "https://www.lightningdesignsystem.com/",
|
|
56
52
|
brand: "platform",
|
|
57
53
|
links: [
|
|
@@ -74,427 +70,361 @@ export default [
|
|
|
74
70
|
},
|
|
75
71
|
{
|
|
76
72
|
title: "Commerce Cloud APIs",
|
|
77
|
-
body:
|
|
78
|
-
|
|
79
|
-
href: "https://developer.commercecloud.com/",
|
|
73
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
74
|
+
href: "https://developer.commercecloud.com/s/",
|
|
80
75
|
brand: "commerce"
|
|
81
76
|
},
|
|
82
77
|
{
|
|
83
78
|
title: "MuleSoft Documentation",
|
|
84
|
-
body:
|
|
85
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
79
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
86
80
|
href: "https://docs.mulesoft.com/",
|
|
87
81
|
brand: "integration"
|
|
88
82
|
},
|
|
89
83
|
{
|
|
90
84
|
title: "Salesforce Extensions for VS Code",
|
|
91
|
-
body:
|
|
92
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
85
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
93
86
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
94
87
|
brand: "platform"
|
|
95
88
|
},
|
|
96
89
|
{
|
|
97
90
|
title: "Quip Developer Documentation",
|
|
98
|
-
body:
|
|
99
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
91
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
100
92
|
href: "https://quip.com/dev",
|
|
101
93
|
brand: "collaboration"
|
|
102
94
|
},
|
|
103
95
|
{
|
|
104
96
|
title: "Tableau Help",
|
|
105
|
-
body:
|
|
106
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
97
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
107
98
|
href: "https://help.tableau.com/",
|
|
108
99
|
brand: "analytics"
|
|
109
100
|
},
|
|
110
101
|
{
|
|
111
102
|
title: "Einstein Voice & Vision",
|
|
112
|
-
body:
|
|
113
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
103
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
114
104
|
href: "https://metamind.readme.io",
|
|
115
105
|
brand: "platform"
|
|
116
106
|
},
|
|
117
107
|
{
|
|
118
108
|
title: "Lightning Web Components",
|
|
119
|
-
body:
|
|
120
|
-
|
|
121
|
-
href:
|
|
122
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
109
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
110
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
123
111
|
brand: "platform"
|
|
124
112
|
},
|
|
125
113
|
{
|
|
126
114
|
title: "Lightning Design System",
|
|
127
|
-
body:
|
|
128
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
115
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
129
116
|
href: "https://www.lightningdesignsystem.com/",
|
|
130
117
|
brand: "platform"
|
|
131
118
|
},
|
|
132
119
|
{
|
|
133
120
|
title: "Commerce Cloud APIs",
|
|
134
|
-
body:
|
|
135
|
-
|
|
136
|
-
href: "https://developer.commercecloud.com/",
|
|
121
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
122
|
+
href: "https://developer.commercecloud.com/s/",
|
|
137
123
|
brand: "commerce"
|
|
138
124
|
},
|
|
139
125
|
{
|
|
140
126
|
title: "MuleSoft Documentation",
|
|
141
|
-
body:
|
|
142
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
127
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
143
128
|
href: "https://docs.mulesoft.com/",
|
|
144
129
|
brand: "integration"
|
|
145
130
|
},
|
|
146
131
|
{
|
|
147
132
|
title: "Salesforce Extensions for VS Code",
|
|
148
|
-
body:
|
|
149
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
133
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
150
134
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
151
135
|
brand: "platform"
|
|
152
136
|
},
|
|
153
137
|
{
|
|
154
138
|
title: "Quip Developer Documentation",
|
|
155
|
-
body:
|
|
156
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
139
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
157
140
|
href: "https://quip.com/dev",
|
|
158
141
|
brand: "collaboration"
|
|
159
142
|
},
|
|
160
143
|
{
|
|
161
144
|
title: "Tableau Help",
|
|
162
|
-
body:
|
|
163
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
145
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
164
146
|
href: "https://help.tableau.com/",
|
|
165
147
|
brand: "analytics"
|
|
166
148
|
},
|
|
167
149
|
{
|
|
168
150
|
title: "Einstein Voice & Vision",
|
|
169
|
-
body:
|
|
170
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
151
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
171
152
|
href: "https://metamind.readme.io",
|
|
172
153
|
brand: "platform"
|
|
173
154
|
},
|
|
174
155
|
{
|
|
175
156
|
title: "Lightning Web Components",
|
|
176
|
-
body:
|
|
177
|
-
|
|
178
|
-
href:
|
|
179
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
157
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
158
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
180
159
|
brand: "platform"
|
|
181
160
|
},
|
|
182
161
|
{
|
|
183
162
|
title: "Lightning Design System",
|
|
184
|
-
body:
|
|
185
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
163
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
186
164
|
href: "https://www.lightningdesignsystem.com/",
|
|
187
165
|
brand: "platform"
|
|
188
166
|
},
|
|
189
167
|
{
|
|
190
168
|
title: "Commerce Cloud APIs",
|
|
191
|
-
body:
|
|
192
|
-
|
|
193
|
-
href: "https://developer.commercecloud.com/",
|
|
169
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
170
|
+
href: "https://developer.commercecloud.com/s/",
|
|
194
171
|
brand: "commerce"
|
|
195
172
|
},
|
|
196
173
|
{
|
|
197
174
|
title: "MuleSoft Documentation",
|
|
198
|
-
body:
|
|
199
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
175
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
200
176
|
href: "https://docs.mulesoft.com/",
|
|
201
177
|
brand: "integration"
|
|
202
178
|
},
|
|
203
179
|
{
|
|
204
180
|
title: "Salesforce Extensions for VS Code",
|
|
205
|
-
body:
|
|
206
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
181
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
207
182
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
208
183
|
brand: "platform"
|
|
209
184
|
},
|
|
210
185
|
{
|
|
211
186
|
title: "Quip Developer Documentation",
|
|
212
|
-
body:
|
|
213
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
187
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
214
188
|
href: "https://quip.com/dev",
|
|
215
189
|
brand: "collaboration"
|
|
216
190
|
},
|
|
217
191
|
{
|
|
218
192
|
title: "Tableau Help",
|
|
219
|
-
body:
|
|
220
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
193
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
221
194
|
href: "https://help.tableau.com/",
|
|
222
195
|
brand: "analytics"
|
|
223
196
|
},
|
|
224
197
|
{
|
|
225
198
|
title: "Einstein Voice & Vision",
|
|
226
|
-
body:
|
|
227
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
199
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
228
200
|
href: "https://metamind.readme.io",
|
|
229
201
|
brand: "platform"
|
|
230
202
|
},
|
|
231
203
|
{
|
|
232
204
|
title: "Commerce Cloud APIs",
|
|
233
|
-
body:
|
|
234
|
-
|
|
235
|
-
href: "https://developer.commercecloud.com/",
|
|
205
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
206
|
+
href: "https://developer.commercecloud.com/s/",
|
|
236
207
|
brand: "commerce"
|
|
237
208
|
},
|
|
238
209
|
{
|
|
239
210
|
title: "MuleSoft Documentation",
|
|
240
|
-
body:
|
|
241
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
211
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
242
212
|
href: "https://docs.mulesoft.com/",
|
|
243
213
|
brand: "integration"
|
|
244
214
|
},
|
|
245
215
|
{
|
|
246
216
|
title: "Salesforce Extensions for VS Code",
|
|
247
|
-
body:
|
|
248
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
217
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
249
218
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
250
219
|
brand: "platform"
|
|
251
220
|
},
|
|
252
221
|
{
|
|
253
222
|
title: "Quip Developer Documentation",
|
|
254
|
-
body:
|
|
255
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
223
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
256
224
|
href: "https://quip.com/dev",
|
|
257
225
|
brand: "collaboration"
|
|
258
226
|
},
|
|
259
227
|
{
|
|
260
228
|
title: "Tableau Help",
|
|
261
|
-
body:
|
|
262
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
229
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
263
230
|
href: "https://help.tableau.com/",
|
|
264
231
|
brand: "analytics"
|
|
265
232
|
},
|
|
266
233
|
{
|
|
267
234
|
title: "Einstein Voice & Vision",
|
|
268
|
-
body:
|
|
269
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
235
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
270
236
|
href: "https://metamind.readme.io",
|
|
271
237
|
brand: "platform"
|
|
272
238
|
},
|
|
273
239
|
{
|
|
274
240
|
title: "Lightning Web Components",
|
|
275
|
-
body:
|
|
276
|
-
|
|
277
|
-
href:
|
|
278
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
241
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
242
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
279
243
|
brand: "platform"
|
|
280
244
|
},
|
|
281
245
|
{
|
|
282
246
|
title: "Lightning Design System",
|
|
283
|
-
body:
|
|
284
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
247
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
285
248
|
href: "https://www.lightningdesignsystem.com/",
|
|
286
249
|
brand: "platform"
|
|
287
250
|
},
|
|
288
251
|
{
|
|
289
252
|
title: "Commerce Cloud APIs",
|
|
290
|
-
body:
|
|
291
|
-
|
|
292
|
-
href: "https://developer.commercecloud.com/",
|
|
253
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
254
|
+
href: "https://developer.commercecloud.com/s/",
|
|
293
255
|
brand: "commerce"
|
|
294
256
|
},
|
|
295
257
|
{
|
|
296
258
|
title: "MuleSoft Documentation",
|
|
297
|
-
body:
|
|
298
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
259
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
299
260
|
href: "https://docs.mulesoft.com/",
|
|
300
261
|
brand: "integration"
|
|
301
262
|
},
|
|
302
263
|
{
|
|
303
264
|
title: "Salesforce Extensions for VS Code",
|
|
304
|
-
body:
|
|
305
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
265
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
306
266
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
307
267
|
brand: "platform"
|
|
308
268
|
},
|
|
309
269
|
{
|
|
310
270
|
title: "Quip Developer Documentation",
|
|
311
|
-
body:
|
|
312
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
271
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
313
272
|
href: "https://quip.com/dev",
|
|
314
273
|
brand: "collaboration"
|
|
315
274
|
},
|
|
316
275
|
{
|
|
317
276
|
title: "Tableau Help",
|
|
318
|
-
body:
|
|
319
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
277
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
320
278
|
href: "https://help.tableau.com/",
|
|
321
279
|
brand: "analytics"
|
|
322
280
|
},
|
|
323
281
|
{
|
|
324
282
|
title: "Einstein Voice & Vision",
|
|
325
|
-
body:
|
|
326
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
283
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
327
284
|
href: "https://metamind.readme.io",
|
|
328
285
|
brand: "platform"
|
|
329
286
|
},
|
|
330
287
|
{
|
|
331
288
|
title: "Lightning Web Components",
|
|
332
|
-
body:
|
|
333
|
-
|
|
334
|
-
href:
|
|
335
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
289
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
290
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
336
291
|
brand: "platform"
|
|
337
292
|
},
|
|
338
293
|
{
|
|
339
294
|
title: "Lightning Design System",
|
|
340
|
-
body:
|
|
341
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
295
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
342
296
|
href: "https://www.lightningdesignsystem.com/",
|
|
343
297
|
brand: "platform"
|
|
344
298
|
},
|
|
345
299
|
{
|
|
346
300
|
title: "Commerce Cloud APIs",
|
|
347
|
-
body:
|
|
348
|
-
|
|
349
|
-
href: "https://developer.commercecloud.com/",
|
|
301
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
302
|
+
href: "https://developer.commercecloud.com/s/",
|
|
350
303
|
brand: "commerce"
|
|
351
304
|
},
|
|
352
305
|
{
|
|
353
306
|
title: "MuleSoft Documentation",
|
|
354
|
-
body:
|
|
355
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
307
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
356
308
|
href: "https://docs.mulesoft.com/",
|
|
357
309
|
brand: "integration"
|
|
358
310
|
},
|
|
359
311
|
{
|
|
360
312
|
title: "Salesforce Extensions for VS Code",
|
|
361
|
-
body:
|
|
362
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
313
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
363
314
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
364
315
|
brand: "platform"
|
|
365
316
|
},
|
|
366
317
|
{
|
|
367
318
|
title: "Quip Developer Documentation",
|
|
368
|
-
body:
|
|
369
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
319
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
370
320
|
href: "https://quip.com/dev",
|
|
371
321
|
brand: "collaboration"
|
|
372
322
|
},
|
|
373
323
|
{
|
|
374
324
|
title: "Tableau Help",
|
|
375
|
-
body:
|
|
376
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
325
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
377
326
|
href: "https://help.tableau.com/",
|
|
378
327
|
brand: "analytics"
|
|
379
328
|
},
|
|
380
329
|
{
|
|
381
330
|
title: "Einstein Voice & Vision",
|
|
382
|
-
body:
|
|
383
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
331
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
384
332
|
href: "https://metamind.readme.io",
|
|
385
333
|
brand: "platform"
|
|
386
334
|
},
|
|
387
335
|
{
|
|
388
336
|
title: "Commerce Cloud APIs",
|
|
389
|
-
body:
|
|
390
|
-
|
|
391
|
-
href: "https://developer.commercecloud.com/",
|
|
337
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
338
|
+
href: "https://developer.commercecloud.com/s/",
|
|
392
339
|
brand: "commerce"
|
|
393
340
|
},
|
|
394
341
|
{
|
|
395
342
|
title: "MuleSoft Documentation",
|
|
396
|
-
body:
|
|
397
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
343
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
398
344
|
href: "https://docs.mulesoft.com/",
|
|
399
345
|
brand: "integration"
|
|
400
346
|
},
|
|
401
347
|
{
|
|
402
348
|
title: "Salesforce Extensions for VS Code",
|
|
403
|
-
body:
|
|
404
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
349
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
405
350
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
406
351
|
brand: "platform"
|
|
407
352
|
},
|
|
408
353
|
{
|
|
409
354
|
title: "Quip Developer Documentation",
|
|
410
|
-
body:
|
|
411
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
355
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
412
356
|
href: "https://quip.com/dev",
|
|
413
357
|
brand: "collaboration"
|
|
414
358
|
},
|
|
415
359
|
{
|
|
416
360
|
title: "Tableau Help",
|
|
417
|
-
body:
|
|
418
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
361
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
419
362
|
href: "https://help.tableau.com/",
|
|
420
363
|
brand: "analytics"
|
|
421
364
|
},
|
|
422
365
|
{
|
|
423
366
|
title: "Einstein Voice & Vision",
|
|
424
|
-
body:
|
|
425
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
367
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
426
368
|
href: "https://metamind.readme.io",
|
|
427
369
|
brand: "platform"
|
|
428
370
|
},
|
|
429
371
|
{
|
|
430
372
|
title: "Lightning Web Components",
|
|
431
|
-
body:
|
|
432
|
-
|
|
433
|
-
href:
|
|
434
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
373
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
374
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
435
375
|
brand: "platform"
|
|
436
376
|
},
|
|
437
377
|
{
|
|
438
378
|
title: "Lightning Design System",
|
|
439
|
-
body:
|
|
440
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
379
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
441
380
|
href: "https://www.lightningdesignsystem.com/",
|
|
442
381
|
brand: "platform"
|
|
443
382
|
},
|
|
444
383
|
{
|
|
445
384
|
title: "Commerce Cloud APIs",
|
|
446
|
-
body:
|
|
447
|
-
|
|
448
|
-
href: "https://developer.commercecloud.com/",
|
|
385
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
386
|
+
href: "https://developer.commercecloud.com/s/",
|
|
449
387
|
brand: "commerce"
|
|
450
388
|
},
|
|
451
389
|
{
|
|
452
390
|
title: "MuleSoft Documentation",
|
|
453
|
-
body:
|
|
454
|
-
"Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
391
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
455
392
|
href: "https://docs.mulesoft.com/",
|
|
456
393
|
brand: "integration"
|
|
457
394
|
},
|
|
458
395
|
{
|
|
459
396
|
title: "Salesforce Extensions for VS Code",
|
|
460
|
-
body:
|
|
461
|
-
"Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
397
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
462
398
|
href: "https://developer.salesforce.com/tools/vscode",
|
|
463
399
|
brand: "platform"
|
|
464
400
|
},
|
|
465
401
|
{
|
|
466
402
|
title: "Quip Developer Documentation",
|
|
467
|
-
body:
|
|
468
|
-
"Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
403
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
469
404
|
href: "https://quip.com/dev",
|
|
470
405
|
brand: "collaboration"
|
|
471
406
|
},
|
|
472
407
|
{
|
|
473
408
|
title: "Tableau Help",
|
|
474
|
-
body:
|
|
475
|
-
"Tableau brings together data from anywhere to empower your people everywhere.",
|
|
409
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
476
410
|
href: "https://help.tableau.com/",
|
|
477
411
|
brand: "analytics"
|
|
478
412
|
},
|
|
479
413
|
{
|
|
480
414
|
title: "Einstein Voice & Vision",
|
|
481
|
-
body:
|
|
482
|
-
"Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
415
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
483
416
|
href: "https://metamind.readme.io",
|
|
484
417
|
brand: "platform"
|
|
485
418
|
},
|
|
486
419
|
{
|
|
487
420
|
title: "Lightning Web Components",
|
|
488
|
-
body:
|
|
489
|
-
|
|
490
|
-
href:
|
|
491
|
-
"https://developer.salesforce.com/docs/component-library/overview/",
|
|
421
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
422
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
492
423
|
brand: "platform"
|
|
493
424
|
},
|
|
494
425
|
{
|
|
495
426
|
title: "Lightning Design System",
|
|
496
|
-
body:
|
|
497
|
-
"Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
427
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
498
428
|
href: "https://www.lightningdesignsystem.com/",
|
|
499
429
|
brand: "platform"
|
|
500
430
|
}
|
|
@@ -45,7 +45,7 @@ export const generalLinksRaw = [
|
|
|
45
45
|
label: "Community",
|
|
46
46
|
options: [
|
|
47
47
|
{
|
|
48
|
-
href: "https://
|
|
48
|
+
href: "https://trailhead.salesforce.com/trailblazer-community/feed",
|
|
49
49
|
label: "Trailblazer Community"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -90,13 +90,11 @@ export const intellectualHref =
|
|
|
90
90
|
export const termsLinks = [
|
|
91
91
|
{ href: privacyHref, label: "Privacy Statement" },
|
|
92
92
|
{
|
|
93
|
-
href:
|
|
94
|
-
"https://trailblazer.me/resource/documents/documents/pdf/TermsOfUse_en_US.pdf",
|
|
93
|
+
href: "https://trailblazer.me/resource/documents/documents/pdf/TermsOfUse_en_US.pdf",
|
|
95
94
|
label: "Terms of Use"
|
|
96
95
|
},
|
|
97
96
|
{
|
|
98
|
-
href:
|
|
99
|
-
"https://www.salesforce.com/company/privacy/full_privacy/#nav_info",
|
|
97
|
+
href: "https://www.salesforce.com/company/privacy/full_privacy/#nav_info",
|
|
100
98
|
label: "Use of Cookies"
|
|
101
99
|
},
|
|
102
100
|
{ href: "https://trust.salesforce.com/en/", label: "Trust" }
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
onchange={handleChange}
|
|
5
5
|
onkeydown={handleKeyDown}
|
|
6
6
|
>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<slot name="form-heading">
|
|
8
|
+
<h4 class="newsletter-form-heading dx-text-heading-8">
|
|
9
|
+
Sign up now to receive the newsletter.
|
|
10
|
+
</h4>
|
|
11
|
+
</slot>
|
|
10
12
|
<dx-input
|
|
11
13
|
name="fname"
|
|
12
14
|
value={firstName}
|
|
@@ -120,6 +120,13 @@ export default class Sidebar extends LightningElement {
|
|
|
120
120
|
window.clearTimeout(this._searchTimeout);
|
|
121
121
|
this._searchTimeout = window.setTimeout(() => {
|
|
122
122
|
this.assignFilteredTrees();
|
|
123
|
+
this.dispatchEvent(
|
|
124
|
+
new CustomEvent("highlightedtermchange", {
|
|
125
|
+
detail: this.searchText,
|
|
126
|
+
composed: true,
|
|
127
|
+
bubbles: true
|
|
128
|
+
})
|
|
129
|
+
);
|
|
123
130
|
}, WAIT_TIME);
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createSearchRegExp } from "utils/regexps";
|
|
2
|
+
|
|
3
|
+
const MARK_TAGS = /<\/?mark>/gi;
|
|
4
|
+
|
|
5
|
+
export const highlightTerms = (
|
|
6
|
+
elements: Array<HTMLElement>,
|
|
7
|
+
searchTerm: string
|
|
8
|
+
): void => {
|
|
9
|
+
searchTerm = searchTerm.trim();
|
|
10
|
+
const searchExp = createSearchRegExp(searchTerm);
|
|
11
|
+
elements.forEach((element) => {
|
|
12
|
+
if (
|
|
13
|
+
element?.innerHTML.includes("<dx-") ||
|
|
14
|
+
element?.innerHTML.includes("<doc-")
|
|
15
|
+
) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
let innerHtml = element.innerHTML.replace(
|
|
20
|
+
// Remove previously added mark tags
|
|
21
|
+
MARK_TAGS,
|
|
22
|
+
""
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
if (searchTerm) {
|
|
26
|
+
innerHtml = innerHtml.replace(searchExp, "<mark>$&</mark>");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
element.innerHTML = innerHtml;
|
|
30
|
+
});
|
|
31
|
+
};
|