@orangelogic/design-system 4.37.0 → 4.38.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.
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
15
15
  import { t as ie } from "./icon.CeQpEaQz.js";
16
16
  import { t as ae } from "./spinner.o3Rjsff7.js";
17
17
  import { n as oe } from "./tslib.es6.DJNsMHqv.js";
18
- import { t as se } from "./src.BTxthfsd.js";
18
+ import { t as se } from "./src.BBVUYHbX.js";
19
19
  import { t as ce } from "./style-map.DPGQIxip.js";
20
20
  import { t as b } from "./button.BlhGCsjP.js";
21
21
  import { E as x, S as le, r as ue } from "./string.DAuTpyw8.js";
@@ -80,7 +80,7 @@ import { t as Ft } from "./shadow-input-group.k4MBg4Pf.js";
80
80
  import { t as It } from "./size-input-group.CR0wHbEO.js";
81
81
  import { C as Lt, S as Rt, T as zt, _ as Bt, b as Vt, c as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, n as Jt, o as Yt, p as Xt, r as Zt, s as P, t as Qt, u as $t, v as en, w as tn, x as nn, y as rn } from "./asset-link-format.vbmd2KkO.js";
82
82
  import { c as an, d as on, f as sn, n as cn, u as ln } from "./color-swatch-group.BF_AFUh6.js";
83
- import { $ as un, E as dn, G as fn, H as pn, K as mn, L as hn, M as F, Q as I, S as gn, U as _n, V as vn, W as yn, Z as bn, et as L, g as xn, h as Sn, tt as Cn, y as wn } from "./configs-controller.saCTvDW1.js";
83
+ import { $ as un, E as dn, G as fn, H as pn, K as mn, L as hn, M as F, Q as I, S as gn, U as _n, V as vn, W as yn, Z as bn, et as L, g as xn, h as Sn, tt as Cn, y as wn } from "./configs-controller.DSc6DiFO.js";
84
84
  import { a as Tn } from "./cloneDeep.C6x5LNv3.js";
85
85
  //#region ../../packages/types/src/icon-picker.ts
86
86
  var En = /* @__PURE__ */ function(e) {
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
14
14
  import { t as x } from "./button.BlhGCsjP.js";
15
15
  import { t as ee } from "./tooltip.GjnTzFeL.js";
16
16
  import { t as te } from "./line-clamp.CgiUerew.js";
17
- import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.DeMzy9kI.js";
17
+ import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.Bpxcj778.js";
18
18
  import { t as O } from "./typography.B0mkhqTB.js";
19
19
  import { t as k } from "./button-group.CPfXrqyq.js";
20
20
  import { t as A } from "./card.3c-X4hqR.js";
@@ -63,7 +63,7 @@ import { T as K } from "./asset-link-format.vbmd2KkO.js";
63
63
  import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
64
64
  import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
65
65
  import { i as tt } from "./_baseClone.CnI5Vpqn.js";
66
- import { E as nt, l as J, s as rt, t as it } from "./configs-controller.saCTvDW1.js";
66
+ import { E as nt, l as J, s as rt, t as it } from "./configs-controller.DSc6DiFO.js";
67
67
  import { t as at } from "./isEmpty.D3QQduJ5.js";
68
68
  import { i as ot } from "./cloneDeep.C6x5LNv3.js";
69
69
  //#region ../../node_modules/lodash-es/difference.js
@@ -13,7 +13,7 @@ import { a as se, i as ce, n as le, r as ue } from "./document-viewer.CdA65_RB.j
13
13
  import { l as de, p as fe } from "./url.BCc06dE7.js";
14
14
  import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
15
15
  import { g as _e, m as b, p as ve, s as x } from "./responsive.L9Csz2w2.js";
16
- import { n as ye, r as be } from "./header.CU8r46mR.js";
16
+ import { n as ye, r as be } from "./header.BDEqW3TI.js";
17
17
  import { d as xe, f as S, l as C, o as w, s as Se } from "./endpoints.jOHOmF_t.js";
18
18
  import { n as Ce } from "./folder-select.CQllI-Id.js";
19
19
  import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.BF_AFUh6.js";
@@ -99,6 +99,22 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
99
99
  }
100
100
 
101
101
  .ProseMirror .code-block-wrapper {
102
+ /* The Prism palette below is VS Dark, made for a dark block. This block follows the theme
103
+ tokens, so its syntax colours do too (not color-scheme: Cortex popups pin it to light).
104
+ Elsewhere the dark fallbacks still apply. */
105
+ --_code-text: currentColor;
106
+ --_code-keyword: var(--cx-color-primary-700);
107
+ --_code-control: var(--cx-color-primary-800);
108
+ --_code-variable: var(--cx-color-primary-900);
109
+ --_code-class: var(--cx-color-primary-600);
110
+ --_code-comment: var(--cx-color-success-700);
111
+ --_code-number: var(--cx-color-success-800);
112
+ --_code-string: var(--cx-color-danger-800);
113
+ --_code-regex: var(--cx-color-danger-700);
114
+ --_code-selector: var(--cx-color-danger-900);
115
+ --_code-function: var(--cx-color-warning-700);
116
+ --_code-muted: var(--cx-color-neutral-600);
117
+
102
118
  background-color: var(--cx-color-neutral-50);
103
119
  border-radius: var(--cx-border-radius-medium);
104
120
  color: var(--cx-color-neutral-700);
@@ -293,7 +309,7 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
293
309
 
294
310
  pre[class*='language-'],
295
311
  code[class*='language-'] {
296
- color: #d4d4d4;
312
+ color: var(--_code-text, #d4d4d4);
297
313
  font-size: var(--cx-font-size-x-small);
298
314
  text-shadow: none;
299
315
  font-family:
@@ -346,22 +362,22 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
346
362
  }
347
363
 
348
364
  .token.doctype .token.doctype-tag {
349
- color: #569cd6;
365
+ color: var(--_code-keyword, #569cd6);
350
366
  }
351
367
 
352
368
  .token.doctype .token.name {
353
- color: #9cdcfe;
369
+ color: var(--_code-variable, #9cdcfe);
354
370
  }
355
371
 
356
372
  .token.comment,
357
373
  .token.prolog {
358
- color: #6a9955;
374
+ color: var(--_code-comment, #6a9955);
359
375
  }
360
376
 
361
377
  .token.punctuation,
362
378
  .language-html .language-css .token.punctuation,
363
379
  .language-html .language-javascript .token.punctuation {
364
- color: #d4d4d4;
380
+ color: var(--_code-text, #d4d4d4);
365
381
  }
366
382
 
367
383
  .token.property,
@@ -372,7 +388,7 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
372
388
  .token.symbol,
373
389
  .token.deleted,
374
390
  .token.unit {
375
- color: #b5cea8;
391
+ color: var(--_code-number, #b5cea8);
376
392
  }
377
393
 
378
394
  .token.selector,
@@ -381,7 +397,7 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
381
397
  .token.char,
382
398
  .token.builtin,
383
399
  .token.inserted {
384
- color: #ce9178;
400
+ color: var(--_code-string, #ce9178);
385
401
  }
386
402
 
387
403
  .language-css .token.string.url {
@@ -390,53 +406,53 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
390
406
 
391
407
  .token.operator,
392
408
  .token.entity {
393
- color: #d4d4d4;
409
+ color: var(--_code-text, #d4d4d4);
394
410
  }
395
411
 
396
412
  .token.operator.arrow {
397
- color: #569cd6;
413
+ color: var(--_code-keyword, #569cd6);
398
414
  }
399
415
 
400
416
  .token.atrule {
401
- color: #ce9178;
417
+ color: var(--_code-string, #ce9178);
402
418
  }
403
419
 
404
420
  .token.atrule .token.rule {
405
- color: #c586c0;
421
+ color: var(--_code-control, #c586c0);
406
422
  }
407
423
 
408
424
  .token.atrule .token.url {
409
- color: #9cdcfe;
425
+ color: var(--_code-variable, #9cdcfe);
410
426
  }
411
427
 
412
428
  .token.atrule .token.url .token.function {
413
- color: #dcdcaa;
429
+ color: var(--_code-function, #dcdcaa);
414
430
  }
415
431
 
416
432
  .token.atrule .token.url .token.punctuation {
417
- color: #d4d4d4;
433
+ color: var(--_code-text, #d4d4d4);
418
434
  }
419
435
 
420
436
  .token.keyword {
421
- color: #569cd6;
437
+ color: var(--_code-keyword, #569cd6);
422
438
  }
423
439
 
424
440
  .token.keyword.module,
425
441
  .token.keyword.control-flow {
426
- color: #c586c0;
442
+ color: var(--_code-control, #c586c0);
427
443
  }
428
444
 
429
445
  .token.function,
430
446
  .token.function .token.maybe-class-name {
431
- color: #dcdcaa;
447
+ color: var(--_code-function, #dcdcaa);
432
448
  }
433
449
 
434
450
  .token.regex {
435
- color: #d16969;
451
+ color: var(--_code-regex, #d16969);
436
452
  }
437
453
 
438
454
  .token.important {
439
- color: #569cd6;
455
+ color: var(--_code-keyword, #569cd6);
440
456
  }
441
457
 
442
458
  .token.italic {
@@ -444,80 +460,80 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
444
460
  }
445
461
 
446
462
  .token.constant {
447
- color: #9cdcfe;
463
+ color: var(--_code-variable, #9cdcfe);
448
464
  }
449
465
 
450
466
  .token.class-name,
451
467
  .token.maybe-class-name {
452
- color: #4ec9b0;
468
+ color: var(--_code-class, #4ec9b0);
453
469
  }
454
470
 
455
471
  .token.console {
456
- color: #9cdcfe;
472
+ color: var(--_code-variable, #9cdcfe);
457
473
  }
458
474
 
459
475
  .token.parameter {
460
- color: #9cdcfe;
476
+ color: var(--_code-variable, #9cdcfe);
461
477
  }
462
478
 
463
479
  .token.interpolation {
464
- color: #9cdcfe;
480
+ color: var(--_code-variable, #9cdcfe);
465
481
  }
466
482
 
467
483
  .token.punctuation.interpolation-punctuation {
468
- color: #569cd6;
484
+ color: var(--_code-keyword, #569cd6);
469
485
  }
470
486
 
471
487
  .token.boolean {
472
- color: #569cd6;
488
+ color: var(--_code-keyword, #569cd6);
473
489
  }
474
490
 
475
491
  .token.property,
476
492
  .token.variable,
477
493
  .token.imports .token.maybe-class-name,
478
494
  .token.exports .token.maybe-class-name {
479
- color: #9cdcfe;
495
+ color: var(--_code-variable, #9cdcfe);
480
496
  }
481
497
 
482
498
  .token.selector {
483
- color: #d7ba7d;
499
+ color: var(--_code-selector, #d7ba7d);
484
500
  }
485
501
 
486
502
  .token.escape {
487
- color: #d7ba7d;
503
+ color: var(--_code-selector, #d7ba7d);
488
504
  }
489
505
 
490
506
  .token.tag {
491
- color: #569cd6;
507
+ color: var(--_code-keyword, #569cd6);
492
508
  }
493
509
 
494
510
  .token.tag .token.punctuation {
495
- color: #808080;
511
+ color: var(--_code-muted, #808080);
496
512
  }
497
513
 
498
514
  .token.cdata {
499
- color: #808080;
515
+ color: var(--_code-muted, #808080);
500
516
  }
501
517
 
502
518
  .token.attr-name {
503
- color: #9cdcfe;
519
+ color: var(--_code-variable, #9cdcfe);
504
520
  }
505
521
 
506
522
  .token.attr-value,
507
523
  .token.attr-value .token.punctuation {
508
- color: #ce9178;
524
+ color: var(--_code-string, #ce9178);
509
525
  }
510
526
 
511
527
  .token.attr-value .token.punctuation.attr-equals {
512
- color: #d4d4d4;
528
+ color: var(--_code-text, #d4d4d4);
513
529
  }
514
530
 
515
531
  .token.entity {
516
- color: #569cd6;
532
+ color: var(--_code-keyword, #569cd6);
517
533
  }
518
534
 
519
535
  .token.namespace {
520
- color: #4ec9b0;
536
+ color: var(--_code-class, #4ec9b0);
521
537
  }
522
538
 
523
539
  /*********************************************************
@@ -532,25 +548,25 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
532
548
  code[class*='language-typescript'],
533
549
  pre[class*='language-tsx'],
534
550
  code[class*='language-tsx'] {
535
- color: #9cdcfe;
551
+ color: var(--_code-variable, #9cdcfe);
536
552
  }
537
553
 
538
554
  pre[class*='language-css'],
539
555
  code[class*='language-css'] {
540
- color: #ce9178;
556
+ color: var(--_code-string, #ce9178);
541
557
  }
542
558
 
543
559
  pre[class*='language-html'],
544
560
  code[class*='language-html'] {
545
- color: #d4d4d4;
561
+ color: var(--_code-text, #d4d4d4);
546
562
  }
547
563
 
548
564
  .language-regex .token.anchor {
549
- color: #dcdcaa;
565
+ color: var(--_code-function, #dcdcaa);
550
566
  }
551
567
 
552
568
  .language-html .token.punctuation {
553
- color: #808080;
569
+ color: var(--_code-muted, #808080);
554
570
  }
555
571
 
556
572
  /*********************************************************
@@ -57,7 +57,7 @@ import "../components/format-number.js";
57
57
  import "./format-time.DZCXUWmw.js";
58
58
  import "./grid.CK4PRwur.js";
59
59
  import "./grid-item.CSieaU5T.js";
60
- import "./header.CU8r46mR.js";
60
+ import "./header.BDEqW3TI.js";
61
61
  import "./hub-connection.C0CASy-Q.js";
62
62
  import "./iframe.DsOaw03m.js";
63
63
  import "./image-comparer.FB0ZzA0d.js";
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.D8Gwfkvy.js";
8
8
  import { t as l } from "../chunks/am-chart.COOKOvT1.js";
9
9
  import { t as u } from "../chunks/animated-image.w6VdagCh.js";
10
10
  import { t as d } from "../chunks/animation.CRLxJUWm.js";
11
- import { n as f, r as p, t as m } from "../chunks/src.BTxthfsd.js";
11
+ import { n as f, r as p, t as m } from "../chunks/src.BBVUYHbX.js";
12
12
  import { t as h } from "../chunks/button.BlhGCsjP.js";
13
13
  import { t as g } from "../chunks/tooltip.GjnTzFeL.js";
14
14
  import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
@@ -59,7 +59,7 @@ import se from "./format-number.js";
59
59
  import { t as ce } from "../chunks/format-time.DZCXUWmw.js";
60
60
  import { t as le } from "../chunks/grid.CK4PRwur.js";
61
61
  import { t as ue } from "../chunks/grid-item.CSieaU5T.js";
62
- import { t as de } from "../chunks/header.CU8r46mR.js";
62
+ import { t as de } from "../chunks/header.BDEqW3TI.js";
63
63
  import { t as fe } from "../chunks/hub-connection.C0CASy-Q.js";
64
64
  import { t as pe } from "../chunks/iframe.DsOaw03m.js";
65
65
  import { t as me } from "../chunks/image-comparer.FB0ZzA0d.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/header.CU8r46mR.js";
1
+ import { t as e } from "../chunks/header.BDEqW3TI.js";
2
2
  export { e as default };