@orangelogic/design-system 2.138.0 → 2.140.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 (113) hide show
  1. package/library/chunks/{asset-link-format.Cj3Jb2A9.js → asset-link-format.CoMUMoyK.js} +546 -491
  2. package/library/chunks/{button.C8bgBiYj.js → button.J4LDuhyW.js} +1 -1
  3. package/library/chunks/{color-swatch-group.CtRKXJDT.js → color-swatch-group.DedQQk4J.js} +203 -166
  4. package/library/chunks/{color-swatch.BPKlNXIX.js → color-swatch.DimFgBSf.js} +1 -1
  5. package/library/chunks/{confirm-popover.CgXY2_uO.js → confirm-popover.DV5q0KyE.js} +3 -3
  6. package/library/chunks/{dialog.Bs7RQgSa.js → dialog.C79Kd2S4.js} +2 -2
  7. package/library/chunks/{document-viewer.Bs3U0_wd.js → document-viewer.NA5cS7qW.js} +3912 -3812
  8. package/library/chunks/{dot-pagination.t0VzNnjC.js → dot-pagination.CoG0XmAq.js} +1 -1
  9. package/library/chunks/{file-on-demand.BWrBwTOn.js → file-on-demand.C3ib6J00.js} +9 -9
  10. package/library/chunks/focus-when-visible.jWSw9ks0.js +21 -0
  11. package/library/chunks/{folder-select.CItC06TB.js → folder-select.BQXuKb-8.js} +4 -4
  12. package/library/chunks/{header.D_TqvPdB.js → header.zCbb-t6m.js} +1 -1
  13. package/library/chunks/{i18n.BlLEIqQ0.js → i18n.DeUAP8n2.js} +1 -0
  14. package/library/chunks/{icon-button.D5sM02Cd.js → icon-button.LhIEmHNF.js} +1 -1
  15. package/library/chunks/{iframe.D3PpeqXx.js → iframe.c0IPEUiJ.js} +1 -1
  16. package/library/chunks/{image.qP6cTWCN.js → image.u2nQNoZ8.js} +1 -1
  17. package/library/chunks/{input.B8CV80Da.js → input.DID1aXiO.js} +1 -1
  18. package/library/chunks/{option.D9SqVdjL.js → option.n6PDuSs1.js} +1 -1
  19. package/library/chunks/{pagination.DAI32_PA.js → pagination.BNU2UmTy.js} +5 -5
  20. package/library/chunks/{tab-group.e83Yy-jY.js → tab-group.5O3lqvyG.js} +3 -3
  21. package/library/chunks/{tree.D7eyb405.js → tree.CbwFiRJI.js} +1 -1
  22. package/library/components/alert.js +2 -2
  23. package/library/components/asset-link-format.js +3 -3
  24. package/library/components/atoms.js +13 -13
  25. package/library/components/audio.js +23 -20
  26. package/library/components/border-input-group.js +2 -2
  27. package/library/components/breadcrumb.js +1 -1
  28. package/library/components/button.js +2 -2
  29. package/library/components/color-picker.js +4 -4
  30. package/library/components/color-swatch-group.js +3 -3
  31. package/library/components/color-swatch.js +2 -2
  32. package/library/components/confirm-popover.js +4 -4
  33. package/library/components/copy-button.js +1 -1
  34. package/library/components/corner-position-input-group.js +3 -3
  35. package/library/components/date-calendar.js +1 -1
  36. package/library/components/details.js +1 -1
  37. package/library/components/dialog.js +3 -3
  38. package/library/components/document-viewer.js +3 -3
  39. package/library/components/dot-pagination.js +2 -2
  40. package/library/components/drawer.js +2 -2
  41. package/library/components/dropdown.js +33 -32
  42. package/library/components/dynamic-select.js +4 -4
  43. package/library/components/e-chart.js +1 -1
  44. package/library/components/element-clamp.js +2 -2
  45. package/library/components/file-on-demand.js +10 -10
  46. package/library/components/folder-select.js +4 -4
  47. package/library/components/format-bytes.js +1 -1
  48. package/library/components/format-date.js +1 -1
  49. package/library/components/format-number.js +1 -1
  50. package/library/components/format-time.js +1 -1
  51. package/library/components/header.js +2 -2
  52. package/library/components/icon-button.js +2 -2
  53. package/library/components/iframe.js +2 -2
  54. package/library/components/image-comparer.js +1 -1
  55. package/library/components/image.js +2 -2
  56. package/library/components/input.js +2 -2
  57. package/library/components/line-clamp.js +1 -1
  58. package/library/components/masonry.js +2 -2
  59. package/library/components/menu-item.js +202 -150
  60. package/library/components/menu.js +1 -1
  61. package/library/components/molecules.js +3 -3
  62. package/library/components/option.js +2 -2
  63. package/library/components/organisms.js +3 -3
  64. package/library/components/padding-input-group.js +1 -1
  65. package/library/components/pagination.js +6 -6
  66. package/library/components/popup.js +1 -1
  67. package/library/components/position-picker.js +1 -1
  68. package/library/components/progress-bar.js +1 -1
  69. package/library/components/progress-ring.js +1 -1
  70. package/library/components/range.js +1 -1
  71. package/library/components/rating.js +1 -1
  72. package/library/components/relative-time.js +1 -1
  73. package/library/components/select.js +2 -2
  74. package/library/components/shadow-input-group.js +1 -1
  75. package/library/components/share-option-list.js +1 -1
  76. package/library/components/sidebar.js +1 -1
  77. package/library/components/size-input-group.js +3 -3
  78. package/library/components/spinner.js +1 -1
  79. package/library/components/split-panel.js +1 -1
  80. package/library/components/tab-group.js +4 -4
  81. package/library/components/tab.js +2 -2
  82. package/library/components/tag.js +2 -2
  83. package/library/components/tooltip.js +1 -1
  84. package/library/components/tree-item.js +2 -2
  85. package/library/components/tree.js +2 -2
  86. package/library/components/typeface.js +2 -2
  87. package/library/components/types.js +16830 -16924
  88. package/library/components/video.js +2 -2
  89. package/library/package.json +1 -1
  90. package/library/packages/atoms/src/components/audio/audio.d.ts +5 -0
  91. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -1
  92. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
  93. package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +28 -0
  94. package/library/packages/hybrid/book-reader/src/react/constant.d.ts +1 -0
  95. package/library/packages/hybrid/book-reader/src/react/hooks/useDrawer.d.ts +1 -1
  96. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +1 -0
  97. package/library/packages/hybrid/table-core/src/table/table.d.ts +16 -0
  98. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/Validate.d.ts +10 -0
  99. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
  100. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +0 -4
  101. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +0 -4
  102. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +0 -4
  103. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +5 -2
  104. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +8 -0
  105. package/library/packages/types/src/table.d.ts +8 -0
  106. package/library/packages/utils/src/custom-element/focus-when-visible.d.ts +14 -0
  107. package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
  108. package/library/packages/utils/src/index.d.ts +1 -0
  109. package/library/react-web-component.d.ts +7 -3
  110. package/library/utils.js +133 -131
  111. package/package.json +1 -1
  112. package/library/packages/organisms/src/_v1/comment-v1/extensions/time.d.ts +0 -63
  113. /package/library/packages/organisms/src/{annotator-comment → comment}/extensions/time.d.ts +0 -0
package/library/utils.js CHANGED
@@ -1,38 +1,39 @@
1
1
  import { b as V } from "./chunks/url.-WDYqplj.js";
2
- import { R as Tt, U as wt, e as Ct, d as yt, a as Mt, c as xt, i as St, t as Et } from "./chunks/url.-WDYqplj.js";
2
+ import { R as Tt, U as wt, e as Ct, d as xt, a as yt, c as Mt, i as St, t as Et } from "./chunks/url.-WDYqplj.js";
3
3
  import { j as It, f as Lt, a as Ft, b as Rt, g as bt, e as vt, i as kt, c as Vt, h as Ot, m as Yt, d as Ut, r as Nt, t as Pt } from "./chunks/toast.Bz-j7zP2.js";
4
- import { e as Ht, a as Xt, f as Bt, g as Wt, d as Gt, b as $t, c as zt, i as qt, p as Qt, s as Zt } from "./chunks/browser.BHOCIF_A.js";
4
+ import { e as Ht, a as Xt, f as Wt, g as Bt, d as Gt, b as $t, c as zt, i as qt, p as Qt, s as Zt } from "./chunks/browser.BHOCIF_A.js";
5
5
  import { d as Jt, C as Kt, e as te, H as ee, R as re, c as ae, h as se, f as oe, g as ne, l as ie, a as le, p as ce, b as ue } from "./chunks/color.LzSGBy7o.js";
6
6
  import { a as fe, b as he, g as ge } from "./chunks/modal.U1QltQKe.js";
7
- import { a as pe, p as De, c as Te, b as we, s as Ce, w as ye } from "./chunks/event.BeKOsirN.js";
8
- import { t as xe } from "./chunks/converters.DkDtLstb.js";
7
+ import { a as pe, p as De, c as Te, b as we, s as Ce, w as xe } from "./chunks/event.BeKOsirN.js";
8
+ import { t as Me } from "./chunks/converters.DkDtLstb.js";
9
9
  import { c as Ee } from "./chunks/custom-element.L4WJXn1j.js";
10
10
  import { d as Ie } from "./chunks/debounce.DaHuiSGU.js";
11
11
  import { d as Fe } from "./chunks/default-value.COZopaet.js";
12
12
  import { d as be } from "./chunks/drag.DXEXVXPv.js";
13
+ import { f as ke } from "./chunks/focus-when-visible.jWSw9ks0.js";
13
14
  import { f as O } from "./chunks/form.K1XOtu3S.js";
14
- import { F as ke, c as Ve, g as Oe, v as Ye, a as Ue } from "./chunks/form.K1XOtu3S.js";
15
- import { L as Pe, r as _e } from "./chunks/i18n.BlLEIqQ0.js";
16
- import { c as Xe, q as Be } from "./chunks/math.DuKzLacZ.js";
17
- import { g as Ge, l as $e, s as ze, u as qe } from "./chunks/scroll.xtO5yojm.js";
18
- import { j as x } from "./chunks/dom.acWb8KCK.js";
19
- import { c as Ze, d as je, k as Je, a as Ke, g as tr, h as er, b as rr, f as ar, i as sr, e as or, l as nr, s as ir } from "./chunks/dom.acWb8KCK.js";
20
- import { H as cr, a as ur, g as mr } from "./chunks/slot.j5oheLJC.js";
21
- import { g as hr, a as gr } from "./chunks/tabbable.CcMz3mIL.js";
22
- import { i as pr } from "./chunks/user-agent.D9aPuOyL.js";
23
- import { w as Tr } from "./chunks/watch.CThbualB.js";
24
- import { C as Cr } from "./chunks/calendar-grid.CvdcwfTo.js";
25
- import { b as Mr, e as xr, f as Sr, g as Er, a as Ar, i as Ir, d as Lr, c as Fr, n as Rr, p as br, t as vr } from "./chunks/date.dSYNLBVO.js";
15
+ import { F as Oe, c as Ye, g as Ue, v as Ne, a as Pe } from "./chunks/form.K1XOtu3S.js";
16
+ import { L as He, r as Xe } from "./chunks/i18n.DeUAP8n2.js";
17
+ import { c as Be, q as Ge } from "./chunks/math.DuKzLacZ.js";
18
+ import { g as ze, l as qe, s as Qe, u as Ze } from "./chunks/scroll.xtO5yojm.js";
19
+ import { j as M } from "./chunks/dom.acWb8KCK.js";
20
+ import { c as Je, d as Ke, k as tr, a as er, g as rr, h as ar, b as sr, f as or, i as nr, e as ir, l as lr, s as cr } from "./chunks/dom.acWb8KCK.js";
21
+ import { H as mr, a as fr, g as hr } from "./chunks/slot.j5oheLJC.js";
22
+ import { g as dr, a as pr } from "./chunks/tabbable.CcMz3mIL.js";
23
+ import { i as Tr } from "./chunks/user-agent.D9aPuOyL.js";
24
+ import { w as Cr } from "./chunks/watch.CThbualB.js";
25
+ import { C as yr } from "./chunks/calendar-grid.CvdcwfTo.js";
26
+ import { b as Sr, e as Er, f as Ar, g as Ir, a as Lr, i as Fr, d as Rr, c as br, n as vr, p as kr, t as Vr } from "./chunks/date.dSYNLBVO.js";
26
27
  import { e as c, a as u, D as m } from "./chunks/date-picker.DTUICGb9.js";
27
- import { f as Vr } from "./chunks/content-builder.BGzxZUgi.js";
28
- import { c as Yr, f as Ur, e as Nr, b as Pr, g as _r, d as Hr, i as Xr, r as Br, a as Wr } from "./chunks/image.BzmclWBR.js";
29
- import { b as $r, e as zr } from "./chunks/waveform.1U9U_0rd.js";
30
- import { a as Qr, b as Zr, c as jr, e as Jr, d as Kr, f as ta, g as ea, r as ra, s as aa } from "./chunks/number.B4PQLJIg.js";
31
- import { s as oa } from "./chunks/parse.Cu5nBDTb.js";
32
- import { b as ia, d as la, e as ca, f as ua, l as ma, g as fa, k as ha, p as ga, v as da, r as pa, a as Da, c as Ta, s as wa, q as Ca, n as ya, t as Ma, m as xa, o as Sa, h as Ea, u as Aa } from "./chunks/string.CjJ09HK3.js";
33
- import { g as La, a as Fa } from "./chunks/template.ClovJacp.js";
34
- import { c as ba, f as va, a as ka, g as Va } from "./chunks/time.BSmpFe2G.js";
35
- import { b as Ya } from "./chunks/transformation.c-RS37zA.js";
28
+ import { f as Yr } from "./chunks/content-builder.BGzxZUgi.js";
29
+ import { c as Nr, f as Pr, e as _r, b as Hr, g as Xr, d as Wr, i as Br, r as Gr, a as $r } from "./chunks/image.BzmclWBR.js";
30
+ import { b as qr, e as Qr } from "./chunks/waveform.1U9U_0rd.js";
31
+ import { a as jr, b as Jr, c as Kr, e as ta, d as ea, f as ra, g as aa, r as sa, s as oa } from "./chunks/number.B4PQLJIg.js";
32
+ import { s as ia } from "./chunks/parse.Cu5nBDTb.js";
33
+ import { b as ca, d as ua, e as ma, f as fa, l as ha, g as ga, k as da, p as pa, v as Da, r as Ta, a as wa, c as Ca, s as xa, q as ya, n as Ma, t as Sa, m as Ea, o as Aa, h as Ia, u as La } from "./chunks/string.CjJ09HK3.js";
34
+ import { g as Ra, a as ba } from "./chunks/template.ClovJacp.js";
35
+ import { c as ka, f as Va, a as Oa, g as Ya } from "./chunks/time.BSmpFe2G.js";
36
+ import { b as Na } from "./chunks/transformation.c-RS37zA.js";
36
37
  function n(t) {
37
38
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
38
39
  return `${e}-${r}-${s}`;
@@ -288,14 +289,14 @@ function J(t, e) {
288
289
  }
289
290
  class K {
290
291
  constructor(e) {
291
- this.currentZIndex = x(), (this.host = e).addController(this);
292
+ this.currentZIndex = M(), (this.host = e).addController(this);
292
293
  }
293
294
  hostConnected() {
294
295
  }
295
296
  hostDisconnected() {
296
297
  }
297
298
  async activatePopup() {
298
- this.currentZIndex = x();
299
+ this.currentZIndex = M();
299
300
  }
300
301
  }
301
302
  class tt {
@@ -522,8 +523,8 @@ async function* gt({
522
523
  const T = g * i + d, D = T * s;
523
524
  if (D >= r)
524
525
  continue;
525
- const w = d * p, C = g * l, y = _(t[a] ?? [], d, g), M = d === i - 1 && g === f - 1 || D + s >= r;
526
- y ? yield { ...y, isLastFrame: M } : (await H(o, D, s), k.drawImage(
526
+ const w = d * p, C = g * l, x = _(t[a] ?? [], d, g), y = d === i - 1 && g === f - 1 || D + s >= r;
527
+ x ? yield { ...x, isLastFrame: y } : (await H(o, D, s), k.drawImage(
527
528
  o,
528
529
  w,
529
530
  C,
@@ -535,7 +536,7 @@ async function* gt({
535
536
  frameHeight: l,
536
537
  frameWidth: p,
537
538
  index: T,
538
- isLastFrame: M,
539
+ isLastFrame: y,
539
540
  row: g,
540
541
  rows: f,
541
542
  time: Number(D.toFixed(P)),
@@ -557,142 +558,143 @@ function dt({
557
558
  }
558
559
  export {
559
560
  Jt as CMYK_VALIDATION_REGEX,
560
- Cr as CalendarGrid,
561
+ yr as CalendarGrid,
561
562
  Kt as ColorType,
562
563
  K as CortexPopupController,
563
564
  $ as DateRangePresets,
564
565
  tt as DragScroll,
565
- ke as FormControlController,
566
+ Oe as FormControlController,
566
567
  te as HEX_ALPHA_VALIDATION_REGEX,
567
568
  ee as HEX_VALIDATION_REGEX,
568
- cr as HasSlotController,
569
+ mr as HasSlotController,
569
570
  nt as HistoryManager,
570
571
  N as KeyboardKey,
571
- Pe as LocalizeController,
572
+ He as LocalizeController,
572
573
  P as PRECISION,
573
574
  Tt as RELATIVE_URL_REGEX,
574
575
  re as RGB_VALIDATION_REGEX,
575
576
  wt as URL_DOMAIN_VALIDATION_REGEX,
576
577
  Ct as URL_PROTOCOL_VALIDATION_REGEX,
577
- yt as URL_VALIDATION_REGEX,
578
+ xt as URL_VALIDATION_REGEX,
578
579
  fe as activeElements,
579
- Mr as addMonths,
580
+ Sr as addMonths,
580
581
  It as adjustRelativeValues,
581
582
  pe as animateTo,
582
583
  V as appendProtocol,
583
- Mt as appendQueryParam,
584
- Ya as buildTransformationString,
585
- $r as buildWaveformPath,
586
- Yr as calculateAspectRatioFit,
587
- Xe as clamp,
588
- Ur as cleanImageFileName,
589
- ba as clearZeroDurationParts,
584
+ yt as appendQueryParam,
585
+ Na as buildTransformationString,
586
+ qr as buildWaveformPath,
587
+ Nr as calculateAspectRatioFit,
588
+ Be as clamp,
589
+ Pr as cleanImageFileName,
590
+ ka as clearZeroDurationParts,
590
591
  ae as convertColor,
591
- Qr as convertDataUnits,
592
- Zr as convertDurationToMilliseconds,
593
- jr as convertPixelsToAspectRatio,
594
- Nr as convertSrcToBlob,
595
- Pr as cropImage,
596
- Ze as cssValueToPx,
592
+ jr as convertDataUnits,
593
+ Jr as convertDurationToMilliseconds,
594
+ Kr as convertPixelsToAspectRatio,
595
+ _r as convertSrcToBlob,
596
+ Hr as cropImage,
597
+ Je as cssValueToPx,
597
598
  Ee as customElement,
598
- Ve as customErrorValidityState,
599
+ Ye as customErrorValidityState,
599
600
  Ie as debounce,
600
601
  Fe as defaultValue,
601
- xr as displayToIso,
602
+ Er as displayToIso,
602
603
  J as downloadAsset,
603
604
  be as drag,
604
- ia as emptyToSpace,
605
+ ca as emptyToSpace,
605
606
  se as extractColor,
606
- la as extractExtension,
607
+ ua as extractExtension,
607
608
  gt as extractFrames,
608
- ca as extractRootData,
609
- Jr as extractValueAndUnit,
610
- zr as extractWaveformPeaks,
611
- Vr as fetchCortexApi,
609
+ ma as extractRootData,
610
+ ta as extractValueAndUnit,
611
+ Qr as extractWaveformPeaks,
612
+ Yr as fetchCortexApi,
612
613
  Ht as findAncestorWithBuggyStyle,
613
614
  Xt as findContainingBlock,
614
- Bt as findCuttingAncestor,
615
+ Wt as findCuttingAncestor,
615
616
  _ as findFrameByColAndRow,
616
617
  Lt as findIndexByProp,
618
+ ke as focusWhenVisible,
617
619
  O as formCollections,
618
- Kr as formatAspectRatioString,
619
- va as formatDurationPartsManually,
620
- Sr as formatMonthYearLabel,
621
- ta as formatNumberWithGrouping,
622
- ua as formatSecondsToTime,
623
- ma as formatTimeToSeconds,
624
- ka as formatWithIntlDurationFormat,
625
- ea as gcd,
626
- je as getActiveElement,
620
+ ea as formatAspectRatioString,
621
+ Va as formatDurationPartsManually,
622
+ Ar as formatMonthYearLabel,
623
+ ra as formatNumberWithGrouping,
624
+ fa as formatSecondsToTime,
625
+ ha as formatTimeToSeconds,
626
+ Oa as formatWithIntlDurationFormat,
627
+ aa as gcd,
628
+ Ke as getActiveElement,
627
629
  he as getActiveModals,
628
- Oe as getAssociatedForm,
630
+ Ue as getAssociatedForm,
629
631
  Ft as getBreakpointsFromCSS,
630
632
  at as getBrowserFontVariants,
631
633
  oe as getColorType,
632
- _r as getContainedImageSize,
633
- Je as getCortexPopupLayer,
634
- x as getCurrentZIndex,
634
+ Xr as getContainedImageSize,
635
+ tr as getCortexPopupLayer,
636
+ M as getCurrentZIndex,
635
637
  ge as getDeepestActiveElement,
636
638
  Rt as getDeviceType,
637
- Va as getDurationPartsByUnitsFormat,
638
- Ke as getElementFromHTMLString,
639
- tr as getElementFromTemplate,
640
- Er as getFirstDayOfWeek,
639
+ Ya as getDurationPartsByUnitsFormat,
640
+ er as getElementFromHTMLString,
641
+ rr as getElementFromTemplate,
642
+ Ir as getFirstDayOfWeek,
641
643
  U as getFormControls,
642
- La as getHighlightedTitle,
643
- Fa as getHighlightedTitleHtml,
644
- ur as getInnerHTML,
644
+ Ra as getHighlightedTitle,
645
+ ba as getHighlightedTitleHtml,
646
+ fr as getInnerHTML,
645
647
  dt as getInterval,
646
648
  ne as getLightDarkCssString,
647
- Hr as getNaturalWidthHeight,
648
- er as getNeededPaddingForBoxShadow,
649
- Wt as getNextAncestor,
650
- Ge as getOffset,
651
- rr as getRelativeClickPercentage,
652
- fa as getRootIDString,
653
- hr as getTabbableBoundary,
654
- gr as getTabbableElements,
655
- mr as getTextContent,
656
- Ar as getTodayIsoDate,
649
+ Wr as getNaturalWidthHeight,
650
+ ar as getNeededPaddingForBoxShadow,
651
+ Bt as getNextAncestor,
652
+ ze as getOffset,
653
+ sr as getRelativeClickPercentage,
654
+ ga as getRootIDString,
655
+ dr as getTabbableBoundary,
656
+ pr as getTabbableElements,
657
+ hr as getTextContent,
658
+ Lr as getTodayIsoDate,
657
659
  bt as groupBy,
658
660
  vt as insertAtIndex,
659
661
  ht as insertFrameToCache,
660
662
  kt as insertMultipleAtIndex,
661
663
  Gt as isChrome,
662
- pr as isCortexAdobePlugin,
663
- ar as isDomElement,
664
- sr as isElementInHorizontalView,
665
- xt as isExpiredAssetUrl,
664
+ Tr as isCortexAdobePlugin,
665
+ or as isDomElement,
666
+ nr as isElementInHorizontalView,
667
+ Mt as isExpiredAssetUrl,
666
668
  $t as isFirefox,
667
669
  rt as isFontFamilyAvailable,
668
670
  ot as isFormInteracted,
669
- ha as isGalleryItemCardType,
671
+ da as isGalleryItemCardType,
670
672
  zt as isIOS,
671
- or as isInElement,
673
+ ir as isInElement,
672
674
  et as isModKey,
673
675
  qt as isSafari,
674
- Xr as isSaveSrcValid,
675
- Ir as isValidIsoDate,
676
+ Br as isSaveSrcValid,
677
+ Fr as isValidIsoDate,
676
678
  St as isValidUrl,
677
- Lr as isoToDate,
678
- Fr as isoToDisplay,
679
+ Rr as isoToDate,
680
+ br as isoToDisplay,
679
681
  z as isoWeekNumber,
680
- nr as loadScript,
681
- $e as lockBodyScrolling,
682
+ lr as loadScript,
683
+ qe as lockBodyScrolling,
682
684
  ie as luminanceTextColor,
683
685
  Vt as moveMultipleToIndex,
684
686
  Ot as moveToIndex,
685
687
  Yt as multiSelectTo,
686
- Rr as normalizeToIsoDate,
688
+ vr as normalizeToIsoDate,
687
689
  it as omit,
688
690
  q as openAssetOverview,
689
691
  Q as openFolderOverview,
690
692
  Z as openLink,
691
- ga as padPath,
692
- da as parseBooleanString,
693
+ pa as padPath,
694
+ Da as parseBooleanString,
693
695
  le as parseBorder,
694
696
  De as parseDuration,
695
- br as parseIsoDate,
697
+ kr as parseIsoDate,
696
698
  ct as parseJsonString,
697
699
  ce as parseLightDark,
698
700
  ut as parseListString,
@@ -700,44 +702,44 @@ export {
700
702
  lt as pick,
701
703
  Qt as popoverSupported,
702
704
  Te as prefersReducedMotion,
703
- Be as quantizeLargestRemainder,
705
+ Ge as quantizeLargestRemainder,
704
706
  mt as readLocalStorageValue,
705
- pa as reducePathToDirectChild,
706
- _e as registerTranslation,
707
+ Ta as reducePathToDirectChild,
708
+ Xe as registerTranslation,
707
709
  Ut as removeAtIndex,
708
710
  Nt as removeMultipleAtIndex,
709
- Br as resizeImage,
710
- ra as rotateBox,
711
- Wr as rotateImage,
712
- Da as safeExtension,
713
- Ta as safeString,
714
- wa as sanitizeHTML,
715
- aa as sanitizeRotation,
716
- ze as scrollIntoView,
711
+ Gr as resizeImage,
712
+ sa as rotateBox,
713
+ $r as rotateImage,
714
+ wa as safeExtension,
715
+ Ca as safeString,
716
+ xa as sanitizeHTML,
717
+ oa as sanitizeRotation,
718
+ Qe as scrollIntoView,
717
719
  st as serialize,
718
720
  j as shareAsset,
719
721
  we as shimKeyframesHeightAuto,
720
- ir as sortByTopPosition,
722
+ cr as sortByTopPosition,
721
723
  Y as sortTypefaceVariants,
722
- oa as splitBoxValues,
723
- Ca as splitCamelCaseFormatted,
724
+ ia as splitBoxValues,
725
+ ya as splitCamelCaseFormatted,
724
726
  Ce as stopAnimations,
725
727
  Zt as supportHLS,
726
728
  v as testFontAvailability,
727
- xe as timecodeConverter,
728
- ya as toCamelCase,
729
- vr as toIsoDate,
730
- Ma as toKebabCase,
731
- xa as toPascalCase,
729
+ Me as timecodeConverter,
730
+ Ma as toCamelCase,
731
+ Vr as toIsoDate,
732
+ Sa as toKebabCase,
733
+ Ea as toPascalCase,
732
734
  Et as toRelativeUrl,
733
- Sa as toTitleCase,
735
+ Aa as toTitleCase,
734
736
  Pt as toast,
735
- Ea as truncateTextMiddle,
736
- qe as unlockBodyScrolling,
737
- Aa as upperFirst,
738
- Ye as validValidityState,
739
- Ue as valueMissingValidityState,
740
- ye as waitForEvent,
741
- Tr as watch,
737
+ Ia as truncateTextMiddle,
738
+ Ze as unlockBodyScrolling,
739
+ La as upperFirst,
740
+ Ne as validValidityState,
741
+ Pe as valueMissingValidityState,
742
+ xe as waitForEvent,
743
+ Cr as watch,
742
744
  ft as writeLocalStorageValue
743
745
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.138.0",
4
+ "version": "2.140.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,63 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- import { PluginKey } from '@tiptap/pm/state';
3
- import { TimecodeMode } from '../../../../../types/src/video-editor';
4
-
5
- export interface TimeOptions {
6
- /**
7
- * The HTML attributes for the time widget.
8
- * @default {}
9
- */
10
- HTMLAttributes: Record<string, string>;
11
- /**
12
- * The frame rate for the time based feature.
13
- * @default 24
14
- */
15
- frameRate: number;
16
- /**
17
- * The placeholder text for the time based feature.
18
- * @default 'Enter a message...'
19
- */
20
- placeholder: string;
21
- /**
22
- * The time values (in seconds) for the time based feature.
23
- * Can be a single value or a range [start, end].
24
- * @default []
25
- */
26
- time: number[];
27
- /**
28
- * The timecode mode for the time based feature.
29
- * @default TimecodeMode.Standard
30
- */
31
- timecodeMode: TimecodeMode;
32
- }
33
- export interface TimeStorage {
34
- frameRate: number;
35
- placeholder: string;
36
- time: number[];
37
- timecodeMode: TimecodeMode;
38
- }
39
- declare module '@tiptap/core' {
40
- interface Commands<ReturnType> {
41
- time: {
42
- /**
43
- * Update the time decoration with new values.
44
- */
45
- setTime: (options: {
46
- frameRate?: number;
47
- placeholder?: string;
48
- time?: number[];
49
- timecodeMode?: TimecodeMode;
50
- }) => ReturnType;
51
- };
52
- }
53
- }
54
- /**
55
- * The plugin key for the time decoration plugin.
56
- */
57
- export declare const TimePluginKey: PluginKey<any>;
58
- /**
59
- * This extension adds a node decoration widget at the start of the document
60
- * displaying the time using cx-timecode component.
61
- */
62
- export declare const Time: Extension<TimeOptions, TimeStorage>;
63
- export default Time;