@covalent/components 8.14.1 → 8.15.0-beta.10

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.
Files changed (188) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +4 -3
  3. package/alert.js +1 -1
  4. package/alert.mjs +4 -3
  5. package/app-shell.js +1 -1
  6. package/app-shell.mjs +8 -7
  7. package/async-directive-4a34f75e.js +5 -0
  8. package/async-directive-99a01ec7.mjs +78 -0
  9. package/badge.js +1 -1
  10. package/badge.mjs +4 -3
  11. package/button.js +1 -1
  12. package/button.mjs +10 -9
  13. package/card.js +1 -1
  14. package/card.mjs +4 -3
  15. package/cell/cell.d.ts +65 -0
  16. package/cell/cell.d.ts.map +1 -0
  17. package/cell.js +29 -0
  18. package/cell.mjs +147 -0
  19. package/check-list-item.js +1 -1
  20. package/check-list-item.mjs +8 -7
  21. package/checkbox.js +1 -1
  22. package/checkbox.mjs +16 -15
  23. package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
  24. package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
  25. package/chip-set.js +2 -2
  26. package/chip-set.mjs +46 -45
  27. package/chip.js +1 -1
  28. package/chip.mjs +5 -4
  29. package/circular-progress.js +1 -1
  30. package/circular-progress.mjs +5 -4
  31. package/class-map-0a4c6ca9.js +5 -0
  32. package/class-map-6e504a9a.mjs +38 -0
  33. package/code-editor/code-editor.d.ts +73 -0
  34. package/code-editor/code-editor.d.ts.map +1 -0
  35. package/code-editor-3a09cbf1.js +732 -0
  36. package/code-editor-ce557bd5.mjs +61376 -0
  37. package/code-editor.js +1 -0
  38. package/code-editor.mjs +10 -0
  39. package/code-snippet.js +2 -2
  40. package/code-snippet.mjs +5 -4
  41. package/cpp-642b10c4.mjs +387 -0
  42. package/cpp-7eec3311.js +6 -0
  43. package/csharp-32862cd2.js +6 -0
  44. package/csharp-d987ddad.mjs +320 -0
  45. package/css-5dd354ac.mjs +186 -0
  46. package/css-9be95551.js +8 -0
  47. package/dart-031264ea.js +6 -0
  48. package/dart-5d209f63.mjs +270 -0
  49. package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
  50. package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
  51. package/dialog.js +1 -1
  52. package/dialog.mjs +5 -4
  53. package/directive-1186bc23.js +5 -0
  54. package/directive-daf4e9b6.mjs +27 -0
  55. package/drawer.js +1 -1
  56. package/drawer.mjs +5 -4
  57. package/formfield.js +3 -3
  58. package/formfield.mjs +4 -3
  59. package/go-46e3b371.mjs +208 -0
  60. package/go-cdd943fd.js +6 -0
  61. package/html-4fffc46e.js +6 -0
  62. package/html-783f1e7c.mjs +286 -0
  63. package/icon-button-toggle.js +1 -1
  64. package/icon-button-toggle.mjs +6 -5
  65. package/icon-button.js +1 -1
  66. package/icon-button.mjs +6 -5
  67. package/icon-check-toggle.js +1 -1
  68. package/icon-check-toggle.mjs +7 -6
  69. package/icon-radio-toggle.js +3 -3
  70. package/icon-radio-toggle.mjs +7 -6
  71. package/index.d.ts +3 -0
  72. package/index.d.ts.map +1 -1
  73. package/index.js +1 -1
  74. package/index.mjs +125 -117
  75. package/java-32d7b433.js +6 -0
  76. package/java-cd017f60.mjs +221 -0
  77. package/javascript-4d09cd3c.mjs +80 -0
  78. package/javascript-90bb18e6.js +6 -0
  79. package/kotlin-4b9019e1.js +6 -0
  80. package/kotlin-c6e52a56.mjs +245 -0
  81. package/linear-progress.js +1 -1
  82. package/linear-progress.mjs +5 -4
  83. package/list-item.js +2 -2
  84. package/list-item.mjs +7 -6
  85. package/list.js +1 -1
  86. package/list.mjs +8 -7
  87. package/lua-b46719a9.js +6 -0
  88. package/lua-f159160b.mjs +157 -0
  89. package/markdown-9b448c46.mjs +202 -0
  90. package/markdown-eae8e3ba.js +6 -0
  91. package/menu.js +5 -5
  92. package/menu.mjs +9 -8
  93. package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
  94. package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
  95. package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
  96. package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
  97. package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
  98. package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
  99. package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
  100. package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
  101. package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
  102. package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
  103. package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
  104. package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
  105. package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
  106. package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
  107. package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
  108. package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
  109. package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
  110. package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
  111. package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
  112. package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
  113. package/nav-list-item.js +1 -1
  114. package/nav-list-item.mjs +7 -6
  115. package/notebook/notebook.d.ts +87 -0
  116. package/notebook/notebook.d.ts.map +1 -0
  117. package/notebook.js +121 -0
  118. package/notebook.mjs +3449 -0
  119. package/package.json +16 -1
  120. package/php-987b9d87.mjs +471 -0
  121. package/php-a6dcde52.js +6 -0
  122. package/python-562f8e9b.mjs +264 -0
  123. package/python-af3aad7d.js +6 -0
  124. package/r-42c6f0aa.js +6 -0
  125. package/r-630f5d6b.mjs +245 -0
  126. package/radio-list-item.js +1 -1
  127. package/radio-list-item.mjs +8 -7
  128. package/radio.js +2 -2
  129. package/radio.mjs +7 -6
  130. package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
  131. package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
  132. package/rust-87887495.js +6 -0
  133. package/rust-97f8f6e1.mjs +337 -0
  134. package/scala-c68c650c.mjs +353 -0
  135. package/scala-e8b7bd42.js +6 -0
  136. package/select.js +2 -2
  137. package/select.mjs +11 -10
  138. package/shell-09452d42.mjs +224 -0
  139. package/shell-43cfbe7d.js +6 -0
  140. package/side-sheet.js +1 -1
  141. package/side-sheet.mjs +3 -2
  142. package/slider-range.js +1 -1
  143. package/slider-range.mjs +7 -6
  144. package/slider.js +1 -1
  145. package/slider.mjs +12 -11
  146. package/snackbar.js +14 -18
  147. package/snackbar.mjs +88 -159
  148. package/sql-63ec8e76.mjs +818 -0
  149. package/sql-faf05577.js +6 -0
  150. package/status-dialog.js +1 -1
  151. package/status-dialog.mjs +7 -6
  152. package/status-header.js +1 -1
  153. package/status-header.mjs +4 -3
  154. package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
  155. package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
  156. package/style.css +1 -0
  157. package/swift-724ff2a3.js +8 -0
  158. package/swift-abdf1835.mjs +315 -0
  159. package/switch.js +1 -1
  160. package/switch.mjs +6 -5
  161. package/tab-bar.js +2 -2
  162. package/tab-bar.mjs +7 -6
  163. package/tab.js +1 -1
  164. package/tab.mjs +9 -8
  165. package/text-lockup.js +1 -1
  166. package/text-lockup.mjs +4 -3
  167. package/textarea.js +1 -1
  168. package/textarea.mjs +6 -5
  169. package/{textfield-11525c88.js → textfield-0645375b.js} +16 -16
  170. package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.mjs} +5 -4
  171. package/textfield.js +1 -1
  172. package/textfield.mjs +6 -5
  173. package/toolbar.js +1 -1
  174. package/toolbar.mjs +5 -4
  175. package/top-app-bar-fixed.js +1 -1
  176. package/top-app-bar-fixed.mjs +5 -4
  177. package/top-app-bar.js +1 -1
  178. package/top-app-bar.mjs +8 -7
  179. package/tree-list-item.js +1 -1
  180. package/tree-list-item.mjs +4 -3
  181. package/typescript-76d039b3.js +6 -0
  182. package/typescript-a2a5d6b2.mjs +332 -0
  183. package/xml-89571455.mjs +100 -0
  184. package/xml-e66929d0.js +6 -0
  185. package/yaml-11a91e71.js +6 -0
  186. package/yaml-4eccd122.mjs +189 -0
  187. package/class-map-4b94b017.mjs +0 -62
  188. package/class-map-b5efe8da.js +0 -9
@@ -0,0 +1,320 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
+ comments: {
10
+ lineComment: "//",
11
+ blockComment: ["/*", "*/"]
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}" },
20
+ { open: "[", close: "]" },
21
+ { open: "(", close: ")" },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] },
23
+ { open: '"', close: '"', notIn: ["string", "comment"] }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: "<", close: ">" },
30
+ { open: "'", close: "'" },
31
+ { open: '"', close: '"' }
32
+ ],
33
+ folding: {
34
+ markers: {
35
+ start: new RegExp("^\\s*#region\\b"),
36
+ end: new RegExp("^\\s*#endregion\\b")
37
+ }
38
+ }
39
+ }, t = {
40
+ defaultToken: "",
41
+ tokenPostfix: ".cs",
42
+ brackets: [
43
+ { open: "{", close: "}", token: "delimiter.curly" },
44
+ { open: "[", close: "]", token: "delimiter.square" },
45
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
46
+ { open: "<", close: ">", token: "delimiter.angle" }
47
+ ],
48
+ keywords: [
49
+ "extern",
50
+ "alias",
51
+ "using",
52
+ "bool",
53
+ "decimal",
54
+ "sbyte",
55
+ "byte",
56
+ "short",
57
+ "ushort",
58
+ "int",
59
+ "uint",
60
+ "long",
61
+ "ulong",
62
+ "char",
63
+ "float",
64
+ "double",
65
+ "object",
66
+ "dynamic",
67
+ "string",
68
+ "assembly",
69
+ "is",
70
+ "as",
71
+ "ref",
72
+ "out",
73
+ "this",
74
+ "base",
75
+ "new",
76
+ "typeof",
77
+ "void",
78
+ "checked",
79
+ "unchecked",
80
+ "default",
81
+ "delegate",
82
+ "var",
83
+ "const",
84
+ "if",
85
+ "else",
86
+ "switch",
87
+ "case",
88
+ "while",
89
+ "do",
90
+ "for",
91
+ "foreach",
92
+ "in",
93
+ "break",
94
+ "continue",
95
+ "goto",
96
+ "return",
97
+ "throw",
98
+ "try",
99
+ "catch",
100
+ "finally",
101
+ "lock",
102
+ "yield",
103
+ "from",
104
+ "let",
105
+ "where",
106
+ "join",
107
+ "on",
108
+ "equals",
109
+ "into",
110
+ "orderby",
111
+ "ascending",
112
+ "descending",
113
+ "select",
114
+ "group",
115
+ "by",
116
+ "namespace",
117
+ "partial",
118
+ "class",
119
+ "field",
120
+ "event",
121
+ "method",
122
+ "param",
123
+ "public",
124
+ "protected",
125
+ "internal",
126
+ "private",
127
+ "abstract",
128
+ "sealed",
129
+ "static",
130
+ "struct",
131
+ "readonly",
132
+ "volatile",
133
+ "virtual",
134
+ "override",
135
+ "params",
136
+ "get",
137
+ "set",
138
+ "add",
139
+ "remove",
140
+ "operator",
141
+ "true",
142
+ "false",
143
+ "implicit",
144
+ "explicit",
145
+ "interface",
146
+ "enum",
147
+ "null",
148
+ "async",
149
+ "await",
150
+ "fixed",
151
+ "sizeof",
152
+ "stackalloc",
153
+ "unsafe",
154
+ "nameof",
155
+ "when"
156
+ ],
157
+ namespaceFollows: ["namespace", "using"],
158
+ parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
159
+ operators: [
160
+ "=",
161
+ "??",
162
+ "||",
163
+ "&&",
164
+ "|",
165
+ "^",
166
+ "&",
167
+ "==",
168
+ "!=",
169
+ "<=",
170
+ ">=",
171
+ "<<",
172
+ "+",
173
+ "-",
174
+ "*",
175
+ "/",
176
+ "%",
177
+ "!",
178
+ "~",
179
+ "++",
180
+ "--",
181
+ "+=",
182
+ "-=",
183
+ "*=",
184
+ "/=",
185
+ "%=",
186
+ "&=",
187
+ "|=",
188
+ "^=",
189
+ "<<=",
190
+ ">>=",
191
+ ">>",
192
+ "=>"
193
+ ],
194
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
195
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
196
+ tokenizer: {
197
+ root: [
198
+ [
199
+ /\@?[a-zA-Z_]\w*/,
200
+ {
201
+ cases: {
202
+ "@namespaceFollows": {
203
+ token: "keyword.$0",
204
+ next: "@namespace"
205
+ },
206
+ "@keywords": {
207
+ token: "keyword.$0",
208
+ next: "@qualified"
209
+ },
210
+ "@default": { token: "identifier", next: "@qualified" }
211
+ }
212
+ }
213
+ ],
214
+ { include: "@whitespace" },
215
+ [
216
+ /}/,
217
+ {
218
+ cases: {
219
+ "$S2==interpolatedstring": {
220
+ token: "string.quote",
221
+ next: "@pop"
222
+ },
223
+ "$S2==litinterpstring": {
224
+ token: "string.quote",
225
+ next: "@pop"
226
+ },
227
+ "@default": "@brackets"
228
+ }
229
+ }
230
+ ],
231
+ [/[{}()\[\]]/, "@brackets"],
232
+ [/[<>](?!@symbols)/, "@brackets"],
233
+ [
234
+ /@symbols/,
235
+ {
236
+ cases: {
237
+ "@operators": "delimiter",
238
+ "@default": ""
239
+ }
240
+ }
241
+ ],
242
+ [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
243
+ [/0[xX][0-9a-fA-F_]+/, "number.hex"],
244
+ [/0[bB][01_]+/, "number.hex"],
245
+ [/[0-9_]+/, "number"],
246
+ [/[;,.]/, "delimiter"],
247
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
248
+ [/"/, { token: "string.quote", next: "@string" }],
249
+ [/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
250
+ [/\@"/, { token: "string.quote", next: "@litstring" }],
251
+ [/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
252
+ [/'[^\\']'/, "string"],
253
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
254
+ [/'/, "string.invalid"]
255
+ ],
256
+ qualified: [
257
+ [
258
+ /[a-zA-Z_][\w]*/,
259
+ {
260
+ cases: {
261
+ "@keywords": { token: "keyword.$0" },
262
+ "@default": "identifier"
263
+ }
264
+ }
265
+ ],
266
+ [/\./, "delimiter"],
267
+ ["", "", "@pop"]
268
+ ],
269
+ namespace: [
270
+ { include: "@whitespace" },
271
+ [/[A-Z]\w*/, "namespace"],
272
+ [/[\.=]/, "delimiter"],
273
+ ["", "", "@pop"]
274
+ ],
275
+ comment: [
276
+ [/[^\/*]+/, "comment"],
277
+ ["\\*/", "comment", "@pop"],
278
+ [/[\/*]/, "comment"]
279
+ ],
280
+ string: [
281
+ [/[^\\"]+/, "string"],
282
+ [/@escapes/, "string.escape"],
283
+ [/\\./, "string.escape.invalid"],
284
+ [/"/, { token: "string.quote", next: "@pop" }]
285
+ ],
286
+ litstring: [
287
+ [/[^"]+/, "string"],
288
+ [/""/, "string.escape"],
289
+ [/"/, { token: "string.quote", next: "@pop" }]
290
+ ],
291
+ litinterpstring: [
292
+ [/[^"{]+/, "string"],
293
+ [/""/, "string.escape"],
294
+ [/{{/, "string.escape"],
295
+ [/}}/, "string.escape"],
296
+ [/{/, { token: "string.quote", next: "root.litinterpstring" }],
297
+ [/"/, { token: "string.quote", next: "@pop" }]
298
+ ],
299
+ interpolatedstring: [
300
+ [/[^\\"{]+/, "string"],
301
+ [/@escapes/, "string.escape"],
302
+ [/\\./, "string.escape.invalid"],
303
+ [/{{/, "string.escape"],
304
+ [/}}/, "string.escape"],
305
+ [/{/, { token: "string.quote", next: "root.interpolatedstring" }],
306
+ [/"/, { token: "string.quote", next: "@pop" }]
307
+ ],
308
+ whitespace: [
309
+ [/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
310
+ [/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
311
+ [/[ \t\v\f\r\n]+/, ""],
312
+ [/\/\*/, "comment", "@comment"],
313
+ [/\/\/.*$/, "comment"]
314
+ ]
315
+ }
316
+ };
317
+ export {
318
+ e as conf,
319
+ t as language
320
+ };
@@ -0,0 +1,186 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
9
+ comments: {
10
+ blockComment: ["/*", "*/"]
11
+ },
12
+ brackets: [
13
+ ["{", "}"],
14
+ ["[", "]"],
15
+ ["(", ")"]
16
+ ],
17
+ autoClosingPairs: [
18
+ { open: "{", close: "}", notIn: ["string", "comment"] },
19
+ { open: "[", close: "]", notIn: ["string", "comment"] },
20
+ { open: "(", close: ")", notIn: ["string", "comment"] },
21
+ { open: '"', close: '"', notIn: ["string", "comment"] },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] }
23
+ ],
24
+ surroundingPairs: [
25
+ { open: "{", close: "}" },
26
+ { open: "[", close: "]" },
27
+ { open: "(", close: ")" },
28
+ { open: '"', close: '"' },
29
+ { open: "'", close: "'" }
30
+ ],
31
+ folding: {
32
+ markers: {
33
+ start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
34
+ end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
35
+ }
36
+ }
37
+ }, t = {
38
+ defaultToken: "",
39
+ tokenPostfix: ".css",
40
+ ws: `[
41
+ \r\f]*`,
42
+ identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
43
+ brackets: [
44
+ { open: "{", close: "}", token: "delimiter.bracket" },
45
+ { open: "[", close: "]", token: "delimiter.bracket" },
46
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
47
+ { open: "<", close: ">", token: "delimiter.angle" }
48
+ ],
49
+ tokenizer: {
50
+ root: [{ include: "@selector" }],
51
+ selector: [
52
+ { include: "@comments" },
53
+ { include: "@import" },
54
+ { include: "@strings" },
55
+ [
56
+ "[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
57
+ { token: "keyword", next: "@keyframedeclaration" }
58
+ ],
59
+ ["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
60
+ ["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
61
+ [
62
+ "(url-prefix)(\\()",
63
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
64
+ ],
65
+ [
66
+ "(url)(\\()",
67
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
68
+ ],
69
+ { include: "@selectorname" },
70
+ ["[\\*]", "tag"],
71
+ ["[>\\+,]", "delimiter"],
72
+ ["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
73
+ ["{", { token: "delimiter.bracket", next: "@selectorbody" }]
74
+ ],
75
+ selectorbody: [
76
+ { include: "@comments" },
77
+ ["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
78
+ ["}", { token: "delimiter.bracket", next: "@pop" }]
79
+ ],
80
+ selectorname: [
81
+ ["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
82
+ ],
83
+ selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
84
+ term: [
85
+ { include: "@comments" },
86
+ [
87
+ "(url-prefix)(\\()",
88
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
89
+ ],
90
+ [
91
+ "(url)(\\()",
92
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
93
+ ],
94
+ { include: "@functioninvocation" },
95
+ { include: "@numbers" },
96
+ { include: "@name" },
97
+ { include: "@strings" },
98
+ ["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
99
+ [",", "delimiter"]
100
+ ],
101
+ rulevalue: [
102
+ { include: "@comments" },
103
+ { include: "@strings" },
104
+ { include: "@term" },
105
+ ["!important", "keyword"],
106
+ [";", "delimiter", "@pop"],
107
+ ["(?=})", { token: "", next: "@pop" }]
108
+ ],
109
+ warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
110
+ import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
111
+ urldeclaration: [
112
+ { include: "@strings" },
113
+ [`[^)\r
114
+ ]+`, "string"],
115
+ ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
116
+ ],
117
+ parenthizedterm: [
118
+ { include: "@term" },
119
+ ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
120
+ ],
121
+ declarationbody: [
122
+ { include: "@term" },
123
+ [";", "delimiter", "@pop"],
124
+ ["(?=})", { token: "", next: "@pop" }]
125
+ ],
126
+ comments: [
127
+ ["\\/\\*", "comment", "@comment"],
128
+ ["\\/\\/+.*", "comment"]
129
+ ],
130
+ comment: [
131
+ ["\\*\\/", "comment", "@pop"],
132
+ [/[^*/]+/, "comment"],
133
+ [/./, "comment"]
134
+ ],
135
+ name: [["@identifier", "attribute.value"]],
136
+ numbers: [
137
+ ["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
138
+ ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
139
+ ],
140
+ units: [
141
+ [
142
+ "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
143
+ "attribute.value.unit",
144
+ "@pop"
145
+ ]
146
+ ],
147
+ keyframedeclaration: [
148
+ ["@identifier", "attribute.value"],
149
+ ["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
150
+ ],
151
+ keyframebody: [
152
+ { include: "@term" },
153
+ ["{", { token: "delimiter.bracket", next: "@selectorbody" }],
154
+ ["}", { token: "delimiter.bracket", next: "@pop" }]
155
+ ],
156
+ functioninvocation: [
157
+ ["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
158
+ ],
159
+ functionarguments: [
160
+ ["\\$@identifier@ws:", "attribute.name"],
161
+ ["[,]", "delimiter"],
162
+ { include: "@term" },
163
+ ["\\)", { token: "attribute.value", next: "@pop" }]
164
+ ],
165
+ strings: [
166
+ ['~?"', { token: "string", next: "@stringenddoublequote" }],
167
+ ["~?'", { token: "string", next: "@stringendquote" }]
168
+ ],
169
+ stringenddoublequote: [
170
+ ["\\\\.", "string"],
171
+ ['"', { token: "string", next: "@pop" }],
172
+ [/[^\\"]+/, "string"],
173
+ [".", "string"]
174
+ ],
175
+ stringendquote: [
176
+ ["\\\\.", "string"],
177
+ ["'", { token: "string", next: "@pop" }],
178
+ [/[^\\']+/, "string"],
179
+ [".", "string"]
180
+ ]
181
+ }
182
+ };
183
+ export {
184
+ e as conf,
185
+ t as language
186
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".css",ws:`[
7
+ \r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
8
+ ]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};exports.conf=e;exports.language=t;
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},n={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/[A-Z_$][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}};exports.conf=e;exports.language=n;