@orangelogic/design-system 4.7.0 → 4.8.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/{color-swatch-group.DMza5xD7.js → color-swatch-group.CecCeVOC.js} +5 -5
- package/library/chunks/{document-viewer.BmO1igBN.js → document-viewer.ZqrNpAA_.js} +1 -1
- package/library/chunks/{image.CjdSn_IT.js → image.2ZXc5UiB.js} +1 -1
- package/library/chunks/{index.DpHjvpmp.js → index.DnPrVvYk.js} +1 -1
- package/library/chunks/{types.4OaADvOF.js → types.D6xffHzq.js} +2461 -2439
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +6 -6
- package/library/components/document-viewer.js +2 -2
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/select.js +1 -3
- package/library/components/types.js +4 -4
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/molecules/src/mentions/mentions.d.ts +17 -0
- package/library/packages/organisms/src/lightbox/lightbox.d.ts +2 -1
- package/library/react-web-component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ import { default as Y } from "./details.js";
|
|
|
21
21
|
import { default as _ } from "./diff.js";
|
|
22
22
|
import { C as oe } from "../chunks/dialog.C2q9XwLW.js";
|
|
23
23
|
import { default as re } from "./divider.js";
|
|
24
|
-
import { C as xe } from "../chunks/document-viewer.
|
|
24
|
+
import { C as xe } from "../chunks/document-viewer.ZqrNpAA_.js";
|
|
25
25
|
import { C as me } from "../chunks/dot-pagination.BclVUAf7.js";
|
|
26
26
|
import { default as Ce } from "./dot-status.js";
|
|
27
27
|
import { default as ue } from "./drawer.js";
|
|
@@ -40,7 +40,7 @@ import { f } from "../chunks/icon.BLXWp6CU.js";
|
|
|
40
40
|
import { C as Oe } from "../chunks/icon.BLXWp6CU.js";
|
|
41
41
|
import { C as Ee } from "../chunks/icon-button.BXs29IQE.js";
|
|
42
42
|
import { C as Le } from "../chunks/iframe.e5XdCox5.js";
|
|
43
|
-
import { C as je } from "../chunks/image.
|
|
43
|
+
import { C as je } from "../chunks/image.2ZXc5UiB.js";
|
|
44
44
|
import { default as Qe } from "./image-comparer.js";
|
|
45
45
|
import { default as qe } from "./include.js";
|
|
46
46
|
import { C as Ke } from "../chunks/input.zRoRq5mq.js";
|
|
@@ -3,7 +3,7 @@ import "../chunks/typography.BLYdTF0n.js";
|
|
|
3
3
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import "./color-swatch.js";
|
|
5
5
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
6
|
-
import { C as w } from "../chunks/color-swatch-group.
|
|
6
|
+
import { C as w } from "../chunks/color-swatch-group.CecCeVOC.js";
|
|
7
7
|
import "../chunks/color.CIHdfM_a.js";
|
|
8
8
|
import "../chunks/content-builder.CBBdfVOl.js";
|
|
9
9
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import f from "./copy-button.js";
|
|
2
2
|
import b from "./line-clamp.js";
|
|
3
3
|
import _ from "./resize-observer.js";
|
|
4
4
|
import k from "./space.js";
|
|
@@ -14,11 +14,11 @@ import { i as E, x as g } from "../chunks/lit-element.jLBm65_O.js";
|
|
|
14
14
|
import { r as n } from "../chunks/state.CSDxrqLd.js";
|
|
15
15
|
import { e as G } from "../chunks/query.BBf1UFkC.js";
|
|
16
16
|
import { e as w } from "../chunks/class-map.BiVq-cVR.js";
|
|
17
|
-
import { o as
|
|
17
|
+
import { o as v } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
18
18
|
import { c as H } from "../chunks/repeat.CFjcER6_.js";
|
|
19
19
|
import { o as p } from "../chunks/style-map.llVFPd__.js";
|
|
20
20
|
import { n as I } from "../chunks/when.Dr1es41R.js";
|
|
21
|
-
const B = E`:host{isolation:isolate;display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-circle-size,var(--swatch-size,350px));min-width:var(--swatch-size,230px);border-radius:var(--swatch-circle-border-radius,var(--cx-border-radius-circle));max-width:100%;overflow:hidden}.color-swatch--oval{height:var(--swatch-circle-size,var(--swatch-size,350px));border-radius:var(--swatch-circle-border-radius,calc(var(--swatch-circle-size,var(--swatch-size,350px)) / 2));width:100%}.color-swatch--grid{width:100%;height:100%;min-width:var(--swatch-grid-min-width,165px);min-height:max(var(--swatch-size,300px), var(--swatch-min-height,50px));border:var(--swatch-border,0px solid transparent);box-shadow:var(--swatch-box-shadow,none);border-radius:var(--swatch-border-radius,var(--cx-border-radius-x-large));border-style:solid;align-items:stretch}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--circle,.color-swatch--oval{justify-content:var(--swatch-circle-content-align,center);align-items:var(--swatch-circle-content-justify,center)}.color-swatch--circle>.color-swatch__content,.color-swatch--oval>.color-swatch__content{align-items:var(--swatch-circle-content-align,center);justify-content:var(--swatch-circle-content-justify,center);margin:var(--swatch-circle-content-margin,0)}.color-swatch--grid>.color-swatch__content{justify-content:var(--swatch-content-justify,space-between);width:100%;max-height:none;padding:var(--swatch-content-margin,var(--cx-spacing-medium))}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}.color-swatch__name,.color-swatch__key,.color-swatch__value{--font-family:var(--swatch-font-family), var(--cx-font-sans);--font-style:var(--swatch-font-style,normal);--font-weight:var(--swatch-font-weight);--font-size:var(--swatch-font-size);--line-height:1.2}`;
|
|
21
|
+
const B = E`:host{isolation:isolate;display:block}.color-swatch{border:1px solid var(--cx-color-neutral-200);justify-content:center;align-items:center;display:flex}.color-swatch:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch--circle{aspect-ratio:1;height:auto;width:var(--swatch-circle-size,var(--swatch-size,350px));min-width:min(var(--swatch-circle-size,var(--swatch-size,350px)), 230px, 100%);border-radius:var(--swatch-circle-border-radius,var(--cx-border-radius-circle));max-width:100%;overflow:hidden}.color-swatch--oval{height:var(--swatch-circle-size,var(--swatch-size,350px));border-radius:var(--swatch-circle-border-radius,calc(var(--swatch-circle-size,var(--swatch-size,350px)) / 2));width:100%}.color-swatch--grid{width:100%;height:100%;min-width:var(--swatch-grid-min-width,165px);min-height:max(var(--swatch-size,300px), var(--swatch-min-height,50px));border:var(--swatch-border,0px solid transparent);box-shadow:var(--swatch-box-shadow,none);border-radius:var(--swatch-border-radius,var(--cx-border-radius-x-large));border-style:solid;align-items:stretch}.color-swatch__content{max-height:100%;padding:var(--swatch-content-padding,0);justify-content:space-between;gap:var(--cx-spacing-medium)}.color-swatch--circle>.color-swatch__content{min-width:50%;max-width:75%}.color-swatch--oval>.color-swatch__content{max-width:85%}.color-swatch--circle,.color-swatch--oval{justify-content:var(--swatch-circle-content-align,center);align-items:var(--swatch-circle-content-justify,center)}.color-swatch--circle>.color-swatch__content,.color-swatch--oval>.color-swatch__content{align-items:var(--swatch-circle-content-align,center);justify-content:var(--swatch-circle-content-justify,center);margin:var(--swatch-circle-content-margin,0)}.color-swatch--grid>.color-swatch__content{justify-content:var(--swatch-content-justify,space-between);width:100%;max-height:none;padding:var(--swatch-content-margin,var(--cx-spacing-medium))}.color-swatch__key::part(base){vertical-align:middle;min-width:50px;height:100%}.color-swatch__key[variant=small]::part(base){display:inline-block}.color-swatch__copy-button::part(button){height:fit-content;min-height:fit-content;padding:0;background:0 0!important;border-width:0!important}.color-swatch__copy-button::part(label){height:fit-content;padding:0}.color-swatch__value{text-transform:none}.color-swatch__value::part(base){word-break:break-word}.color-swatch__value-wrapper{text-align:left}.color-swatch__name,.color-swatch__key,.color-swatch__value{--font-family:var(--swatch-font-family), var(--cx-font-sans);--font-style:var(--swatch-font-style,normal);--font-weight:var(--swatch-font-weight);--font-size:var(--swatch-font-size);--line-height:1.2}`;
|
|
22
22
|
var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, e = (r, i, o, d) => {
|
|
23
23
|
for (var c = d > 1 ? void 0 : d ? D(i, o) : i, u = r.length - 1, y; u >= 0; u--)
|
|
24
24
|
(y = r[u]) && (c = (d ? y(i, o, c) : y(c)) || c);
|
|
@@ -104,7 +104,7 @@ let t = class extends $ {
|
|
|
104
104
|
},
|
|
105
105
|
{ key: "PMS", value: this.pms }
|
|
106
106
|
].filter((o) => this.showCodes.includes(o.key)), i = this.codeAlignment === C.SeparateLine ? "vertical" : "horizontal";
|
|
107
|
-
return g`<cx-resize-observer @cx-resize=${this.handleResize}><div part="base" tabindex=${
|
|
107
|
+
return g`<cx-resize-observer @cx-resize=${this.handleResize}><div part="base" tabindex=${v(this.canFocusContainer ? "0" : void 0)} class=${w({
|
|
108
108
|
"color-swatch": !0,
|
|
109
109
|
"color-swatch--circle": this.variant === m.Circle,
|
|
110
110
|
"color-swatch--grid": this.variant === m.GridItem,
|
|
@@ -121,7 +121,7 @@ let t = class extends $ {
|
|
|
121
121
|
"--color": this.textColor
|
|
122
122
|
})}>${o.key}</cx-typography>${I(
|
|
123
123
|
this.canCopy && o.value !== "",
|
|
124
|
-
() => g`<cx-copy-button part="copy-button" tabindex=${
|
|
124
|
+
() => g`<cx-copy-button part="copy-button" tabindex=${v(
|
|
125
125
|
this.canFocusCodeOnly ? void 0 : "-1"
|
|
126
126
|
)} class="color-swatch__copy-button" copy-label=${this.localize.term("clickToCopy")} focus-copy-label=${this.localize.term(
|
|
127
127
|
"pressEnterOrCtrlCToCopy"
|
|
@@ -139,7 +139,7 @@ let t = class extends $ {
|
|
|
139
139
|
};
|
|
140
140
|
t.styles = [S, B];
|
|
141
141
|
t.dependencies = {
|
|
142
|
-
"cx-copy-button":
|
|
142
|
+
"cx-copy-button": f,
|
|
143
143
|
"cx-line-clamp": b,
|
|
144
144
|
"cx-resize-observer": _,
|
|
145
145
|
"cx-space": k,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../chunks/resizable-component.styles.kMFDlGgv.js";
|
|
2
|
-
import { C as b } from "../chunks/document-viewer.
|
|
2
|
+
import { C as b } from "../chunks/document-viewer.ZqrNpAA_.js";
|
|
3
3
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
4
4
|
import "../chunks/index.Cpamj0jB.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
@@ -10,7 +10,7 @@ import "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import "../chunks/when.Dr1es41R.js";
|
|
12
12
|
import "../chunks/icon.BLXWp6CU.js";
|
|
13
|
-
import "../chunks/image.
|
|
13
|
+
import "../chunks/image.2ZXc5UiB.js";
|
|
14
14
|
import "../chunks/typography.BLYdTF0n.js";
|
|
15
15
|
export {
|
|
16
16
|
b as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunks/resizable-component.styles.kMFDlGgv.js";
|
|
2
2
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import "../chunks/index.Cpamj0jB.js";
|
|
4
|
-
import { C as y } from "../chunks/image.
|
|
4
|
+
import { C as y } from "../chunks/image.2ZXc5UiB.js";
|
|
5
5
|
import "../chunks/position-picker.qkbJlboF.js";
|
|
6
6
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
7
7
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "./grid.js";
|
|
2
2
|
import f from "./grid-item.js";
|
|
3
3
|
import { C as v } from "../chunks/icon-button.BXs29IQE.js";
|
|
4
|
-
import { C as S } from "../chunks/image.
|
|
4
|
+
import { C as S } from "../chunks/image.2ZXc5UiB.js";
|
|
5
5
|
import $ from "./space.js";
|
|
6
6
|
import C from "./tooltip.js";
|
|
7
7
|
import { n as s, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as a } from "../chunks/asset-link-format.Bi9J8xCQ.js";
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.CecCeVOC.js";
|
|
3
3
|
import { default as C } from "./file-on-demand.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -349,12 +349,10 @@ let i = class extends S {
|
|
|
349
349
|
) : void 0;
|
|
350
350
|
let l = !1;
|
|
351
351
|
return t.forEach((r) => {
|
|
352
|
-
if (r === "")
|
|
353
|
-
return;
|
|
354
352
|
const c = e.find(
|
|
355
353
|
(h) => this.getOptionValue(h) === r
|
|
356
354
|
);
|
|
357
|
-
c ? o.push(c) : l = !0;
|
|
355
|
+
c ? o.push(c) : r !== "" && (l = !0);
|
|
358
356
|
}), l && n && o.push(n), {
|
|
359
357
|
options: o,
|
|
360
358
|
preserveValue: l && !!n
|
|
@@ -20,7 +20,7 @@ import { default as k } from "./details.js";
|
|
|
20
20
|
import { default as N } from "./diff.js";
|
|
21
21
|
import { C as U } from "../chunks/dialog.C2q9XwLW.js";
|
|
22
22
|
import { default as X } from "./divider.js";
|
|
23
|
-
import { C as K } from "../chunks/document-viewer.
|
|
23
|
+
import { C as K } from "../chunks/document-viewer.ZqrNpAA_.js";
|
|
24
24
|
import { C as q } from "../chunks/dot-pagination.BclVUAf7.js";
|
|
25
25
|
import { default as J } from "./dot-status.js";
|
|
26
26
|
import { default as Z } from "./drawer.js";
|
|
@@ -38,7 +38,7 @@ import { C as Sa } from "../chunks/hub-connection.BtevPWYb.js";
|
|
|
38
38
|
import { C as Da } from "../chunks/icon.BLXWp6CU.js";
|
|
39
39
|
import { C as Fa } from "../chunks/icon-button.BXs29IQE.js";
|
|
40
40
|
import { C as Pa } from "../chunks/iframe.e5XdCox5.js";
|
|
41
|
-
import { C as ha } from "../chunks/image.
|
|
41
|
+
import { C as ha } from "../chunks/image.2ZXc5UiB.js";
|
|
42
42
|
import { default as Oa } from "./image-comparer.js";
|
|
43
43
|
import { default as va } from "./include.js";
|
|
44
44
|
import { C as Va } from "../chunks/input.zRoRq5mq.js";
|
|
@@ -86,7 +86,7 @@ import { default as mt } from "./visually-hidden.js";
|
|
|
86
86
|
import { fontAwesomeIconNames as pt, getAnimationNames as ft, getEasingNames as Ct } from "./atoms.js";
|
|
87
87
|
import { c as ut } from "../chunks/component.styles.CAS3c9pM.js";
|
|
88
88
|
import { g as gt, a as Tt, s as At } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
89
|
-
import { u as It, v as Dt, V as bt, w as Ft, o as yt, n as Pt, m as Et, Y as ht, Z as Rt, _ as Ot, a0 as Lt, $ as vt, a1 as Bt, a2 as Vt, a3 as Mt, a4 as _t, a5 as Gt, k as kt, W as wt, x as Nt, X as Ht, y as Ut, z as zt, A as Xt, j as Wt, a6 as Kt, B as jt, D as qt, E as Yt, G as Jt, a7 as Qt, h as Zt, H as $t, J as ao, f as eo, S as to, T as oo, a8 as ro, e as so, K as xo, L as io, M as lo, N as mo, P as no, a9 as po, aa as fo, Q as Co, R as uo, ab as co, ac as go, b as To, U as Ao, ad as So, ae as Io } from "../chunks/types.
|
|
89
|
+
import { u as It, v as Dt, V as bt, w as Ft, o as yt, n as Pt, m as Et, Y as ht, Z as Rt, _ as Ot, a0 as Lt, $ as vt, a1 as Bt, a2 as Vt, a3 as Mt, a4 as _t, a5 as Gt, k as kt, W as wt, x as Nt, X as Ht, y as Ut, z as zt, A as Xt, j as Wt, a6 as Kt, B as jt, D as qt, E as Yt, G as Jt, a7 as Qt, h as Zt, H as $t, J as ao, f as eo, S as to, T as oo, a8 as ro, e as so, K as xo, L as io, M as lo, N as mo, P as no, a9 as po, aa as fo, Q as Co, R as uo, ab as co, ac as go, b as To, U as Ao, ad as So, ae as Io } from "../chunks/types.D6xffHzq.js";
|
|
90
90
|
import { default as bo } from "./bicolor-picker.js";
|
|
91
91
|
import { default as yo } from "./border-input-group.js";
|
|
92
92
|
import { default as Eo } from "./color-swatch.js";
|
|
@@ -94,7 +94,7 @@ import { C as Ro } from "../chunks/confirm-popover.CeKZ8dF1.js";
|
|
|
94
94
|
import { default as Lo } from "./corner-position-input-group.js";
|
|
95
95
|
import { default as Bo } from "./cropper.js";
|
|
96
96
|
import { default as Mo } from "./dynamic-select.js";
|
|
97
|
-
import { C as Go, i as ko, j as wo } from "../chunks/color-swatch-group.
|
|
97
|
+
import { C as Go, i as ko, j as wo } from "../chunks/color-swatch-group.CecCeVOC.js";
|
|
98
98
|
import { C as Ho } from "../chunks/folder-select.lF4v6bbN.js";
|
|
99
99
|
import { default as zo } from "./masonry.js";
|
|
100
100
|
import { default as Wo } from "./padding-input-group.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as Bd, a as Ca, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as vs, a as Fn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Cb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Mb } from "../chunks/image.
|
|
4
|
+
import { C as Mb } from "../chunks/image.2ZXc5UiB.js";
|
|
5
5
|
import Db from "./resize-observer.js";
|
|
6
6
|
import { r as Pb, R as Lb, b as Ip, a as Rb } from "../chunks/resizable-component.styles.kMFDlGgv.js";
|
|
7
7
|
import { c as Ib } from "../chunks/component.styles.CAS3c9pM.js";
|
package/library/package.json
CHANGED
|
@@ -14,6 +14,10 @@ import { TemplateResult } from 'lit';
|
|
|
14
14
|
* @description Renders a popup menu of mention candidates, supports keyboard navigation, and notifies consumers when an item is selected.
|
|
15
15
|
*
|
|
16
16
|
* @csspart base - The popup base part exposed by `cx-popup`.
|
|
17
|
+
*
|
|
18
|
+
* @cssproperty [--max-list-width=40rem] - Only with `wrap-items`: width at which item text
|
|
19
|
+
* wraps. Until then the list grows with its content — rightward, then leftward once the
|
|
20
|
+
* popup's right edge is pinned at the viewport.
|
|
17
21
|
*/
|
|
18
22
|
export default class CxMentions extends CortexElement {
|
|
19
23
|
static readonly styles: import('lit').CSSResult;
|
|
@@ -30,12 +34,25 @@ export default class CxMentions extends CortexElement {
|
|
|
30
34
|
anchor: CxPopup['anchor'] | undefined;
|
|
31
35
|
items: AutocompleteItem[];
|
|
32
36
|
searchTerm: string;
|
|
37
|
+
/**
|
|
38
|
+
* Lets the list grow with its content: rightward until it reaches the viewport edge, then
|
|
39
|
+
* leftward with the right edge pinned there (via the popup's shift), wrapping item text
|
|
40
|
+
* at `--max-list-width` (or when even the full viewport width is not enough). Off by
|
|
41
|
+
* default so mention kinds with short labels keep the popup's natural sizing.
|
|
42
|
+
*/
|
|
43
|
+
wrapItems: boolean;
|
|
33
44
|
noItemsMessage: string;
|
|
34
45
|
onSelect: ((value: {
|
|
35
46
|
id: string;
|
|
36
47
|
label: string;
|
|
37
48
|
type?: string;
|
|
38
49
|
} | undefined, key?: 'Enter') => void) | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Gap kept between the popup and the viewport edges. Single source for the popup's
|
|
52
|
+
* flip/shift/auto-size paddings; the wrap-items max-width in the styles hardcodes
|
|
53
|
+
* 2 × this value and must stay in sync.
|
|
54
|
+
*/
|
|
55
|
+
private static readonly VIEWPORT_PADDING;
|
|
39
56
|
selectedIndex: number;
|
|
40
57
|
private getMentionLabel;
|
|
41
58
|
private handleSelect;
|
|
@@ -36,7 +36,8 @@ export default class CxLightbox extends CortexElement {
|
|
|
36
36
|
*/
|
|
37
37
|
open: boolean;
|
|
38
38
|
/**
|
|
39
|
-
* Array of slide items to display.
|
|
39
|
+
* Array of slide items to display. Previews always fit and center the image,
|
|
40
|
+
* ignoring each item's object fit and crop focus.
|
|
40
41
|
*/
|
|
41
42
|
data: GalleryItem[];
|
|
42
43
|
/**
|
|
@@ -6970,6 +6970,10 @@
|
|
|
6970
6970
|
*
|
|
6971
6971
|
*/
|
|
6972
6972
|
searchTerm?: string;
|
|
6973
|
+
/**
|
|
6974
|
+
* Lets the list grow with its content: rightward until it reaches the viewport edge, then leftward with the right edge pinned there (via the popup's shift), wrapping item text at `--max-list-width` (or when even the full viewport width is not enough). Off by default so mention kinds with short labels keep the popup's natural sizing.
|
|
6975
|
+
*/
|
|
6976
|
+
wrapItems?: boolean;
|
|
6973
6977
|
/**
|
|
6974
6978
|
*
|
|
6975
6979
|
*/
|