@orangelogic/design-system 2.140.0 → 2.141.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/chunks/{asset-link-format.CoMUMoyK.js → asset-link-format.BDuHqEN5.js} +5 -5
- package/library/chunks/{button.J4LDuhyW.js → button.C6-GrLyD.js} +1 -1
- package/library/chunks/{checkbox.Cjcht4xR.js → checkbox.i5dgRvaf.js} +1 -1
- package/library/chunks/{color-swatch-group.DedQQk4J.js → color-swatch-group.BqJHjmG5.js} +1011 -975
- package/library/chunks/{confirm-popover.DV5q0KyE.js → confirm-popover.CTdjw4Mi.js} +1 -1
- package/library/chunks/{document-viewer.NA5cS7qW.js → document-viewer.BqZzhJyR.js} +1265 -1245
- package/library/chunks/{dom.acWb8KCK.js → dom.CU_mBy9D.js} +1 -1
- package/library/chunks/{file-on-demand.C3ib6J00.js → file-on-demand.Bxq3-Dk1.js} +10 -10
- package/library/chunks/{folder-select.BQXuKb-8.js → folder-select.CpK1RX9O.js} +4 -4
- package/library/chunks/{form.K1XOtu3S.js → form.BSqXLytJ.js} +1 -1
- package/library/chunks/{input.DID1aXiO.js → input.ClJ4MEsk.js} +1 -1
- package/library/chunks/{pagination.BNU2UmTy.js → pagination.CNeaChqP.js} +2 -2
- package/library/chunks/{string.CjJ09HK3.js → string.BmBJ_BLT.js} +38 -34
- package/library/chunks/{tab-group.5O3lqvyG.js → tab-group.COQGzlw4.js} +2 -2
- package/library/chunks/{tree.CbwFiRJI.js → tree.DeIv5gWv.js} +1 -1
- package/library/components/asset-link-format.js +2 -2
- package/library/components/atoms.js +7 -7
- package/library/components/border-input-group.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +2 -2
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +7 -7
- package/library/components/folder-select.js +3 -3
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +37 -31
- package/library/components/molecules.js +2 -2
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +3 -3
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +3 -3
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +1 -1
- package/library/components/types.js +12903 -12901
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +6 -0
- package/library/packages/events/src/cx-annotator-tool-change.d.ts +11 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/constant.d.ts +2 -0
- package/library/packages/hybrid/book-reader/src/react/types.d.ts +2 -2
- package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +23 -4
- package/library/packages/hybrid/table-core/src/table/table.d.ts +17 -1
- package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/organisms/src/annotator-comment/annotator-comment.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +0 -1
- package/library/packages/utils/src/string/string.d.ts +1 -0
- package/library/react-web-component.d.ts +55 -47
- package/library/utils.js +42 -41
- package/package.json +1 -1
- /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.styles.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.utils.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/components/board-list-item/board-list-item.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/components/board-list-item/board-list-item.styles.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.styles.d.ts +0 -0
- /package/library/packages/{organisms → molecules}/src/multi-select/multi-select.utils.d.ts +0 -0
package/library/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as
|
|
1
|
+
import { b as k } from "./chunks/url.-WDYqplj.js";
|
|
2
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
|
-
import { j as It, f as Lt, a as Ft, b as Rt, g as bt, e as vt, i as
|
|
3
|
+
import { j as It, f as Lt, a as Ft, b as Rt, g as bt, e as vt, i as Vt, c as kt, h as Ot, m as Yt, d as Ut, r as Nt, t as Pt } from "./chunks/toast.Bz-j7zP2.js";
|
|
4
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";
|
|
@@ -10,30 +10,30 @@ 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
|
|
14
|
-
import { f as O } from "./chunks/form.
|
|
15
|
-
import { F as Oe, c as Ye, g as Ue, v as Ne, a as Pe } from "./chunks/form.
|
|
13
|
+
import { f as Ve } from "./chunks/focus-when-visible.jWSw9ks0.js";
|
|
14
|
+
import { f as O } from "./chunks/form.BSqXLytJ.js";
|
|
15
|
+
import { F as Oe, c as Ye, g as Ue, v as Ne, a as Pe } from "./chunks/form.BSqXLytJ.js";
|
|
16
16
|
import { L as He, r as Xe } from "./chunks/i18n.DeUAP8n2.js";
|
|
17
17
|
import { c as Be, q as Ge } from "./chunks/math.DuKzLacZ.js";
|
|
18
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.
|
|
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.
|
|
19
|
+
import { j as M } from "./chunks/dom.CU_mBy9D.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.CU_mBy9D.js";
|
|
21
21
|
import { H as mr, a as fr, g as hr } from "./chunks/slot.j5oheLJC.js";
|
|
22
22
|
import { g as dr, a as pr } from "./chunks/tabbable.CcMz3mIL.js";
|
|
23
23
|
import { i as Tr } from "./chunks/user-agent.D9aPuOyL.js";
|
|
24
24
|
import { w as Cr } from "./chunks/watch.CThbualB.js";
|
|
25
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
|
|
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 Vr, t as kr } from "./chunks/date.dSYNLBVO.js";
|
|
27
27
|
import { e as c, a as u, D as m } from "./chunks/date-picker.DTUICGb9.js";
|
|
28
28
|
import { f as Yr } from "./chunks/content-builder.BGzxZUgi.js";
|
|
29
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
30
|
import { b as qr, e as Qr } from "./chunks/waveform.1U9U_0rd.js";
|
|
31
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
32
|
import { s as ia } from "./chunks/parse.Cu5nBDTb.js";
|
|
33
|
-
import { b as ca, d as ua, e as ma, f as fa,
|
|
34
|
-
import { g as
|
|
35
|
-
import { c as ka, f as
|
|
36
|
-
import { b as
|
|
33
|
+
import { b as ca, d as ua, e as ma, f as fa, m as ha, g as ga, h as da, l as pa, p as Da, w as Ta, v as wa, a as Ca, c as xa, s as ya, r as Ma, o as Sa, t as Ea, n as Aa, q as Ia, i as La, u as Fa } from "./chunks/string.BmBJ_BLT.js";
|
|
34
|
+
import { g as ba, a as va } from "./chunks/template.ClovJacp.js";
|
|
35
|
+
import { c as ka, f as Oa, a as Ya, g as Ua } from "./chunks/time.BSmpFe2G.js";
|
|
36
|
+
import { b as Pa } from "./chunks/transformation.c-RS37zA.js";
|
|
37
37
|
function n(t) {
|
|
38
38
|
const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
|
|
39
39
|
return `${e}-${r}-${s}`;
|
|
@@ -262,7 +262,7 @@ function Q(t) {
|
|
|
262
262
|
}
|
|
263
263
|
function Z(t, e = void 0) {
|
|
264
264
|
!this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
|
|
265
|
-
|
|
265
|
+
k(t, "https://", !0),
|
|
266
266
|
e ?? "_blank"
|
|
267
267
|
);
|
|
268
268
|
}
|
|
@@ -516,7 +516,7 @@ async function* gt({
|
|
|
516
516
|
throw new Error("Canvas is required");
|
|
517
517
|
if (!o)
|
|
518
518
|
throw new Error("Video is required");
|
|
519
|
-
const { columns: i, frameHeight: l, frameWidth: p, rows: f, spriteCtx:
|
|
519
|
+
const { columns: i, frameHeight: l, frameWidth: p, rows: f, spriteCtx: V } = e;
|
|
520
520
|
try {
|
|
521
521
|
for (let g = 0; g < f; g++)
|
|
522
522
|
for (let d = 0; d < i; d++) {
|
|
@@ -524,7 +524,7 @@ async function* gt({
|
|
|
524
524
|
if (D >= r)
|
|
525
525
|
continue;
|
|
526
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),
|
|
527
|
+
x ? yield { ...x, isLastFrame: y } : (await H(o, D, s), V.drawImage(
|
|
528
528
|
o,
|
|
529
529
|
w,
|
|
530
530
|
C,
|
|
@@ -580,9 +580,9 @@ export {
|
|
|
580
580
|
Sr as addMonths,
|
|
581
581
|
It as adjustRelativeValues,
|
|
582
582
|
pe as animateTo,
|
|
583
|
-
|
|
583
|
+
k as appendProtocol,
|
|
584
584
|
yt as appendQueryParam,
|
|
585
|
-
|
|
585
|
+
Pa as buildTransformationString,
|
|
586
586
|
qr as buildWaveformPath,
|
|
587
587
|
Nr as calculateAspectRatioFit,
|
|
588
588
|
Be as clamp,
|
|
@@ -615,15 +615,15 @@ export {
|
|
|
615
615
|
Wt as findCuttingAncestor,
|
|
616
616
|
_ as findFrameByColAndRow,
|
|
617
617
|
Lt as findIndexByProp,
|
|
618
|
-
|
|
618
|
+
Ve as focusWhenVisible,
|
|
619
619
|
O as formCollections,
|
|
620
620
|
ea as formatAspectRatioString,
|
|
621
|
-
|
|
621
|
+
Oa as formatDurationPartsManually,
|
|
622
622
|
Ar as formatMonthYearLabel,
|
|
623
623
|
ra as formatNumberWithGrouping,
|
|
624
624
|
fa as formatSecondsToTime,
|
|
625
625
|
ha as formatTimeToSeconds,
|
|
626
|
-
|
|
626
|
+
Ya as formatWithIntlDurationFormat,
|
|
627
627
|
aa as gcd,
|
|
628
628
|
Ke as getActiveElement,
|
|
629
629
|
he as getActiveModals,
|
|
@@ -636,13 +636,13 @@ export {
|
|
|
636
636
|
M as getCurrentZIndex,
|
|
637
637
|
ge as getDeepestActiveElement,
|
|
638
638
|
Rt as getDeviceType,
|
|
639
|
-
|
|
639
|
+
Ua as getDurationPartsByUnitsFormat,
|
|
640
640
|
er as getElementFromHTMLString,
|
|
641
641
|
rr as getElementFromTemplate,
|
|
642
642
|
Ir as getFirstDayOfWeek,
|
|
643
643
|
U as getFormControls,
|
|
644
|
-
|
|
645
|
-
|
|
644
|
+
ba as getHighlightedTitle,
|
|
645
|
+
va as getHighlightedTitleHtml,
|
|
646
646
|
fr as getInnerHTML,
|
|
647
647
|
dt as getInterval,
|
|
648
648
|
ne as getLightDarkCssString,
|
|
@@ -657,9 +657,10 @@ export {
|
|
|
657
657
|
hr as getTextContent,
|
|
658
658
|
Lr as getTodayIsoDate,
|
|
659
659
|
bt as groupBy,
|
|
660
|
+
da as htmlToPlainText,
|
|
660
661
|
vt as insertAtIndex,
|
|
661
662
|
ht as insertFrameToCache,
|
|
662
|
-
|
|
663
|
+
Vt as insertMultipleAtIndex,
|
|
663
664
|
Gt as isChrome,
|
|
664
665
|
Tr as isCortexAdobePlugin,
|
|
665
666
|
or as isDomElement,
|
|
@@ -668,7 +669,7 @@ export {
|
|
|
668
669
|
$t as isFirefox,
|
|
669
670
|
rt as isFontFamilyAvailable,
|
|
670
671
|
ot as isFormInteracted,
|
|
671
|
-
|
|
672
|
+
pa as isGalleryItemCardType,
|
|
672
673
|
zt as isIOS,
|
|
673
674
|
ir as isInElement,
|
|
674
675
|
et as isModKey,
|
|
@@ -682,7 +683,7 @@ export {
|
|
|
682
683
|
lr as loadScript,
|
|
683
684
|
qe as lockBodyScrolling,
|
|
684
685
|
ie as luminanceTextColor,
|
|
685
|
-
|
|
686
|
+
kt as moveMultipleToIndex,
|
|
686
687
|
Ot as moveToIndex,
|
|
687
688
|
Yt as multiSelectTo,
|
|
688
689
|
vr as normalizeToIsoDate,
|
|
@@ -690,11 +691,11 @@ export {
|
|
|
690
691
|
q as openAssetOverview,
|
|
691
692
|
Q as openFolderOverview,
|
|
692
693
|
Z as openLink,
|
|
693
|
-
|
|
694
|
-
|
|
694
|
+
Da as padPath,
|
|
695
|
+
Ta as parseBooleanString,
|
|
695
696
|
le as parseBorder,
|
|
696
697
|
De as parseDuration,
|
|
697
|
-
|
|
698
|
+
Vr as parseIsoDate,
|
|
698
699
|
ct as parseJsonString,
|
|
699
700
|
ce as parseLightDark,
|
|
700
701
|
ut as parseListString,
|
|
@@ -704,16 +705,16 @@ export {
|
|
|
704
705
|
Te as prefersReducedMotion,
|
|
705
706
|
Ge as quantizeLargestRemainder,
|
|
706
707
|
mt as readLocalStorageValue,
|
|
707
|
-
|
|
708
|
+
wa as reducePathToDirectChild,
|
|
708
709
|
Xe as registerTranslation,
|
|
709
710
|
Ut as removeAtIndex,
|
|
710
711
|
Nt as removeMultipleAtIndex,
|
|
711
712
|
Gr as resizeImage,
|
|
712
713
|
sa as rotateBox,
|
|
713
714
|
$r as rotateImage,
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
715
|
+
Ca as safeExtension,
|
|
716
|
+
xa as safeString,
|
|
717
|
+
ya as sanitizeHTML,
|
|
717
718
|
oa as sanitizeRotation,
|
|
718
719
|
Qe as scrollIntoView,
|
|
719
720
|
st as serialize,
|
|
@@ -722,21 +723,21 @@ export {
|
|
|
722
723
|
cr as sortByTopPosition,
|
|
723
724
|
Y as sortTypefaceVariants,
|
|
724
725
|
ia as splitBoxValues,
|
|
725
|
-
|
|
726
|
+
Ma as splitCamelCaseFormatted,
|
|
726
727
|
Ce as stopAnimations,
|
|
727
728
|
Zt as supportHLS,
|
|
728
729
|
v as testFontAvailability,
|
|
729
730
|
Me as timecodeConverter,
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
731
|
+
Sa as toCamelCase,
|
|
732
|
+
kr as toIsoDate,
|
|
733
|
+
Ea as toKebabCase,
|
|
734
|
+
Aa as toPascalCase,
|
|
734
735
|
Et as toRelativeUrl,
|
|
735
|
-
|
|
736
|
+
Ia as toTitleCase,
|
|
736
737
|
Pt as toast,
|
|
737
|
-
|
|
738
|
+
La as truncateTextMiddle,
|
|
738
739
|
Ze as unlockBodyScrolling,
|
|
739
|
-
|
|
740
|
+
Fa as upperFirst,
|
|
740
741
|
Ne as validValidityState,
|
|
741
742
|
Pe as valueMissingValidityState,
|
|
742
743
|
xe as waitForEvent,
|
package/package.json
CHANGED
/package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/library/packages/{organisms → molecules}/src/multi-select/components/board/board.utils.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|