lean4monaco 1.0.35 → 1.0.36
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/css/vscode_webview.css +106 -0
- package/dist/infowebview.js +2 -0
- package/package.json +1 -1
- package/dist/JuliaMono-Regular.ttf +0 -0
- package/dist/lean4-infoview/codicon.ttf +0 -0
- package/dist/lean4-infoview/esm-shims/react-dom.d.ts +0 -5
- package/dist/lean4-infoview/esm-shims/react-jsx-runtime.d.ts +0 -5
- package/dist/lean4-infoview/esm-shims/react.d.ts +0 -5
- package/dist/lean4-infoview/index.css +0 -4161
- package/dist/lean4-infoview/index.d.ts +0 -16
- package/dist/lean4-infoview/index.development.js +0 -37312
- package/dist/lean4-infoview/index.production.min.js +0 -1528
- package/dist/lean4-infoview/infoview/collapsing.d.ts +0 -12
- package/dist/lean4-infoview/infoview/contexts.d.ts +0 -10
- package/dist/lean4-infoview/infoview/editorConnection.d.ts +0 -22
- package/dist/lean4-infoview/infoview/errors.d.ts +0 -14
- package/dist/lean4-infoview/infoview/event.d.ts +0 -33
- package/dist/lean4-infoview/infoview/goalLocation.d.ts +0 -61
- package/dist/lean4-infoview/infoview/goals.d.ts +0 -46
- package/dist/lean4-infoview/infoview/info.d.ts +0 -18
- package/dist/lean4-infoview/infoview/infos.d.ts +0 -2
- package/dist/lean4-infoview/infoview/interactiveCode.d.ts +0 -19
- package/dist/lean4-infoview/infoview/main.d.ts +0 -13
- package/dist/lean4-infoview/infoview/messages.d.ts +0 -19
- package/dist/lean4-infoview/infoview/rpcSessions.d.ts +0 -11
- package/dist/lean4-infoview/infoview/serverVersion.d.ts +0 -10
- package/dist/lean4-infoview/infoview/tooltips.d.ts +0 -32
- package/dist/lean4-infoview/infoview/traceExplorer.d.ts +0 -11
- package/dist/lean4-infoview/infoview/userWidget.d.ts +0 -39
- package/dist/lean4-infoview/infoview/util.d.ts +0 -144
- package/dist/lean4-infoview/loader.d.ts +0 -20
- package/dist/lean4-infoview/loader.development.js +0 -1006
- package/dist/lean4-infoview/loader.production.min.js +0 -1
- package/dist/lean4-infoview/react-dom.development.js +0 -30537
- package/dist/lean4-infoview/react-dom.production.min.js +0 -21
- package/dist/lean4-infoview/react-jsx-runtime.development.js +0 -1362
- package/dist/lean4-infoview/react-jsx-runtime.production.min.js +0 -1
- package/dist/lean4-infoview/react.development.js +0 -2823
- package/dist/lean4-infoview/react.production.min.js +0 -1
- package/dist/monaco-lean4/vscode-lean4/package.json +0 -944
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.d.ts +0 -9
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.js +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.d.ts +0 -12
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.js +0 -40
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.d.ts +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.js +0 -79
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.d.ts +0 -13
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.js +0 -29
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.d.ts +0 -28
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.js +0 -124
- package/dist/monaco-lean4/vscode-lean4/src/config.d.ts +0 -33
- package/dist/monaco-lean4/vscode-lean4/src/config.js +0 -119
- package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.d.ts +0 -27
- package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.js +0 -133
- package/dist/monaco-lean4/vscode-lean4/src/infoview.d.ts +0 -69
- package/dist/monaco-lean4/vscode-lean4/src/infoview.js +0 -711
- package/dist/monaco-lean4/vscode-lean4/src/leanclient.d.ts +0 -67
- package/dist/monaco-lean4/vscode-lean4/src/leanclient.js +0 -443
- package/dist/monaco-lean4/vscode-lean4/src/rpc.d.ts +0 -16
- package/dist/monaco-lean4/vscode-lean4/src/rpc.js +0 -102
- package/dist/monaco-lean4/vscode-lean4/src/taskgutter.d.ts +0 -11
- package/dist/monaco-lean4/vscode-lean4/src/taskgutter.js +0 -130
- package/dist/monaco-lean4/vscode-lean4/src/utils/batch.d.ts +0 -37
- package/dist/monaco-lean4/vscode-lean4/src/utils/batch.js +0 -203
- package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.d.ts +0 -41
- package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.js +0 -205
- package/dist/monaco-lean4/vscode-lean4/src/utils/converters.d.ts +0 -16
- package/dist/monaco-lean4/vscode-lean4/src/utils/converters.js +0 -129
- package/dist/monaco-lean4/vscode-lean4/src/utils/elan.d.ts +0 -3
- package/dist/monaco-lean4/vscode-lean4/src/utils/elan.js +0 -4
- package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.d.ts +0 -21
- package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.js +0 -53
- package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.d.ts +0 -35
- package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.js +0 -136
- package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.d.ts +0 -17
- package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.js +0 -36
- package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.d.ts +0 -37
- package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.js +0 -210
- package/dist/monaco-lean4/vscode-lean4/src/utils/logger.d.ts +0 -7
- package/dist/monaco-lean4/vscode-lean4/src/utils/logger.js +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.d.ts +0 -24
- package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.js +0 -110
- package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.d.ts +0 -9
- package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.js +0 -125
- package/dist/vscode.css +0 -7
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ Afterwards, you can run the demo with
|
|
|
174
174
|
```
|
|
175
175
|
cd lean4monaco
|
|
176
176
|
npm install
|
|
177
|
-
npm setup_demo # this builds lean4monaco and calls `npm install` in `demo/`
|
|
177
|
+
npm run setup_demo # this builds lean4monaco and calls `npm install` in `demo/`
|
|
178
178
|
npm start
|
|
179
179
|
```
|
|
180
180
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/*
|
|
2
|
+
From VSCode Workbench. Source:
|
|
3
|
+
https://github.com/microsoft/vscode/blob/13369a2285cf8c1163eaa3b1a1073bc7edb78581/src/vs/workbench/contrib/webview/browser/pre/index.html#L87-L183
|
|
4
|
+
|
|
5
|
+
TODO: integrate correctly?
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* manually added since it seems to be necessary. why though? */
|
|
9
|
+
a.link.pointer {
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
html {
|
|
14
|
+
scrollbar-color: var(--vscode-scrollbarSlider-background) var(--vscode-editor-background);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body {
|
|
18
|
+
overscroll-behavior-x: none;
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
color: var(--vscode-editor-foreground);
|
|
21
|
+
font-family: var(--vscode-font-family);
|
|
22
|
+
font-weight: var(--vscode-font-weight);
|
|
23
|
+
font-size: var(--vscode-font-size);
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
img, video {
|
|
29
|
+
max-width: 100%;
|
|
30
|
+
max-height: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
a, a code {
|
|
34
|
+
color: var(--vscode-textLink-foreground);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
p > a {
|
|
38
|
+
text-decoration: var(--text-link-decoration);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a:hover {
|
|
42
|
+
color: var(--vscode-textLink-activeForeground);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
a:focus,
|
|
46
|
+
input:focus,
|
|
47
|
+
select:focus,
|
|
48
|
+
textarea:focus {
|
|
49
|
+
outline: 1px solid -webkit-focus-ring-color;
|
|
50
|
+
outline-offset: -1px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
code {
|
|
54
|
+
font-family: var(--monaco-monospace-font);
|
|
55
|
+
color: var(--vscode-textPreformat-foreground);
|
|
56
|
+
background-color: var(--vscode-textPreformat-background);
|
|
57
|
+
padding: 1px 3px;
|
|
58
|
+
border-radius: 4px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
pre code {
|
|
62
|
+
padding: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
blockquote {
|
|
66
|
+
background: var(--vscode-textBlockQuote-background);
|
|
67
|
+
border-color: var(--vscode-textBlockQuote-border);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
kbd {
|
|
71
|
+
background-color: var(--vscode-keybindingLabel-background);
|
|
72
|
+
color: var(--vscode-keybindingLabel-foreground);
|
|
73
|
+
border-style: solid;
|
|
74
|
+
border-width: 1px;
|
|
75
|
+
border-radius: 3px;
|
|
76
|
+
border-color: var(--vscode-keybindingLabel-border);
|
|
77
|
+
border-bottom-color: var(--vscode-keybindingLabel-bottomBorder);
|
|
78
|
+
box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow);
|
|
79
|
+
vertical-align: middle;
|
|
80
|
+
padding: 1px 3px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
::-webkit-scrollbar {
|
|
84
|
+
width: 10px;
|
|
85
|
+
height: 10px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
::-webkit-scrollbar-corner {
|
|
89
|
+
background-color: var(--vscode-editor-background);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
::-webkit-scrollbar-thumb {
|
|
93
|
+
background-color: var(--vscode-scrollbarSlider-background);
|
|
94
|
+
}
|
|
95
|
+
::-webkit-scrollbar-thumb:hover {
|
|
96
|
+
background-color: var(--vscode-scrollbarSlider-hoverBackground);
|
|
97
|
+
}
|
|
98
|
+
::-webkit-scrollbar-thumb:active {
|
|
99
|
+
background-color: var(--vscode-scrollbarSlider-activeBackground);
|
|
100
|
+
}
|
|
101
|
+
::highlight(find-highlight) {
|
|
102
|
+
background-color: var(--vscode-editor-findMatchHighlightBackground);
|
|
103
|
+
}
|
|
104
|
+
::highlight(current-find-highlight) {
|
|
105
|
+
background-color: var(--vscode-editor-findMatchBackground);
|
|
106
|
+
}
|
package/dist/infowebview.js
CHANGED
|
@@ -133,6 +133,8 @@ export class IFrameInfoWebviewFactory {
|
|
|
133
133
|
}
|
|
134
134
|
</style>
|
|
135
135
|
<link rel="stylesheet" href="${new URL('./vscode-lean4/lean4-infoview/src/infoview/index.css', import.meta.url)}">
|
|
136
|
+
<link rel="stylesheet" href="${new URL('./css/vscode_webview.css', import.meta.url)}">
|
|
137
|
+
|
|
136
138
|
</head>
|
|
137
139
|
<body>
|
|
138
140
|
<div id="react_root"></div>
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** @module See `rollup.config.js` for what this file does. */
|
|
2
|
-
import * as ReactDOM from 'react-dom';
|
|
3
|
-
import { createPortal, createRoot, findDOMNode, flushSync, hydrate, hydrateRoot, render, unmountComponentAtNode, unstable_batchedUpdates, unstable_renderSubtreeIntoContainer, version, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED } from 'react-dom';
|
|
4
|
-
export default ReactDOM;
|
|
5
|
-
export { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, createPortal, createRoot, findDOMNode, flushSync, hydrate, hydrateRoot, render, unmountComponentAtNode, unstable_batchedUpdates, unstable_renderSubtreeIntoContainer, version, };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** @module See `rollup.config.js` for what this file does. */
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export default React;
|
|
4
|
-
import { Children, cloneElement, Component, createContext, createElement, createFactory, createRef, forwardRef, Fragment, isValidElement, lazy, memo, Profiler, PureComponent, startTransition, StrictMode, Suspense, unstable_act, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition, version, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED } from 'react';
|
|
5
|
-
export { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, startTransition, unstable_act, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition, version, };
|