@orangelogic/design-system 4.4.0 → 4.5.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.
package/library/utils.js CHANGED
@@ -3,7 +3,7 @@ import { R as Et, f as It, g as Lt, h as Ft, U as Rt, a as Ot, d as vt, c as bt,
3
3
  import { e as Yt, f as Pt, g as Wt, c as Xt, i as Ht, a as Bt, d as Gt, m as $t, b as zt, r as qt, t as Qt } from "./chunks/toast.D3AW3RWv.js";
4
4
  import { e as Zt, a as Jt, f as Kt, g as te, d as ee, b as re, c as ae, i as se, p as oe, s as ne } from "./chunks/browser.BHOCIF_A.js";
5
5
  import { k as le, e as ce, m as ue, H as fe, R as me, d as he, o as ge, g as de, f as pe, n as De, h as Te, l as Se, i as we, p as Me, j as ye } from "./chunks/color.CIHdfM_a.js";
6
- import { a as Ae, g as xe } from "./chunks/active-elements.jTVWtBDp.js";
6
+ import { a as Ce, g as xe } from "./chunks/active-elements.jTVWtBDp.js";
7
7
  import { a as Ie, p as Le, c as Fe, b as Re, s as Oe, w as ve } from "./chunks/event.BeKOsirN.js";
8
8
  import { t as Ve } from "./chunks/converters.DkDtLstb.js";
9
9
  import { c as ke } from "./chunks/custom-element.L4WJXn1j.js";
@@ -17,8 +17,8 @@ import { L as Je, r as Ke } from "./chunks/i18n.BSPmBQ73.js";
17
17
  import { c as er, q as rr } from "./chunks/math.DuKzLacZ.js";
18
18
  import { g as sr } from "./chunks/modal.Ct0bJBSe.js";
19
19
  import { g as nr, l as ir, s as lr, u as cr } from "./chunks/scroll.xtO5yojm.js";
20
- import { k as C } from "./chunks/dom.D0lSUoEI.js";
21
- import { c as fr, d as mr, h as hr, m as gr, a as dr, g as pr, j as Dr, b as Tr, f as Sr, i as wr, e as Mr, l as yr, r as Cr, s as Ar } from "./chunks/dom.D0lSUoEI.js";
20
+ import { k as A } from "./chunks/dom.D0lSUoEI.js";
21
+ import { c as fr, d as mr, h as hr, m as gr, a as dr, g as pr, j as Dr, b as Tr, f as Sr, i as wr, e as Mr, l as yr, r as Ar, s as Cr } from "./chunks/dom.D0lSUoEI.js";
22
22
  import { H as Er, a as Ir, g as Lr } from "./chunks/slot.j5oheLJC.js";
23
23
  import { a as Rr, g as Or } from "./chunks/tabbable.BwnZBHrm.js";
24
24
  import { i as br } from "./chunks/user-agent.D9aPuOyL.js";
@@ -27,20 +27,20 @@ import { C as Nr } from "./chunks/calendar-grid.BWjcZL5W.js";
27
27
  import { b as Yr, c as Pr, f as Wr, h as Xr, g as Hr, a as Br, i as Gr, d as $r, n as zr, e as qr, p as Qr, t as jr } from "./chunks/date.iWq_pkIk.js";
28
28
  import { f as c, a as u, D as f } from "./chunks/date-picker.BGHn6qg8.js";
29
29
  import { A as Jr, g as Kr, j as ta, O as ea, S as ra, a as aa, h as sa, b as oa, e as na, d as ia, f as la, i as ca, k as ua, p as fa, r as ma, c as ha } from "./chunks/transformation.Dm-pK2ft.js";
30
- import { M as da, c as pa, e as Da, i as Ta, n as Sa, p as wa, b as Ma, s as ya, d as Ca } from "./chunks/gradient.CIzq8fOU.js";
30
+ import { M as da, c as pa, e as Da, i as Ta, n as Sa, p as wa, b as Ma, s as ya, d as Aa } from "./chunks/gradient.CIzq8fOU.js";
31
31
  import { c as xa, f as Ea, e as Ia, b as La, g as Fa, d as Ra, i as Oa, r as va, a as ba } from "./chunks/image.Y5c_hFx8.js";
32
32
  import { b as _a, e as ka } from "./chunks/waveform.1U9U_0rd.js";
33
33
  import { c as Ua, b as Ya, a as Pa, e as Wa, d as Xa, f as Ha, g as Ba, r as Ga, s as $a } from "./chunks/number.Cx2ncfJJ.js";
34
34
  import { s as qa } from "./chunks/parse.Cu5nBDTb.js";
35
- import { g as ja, a as Za } from "./chunks/responsive.BmBJSzC4.js";
36
- import { b as Ka, n as ts, d as es, e as rs, f as as, y as ss, o as os, g as ns, h as is, l as ls, p as cs, z as us, x as fs, a as ms, c as hs, s as gs, w as ds, r as ps, t as Ds, q as Ts, v as Ss, i as ws, m as Ms, u as ys } from "./chunks/string.CfI2ejyR.js";
37
- import { g as As, a as xs } from "./chunks/template.ClovJacp.js";
38
- import { c as Is, f as Ls, a as Fs, g as Rs } from "./chunks/time.DYWuX2id.js";
35
+ import { D as ja, g as Za, a as Ja } from "./chunks/responsive.DqF_v1XY.js";
36
+ import { b as ts, n as es, d as rs, e as as, f as ss, y as os, o as ns, g as is, h as ls, l as cs, p as us, z as fs, x as ms, a as hs, c as gs, s as ds, w as ps, r as Ds, t as Ts, q as Ss, v as ws, i as Ms, m as ys, u as As } from "./chunks/string.CfI2ejyR.js";
37
+ import { g as xs, a as Es } from "./chunks/template.ClovJacp.js";
38
+ import { c as Ls, f as Fs, a as Rs, g as Os } from "./chunks/time.DYWuX2id.js";
39
39
  function n(t) {
40
40
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0");
41
41
  return `${e}-${r}-${a}`;
42
42
  }
43
- function A(t) {
43
+ function C(t) {
44
44
  const e = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), a = String(t.getSeconds()).padStart(2, "0");
45
45
  return `${e}:${r}:${a}`;
46
46
  }
@@ -88,9 +88,9 @@ class Z {
88
88
  const s = new Date(r.getTime() - 18e5);
89
89
  return {
90
90
  fromDate: n(s),
91
- fromTime: A(s),
91
+ fromTime: C(s),
92
92
  toDate: a,
93
- toTime: A(r)
93
+ toTime: C(r)
94
94
  };
95
95
  }
96
96
  case c.today:
@@ -291,14 +291,14 @@ function at(t, e) {
291
291
  }
292
292
  class st {
293
293
  constructor(e) {
294
- this.currentZIndex = C(), (this.host = e).addController(this);
294
+ this.currentZIndex = A(), (this.host = e).addController(this);
295
295
  }
296
296
  hostConnected() {
297
297
  }
298
298
  hostDisconnected() {
299
299
  }
300
300
  async activatePopup() {
301
- this.currentZIndex = C();
301
+ this.currentZIndex = A();
302
302
  }
303
303
  }
304
304
  class ot {
@@ -587,7 +587,7 @@ async function* yt({
587
587
  } catch {
588
588
  }
589
589
  }
590
- function Ct({
590
+ function At({
591
591
  duration: t,
592
592
  frameWidth: e,
593
593
  playbackSpeed: r,
@@ -604,6 +604,7 @@ export {
604
604
  Nr as CalendarGrid,
605
605
  ce as ColorType,
606
606
  st as CortexPopupController,
607
+ ja as DEFAULT_BREAKPOINTS,
607
608
  Z as DateRangePresets,
608
609
  ot as DragScroll,
609
610
  $e as FormControlController,
@@ -623,7 +624,7 @@ export {
623
624
  Lt as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
624
625
  Ft as URL_PROTOCOL_VALIDATION_REGEX,
625
626
  Rt as URL_VALIDATION_REGEX,
626
- Ae as activeElements,
627
+ Ce as activeElements,
627
628
  Yr as addMonths,
628
629
  Yt as adjustRelativeValues,
629
630
  Ie as animateTo,
@@ -638,7 +639,7 @@ export {
638
639
  xa as calculateAspectRatioFit,
639
640
  er as clamp,
640
641
  Ea as cleanImageFileName,
641
- Is as clearZeroDurationParts,
642
+ Ls as clearZeroDurationParts,
642
643
  he as convertColor,
643
644
  Ua as convertDataUnits,
644
645
  Ya as convertDurationToMilliseconds,
@@ -653,12 +654,12 @@ export {
653
654
  Pe as defaultValue,
654
655
  at as downloadAsset,
655
656
  Xe as drag,
656
- Ka as emptyToSpace,
657
- ts as escapeXML,
657
+ ts as emptyToSpace,
658
+ es as escapeXML,
658
659
  ge as extractColor,
659
- es as extractExtension,
660
+ rs as extractExtension,
660
661
  yt as extractFrames,
661
- rs as extractRootData,
662
+ as as extractRootData,
662
663
  Wa as extractValueAndUnit,
663
664
  ka as extractWaveformPeaks,
664
665
  la as fetchCortexApi,
@@ -671,47 +672,47 @@ export {
671
672
  U as formCollections,
672
673
  Xa as formatAspectRatioString,
673
674
  de as formatColorCodeSeparator,
674
- Ls as formatDurationPartsManually,
675
+ Fs as formatDurationPartsManually,
675
676
  pe as formatHexCode,
676
677
  Pr as formatIsoToDisplay,
677
678
  Wr as formatMonthYearLabel,
678
679
  Ha as formatNumberWithGrouping,
679
- as as formatSecondsToTime,
680
- ss as formatTimeToSeconds,
681
- Fs as formatWithIntlDurationFormat,
680
+ ss as formatSecondsToTime,
681
+ os as formatTimeToSeconds,
682
+ Rs as formatWithIntlDurationFormat,
682
683
  Ba as gcd,
683
684
  mr as getActiveElement,
684
685
  sr as getActiveModals,
685
686
  qe as getAssociatedForm,
686
687
  hr as getAttributes,
687
- os as getAttributesString,
688
- ja as getBreakpointsFromCSS,
688
+ ns as getAttributesString,
689
+ Za as getBreakpointsFromCSS,
689
690
  ut as getBrowserFontVariants,
690
691
  De as getColorType,
691
692
  Fa as getContainedImageSize,
692
693
  gr as getCortexPopupLayer,
693
- C as getCurrentZIndex,
694
+ A as getCurrentZIndex,
694
695
  Xr as getDateMask,
695
696
  xe as getDeepestActiveElement,
696
- Za as getDeviceType,
697
- Rs as getDurationPartsByUnitsFormat,
697
+ Ja as getDeviceType,
698
+ Os as getDurationPartsByUnitsFormat,
698
699
  dr as getElementFromHTMLString,
699
700
  pr as getElementFromTemplate,
700
701
  Hr as getFirstDayOfWeek,
701
702
  lt as getFontFamilyOptionValue,
702
703
  ft as getFontFamilyVariants,
703
704
  X as getFormControls,
704
- As as getHighlightedTitle,
705
- xs as getHighlightedTitleHtml,
705
+ xs as getHighlightedTitle,
706
+ Es as getHighlightedTitleHtml,
706
707
  Ir as getInnerHTML,
707
- Ct as getInterval,
708
+ At as getInterval,
708
709
  Te as getLightDarkCssString,
709
710
  Ra as getNaturalWidthHeight,
710
711
  Dr as getNeededPaddingForBoxShadow,
711
712
  te as getNextAncestor,
712
713
  nr as getOffset,
713
714
  Tr as getRelativeClickPercentage,
714
- ns as getRootIDString,
715
+ is as getRootIDString,
715
716
  Rr as getTabbableBoundary,
716
717
  Or as getTabbableElements,
717
718
  Lr as getTextContent,
@@ -719,7 +720,7 @@ export {
719
720
  it as getTypefaceOptionValue,
720
721
  Wt as groupBy,
721
722
  ca as hasTransformSegment,
722
- is as htmlToPlainText,
723
+ ls as htmlToPlainText,
723
724
  Xt as insertAtIndex,
724
725
  Mt as insertFrameToCache,
725
726
  Ht as insertMultipleAtIndex,
@@ -732,7 +733,7 @@ export {
732
733
  re as isFirefox,
733
734
  ct as isFontFamilyAvailable,
734
735
  ht as isFormInteracted,
735
- ls as isGalleryItemCardType,
736
+ cs as isGalleryItemCardType,
736
737
  Ta as isGradientString,
737
738
  ae as isIOS,
738
739
  Mr as isInElement,
@@ -756,8 +757,8 @@ export {
756
757
  K as openAssetOverview,
757
758
  tt as openFolderOverview,
758
759
  et as openLink,
759
- cs as padPath,
760
- us as parseBooleanString,
760
+ us as padPath,
761
+ fs as parseBooleanString,
761
762
  we as parseBorder,
762
763
  qr as parseDisplayToIso,
763
764
  Le as parseDuration,
@@ -775,8 +776,8 @@ export {
775
776
  rr as quantizeLargestRemainder,
776
777
  Y as quoteFontFamily,
777
778
  St as readLocalStorageValue,
778
- Cr as readSearchConsistency,
779
- fs as reducePathToDirectChild,
779
+ Ar as readSearchConsistency,
780
+ ms as reducePathToDirectChild,
780
781
  Ke as registerTranslation,
781
782
  zt as removeAtIndex,
782
783
  qt as removeMultipleAtIndex,
@@ -786,38 +787,38 @@ export {
786
787
  _t as resolveSpaceUrl,
787
788
  Ga as rotateBox,
788
789
  ba as rotateImage,
789
- ms as safeExtension,
790
- hs as safeString,
791
- gs as sanitizeHTML,
790
+ hs as safeExtension,
791
+ gs as safeString,
792
+ ds as sanitizeHTML,
792
793
  $a as sanitizeRotation,
793
794
  lr as scrollIntoView,
794
795
  mt as serialize,
795
796
  Ma as serializeGradient,
796
797
  rt as shareAsset,
797
798
  Re as shimKeyframesHeightAuto,
798
- Ar as sortByTopPosition,
799
+ Cr as sortByTopPosition,
799
800
  ya as sortStops,
800
801
  _ as sortTypefaceVariants,
801
802
  qa as splitBoxValues,
802
- ds as splitCamelCaseFormatted,
803
- Ca as splitTopLevel,
803
+ ps as splitCamelCaseFormatted,
804
+ Aa as splitTopLevel,
804
805
  Oe as stopAnimations,
805
806
  ne as supportHLS,
806
807
  V as testFontAvailability,
807
808
  Ve as timecodeConverter,
808
- ps as toCamelCase,
809
+ Ds as toCamelCase,
809
810
  jr as toIsoDate,
810
- Ds as toKebabCase,
811
- Ts as toPascalCase,
811
+ Ts as toKebabCase,
812
+ Ss as toPascalCase,
812
813
  kt as toRelativeUrl,
813
- Ss as toTitleCase,
814
+ ws as toTitleCase,
814
815
  Nt as toUrlPathKey,
815
816
  Qt as toast,
816
- ws as truncateTextMiddle,
817
- Ms as unescapeXML,
817
+ Ms as truncateTextMiddle,
818
+ ys as unescapeXML,
818
819
  cr as unlockBodyScrolling,
819
820
  P as unquoteFontFamily,
820
- ys as upperFirst,
821
+ As as upperFirst,
821
822
  Qe as validValidityState,
822
823
  je as valueMissingValidityState,
823
824
  ve as waitForEvent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.4.0",
4
+ "version": "4.5.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {