@codingame/monaco-vscode-workspace-trust-service-override 20.1.0 → 20.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-workspace-trust-service-override",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - workspace-trust service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "20.
|
|
19
|
-
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "20.
|
|
20
|
-
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "20.
|
|
21
|
-
"@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "20.
|
|
22
|
-
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.
|
|
23
|
-
"@codingame/monaco-vscode-7869cfe8-f42c-5721-9f2b-7d04a6a41f16-common": "20.
|
|
24
|
-
"@codingame/monaco-vscode-api": "20.
|
|
25
|
-
"@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common": "20.
|
|
26
|
-
"@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "20.
|
|
18
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "20.2.0",
|
|
19
|
+
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "20.2.0",
|
|
20
|
+
"@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "20.2.0",
|
|
21
|
+
"@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "20.2.0",
|
|
22
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.2.0",
|
|
23
|
+
"@codingame/monaco-vscode-7869cfe8-f42c-5721-9f2b-7d04a6a41f16-common": "20.2.0",
|
|
24
|
+
"@codingame/monaco-vscode-api": "20.2.0",
|
|
25
|
+
"@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common": "20.2.0",
|
|
26
|
+
"@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "20.2.0"
|
|
27
27
|
},
|
|
28
28
|
"main": "index.js",
|
|
29
29
|
"module": "index.js",
|
|
@@ -1,18 +1,26 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
1
6
|
.workspace-trust-editor {
|
|
2
7
|
max-width: 1000px;
|
|
3
8
|
padding-top: 11px;
|
|
4
9
|
margin: auto;
|
|
5
10
|
height: calc(100% - 11px);
|
|
6
11
|
}
|
|
12
|
+
|
|
7
13
|
.workspace-trust-editor:focus {
|
|
8
14
|
outline: none !important;
|
|
9
15
|
}
|
|
16
|
+
|
|
10
17
|
.workspace-trust-editor > .workspace-trust-header {
|
|
11
18
|
padding: 14px;
|
|
12
19
|
display: flex;
|
|
13
20
|
flex-direction: column;
|
|
14
21
|
align-items: center;
|
|
15
22
|
}
|
|
23
|
+
|
|
16
24
|
.workspace-trust-editor .workspace-trust-header .workspace-trust-title {
|
|
17
25
|
font-size: 24px;
|
|
18
26
|
font-weight: 600;
|
|
@@ -20,13 +28,16 @@
|
|
|
20
28
|
padding: 10px 0px;
|
|
21
29
|
display: flex;
|
|
22
30
|
}
|
|
31
|
+
|
|
23
32
|
.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon {
|
|
24
33
|
font-size: 32px;
|
|
25
34
|
margin-right: 8px;
|
|
26
35
|
}
|
|
36
|
+
|
|
27
37
|
.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon {
|
|
28
38
|
color: var(--workspace-trust-selected-color) !important;
|
|
29
39
|
}
|
|
40
|
+
|
|
30
41
|
.workspace-trust-editor .workspace-trust-header .workspace-trust-description {
|
|
31
42
|
cursor: default;
|
|
32
43
|
user-select: text;
|
|
@@ -34,19 +45,24 @@
|
|
|
34
45
|
text-align: center;
|
|
35
46
|
padding: 14px 0;
|
|
36
47
|
}
|
|
48
|
+
|
|
37
49
|
.workspace-trust-editor .workspace-trust-section-title {
|
|
38
50
|
font-weight: 600;
|
|
39
51
|
font-size: 18px;
|
|
40
52
|
padding-bottom: 5px;
|
|
41
53
|
}
|
|
54
|
+
|
|
42
55
|
.workspace-trust-editor .workspace-trust-subsection-title {
|
|
43
56
|
font-size: 16px;
|
|
44
57
|
font-weight: 600;
|
|
45
58
|
line-height: 32px;
|
|
46
59
|
}
|
|
60
|
+
|
|
47
61
|
.workspace-trust-editor .workspace-trust-editor-body {
|
|
48
62
|
height: 100%;
|
|
49
63
|
}
|
|
64
|
+
|
|
65
|
+
/** Features List */
|
|
50
66
|
.workspace-trust-editor .workspace-trust-features {
|
|
51
67
|
padding: 14px;
|
|
52
68
|
cursor: default;
|
|
@@ -56,6 +72,7 @@
|
|
|
56
72
|
flex-flow: wrap;
|
|
57
73
|
justify-content: space-evenly;
|
|
58
74
|
}
|
|
75
|
+
|
|
59
76
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations {
|
|
60
77
|
min-height: 315px;
|
|
61
78
|
border: 1px solid var(--workspace-trust-unselected-color);
|
|
@@ -64,6 +81,7 @@
|
|
|
64
81
|
flex-direction: column;
|
|
65
82
|
padding: 10px 40px;
|
|
66
83
|
}
|
|
84
|
+
|
|
67
85
|
.workspace-trust-editor.trusted .workspace-trust-features .workspace-trust-limitations.trusted,
|
|
68
86
|
.workspace-trust-editor.untrusted .workspace-trust-features .workspace-trust-limitations.untrusted {
|
|
69
87
|
border-width: 2px;
|
|
@@ -71,35 +89,43 @@
|
|
|
71
89
|
padding: 9px 39px;
|
|
72
90
|
outline-offset: 2px;
|
|
73
91
|
}
|
|
92
|
+
|
|
74
93
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations ul {
|
|
75
94
|
list-style: none;
|
|
76
95
|
padding-inline-start: 0px;
|
|
77
96
|
}
|
|
97
|
+
|
|
78
98
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations li {
|
|
79
99
|
display: flex;
|
|
80
100
|
padding-bottom: 10px;
|
|
81
101
|
}
|
|
102
|
+
|
|
82
103
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations .list-item-icon {
|
|
83
104
|
padding-right: 5px;
|
|
84
105
|
line-height: 24px;
|
|
85
106
|
}
|
|
107
|
+
|
|
86
108
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations.trusted .list-item-icon {
|
|
87
109
|
color: var(--workspace-trust-check-color) !important;
|
|
88
110
|
font-size: 18px;
|
|
89
111
|
}
|
|
112
|
+
|
|
90
113
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations.untrusted .list-item-icon {
|
|
91
114
|
color: var(--workspace-trust-x-color) !important;
|
|
92
115
|
font-size: 20px;
|
|
93
116
|
}
|
|
117
|
+
|
|
94
118
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations .list-item-text {
|
|
95
119
|
font-size: 16px;
|
|
96
120
|
line-height: 24px;
|
|
97
121
|
}
|
|
122
|
+
|
|
98
123
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header {
|
|
99
124
|
display: flex;
|
|
100
125
|
flex-direction: column;
|
|
101
126
|
align-items: center;
|
|
102
127
|
}
|
|
128
|
+
|
|
103
129
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header .workspace-trust-limitations-title {
|
|
104
130
|
font-size: 16px;
|
|
105
131
|
font-weight: 600;
|
|
@@ -107,37 +133,46 @@
|
|
|
107
133
|
padding: 10px 0px;
|
|
108
134
|
display: flex;
|
|
109
135
|
}
|
|
136
|
+
|
|
110
137
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon {
|
|
111
138
|
font-size: 24px;
|
|
112
139
|
margin-right: 8px;
|
|
113
140
|
display: none;
|
|
114
141
|
}
|
|
142
|
+
|
|
115
143
|
.workspace-trust-editor.trusted .workspace-trust-features .workspace-trust-limitations.trusted .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon,
|
|
116
144
|
.workspace-trust-editor.untrusted .workspace-trust-features .workspace-trust-limitations.untrusted .workspace-trust-limitations-header .workspace-trust-limitations-title .workspace-trust-title-icon {
|
|
117
145
|
display: unset;
|
|
118
146
|
color: var(--workspace-trust-selected-color) !important;
|
|
119
147
|
}
|
|
148
|
+
|
|
120
149
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-untrusted-description {
|
|
121
150
|
font-style: italic;
|
|
122
151
|
padding-bottom: 10px;
|
|
123
152
|
}
|
|
153
|
+
|
|
154
|
+
/** Buttons Container */
|
|
124
155
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row {
|
|
125
156
|
display: flex;
|
|
126
157
|
align-items: center;
|
|
127
158
|
justify-content: center;
|
|
128
159
|
padding: 5px 0 10px 0;
|
|
129
|
-
overflow: hidden;
|
|
160
|
+
overflow: hidden; /* buttons row should never overflow */
|
|
130
161
|
white-space: nowrap;
|
|
131
162
|
margin-top: auto;
|
|
132
163
|
}
|
|
164
|
+
|
|
165
|
+
/** Buttons */
|
|
133
166
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons,
|
|
134
167
|
.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar {
|
|
135
168
|
display: flex;
|
|
136
169
|
overflow: hidden;
|
|
137
170
|
}
|
|
171
|
+
|
|
138
172
|
.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar {
|
|
139
173
|
margin-top: 5px;
|
|
140
174
|
}
|
|
175
|
+
|
|
141
176
|
.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar .monaco-button {
|
|
142
177
|
width: fit-content;
|
|
143
178
|
padding: 5px 10px;
|
|
@@ -145,92 +180,114 @@
|
|
|
145
180
|
text-overflow: ellipsis;
|
|
146
181
|
outline-offset: 2px !important;
|
|
147
182
|
}
|
|
183
|
+
|
|
148
184
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons > .monaco-button,
|
|
149
185
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons > .monaco-button-dropdown,
|
|
150
186
|
.workspace-trust-editor .workspace-trust-settings .trusted-uris-button-bar .monaco-button {
|
|
151
|
-
margin: 4px 5px;
|
|
187
|
+
margin: 4px 5px; /* allows button focus outline to be visible */
|
|
152
188
|
}
|
|
189
|
+
|
|
153
190
|
.workspace-trust-editor .workspace-trust-features .workspace-trust-buttons-row .workspace-trust-buttons .monaco-button-dropdown .monaco-dropdown-button {
|
|
154
191
|
padding: 5px;
|
|
155
192
|
}
|
|
193
|
+
|
|
156
194
|
.workspace-trust-limitations {
|
|
157
195
|
width: 50%;
|
|
158
196
|
max-width: 350px;
|
|
159
197
|
min-width: 250px;
|
|
160
198
|
flex: 1;
|
|
161
199
|
}
|
|
200
|
+
|
|
162
201
|
.workspace-trust-intro-dialog {
|
|
163
202
|
min-width: min(50vw, 500px);
|
|
164
203
|
padding-right: 24px;
|
|
165
204
|
}
|
|
205
|
+
|
|
166
206
|
.workspace-trust-intro-dialog .workspace-trust-dialog-image-row p {
|
|
167
207
|
display: flex;
|
|
168
208
|
align-items: center;
|
|
169
209
|
}
|
|
210
|
+
|
|
170
211
|
.workspace-trust-intro-dialog .workspace-trust-dialog-image-row.badge-row img {
|
|
171
212
|
max-height: 40px;
|
|
172
213
|
padding-right: 10px;
|
|
173
214
|
}
|
|
215
|
+
|
|
174
216
|
.workspace-trust-intro-dialog .workspace-trust-dialog-image-row.status-bar img {
|
|
175
217
|
max-height: 32px;
|
|
176
218
|
padding-right: 10px;
|
|
177
219
|
}
|
|
220
|
+
|
|
178
221
|
.workspace-trust-editor .workspace-trust-settings {
|
|
179
222
|
padding: 20px 14px;
|
|
180
223
|
}
|
|
224
|
+
|
|
181
225
|
.workspace-trust-editor .workspace-trust-settings .workspace-trusted-folders-title {
|
|
182
226
|
font-weight: 600;
|
|
183
227
|
}
|
|
228
|
+
|
|
184
229
|
.workspace-trust-editor .empty > .trusted-uris-table {
|
|
185
230
|
display: none;
|
|
186
231
|
}
|
|
232
|
+
|
|
187
233
|
.workspace-trust-editor .monaco-table-tr .monaco-table-td .path {
|
|
188
234
|
width: 100%;
|
|
189
235
|
}
|
|
236
|
+
|
|
190
237
|
.workspace-trust-editor .monaco-table-tr .monaco-table-td .path:not(.input-mode) .monaco-inputbox,
|
|
191
238
|
.workspace-trust-editor .monaco-table-tr .monaco-table-td .path.input-mode .path-label {
|
|
192
239
|
display: none;
|
|
193
240
|
}
|
|
241
|
+
|
|
194
242
|
.workspace-trust-editor .monaco-table-tr .monaco-table-td .current-workspace-parent .path-label,
|
|
195
243
|
.workspace-trust-editor .monaco-table-tr .monaco-table-td .current-workspace-parent .host-label {
|
|
196
244
|
font-weight: bold;
|
|
197
245
|
font-style: italic;
|
|
198
246
|
}
|
|
247
|
+
|
|
199
248
|
.workspace-trust-editor .monaco-table-th,
|
|
200
249
|
.workspace-trust-editor .monaco-table-td {
|
|
201
250
|
padding-left: 5px;
|
|
202
251
|
}
|
|
252
|
+
|
|
203
253
|
.workspace-trust-editor .workspace-trust-settings .monaco-action-bar .action-item > .codicon {
|
|
204
254
|
display: flex;
|
|
205
255
|
align-items: center;
|
|
206
256
|
justify-content: center;
|
|
207
257
|
color: inherit;
|
|
208
258
|
}
|
|
259
|
+
|
|
209
260
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td {
|
|
210
261
|
align-items: center;
|
|
211
262
|
display: flex;
|
|
212
263
|
overflow: hidden;
|
|
213
264
|
}
|
|
265
|
+
|
|
214
266
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .host,
|
|
215
267
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .path {
|
|
216
268
|
max-width: 100%;
|
|
217
269
|
}
|
|
270
|
+
|
|
218
271
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions {
|
|
219
272
|
width: 100%;
|
|
220
273
|
}
|
|
274
|
+
|
|
221
275
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions .actions-container {
|
|
222
276
|
justify-content: flex-end;
|
|
223
277
|
padding-right: 3px;
|
|
224
278
|
}
|
|
279
|
+
|
|
225
280
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .monaco-button {
|
|
226
281
|
height: 18px;
|
|
227
282
|
padding-left: 8px;
|
|
228
283
|
padding-right: 8px;
|
|
229
284
|
}
|
|
285
|
+
|
|
230
286
|
.workspace-trust-editor .workspace-trust-settings .monaco-table-tr .monaco-table-td .actions .monaco-action-bar {
|
|
231
287
|
display: none;
|
|
232
288
|
flex: 1;
|
|
233
289
|
}
|
|
290
|
+
|
|
234
291
|
.workspace-trust-editor .workspace-trust-settings .monaco-list-row.selected .monaco-table-tr .monaco-table-td .actions .monaco-action-bar,
|
|
235
292
|
.workspace-trust-editor .workspace-trust-settings .monaco-table .monaco-list-row.focused .monaco-table-tr .monaco-table-td .actions .monaco-action-bar,
|
|
236
293
|
.workspace-trust-editor .workspace-trust-settings .monaco-list-row:hover .monaco-table-tr .monaco-table-td .actions .monaco-action-bar {
|