@threadlabs/looma 0.18.6 → 0.19.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.
Files changed (215) hide show
  1. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +34 -3
  2. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +55 -0
  3. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +7 -2
  4. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +29 -0
  5. package/dist/index.js +1 -1
  6. package/editor/chunks/extensions.js +24 -3
  7. package/editor/extensions/preset.d.ts +2 -0
  8. package/editor/extensions/table-commands.d.ts +1 -1
  9. package/editor/table-overlay.d.ts +8 -3
  10. package/package.json +2 -1
  11. package/styles/ui-editor-table-overlay.css +30 -0
  12. package/styles/ui-editor-table-toolbar.css +7 -2
  13. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  14. package/vanilla/UiEditorTableOverlay.js +9 -3
  15. package/vue/UiEditorTableOverlay.d.ts +8 -0
  16. package/vue/UiEditorTableOverlay.vue +45 -2
  17. package/vue/UiEditorTableToolbar.vue +7 -2
  18. package/vue/chunks/1c.js +106 -0
  19. package/vue/chunks/UiEditorTableOverlay.js +14 -4
  20. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  21. package/vue/chunks/abnf.js +61 -0
  22. package/vue/chunks/accesslog.js +72 -0
  23. package/vue/chunks/actionscript.js +139 -0
  24. package/vue/chunks/ada.js +183 -0
  25. package/vue/chunks/angelscript.js +141 -0
  26. package/vue/chunks/apache.js +88 -0
  27. package/vue/chunks/applescript.js +99 -0
  28. package/vue/chunks/arcade.js +405 -0
  29. package/vue/chunks/arduino.js +871 -0
  30. package/vue/chunks/armasm.js +65 -0
  31. package/vue/chunks/asciidoc.js +181 -0
  32. package/vue/chunks/aspectj.js +202 -0
  33. package/vue/chunks/autohotkey.js +54 -0
  34. package/vue/chunks/autoit.js +132 -0
  35. package/vue/chunks/avrasm.js +46 -0
  36. package/vue/chunks/awk.js +58 -0
  37. package/vue/chunks/axapta.js +167 -0
  38. package/vue/chunks/bash.js +358 -0
  39. package/vue/chunks/basic.js +221 -0
  40. package/vue/chunks/bnf.js +27 -0
  41. package/vue/chunks/brainfuck.js +40 -0
  42. package/vue/chunks/c.js +265 -0
  43. package/vue/chunks/cal.js +136 -0
  44. package/vue/chunks/capnproto.js +86 -0
  45. package/vue/chunks/ceylon.js +125 -0
  46. package/vue/chunks/clean.js +54 -0
  47. package/vue/chunks/clojure-repl.js +17 -0
  48. package/vue/chunks/clojure.js +133 -0
  49. package/vue/chunks/cmake.js +23 -0
  50. package/vue/chunks/coffeescript.js +291 -0
  51. package/vue/chunks/coq.js +436 -0
  52. package/vue/chunks/cos.js +77 -0
  53. package/vue/chunks/cpp.js +492 -0
  54. package/vue/chunks/crmsh.js +80 -0
  55. package/vue/chunks/crystal.js +260 -0
  56. package/vue/chunks/csharp.js +376 -0
  57. package/vue/chunks/csp.js +52 -0
  58. package/vue/chunks/css.js +890 -0
  59. package/vue/chunks/d.js +184 -0
  60. package/vue/chunks/dart.js +226 -0
  61. package/vue/chunks/delphi.js +227 -0
  62. package/vue/chunks/diff.js +40 -0
  63. package/vue/chunks/django.js +43 -0
  64. package/vue/chunks/dns.js +66 -0
  65. package/vue/chunks/dockerfile.js +35 -0
  66. package/vue/chunks/dos.js +147 -0
  67. package/vue/chunks/dsconfig.js +55 -0
  68. package/vue/chunks/dts.js +119 -0
  69. package/vue/chunks/dust.js +33 -0
  70. package/vue/chunks/ebnf.js +40 -0
  71. package/vue/chunks/elixir.js +241 -0
  72. package/vue/chunks/elm.js +103 -0
  73. package/vue/chunks/erb.js +17 -0
  74. package/vue/chunks/erlang-repl.js +41 -0
  75. package/vue/chunks/erlang.js +236 -0
  76. package/vue/chunks/excel.js +562 -0
  77. package/vue/chunks/fix.js +30 -0
  78. package/vue/chunks/flix.js +60 -0
  79. package/vue/chunks/fortran.js +543 -0
  80. package/vue/chunks/fsharp.js +440 -0
  81. package/vue/chunks/gams.js +134 -0
  82. package/vue/chunks/gauss.js +167 -0
  83. package/vue/chunks/gcode.js +131 -0
  84. package/vue/chunks/gherkin.js +41 -0
  85. package/vue/chunks/glsl.js +25 -0
  86. package/vue/chunks/gml.js +3119 -0
  87. package/vue/chunks/go.js +140 -0
  88. package/vue/chunks/golo.js +72 -0
  89. package/vue/chunks/gradle.js +181 -0
  90. package/vue/chunks/graphql.js +68 -0
  91. package/vue/chunks/groovy.js +159 -0
  92. package/vue/chunks/haml.js +96 -0
  93. package/vue/chunks/handlebars.js +191 -0
  94. package/vue/chunks/haskell.js +149 -0
  95. package/vue/chunks/haxe.js +142 -0
  96. package/vue/chunks/hsp.js +45 -0
  97. package/vue/chunks/http.js +77 -0
  98. package/vue/chunks/hy.js +92 -0
  99. package/vue/chunks/inform7.js +45 -0
  100. package/vue/chunks/ini.js +94 -0
  101. package/vue/chunks/irpf90.js +52 -0
  102. package/vue/chunks/isbl.js +112 -0
  103. package/vue/chunks/java.js +237 -0
  104. package/vue/chunks/javascript.js +570 -0
  105. package/vue/chunks/jboss-cli.js +46 -0
  106. package/vue/chunks/json.js +45 -0
  107. package/vue/chunks/julia-repl.js +18 -0
  108. package/vue/chunks/julia.js +353 -0
  109. package/vue/chunks/kotlin.js +216 -0
  110. package/vue/chunks/lasso.js +127 -0
  111. package/vue/chunks/latex.js +206 -0
  112. package/vue/chunks/ldif.js +25 -0
  113. package/vue/chunks/leaf.js +72 -0
  114. package/vue/chunks/less.js +953 -0
  115. package/vue/chunks/lisp.js +119 -0
  116. package/vue/chunks/livecodeserver.js +86 -0
  117. package/vue/chunks/livescript.js +309 -0
  118. package/vue/chunks/llvm.js +77 -0
  119. package/vue/chunks/lsl.js +55 -0
  120. package/vue/chunks/lua.js +49 -0
  121. package/vue/chunks/makefile.js +62 -0
  122. package/vue/chunks/markdown.js +194 -0
  123. package/vue/chunks/mathematica.js +7317 -0
  124. package/vue/chunks/matlab.js +70 -0
  125. package/vue/chunks/maxima.js +38 -0
  126. package/vue/chunks/mel.js +24 -0
  127. package/vue/chunks/mercury.js +62 -0
  128. package/vue/chunks/mipsasm.js +53 -0
  129. package/vue/chunks/mizar.js +10 -0
  130. package/vue/chunks/mojolicious.js +27 -0
  131. package/vue/chunks/monkey.js +158 -0
  132. package/vue/chunks/moonscript.js +102 -0
  133. package/vue/chunks/n1ql.js +346 -0
  134. package/vue/chunks/nestedtext.js +66 -0
  135. package/vue/chunks/nginx.js +127 -0
  136. package/vue/chunks/nim.js +174 -0
  137. package/vue/chunks/nix.js +334 -0
  138. package/vue/chunks/node-repl.js +20 -0
  139. package/vue/chunks/nsis.js +515 -0
  140. package/vue/chunks/objectivec.js +235 -0
  141. package/vue/chunks/ocaml.js +52 -0
  142. package/vue/chunks/openscad.js +66 -0
  143. package/vue/chunks/oxygene.js +58 -0
  144. package/vue/chunks/parser3.js +40 -0
  145. package/vue/chunks/perl.js +454 -0
  146. package/vue/chunks/pf.js +30 -0
  147. package/vue/chunks/pgsql.js +196 -0
  148. package/vue/chunks/php-template.js +43 -0
  149. package/vue/chunks/php.js +527 -0
  150. package/vue/chunks/plaintext.js +10 -0
  151. package/vue/chunks/pony.js +60 -0
  152. package/vue/chunks/powershell.js +208 -0
  153. package/vue/chunks/processing.js +407 -0
  154. package/vue/chunks/profile.js +38 -0
  155. package/vue/chunks/prolog.js +62 -0
  156. package/vue/chunks/properties.js +45 -0
  157. package/vue/chunks/protobuf.js +63 -0
  158. package/vue/chunks/puppet.js +87 -0
  159. package/vue/chunks/purebasic.js +42 -0
  160. package/vue/chunks/python-repl.js +19 -0
  161. package/vue/chunks/python.js +357 -0
  162. package/vue/chunks/q.js +21 -0
  163. package/vue/chunks/qml.js +134 -0
  164. package/vue/chunks/r.js +145 -0
  165. package/vue/chunks/reasonml.js +134 -0
  166. package/vue/chunks/rib.js +16 -0
  167. package/vue/chunks/roboconf.js +54 -0
  168. package/vue/chunks/routeros.js +109 -0
  169. package/vue/chunks/rsl.js +138 -0
  170. package/vue/chunks/ruby.js +322 -0
  171. package/vue/chunks/ruleslanguage.js +26 -0
  172. package/vue/chunks/rust.js +296 -0
  173. package/vue/chunks/sas.js +533 -0
  174. package/vue/chunks/scala.js +173 -0
  175. package/vue/chunks/scheme.js +118 -0
  176. package/vue/chunks/scilab.js +45 -0
  177. package/vue/chunks/scss.js +900 -0
  178. package/vue/chunks/shell.js +18 -0
  179. package/vue/chunks/smali.js +113 -0
  180. package/vue/chunks/smalltalk.js +59 -0
  181. package/vue/chunks/sml.js +49 -0
  182. package/vue/chunks/sqf.js +2599 -0
  183. package/vue/chunks/sql.js +624 -0
  184. package/vue/chunks/stan.js +471 -0
  185. package/vue/chunks/stata.js +33 -0
  186. package/vue/chunks/step21.js +53 -0
  187. package/vue/chunks/stylus.js +925 -0
  188. package/vue/chunks/subunit.js +34 -0
  189. package/vue/chunks/swift.js +699 -0
  190. package/vue/chunks/taggerscript.js +37 -0
  191. package/vue/chunks/tap.js +30 -0
  192. package/vue/chunks/tcl.js +165 -0
  193. package/vue/chunks/thrift.js +65 -0
  194. package/vue/chunks/tp.js +155 -0
  195. package/vue/chunks/twig.js +232 -0
  196. package/vue/chunks/typescript.js +672 -0
  197. package/vue/chunks/vala.js +39 -0
  198. package/vue/chunks/vbnet.js +86 -0
  199. package/vue/chunks/vbscript-html.js +14 -0
  200. package/vue/chunks/vbscript.js +200 -0
  201. package/vue/chunks/verilog.js +534 -0
  202. package/vue/chunks/vhdl.js +190 -0
  203. package/vue/chunks/vim.js +54 -0
  204. package/vue/chunks/wasm.js +111 -0
  205. package/vue/chunks/wren.js +229 -0
  206. package/vue/chunks/x86asm.js +64 -0
  207. package/vue/chunks/xl.js +192 -0
  208. package/vue/chunks/xml.js +175 -0
  209. package/vue/chunks/xquery.js +303 -0
  210. package/vue/chunks/yaml.js +159 -0
  211. package/vue/chunks/zephir.js +74 -0
  212. package/vue/components.css +119 -85
  213. package/vue/editor/LoomaEditor.d.ts +7 -7
  214. package/vue/editor/code-language-catalog.d.ts +196 -0
  215. package/vue/editor/index.js +290 -20
@@ -0,0 +1,890 @@
1
+ //#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/css.js
2
+ var MODES = (hljs) => {
3
+ return {
4
+ IMPORTANT: {
5
+ scope: "meta",
6
+ begin: "!important"
7
+ },
8
+ BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
9
+ HEXCOLOR: {
10
+ scope: "number",
11
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
12
+ },
13
+ UNICODE_RANGE: {
14
+ scope: "number",
15
+ begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/
16
+ },
17
+ FUNCTION_DISPATCH: {
18
+ className: "built_in",
19
+ begin: /[\w-]+(?=\()/
20
+ },
21
+ ATTRIBUTE_SELECTOR_MODE: {
22
+ scope: "selector-attr",
23
+ begin: /\[/,
24
+ end: /\]/,
25
+ illegal: "$",
26
+ contains: [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE]
27
+ },
28
+ CSS_NUMBER_MODE: {
29
+ scope: "number",
30
+ begin: hljs.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
31
+ relevance: 0
32
+ },
33
+ CSS_VARIABLE: {
34
+ className: "attr",
35
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
36
+ }
37
+ };
38
+ };
39
+ var HTML_TAGS = [
40
+ "a",
41
+ "abbr",
42
+ "address",
43
+ "article",
44
+ "aside",
45
+ "audio",
46
+ "b",
47
+ "blockquote",
48
+ "body",
49
+ "button",
50
+ "canvas",
51
+ "caption",
52
+ "cite",
53
+ "code",
54
+ "dd",
55
+ "del",
56
+ "details",
57
+ "dfn",
58
+ "div",
59
+ "dl",
60
+ "dt",
61
+ "em",
62
+ "fieldset",
63
+ "figcaption",
64
+ "figure",
65
+ "footer",
66
+ "form",
67
+ "h1",
68
+ "h2",
69
+ "h3",
70
+ "h4",
71
+ "h5",
72
+ "h6",
73
+ "header",
74
+ "hgroup",
75
+ "html",
76
+ "i",
77
+ "iframe",
78
+ "img",
79
+ "input",
80
+ "ins",
81
+ "kbd",
82
+ "label",
83
+ "legend",
84
+ "li",
85
+ "main",
86
+ "mark",
87
+ "menu",
88
+ "nav",
89
+ "object",
90
+ "ol",
91
+ "optgroup",
92
+ "option",
93
+ "p",
94
+ "picture",
95
+ "q",
96
+ "quote",
97
+ "samp",
98
+ "section",
99
+ "select",
100
+ "source",
101
+ "span",
102
+ "strong",
103
+ "summary",
104
+ "sup",
105
+ "table",
106
+ "tbody",
107
+ "td",
108
+ "textarea",
109
+ "tfoot",
110
+ "th",
111
+ "thead",
112
+ "time",
113
+ "tr",
114
+ "ul",
115
+ "var",
116
+ "video"
117
+ ];
118
+ var SVG_TAGS = [
119
+ "defs",
120
+ "g",
121
+ "marker",
122
+ "mask",
123
+ "pattern",
124
+ "svg",
125
+ "switch",
126
+ "symbol",
127
+ "feBlend",
128
+ "feColorMatrix",
129
+ "feComponentTransfer",
130
+ "feComposite",
131
+ "feConvolveMatrix",
132
+ "feDiffuseLighting",
133
+ "feDisplacementMap",
134
+ "feFlood",
135
+ "feGaussianBlur",
136
+ "feImage",
137
+ "feMerge",
138
+ "feMorphology",
139
+ "feOffset",
140
+ "feSpecularLighting",
141
+ "feTile",
142
+ "feTurbulence",
143
+ "linearGradient",
144
+ "radialGradient",
145
+ "stop",
146
+ "circle",
147
+ "ellipse",
148
+ "image",
149
+ "line",
150
+ "path",
151
+ "polygon",
152
+ "polyline",
153
+ "rect",
154
+ "text",
155
+ "use",
156
+ "textPath",
157
+ "tspan",
158
+ "foreignObject",
159
+ "clipPath"
160
+ ];
161
+ var TAGS = [...HTML_TAGS, ...SVG_TAGS];
162
+ var MEDIA_FEATURES = [
163
+ "any-hover",
164
+ "any-pointer",
165
+ "aspect-ratio",
166
+ "color",
167
+ "color-gamut",
168
+ "color-index",
169
+ "device-aspect-ratio",
170
+ "device-height",
171
+ "device-width",
172
+ "display-mode",
173
+ "forced-colors",
174
+ "grid",
175
+ "height",
176
+ "hover",
177
+ "inverted-colors",
178
+ "monochrome",
179
+ "orientation",
180
+ "overflow-block",
181
+ "overflow-inline",
182
+ "pointer",
183
+ "prefers-color-scheme",
184
+ "prefers-contrast",
185
+ "prefers-reduced-motion",
186
+ "prefers-reduced-transparency",
187
+ "resolution",
188
+ "scan",
189
+ "scripting",
190
+ "update",
191
+ "width",
192
+ "min-width",
193
+ "max-width",
194
+ "min-height",
195
+ "max-height"
196
+ ].sort().reverse();
197
+ var PSEUDO_CLASSES = [
198
+ "active",
199
+ "any-link",
200
+ "blank",
201
+ "checked",
202
+ "current",
203
+ "default",
204
+ "defined",
205
+ "dir",
206
+ "disabled",
207
+ "drop",
208
+ "empty",
209
+ "enabled",
210
+ "first",
211
+ "first-child",
212
+ "first-of-type",
213
+ "fullscreen",
214
+ "future",
215
+ "focus",
216
+ "focus-visible",
217
+ "focus-within",
218
+ "has",
219
+ "host",
220
+ "host-context",
221
+ "hover",
222
+ "indeterminate",
223
+ "in-range",
224
+ "invalid",
225
+ "is",
226
+ "lang",
227
+ "last-child",
228
+ "last-of-type",
229
+ "left",
230
+ "link",
231
+ "local-link",
232
+ "not",
233
+ "nth-child",
234
+ "nth-col",
235
+ "nth-last-child",
236
+ "nth-last-col",
237
+ "nth-last-of-type",
238
+ "nth-of-type",
239
+ "only-child",
240
+ "only-of-type",
241
+ "optional",
242
+ "out-of-range",
243
+ "past",
244
+ "placeholder-shown",
245
+ "read-only",
246
+ "read-write",
247
+ "required",
248
+ "right",
249
+ "root",
250
+ "scope",
251
+ "target",
252
+ "target-within",
253
+ "user-invalid",
254
+ "valid",
255
+ "visited",
256
+ "where"
257
+ ].sort().reverse();
258
+ var PSEUDO_ELEMENTS = [
259
+ "after",
260
+ "backdrop",
261
+ "before",
262
+ "cue",
263
+ "cue-region",
264
+ "first-letter",
265
+ "first-line",
266
+ "grammar-error",
267
+ "marker",
268
+ "part",
269
+ "placeholder",
270
+ "selection",
271
+ "slotted",
272
+ "spelling-error"
273
+ ].sort().reverse();
274
+ var ATTRIBUTES = [
275
+ "accent-color",
276
+ "align-content",
277
+ "align-items",
278
+ "align-self",
279
+ "alignment-baseline",
280
+ "all",
281
+ "anchor-name",
282
+ "animation",
283
+ "animation-composition",
284
+ "animation-delay",
285
+ "animation-direction",
286
+ "animation-duration",
287
+ "animation-fill-mode",
288
+ "animation-iteration-count",
289
+ "animation-name",
290
+ "animation-play-state",
291
+ "animation-range",
292
+ "animation-range-end",
293
+ "animation-range-start",
294
+ "animation-timeline",
295
+ "animation-timing-function",
296
+ "appearance",
297
+ "aspect-ratio",
298
+ "backdrop-filter",
299
+ "backface-visibility",
300
+ "background",
301
+ "background-attachment",
302
+ "background-blend-mode",
303
+ "background-clip",
304
+ "background-color",
305
+ "background-image",
306
+ "background-origin",
307
+ "background-position",
308
+ "background-position-x",
309
+ "background-position-y",
310
+ "background-repeat",
311
+ "background-size",
312
+ "baseline-shift",
313
+ "block-size",
314
+ "border",
315
+ "border-block",
316
+ "border-block-color",
317
+ "border-block-end",
318
+ "border-block-end-color",
319
+ "border-block-end-style",
320
+ "border-block-end-width",
321
+ "border-block-start",
322
+ "border-block-start-color",
323
+ "border-block-start-style",
324
+ "border-block-start-width",
325
+ "border-block-style",
326
+ "border-block-width",
327
+ "border-bottom",
328
+ "border-bottom-color",
329
+ "border-bottom-left-radius",
330
+ "border-bottom-right-radius",
331
+ "border-bottom-style",
332
+ "border-bottom-width",
333
+ "border-collapse",
334
+ "border-color",
335
+ "border-end-end-radius",
336
+ "border-end-start-radius",
337
+ "border-image",
338
+ "border-image-outset",
339
+ "border-image-repeat",
340
+ "border-image-slice",
341
+ "border-image-source",
342
+ "border-image-width",
343
+ "border-inline",
344
+ "border-inline-color",
345
+ "border-inline-end",
346
+ "border-inline-end-color",
347
+ "border-inline-end-style",
348
+ "border-inline-end-width",
349
+ "border-inline-start",
350
+ "border-inline-start-color",
351
+ "border-inline-start-style",
352
+ "border-inline-start-width",
353
+ "border-inline-style",
354
+ "border-inline-width",
355
+ "border-left",
356
+ "border-left-color",
357
+ "border-left-style",
358
+ "border-left-width",
359
+ "border-radius",
360
+ "border-right",
361
+ "border-right-color",
362
+ "border-right-style",
363
+ "border-right-width",
364
+ "border-spacing",
365
+ "border-start-end-radius",
366
+ "border-start-start-radius",
367
+ "border-style",
368
+ "border-top",
369
+ "border-top-color",
370
+ "border-top-left-radius",
371
+ "border-top-right-radius",
372
+ "border-top-style",
373
+ "border-top-width",
374
+ "border-width",
375
+ "bottom",
376
+ "box-align",
377
+ "box-decoration-break",
378
+ "box-direction",
379
+ "box-flex",
380
+ "box-flex-group",
381
+ "box-lines",
382
+ "box-ordinal-group",
383
+ "box-orient",
384
+ "box-pack",
385
+ "box-shadow",
386
+ "box-sizing",
387
+ "break-after",
388
+ "break-before",
389
+ "break-inside",
390
+ "caption-side",
391
+ "caret-color",
392
+ "clear",
393
+ "clip",
394
+ "clip-path",
395
+ "clip-rule",
396
+ "color",
397
+ "color-interpolation",
398
+ "color-interpolation-filters",
399
+ "color-profile",
400
+ "color-rendering",
401
+ "color-scheme",
402
+ "column-count",
403
+ "column-fill",
404
+ "column-gap",
405
+ "column-rule",
406
+ "column-rule-color",
407
+ "column-rule-style",
408
+ "column-rule-width",
409
+ "column-span",
410
+ "column-width",
411
+ "columns",
412
+ "contain",
413
+ "contain-intrinsic-block-size",
414
+ "contain-intrinsic-height",
415
+ "contain-intrinsic-inline-size",
416
+ "contain-intrinsic-size",
417
+ "contain-intrinsic-width",
418
+ "container",
419
+ "container-name",
420
+ "container-type",
421
+ "content",
422
+ "content-visibility",
423
+ "counter-increment",
424
+ "counter-reset",
425
+ "counter-set",
426
+ "cue",
427
+ "cue-after",
428
+ "cue-before",
429
+ "cursor",
430
+ "cx",
431
+ "cy",
432
+ "direction",
433
+ "display",
434
+ "dominant-baseline",
435
+ "empty-cells",
436
+ "enable-background",
437
+ "field-sizing",
438
+ "fill",
439
+ "fill-opacity",
440
+ "fill-rule",
441
+ "filter",
442
+ "flex",
443
+ "flex-basis",
444
+ "flex-direction",
445
+ "flex-flow",
446
+ "flex-grow",
447
+ "flex-shrink",
448
+ "flex-wrap",
449
+ "float",
450
+ "flood-color",
451
+ "flood-opacity",
452
+ "flow",
453
+ "font",
454
+ "font-display",
455
+ "font-family",
456
+ "font-feature-settings",
457
+ "font-kerning",
458
+ "font-language-override",
459
+ "font-optical-sizing",
460
+ "font-palette",
461
+ "font-size",
462
+ "font-size-adjust",
463
+ "font-smooth",
464
+ "font-smoothing",
465
+ "font-stretch",
466
+ "font-style",
467
+ "font-synthesis",
468
+ "font-synthesis-position",
469
+ "font-synthesis-small-caps",
470
+ "font-synthesis-style",
471
+ "font-synthesis-weight",
472
+ "font-variant",
473
+ "font-variant-alternates",
474
+ "font-variant-caps",
475
+ "font-variant-east-asian",
476
+ "font-variant-emoji",
477
+ "font-variant-ligatures",
478
+ "font-variant-numeric",
479
+ "font-variant-position",
480
+ "font-variation-settings",
481
+ "font-weight",
482
+ "forced-color-adjust",
483
+ "gap",
484
+ "glyph-orientation-horizontal",
485
+ "glyph-orientation-vertical",
486
+ "grid",
487
+ "grid-area",
488
+ "grid-auto-columns",
489
+ "grid-auto-flow",
490
+ "grid-auto-rows",
491
+ "grid-column",
492
+ "grid-column-end",
493
+ "grid-column-start",
494
+ "grid-gap",
495
+ "grid-row",
496
+ "grid-row-end",
497
+ "grid-row-start",
498
+ "grid-template",
499
+ "grid-template-areas",
500
+ "grid-template-columns",
501
+ "grid-template-rows",
502
+ "hanging-punctuation",
503
+ "height",
504
+ "hyphenate-character",
505
+ "hyphenate-limit-chars",
506
+ "hyphens",
507
+ "icon",
508
+ "image-orientation",
509
+ "image-rendering",
510
+ "image-resolution",
511
+ "ime-mode",
512
+ "initial-letter",
513
+ "initial-letter-align",
514
+ "inline-size",
515
+ "inset",
516
+ "inset-area",
517
+ "inset-block",
518
+ "inset-block-end",
519
+ "inset-block-start",
520
+ "inset-inline",
521
+ "inset-inline-end",
522
+ "inset-inline-start",
523
+ "isolation",
524
+ "justify-content",
525
+ "justify-items",
526
+ "justify-self",
527
+ "kerning",
528
+ "left",
529
+ "letter-spacing",
530
+ "lighting-color",
531
+ "line-break",
532
+ "line-height",
533
+ "line-height-step",
534
+ "list-style",
535
+ "list-style-image",
536
+ "list-style-position",
537
+ "list-style-type",
538
+ "margin",
539
+ "margin-block",
540
+ "margin-block-end",
541
+ "margin-block-start",
542
+ "margin-bottom",
543
+ "margin-inline",
544
+ "margin-inline-end",
545
+ "margin-inline-start",
546
+ "margin-left",
547
+ "margin-right",
548
+ "margin-top",
549
+ "margin-trim",
550
+ "marker",
551
+ "marker-end",
552
+ "marker-mid",
553
+ "marker-start",
554
+ "marks",
555
+ "mask",
556
+ "mask-border",
557
+ "mask-border-mode",
558
+ "mask-border-outset",
559
+ "mask-border-repeat",
560
+ "mask-border-slice",
561
+ "mask-border-source",
562
+ "mask-border-width",
563
+ "mask-clip",
564
+ "mask-composite",
565
+ "mask-image",
566
+ "mask-mode",
567
+ "mask-origin",
568
+ "mask-position",
569
+ "mask-repeat",
570
+ "mask-size",
571
+ "mask-type",
572
+ "masonry-auto-flow",
573
+ "math-depth",
574
+ "math-shift",
575
+ "math-style",
576
+ "max-block-size",
577
+ "max-height",
578
+ "max-inline-size",
579
+ "max-width",
580
+ "min-block-size",
581
+ "min-height",
582
+ "min-inline-size",
583
+ "min-width",
584
+ "mix-blend-mode",
585
+ "nav-down",
586
+ "nav-index",
587
+ "nav-left",
588
+ "nav-right",
589
+ "nav-up",
590
+ "none",
591
+ "normal",
592
+ "object-fit",
593
+ "object-position",
594
+ "offset",
595
+ "offset-anchor",
596
+ "offset-distance",
597
+ "offset-path",
598
+ "offset-position",
599
+ "offset-rotate",
600
+ "opacity",
601
+ "order",
602
+ "orphans",
603
+ "outline",
604
+ "outline-color",
605
+ "outline-offset",
606
+ "outline-style",
607
+ "outline-width",
608
+ "overflow",
609
+ "overflow-anchor",
610
+ "overflow-block",
611
+ "overflow-clip-margin",
612
+ "overflow-inline",
613
+ "overflow-wrap",
614
+ "overflow-x",
615
+ "overflow-y",
616
+ "overlay",
617
+ "overscroll-behavior",
618
+ "overscroll-behavior-block",
619
+ "overscroll-behavior-inline",
620
+ "overscroll-behavior-x",
621
+ "overscroll-behavior-y",
622
+ "padding",
623
+ "padding-block",
624
+ "padding-block-end",
625
+ "padding-block-start",
626
+ "padding-bottom",
627
+ "padding-inline",
628
+ "padding-inline-end",
629
+ "padding-inline-start",
630
+ "padding-left",
631
+ "padding-right",
632
+ "padding-top",
633
+ "page",
634
+ "page-break-after",
635
+ "page-break-before",
636
+ "page-break-inside",
637
+ "paint-order",
638
+ "pause",
639
+ "pause-after",
640
+ "pause-before",
641
+ "perspective",
642
+ "perspective-origin",
643
+ "place-content",
644
+ "place-items",
645
+ "place-self",
646
+ "pointer-events",
647
+ "position",
648
+ "position-anchor",
649
+ "position-visibility",
650
+ "print-color-adjust",
651
+ "quotes",
652
+ "r",
653
+ "resize",
654
+ "rest",
655
+ "rest-after",
656
+ "rest-before",
657
+ "right",
658
+ "rotate",
659
+ "row-gap",
660
+ "ruby-align",
661
+ "ruby-position",
662
+ "scale",
663
+ "scroll-behavior",
664
+ "scroll-margin",
665
+ "scroll-margin-block",
666
+ "scroll-margin-block-end",
667
+ "scroll-margin-block-start",
668
+ "scroll-margin-bottom",
669
+ "scroll-margin-inline",
670
+ "scroll-margin-inline-end",
671
+ "scroll-margin-inline-start",
672
+ "scroll-margin-left",
673
+ "scroll-margin-right",
674
+ "scroll-margin-top",
675
+ "scroll-padding",
676
+ "scroll-padding-block",
677
+ "scroll-padding-block-end",
678
+ "scroll-padding-block-start",
679
+ "scroll-padding-bottom",
680
+ "scroll-padding-inline",
681
+ "scroll-padding-inline-end",
682
+ "scroll-padding-inline-start",
683
+ "scroll-padding-left",
684
+ "scroll-padding-right",
685
+ "scroll-padding-top",
686
+ "scroll-snap-align",
687
+ "scroll-snap-stop",
688
+ "scroll-snap-type",
689
+ "scroll-timeline",
690
+ "scroll-timeline-axis",
691
+ "scroll-timeline-name",
692
+ "scrollbar-color",
693
+ "scrollbar-gutter",
694
+ "scrollbar-width",
695
+ "shape-image-threshold",
696
+ "shape-margin",
697
+ "shape-outside",
698
+ "shape-rendering",
699
+ "speak",
700
+ "speak-as",
701
+ "src",
702
+ "stop-color",
703
+ "stop-opacity",
704
+ "stroke",
705
+ "stroke-dasharray",
706
+ "stroke-dashoffset",
707
+ "stroke-linecap",
708
+ "stroke-linejoin",
709
+ "stroke-miterlimit",
710
+ "stroke-opacity",
711
+ "stroke-width",
712
+ "tab-size",
713
+ "table-layout",
714
+ "text-align",
715
+ "text-align-all",
716
+ "text-align-last",
717
+ "text-anchor",
718
+ "text-combine-upright",
719
+ "text-decoration",
720
+ "text-decoration-color",
721
+ "text-decoration-line",
722
+ "text-decoration-skip",
723
+ "text-decoration-skip-ink",
724
+ "text-decoration-style",
725
+ "text-decoration-thickness",
726
+ "text-emphasis",
727
+ "text-emphasis-color",
728
+ "text-emphasis-position",
729
+ "text-emphasis-style",
730
+ "text-indent",
731
+ "text-justify",
732
+ "text-orientation",
733
+ "text-overflow",
734
+ "text-rendering",
735
+ "text-shadow",
736
+ "text-size-adjust",
737
+ "text-transform",
738
+ "text-underline-offset",
739
+ "text-underline-position",
740
+ "text-wrap",
741
+ "text-wrap-mode",
742
+ "text-wrap-style",
743
+ "timeline-scope",
744
+ "top",
745
+ "touch-action",
746
+ "transform",
747
+ "transform-box",
748
+ "transform-origin",
749
+ "transform-style",
750
+ "transition",
751
+ "transition-behavior",
752
+ "transition-delay",
753
+ "transition-duration",
754
+ "transition-property",
755
+ "transition-timing-function",
756
+ "translate",
757
+ "unicode-bidi",
758
+ "unicode-range",
759
+ "user-modify",
760
+ "user-select",
761
+ "vector-effect",
762
+ "vertical-align",
763
+ "view-timeline",
764
+ "view-timeline-axis",
765
+ "view-timeline-inset",
766
+ "view-timeline-name",
767
+ "view-transition-name",
768
+ "visibility",
769
+ "voice-balance",
770
+ "voice-duration",
771
+ "voice-family",
772
+ "voice-pitch",
773
+ "voice-range",
774
+ "voice-rate",
775
+ "voice-stress",
776
+ "voice-volume",
777
+ "white-space",
778
+ "white-space-collapse",
779
+ "widows",
780
+ "width",
781
+ "will-change",
782
+ "word-break",
783
+ "word-spacing",
784
+ "word-wrap",
785
+ "writing-mode",
786
+ "x",
787
+ "y",
788
+ "z-index",
789
+ "zoom"
790
+ ].sort().reverse();
791
+ /** @type LanguageFn */
792
+ function css(hljs) {
793
+ const regex = hljs.regex;
794
+ const modes = MODES(hljs);
795
+ const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };
796
+ const AT_MODIFIERS = "and or not only";
797
+ const AT_PROPERTY_RE = /@-?\w[\w]*(-\w+)*/;
798
+ const STRINGS = [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE];
799
+ return {
800
+ name: "CSS",
801
+ case_insensitive: true,
802
+ illegal: /[=|'\$]/,
803
+ keywords: { keyframePosition: "from to" },
804
+ classNameAliases: { keyframePosition: "selector-tag" },
805
+ contains: [
806
+ modes.BLOCK_COMMENT,
807
+ VENDOR_PREFIX,
808
+ modes.CSS_NUMBER_MODE,
809
+ {
810
+ className: "selector-id",
811
+ begin: /#[A-Za-z0-9_-]+/,
812
+ relevance: 0
813
+ },
814
+ {
815
+ className: "selector-class",
816
+ begin: "\\.[a-zA-Z-][a-zA-Z0-9_-]*",
817
+ relevance: 0
818
+ },
819
+ modes.ATTRIBUTE_SELECTOR_MODE,
820
+ {
821
+ className: "selector-pseudo",
822
+ variants: [{ begin: ":(" + PSEUDO_CLASSES.join("|") + ")" }, { begin: ":(:)?(" + PSEUDO_ELEMENTS.join("|") + ")" }]
823
+ },
824
+ modes.CSS_VARIABLE,
825
+ {
826
+ className: "attribute",
827
+ begin: "\\b(" + ATTRIBUTES.join("|") + ")\\b"
828
+ },
829
+ {
830
+ begin: /:/,
831
+ end: /[;}{]/,
832
+ contains: [
833
+ modes.BLOCK_COMMENT,
834
+ modes.HEXCOLOR,
835
+ modes.IMPORTANT,
836
+ modes.CSS_NUMBER_MODE,
837
+ modes.UNICODE_RANGE,
838
+ ...STRINGS,
839
+ {
840
+ begin: /(url|data-uri)\(/,
841
+ end: /\)/,
842
+ relevance: 0,
843
+ keywords: { built_in: "url data-uri" },
844
+ contains: [...STRINGS, {
845
+ className: "string",
846
+ begin: /[^)]/,
847
+ endsWithParent: true,
848
+ excludeEnd: true
849
+ }]
850
+ },
851
+ modes.FUNCTION_DISPATCH
852
+ ]
853
+ },
854
+ {
855
+ begin: regex.lookahead(/@/),
856
+ end: "[{;]",
857
+ relevance: 0,
858
+ illegal: /:/,
859
+ contains: [{
860
+ className: "keyword",
861
+ begin: AT_PROPERTY_RE
862
+ }, {
863
+ begin: /\s/,
864
+ endsWithParent: true,
865
+ excludeEnd: true,
866
+ relevance: 0,
867
+ keywords: {
868
+ $pattern: /[a-z-]+/,
869
+ keyword: AT_MODIFIERS,
870
+ attribute: MEDIA_FEATURES.join(" ")
871
+ },
872
+ contains: [
873
+ {
874
+ begin: /[a-z-]+(?=:)/,
875
+ className: "attribute"
876
+ },
877
+ ...STRINGS,
878
+ modes.CSS_NUMBER_MODE
879
+ ]
880
+ }]
881
+ },
882
+ {
883
+ className: "selector-tag",
884
+ begin: "\\b(" + TAGS.join("|") + ")\\b"
885
+ }
886
+ ]
887
+ };
888
+ }
889
+ //#endregion
890
+ export { css as default };