jupyterlab_vscode_icons_extension 1.1.6 → 1.1.8
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.
- package/lib/index.js +6 -5
- package/package.json +1 -1
- package/src/index.ts +6 -5
package/lib/index.js
CHANGED
|
@@ -369,10 +369,10 @@ const plugin = {
|
|
|
369
369
|
const wordIcon = createLabIcon('file-type-word');
|
|
370
370
|
const excelIcon = createLabIcon('file-type-excel');
|
|
371
371
|
const powerpointIcon = createLabIcon('file-type-powerpoint');
|
|
372
|
-
// Custom Markdown icon (from markdown.svg - purple M with arrow,
|
|
372
|
+
// Custom Markdown icon (from markdown.svg - purple M with arrow, #8a2ea5)
|
|
373
373
|
const markdownSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 309 327">
|
|
374
|
-
<path fill="#
|
|
375
|
-
<path fill="#
|
|
374
|
+
<path fill="#8a2ea5" opacity="1" stroke="none" d="m 138.68393,230.48651 c 36.58836,3.1e-4 72.68422,3.1e-4 108.78008,3.1e-4 0.13988,0.49669 0.0821,0.12537 -3.34406,3.81472 -27.34165,24.16766 -54.43119,49.41695 -81.72391,73.62893 -2.65146,2.35216 -4.5582,3.21609 -7.64686,0.37229 -26.89754,-24.76539 -75.191307,-68.40096 -80.889724,-74.12425 -0.744118,-0.74735 -1.274501,-1.57204 -2.95867,-3.69233 23.309236,0 45.299954,0 67.783144,3.3e-4 z"/>
|
|
375
|
+
<path fill="#8a2ea5" d="m 61.156397,14.443673 h 69.176263 q 14.81059,56.661581 23.29958,97.452667 l 5.96036,-27.150338 q 3.61233,-15.870486 7.76652,-30.954008 l 10.6564,-39.348321 H 248.6367 L 276.09047,189.5437 H 221.90541 L 207.27544,69.137838 173.50009,189.5437 H 136.47364 L 101.07273,68.875516 86.984609,189.5437 H 35.147571 Z"/>
|
|
376
376
|
</svg>`;
|
|
377
377
|
// Custom PDF icon (document with folded corner and red PDF banner)
|
|
378
378
|
const pdfSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16">
|
|
@@ -406,9 +406,10 @@ const plugin = {
|
|
|
406
406
|
<path fill="url(#py-b)" d="M55,0C29,0,29,10,29,12v13h27v4H19C11,29,0,34,0,55c0,20,8,27,16,27h9V69c0-6,3-16,16-16h26c4,0,15-2,15-14V14C82,11,82,0,55,0zM40,8c3,0,5,2,5,5s-2,5-5,5-5-2-5-5S37,8,40,8z"/>
|
|
407
407
|
<path fill="url(#py-y)" d="M55,110c26,0,26-10,26-12V85H54v-4h37c8,0,18-5,18-26 0-23-11-27-16-27h-9v13c0,6-3,16-16,16H42c-4,0-15,2-15,14v24c0,3,0,14,28,14zM70,101c-3,0-5-2-5-5s2-5,5-5 5,2,5,5S73,101,70,101z"/>
|
|
408
408
|
</svg>`;
|
|
409
|
-
// Custom README icon (info icon -
|
|
409
|
+
// Custom README icon (info icon - purple background #912bac, gray "i" #bdbdbd)
|
|
410
410
|
const readmeSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
411
|
-
<
|
|
411
|
+
<rect x="9.5" y="9.3" width="82" height="81.2" rx="4" fill="#912bac"/>
|
|
412
|
+
<path fill="#bdbdbd" d="m 45.736283,20.566722 h 11.01003 l 2.116667,2.116667 0,7.619586 -2.116667,2.116667 h -11.01003 l -2.116667,-2.116667 v -7.619586 z m -6.168542,19.478681 h 23.084596 l 2.116667,2.116667 v 5.700733 l -2.116597,2.09951 -3.175139,-0.02574 -2.116597,2.09951 V 67.32187 l 2.116667,2.116667 h 4.211629 l 2.116667,2.116667 v 5.567219 L 63.688967,79.23909 H 38.509408 l -2.116667,-2.116667 v -6.096386 l 2.116667,-2.116667 h 4.968955 L 45.59503,66.792703 V 52.096294 l -2.116667,-2.116667 h -3.910622 l -2.116667,-2.116667 0,-5.70089 z"/>
|
|
412
413
|
</svg>`;
|
|
413
414
|
// Get SVG content from VSCode icons
|
|
414
415
|
const claudeSvg = claudeIcon.svgstr;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -413,10 +413,10 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
413
413
|
const excelIcon = createLabIcon('file-type-excel');
|
|
414
414
|
const powerpointIcon = createLabIcon('file-type-powerpoint');
|
|
415
415
|
|
|
416
|
-
// Custom Markdown icon (from markdown.svg - purple M with arrow,
|
|
416
|
+
// Custom Markdown icon (from markdown.svg - purple M with arrow, #8a2ea5)
|
|
417
417
|
const markdownSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 309 327">
|
|
418
|
-
<path fill="#
|
|
419
|
-
<path fill="#
|
|
418
|
+
<path fill="#8a2ea5" opacity="1" stroke="none" d="m 138.68393,230.48651 c 36.58836,3.1e-4 72.68422,3.1e-4 108.78008,3.1e-4 0.13988,0.49669 0.0821,0.12537 -3.34406,3.81472 -27.34165,24.16766 -54.43119,49.41695 -81.72391,73.62893 -2.65146,2.35216 -4.5582,3.21609 -7.64686,0.37229 -26.89754,-24.76539 -75.191307,-68.40096 -80.889724,-74.12425 -0.744118,-0.74735 -1.274501,-1.57204 -2.95867,-3.69233 23.309236,0 45.299954,0 67.783144,3.3e-4 z"/>
|
|
419
|
+
<path fill="#8a2ea5" d="m 61.156397,14.443673 h 69.176263 q 14.81059,56.661581 23.29958,97.452667 l 5.96036,-27.150338 q 3.61233,-15.870486 7.76652,-30.954008 l 10.6564,-39.348321 H 248.6367 L 276.09047,189.5437 H 221.90541 L 207.27544,69.137838 173.50009,189.5437 H 136.47364 L 101.07273,68.875516 86.984609,189.5437 H 35.147571 Z"/>
|
|
420
420
|
</svg>`;
|
|
421
421
|
|
|
422
422
|
// Custom PDF icon (document with folded corner and red PDF banner)
|
|
@@ -453,9 +453,10 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
453
453
|
<path fill="url(#py-y)" d="M55,110c26,0,26-10,26-12V85H54v-4h37c8,0,18-5,18-26 0-23-11-27-16-27h-9v13c0,6-3,16-16,16H42c-4,0-15,2-15,14v24c0,3,0,14,28,14zM70,101c-3,0-5-2-5-5s2-5,5-5 5,2,5,5S73,101,70,101z"/>
|
|
454
454
|
</svg>`;
|
|
455
455
|
|
|
456
|
-
// Custom README icon (info icon -
|
|
456
|
+
// Custom README icon (info icon - purple background #912bac, gray "i" #bdbdbd)
|
|
457
457
|
const readmeSvg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
458
|
-
<
|
|
458
|
+
<rect x="9.5" y="9.3" width="82" height="81.2" rx="4" fill="#912bac"/>
|
|
459
|
+
<path fill="#bdbdbd" d="m 45.736283,20.566722 h 11.01003 l 2.116667,2.116667 0,7.619586 -2.116667,2.116667 h -11.01003 l -2.116667,-2.116667 v -7.619586 z m -6.168542,19.478681 h 23.084596 l 2.116667,2.116667 v 5.700733 l -2.116597,2.09951 -3.175139,-0.02574 -2.116597,2.09951 V 67.32187 l 2.116667,2.116667 h 4.211629 l 2.116667,2.116667 v 5.567219 L 63.688967,79.23909 H 38.509408 l -2.116667,-2.116667 v -6.096386 l 2.116667,-2.116667 h 4.968955 L 45.59503,66.792703 V 52.096294 l -2.116667,-2.116667 h -3.910622 l -2.116667,-2.116667 0,-5.70089 z"/>
|
|
459
460
|
</svg>`;
|
|
460
461
|
|
|
461
462
|
// Get SVG content from VSCode icons
|