@coldsmirk/inkstone-react 0.14.0 → 0.16.0
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/README.md +1 -1
- package/dist/{codemirror-B3GlIVaX.d.ts → codemirror-BW_zSOVE.d.ts} +2 -50
- package/dist/{codemirror-Bvwl0fxH.js → codemirror-bROXidfr.js} +4 -2
- package/dist/codemirror.d.ts +1 -1
- package/dist/codemirror.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{monaco-IkYCUn1k.js → monaco-DD8hJaMr.js} +4 -2
- package/dist/{monaco-BoTcTdm-.d.ts → monaco-DZj8pXIv.d.ts} +4 -53
- package/dist/monaco.d.ts +1 -1
- package/dist/monaco.js +1 -1
- package/dist/{shiki-D-IjmhhO.d.ts → shiki-Ds-uZ7XH.d.ts} +0 -1
- package/dist/shiki.d.ts +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import { MonacoEditor } from "@coldsmirk/inkstone-react/monaco";
|
|
|
28
28
|
/>;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
One component brings: the local `monaco-editor` instance (no CDN), bundled offline workers, Shiki catppuccin highlighting registered before first paint,
|
|
31
|
+
One component brings: the local `monaco-editor` instance (no CDN), bundled offline workers, Shiki catppuccin highlighting registered before first paint, light/dark switching via `dark`, and VS Code's auto-closing JSX tags on TypeScript/JavaScript models whose `path` ends in `.tsx` / `.jsx` (parser-backed via the bundled TS worker).
|
|
32
32
|
|
|
33
33
|
- **Locale** — chrome speaks stock English; `locale="zh-cn"` switches to Monaco's official Simplified-Chinese catalog. Page-global and locked by the first editor to mount, so give every editor the same value.
|
|
34
34
|
- **Type & metrics** — `fontSize` defaults to 14, `lineHeight` to 1.6 (Monaco's convention: values below 8 multiply the font size); `DEFAULT_MONACO_OPTIONS` is exported for hosts that need the same baseline.
|
|
@@ -2,7 +2,6 @@ import { Extension } from "@codemirror/state";
|
|
|
2
2
|
import { EditorView } from "@codemirror/view";
|
|
3
3
|
import { CodeMirrorLanguage, CodeMirrorLanguage as CodeMirrorLanguage$1, EditorContext, EditorContext as EditorContext$1, MergeView, MergeView as MergeView$1, SqlSchema, SqlSchema as SqlSchema$1, codeMirrorLanguages, normalizeContext as normalizeContext$1, searchPhrasesZhCn as searchPhrasesZhCn$1 } from "@coldsmirk/inkstone-codemirror";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
|
|
6
5
|
//#region src/codemirror-diff-editor.d.ts
|
|
7
6
|
interface CodeMirrorDiffEditorProps {
|
|
8
7
|
/**
|
|
@@ -136,28 +135,7 @@ interface CodeMirrorDiffEditorProps {
|
|
|
136
135
|
* sides share `language`, `extensions`, and the theme; dark flips, language loads, and
|
|
137
136
|
* `revertControls` / `collapseUnchanged` all swap in place without rebuilding the view.
|
|
138
137
|
*/
|
|
139
|
-
declare function CodeMirrorDiffEditor({
|
|
140
|
-
original,
|
|
141
|
-
modified,
|
|
142
|
-
onChange,
|
|
143
|
-
language,
|
|
144
|
-
readOnly,
|
|
145
|
-
revertControls,
|
|
146
|
-
collapseUnchanged,
|
|
147
|
-
lineWrapping,
|
|
148
|
-
showLineNumbers,
|
|
149
|
-
extensions,
|
|
150
|
-
dynamicExtensions,
|
|
151
|
-
dark,
|
|
152
|
-
height,
|
|
153
|
-
width,
|
|
154
|
-
fontSize,
|
|
155
|
-
lineHeight,
|
|
156
|
-
className,
|
|
157
|
-
originalAriaLabel,
|
|
158
|
-
modifiedAriaLabel,
|
|
159
|
-
onMount
|
|
160
|
-
}: CodeMirrorDiffEditorProps): ReactNode;
|
|
138
|
+
declare function CodeMirrorDiffEditor({ original, modified, onChange, language, readOnly, revertControls, collapseUnchanged, lineWrapping, showLineNumbers, extensions, dynamicExtensions, dark, height, width, fontSize, lineHeight, className, originalAriaLabel, modifiedAriaLabel, onMount }: CodeMirrorDiffEditorProps): ReactNode;
|
|
161
139
|
//#endregion
|
|
162
140
|
//#region src/codemirror-editor.d.ts
|
|
163
141
|
interface CodeMirrorEditorProps {
|
|
@@ -317,32 +295,6 @@ interface CodeMirrorEditorProps {
|
|
|
317
295
|
* `height` / `width` for sizing — parity with `<MonacoEditor>`. Bring your own language
|
|
318
296
|
* support via `extensions`; a theme passed through `dynamicExtensions` overrides the default.
|
|
319
297
|
*/
|
|
320
|
-
declare function CodeMirrorEditor({
|
|
321
|
-
value,
|
|
322
|
-
onChange,
|
|
323
|
-
language,
|
|
324
|
-
context,
|
|
325
|
-
sqlSchema,
|
|
326
|
-
placeholder,
|
|
327
|
-
lineWrapping,
|
|
328
|
-
showLineNumbers,
|
|
329
|
-
folding,
|
|
330
|
-
spellcheck,
|
|
331
|
-
search,
|
|
332
|
-
extensions,
|
|
333
|
-
dynamicExtensions,
|
|
334
|
-
dark,
|
|
335
|
-
locale,
|
|
336
|
-
height,
|
|
337
|
-
width,
|
|
338
|
-
fontSize,
|
|
339
|
-
lineHeight,
|
|
340
|
-
tabSize,
|
|
341
|
-
className,
|
|
342
|
-
onMount,
|
|
343
|
-
onFocus,
|
|
344
|
-
onBlur,
|
|
345
|
-
ariaLabel
|
|
346
|
-
}: CodeMirrorEditorProps): ReactNode;
|
|
298
|
+
declare function CodeMirrorEditor({ value, onChange, language, context, sqlSchema, placeholder, lineWrapping, showLineNumbers, folding, spellcheck, search, extensions, dynamicExtensions, dark, locale, height, width, fontSize, lineHeight, tabSize, className, onMount, onFocus, onBlur, ariaLabel }: CodeMirrorEditorProps): ReactNode;
|
|
347
299
|
//#endregion
|
|
348
300
|
export { codeMirrorLanguages as a, CodeMirrorEditor as c, CodeMirrorDiffEditorProps as d, SqlSchema$1 as i, CodeMirrorEditorProps as l, EditorContext$1 as n, normalizeContext$1 as o, MergeView$1 as r, searchPhrasesZhCn$1 as s, CodeMirrorLanguage$1 as t, CodeMirrorDiffEditor as u };
|
|
@@ -198,8 +198,10 @@ function CodeMirrorEditor({ value, onChange, language, context, sqlSchema, place
|
|
|
198
198
|
search
|
|
199
199
|
}),
|
|
200
200
|
EditorView.updateListener.of((update) => {
|
|
201
|
-
if (update.focusChanged)
|
|
202
|
-
|
|
201
|
+
if (update.focusChanged) {
|
|
202
|
+
if (update.view.hasFocus) onFocusRef.current?.();
|
|
203
|
+
else onBlurRef.current?.();
|
|
204
|
+
}
|
|
203
205
|
}),
|
|
204
206
|
...extensions ?? []
|
|
205
207
|
],
|
package/dist/codemirror.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as codeMirrorLanguages, c as CodeMirrorEditor, d as CodeMirrorDiffEditorProps, i as SqlSchema, l as CodeMirrorEditorProps, n as EditorContext, o as normalizeContext, r as MergeView, s as searchPhrasesZhCn, t as CodeMirrorLanguage, u as CodeMirrorDiffEditor } from "./codemirror-
|
|
1
|
+
import { a as codeMirrorLanguages, c as CodeMirrorEditor, d as CodeMirrorDiffEditorProps, i as SqlSchema, l as CodeMirrorEditorProps, n as EditorContext, o as normalizeContext, r as MergeView, s as searchPhrasesZhCn, t as CodeMirrorLanguage, u as CodeMirrorDiffEditor } from "./codemirror-BW_zSOVE.js";
|
|
2
2
|
export { CodeMirrorDiffEditor, type CodeMirrorDiffEditorProps, CodeMirrorEditor, type CodeMirrorEditorProps, type CodeMirrorLanguage, type EditorContext, type MergeView, type SqlSchema, codeMirrorLanguages, normalizeContext, searchPhrasesZhCn };
|
package/dist/codemirror.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodeMirrorDiffEditor, i as CodeMirrorEditor, n as normalizeContext, r as searchPhrasesZhCn, t as codeMirrorLanguages } from "./codemirror-
|
|
1
|
+
import { a as CodeMirrorDiffEditor, i as CodeMirrorEditor, n as normalizeContext, r as searchPhrasesZhCn, t as codeMirrorLanguages } from "./codemirror-bROXidfr.js";
|
|
2
2
|
export { CodeMirrorDiffEditor, CodeMirrorEditor, codeMirrorLanguages, normalizeContext, searchPhrasesZhCn };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as codeMirrorLanguages, c as CodeMirrorEditor, d as CodeMirrorDiffEditorProps, i as SqlSchema, l as CodeMirrorEditorProps, n as EditorContext, o as normalizeContext, r as MergeView, s as searchPhrasesZhCn, t as CodeMirrorLanguage, u as CodeMirrorDiffEditor } from "./codemirror-
|
|
2
|
-
import { a as MonacoEditorProps, i as MonacoEditor, n as MonacoLanguage, o as MonacoDiffEditor, r as monacoLanguages, s as MonacoDiffEditorProps, t as DEFAULT_MONACO_OPTIONS } from "./monaco-
|
|
3
|
-
import { n as useShikiHighlighter, t as ShikiState } from "./shiki-
|
|
1
|
+
import { a as codeMirrorLanguages, c as CodeMirrorEditor, d as CodeMirrorDiffEditorProps, i as SqlSchema, l as CodeMirrorEditorProps, n as EditorContext, o as normalizeContext, r as MergeView, s as searchPhrasesZhCn, t as CodeMirrorLanguage, u as CodeMirrorDiffEditor } from "./codemirror-BW_zSOVE.js";
|
|
2
|
+
import { a as MonacoEditorProps, i as MonacoEditor, n as MonacoLanguage, o as MonacoDiffEditor, r as monacoLanguages, s as MonacoDiffEditorProps, t as DEFAULT_MONACO_OPTIONS } from "./monaco-DZj8pXIv.js";
|
|
3
|
+
import { n as useShikiHighlighter, t as ShikiState } from "./shiki-Ds-uZ7XH.js";
|
|
4
4
|
export { CodeMirrorDiffEditor, type CodeMirrorDiffEditorProps, CodeMirrorEditor, type CodeMirrorEditorProps, type CodeMirrorLanguage, DEFAULT_MONACO_OPTIONS, type EditorContext, type MergeView, MonacoDiffEditor, type MonacoDiffEditorProps, MonacoEditor, type MonacoEditorProps, type MonacoLanguage, type ShikiState, type SqlSchema, codeMirrorLanguages, monacoLanguages, normalizeContext, searchPhrasesZhCn, useShikiHighlighter };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CodeMirrorDiffEditor, i as CodeMirrorEditor, n as normalizeContext, r as searchPhrasesZhCn, t as codeMirrorLanguages } from "./codemirror-
|
|
2
|
-
import { i as MonacoDiffEditor, n as monacoLanguages, r as MonacoEditor, t as DEFAULT_MONACO_OPTIONS } from "./monaco-
|
|
1
|
+
import { a as CodeMirrorDiffEditor, i as CodeMirrorEditor, n as normalizeContext, r as searchPhrasesZhCn, t as codeMirrorLanguages } from "./codemirror-bROXidfr.js";
|
|
2
|
+
import { i as MonacoDiffEditor, n as monacoLanguages, r as MonacoEditor, t as DEFAULT_MONACO_OPTIONS } from "./monaco-DD8hJaMr.js";
|
|
3
3
|
import { t as useShikiHighlighter } from "./use-shiki-highlighter-CzSQcX2f.js";
|
|
4
4
|
import "./shiki.js";
|
|
5
5
|
export { CodeMirrorDiffEditor, CodeMirrorEditor, DEFAULT_MONACO_OPTIONS, MonacoDiffEditor, MonacoEditor, codeMirrorLanguages, monacoLanguages, normalizeContext, searchPhrasesZhCn, useShikiHighlighter };
|
|
@@ -3,7 +3,7 @@ import { t as useShikiHighlighter } from "./use-shiki-highlighter-CzSQcX2f.js";
|
|
|
3
3
|
import { useCallback, useEffect, useInsertionEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { shikiThemeId } from "@coldsmirk/inkstone-core";
|
|
6
|
-
import { DEFAULT_MONACO_OPTIONS, DEFAULT_MONACO_OPTIONS as DEFAULT_MONACO_OPTIONS$1, disabledKeybindings, ensureMonacoHost, installDisabledKeybindings, modelValueMatches, monacoLanguages, reconcileModelValue, registerShikiHighlighting } from "@coldsmirk/inkstone-monaco";
|
|
6
|
+
import { DEFAULT_MONACO_OPTIONS, DEFAULT_MONACO_OPTIONS as DEFAULT_MONACO_OPTIONS$1, disabledKeybindings, ensureMonacoHost, installDisabledKeybindings, installJsxTagClosing, modelValueMatches, monacoLanguages, reconcileModelValue, registerShikiHighlighting } from "@coldsmirk/inkstone-monaco";
|
|
7
7
|
import { DiffEditor, Editor, loader } from "@monaco-editor/react";
|
|
8
8
|
//#region src/editor-face.tsx
|
|
9
9
|
const FACE_STYLE = {
|
|
@@ -292,10 +292,12 @@ function MonacoEditor({ value, onChange, language = "javascript", dark = false,
|
|
|
292
292
|
monacoRef.current = monaco;
|
|
293
293
|
reconcileModel(monaco, editorInstance, valueRef.current, languageRef.current, reconcilingRef);
|
|
294
294
|
installDisabledKeybindings(monaco, editorInstance, disabledKeybindings(monaco, disableFind, disableCommandPalette));
|
|
295
|
+
installJsxTagClosing(monaco, editorInstance);
|
|
295
296
|
editorInstance.onDidFocusEditorText(() => onFocusRef.current?.());
|
|
296
297
|
editorInstance.onDidBlurEditorText(() => onBlurRef.current?.());
|
|
297
298
|
onMountRef.current?.(editorInstance, monaco);
|
|
298
299
|
};
|
|
300
|
+
const theme = shikiState === "ready" ? shikiThemeId(dark) : dark ? "vs-dark" : "vs";
|
|
299
301
|
return /* @__PURE__ */ jsx(Editor, {
|
|
300
302
|
beforeMount: handleBeforeMount,
|
|
301
303
|
className,
|
|
@@ -305,7 +307,7 @@ function MonacoEditor({ value, onChange, language = "javascript", dark = false,
|
|
|
305
307
|
loading,
|
|
306
308
|
options: mergedOptions,
|
|
307
309
|
path,
|
|
308
|
-
theme
|
|
310
|
+
theme,
|
|
309
311
|
width,
|
|
310
312
|
onChange: handleChange,
|
|
311
313
|
onMount: handleMount
|
|
@@ -2,7 +2,6 @@ import { ReactNode } from "react";
|
|
|
2
2
|
import { DEFAULT_MONACO_OPTIONS as DEFAULT_MONACO_OPTIONS$1, MonacoHostOptions, MonacoLanguage, MonacoLanguage as MonacoLanguage$1, MonacoUiLocale, monacoLanguages } from "@coldsmirk/inkstone-monaco";
|
|
3
3
|
import { BeforeMount, DiffBeforeMount, DiffOnMount, OnMount } from "@monaco-editor/react";
|
|
4
4
|
import { editor } from "monaco-editor";
|
|
5
|
-
|
|
6
5
|
//#region src/monaco-diff-editor.d.ts
|
|
7
6
|
interface MonacoDiffEditorProps {
|
|
8
7
|
/**
|
|
@@ -138,29 +137,7 @@ interface MonacoDiffEditorProps {
|
|
|
138
137
|
* statically (type-only imports are fine), and the first mounted editor wins the host
|
|
139
138
|
* configuration.
|
|
140
139
|
*/
|
|
141
|
-
declare function MonacoDiffEditor({
|
|
142
|
-
original,
|
|
143
|
-
modified,
|
|
144
|
-
onChange,
|
|
145
|
-
language,
|
|
146
|
-
dark,
|
|
147
|
-
locale,
|
|
148
|
-
readOnly,
|
|
149
|
-
collapseUnchanged,
|
|
150
|
-
lineWrapping,
|
|
151
|
-
showLineNumbers,
|
|
152
|
-
fontSize,
|
|
153
|
-
lineHeight,
|
|
154
|
-
height,
|
|
155
|
-
width,
|
|
156
|
-
className,
|
|
157
|
-
options,
|
|
158
|
-
hostOptions,
|
|
159
|
-
loading,
|
|
160
|
-
failure,
|
|
161
|
-
beforeMount,
|
|
162
|
-
onMount
|
|
163
|
-
}: MonacoDiffEditorProps): ReactNode;
|
|
140
|
+
declare function MonacoDiffEditor({ original, modified, onChange, language, dark, locale, readOnly, collapseUnchanged, lineWrapping, showLineNumbers, fontSize, lineHeight, height, width, className, options, hostOptions, loading, failure, beforeMount, onMount }: MonacoDiffEditorProps): ReactNode;
|
|
164
141
|
//#endregion
|
|
165
142
|
//#region src/monaco-editor.d.ts
|
|
166
143
|
interface MonacoEditorProps {
|
|
@@ -312,6 +289,8 @@ interface MonacoEditorProps {
|
|
|
312
289
|
* highlighting with light/dark switching, and sensible document defaults — drop it in with
|
|
313
290
|
* `value` / `onChange` and everything else is wired. The UI speaks Monaco's stock English;
|
|
314
291
|
* pass `hostOptions={{ locale: "zh-cn" }}` for the official Simplified-Chinese chrome.
|
|
292
|
+
* TypeScript / JavaScript models whose `path` ends in `.tsx` / `.jsx` also get VS Code's
|
|
293
|
+
* auto-closing JSX tags (`installJsxTagClosing`), served by the bundled TS worker.
|
|
315
294
|
*
|
|
316
295
|
* Mounting is gated on the Monaco host and the Shiki highlighter so the first paint already
|
|
317
296
|
* has the right theme; if the highlighter fails to load, the editor falls back to Monaco's
|
|
@@ -320,34 +299,6 @@ interface MonacoEditorProps {
|
|
|
320
299
|
* Do not `import "monaco-editor"` statically elsewhere in the app — that would evaluate
|
|
321
300
|
* Monaco before its UI locale is set (see `ensureMonacoHost`). Type-only imports are fine.
|
|
322
301
|
*/
|
|
323
|
-
declare function MonacoEditor({
|
|
324
|
-
value,
|
|
325
|
-
onChange,
|
|
326
|
-
language,
|
|
327
|
-
dark,
|
|
328
|
-
locale,
|
|
329
|
-
placeholder,
|
|
330
|
-
lineWrapping,
|
|
331
|
-
showLineNumbers,
|
|
332
|
-
folding,
|
|
333
|
-
disableContextMenu,
|
|
334
|
-
disableFind,
|
|
335
|
-
disableCommandPalette,
|
|
336
|
-
fontSize,
|
|
337
|
-
lineHeight,
|
|
338
|
-
tabSize,
|
|
339
|
-
path,
|
|
340
|
-
height,
|
|
341
|
-
width,
|
|
342
|
-
className,
|
|
343
|
-
options,
|
|
344
|
-
hostOptions,
|
|
345
|
-
loading,
|
|
346
|
-
failure,
|
|
347
|
-
beforeMount,
|
|
348
|
-
onMount,
|
|
349
|
-
onFocus,
|
|
350
|
-
onBlur
|
|
351
|
-
}: MonacoEditorProps): ReactNode;
|
|
302
|
+
declare function MonacoEditor({ value, onChange, language, dark, locale, placeholder, lineWrapping, showLineNumbers, folding, disableContextMenu, disableFind, disableCommandPalette, fontSize, lineHeight, tabSize, path, height, width, className, options, hostOptions, loading, failure, beforeMount, onMount, onFocus, onBlur }: MonacoEditorProps): ReactNode;
|
|
352
303
|
//#endregion
|
|
353
304
|
export { MonacoEditorProps as a, MonacoEditor as i, MonacoLanguage$1 as n, MonacoDiffEditor as o, monacoLanguages as r, MonacoDiffEditorProps as s, DEFAULT_MONACO_OPTIONS$1 as t };
|
package/dist/monaco.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MonacoEditorProps, i as MonacoEditor, n as MonacoLanguage, o as MonacoDiffEditor, r as monacoLanguages, s as MonacoDiffEditorProps, t as DEFAULT_MONACO_OPTIONS } from "./monaco-
|
|
1
|
+
import { a as MonacoEditorProps, i as MonacoEditor, n as MonacoLanguage, o as MonacoDiffEditor, r as monacoLanguages, s as MonacoDiffEditorProps, t as DEFAULT_MONACO_OPTIONS } from "./monaco-DZj8pXIv.js";
|
|
2
2
|
export { DEFAULT_MONACO_OPTIONS, MonacoDiffEditor, type MonacoDiffEditorProps, MonacoEditor, type MonacoEditorProps, type MonacoLanguage, monacoLanguages };
|
package/dist/monaco.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MonacoDiffEditor, n as monacoLanguages, r as MonacoEditor, t as DEFAULT_MONACO_OPTIONS } from "./monaco-
|
|
1
|
+
import { i as MonacoDiffEditor, n as monacoLanguages, r as MonacoEditor, t as DEFAULT_MONACO_OPTIONS } from "./monaco-DD8hJaMr.js";
|
|
2
2
|
export { DEFAULT_MONACO_OPTIONS, MonacoDiffEditor, MonacoEditor, monacoLanguages };
|
package/dist/shiki.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useShikiHighlighter, t as ShikiState } from "./shiki-
|
|
1
|
+
import { n as useShikiHighlighter, t as ShikiState } from "./shiki-Ds-uZ7XH.js";
|
|
2
2
|
export { type ShikiState, useShikiHighlighter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coldsmirk/inkstone-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Drop-in React code editors: a preconfigured Monaco <MonacoEditor> (offline workers, Shiki catppuccin themes, dark switching, opt-in zh-CN UI) and a controlled CodeMirror 6 <CodeMirrorEditor> (catppuccin themes, dark switching, sizing).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@monaco-editor/react": "^4.7.0",
|
|
51
|
-
"@coldsmirk/inkstone-
|
|
52
|
-
"@coldsmirk/inkstone-
|
|
53
|
-
"@coldsmirk/inkstone-
|
|
51
|
+
"@coldsmirk/inkstone-codemirror": "^0.16.0",
|
|
52
|
+
"@coldsmirk/inkstone-core": "^0.16.0",
|
|
53
|
+
"@coldsmirk/inkstone-monaco": "^0.16.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@codemirror/autocomplete": "^6.20.3",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"@codemirror/search": "^6.6.0",
|
|
60
60
|
"@codemirror/state": "^6.6.0",
|
|
61
61
|
"@codemirror/view": "^6.43.0",
|
|
62
|
-
"monaco-editor": "^0.
|
|
63
|
-
"react": "^19.2.
|
|
64
|
-
"react-dom": "^19.2.
|
|
62
|
+
"monaco-editor": "^0.56.0",
|
|
63
|
+
"react": "^19.2.8",
|
|
64
|
+
"react-dom": "^19.2.8"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@codemirror/autocomplete": "^6.20.3",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@codemirror/search": "^6.6.0",
|
|
71
71
|
"@codemirror/state": "^6.6.0",
|
|
72
72
|
"@codemirror/view": "^6.43.0",
|
|
73
|
-
"monaco-editor": "^0.
|
|
73
|
+
"monaco-editor": "^0.56.0",
|
|
74
74
|
"react": ">=19"
|
|
75
75
|
},
|
|
76
76
|
"peerDependenciesMeta": {
|