@orangelogic/design-system 2.137.0 → 2.139.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.C7qLkR5q.js → asset-link-format.oOC8fxvV.js} +220 -219
- package/library/chunks/{button.C1SliH9f.js → button.J4LDuhyW.js} +1 -1
- package/library/chunks/{color-swatch-group.-16VIoq6.js → color-swatch-group.CYI2N8gp.js} +14 -6
- package/library/chunks/{color-swatch.C26o9Mgz.js → color-swatch.DimFgBSf.js} +1 -1
- package/library/chunks/{confirm-popover.UaaAL0w7.js → confirm-popover.DV5q0KyE.js} +3 -3
- package/library/chunks/{dialog.Bb0_EAwb.js → dialog.C79Kd2S4.js} +2 -2
- package/library/chunks/{document-viewer.Bfg059Ip.js → document-viewer.Ga2Ppgit.js} +3911 -3812
- package/library/chunks/{dot-pagination.BzRjwmKy.js → dot-pagination.CoG0XmAq.js} +1 -1
- package/library/chunks/{endpoints.tU0_RZ_7.js → endpoints.BlywT4Gl.js} +1 -1
- package/library/chunks/{file-on-demand.j_V2IDwl.js → file-on-demand.C3ib6J00.js} +9 -9
- package/library/chunks/focus-when-visible.jWSw9ks0.js +21 -0
- package/library/chunks/{folder-select.B2trdP78.js → folder-select.BQXuKb-8.js} +5 -5
- package/library/chunks/{header.CAG_RmQg.js → header.zCbb-t6m.js} +1 -1
- package/library/chunks/{i18n.Dqb15q5k.js → i18n.DeUAP8n2.js} +5 -3
- package/library/chunks/{icon-button.BqFraOfp.js → icon-button.LhIEmHNF.js} +1 -1
- package/library/chunks/{iframe.Cg0YBl8p.js → iframe.c0IPEUiJ.js} +1 -1
- package/library/chunks/{image.VNvhPhZ1.js → image.u2nQNoZ8.js} +1 -1
- package/library/chunks/{input.C_db7iND.js → input.DID1aXiO.js} +1 -1
- package/library/chunks/{option.D5NdA-Cm.js → option.n6PDuSs1.js} +1 -1
- package/library/chunks/{pagination.C_4fPcD4.js → pagination.BNU2UmTy.js} +5 -5
- package/library/chunks/{tab-group.CRTjU6He.js → tab-group.5O3lqvyG.js} +3 -3
- package/library/chunks/{tree.BYcnDDKg.js → tree.CbwFiRJI.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +13 -13
- package/library/components/audio.js +19 -19
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +33 -32
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +5 -5
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +207 -150
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +18478 -18429
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -1
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +28 -0
- package/library/packages/hybrid/book-reader/src/react/constant.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useDrawer.d.ts +1 -1
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +11 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +8 -0
- package/library/packages/services/src/api/asset/asset.d.ts +2 -1
- package/library/packages/services/src/api/endpoints.d.ts +1 -0
- package/library/packages/utils/src/custom-element/focus-when-visible.d.ts +14 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +2 -0
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/react-web-component.d.ts +4 -0
- package/library/utils.js +133 -131
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { n as i, C as v } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as g } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as C } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { F as x, v as w } from "./form.K1XOtu3S.js";
|
|
5
|
-
import { L as $ } from "./i18n.
|
|
5
|
+
import { L as $ } from "./i18n.DeUAP8n2.js";
|
|
6
6
|
import { H as S, g as O } from "./slot.j5oheLJC.js";
|
|
7
7
|
import { w as m } from "./watch.CThbualB.js";
|
|
8
8
|
import { r as u } from "./state.CSDxrqLd.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import si from "../components/space.js";
|
|
2
2
|
import { C as hr, T as Nr } from "./typography.DJC_UXgs.js";
|
|
3
3
|
import { n as g, C as tt } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { C as cr, a as _i } from "./color-swatch.
|
|
4
|
+
import { C as cr, a as _i } from "./color-swatch.DimFgBSf.js";
|
|
5
5
|
import { c as ht } from "./component.styles.CRO4Odto.js";
|
|
6
6
|
import { c as it } from "./custom-element.L4WJXn1j.js";
|
|
7
7
|
import { i as Z, x as S, E as pt, B as Vr } from "./lit-element.jLBm65_O.js";
|
|
8
|
-
import { C as Rt } from "./button.
|
|
8
|
+
import { C as Rt } from "./button.J4LDuhyW.js";
|
|
9
9
|
import { C as oi } from "./icon.DnBh6-56.js";
|
|
10
10
|
import ri from "../components/tooltip.js";
|
|
11
11
|
import { r as Ir } from "./choose.BTbF6BAn.js";
|
|
@@ -17,14 +17,14 @@ import ni from "../components/menu.js";
|
|
|
17
17
|
import ai from "../components/menu-item.js";
|
|
18
18
|
import Br from "../components/menu-section.js";
|
|
19
19
|
import { g as Wr, t as $r, a as jr, b as Gr } from "./toast.Bz-j7zP2.js";
|
|
20
|
-
import { L as zt } from "./i18n.
|
|
20
|
+
import { L as zt } from "./i18n.DeUAP8n2.js";
|
|
21
21
|
import { w as K } from "./watch.CThbualB.js";
|
|
22
22
|
import { r as ce } from "./state.CSDxrqLd.js";
|
|
23
23
|
import { n as J } from "./when.Dr1es41R.js";
|
|
24
24
|
import { C as dr, a as Ur } from "./checkbox.Cjcht4xR.js";
|
|
25
|
-
import { C as Is } from "./icon-button.
|
|
26
|
-
import { C as Kr } from "./input.
|
|
27
|
-
import { C as qr, P as Xr } from "./pagination.
|
|
25
|
+
import { C as Is } from "./icon-button.LhIEmHNF.js";
|
|
26
|
+
import { C as Kr } from "./input.DID1aXiO.js";
|
|
27
|
+
import { C as qr, P as Xr } from "./pagination.BNU2UmTy.js";
|
|
28
28
|
import { H as Jr } from "./slot.j5oheLJC.js";
|
|
29
29
|
import { e as ct } from "./query.BBf1UFkC.js";
|
|
30
30
|
import { e as at } from "./class-map.BiVq-cVR.js";
|
|
@@ -4386,6 +4386,10 @@ const Ca = function(n, e, t, i, s) {
|
|
|
4386
4386
|
(o === null || typeof o > "u") && r.value !== "" || r.value !== String(o) ? t(r.value) && (o = r.value) : i();
|
|
4387
4387
|
}
|
|
4388
4388
|
return r.addEventListener("change", a), r.addEventListener("blur", a), r.addEventListener("keydown", (l) => {
|
|
4389
|
+
if ((l.ctrlKey || l.metaKey) && l.key === "a") {
|
|
4390
|
+
r.select();
|
|
4391
|
+
return;
|
|
4392
|
+
}
|
|
4389
4393
|
switch (l.keyCode) {
|
|
4390
4394
|
// case 9:
|
|
4391
4395
|
case 13:
|
|
@@ -5959,6 +5963,10 @@ const Dl = function(n, e, t, i, s) {
|
|
|
5959
5963
|
const d = l.scrollHeight;
|
|
5960
5964
|
l.style.height = d + "px", d !== h && (h = d, n.getRow().normalizeHeight());
|
|
5961
5965
|
}), l.addEventListener("keydown", (d) => {
|
|
5966
|
+
if ((d.ctrlKey || d.metaKey) && d.key === "a") {
|
|
5967
|
+
l.select();
|
|
5968
|
+
return;
|
|
5969
|
+
}
|
|
5962
5970
|
switch (d.keyCode) {
|
|
5963
5971
|
case 13:
|
|
5964
5972
|
d.shiftKey && s.shiftEnterSubmit && c();
|
|
@@ -8,7 +8,7 @@ import { c as F } from "./component.styles.CRO4Odto.js";
|
|
|
8
8
|
import { c as n, C as h, H as $, l as z } from "./color.LzSGBy7o.js";
|
|
9
9
|
import { c as O } from "./custom-element.L4WJXn1j.js";
|
|
10
10
|
import { d as W } from "./debounce.DaHuiSGU.js";
|
|
11
|
-
import { L as A } from "./i18n.
|
|
11
|
+
import { L as A } from "./i18n.DeUAP8n2.js";
|
|
12
12
|
import { w as i } from "./watch.CThbualB.js";
|
|
13
13
|
import { i as G, x as u } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as c } from "./state.CSDxrqLd.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as u, D as h } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.J4LDuhyW.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.C79Kd2S4.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.DJC_UXgs.js";
|
|
5
5
|
import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import { c as y } from "./component.styles.CRO4Odto.js";
|
|
7
7
|
import { c as w } from "./custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as $ } from "./i18n.
|
|
8
|
+
import { L as $ } from "./i18n.DeUAP8n2.js";
|
|
9
9
|
import { i as z, x as d } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
11
11
|
import { e as a } from "./class-map.BiVq-cVR.js";
|
|
@@ -3,7 +3,7 @@ import { c as S } from "./component.styles.CRO4Odto.js";
|
|
|
3
3
|
import { O, C as D, H, z as A, o as B } from "./overlayscrollbars.BMav4RQ4.js";
|
|
4
4
|
import { a as c, s as p, w as x } from "./event.BeKOsirN.js";
|
|
5
5
|
import { c as $ } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L } from "./i18n.
|
|
6
|
+
import { L } from "./i18n.DeUAP8n2.js";
|
|
7
7
|
import { M as P } from "./modal.U1QltQKe.js";
|
|
8
8
|
import { l as w, u as _ } from "./scroll.xtO5yojm.js";
|
|
9
9
|
import { H as E } from "./slot.j5oheLJC.js";
|
|
@@ -17,7 +17,7 @@ import { o as q } from "./style-map.llVFPd__.js";
|
|
|
17
17
|
import { n as b } from "./when.Dr1es41R.js";
|
|
18
18
|
import { s as u, g as h } from "./animation-registry.HmpwNuGH.js";
|
|
19
19
|
import F from "../components/divider.js";
|
|
20
|
-
import { C as I } from "./icon-button.
|
|
20
|
+
import { C as I } from "./icon-button.LhIEmHNF.js";
|
|
21
21
|
import U from "../components/popup.js";
|
|
22
22
|
var l = /* @__PURE__ */ ((e) => (e.Both = "both", e.Footer = "footer", e.Header = "header", e.None = "none", e))(l || {});
|
|
23
23
|
const j = R`:host{--width:31rem;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large);--body-spacing:var(--cx-spacing-medium) var(--cx-spacing-large);--divider-spacing:0;--footer-spacing:var(--cx-spacing-medium);--max-width:100%;--max-height:100%;--overlay-background-color:var(--cx-overlay-background-color);display:contents}.dialog{justify-content:center;align-items:center;display:flex}.dialog--absolute{position:absolute}.dialog__panel{width:var(--width);height:var(--dialog-height,auto);background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-medium);box-shadow:var(--cx-shadow-x-large);max-width:calc(var(--max-width) - var(--cx-spacing-2x-large));max-height:calc(var(--max-height) - var(--cx-spacing-2x-large));flex-direction:column;display:flex;overflow:hidden}.dialog__panel:focus{outline:none}@media screen and (width<=420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{opacity:1;display:flex}.dialog__header{padding:var(--header-spacing);flex:none;display:flex}.dialog__header-divider,.dialog__footer-divider{--spacing:0;padding:var(--divider-spacing)}.dialog__title{font:inherit;font-family:var(--cx-font-sans);font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-large);flex:auto;align-items:center;margin:0;display:flex}.dialog__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.dialog__header-actions cx-icon-button,.dialog__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-3x-large);flex:none;align-items:center;display:flex}.dialog__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-small);z-index:2;flex:auto;display:block;position:relative;overflow:auto}.dialog--overlay-scrollbar .dialog__body{flex-direction:column;display:flex}.dialog__footer{text-align:right;padding:var(--footer-spacing);z-index:1;flex:none;position:relative}.dialog__footer ::slotted(cx-button:not(:first-of-type)){margin-inline-start:var(--cx-spacing-x-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}@media (forced-colors:active){.dialog__panel{border:solid 1px var(--cx-color-neutral-0)}}.dialog__overlay{background-color:var(--overlay-background-color);opacity:0;pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex}.dialog--open .dialog__overlay{opacity:1;pointer-events:auto}`;
|