@patternfly/react-code-editor 4.40.2 → 4.40.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.40.5 (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-code-editor
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.40.4 (2022-03-19)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-code-editor
17
+
18
+
19
+
20
+
21
+
22
+ ## 4.40.3 (2022-03-17)
23
+
24
+ **Note:** Version bump only for package @patternfly/react-code-editor
25
+
26
+
27
+
28
+
29
+
6
30
  ## 4.40.2 (2022-03-17)
7
31
 
8
32
  **Note:** Version bump only for package @patternfly/react-code-editor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-code-editor",
3
- "version": "4.40.2",
3
+ "version": "4.40.5",
4
4
  "description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -30,9 +30,9 @@
30
30
  "clean": "rimraf dist"
31
31
  },
32
32
  "dependencies": {
33
- "@patternfly/react-core": "^4.199.2",
34
- "@patternfly/react-icons": "^4.50.2",
35
- "@patternfly/react-styles": "^4.49.2",
33
+ "@patternfly/react-core": "^4.199.5",
34
+ "@patternfly/react-icons": "^4.50.5",
35
+ "@patternfly/react-styles": "^4.49.5",
36
36
  "react-dropzone": "9.0.0",
37
37
  "tslib": "^2.0.0"
38
38
  },
@@ -46,5 +46,5 @@
46
46
  "rimraf": "^2.6.2",
47
47
  "typescript": "^4.0.0"
48
48
  },
49
- "gitHead": "57da79b104a7ac151b99b79933cf164ed611cc7d"
49
+ "gitHead": "f31fca2c9a852fedd657b7e10fd7bf203849cac2"
50
50
  }
@@ -1,26 +1,32 @@
1
- import { CodeEditor, Language } from '../CodeEditor';
2
1
  import React from 'react';
3
- import { shallow } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
+ import { CodeEditor, Language } from '../CodeEditor';
4
4
 
5
- test(`CodeEditor`, () => {
6
- const view = shallow(<CodeEditor />);
7
- expect(view).toMatchSnapshot();
8
- });
5
+ describe('CodeEditor', () => {
6
+ beforeAll(() => {
7
+ window.HTMLCanvasElement.prototype.getContext = () => ({} as any);
8
+ });
9
+
10
+ test('matches snapshot without props', () => {
11
+ const view = render(<CodeEditor />);
12
+ expect(view.container).toMatchSnapshot();
13
+ });
9
14
 
10
- test(`CodeEditor with all flags`, () => {
11
- const view = shallow(
12
- <CodeEditor
13
- isReadOnly
14
- isDarkTheme
15
- isLineNumbersVisible={false}
16
- isUploadEnabled
17
- isLanguageLabelVisible
18
- isDownloadEnabled
19
- isCopyEnabled
20
- height="400px"
21
- code={'test'}
22
- language={Language.javascript}
23
- />
24
- );
25
- expect(view).toMatchSnapshot();
15
+ test('matches snapshot with all props', () => {
16
+ const view = render(
17
+ <CodeEditor
18
+ isReadOnly
19
+ isDarkTheme
20
+ isLineNumbersVisible={false}
21
+ isUploadEnabled
22
+ isLanguageLabelVisible
23
+ isDownloadEnabled
24
+ isCopyEnabled
25
+ height="400px"
26
+ code={'test'}
27
+ language={Language.javascript}
28
+ />
29
+ );
30
+ expect(view.container).toMatchSnapshot();
31
+ });
26
32
  });
@@ -1,31 +1,578 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`CodeEditor 1`] = `
4
- <t
5
- disabled={false}
6
- getDataTransferItems={[Function]}
7
- maxSize={Infinity}
8
- minSize={0}
9
- multiple={false}
10
- onDropAccepted={[Function]}
11
- onDropRejected={[Function]}
12
- preventDropOnDocument={true}
13
- >
14
- <Component />
15
- </t>
3
+ exports[`CodeEditor matches snapshot with all props 1`] = `
4
+ <div>
5
+ <div
6
+ class="pf-c-code-editor pf-m-read-only"
7
+ >
8
+ <div
9
+ class="pf-c-file-upload undefined false"
10
+ tabindex="0"
11
+ >
12
+ <div
13
+ class="pf-c-code-editor__header"
14
+ >
15
+ <div
16
+ class="pf-c-code-editor__controls"
17
+ >
18
+ <button
19
+ aria-disabled="false"
20
+ aria-label="Copy code to clipboard"
21
+ class="pf-c-button pf-m-control"
22
+ data-ouia-component-id="OUIA-Generated-Button-control-1"
23
+ data-ouia-component-type="PF4/Button"
24
+ data-ouia-safe="true"
25
+ type="button"
26
+ >
27
+ <svg
28
+ aria-hidden="true"
29
+ fill="currentColor"
30
+ height="1em"
31
+ role="img"
32
+ style="vertical-align: -0.125em;"
33
+ viewBox="0 0 448 512"
34
+ width="1em"
35
+ >
36
+ <path
37
+ d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
38
+ />
39
+ </svg>
40
+ </button>
41
+ <button
42
+ aria-disabled="false"
43
+ aria-label="Upload code"
44
+ class="pf-c-button pf-m-control"
45
+ data-ouia-component-id="OUIA-Generated-Button-control-2"
46
+ data-ouia-component-type="PF4/Button"
47
+ data-ouia-safe="true"
48
+ type="button"
49
+ >
50
+ <svg
51
+ aria-hidden="true"
52
+ fill="currentColor"
53
+ height="1em"
54
+ role="img"
55
+ style="vertical-align: -0.125em;"
56
+ viewBox="0 0 512 512"
57
+ width="1em"
58
+ >
59
+ <path
60
+ d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
61
+ />
62
+ </svg>
63
+ </button>
64
+ <button
65
+ aria-disabled="false"
66
+ aria-label="Download code"
67
+ class="pf-c-button pf-m-control"
68
+ data-ouia-component-id="OUIA-Generated-Button-control-3"
69
+ data-ouia-component-type="PF4/Button"
70
+ data-ouia-safe="true"
71
+ type="button"
72
+ >
73
+ <svg
74
+ aria-hidden="true"
75
+ fill="currentColor"
76
+ height="1em"
77
+ role="img"
78
+ style="vertical-align: -0.125em;"
79
+ viewBox="0 0 512 512"
80
+ width="1em"
81
+ >
82
+ <path
83
+ d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
84
+ />
85
+ </svg>
86
+ </button>
87
+ </div>
88
+ <div
89
+ class="pf-c-code-editor__header-main"
90
+ />
91
+ <div
92
+ class="pf-c-code-editor__tab"
93
+ >
94
+ <span
95
+ class="pf-c-code-editor__tab-icon"
96
+ >
97
+ <svg
98
+ aria-hidden="true"
99
+ fill="currentColor"
100
+ height="1em"
101
+ role="img"
102
+ style="vertical-align: -0.125em;"
103
+ viewBox="0 0 640 512"
104
+ width="1em"
105
+ >
106
+ <path
107
+ d="M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"
108
+ />
109
+ </svg>
110
+ </span>
111
+ <span
112
+ class="pf-c-code-editor__tab-text"
113
+ >
114
+ JAVASCRIPT
115
+ </span>
116
+ </div>
117
+ </div>
118
+ <div
119
+ class="pf-c-code-editor__main"
120
+ >
121
+ <input
122
+ autocomplete="off"
123
+ style="display: none;"
124
+ tabindex="-1"
125
+ type="file"
126
+ />
127
+ <div
128
+ class="pf-c-code-editor__code"
129
+ tabindex="0"
130
+ >
131
+ <div
132
+ class="react-monaco-editor-container"
133
+ data-keybinding-context="1"
134
+ data-mode-id="plaintext"
135
+ style="height: 400px;"
136
+ >
137
+ <div
138
+ class="monaco-editor showUnused showDeprecated vs-dark"
139
+ data-uri="inmemory://model/2"
140
+ style="width: 5px; height: 5px;"
141
+ >
142
+ <div
143
+ class="overflow-guard"
144
+ data-mprt="3"
145
+ style="width: 5px; height: 5px;"
146
+ >
147
+ <div
148
+ aria-hidden="true"
149
+ class="margin"
150
+ role="presentation"
151
+ style="position: absolute;"
152
+ >
153
+ <div
154
+ class="glyph-margin"
155
+ />
156
+ <div
157
+ aria-hidden="true"
158
+ class="margin-view-zones"
159
+ role="presentation"
160
+ style="position: absolute;"
161
+ />
162
+ <div
163
+ aria-hidden="true"
164
+ class="margin-view-overlays"
165
+ role="presentation"
166
+ style="position: absolute; width: 1px; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px;"
167
+ />
168
+ </div>
169
+ <div
170
+ class="monaco-scrollable-element editor-scrollable vs-dark"
171
+ data-mprt="5"
172
+ role="presentation"
173
+ style="position: absolute; overflow: hidden; left: 26px; width: -21px; height: 5px;"
174
+ >
175
+ <div
176
+ class="lines-content monaco-editor-background"
177
+ style="position: absolute; overflow: hidden; width: 1000000px; height: 1000000px; transform: translate3d(0px, 0px, 0px); contain: strict; top: 0px; left: 0px;"
178
+ >
179
+ <div
180
+ aria-hidden="true"
181
+ class="view-overlays"
182
+ role="presentation"
183
+ style="position: absolute; height: 0px;"
184
+ />
185
+ <div
186
+ aria-hidden="true"
187
+ class="view-rulers"
188
+ role="presentation"
189
+ />
190
+ <div
191
+ aria-hidden="true"
192
+ class="view-zones"
193
+ role="presentation"
194
+ style="position: absolute;"
195
+ />
196
+ <div
197
+ aria-hidden="true"
198
+ class="view-lines monaco-mouse-cursor-text"
199
+ data-mprt="7"
200
+ role="presentation"
201
+ style="position: absolute; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; width: 45px; height: 5px;"
202
+ >
203
+ <div
204
+ class="view-line"
205
+ style="top:0px;height:19px;"
206
+ >
207
+ <span>
208
+ <span
209
+ class="mtk1"
210
+ >
211
+ test
212
+ </span>
213
+ </span>
214
+ </div>
215
+ </div>
216
+ <div
217
+ class="contentWidgets"
218
+ data-mprt="1"
219
+ style="position: absolute; top: 0px;"
220
+ />
221
+ <div
222
+ aria-hidden="true"
223
+ class="cursors-layer cursor-line-style cursor-solid"
224
+ role="presentation"
225
+ >
226
+ <div
227
+ class="cursor monaco-mouse-cursor-text"
228
+ style="height: 19px; top: 0px; left: 0px; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; display: none; visibility: hidden;"
229
+ />
230
+ </div>
231
+ </div>
232
+ <div
233
+ aria-hidden="true"
234
+ class="invisible scrollbar horizontal"
235
+ role="presentation"
236
+ style="position: absolute; width: 0px; height: 12px; left: 0px; bottom: 0px;"
237
+ >
238
+ <div
239
+ class="slider"
240
+ style="position: absolute; top: 0px; left: 0px; height: 12px; transform: translate3d(0px, 0px, 0px); contain: strict; width: 20px;"
241
+ />
242
+ </div>
243
+ <canvas
244
+ aria-hidden="true"
245
+ class="decorationsOverviewRuler"
246
+ height="5"
247
+ style="position: absolute; transform: translate3d(0px, 0px, 0px); contain: strict; top: 0px; right: 0px; width: 14px; height: 5px;"
248
+ width="14"
249
+ />
250
+ <div
251
+ aria-hidden="true"
252
+ class="invisible scrollbar vertical"
253
+ role="presentation"
254
+ style="position: absolute; width: 14px; height: 5px; right: 0px; top: 0px;"
255
+ >
256
+ <div
257
+ class="slider"
258
+ style="position: absolute; top: 0px; left: 0px; width: 14px; transform: translate3d(0px, 0px, 0px); contain: strict; height: 5px;"
259
+ />
260
+ </div>
261
+ </div>
262
+ <div
263
+ aria-hidden="true"
264
+ role="presentation"
265
+ />
266
+ <textarea
267
+ aria-autocomplete="both"
268
+ aria-haspopup="false"
269
+ aria-label="Editor content;Press Alt+F1 for Accessibility Options."
270
+ aria-multiline="true"
271
+ aria-roledescription="editor"
272
+ autocapitalize="off"
273
+ autocomplete="off"
274
+ autocorrect="off"
275
+ class="inputarea monaco-mouse-cursor-text"
276
+ data-mprt="6"
277
+ readonly="true"
278
+ role="textbox"
279
+ spellcheck="false"
280
+ style="font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; top: 0px; left: 0px; width: 1px; height: 1px;"
281
+ tabindex="-1"
282
+ wrap="off"
283
+ />
284
+ <div
285
+ class="monaco-editor-background textAreaCover"
286
+ style="position: absolute; top: 0px; left: 0px; width: 1px; height: 1px;"
287
+ />
288
+ <div
289
+ class="overlayWidgets"
290
+ data-mprt="4"
291
+ >
292
+ <div
293
+ style="position: absolute;"
294
+ widgetid="editor.contrib.quickInputWidget"
295
+ />
296
+ </div>
297
+ <div
298
+ aria-hidden="true"
299
+ class="minimap slider-mouseover"
300
+ data-mprt="8"
301
+ role="presentation"
302
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
303
+ >
304
+ <div
305
+ class="minimap-shadow-hidden"
306
+ style="height: 5px;"
307
+ />
308
+ <canvas
309
+ height="5"
310
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
311
+ width="0"
312
+ />
313
+ <canvas
314
+ class="minimap-decorations-layer"
315
+ height="5"
316
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
317
+ width="0"
318
+ />
319
+ <div
320
+ class="minimap-slider"
321
+ style="position: absolute; transform: translate3d(0px, 0px, 0px); contain: strict; width: 0px;"
322
+ >
323
+ <div
324
+ class="minimap-slider-horizontal"
325
+ style="position: absolute;"
326
+ />
327
+ </div>
328
+ </div>
329
+ </div>
330
+ <div
331
+ class="overflowingContentWidgets"
332
+ data-mprt="2"
333
+ />
334
+ <div
335
+ aria-hidden="true"
336
+ class="context-view"
337
+ style="display: none;"
338
+ />
339
+ </div>
340
+ </div>
341
+ </div>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </div>
16
346
  `;
17
347
 
18
- exports[`CodeEditor with all flags 1`] = `
19
- <t
20
- disabled={false}
21
- getDataTransferItems={[Function]}
22
- maxSize={Infinity}
23
- minSize={0}
24
- multiple={false}
25
- onDropAccepted={[Function]}
26
- onDropRejected={[Function]}
27
- preventDropOnDocument={true}
28
- >
29
- <Component />
30
- </t>
348
+ exports[`CodeEditor matches snapshot without props 1`] = `
349
+ <div>
350
+ <div
351
+ class="pf-c-code-editor"
352
+ >
353
+ <div
354
+ class="pf-c-code-editor__header"
355
+ >
356
+ <div
357
+ class="pf-c-code-editor__controls"
358
+ />
359
+ <div
360
+ class="pf-c-code-editor__header-main"
361
+ />
362
+ </div>
363
+ <div
364
+ class="pf-c-code-editor__main"
365
+ >
366
+ <div
367
+ class="pf-c-code-editor__code"
368
+ tabindex="0"
369
+ >
370
+ <div
371
+ class="react-monaco-editor-container"
372
+ data-keybinding-context="1"
373
+ data-mode-id="plaintext"
374
+ >
375
+ <div
376
+ class="monaco-editor showUnused showDeprecated vs"
377
+ data-uri="inmemory://model/1"
378
+ style="width: 5px; height: 5px;"
379
+ >
380
+ <div
381
+ class="overflow-guard"
382
+ data-mprt="3"
383
+ style="width: 5px; height: 5px;"
384
+ >
385
+ <div
386
+ aria-hidden="true"
387
+ class="margin"
388
+ role="presentation"
389
+ style="position: absolute;"
390
+ >
391
+ <div
392
+ class="glyph-margin"
393
+ />
394
+ <div
395
+ aria-hidden="true"
396
+ class="margin-view-zones"
397
+ role="presentation"
398
+ style="position: absolute;"
399
+ />
400
+ <div
401
+ aria-hidden="true"
402
+ class="margin-view-overlays"
403
+ role="presentation"
404
+ style="position: absolute; width: 1px; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px;"
405
+ />
406
+ </div>
407
+ <div
408
+ class="monaco-scrollable-element editor-scrollable vs"
409
+ data-mprt="5"
410
+ role="presentation"
411
+ style="position: absolute; overflow: hidden; left: 51px; width: -46px; height: 5px;"
412
+ >
413
+ <div
414
+ class="lines-content monaco-editor-background"
415
+ style="position: absolute; overflow: hidden; width: 1000000px; height: 1000000px; transform: translate3d(0px, 0px, 0px); contain: strict; top: 0px; left: 0px;"
416
+ >
417
+ <div
418
+ aria-hidden="true"
419
+ class="view-overlays"
420
+ role="presentation"
421
+ style="position: absolute; height: 0px;"
422
+ />
423
+ <div
424
+ aria-hidden="true"
425
+ class="view-rulers"
426
+ role="presentation"
427
+ />
428
+ <div
429
+ aria-hidden="true"
430
+ class="view-zones"
431
+ role="presentation"
432
+ style="position: absolute;"
433
+ />
434
+ <div
435
+ aria-hidden="true"
436
+ class="view-lines monaco-mouse-cursor-text"
437
+ data-mprt="7"
438
+ role="presentation"
439
+ style="position: absolute; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; width: 26px; height: 5px;"
440
+ >
441
+ <div
442
+ class="view-line"
443
+ style="top:0px;height:19px;"
444
+ >
445
+ <span>
446
+ <span />
447
+ </span>
448
+ </div>
449
+ </div>
450
+ <div
451
+ class="contentWidgets"
452
+ data-mprt="1"
453
+ style="position: absolute; top: 0px;"
454
+ />
455
+ <div
456
+ aria-hidden="true"
457
+ class="cursors-layer cursor-line-style cursor-solid"
458
+ role="presentation"
459
+ >
460
+ <div
461
+ class="cursor monaco-mouse-cursor-text"
462
+ style="height: 19px; top: 0px; left: 0px; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; display: none; visibility: hidden;"
463
+ />
464
+ </div>
465
+ </div>
466
+ <div
467
+ aria-hidden="true"
468
+ class="invisible scrollbar horizontal"
469
+ role="presentation"
470
+ style="position: absolute; width: 0px; height: 12px; left: 0px; bottom: 0px;"
471
+ >
472
+ <div
473
+ class="slider"
474
+ style="position: absolute; top: 0px; left: 0px; height: 12px; transform: translate3d(0px, 0px, 0px); contain: strict; width: 20px;"
475
+ />
476
+ </div>
477
+ <canvas
478
+ aria-hidden="true"
479
+ class="decorationsOverviewRuler"
480
+ height="5"
481
+ style="position: absolute; transform: translate3d(0px, 0px, 0px); contain: strict; top: 0px; right: 0px; width: 14px; height: 5px;"
482
+ width="14"
483
+ />
484
+ <div
485
+ aria-hidden="true"
486
+ class="invisible scrollbar vertical"
487
+ role="presentation"
488
+ style="position: absolute; width: 14px; height: 5px; right: 0px; top: 0px;"
489
+ >
490
+ <div
491
+ class="slider"
492
+ style="position: absolute; top: 0px; left: 0px; width: 14px; transform: translate3d(0px, 0px, 0px); contain: strict; height: 5px;"
493
+ />
494
+ </div>
495
+ </div>
496
+ <div
497
+ aria-hidden="true"
498
+ role="presentation"
499
+ />
500
+ <textarea
501
+ aria-autocomplete="both"
502
+ aria-haspopup="false"
503
+ aria-label="Editor content;Press Alt+F1 for Accessibility Options."
504
+ aria-multiline="true"
505
+ aria-roledescription="editor"
506
+ autocapitalize="off"
507
+ autocomplete="off"
508
+ autocorrect="off"
509
+ class="inputarea monaco-mouse-cursor-text"
510
+ data-mprt="6"
511
+ role="textbox"
512
+ spellcheck="false"
513
+ style="font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; font-feature-settings: \\"liga\\" off, \\"calt\\" off; line-height: 19px; letter-spacing: 0px; top: 0px; left: 0px; width: 1px; height: 1px;"
514
+ tabindex="-1"
515
+ wrap="off"
516
+ />
517
+ <div
518
+ class="monaco-editor-background textAreaCover line-numbers"
519
+ style="position: absolute; top: 0px; left: 0px; width: 1px; height: 1px;"
520
+ />
521
+ <div
522
+ class="overlayWidgets"
523
+ data-mprt="4"
524
+ >
525
+ <div
526
+ style="position: absolute;"
527
+ widgetid="editor.contrib.quickInputWidget"
528
+ />
529
+ </div>
530
+ <div
531
+ aria-hidden="true"
532
+ class="minimap slider-mouseover"
533
+ data-mprt="8"
534
+ role="presentation"
535
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
536
+ >
537
+ <div
538
+ class="minimap-shadow-hidden"
539
+ style="height: 5px;"
540
+ />
541
+ <canvas
542
+ height="5"
543
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
544
+ width="0"
545
+ />
546
+ <canvas
547
+ class="minimap-decorations-layer"
548
+ height="5"
549
+ style="position: absolute; left: 0px; width: 0px; height: 5px;"
550
+ width="0"
551
+ />
552
+ <div
553
+ class="minimap-slider"
554
+ style="position: absolute; transform: translate3d(0px, 0px, 0px); contain: strict; width: 0px;"
555
+ >
556
+ <div
557
+ class="minimap-slider-horizontal"
558
+ style="position: absolute;"
559
+ />
560
+ </div>
561
+ </div>
562
+ </div>
563
+ <div
564
+ class="overflowingContentWidgets"
565
+ data-mprt="2"
566
+ />
567
+ <div
568
+ aria-hidden="true"
569
+ class="context-view"
570
+ style="display: none;"
571
+ />
572
+ </div>
573
+ </div>
574
+ </div>
575
+ </div>
576
+ </div>
577
+ </div>
31
578
  `;