jupyterlab_vscode_icons_extension 1.0.62 → 1.0.63

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 CHANGED
@@ -483,6 +483,12 @@ const plugin = {
483
483
  const name = nameSpan.textContent.trim();
484
484
  // Handle notebook files (Jupytext and special markdown)
485
485
  if (fileType === 'notebook') {
486
+ // Clear all notebook attributes first
487
+ item.removeAttribute('data-claude-md');
488
+ item.removeAttribute('data-readme-md');
489
+ item.removeAttribute('data-jupytext-py');
490
+ item.removeAttribute('data-jupytext-md');
491
+ // Set the correct attribute based on filename
486
492
  if (name === 'CLAUDE.md') {
487
493
  item.setAttribute('data-claude-md', 'true');
488
494
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyterlab_vscode_icons_extension",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "Jupyterlab extension with a shameless rip-off of the vscode-icons into our beloved environment",
5
5
  "keywords": [
6
6
  "jupyter",
package/src/index.ts CHANGED
@@ -537,6 +537,13 @@ const plugin: JupyterFrontEndPlugin<void> = {
537
537
 
538
538
  // Handle notebook files (Jupytext and special markdown)
539
539
  if (fileType === 'notebook') {
540
+ // Clear all notebook attributes first
541
+ item.removeAttribute('data-claude-md');
542
+ item.removeAttribute('data-readme-md');
543
+ item.removeAttribute('data-jupytext-py');
544
+ item.removeAttribute('data-jupytext-md');
545
+
546
+ // Set the correct attribute based on filename
540
547
  if (name === 'CLAUDE.md') {
541
548
  item.setAttribute('data-claude-md', 'true');
542
549
  } else if (name === 'README.md') {