@vscode/codicons 0.0.46-1 → 0.0.46-10

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 (43) hide show
  1. package/.github/prompts/build-new-icons.prompt.md +32 -0
  2. package/dist/codicon.css +24 -1
  3. package/dist/codicon.csv +23 -1
  4. package/dist/codicon.html +5198 -1159
  5. package/dist/codicon.svg +1 -1
  6. package/dist/codicon.ttf +0 -0
  7. package/dist/codiconsLibrary.ts +23 -0
  8. package/dist/metadata.json +4798 -1127
  9. package/package.json +1 -1
  10. package/src/icons/account.svg +1 -1
  11. package/src/icons/add-small.svg +1 -1
  12. package/src/icons/agent.svg +1 -1
  13. package/src/icons/circle-slash-compact.svg +1 -0
  14. package/src/icons/copilot-compact.svg +1 -0
  15. package/src/icons/error-compact.svg +1 -0
  16. package/src/icons/folder-compact.svg +1 -0
  17. package/src/icons/folder-opened-compact.svg +1 -0
  18. package/src/icons/gear-compact.svg +1 -0
  19. package/src/icons/git-branch-compact.svg +1 -0
  20. package/src/icons/important-compact.svg +1 -0
  21. package/src/icons/important.svg +1 -0
  22. package/src/icons/library-compact.svg +1 -0
  23. package/src/icons/lightbulb-autofix.svg +1 -1
  24. package/src/icons/lightbulb-empty.svg +1 -1
  25. package/src/icons/lightbulb-sparkle.svg +1 -1
  26. package/src/icons/lightbulb.svg +1 -1
  27. package/src/icons/pass-compact.svg +1 -0
  28. package/src/icons/preview.svg +1 -1
  29. package/src/icons/record-keys-compact.svg +1 -0
  30. package/src/icons/remote-compact.svg +1 -0
  31. package/src/icons/repo-compact.svg +1 -0
  32. package/src/icons/repo-forked-compact.svg +1 -0
  33. package/src/icons/rocket-compact.svg +1 -0
  34. package/src/icons/rocket.svg +1 -1
  35. package/src/icons/share-window.svg +1 -0
  36. package/src/icons/shield-compact.svg +1 -0
  37. package/src/icons/sparkle-compact.svg +1 -0
  38. package/src/icons/symbol-color-compact.svg +1 -0
  39. package/src/icons/unpin.svg +1 -0
  40. package/src/icons/warning-compact.svg +1 -0
  41. package/src/icons/window-compact.svg +1 -0
  42. package/src/template/mapping.json +69 -0
  43. package/src/template/metadata.json +4798 -1127
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: Build codicons and update mapping.json & metadata.json after adding new icons
3
+ argument-hint: List the new icon names you added (e.g. "wand, sparkle-filled")
4
+ tools: ['execute/runInTerminal', 'execute/getTerminalOutput', 'read', 'edit', 'search']
5
+ ---
6
+
7
+ New SVG icons have been added to `src/icons/`. Your job is to build the font, update the template files, and verify everything is consistent.
8
+
9
+ ## Steps
10
+
11
+ 1. **Identify new icons** — compare `src/icons/*.svg` against the entries in `src/template/metadata.json` to find icons that don't have metadata yet. List them.
12
+
13
+ 2. **Run the build** — execute `npm run build` in the `vscode-codicons` workspace root. Wait for it to finish and confirm it succeeds (exit code 0). If it fails, diagnose and fix the issue before continuing.
14
+
15
+ 3. **Check mapping.json** — read `src/template/mapping.json`. The build's `fantasticon` step auto-generates this file. Verify each new icon appears as a primary name under its codepoint. If any new icon is missing, something went wrong in the build — investigate.
16
+
17
+ 4. **Update metadata.json** — for each new icon that is missing from `src/template/metadata.json`, add an entry with this shape:
18
+ ```json
19
+ "<icon-name>": {
20
+ "tags": ["<keyword1>", "<keyword2>", ...],
21
+ "category": "<category>",
22
+ "description": "<Short description of the icon>"
23
+ }
24
+ ```
25
+ - **tags**: 4–8 search keywords describing the icon's visual appearance and usage.
26
+ - **category**: one of the existing categories already in the file (e.g. `"action"`, `"navigation"`, `"debug"`, `"file"`, `"user"`, `"git"`, `"layout"`, `"editor"`, `"symbol"`, `"status"`, `"media"`, `"device"`, `"misc"`). Pick the best fit.
27
+ - **description**: a concise one-line description.
28
+ - Keep entries sorted alphabetically by icon name.
29
+
30
+ 5. **Run the metadata check** — execute `node scripts/check-metadata.js` and confirm zero missing or orphaned entries.
31
+
32
+ 6. **Summary** — list the new icons added, their codepoints from mapping.json, and their metadata entries.
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?b9e3c71f65a1e12843a58047404a6042") format("truetype");
9
+ src: url("./codicon.ttf?9488f788e84a4f9cb03b52bc094f82eb") format("truetype");
10
10
  }
11
11
 
12
12
  .codicon[class*='codicon-'] {
@@ -707,5 +707,28 @@
707
707
  .codicon-terminal-secure:before { content: "\ec85" }
708
708
  .codicon-chat-import:before { content: "\ec86" }
709
709
  .codicon-chat-export:before { content: "\ec87" }
710
+ .codicon-share-window:before { content: "\ec88" }
711
+ .codicon-circle-slash-compact:before { content: "\ec89" }
712
+ .codicon-copilot-compact:before { content: "\ec8a" }
713
+ .codicon-folder-opened-compact:before { content: "\ec8b" }
714
+ .codicon-folder-compact:before { content: "\ec8c" }
715
+ .codicon-gear-compact:before { content: "\ec8d" }
716
+ .codicon-git-branch-compact:before { content: "\ec8e" }
717
+ .codicon-library-compact:before { content: "\ec8f" }
718
+ .codicon-record-keys-compact:before { content: "\ec90" }
719
+ .codicon-remote-compact:before { content: "\ec91" }
720
+ .codicon-repo-forked-compact:before { content: "\ec92" }
721
+ .codicon-repo-compact:before { content: "\ec93" }
722
+ .codicon-shield-compact:before { content: "\ec94" }
723
+ .codicon-sparkle-compact:before { content: "\ec95" }
724
+ .codicon-symbol-color-compact:before { content: "\ec96" }
725
+ .codicon-window-compact:before { content: "\ec97" }
726
+ .codicon-error-compact:before { content: "\ec98" }
727
+ .codicon-warning-compact:before { content: "\ec99" }
728
+ .codicon-pass-compact:before { content: "\ec9a" }
729
+ .codicon-important:before { content: "\ec9b" }
730
+ .codicon-important-compact:before { content: "\ec9c" }
731
+ .codicon-rocket-compact:before { content: "\ec9d" }
732
+ .codicon-unpin:before { content: "\ec9e" }
710
733
  .codicon-vm-pending:before { content: "\f101" }
711
734
  .codicon-git-fetch:before { content: "\f102" }
package/dist/codicon.csv CHANGED
@@ -8,11 +8,13 @@ workspace-unknown,,EBC3
8
8
  workspace-trusted,,EBC1
9
9
  word-wrap,,EB80
10
10
  window,,EAAE
11
+ window-compact,,EC97
11
12
  window-active,,EC72
12
13
  whole-word,,EB7E
13
14
  whitespace,,EB7D
14
15
  watch,,EB7C
15
16
  warning,,EA6C
17
+ warning-compact,,EC99
16
18
  wand,,EBCF
17
19
  vscode,,EC29
18
20
  vscode-insiders,,EC2A
@@ -29,6 +31,7 @@ verified,,EB77
29
31
  verified-filled,,EBE9
30
32
  variable-group,,EBB8
31
33
  unverified,,EB76
34
+ unpin,,EC9E
32
35
  unmute,,EB75
33
36
  unlock,,EB74
34
37
  ungroup-by-ref-type,,EB98
@@ -90,6 +93,7 @@ symbol-enum,,EA95
90
93
  symbol-enum-member,,EB5E
91
94
  symbol-constant,,EB5D
92
95
  symbol-color,,EB5C
96
+ symbol-color-compact,,EC96
93
97
  symbol-class,,EB5B
94
98
  symbol-boolean,,EA8F
95
99
  symbol-array,,EA8A
@@ -104,6 +108,7 @@ split-vertical,,EB57
104
108
  split-horizontal,,EB56
105
109
  sparkle,,EC10
106
110
  sparkle-filled,,EC21
111
+ sparkle-compact,,EC95
107
112
  source-control,,EA68
108
113
  sort-precedence,,EB55
109
114
  snake,,EC16
@@ -112,7 +117,9 @@ skip,,EC6A
112
117
  sign-out,,EA6E
113
118
  sign-in,,EA6F
114
119
  shield,,EB53
120
+ shield-compact,,EC94
115
121
  share,,EC25
122
+ share-window,,EC88
116
123
  settings,,EB52
117
124
  settings-gear,,EB51
118
125
  session-in-progress,,EC77
@@ -144,6 +151,7 @@ rss,,EB47
144
151
  root-folder,,EB46
145
152
  root-folder-opened,,EB45
146
153
  rocket,,EB44
154
+ rocket-compact,,EC9D
147
155
  robot,,EC20
148
156
  request-changes,,EB43
149
157
  report,,EB42
@@ -153,8 +161,10 @@ repo-push,,EB41
153
161
  repo-pull,,EB40
154
162
  repo-pinned,,EC43
155
163
  repo-forked,,EA63
164
+ repo-forked-compact,,EC92
156
165
  repo-force-push,,EB3F
157
166
  repo-fetch,,EC1D
167
+ repo-compact,,EC93
158
168
  repo-clone,,EB3E
159
169
  reply,,EA7D
160
170
  replace,,EB3D
@@ -164,6 +174,7 @@ remove,,EB3B
164
174
  remove-small,,EC7C
165
175
  remote,,EB3A
166
176
  remote-explorer,,EB39
177
+ remote-compact,,EC91
167
178
  regex,,EB38
168
179
  refresh,,EB37
169
180
  references,,EB36
@@ -171,6 +182,7 @@ redo,,EBB0
171
182
  record,,EBA7
172
183
  record-small,,EBFA
173
184
  record-keys,,EA65
185
+ record-keys-compact,,EC90
174
186
  reactions,,EB35
175
187
  radio-tower,,EB34
176
188
  quotes,,EC60
@@ -195,6 +207,7 @@ person-add,,EBCD
195
207
  percentage,,EC33
196
208
  pass,,EBA4
197
209
  pass-filled,,EBB3
210
+ pass-compact,,EC9A
198
211
  paintcan,,EB2A
199
212
  package,,EB29
200
213
  output,,EB9D
@@ -250,9 +263,9 @@ link,,EB15
250
263
  link-external,,EB14
251
264
  lightbulb,,EA61
252
265
  lightbulb-sparkle,,EC1F
253
- lightbulb-empty,,EC40
254
266
  lightbulb-autofix,,EB13
255
267
  library,,EB9C
268
+ library-compact,,EC8F
256
269
  layout,,EBEB
257
270
  layout-statusbar,,EBF5
258
271
  layout-sidebar-right,,EBF4
@@ -292,6 +305,8 @@ info,,EA74
292
305
  index-zero,,EC66
293
306
  indent,,EBF9
294
307
  inbox,,EB09
308
+ important,,EC9B
309
+ important-compact,,EC9C
295
310
  hubot,,EB08
296
311
  horizontal-rule,,EB07
297
312
  home,,EB06
@@ -330,16 +345,20 @@ git-compare,,EAFD
330
345
  git-commit,,EAFC
331
346
  git-branch-staged-changes,,EC6D
332
347
  git-branch-conflicts,,EC6E
348
+ git-branch-compact,,EC8E
333
349
  git-branch-changes,,EC6C
334
350
  gist,,EAFB
335
351
  gist-secret,,EAFA
336
352
  gift,,EAF9
337
353
  gear,,EAF8
354
+ gear-compact,,EC8D
338
355
  game,,EC17
339
356
  forward,,EC73
340
357
  folder,,EA83
341
358
  folder-opened,,EAF7
359
+ folder-opened-compact,,EC8B
342
360
  folder-library,,EBDF
361
+ folder-compact,,EC8C
343
362
  folder-active,,EAF6
344
363
  fold,,EAF5
345
364
  fold-up,,EAF4
@@ -368,6 +387,7 @@ expand-all,,EB95
368
387
  exclude,,EAE5
369
388
  error,,EA87
370
389
  error-small,,EBFB
390
+ error-compact,,EC98
371
391
  eraser,,EC5D
372
392
  empty-window,,EAE4
373
393
  ellipsis,,EA7C
@@ -439,6 +459,7 @@ copilot-not-connected,,EC3E
439
459
  copilot-large,,EC3A
440
460
  copilot-in-progress,,EC4C
441
461
  copilot-error,,EC4D
462
+ copilot-compact,,EC8A
442
463
  copilot-blocked,,EC3D
443
464
  compass,,EBD5
444
465
  compass-dot,,EBD6
@@ -473,6 +494,7 @@ circle,,EABC
473
494
  circle-small,,EC07
474
495
  circle-small-filled,,EB8A
475
496
  circle-slash,,EABD
497
+ circle-slash-compact,,EC89
476
498
  circle-large,,EBB5
477
499
  circle-large-filled,,EBB4
478
500
  circle-filled,,EA71