@prokodo/ui 0.0.53 → 0.0.55

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 (63) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +9 -0
  2. package/dist/_virtual/common.js +7 -0
  3. package/dist/components/list/List.module.scss.js +0 -1
  4. package/dist/components/post-item/PostItem.client.js +3 -4
  5. package/dist/components/post-item/PostItem.server.js +3 -4
  6. package/dist/components/post-item/PostItem.view.js +2 -2
  7. package/dist/components/post-teaser/PostTeaser.client.js +5 -6
  8. package/dist/components/post-teaser/PostTeaser.server.js +3 -4
  9. package/dist/components/post-teaser/PostTeaser.view.js +4 -4
  10. package/dist/components/rich-text/RichText.client.js +175 -10
  11. package/dist/components/rich-text/RichText.module.scss.js +1 -1
  12. package/dist/components/slider/Slider.view.js +19 -4
  13. package/dist/constants/project.js +1 -1
  14. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.js +5 -0
  15. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.js +90 -0
  16. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1629 -0
  17. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js +407 -0
  18. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js +307 -0
  19. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js +556 -0
  20. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js +413 -0
  21. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js +950 -0
  22. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js +66 -0
  23. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js +167 -0
  24. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js +83 -0
  25. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js +129 -0
  26. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js +268 -0
  27. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js +715 -0
  28. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js +53 -0
  29. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js +268 -0
  30. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js +1031 -0
  31. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js +74 -0
  32. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js +84 -0
  33. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js +245 -0
  34. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js +256 -0
  35. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js +498 -0
  36. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js +59 -0
  37. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js +614 -0
  38. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js +25 -0
  39. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js +38 -0
  40. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js +428 -0
  41. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js +223 -0
  42. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js +426 -0
  43. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js +326 -0
  44. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js +935 -0
  45. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js +37 -0
  46. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js +658 -0
  47. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js +893 -0
  48. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js +829 -0
  49. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js +146 -0
  50. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js +134 -0
  51. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js +239 -0
  52. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js +214 -0
  53. package/dist/node_modules/.pnpm/marked-highlight@2.2.2_marked@15.0.12/node_modules/marked-highlight/src/index.js +93 -0
  54. package/dist/tsconfig.build.tsbuildinfo +1 -1
  55. package/dist/types/components/post-item/PostItem.model.d.ts +1 -1
  56. package/dist/types/components/post-teaser/PostTeaser.model.d.ts +1 -1
  57. package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
  58. package/dist/types/components/rich-text/RichText.d.ts +5 -0
  59. package/dist/types/components/rich-text/RichText.lazy.d.ts +5 -0
  60. package/dist/types/components/rich-text/RichText.model.d.ts +5 -0
  61. package/dist/ui.css +98 -58
  62. package/package.json +3 -1
  63. package/dist/helpers/calculation.js +0 -6
@@ -0,0 +1,935 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ var scss_1;
4
+ var hasRequiredScss;
5
+ function requireScss() {
6
+ if (hasRequiredScss) return scss_1;
7
+ hasRequiredScss = 1;
8
+ const MODES = /* @__PURE__ */ __name((hljs) => {
9
+ return {
10
+ IMPORTANT: {
11
+ scope: "meta",
12
+ begin: "!important"
13
+ },
14
+ BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
15
+ HEXCOLOR: {
16
+ scope: "number",
17
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
18
+ },
19
+ FUNCTION_DISPATCH: {
20
+ className: "built_in",
21
+ begin: /[\w-]+(?=\()/
22
+ },
23
+ ATTRIBUTE_SELECTOR_MODE: {
24
+ scope: "selector-attr",
25
+ begin: /\[/,
26
+ end: /\]/,
27
+ illegal: "$",
28
+ contains: [
29
+ hljs.APOS_STRING_MODE,
30
+ hljs.QUOTE_STRING_MODE
31
+ ]
32
+ },
33
+ CSS_NUMBER_MODE: {
34
+ scope: "number",
35
+ 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)?",
36
+ relevance: 0
37
+ },
38
+ CSS_VARIABLE: {
39
+ className: "attr",
40
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
41
+ }
42
+ };
43
+ }, "MODES");
44
+ const HTML_TAGS = [
45
+ "a",
46
+ "abbr",
47
+ "address",
48
+ "article",
49
+ "aside",
50
+ "audio",
51
+ "b",
52
+ "blockquote",
53
+ "body",
54
+ "button",
55
+ "canvas",
56
+ "caption",
57
+ "cite",
58
+ "code",
59
+ "dd",
60
+ "del",
61
+ "details",
62
+ "dfn",
63
+ "div",
64
+ "dl",
65
+ "dt",
66
+ "em",
67
+ "fieldset",
68
+ "figcaption",
69
+ "figure",
70
+ "footer",
71
+ "form",
72
+ "h1",
73
+ "h2",
74
+ "h3",
75
+ "h4",
76
+ "h5",
77
+ "h6",
78
+ "header",
79
+ "hgroup",
80
+ "html",
81
+ "i",
82
+ "iframe",
83
+ "img",
84
+ "input",
85
+ "ins",
86
+ "kbd",
87
+ "label",
88
+ "legend",
89
+ "li",
90
+ "main",
91
+ "mark",
92
+ "menu",
93
+ "nav",
94
+ "object",
95
+ "ol",
96
+ "optgroup",
97
+ "option",
98
+ "p",
99
+ "picture",
100
+ "q",
101
+ "quote",
102
+ "samp",
103
+ "section",
104
+ "select",
105
+ "source",
106
+ "span",
107
+ "strong",
108
+ "summary",
109
+ "sup",
110
+ "table",
111
+ "tbody",
112
+ "td",
113
+ "textarea",
114
+ "tfoot",
115
+ "th",
116
+ "thead",
117
+ "time",
118
+ "tr",
119
+ "ul",
120
+ "var",
121
+ "video"
122
+ ];
123
+ const SVG_TAGS = [
124
+ "defs",
125
+ "g",
126
+ "marker",
127
+ "mask",
128
+ "pattern",
129
+ "svg",
130
+ "switch",
131
+ "symbol",
132
+ "feBlend",
133
+ "feColorMatrix",
134
+ "feComponentTransfer",
135
+ "feComposite",
136
+ "feConvolveMatrix",
137
+ "feDiffuseLighting",
138
+ "feDisplacementMap",
139
+ "feFlood",
140
+ "feGaussianBlur",
141
+ "feImage",
142
+ "feMerge",
143
+ "feMorphology",
144
+ "feOffset",
145
+ "feSpecularLighting",
146
+ "feTile",
147
+ "feTurbulence",
148
+ "linearGradient",
149
+ "radialGradient",
150
+ "stop",
151
+ "circle",
152
+ "ellipse",
153
+ "image",
154
+ "line",
155
+ "path",
156
+ "polygon",
157
+ "polyline",
158
+ "rect",
159
+ "text",
160
+ "use",
161
+ "textPath",
162
+ "tspan",
163
+ "foreignObject",
164
+ "clipPath"
165
+ ];
166
+ const TAGS = [
167
+ ...HTML_TAGS,
168
+ ...SVG_TAGS
169
+ ];
170
+ const MEDIA_FEATURES = [
171
+ "any-hover",
172
+ "any-pointer",
173
+ "aspect-ratio",
174
+ "color",
175
+ "color-gamut",
176
+ "color-index",
177
+ "device-aspect-ratio",
178
+ "device-height",
179
+ "device-width",
180
+ "display-mode",
181
+ "forced-colors",
182
+ "grid",
183
+ "height",
184
+ "hover",
185
+ "inverted-colors",
186
+ "monochrome",
187
+ "orientation",
188
+ "overflow-block",
189
+ "overflow-inline",
190
+ "pointer",
191
+ "prefers-color-scheme",
192
+ "prefers-contrast",
193
+ "prefers-reduced-motion",
194
+ "prefers-reduced-transparency",
195
+ "resolution",
196
+ "scan",
197
+ "scripting",
198
+ "update",
199
+ "width",
200
+ // TODO: find a better solution?
201
+ "min-width",
202
+ "max-width",
203
+ "min-height",
204
+ "max-height"
205
+ ].sort().reverse();
206
+ const PSEUDO_CLASSES = [
207
+ "active",
208
+ "any-link",
209
+ "blank",
210
+ "checked",
211
+ "current",
212
+ "default",
213
+ "defined",
214
+ "dir",
215
+ // dir()
216
+ "disabled",
217
+ "drop",
218
+ "empty",
219
+ "enabled",
220
+ "first",
221
+ "first-child",
222
+ "first-of-type",
223
+ "fullscreen",
224
+ "future",
225
+ "focus",
226
+ "focus-visible",
227
+ "focus-within",
228
+ "has",
229
+ // has()
230
+ "host",
231
+ // host or host()
232
+ "host-context",
233
+ // host-context()
234
+ "hover",
235
+ "indeterminate",
236
+ "in-range",
237
+ "invalid",
238
+ "is",
239
+ // is()
240
+ "lang",
241
+ // lang()
242
+ "last-child",
243
+ "last-of-type",
244
+ "left",
245
+ "link",
246
+ "local-link",
247
+ "not",
248
+ // not()
249
+ "nth-child",
250
+ // nth-child()
251
+ "nth-col",
252
+ // nth-col()
253
+ "nth-last-child",
254
+ // nth-last-child()
255
+ "nth-last-col",
256
+ // nth-last-col()
257
+ "nth-last-of-type",
258
+ //nth-last-of-type()
259
+ "nth-of-type",
260
+ //nth-of-type()
261
+ "only-child",
262
+ "only-of-type",
263
+ "optional",
264
+ "out-of-range",
265
+ "past",
266
+ "placeholder-shown",
267
+ "read-only",
268
+ "read-write",
269
+ "required",
270
+ "right",
271
+ "root",
272
+ "scope",
273
+ "target",
274
+ "target-within",
275
+ "user-invalid",
276
+ "valid",
277
+ "visited",
278
+ "where"
279
+ // where()
280
+ ].sort().reverse();
281
+ const PSEUDO_ELEMENTS = [
282
+ "after",
283
+ "backdrop",
284
+ "before",
285
+ "cue",
286
+ "cue-region",
287
+ "first-letter",
288
+ "first-line",
289
+ "grammar-error",
290
+ "marker",
291
+ "part",
292
+ "placeholder",
293
+ "selection",
294
+ "slotted",
295
+ "spelling-error"
296
+ ].sort().reverse();
297
+ const ATTRIBUTES = [
298
+ "accent-color",
299
+ "align-content",
300
+ "align-items",
301
+ "align-self",
302
+ "alignment-baseline",
303
+ "all",
304
+ "anchor-name",
305
+ "animation",
306
+ "animation-composition",
307
+ "animation-delay",
308
+ "animation-direction",
309
+ "animation-duration",
310
+ "animation-fill-mode",
311
+ "animation-iteration-count",
312
+ "animation-name",
313
+ "animation-play-state",
314
+ "animation-range",
315
+ "animation-range-end",
316
+ "animation-range-start",
317
+ "animation-timeline",
318
+ "animation-timing-function",
319
+ "appearance",
320
+ "aspect-ratio",
321
+ "backdrop-filter",
322
+ "backface-visibility",
323
+ "background",
324
+ "background-attachment",
325
+ "background-blend-mode",
326
+ "background-clip",
327
+ "background-color",
328
+ "background-image",
329
+ "background-origin",
330
+ "background-position",
331
+ "background-position-x",
332
+ "background-position-y",
333
+ "background-repeat",
334
+ "background-size",
335
+ "baseline-shift",
336
+ "block-size",
337
+ "border",
338
+ "border-block",
339
+ "border-block-color",
340
+ "border-block-end",
341
+ "border-block-end-color",
342
+ "border-block-end-style",
343
+ "border-block-end-width",
344
+ "border-block-start",
345
+ "border-block-start-color",
346
+ "border-block-start-style",
347
+ "border-block-start-width",
348
+ "border-block-style",
349
+ "border-block-width",
350
+ "border-bottom",
351
+ "border-bottom-color",
352
+ "border-bottom-left-radius",
353
+ "border-bottom-right-radius",
354
+ "border-bottom-style",
355
+ "border-bottom-width",
356
+ "border-collapse",
357
+ "border-color",
358
+ "border-end-end-radius",
359
+ "border-end-start-radius",
360
+ "border-image",
361
+ "border-image-outset",
362
+ "border-image-repeat",
363
+ "border-image-slice",
364
+ "border-image-source",
365
+ "border-image-width",
366
+ "border-inline",
367
+ "border-inline-color",
368
+ "border-inline-end",
369
+ "border-inline-end-color",
370
+ "border-inline-end-style",
371
+ "border-inline-end-width",
372
+ "border-inline-start",
373
+ "border-inline-start-color",
374
+ "border-inline-start-style",
375
+ "border-inline-start-width",
376
+ "border-inline-style",
377
+ "border-inline-width",
378
+ "border-left",
379
+ "border-left-color",
380
+ "border-left-style",
381
+ "border-left-width",
382
+ "border-radius",
383
+ "border-right",
384
+ "border-right-color",
385
+ "border-right-style",
386
+ "border-right-width",
387
+ "border-spacing",
388
+ "border-start-end-radius",
389
+ "border-start-start-radius",
390
+ "border-style",
391
+ "border-top",
392
+ "border-top-color",
393
+ "border-top-left-radius",
394
+ "border-top-right-radius",
395
+ "border-top-style",
396
+ "border-top-width",
397
+ "border-width",
398
+ "bottom",
399
+ "box-align",
400
+ "box-decoration-break",
401
+ "box-direction",
402
+ "box-flex",
403
+ "box-flex-group",
404
+ "box-lines",
405
+ "box-ordinal-group",
406
+ "box-orient",
407
+ "box-pack",
408
+ "box-shadow",
409
+ "box-sizing",
410
+ "break-after",
411
+ "break-before",
412
+ "break-inside",
413
+ "caption-side",
414
+ "caret-color",
415
+ "clear",
416
+ "clip",
417
+ "clip-path",
418
+ "clip-rule",
419
+ "color",
420
+ "color-interpolation",
421
+ "color-interpolation-filters",
422
+ "color-profile",
423
+ "color-rendering",
424
+ "color-scheme",
425
+ "column-count",
426
+ "column-fill",
427
+ "column-gap",
428
+ "column-rule",
429
+ "column-rule-color",
430
+ "column-rule-style",
431
+ "column-rule-width",
432
+ "column-span",
433
+ "column-width",
434
+ "columns",
435
+ "contain",
436
+ "contain-intrinsic-block-size",
437
+ "contain-intrinsic-height",
438
+ "contain-intrinsic-inline-size",
439
+ "contain-intrinsic-size",
440
+ "contain-intrinsic-width",
441
+ "container",
442
+ "container-name",
443
+ "container-type",
444
+ "content",
445
+ "content-visibility",
446
+ "counter-increment",
447
+ "counter-reset",
448
+ "counter-set",
449
+ "cue",
450
+ "cue-after",
451
+ "cue-before",
452
+ "cursor",
453
+ "cx",
454
+ "cy",
455
+ "direction",
456
+ "display",
457
+ "dominant-baseline",
458
+ "empty-cells",
459
+ "enable-background",
460
+ "field-sizing",
461
+ "fill",
462
+ "fill-opacity",
463
+ "fill-rule",
464
+ "filter",
465
+ "flex",
466
+ "flex-basis",
467
+ "flex-direction",
468
+ "flex-flow",
469
+ "flex-grow",
470
+ "flex-shrink",
471
+ "flex-wrap",
472
+ "float",
473
+ "flood-color",
474
+ "flood-opacity",
475
+ "flow",
476
+ "font",
477
+ "font-display",
478
+ "font-family",
479
+ "font-feature-settings",
480
+ "font-kerning",
481
+ "font-language-override",
482
+ "font-optical-sizing",
483
+ "font-palette",
484
+ "font-size",
485
+ "font-size-adjust",
486
+ "font-smooth",
487
+ "font-smoothing",
488
+ "font-stretch",
489
+ "font-style",
490
+ "font-synthesis",
491
+ "font-synthesis-position",
492
+ "font-synthesis-small-caps",
493
+ "font-synthesis-style",
494
+ "font-synthesis-weight",
495
+ "font-variant",
496
+ "font-variant-alternates",
497
+ "font-variant-caps",
498
+ "font-variant-east-asian",
499
+ "font-variant-emoji",
500
+ "font-variant-ligatures",
501
+ "font-variant-numeric",
502
+ "font-variant-position",
503
+ "font-variation-settings",
504
+ "font-weight",
505
+ "forced-color-adjust",
506
+ "gap",
507
+ "glyph-orientation-horizontal",
508
+ "glyph-orientation-vertical",
509
+ "grid",
510
+ "grid-area",
511
+ "grid-auto-columns",
512
+ "grid-auto-flow",
513
+ "grid-auto-rows",
514
+ "grid-column",
515
+ "grid-column-end",
516
+ "grid-column-start",
517
+ "grid-gap",
518
+ "grid-row",
519
+ "grid-row-end",
520
+ "grid-row-start",
521
+ "grid-template",
522
+ "grid-template-areas",
523
+ "grid-template-columns",
524
+ "grid-template-rows",
525
+ "hanging-punctuation",
526
+ "height",
527
+ "hyphenate-character",
528
+ "hyphenate-limit-chars",
529
+ "hyphens",
530
+ "icon",
531
+ "image-orientation",
532
+ "image-rendering",
533
+ "image-resolution",
534
+ "ime-mode",
535
+ "initial-letter",
536
+ "initial-letter-align",
537
+ "inline-size",
538
+ "inset",
539
+ "inset-area",
540
+ "inset-block",
541
+ "inset-block-end",
542
+ "inset-block-start",
543
+ "inset-inline",
544
+ "inset-inline-end",
545
+ "inset-inline-start",
546
+ "isolation",
547
+ "justify-content",
548
+ "justify-items",
549
+ "justify-self",
550
+ "kerning",
551
+ "left",
552
+ "letter-spacing",
553
+ "lighting-color",
554
+ "line-break",
555
+ "line-height",
556
+ "line-height-step",
557
+ "list-style",
558
+ "list-style-image",
559
+ "list-style-position",
560
+ "list-style-type",
561
+ "margin",
562
+ "margin-block",
563
+ "margin-block-end",
564
+ "margin-block-start",
565
+ "margin-bottom",
566
+ "margin-inline",
567
+ "margin-inline-end",
568
+ "margin-inline-start",
569
+ "margin-left",
570
+ "margin-right",
571
+ "margin-top",
572
+ "margin-trim",
573
+ "marker",
574
+ "marker-end",
575
+ "marker-mid",
576
+ "marker-start",
577
+ "marks",
578
+ "mask",
579
+ "mask-border",
580
+ "mask-border-mode",
581
+ "mask-border-outset",
582
+ "mask-border-repeat",
583
+ "mask-border-slice",
584
+ "mask-border-source",
585
+ "mask-border-width",
586
+ "mask-clip",
587
+ "mask-composite",
588
+ "mask-image",
589
+ "mask-mode",
590
+ "mask-origin",
591
+ "mask-position",
592
+ "mask-repeat",
593
+ "mask-size",
594
+ "mask-type",
595
+ "masonry-auto-flow",
596
+ "math-depth",
597
+ "math-shift",
598
+ "math-style",
599
+ "max-block-size",
600
+ "max-height",
601
+ "max-inline-size",
602
+ "max-width",
603
+ "min-block-size",
604
+ "min-height",
605
+ "min-inline-size",
606
+ "min-width",
607
+ "mix-blend-mode",
608
+ "nav-down",
609
+ "nav-index",
610
+ "nav-left",
611
+ "nav-right",
612
+ "nav-up",
613
+ "none",
614
+ "normal",
615
+ "object-fit",
616
+ "object-position",
617
+ "offset",
618
+ "offset-anchor",
619
+ "offset-distance",
620
+ "offset-path",
621
+ "offset-position",
622
+ "offset-rotate",
623
+ "opacity",
624
+ "order",
625
+ "orphans",
626
+ "outline",
627
+ "outline-color",
628
+ "outline-offset",
629
+ "outline-style",
630
+ "outline-width",
631
+ "overflow",
632
+ "overflow-anchor",
633
+ "overflow-block",
634
+ "overflow-clip-margin",
635
+ "overflow-inline",
636
+ "overflow-wrap",
637
+ "overflow-x",
638
+ "overflow-y",
639
+ "overlay",
640
+ "overscroll-behavior",
641
+ "overscroll-behavior-block",
642
+ "overscroll-behavior-inline",
643
+ "overscroll-behavior-x",
644
+ "overscroll-behavior-y",
645
+ "padding",
646
+ "padding-block",
647
+ "padding-block-end",
648
+ "padding-block-start",
649
+ "padding-bottom",
650
+ "padding-inline",
651
+ "padding-inline-end",
652
+ "padding-inline-start",
653
+ "padding-left",
654
+ "padding-right",
655
+ "padding-top",
656
+ "page",
657
+ "page-break-after",
658
+ "page-break-before",
659
+ "page-break-inside",
660
+ "paint-order",
661
+ "pause",
662
+ "pause-after",
663
+ "pause-before",
664
+ "perspective",
665
+ "perspective-origin",
666
+ "place-content",
667
+ "place-items",
668
+ "place-self",
669
+ "pointer-events",
670
+ "position",
671
+ "position-anchor",
672
+ "position-visibility",
673
+ "print-color-adjust",
674
+ "quotes",
675
+ "r",
676
+ "resize",
677
+ "rest",
678
+ "rest-after",
679
+ "rest-before",
680
+ "right",
681
+ "rotate",
682
+ "row-gap",
683
+ "ruby-align",
684
+ "ruby-position",
685
+ "scale",
686
+ "scroll-behavior",
687
+ "scroll-margin",
688
+ "scroll-margin-block",
689
+ "scroll-margin-block-end",
690
+ "scroll-margin-block-start",
691
+ "scroll-margin-bottom",
692
+ "scroll-margin-inline",
693
+ "scroll-margin-inline-end",
694
+ "scroll-margin-inline-start",
695
+ "scroll-margin-left",
696
+ "scroll-margin-right",
697
+ "scroll-margin-top",
698
+ "scroll-padding",
699
+ "scroll-padding-block",
700
+ "scroll-padding-block-end",
701
+ "scroll-padding-block-start",
702
+ "scroll-padding-bottom",
703
+ "scroll-padding-inline",
704
+ "scroll-padding-inline-end",
705
+ "scroll-padding-inline-start",
706
+ "scroll-padding-left",
707
+ "scroll-padding-right",
708
+ "scroll-padding-top",
709
+ "scroll-snap-align",
710
+ "scroll-snap-stop",
711
+ "scroll-snap-type",
712
+ "scroll-timeline",
713
+ "scroll-timeline-axis",
714
+ "scroll-timeline-name",
715
+ "scrollbar-color",
716
+ "scrollbar-gutter",
717
+ "scrollbar-width",
718
+ "shape-image-threshold",
719
+ "shape-margin",
720
+ "shape-outside",
721
+ "shape-rendering",
722
+ "speak",
723
+ "speak-as",
724
+ "src",
725
+ // @font-face
726
+ "stop-color",
727
+ "stop-opacity",
728
+ "stroke",
729
+ "stroke-dasharray",
730
+ "stroke-dashoffset",
731
+ "stroke-linecap",
732
+ "stroke-linejoin",
733
+ "stroke-miterlimit",
734
+ "stroke-opacity",
735
+ "stroke-width",
736
+ "tab-size",
737
+ "table-layout",
738
+ "text-align",
739
+ "text-align-all",
740
+ "text-align-last",
741
+ "text-anchor",
742
+ "text-combine-upright",
743
+ "text-decoration",
744
+ "text-decoration-color",
745
+ "text-decoration-line",
746
+ "text-decoration-skip",
747
+ "text-decoration-skip-ink",
748
+ "text-decoration-style",
749
+ "text-decoration-thickness",
750
+ "text-emphasis",
751
+ "text-emphasis-color",
752
+ "text-emphasis-position",
753
+ "text-emphasis-style",
754
+ "text-indent",
755
+ "text-justify",
756
+ "text-orientation",
757
+ "text-overflow",
758
+ "text-rendering",
759
+ "text-shadow",
760
+ "text-size-adjust",
761
+ "text-transform",
762
+ "text-underline-offset",
763
+ "text-underline-position",
764
+ "text-wrap",
765
+ "text-wrap-mode",
766
+ "text-wrap-style",
767
+ "timeline-scope",
768
+ "top",
769
+ "touch-action",
770
+ "transform",
771
+ "transform-box",
772
+ "transform-origin",
773
+ "transform-style",
774
+ "transition",
775
+ "transition-behavior",
776
+ "transition-delay",
777
+ "transition-duration",
778
+ "transition-property",
779
+ "transition-timing-function",
780
+ "translate",
781
+ "unicode-bidi",
782
+ "user-modify",
783
+ "user-select",
784
+ "vector-effect",
785
+ "vertical-align",
786
+ "view-timeline",
787
+ "view-timeline-axis",
788
+ "view-timeline-inset",
789
+ "view-timeline-name",
790
+ "view-transition-name",
791
+ "visibility",
792
+ "voice-balance",
793
+ "voice-duration",
794
+ "voice-family",
795
+ "voice-pitch",
796
+ "voice-range",
797
+ "voice-rate",
798
+ "voice-stress",
799
+ "voice-volume",
800
+ "white-space",
801
+ "white-space-collapse",
802
+ "widows",
803
+ "width",
804
+ "will-change",
805
+ "word-break",
806
+ "word-spacing",
807
+ "word-wrap",
808
+ "writing-mode",
809
+ "x",
810
+ "y",
811
+ "z-index",
812
+ "zoom"
813
+ ].sort().reverse();
814
+ function scss(hljs) {
815
+ const modes = MODES(hljs);
816
+ const PSEUDO_ELEMENTS$1 = PSEUDO_ELEMENTS;
817
+ const PSEUDO_CLASSES$1 = PSEUDO_CLASSES;
818
+ const AT_IDENTIFIER = "@[a-z-]+";
819
+ const AT_MODIFIERS = "and or not only";
820
+ const IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*";
821
+ const VARIABLE = {
822
+ className: "variable",
823
+ begin: "(\\$" + IDENT_RE + ")\\b",
824
+ relevance: 0
825
+ };
826
+ return {
827
+ name: "SCSS",
828
+ case_insensitive: true,
829
+ illegal: "[=/|']",
830
+ contains: [
831
+ hljs.C_LINE_COMMENT_MODE,
832
+ hljs.C_BLOCK_COMMENT_MODE,
833
+ // to recognize keyframe 40% etc which are outside the scope of our
834
+ // attribute value mode
835
+ modes.CSS_NUMBER_MODE,
836
+ {
837
+ className: "selector-id",
838
+ begin: "#[A-Za-z0-9_-]+",
839
+ relevance: 0
840
+ },
841
+ {
842
+ className: "selector-class",
843
+ begin: "\\.[A-Za-z0-9_-]+",
844
+ relevance: 0
845
+ },
846
+ modes.ATTRIBUTE_SELECTOR_MODE,
847
+ {
848
+ className: "selector-tag",
849
+ begin: "\\b(" + TAGS.join("|") + ")\\b",
850
+ // was there, before, but why?
851
+ relevance: 0
852
+ },
853
+ {
854
+ className: "selector-pseudo",
855
+ begin: ":(" + PSEUDO_CLASSES$1.join("|") + ")"
856
+ },
857
+ {
858
+ className: "selector-pseudo",
859
+ begin: ":(:)?(" + PSEUDO_ELEMENTS$1.join("|") + ")"
860
+ },
861
+ VARIABLE,
862
+ {
863
+ // pseudo-selector params
864
+ begin: /\(/,
865
+ end: /\)/,
866
+ contains: [modes.CSS_NUMBER_MODE]
867
+ },
868
+ modes.CSS_VARIABLE,
869
+ {
870
+ className: "attribute",
871
+ begin: "\\b(" + ATTRIBUTES.join("|") + ")\\b"
872
+ },
873
+ { begin: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" },
874
+ {
875
+ begin: /:/,
876
+ end: /[;}{]/,
877
+ relevance: 0,
878
+ contains: [
879
+ modes.BLOCK_COMMENT,
880
+ VARIABLE,
881
+ modes.HEXCOLOR,
882
+ modes.CSS_NUMBER_MODE,
883
+ hljs.QUOTE_STRING_MODE,
884
+ hljs.APOS_STRING_MODE,
885
+ modes.IMPORTANT,
886
+ modes.FUNCTION_DISPATCH
887
+ ]
888
+ },
889
+ // matching these here allows us to treat them more like regular CSS
890
+ // rules so everything between the {} gets regular rule highlighting,
891
+ // which is what we want for page and font-face
892
+ {
893
+ begin: "@(page|font-face)",
894
+ keywords: {
895
+ $pattern: AT_IDENTIFIER,
896
+ keyword: "@page @font-face"
897
+ }
898
+ },
899
+ {
900
+ begin: "@",
901
+ end: "[{;]",
902
+ returnBegin: true,
903
+ keywords: {
904
+ $pattern: /[a-z-]+/,
905
+ keyword: AT_MODIFIERS,
906
+ attribute: MEDIA_FEATURES.join(" ")
907
+ },
908
+ contains: [
909
+ {
910
+ begin: AT_IDENTIFIER,
911
+ className: "keyword"
912
+ },
913
+ {
914
+ begin: /[a-z-]+(?=:)/,
915
+ className: "attribute"
916
+ },
917
+ VARIABLE,
918
+ hljs.QUOTE_STRING_MODE,
919
+ hljs.APOS_STRING_MODE,
920
+ modes.HEXCOLOR,
921
+ modes.CSS_NUMBER_MODE
922
+ ]
923
+ },
924
+ modes.FUNCTION_DISPATCH
925
+ ]
926
+ };
927
+ }
928
+ __name(scss, "scss");
929
+ scss_1 = scss;
930
+ return scss_1;
931
+ }
932
+ __name(requireScss, "requireScss");
933
+ export {
934
+ requireScss as __require
935
+ };