-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix ESM packaging for code-highlighting (#246)
- Loading branch information
Showing
6 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'myst-to-react': patch | ||
--- | ||
|
||
Fix ESM import of code styles |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule patches
deleted from
0bfbcc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/@jupyter-widgets/controls/css/widgets-base.css b/node_modules/@jupyter-widgets/controls/css/widgets-base.css | ||
index b5c14f8..4f481fa 100644 | ||
--- a/node_modules/@jupyter-widgets/controls/css/widgets-base.css | ||
+++ b/node_modules/@jupyter-widgets/controls/css/widgets-base.css | ||
@@ -8,8 +8,8 @@ | ||
* have been defined. | ||
*/ | ||
|
||
-@import './lumino.css'; | ||
-@import './nouislider.css'; | ||
+/* @import './lumino.css'; */ | ||
+/* @import './nouislider.css'; */ | ||
|
||
:root { | ||
--jp-widgets-color: var(--jp-content-font-color1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/node_modules/@types/react-syntax-highlighter/index.d.ts b/node_modules/@types/react-syntax-highlighter/index.d.ts | ||
index 413c917..4a9c465 100755 | ||
--- a/node_modules/@types/react-syntax-highlighter/index.d.ts | ||
+++ b/node_modules/@types/react-syntax-highlighter/index.d.ts | ||
@@ -696,11 +696,21 @@ declare module 'react-syntax-highlighter/dist/esm/styles/hljs/vs2015' { | ||
export default style; | ||
} | ||
|
||
+declare module 'react-syntax-highlighter/dist/esm/styles/hljs/vs2015.js' { | ||
+ const style: { [key: string]: React.CSSProperties }; | ||
+ export default style; | ||
+} | ||
+ | ||
declare module 'react-syntax-highlighter/dist/esm/styles/hljs/xcode' { | ||
const style: { [key: string]: React.CSSProperties }; | ||
export default style; | ||
} | ||
|
||
+declare module 'react-syntax-highlighter/dist/esm/styles/hljs/xcode.js' { | ||
+ const style: { [key: string]: React.CSSProperties }; | ||
+ export default style; | ||
+} | ||
+ | ||
declare module 'react-syntax-highlighter/dist/esm/styles/hljs/xt256' { | ||
const style: { [key: string]: React.CSSProperties }; | ||
export default style; |