@vscode/codicons 0.0.46-37 → 0.0.46-38

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.
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: build-new-icons
3
+ description: Use after adding SVG icons to vscode-codicons. Builds the codicon font, verifies generated mappings, adds searchable metadata, and checks icon metadata consistency.
4
+ ---
5
+
6
+ # Build New Icons
7
+
8
+ Use this workflow after new SVG icons are added to `src/icons/`.
9
+
10
+ ## Workflow
11
+
12
+ 1. Compare `src/icons/*.svg` with the entries in `src/template/metadata.json`.
13
+ 2. Identify and list every icon that does not yet have metadata. If the user supplied icon names, verify them against this comparison rather than assuming the list is complete.
14
+ 3. Read `src/template/mapping.json` and allocate the next unused decimal codepoint to each new icon. Add each icon as the primary name under its codepoint and keep the codepoints in ascending order.
15
+ 4. Add an entry to `src/template/metadata.json` for every new icon:
16
+
17
+ ```json
18
+ "<icon-name>": {
19
+ "tags": ["<keyword1>", "<keyword2>"],
20
+ "category": "<category>",
21
+ "description": "<Short description of the icon>"
22
+ }
23
+ ```
24
+
25
+ - Add four to eight search tags that describe the icon's appearance and likely uses.
26
+ - Use the best-fitting category already present in the file, such as `action`, `navigation`, `debug`, `file`, `user`, `git`, `layout`, `editor`, `symbol`, `status`, `media`, `device`, or `misc`.
27
+ - Write a concise, one-line description.
28
+ - Keep entries sorted alphabetically by icon name.
29
+
30
+ 5. Run `npm run build` from the `vscode-codicons` repository root and wait for it to finish.
31
+ 6. If the build fails, diagnose and fix the failure before continuing.
32
+ 7. Verify that every new icon remains a primary name under its assigned codepoint in `src/template/mapping.json`.
33
+ 8. Run `node scripts/check-metadata.js`.
34
+ 9. Confirm that the metadata check reports no missing or orphaned entries.
35
+ 10. Summarize:
36
+ - The new icon names.
37
+ - Their codepoints from `src/template/mapping.json`.
38
+ - Their entries from `src/template/metadata.json`.
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?d7b236adcd97f47e06cd2ce19bade8e1") format("truetype");
9
+ src: url("./codicon.ttf?62a8973d3c54603c81a840c166d230fc") format("truetype");
10
10
  }
11
11
 
12
12
  .codicon[class*='codicon-'] {
@@ -813,3 +813,5 @@
813
813
  .codicon-book-compact:before { content: "\ecef" }
814
814
  .codicon-mic-off:before { content: "\ecf0" }
815
815
  .codicon-mic-off-compact:before { content: "\ecf1" }
816
+ .codicon-copilot-dot:before { content: "\ecf2" }
817
+ .codicon-copilot-dot-compact:before { content: "\ecf3" }
package/dist/codicon.csv CHANGED
@@ -516,6 +516,8 @@ copilot-not-connected,,EC3E
516
516
  copilot-large,,EC3A
517
517
  copilot-in-progress,,EC4C
518
518
  copilot-error,,EC4D
519
+ copilot-dot,,ECF2
520
+ copilot-dot-compact,,ECF3
519
521
  copilot-compact,,EC8A
520
522
  copilot-blocked,,EC3D
521
523
  compass,,EBD5