@salesforcedevs/dx-components 1.3.72 → 1.3.73-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.
Files changed (31) hide show
  1. package/lwc.config.json +6 -3
  2. package/package.json +3 -3
  3. package/src/assets/shiki/languages/amp.tmLanguage.json +205 -0
  4. package/src/assets/shiki/themes/codey-highnoon.json +650 -0
  5. package/src/assets/shiki/themes/codey-midnight.json +622 -0
  6. package/src/modules/dx/breadcrumbs/breadcrumbs.ts +8 -10
  7. package/src/modules/dx/cardContent/cardContent.html +4 -1
  8. package/src/modules/dx/cardDocs/cardDocs.html +4 -1
  9. package/src/modules/dx/codeBlock/codeBlock.css +23 -7
  10. package/src/modules/dx/codeBlock/codeBlock.html +0 -19
  11. package/src/modules/dx/codeBlock/codeBlock.ts +61 -110
  12. package/src/modules/dx/dropdown/dropdown.ts +2 -3
  13. package/src/modules/dx/filterMenu/filterMenu.html +7 -2
  14. package/src/modules/dx/filterMenu/filterMenu.ts +4 -3
  15. package/src/modules/dx/footer/links.ts +2 -4
  16. package/src/modules/dx/grid/grid.ts +3 -1
  17. package/src/modules/dx/header/header.html +4 -1
  18. package/src/modules/dx/popover/popover.ts +3 -3
  19. package/src/modules/dx/searchResults/searchResults.ts +1 -3
  20. package/src/modules/dx/select/select.ts +2 -3
  21. package/src/modules/dx/sidebar/sidebar.ts +7 -5
  22. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +2 -5
  23. package/src/modules/dx/tabPanelList/tabPanelList.ts +2 -2
  24. package/src/modules/dxBaseElements/headerBase/headerBase.ts +2 -0
  25. package/src/modules/dxBaseElements/matchMediaElement/matchMediaElement.ts +2 -4
  26. package/src/modules/dxUtils/prismjs/prismjs.ts +287 -167
  27. package/src/modules/dxUtils/shiki/languages.ts +18 -0
  28. package/src/modules/dxUtils/shiki/shiki.ts +74 -0
  29. package/LICENSE +0 -12
  30. package/src/modules/dxHelpers/code/code.css +0 -296
  31. package/src/modules/dxUtils/prismjs/prismjs.html +0 -3
@@ -0,0 +1,650 @@
1
+ {
2
+ "name": "Codey High Noon",
3
+ "type": "light",
4
+ "colors": {
5
+ "activityBar.background": "#0a121c",
6
+ "activityBar.border": "#1c304a",
7
+ "activityBarBadge.background": "#007acc",
8
+ "contrastActiveBorder": "#eda323",
9
+ "editor.background": "#fffff7",
10
+ "editor.foreground": "#0a121c",
11
+ "editor.lineHighlightBorder": "#e5e5e0",
12
+ "editor.inactiveSelectionBackground": "#cccbc6",
13
+ "editor.selectionBackground": "#cccbc6",
14
+ "editorGroupHeader.tabsBackground": "#bfbfbf",
15
+ "editorIndentGuide.activeBackground": "#707070",
16
+ "editorIndentGuide.background": "#a6a6a6",
17
+ "editorLineNumber.activeForeground": "#03A678",
18
+ "focusBorder": "#eda323",
19
+ "input.placeholderForeground": "#a6a6a6",
20
+ "list.activeSelectionBackground": "#cccbc6",
21
+ "list.dropBackground": "#CCCCCC",
22
+ "list.hoverBackground": "#eda323",
23
+ "list.inactiveSelectionForeground": "#6C7076",
24
+ "list.inactiveSelectionBackground": "#F9F9F9",
25
+ "menu.background": "#d7d7d7",
26
+ "menu.foreground": "#cccccc",
27
+ "menu.selectionBackground": "#cccbc6",
28
+ "notifications.background": "#E5E5E0",
29
+ "panel.border": "#d7d7d7",
30
+ "panel.background": "#f9f9f9",
31
+ "settings.numberInputBackground": "#292929",
32
+ "settings.textInputBackground": "#292929",
33
+ "sideBar.background": "#efefef",
34
+ "sideBar.border": "#d7d7d7",
35
+ "sideBar.foreground": "#0a121c",
36
+ "sideBarTitle.foreground": "#0a121c",
37
+ "tab.activeBackground": "#efefef",
38
+ "tab.inactiveBackground": "#d7d7d7"
39
+ },
40
+ "tokenColors": [
41
+ {
42
+ "scope": "emphasis",
43
+ "settings": {
44
+ "fontStyle": "italic"
45
+ }
46
+ },
47
+ {
48
+ "scope": "strong",
49
+ "settings": {
50
+ "fontStyle": "bold"
51
+ }
52
+ },
53
+ {
54
+ "scope": "header",
55
+ "settings": {
56
+ "foreground": "#000080"
57
+ }
58
+ },
59
+ {
60
+ "scope": "comment",
61
+ "settings": {
62
+ "foreground": "#6C7076"
63
+ }
64
+ },
65
+ {
66
+ "scope": "constant.language",
67
+ "settings": {
68
+ "foreground": "#6bb9f0"
69
+ }
70
+ },
71
+ {
72
+ "scope": ["constant.numeric"],
73
+ "settings": {
74
+ "foreground": "#22313F"
75
+ }
76
+ },
77
+ {
78
+ "scope": "constant.regexp",
79
+ "settings": {
80
+ "foreground": "#9370db"
81
+ }
82
+ },
83
+ {
84
+ "name": "XML and HTML Tags",
85
+ "scope": [
86
+ "entity.name.tag.html",
87
+ "entity.name.tag.other.html",
88
+ "punctuation.definition.tag.html",
89
+ "entity.name.tag.block.any.html",
90
+ "meta.tag.inline.any.html",
91
+ "entity.name.tag.localname.xml",
92
+ "entity.name.tag.xml"
93
+ ],
94
+ "settings": {
95
+ "foreground": "#2A150D"
96
+ }
97
+ },
98
+ {
99
+ "name": "HTML and XML Attributes",
100
+ "scope": [
101
+ "entity.other.attribute-name.html",
102
+ "entity.other.attribute-name.xml",
103
+ "entity.other.attribute-name.localname.xml"
104
+ ],
105
+ "settings": {
106
+ "foreground": "#804028"
107
+ }
108
+ },
109
+ {
110
+ "name": "HTML and XML Strings",
111
+ "scope": ["text.html.basic", "text.xml"],
112
+ "settings": {
113
+ "foreground": "#AA5535"
114
+ }
115
+ },
116
+ {
117
+ "name": "HTML and XML Punctuation",
118
+ "scope": [
119
+ "punctuation.definition.tag.xml",
120
+ "punctuation.definition.tag.begin.html",
121
+ "punctuation.definition.tag.end.html",
122
+ "meta.tag.preprocessor.xml"
123
+ ],
124
+ "settings": {
125
+ "foreground": "#2A150D"
126
+ }
127
+ },
128
+ {
129
+ "scope": "entity.name.tag.css",
130
+ "settings": {
131
+ "foreground": "#914F15"
132
+ }
133
+ },
134
+ {
135
+ "scope": [
136
+ "entity.other.attribute-name.class.css",
137
+ "entity.other.attribute-name.class.mixin.css",
138
+ "entity.other.attribute-name.id.css",
139
+ "entity.other.attribute-name.parent-selector.css",
140
+ "entity.other.attribute-name.pseudo-class.css",
141
+ "entity.other.attribute-name.pseudo-element.css",
142
+ "source.css.less entity.other.attribute-name.id",
143
+ "entity.other.attribute-name.attribute.scss",
144
+ "entity.other.attribute-name.scss"
145
+ ],
146
+ "settings": {
147
+ "foreground": "#AA5535"
148
+ }
149
+ },
150
+ {
151
+ "scope": "invalid",
152
+ "settings": {
153
+ "foreground": "#FF4500"
154
+ }
155
+ },
156
+ {
157
+ "name": "JS Decorators",
158
+ "scope": ["meta.decorator.js"],
159
+ "settings": {
160
+ "fontStyle": "italic",
161
+ "foreground": "#0A3055"
162
+ }
163
+ },
164
+ {
165
+ "name": "JS Imports",
166
+ "scope": [
167
+ "meta.import.js",
168
+ "meta.export.js",
169
+ "meta.import.ts",
170
+ "meta.export.ts"
171
+ ],
172
+ "settings": {
173
+ "foreground": "#1E90FF"
174
+ }
175
+ },
176
+ {
177
+ "name": "Boolean Vals",
178
+ "scope": [
179
+ "constant.language.boolean.true.js",
180
+ "constant.language.boolean.false.js",
181
+ "constant.language.boolean.true.ts",
182
+ "constant.language.boolean.false.ts",
183
+ "constant.language.boolean.true.apex",
184
+ "constant.language.boolean.false.apex"
185
+ ],
186
+ "settings": {
187
+ "foreground": "#58007E"
188
+ }
189
+ },
190
+ {
191
+ "name": "JS and Apex Control Keywords",
192
+ "scope": [
193
+ "keyword.control.import.js",
194
+ "keyword.control.from.js",
195
+ "keyword.control.export.js",
196
+ "keyword.control.conditional",
197
+ "keyword.type.apex",
198
+ "keyword.other.class.apex",
199
+ "keyword.control.import.ts",
200
+ "keyword.control.export.ts"
201
+ ],
202
+ "settings": {
203
+ "foreground": "#2A150D"
204
+ }
205
+ },
206
+ {
207
+ "name": "JSON Punctuation",
208
+ "scope": [
209
+ "punctuation.definition.array.begin.json",
210
+ "punctuation.definition.array.end.json",
211
+ "punctuation.definition.dictionary.begin.json",
212
+ "punctuation.definition.dictionary.end.json",
213
+ "punctuation.separator.array.json",
214
+ "punctuation.separator.dictionary.key-value.json"
215
+ ],
216
+ "settings": {
217
+ "foreground": "#005555"
218
+ }
219
+ },
220
+ {
221
+ "name": "SOQL and Apex Operator Keywords",
222
+ "scope": [
223
+ "keyword.operator.query",
224
+ "keyword.operator.assignment",
225
+ "keyword.operator.conditional.colon",
226
+ "keyword.operator.comparison",
227
+ "keyword.operator.relational",
228
+ "keyword.operator.arithmetic",
229
+ "keyword.operator.increment",
230
+ "keyword.operator.decrement",
231
+ "keyword.operator.iterator.colon.apex"
232
+ ],
233
+ "settings": {
234
+ "foreground": "#2C3E50",
235
+ "fontStyle": "italic bold"
236
+ }
237
+ },
238
+ {
239
+ "name": "SOQL Fields",
240
+ "scope": ["keyword.query.field"],
241
+ "settings": {
242
+ "foreground": "#2C3E50"
243
+ }
244
+ },
245
+ {
246
+ "name": "JS and Apex Classes",
247
+ "scope": [
248
+ "entity.other.inherited-class.js",
249
+ "entity.name.type.class.js",
250
+ "sharing.modifier.apex",
251
+ "entity.name.type.class.apex"
252
+ ],
253
+ "settings": {
254
+ "foreground": "#550000"
255
+ }
256
+ },
257
+ {
258
+ "name": "JS and Apex Functions",
259
+ "scope": [
260
+ "meta.definition.method.js",
261
+ "meta.method.declaration.js",
262
+ "meta.function-call.js",
263
+ "meta.function-call.ts",
264
+ "entity.name.function.apex",
265
+ "meta.function.expression.ts"
266
+ ],
267
+ "settings": {
268
+ "foreground": "#914F15"
269
+ }
270
+ },
271
+ {
272
+ "name": "JS and Apex Parameters",
273
+ "scope": [
274
+ "variable.parameter.js",
275
+ "meta.parameters.js",
276
+ "meta.objectliteral.js",
277
+ "meta.block.js",
278
+ "meta.block.ts",
279
+ "entity.name.variable.parameter.apex",
280
+ "meta.definition.variable.ts",
281
+ "variable.other.object.ts",
282
+ "meta.var.expr.ts",
283
+ "variable.other.readwrite.ts",
284
+ "meta.var.expr.ts"
285
+ ],
286
+ "settings": {
287
+ "foreground": "#1460AA"
288
+ }
289
+ },
290
+ {
291
+ "name": "JS and Apex Variables",
292
+ "scope": [
293
+ "variable.other.constant.js",
294
+ "variable.object.property.js",
295
+ "variable.other.object.js",
296
+ "variable.other.property.js",
297
+ "variable.other.readwrite.js",
298
+ "variable.language.this.js",
299
+ "entity.name.variable.local.apex",
300
+ "variable.other.readwrite.apex",
301
+ "entity.name.variable.property.apex",
302
+ "entity.name.variable.field.apex",
303
+ "variable.other.object.apex",
304
+ "variable.object.readwrite.apex",
305
+ "variable.other.object.property.apex"
306
+ ],
307
+ "settings": {
308
+ "foreground": "#0A3055"
309
+ }
310
+ },
311
+ {
312
+ "name": "JS and Apex Punctuation",
313
+ "scope": [
314
+ "punctuation.squarebracket.close.apex",
315
+ "punctuation.squarebracket.open.apex",
316
+ "punctuation.parenthesis.open.apex",
317
+ "punctuation.parenthesis.close.apex",
318
+ "punctuation.definition.typeparameters.begin.apex",
319
+ "punctuation.definition.typeparameters.end.apex",
320
+ "punctuation.curlybrace.close.apex",
321
+ "punctuation.curlybrace.open.apex",
322
+ "punctuation.accessor.apex",
323
+ "punctuation.terminator.statement.apex",
324
+ "punctuation.accessor.js",
325
+ "meta.brace.round.js",
326
+ "meta.brace.square.js",
327
+ "punctuation.definition.block.js",
328
+ "punctuation.terminator.statement.js",
329
+ "punctuation.separator.comma.js",
330
+ "punctuation.separator.key-value.js"
331
+ ],
332
+ "settings": {
333
+ "foreground": "#005555"
334
+ }
335
+ },
336
+ {
337
+ "scope": "markup.underline",
338
+ "settings": {
339
+ "fontStyle": "underline"
340
+ }
341
+ },
342
+ {
343
+ "scope": "markup.bold",
344
+ "settings": {
345
+ "fontStyle": "bold",
346
+ "foreground": "#1E90FF"
347
+ }
348
+ },
349
+ {
350
+ "scope": "markup.heading",
351
+ "settings": {
352
+ "fontStyle": "bold",
353
+ "foreground": "#1E90FF"
354
+ }
355
+ },
356
+ {
357
+ "scope": "markup.italic",
358
+ "settings": {
359
+ "fontStyle": "italic"
360
+ }
361
+ },
362
+ {
363
+ "scope": "markup.inserted",
364
+ "settings": {
365
+ "foreground": "#22313F"
366
+ }
367
+ },
368
+ {
369
+ "scope": "markup.deleted",
370
+ "settings": {
371
+ "foreground": "#f1a9a0"
372
+ }
373
+ },
374
+ {
375
+ "scope": "markup.changed",
376
+ "settings": {
377
+ "foreground": "#F64747"
378
+ }
379
+ },
380
+ {
381
+ "scope": "punctuation.definition.quote.begin.markdown",
382
+ "settings": {
383
+ "foreground": "#87d37c"
384
+ }
385
+ },
386
+ {
387
+ "scope": "punctuation.definition.list.begin.markdown",
388
+ "settings": {
389
+ "foreground": "#6495ed"
390
+ }
391
+ },
392
+ {
393
+ "scope": "markup.inline.raw",
394
+ "settings": {
395
+ "foreground": "#f1a9a0"
396
+ }
397
+ },
398
+ {
399
+ "scope": "meta.preprocessor",
400
+ "settings": {
401
+ "foreground": "#7bacdd"
402
+ }
403
+ },
404
+ {
405
+ "scope": "meta.preprocessor.string",
406
+ "settings": {
407
+ "foreground": "#ffecdb"
408
+ }
409
+ },
410
+ {
411
+ "scope": "meta.preprocessor.numeric",
412
+ "settings": {
413
+ "foreground": "#22313F"
414
+ }
415
+ },
416
+ {
417
+ "scope": "meta.structure.dictionary.key.python",
418
+ "settings": {
419
+ "foreground": "#2C3E50"
420
+ }
421
+ },
422
+ {
423
+ "scope": "meta.diff.header",
424
+ "settings": {
425
+ "foreground": "#1E90FF"
426
+ }
427
+ },
428
+ {
429
+ "scope": "storage",
430
+ "settings": {
431
+ "foreground": "#1F3A93"
432
+ }
433
+ },
434
+ {
435
+ "scope": "storage.type",
436
+ "settings": {
437
+ "foreground": "#1F3A93"
438
+ }
439
+ },
440
+ {
441
+ "scope": "storage.modifier",
442
+ "settings": {
443
+ "foreground": "#000060"
444
+ }
445
+ },
446
+ {
447
+ "scope": "string",
448
+ "settings": {
449
+ "foreground": "#ffecdb"
450
+ }
451
+ },
452
+ {
453
+ "scope": "string.tag",
454
+ "settings": {
455
+ "foreground": "#ffecdb"
456
+ }
457
+ },
458
+ {
459
+ "scope": "string.value",
460
+ "settings": {
461
+ "foreground": "#ffecdb"
462
+ }
463
+ },
464
+ {
465
+ "scope": "string.regexp",
466
+ "settings": {
467
+ "foreground": "#ff7f50"
468
+ }
469
+ },
470
+ {
471
+ "name": "String interpolation",
472
+ "scope": [
473
+ "punctuation.definition.template-expression.begin",
474
+ "punctuation.definition.template-expression.end",
475
+ "punctuation.section.embedded"
476
+ ],
477
+ "settings": {
478
+ "foreground": "#006060"
479
+ }
480
+ },
481
+ {
482
+ "name": "Reset JavaScript string interpolation expression",
483
+ "scope": ["meta.template.expression"],
484
+ "settings": {
485
+ "foreground": "#ececec"
486
+ }
487
+ },
488
+ {
489
+ "scope": [
490
+ "support.type.vendored.property-name",
491
+ "support.type.property-name",
492
+ "variable.css",
493
+ "variable.scss",
494
+ "variable.other.less",
495
+ "source.coffee.embedded"
496
+ ],
497
+ "settings": {
498
+ "foreground": "#2574A9"
499
+ }
500
+ },
501
+ {
502
+ "scope": [
503
+ "keyword.operator.new",
504
+ "keyword.operator.expression",
505
+ "keyword.operator.cast",
506
+ "keyword.operator.sizeof",
507
+ "keyword.operator.instanceof",
508
+ "keyword.operator.logical.python"
509
+ ],
510
+ "settings": {
511
+ "foreground": "#006060"
512
+ }
513
+ },
514
+ {
515
+ "scope": "keyword.other.unit",
516
+ "settings": {
517
+ "foreground": "#22313F"
518
+ }
519
+ },
520
+ {
521
+ "scope": [
522
+ "punctuation.section.embedded.begin.php",
523
+ "punctuation.section.embedded.end.php"
524
+ ],
525
+ "settings": {
526
+ "foreground": "#006060"
527
+ }
528
+ },
529
+ {
530
+ "scope": "support.function.git-rebase",
531
+ "settings": {
532
+ "foreground": "#2C3E50"
533
+ }
534
+ },
535
+ {
536
+ "scope": "constant.sha.git-rebase",
537
+ "settings": {
538
+ "foreground": "#22313F"
539
+ }
540
+ },
541
+ {
542
+ "name": "coloring of the Java import and package identifiers",
543
+ "scope": [
544
+ "storage.modifier.import.java",
545
+ "variable.language.wildcard.java",
546
+ "storage.modifier.package.java"
547
+ ],
548
+ "settings": {
549
+ "foreground": "#ECECEC"
550
+ }
551
+ },
552
+ {
553
+ "name": "this.self",
554
+ "scope": "variable.language",
555
+ "settings": {
556
+ "foreground": "#006060"
557
+ }
558
+ },
559
+ {
560
+ "scope": "token.info-token",
561
+ "settings": {
562
+ "foreground": "#6495ED"
563
+ }
564
+ },
565
+ {
566
+ "scope": "token.warn-token",
567
+ "settings": {
568
+ "foreground": "#f7ca18"
569
+ }
570
+ },
571
+ {
572
+ "scope": "token.error-token",
573
+ "settings": {
574
+ "foreground": "#FF4500"
575
+ }
576
+ },
577
+ {
578
+ "scope": "token.debug-token",
579
+ "settings": {
580
+ "foreground": "#BF5EEC"
581
+ }
582
+ },
583
+ {
584
+ "scope": "comment",
585
+ "settings": {
586
+ "foreground": "#6C7076"
587
+ }
588
+ },
589
+ {
590
+ "scope": "string",
591
+ "settings": {
592
+ "foreground": "#0F4880"
593
+ }
594
+ },
595
+ {
596
+ "scope": "keyword - keyword.operator",
597
+ "settings": {
598
+ "foreground": "#2A150D"
599
+ }
600
+ },
601
+ {
602
+ "scope": "keyword.control",
603
+ "settings": {
604
+ "foreground": "#2A150D"
605
+ }
606
+ },
607
+ {
608
+ "scope": "storage",
609
+ "settings": {
610
+ "foreground": "#1F3A93"
611
+ }
612
+ },
613
+ {
614
+ "scope": "storage.type",
615
+ "settings": {
616
+ "foreground": "#1F3A93"
617
+ }
618
+ },
619
+ {
620
+ "scope": "entity.name.type",
621
+ "settings": {
622
+ "foreground": "#00b5b5"
623
+ }
624
+ },
625
+ {
626
+ "scope": "entity.name.class",
627
+ "settings": {
628
+ "foreground": "#00b5b5"
629
+ }
630
+ },
631
+ {
632
+ "scope": "support.type",
633
+ "settings": {
634
+ "foreground": "#00b5b5"
635
+ }
636
+ },
637
+ {
638
+ "scope": "support.class",
639
+ "settings": {
640
+ "foreground": "#00b5b5"
641
+ }
642
+ },
643
+ {
644
+ "scope": "support.function",
645
+ "settings": {
646
+ "foreground": "#0F4880"
647
+ }
648
+ }
649
+ ]
650
+ }