@xh/hoist 79.0.0-SNAPSHOT.1765576473366 → 79.0.0-SNAPSHOT.1765818732757
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.
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ViewPlugin,
|
|
37
37
|
ViewUpdate
|
|
38
38
|
} from '@codemirror/view';
|
|
39
|
-
import {
|
|
39
|
+
import {githubLight, githubDark} from '@uiw/codemirror-theme-github';
|
|
40
40
|
import {HoistInputModel, HoistInputProps, useHoistInputModel} from '@xh/hoist/cmp/input';
|
|
41
41
|
import {box, div, filler, fragment, frame, hbox, label, span, vbox} from '@xh/hoist/cmp/layout';
|
|
42
42
|
import {hoistCmp, HoistProps, LayoutProps, managed, PlainObject, XH} from '@xh/hoist/core';
|
|
@@ -479,7 +479,7 @@ class CodeInputModel extends HoistInputModel {
|
|
|
479
479
|
return extensions.filter(it => !isEmpty(it));
|
|
480
480
|
}
|
|
481
481
|
private getThemeExtension() {
|
|
482
|
-
return XH.darkTheme ?
|
|
482
|
+
return XH.darkTheme ? githubDark : githubLight;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
private async getLanguageExtensionAsync(lang: string): Promise<LanguageSupport> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "79.0.0-SNAPSHOT.
|
|
3
|
+
"version": "79.0.0-SNAPSHOT.1765818732757",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@onsenui/fastclick": "~1.1.1",
|
|
50
50
|
"@popperjs/core": "~2.11.0",
|
|
51
51
|
"@seznam/compose-react-refs": "~1.0.5",
|
|
52
|
-
"@uiw/codemirror-
|
|
52
|
+
"@uiw/codemirror-theme-github": "^4.25.4",
|
|
53
53
|
"ajv": "~8.17.1",
|
|
54
54
|
"classnames": "~2.5.1",
|
|
55
55
|
"clipboard-copy": "~4.0.1",
|