@workbench-kit/monaco 0.0.2-prototype.0.2.29 → 0.0.2-prototype.0.2.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbench-kit/monaco",
3
- "version": "0.0.2-prototype.0.2.29",
3
+ "version": "0.0.2-prototype.0.2.31",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -100,22 +100,3 @@ export const monaco = {
100
100
  export const Editor = WorkbenchMonacoEditor;
101
101
  export const DiffEditor = WorkbenchMonacoDiffEditor;
102
102
  export const loader = { config: () => undefined };
103
-
104
- export function createWorkbenchMonacoMockModule(
105
- renderEditor?: (props: MockWorkbenchMonacoEditorProps) => ReturnType<typeof createElement>,
106
- ) {
107
- const defaultRender = ({ value }: MockWorkbenchMonacoEditorProps) =>
108
- createElement('div', { 'data-testid': 'monaco-editor' }, value ?? 'Mocked Monaco Editor');
109
-
110
- return {
111
- WorkbenchMonacoEditor: renderEditor ?? defaultRender,
112
- WorkbenchMonacoDiffEditor,
113
- DiffEditor: WorkbenchMonacoDiffEditor,
114
- useMonacoWorkbenchThemeSync: () => undefined,
115
- prepareMonacoWorkbenchEditor: () => undefined,
116
- monacoThemeForWorkspaceTheme: (theme: string) => theme,
117
- MONACO_DARK_THEME_ID: 'workbench-kit-dark',
118
- MONACO_LIGHT_THEME_ID: 'workbench-kit-light',
119
- monaco,
120
- };
121
- }