@vscode/codicons 0.0.22 → 0.0.26

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,24 @@
1
+ name: Codicons Build
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: actions/setup-node@v2
17
+ with:
18
+ node-version: '16'
19
+
20
+ - name: Install dependencies
21
+ run: npm install
22
+
23
+ - name: Build font
24
+ run: npm run build
@@ -0,0 +1,71 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '30 18 * * 2'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'javascript' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
+ # Learn more:
38
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
+
40
+ steps:
41
+ - name: Checkout repository
42
+ uses: actions/checkout@v2
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@v1
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
+
54
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
+ # If this step fails, then you should remove it and run the build manually (see below)
56
+ - name: Autobuild
57
+ uses: github/codeql-action/autobuild@v1
58
+
59
+ # ℹ️ Command-line programs to run using the OS shell.
60
+ # 📚 https://git.io/JvXDl
61
+
62
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
+ # and modify them (or add more) to build your code if your project
64
+ # uses a compiled language
65
+
66
+ #- run: |
67
+ # make bootstrap
68
+ # make release
69
+
70
+ - name: Perform CodeQL Analysis
71
+ uses: github/codeql-action/analyze@v1
package/README.md CHANGED
@@ -1,13 +1,12 @@
1
- <div align="center">
2
-
3
1
  # Codicons
4
-
5
- The icon font for [Visual Studio Code](https://github.com/microsoft/vscode)
2
+
3
+ [![NPM Version](https://img.shields.io/npm/v/@vscode/codicons)](https://www.npmjs.com/package/@vscode/codicons)
4
+ [![NPM Downloads](https://img.shields.io/npm/dw/@vscode/codicons)](https://www.npmjs.com/package/@vscode/codicons)
5
+ [![Build Status](https://github.com/microsoft/vscode-codicons/actions/workflows/build.yml/badge.svg)](https://github.com/microsoft/vscode-codicons/actions/workflows/build.yml)
6
+ [![CodeQL Status](https://github.com/microsoft/vscode-codicons/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/microsoft/vscode-codicons/actions/workflows/build.yml)
6
7
 
7
8
  ![codicons preview of the icons](https://raw.githubusercontent.com/microsoft/vscode-codicons/main/preview.png)
8
9
 
9
- </div>
10
-
11
10
  This tool takes the Visual Studio Code icons and converts them into an icon font using [fantasticon](https://github.com/tancredi/fantasticon).
12
11
 
13
12
  ## Install
@@ -55,16 +54,28 @@ Export your icons (svg) to the `src/icons` folder and add an entry into `src/tem
55
54
  Next, update the [codicons file](https://github.com/microsoft/vscode/blob/master/src/vs/base/common/codicons.ts) on the vscode repository, ensuring that the unicode characters are the same (you can reference the [css file](https://github.com/microsoft/vscode-codicons/blob/master/dist/codicon.css)).
56
55
 
57
56
 
58
- ## Using in VS Code
57
+ ## Using CSS Classes
59
58
 
60
59
  If you're building a VS Code extension, see this [webview extension sample](https://github.com/microsoft/vscode-extension-samples/tree/master/webview-codicons-sample) on how to integrate.
61
60
 
62
- When needing to reference an icon in the [Visual Studio Code source code](https://github.com/microsoft/vscode), simply create a dom element/container that contains `codicon` and the [icon name](https://microsoft.github.io/vscode-codicons/dist/codicon.html) like:
61
+ When needing to reference an icon in the [Visual Studio Code source code](https://github.com/microsoft/vscode) via CSS classes, simply create a dom element/container that contains `codicon` and the [icon name](https://microsoft.github.io/vscode-codicons/dist/codicon.html) like:
63
62
 
64
- `<div class='codicon codicon-add'></div>`
63
+ ```html
64
+ <div class='codicon codicon-add'></div>
65
+ ```
65
66
 
66
67
  It's recommended to use a single dom element for each icon and not to add children elements to it.
67
68
 
69
+ ## Using SVG Sprites
70
+
71
+ When needing to use the `codicon.svg` sprite file, you can reference icons using the following method:
72
+
73
+ ```html
74
+ <svg>
75
+ <use xlink:href="codicon.svg#add" />
76
+ </svg>
77
+ ```
78
+
68
79
  # Contributing
69
80
 
70
81
  This project welcomes contributions and suggestions. Most contributions require you to agree to a
package/dist/codicon.css CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  @font-face {
7
7
  font-family: "codicon";
8
- src: url("./codicon.ttf?01396d1843cb318e1089a78e8dee6985") format("truetype");
8
+ src: url("./codicon.ttf?079de8c801b399d4f7f8bf15e6901389") format("truetype");
9
9
  }
10
10
 
11
11
  .codicon[class*='codicon-'] {
@@ -487,3 +487,14 @@
487
487
  .codicon-debug-coverage:before { content: "\ebdd" }
488
488
  .codicon-run-errors:before { content: "\ebde" }
489
489
  .codicon-folder-library:before { content: "\ebdf" }
490
+ .codicon-debug-continue-small:before { content: "\ebe0" }
491
+ .codicon-beaker-stop:before { content: "\ebe1" }
492
+ .codicon-graph-line:before { content: "\ebe2" }
493
+ .codicon-graph-scatter:before { content: "\ebe3" }
494
+ .codicon-pie-chart:before { content: "\ebe4" }
495
+ .codicon-bracket:before { content: "\eb0f" }
496
+ .codicon-bracket-dot:before { content: "\ebe5" }
497
+ .codicon-bracket-error:before { content: "\ebe6" }
498
+ .codicon-lock-small:before { content: "\ebe7" }
499
+ .codicon-azure-devops:before { content: "\ebe8" }
500
+ .codicon-verified-filled:before { content: "\ebe9" }
package/dist/codicon.csv CHANGED
@@ -13,13 +13,17 @@ arrow-small-right,,EA9F
13
13
  arrow-small-up,,EAA0
14
14
  arrow-swap,,EBCB
15
15
  arrow-up,,EAA1
16
+ azure-devops,,EBE8
16
17
  azure,,EBD8
18
+ beaker-stop,,EBE1
17
19
  beaker,,EA79
18
20
  bell-dot,,EB9A
19
21
  bell,,EAA2
20
22
  bold,,EAA3
21
23
  book,,EAA4
22
24
  bookmark,,EAA5
25
+ bracket-dot,,EBE5
26
+ bracket-error,,EBE6
23
27
  briefcase,,EAAC
24
28
  broadcast,,EAAD
25
29
  browser,,EAAE
@@ -79,6 +83,7 @@ debug-breakpoint-log-unverified,,EAAA
79
83
  debug-breakpoint-log,,EAAB
80
84
  debug-breakpoint-unsupported,,EB8C
81
85
  debug-console,,EB9B
86
+ debug-continue-small,,EBE0
82
87
  debug-continue,,EACF
83
88
  debug-coverage,,EBDD
84
89
  debug-disconnect,,EAD0
@@ -159,6 +164,8 @@ globe,,EB01
159
164
  go-to-file,,EA94
160
165
  grabber,,EB02
161
166
  graph-left,,EBAD
167
+ graph-line,,EBE2
168
+ graph-scatter,,EBE3
162
169
  graph,,EB03
163
170
  gripper,,EB04
164
171
  group-by-ref-type,,EB97
@@ -196,6 +203,7 @@ list-unordered,,EB17
196
203
  live-share,,EB18
197
204
  loading,,EB19
198
205
  location,,EB1A
206
+ lock-small,,EBE7
199
207
  lock,,EA75
200
208
  magnet,,EBAE
201
209
  mail-read,,EB1B
@@ -227,6 +235,7 @@ pass-filled,,EBB3
227
235
  pass,,EBA4
228
236
  person-add,,EBCD
229
237
  person,,EA67
238
+ pie-chart,,EBE4
230
239
  pin,,EB2B
231
240
  pinned-dirty,,EBB2
232
241
  pinned,,EBA0
@@ -355,6 +364,7 @@ unlock,,EB74
355
364
  unmute,,EB75
356
365
  unverified,,EB76
357
366
  variable-group,,EBB8
367
+ verified-filled,,EBE9
358
368
  verified,,EB77
359
369
  versions,,EB78
360
370
  vm-active,,EB79
package/dist/codicon.html CHANGED
@@ -265,6 +265,14 @@
265
265
  <span class='label'>arrow-up</span>
266
266
  <span class='description'></span>
267
267
  </div>
268
+ <div class="icon" data-name="azure-devops" title="azure-devops">
269
+ <span class="inner">
270
+ <i class="codicon codicon-azure-devops"></i>
271
+ </span>
272
+ <br>
273
+ <span class='label'>azure-devops</span>
274
+ <span class='description'></span>
275
+ </div>
268
276
  <div class="icon" data-name="azure" title="azure">
269
277
  <span class="inner">
270
278
  <i class="codicon codicon-azure"></i>
@@ -273,6 +281,14 @@
273
281
  <span class='label'>azure</span>
274
282
  <span class='description'></span>
275
283
  </div>
284
+ <div class="icon" data-name="beaker-stop" title="beaker-stop">
285
+ <span class="inner">
286
+ <i class="codicon codicon-beaker-stop"></i>
287
+ </span>
288
+ <br>
289
+ <span class='label'>beaker-stop</span>
290
+ <span class='description'></span>
291
+ </div>
276
292
  <div class="icon" data-name="beaker" title="beaker">
277
293
  <span class="inner">
278
294
  <i class="codicon codicon-beaker"></i>
@@ -321,6 +337,22 @@
321
337
  <span class='label'>bookmark</span>
322
338
  <span class='description'></span>
323
339
  </div>
340
+ <div class="icon" data-name="bracket-dot" title="bracket-dot">
341
+ <span class="inner">
342
+ <i class="codicon codicon-bracket-dot"></i>
343
+ </span>
344
+ <br>
345
+ <span class='label'>bracket-dot</span>
346
+ <span class='description'></span>
347
+ </div>
348
+ <div class="icon" data-name="bracket-error" title="bracket-error">
349
+ <span class="inner">
350
+ <i class="codicon codicon-bracket-error"></i>
351
+ </span>
352
+ <br>
353
+ <span class='label'>bracket-error</span>
354
+ <span class='description'></span>
355
+ </div>
324
356
  <div class="icon" data-name="briefcase" title="briefcase">
325
357
  <span class="inner">
326
358
  <i class="codicon codicon-briefcase"></i>
@@ -793,6 +825,14 @@
793
825
  <span class='label'>debug-console</span>
794
826
  <span class='description'></span>
795
827
  </div>
828
+ <div class="icon" data-name="debug-continue-small" title="debug-continue-small">
829
+ <span class="inner">
830
+ <i class="codicon codicon-debug-continue-small"></i>
831
+ </span>
832
+ <br>
833
+ <span class='label'>debug-continue-small</span>
834
+ <span class='description'></span>
835
+ </div>
796
836
  <div class="icon" data-name="debug-continue" title="debug-continue">
797
837
  <span class="inner">
798
838
  <i class="codicon codicon-debug-continue"></i>
@@ -1441,6 +1481,22 @@
1441
1481
  <span class='label'>graph-left</span>
1442
1482
  <span class='description'></span>
1443
1483
  </div>
1484
+ <div class="icon" data-name="graph-line" title="graph-line">
1485
+ <span class="inner">
1486
+ <i class="codicon codicon-graph-line"></i>
1487
+ </span>
1488
+ <br>
1489
+ <span class='label'>graph-line</span>
1490
+ <span class='description'></span>
1491
+ </div>
1492
+ <div class="icon" data-name="graph-scatter" title="graph-scatter">
1493
+ <span class="inner">
1494
+ <i class="codicon codicon-graph-scatter"></i>
1495
+ </span>
1496
+ <br>
1497
+ <span class='label'>graph-scatter</span>
1498
+ <span class='description'></span>
1499
+ </div>
1444
1500
  <div class="icon" data-name="graph" title="graph">
1445
1501
  <span class="inner">
1446
1502
  <i class="codicon codicon-graph"></i>
@@ -1737,6 +1793,14 @@
1737
1793
  <span class='label'>location</span>
1738
1794
  <span class='description'></span>
1739
1795
  </div>
1796
+ <div class="icon" data-name="lock-small" title="lock-small">
1797
+ <span class="inner">
1798
+ <i class="codicon codicon-lock-small"></i>
1799
+ </span>
1800
+ <br>
1801
+ <span class='label'>lock-small</span>
1802
+ <span class='description'></span>
1803
+ </div>
1740
1804
  <div class="icon" data-name="lock" title="lock">
1741
1805
  <span class="inner">
1742
1806
  <i class="codicon codicon-lock"></i>
@@ -1985,6 +2049,14 @@
1985
2049
  <span class='label'>person</span>
1986
2050
  <span class='description'></span>
1987
2051
  </div>
2052
+ <div class="icon" data-name="pie-chart" title="pie-chart">
2053
+ <span class="inner">
2054
+ <i class="codicon codicon-pie-chart"></i>
2055
+ </span>
2056
+ <br>
2057
+ <span class='label'>pie-chart</span>
2058
+ <span class='description'></span>
2059
+ </div>
1988
2060
  <div class="icon" data-name="pin" title="pin">
1989
2061
  <span class="inner">
1990
2062
  <i class="codicon codicon-pin"></i>
@@ -3009,6 +3081,14 @@
3009
3081
  <span class='label'>variable-group</span>
3010
3082
  <span class='description'></span>
3011
3083
  </div>
3084
+ <div class="icon" data-name="verified-filled" title="verified-filled">
3085
+ <span class="inner">
3086
+ <i class="codicon codicon-verified-filled"></i>
3087
+ </span>
3088
+ <br>
3089
+ <span class='label'>verified-filled</span>
3090
+ <span class='description'></span>
3091
+ </div>
3012
3092
  <div class="icon" data-name="verified" title="verified">
3013
3093
  <span class="inner">
3014
3094
  <i class="codicon codicon-verified"></i>