@codingame/monaco-editor-wrapper 3.5.0 → 3.5.2

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.
@@ -1,72 +0,0 @@
1
- var comments = {
2
- blockComment: [
3
- "/*",
4
- "*/"
5
- ]
6
- };
7
- var brackets = [
8
- [
9
- "{",
10
- "}"
11
- ],
12
- [
13
- "[",
14
- "]"
15
- ],
16
- [
17
- "(",
18
- ")"
19
- ]
20
- ];
21
- var autoClosingPairs = [
22
- [
23
- "{",
24
- "}"
25
- ],
26
- [
27
- "[",
28
- "]"
29
- ],
30
- [
31
- "(",
32
- ")"
33
- ],
34
- [
35
- "\"",
36
- "\""
37
- ],
38
- [
39
- "'",
40
- "'"
41
- ]
42
- ];
43
- var surroundingPairs = [
44
- [
45
- "{",
46
- "}"
47
- ],
48
- [
49
- "[",
50
- "]"
51
- ],
52
- [
53
- "(",
54
- ")"
55
- ],
56
- [
57
- "\"",
58
- "\""
59
- ],
60
- [
61
- "'",
62
- "'"
63
- ]
64
- ];
65
- var vuePostcss = {
66
- comments: comments,
67
- brackets: brackets,
68
- autoClosingPairs: autoClosingPairs,
69
- surroundingPairs: surroundingPairs
70
- };
71
-
72
- export { autoClosingPairs, brackets, comments, vuePostcss as default, surroundingPairs };
@@ -1,396 +0,0 @@
1
- var patterns = [
2
- {
3
- patterns: [
4
- {
5
- include: "#comment-tag"
6
- }
7
- ],
8
- begin: "/\\*",
9
- name: "comment.block.sugarss",
10
- end: "\\*/"
11
- },
12
- {
13
- include: "#double-slash"
14
- },
15
- {
16
- include: "#double-quoted"
17
- },
18
- {
19
- include: "#single-quoted"
20
- },
21
- {
22
- include: "#interpolation"
23
- },
24
- {
25
- include: "#placeholder-selector"
26
- },
27
- {
28
- include: "#variable"
29
- },
30
- {
31
- include: "#variable-root-css"
32
- },
33
- {
34
- include: "#numeric"
35
- },
36
- {
37
- include: "#unit"
38
- },
39
- {
40
- include: "#flag"
41
- },
42
- {
43
- include: "#dotdotdot"
44
- },
45
- {
46
- captures: {
47
- "0": {
48
- name: "keyword.control.at-rule.css.sugarss"
49
- }
50
- },
51
- begin: "@include",
52
- name: "support.function.name.sugarss.library",
53
- end: "(?=\\n|\\(|{)"
54
- },
55
- {
56
- captures: {
57
- "0": {
58
- name: "keyword.control.at-rule.css.sugarss"
59
- }
60
- },
61
- patterns: [
62
- {
63
- name: "entity.name.function",
64
- match: "[\\w-]+"
65
- }
66
- ],
67
- begin: "@mixin|@function",
68
- name: "support.function.name.sugarss.no-completions",
69
- end: "$\\n?|(?=\\(|{)"
70
- },
71
- {
72
- name: "string.quoted.double.css.sugarss",
73
- match: "(?<=@import)\\s[\\w/.*-]+"
74
- },
75
- {
76
- begin: "@",
77
- name: "keyword.control.at-rule.css.sugarss",
78
- end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))"
79
- },
80
- {
81
- patterns: [
82
- {
83
- include: "#interpolation"
84
- },
85
- {
86
- include: "#pseudo-class"
87
- }
88
- ],
89
- begin: "#",
90
- name: "entity.other.attribute-name.id.css.sugarss",
91
- end: "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|{|>)"
92
- },
93
- {
94
- patterns: [
95
- {
96
- include: "#interpolation"
97
- },
98
- {
99
- include: "#pseudo-class"
100
- }
101
- ],
102
- begin: "\\.|(?<=&)(-|_)",
103
- name: "entity.other.attribute-name.class.css.sugarss",
104
- end: "$\\n?|(?=\\s|,|\\(|\\)|\\[|{|>)"
105
- },
106
- {
107
- patterns: [
108
- {
109
- include: "#double-quoted"
110
- },
111
- {
112
- include: "#single-quoted"
113
- },
114
- {
115
- name: "keyword.other.regex.sugarss",
116
- match: "\\^|\\$|\\*|~"
117
- }
118
- ],
119
- begin: "\\[",
120
- name: "entity.other.attribute-selector.sugarss",
121
- end: "\\]"
122
- },
123
- {
124
- name: "entity.other.attribute-name.pseudo-class.css.sugarss",
125
- match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+"
126
- },
127
- {
128
- patterns: [
129
- {
130
- include: "#double-slash"
131
- },
132
- {
133
- include: "#double-quoted"
134
- },
135
- {
136
- include: "#single-quoted"
137
- },
138
- {
139
- include: "#interpolation"
140
- },
141
- {
142
- include: "#variable"
143
- },
144
- {
145
- include: "#rgb-value"
146
- },
147
- {
148
- include: "#numeric"
149
- },
150
- {
151
- include: "#unit"
152
- },
153
- {
154
- include: "#flag"
155
- },
156
- {
157
- include: "#function"
158
- },
159
- {
160
- include: "#function-content"
161
- },
162
- {
163
- include: "#function-content-var"
164
- },
165
- {
166
- include: "#operator"
167
- },
168
- {
169
- include: "#parent-selector"
170
- },
171
- {
172
- include: "#property-value"
173
- }
174
- ],
175
- begin: ":",
176
- name: "meta.property-list.css.sugarss",
177
- end: "$\\n?|(?=\\s\\(|and\\(|{|}|\\),)"
178
- },
179
- {
180
- include: "#rgb-value"
181
- },
182
- {
183
- include: "#function"
184
- },
185
- {
186
- include: "#function-content"
187
- },
188
- {
189
- patterns: [
190
- {
191
- include: "#interpolation"
192
- },
193
- {
194
- include: "#pseudo-class"
195
- }
196
- ],
197
- begin: "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
198
- name: "entity.name.tag.css.sugarss.symbol",
199
- end: "(?=\\s|,|\\(|\\)|\\.|\\[|{|>|-|_)"
200
- },
201
- {
202
- include: "#operator"
203
- },
204
- {
205
- name: "support.type.property-name.css.sugarss",
206
- match: "[a-z-]+((?=:|#{))"
207
- },
208
- {
209
- include: "#reserved-words"
210
- },
211
- {
212
- include: "#property-value"
213
- }
214
- ];
215
- var name = "SugarSS";
216
- var repository = {
217
- "reserved-words": {
218
- name: "support.type.property-name.css.sugarss",
219
- match: "\\b(false|from|in|not|null|through|to|true)\\b"
220
- },
221
- "double-quoted": {
222
- patterns: [
223
- {
224
- include: "#quoted-interpolation"
225
- }
226
- ],
227
- begin: "\"",
228
- name: "string.quoted.double.css.sugarss",
229
- end: "\""
230
- },
231
- operator: {
232
- name: "keyword.operator.sugarss",
233
- match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~"
234
- },
235
- "function-content": {
236
- name: "string.quoted.double.css.sugarss",
237
- match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))"
238
- },
239
- "double-slash": {
240
- patterns: [
241
- {
242
- include: "#comment-tag"
243
- }
244
- ],
245
- begin: "//",
246
- name: "comment.line.sugarss",
247
- end: "$"
248
- },
249
- numeric: {
250
- name: "constant.numeric.css.sugarss",
251
- match: "(-|\\.)?[0-9]+(\\.[0-9]+)?"
252
- },
253
- "variable-root-css": {
254
- name: "variable.parameter.sugarss",
255
- match: "(?<!&)--[\\w-]+"
256
- },
257
- "function": {
258
- name: "support.function.name.sugarss",
259
- match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()"
260
- },
261
- "rgb-value": {
262
- name: "constant.other.color.rgb-value.css.sugarss",
263
- match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
264
- },
265
- "comment-tag": {
266
- patterns: [
267
- {
268
- name: "comment.tag.sugarss",
269
- match: "[\\w-]+"
270
- }
271
- ],
272
- begin: "{{",
273
- name: "comment.tags.sugarss",
274
- end: "}}"
275
- },
276
- interpolation: {
277
- patterns: [
278
- {
279
- include: "#variable"
280
- },
281
- {
282
- include: "#numeric"
283
- },
284
- {
285
- include: "#operator"
286
- },
287
- {
288
- include: "#unit"
289
- },
290
- {
291
- include: "#double-quoted"
292
- },
293
- {
294
- include: "#single-quoted"
295
- }
296
- ],
297
- begin: "#{",
298
- name: "support.function.interpolation.sugarss",
299
- end: "}"
300
- },
301
- unit: {
302
- name: "keyword.other.unit.css.sugarss",
303
- match: "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)"
304
- },
305
- "function-content-var": {
306
- name: "variable.parameter.sugarss",
307
- match: "(?<=var\\()[\\w-]+(?=\\))"
308
- },
309
- dotdotdot: {
310
- name: "variable.other",
311
- match: "\\.{3}"
312
- },
313
- variable: {
314
- name: "variable.parameter.sugarss",
315
- match: "\\$[\\w-]+"
316
- },
317
- "single-quoted": {
318
- patterns: [
319
- {
320
- include: "#quoted-interpolation"
321
- }
322
- ],
323
- begin: "'",
324
- name: "string.quoted.single.css.sugarss",
325
- end: "'"
326
- },
327
- "quoted-interpolation": {
328
- patterns: [
329
- {
330
- include: "#variable"
331
- },
332
- {
333
- include: "#numeric"
334
- },
335
- {
336
- include: "#operator"
337
- },
338
- {
339
- include: "#unit"
340
- }
341
- ],
342
- begin: "#{",
343
- name: "support.function.interpolation.sugarss",
344
- end: "}"
345
- },
346
- "pseudo-class": {
347
- name: "entity.other.attribute-name.pseudo-class.css.sugarss",
348
- match: ":[a-z:-]+"
349
- },
350
- "property-value": {
351
- name: "meta.property-value.css.sugarss, support.constant.property-value.css.sugarss",
352
- match: "[\\w-]+"
353
- },
354
- semicolon: {
355
- name: "invalid.illegal.bad-semicolon.css.sugarss",
356
- match: ";"
357
- },
358
- "placeholder-selector": {
359
- begin: "(?<!\\d)%(?!\\d)",
360
- name: "entity.other.attribute-name.placeholder-selector.sugarss",
361
- end: "$\\n?|\\s|(?={)"
362
- },
363
- flag: {
364
- name: "keyword.other.important.css.sugarss",
365
- match: "!(important|default|optional|global)"
366
- },
367
- "parent-selector": {
368
- name: "entity.name.tag.css.sugarss",
369
- match: "&"
370
- }
371
- };
372
- var foldingStartMarker = "/\\*|^#|^\\*|^\\b|^\\.";
373
- var foldingStopMarker = "\\*/|^\\s*$";
374
- var fileTypes = [
375
- "sss"
376
- ];
377
- var uuid = "BDAE4719-925F-433C-905A-CAE367D924AC";
378
- var scopeName = "source.css.sugarss";
379
- var information_for_contributors = [
380
- "This file has been converted from https://github.com/vuejs/vetur/blob/master/",
381
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
382
- "Once accepted there, we are happy to receive an update request."
383
- ];
384
- var vueSugarss = {
385
- patterns: patterns,
386
- name: name,
387
- repository: repository,
388
- foldingStartMarker: foldingStartMarker,
389
- foldingStopMarker: foldingStopMarker,
390
- fileTypes: fileTypes,
391
- uuid: uuid,
392
- scopeName: scopeName,
393
- information_for_contributors: information_for_contributors
394
- };
395
-
396
- export { vueSugarss as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };
@@ -1,60 +0,0 @@
1
- var comments = {
2
- blockComment: [
3
- "/*",
4
- "*/"
5
- ]
6
- };
7
- var brackets = [
8
- [
9
- "[",
10
- "]"
11
- ],
12
- [
13
- "(",
14
- ")"
15
- ]
16
- ];
17
- var autoClosingPairs = [
18
- [
19
- "[",
20
- "]"
21
- ],
22
- [
23
- "(",
24
- ")"
25
- ],
26
- [
27
- "\"",
28
- "\""
29
- ],
30
- [
31
- "'",
32
- "'"
33
- ]
34
- ];
35
- var surroundingPairs = [
36
- [
37
- "[",
38
- "]"
39
- ],
40
- [
41
- "(",
42
- ")"
43
- ],
44
- [
45
- "\"",
46
- "\""
47
- ],
48
- [
49
- "'",
50
- "'"
51
- ]
52
- ];
53
- var vueSugarss = {
54
- comments: comments,
55
- brackets: brackets,
56
- autoClosingPairs: autoClosingPairs,
57
- surroundingPairs: surroundingPairs
58
- };
59
-
60
- export { autoClosingPairs, brackets, comments, vueSugarss as default, surroundingPairs };