@vscode/codicons 0.0.43 → 0.0.44

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 (63) hide show
  1. package/.fantasticonrc.js +12 -1
  2. package/.github/workflows/build.yml +17 -14
  3. package/dist/codicon.css +8 -3
  4. package/dist/codicon.csv +10 -2
  5. package/dist/codicon.html +48 -8
  6. package/dist/codicon.svg +1 -1
  7. package/dist/codicon.ttf +0 -0
  8. package/dist/codiconsLibrary.ts +7 -2
  9. package/package.json +1 -1
  10. package/scripts/export-to-ts.js +9 -2
  11. package/scripts/svg-sprite.js +34 -6
  12. package/src/icons/chat-sparkle-error.svg +1 -1
  13. package/src/icons/clockface.svg +1 -0
  14. package/src/icons/cloud-download.svg +1 -1
  15. package/src/icons/cloud-small.svg +1 -0
  16. package/src/icons/cloud-upload.svg +1 -1
  17. package/src/icons/collection-small.svg +1 -0
  18. package/src/icons/copilot-blocked.svg +1 -1
  19. package/src/icons/copilot-error.svg +1 -1
  20. package/src/icons/copilot-in-progress.svg +1 -1
  21. package/src/icons/copilot-success.svg +1 -1
  22. package/src/icons/copilot-warning.svg +1 -1
  23. package/src/icons/debug-continue.svg +1 -1
  24. package/src/icons/debug-pause.svg +1 -1
  25. package/src/icons/debug-restart.svg +1 -1
  26. package/src/icons/debug-reverse-continue.svg +1 -1
  27. package/src/icons/debug-start.svg +1 -1
  28. package/src/icons/debug-step-back.svg +1 -1
  29. package/src/icons/debug-step-into.svg +1 -1
  30. package/src/icons/debug-step-out.svg +1 -1
  31. package/src/icons/debug-step-over.svg +1 -1
  32. package/src/icons/debug-stop.svg +1 -1
  33. package/src/icons/empty-window.svg +1 -1
  34. package/src/icons/exclude.svg +1 -1
  35. package/src/icons/extensions-large.svg +1 -1
  36. package/src/icons/extensions.svg +1 -1
  37. package/src/icons/filter-filled.svg +1 -1
  38. package/src/icons/filter.svg +1 -1
  39. package/src/icons/folder-active.svg +1 -1
  40. package/src/icons/git-branch-changes.svg +1 -1
  41. package/src/icons/git-branch-conflicts.svg +1 -1
  42. package/src/icons/git-branch-staged-changes.svg +1 -1
  43. package/src/icons/git-pull-request-create.svg +1 -1
  44. package/src/icons/git-pull-request-done.svg +1 -1
  45. package/src/icons/git-stash-apply.svg +1 -1
  46. package/src/icons/git-stash-pop.svg +1 -1
  47. package/src/icons/git-stash.svg +1 -1
  48. package/src/icons/new-collection.svg +1 -1
  49. package/src/icons/new-file.svg +1 -1
  50. package/src/icons/new-folder.svg +1 -1
  51. package/src/icons/person-add.svg +1 -1
  52. package/src/icons/run-all-coverage.svg +1 -1
  53. package/src/icons/run-coverage.svg +1 -1
  54. package/src/icons/run-errors.svg +1 -1
  55. package/src/icons/session-in-progress.svg +1 -0
  56. package/src/icons/unarchive.svg +1 -0
  57. package/src/icons/unfold.svg +1 -1
  58. package/src/icons/vm-active.svg +1 -1
  59. package/src/icons/vm-pending.svg +1 -1
  60. package/src/icons/vm-small.svg +1 -0
  61. package/src/icons/window-active.svg +1 -1
  62. package/src/template/mapping.json +1698 -633
  63. package/src/icons/git-lens.svg +0 -1
package/.fantasticonrc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  var pkg = require('./package.json');
3
3
  var path = require('path');
4
- var codepoints = require('./src/template/mapping.json');
4
+ var mapping = require('./src/template/mapping.json');
5
5
 
6
6
  // Ensure paths are platform-agnostic for Windows CI
7
7
  var inputDir = path.resolve(__dirname, 'src', 'icons');
@@ -9,6 +9,17 @@ var outputDir = path.resolve(__dirname, 'dist');
9
9
  var templateHtml = path.resolve(__dirname, 'src', 'template', 'preview.hbs');
10
10
  var templateCss = path.resolve(__dirname, 'src', 'template', 'styles.hbs');
11
11
 
12
+ // Convert new mapping format back to alias -> code format for fantasticon
13
+ // New format: { "code": ["alias1", "alias2", ...] }
14
+ // Fantasticon expects: { "alias1": code, "alias2": code, ... }
15
+ var codepoints = {};
16
+ Object.entries(mapping).forEach(function([code, aliases]) {
17
+ var codeNum = parseInt(code);
18
+ aliases.forEach(function(alias) {
19
+ codepoints[alias] = codeNum;
20
+ });
21
+ });
22
+
12
23
  module.exports = {
13
24
  name: 'codicon',
14
25
  prefix: 'codicon',
@@ -31,7 +31,7 @@ jobs:
31
31
  name: codicon-font-${{ github.sha }}.ttf
32
32
  path: dist/codicon.ttf
33
33
 
34
- - name: PR to microsoft/vscode # TODO: Separate "deploy:" step?
34
+ - name: PR to microsoft/vscode
35
35
  env:
36
36
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
37
  run: |
@@ -42,23 +42,26 @@ jobs:
42
42
  cd vscode
43
43
  git checkout -b $BRANCH
44
44
 
45
- cp ../dist/codicon.ttf src/vs/base/browser/ui/codicons/codicon/
46
- cp ../dist/codiconsLibrary.ts src/vs/base/common/
45
+ cp -f ../dist/codicon.ttf src/vs/base/browser/ui/codicons/codicon/
46
+ cp -f ../dist/codiconsLibrary.ts src/vs/base/common/
47
47
  git add .
48
48
 
49
49
  git config user.name "${{ github.actor }}"
50
50
  git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
51
- git commit -m "$MESSAGE"
52
51
 
53
- # TODO: This doesn't work yet due to permissions
54
- #
55
- # git push -f origin $BRANCH
52
+ if git diff-index --quiet HEAD --; then
53
+ echo "No changes to commit"
54
+ exit 0
55
+ fi
56
+
57
+ git commit -m "$MESSAGE"
58
+ git push -f https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/microsoft/vscode.git $BRANCH
56
59
 
57
- # echo "${{ secrets.ACCESS_TOKEN }}" > token.txt
58
- # gh auth login --with-token < token.txt
60
+ echo "${{ secrets.GITHUB_TOKEN }}" > token.txt
61
+ gh auth login --with-token < token.txt
59
62
 
60
- # gh pr create \
61
- # --title "$MESSAGE" \
62
- # --body "" \
63
- # --base "main" \
64
- # --head "$BRANCH"
63
+ gh pr create \
64
+ --title "[Codicon bump] $MESSAGE" \
65
+ --body "This PR was created automatically from [vscode-codicons](https://github.com/microsoft/vscode-codicons)" \
66
+ --base "main" \
67
+ --head "$BRANCH"
package/dist/codicon.css CHANGED
@@ -6,7 +6,7 @@
6
6
  @font-face {
7
7
  font-family: "codicon";
8
8
  font-display: block;
9
- src: url("./codicon.ttf?3ef8078adef4793b3c5d7a7651cd9048") format("truetype");
9
+ src: url("./codicon.ttf?c7330ef9199d97dc5b8aae3449a5dc27") format("truetype");
10
10
  }
11
11
 
12
12
  .codicon[class*='codicon-'] {
@@ -308,6 +308,7 @@
308
308
  .codicon-italic:before { content: "\eb0d" }
309
309
  .codicon-jersey:before { content: "\eb0e" }
310
310
  .codicon-json:before { content: "\eb0f" }
311
+ .codicon-bracket:before { content: "\eb0f" }
311
312
  .codicon-kebab-vertical:before { content: "\eb10" }
312
313
  .codicon-key:before { content: "\eb11" }
313
314
  .codicon-law:before { content: "\eb12" }
@@ -534,7 +535,6 @@
534
535
  .codicon-graph-line:before { content: "\ebe2" }
535
536
  .codicon-graph-scatter:before { content: "\ebe3" }
536
537
  .codicon-pie-chart:before { content: "\ebe4" }
537
- .codicon-bracket:before { content: "\eb0f" }
538
538
  .codicon-bracket-dot:before { content: "\ebe5" }
539
539
  .codicon-bracket-error:before { content: "\ebe6" }
540
540
  .codicon-lock-small:before { content: "\ebe7" }
@@ -665,7 +665,6 @@
665
665
  .codicon-cursor:before { content: "\ec5c" }
666
666
  .codicon-eraser:before { content: "\ec5d" }
667
667
  .codicon-file-text:before { content: "\ec5e" }
668
- .codicon-git-lens:before { content: "\ec5f" }
669
668
  .codicon-quotes:before { content: "\ec60" }
670
669
  .codicon-rename:before { content: "\ec61" }
671
670
  .codicon-run-with-deps:before { content: "\ec62" }
@@ -689,5 +688,11 @@
689
688
  .codicon-window-active:before { content: "\ec72" }
690
689
  .codicon-forward:before { content: "\ec73" }
691
690
  .codicon-download:before { content: "\ec74" }
691
+ .codicon-clockface:before { content: "\ec75" }
692
+ .codicon-unarchive:before { content: "\ec76" }
693
+ .codicon-session-in-progress:before { content: "\ec77" }
694
+ .codicon-collection-small:before { content: "\ec78" }
695
+ .codicon-vm-small:before { content: "\ec79" }
696
+ .codicon-cloud-small:before { content: "\ec7a" }
692
697
  .codicon-git-fetch:before { content: "\f101" }
693
698
  .codicon-vm-pending:before { content: "\f102" }
package/dist/codicon.csv CHANGED
@@ -67,9 +67,11 @@ circle,,EABC
67
67
  circuit-board,,EABE
68
68
  clear-all,,EABF
69
69
  clippy,,EAC0
70
+ clockface,,EC75
70
71
  close-all,,EAC1
71
72
  close,,EA76
72
73
  cloud-download,,EAC2
74
+ cloud-small,,EC7A
73
75
  cloud-upload,,EAC3
74
76
  cloud,,EBAA
75
77
  code-oss,,EC2B
@@ -77,6 +79,7 @@ code-review,,EC37
77
79
  code,,EAC4
78
80
  coffee,,EC15
79
81
  collapse-all,,EAC5
82
+ collection-small,,EC78
80
83
  collection,,EC57
81
84
  color-mode,,EAC6
82
85
  combine,,EBB6
@@ -121,7 +124,8 @@ debug-breakpoint-log,,EAAB
121
124
  debug-breakpoint-unsupported,,EB8C
122
125
  debug-connected,,EC63
123
126
  debug-console,,EB9B
124
- debug-continue-small,,EACF
127
+ debug-continue-small,,EBE0
128
+ debug-continue,,EACF
125
129
  debug-coverage,,EBDD
126
130
  debug-disconnect,,EAD0
127
131
  debug-line-by-line,,EBD0
@@ -206,7 +210,6 @@ git-branch,,EA68
206
210
  git-commit,,EAFC
207
211
  git-compare,,EAFD
208
212
  git-fetch,,F101
209
- git-lens,,EC5F
210
213
  git-merge,,EAFE
211
214
  git-pull-request-closed,,EBDA
212
215
  git-pull-request-create,,EBBC
@@ -287,6 +290,7 @@ lightbulb-sparkle,,EC1F
287
290
  lightbulb,,EA61
288
291
  link-external,,EB14
289
292
  link,,EB15
293
+ list-filter,,EB83
290
294
  list-flat,,EB84
291
295
  list-ordered,,EB16
292
296
  list-selection,,EB85
@@ -346,6 +350,7 @@ pin,,EB2B
346
350
  pinned-dirty,,EBB2
347
351
  pinned,,EBA0
348
352
  play-circle,,EBA6
353
+ play,,EB2C
349
354
  plug,,EB2D
350
355
  preserve-case,,EB2E
351
356
  preview,,EB2F
@@ -410,6 +415,7 @@ send,,EC0F
410
415
  server-environment,,EBA3
411
416
  server-process,,EBA2
412
417
  server,,EB50
418
+ session-in-progress,,EC77
413
419
  settings-gear,,EB51
414
420
  settings,,EB52
415
421
  share,,EC25
@@ -487,6 +493,7 @@ twitter,,EB72
487
493
  type-hierarchy-sub,,EBBA
488
494
  type-hierarchy-super,,EBBB
489
495
  type-hierarchy,,EBB9
496
+ unarchive,,EC76
490
497
  unfold,,EB73
491
498
  ungroup-by-ref-type,,EB98
492
499
  unlock,,EB74
@@ -500,6 +507,7 @@ vm-connect,,EBA9
500
507
  vm-outline,,EB7A
501
508
  vm-pending,,F102
502
509
  vm-running,,EB7B
510
+ vm-small,,EC79
503
511
  vm,,EA7A
504
512
  vr,,EC18
505
513
  vscode-insiders,,EC2A
package/dist/codicon.html CHANGED
@@ -697,6 +697,14 @@
697
697
  <span class='label'>clippy</span>
698
698
  <span class='description'></span>
699
699
  </div>
700
+ <div class="icon" data-name="clockface" title="clockface">
701
+ <span class="inner">
702
+ <i class="codicon codicon-clockface" aria-hidden="true"></i>
703
+ </span>
704
+ <br>
705
+ <span class='label'>clockface</span>
706
+ <span class='description'></span>
707
+ </div>
700
708
  <div class="icon" data-name="close-all" title="close-all">
701
709
  <span class="inner">
702
710
  <i class="codicon codicon-close-all" aria-hidden="true"></i>
@@ -721,6 +729,14 @@
721
729
  <span class='label'>cloud-download</span>
722
730
  <span class='description'></span>
723
731
  </div>
732
+ <div class="icon" data-name="cloud-small" title="cloud-small">
733
+ <span class="inner">
734
+ <i class="codicon codicon-cloud-small" aria-hidden="true"></i>
735
+ </span>
736
+ <br>
737
+ <span class='label'>cloud-small</span>
738
+ <span class='description'></span>
739
+ </div>
724
740
  <div class="icon" data-name="cloud-upload" title="cloud-upload">
725
741
  <span class="inner">
726
742
  <i class="codicon codicon-cloud-upload" aria-hidden="true"></i>
@@ -777,6 +793,14 @@
777
793
  <span class='label'>collapse-all</span>
778
794
  <span class='description'></span>
779
795
  </div>
796
+ <div class="icon" data-name="collection-small" title="collection-small">
797
+ <span class="inner">
798
+ <i class="codicon codicon-collection-small" aria-hidden="true"></i>
799
+ </span>
800
+ <br>
801
+ <span class='label'>collection-small</span>
802
+ <span class='description'></span>
803
+ </div>
780
804
  <div class="icon" data-name="collection" title="collection">
781
805
  <span class="inner">
782
806
  <i class="codicon codicon-collection" aria-hidden="true"></i>
@@ -1817,14 +1841,6 @@
1817
1841
  <span class='label'>git-fetch</span>
1818
1842
  <span class='description'></span>
1819
1843
  </div>
1820
- <div class="icon" data-name="git-lens" title="git-lens">
1821
- <span class="inner">
1822
- <i class="codicon codicon-git-lens" aria-hidden="true"></i>
1823
- </span>
1824
- <br>
1825
- <span class='label'>git-lens</span>
1826
- <span class='description'></span>
1827
- </div>
1828
1844
  <div class="icon" data-name="git-merge" title="git-merge">
1829
1845
  <span class="inner">
1830
1846
  <i class="codicon codicon-git-merge" aria-hidden="true"></i>
@@ -3473,6 +3489,14 @@
3473
3489
  <span class='label'>server</span>
3474
3490
  <span class='description'></span>
3475
3491
  </div>
3492
+ <div class="icon" data-name="session-in-progress" title="session-in-progress">
3493
+ <span class="inner">
3494
+ <i class="codicon codicon-session-in-progress" aria-hidden="true"></i>
3495
+ </span>
3496
+ <br>
3497
+ <span class='label'>session-in-progress</span>
3498
+ <span class='description'></span>
3499
+ </div>
3476
3500
  <div class="icon" data-name="settings-gear" title="settings-gear">
3477
3501
  <span class="inner">
3478
3502
  <i class="codicon codicon-settings-gear" aria-hidden="true"></i>
@@ -4121,6 +4145,14 @@
4121
4145
  <span class='label'>type-hierarchy</span>
4122
4146
  <span class='description'></span>
4123
4147
  </div>
4148
+ <div class="icon" data-name="unarchive" title="unarchive">
4149
+ <span class="inner">
4150
+ <i class="codicon codicon-unarchive" aria-hidden="true"></i>
4151
+ </span>
4152
+ <br>
4153
+ <span class='label'>unarchive</span>
4154
+ <span class='description'></span>
4155
+ </div>
4124
4156
  <div class="icon" data-name="unfold" title="unfold">
4125
4157
  <span class="inner">
4126
4158
  <i class="codicon codicon-unfold" aria-hidden="true"></i>
@@ -4233,6 +4265,14 @@
4233
4265
  <span class='label'>vm-running</span>
4234
4266
  <span class='description'></span>
4235
4267
  </div>
4268
+ <div class="icon" data-name="vm-small" title="vm-small">
4269
+ <span class="inner">
4270
+ <i class="codicon codicon-vm-small" aria-hidden="true"></i>
4271
+ </span>
4272
+ <br>
4273
+ <span class='label'>vm-small</span>
4274
+ <span class='description'></span>
4275
+ </div>
4236
4276
  <div class="icon" data-name="vm" title="vm">
4237
4277
  <span class="inner">
4238
4278
  <i class="codicon codicon-vm" aria-hidden="true"></i>