@neo4j-cypher/react-codemirror 2.0.0-next.39 → 2.0.0-next.40
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/CHANGELOG.md +15 -0
- package/dist/src/CypherEditor.js +24 -8
- package/dist/src/CypherEditor.js.map +1 -1
- package/dist/src/e2e_tests/sanityChecks.spec.js +11 -0
- package/dist/src/e2e_tests/sanityChecks.spec.js.map +1 -1
- package/dist/src/editorActions.js +4 -1
- package/dist/src/editorActions.js.map +1 -1
- package/dist/src/inlinePanel.d.ts +1 -1
- package/dist/src/lang-cypher/constants.d.ts +3 -1
- package/dist/src/lang-cypher/constants.js +5 -0
- package/dist/src/lang-cypher/constants.js.map +1 -1
- package/dist/src/lang-cypher/lintWorker.mjs +148 -146
- package/dist/src/themes.d.ts +0 -6
- package/dist/src/themes.js +2 -2
- package/dist/src/themes.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -6
- package/src/CypherEditor.tsx +27 -8
- package/src/e2e_tests/sanityChecks.spec.tsx +23 -0
- package/src/editorActions.ts +4 -1
- package/src/inlinePanel.ts +1 -1
- package/src/lang-cypher/constants.ts +6 -1
- package/src/lang-cypher/lintWorker.mjs +148 -146
- package/src/themes.ts +2 -2
package/src/themes.ts
CHANGED
|
@@ -97,11 +97,11 @@ export const darkThemeConstants: ThemeOptions = {
|
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
type ExtraThemeOptions = { inheritBgColor?: boolean };
|
|
100
|
-
|
|
100
|
+
const ayuLightTheme = ({ inheritBgColor }: ExtraThemeOptions) => {
|
|
101
101
|
return createCypherTheme({ ...lightThemeConstants, inheritBgColor });
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
const ayuDarkTheme = ({ inheritBgColor }: ExtraThemeOptions) => {
|
|
105
105
|
return createCypherTheme({ ...darkThemeConstants, inheritBgColor });
|
|
106
106
|
};
|
|
107
107
|
|