@orangelogic/design-system 2.51.0 → 2.52.0-pr81589.3

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.
@@ -22,7 +22,7 @@ import Ot from "../components/input.js";
22
22
  import { C as Nt } from "./option.CPTRiPaF.js";
23
23
  import jt from "../components/progress-bar.js";
24
24
  import Mt from "../components/relative-time.js";
25
- import { C as Bt } from "./select.ByWIHETd.js";
25
+ import { C as Bt } from "./select.BDpK9_aO.js";
26
26
  import Vt from "../components/space.js";
27
27
  import Ht from "../components/tab.js";
28
28
  import { C as Wt } from "./tab-group.B6aKJLVZ.js";
@@ -1,6 +1,6 @@
1
1
  import G from "../components/icon.js";
2
2
  import Z from "../components/input.js";
3
- import { C as J } from "./select.ByWIHETd.js";
3
+ import { C as J } from "./select.BDpK9_aO.js";
4
4
  import { C as x, a as K } from "./tree.DQDSYKYi.js";
5
5
  import { n as r, C as I, x as f, c as w, i as X } from "./custom-element.vnXBMQxc.js";
6
6
  import { h as k, F as Y, b as A } from "./endpoints.BgyupJys.js";
@@ -1,15 +1,15 @@
1
- import O from "../components/line-clamp.js";
1
+ import w from "../components/line-clamp.js";
2
2
  import { C } from "./typography.BFpl0WMA.js";
3
3
  import { i as S, n as o, C as k, x as p, E as z, c as D } from "./custom-element.vnXBMQxc.js";
4
4
  import { c as I } from "./component.styles.CI-v8BZa.js";
5
5
  import { f as L } from "./form-control.styles.NE2Q-quE.js";
6
- import { s as w, a as x, g as y, b as v } from "./animation-registry.DavRkTTr.js";
6
+ import { s as O, a as x, g as y, b as v } from "./animation-registry.DavRkTTr.js";
7
7
  import { d as $ } from "./default-value.CIKAvD5l.js";
8
8
  import { w as _ } from "./event.mFzZi4sr.js";
9
9
  import { F as E } from "./form.DycFDdkp.js";
10
10
  import { L as T } from "./i18n.GsJkEfVA.js";
11
- import { s as A } from "./scroll.DwPiX2Ox.js";
12
- import { H as B } from "./slot.DJLm4Dig.js";
11
+ import { s as B } from "./scroll.DwPiX2Ox.js";
12
+ import { H as A } from "./slot.DJLm4Dig.js";
13
13
  import { w as h } from "./watch.BCJD77bD.js";
14
14
  import { r as f } from "./state.Cw55xXlb.js";
15
15
  import { e as u } from "./query.BBf1UFkC.js";
@@ -18,10 +18,10 @@ import { o as F } from "./unsafe-html.DyO9_Rsq.js";
18
18
  import { n as m } from "./when.Dr1es41R.js";
19
19
  import V from "../components/icon.js";
20
20
  import { C as d } from "./option.CPTRiPaF.js";
21
- import { C as P } from "./popup.d45CSCf5.js";
22
- import M from "../components/spinner.js";
21
+ import { C as M } from "./popup.d45CSCf5.js";
22
+ import P from "../components/spinner.js";
23
23
  import U from "../components/tag.js";
24
- const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.includes("Photoshop") || navigator.userAgent.includes("AfterEffect") || navigator.userAgent.includes("Illustrator"), R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), W = S`
24
+ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.includes("Photoshop") || navigator.userAgent.includes("AfterEffect") || navigator.userAgent.includes("Illustrator"), W = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), R = S`
25
25
  :host {
26
26
  display: block;
27
27
  }
@@ -163,7 +163,7 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
163
163
  }
164
164
 
165
165
  .form-control--has-label .select__tags {
166
- margin-top: var(--cx-spacing-x-small);
166
+ margin-top: var(--select-tags-margin-top, var(--cx-spacing-x-small));
167
167
  }
168
168
 
169
169
  /** In multiple mode, select__tags is displayed instead of display__input
@@ -243,14 +243,14 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
243
243
  border-radius: var(--cx-input-border-radius-small);
244
244
  font-size: var(--cx-input-font-size-small);
245
245
  min-height: var(--cx-input-height-small);
246
- padding-block: 0;
246
+ padding-block: var(--select-combobox-padding-block, 0);
247
247
  padding-inline: var(--cx-input-spacing-small);
248
248
  }
249
249
 
250
250
  .form-control:not(.form-control--has-label)
251
251
  .select--small.select--multiple
252
252
  .select__combobox {
253
- padding-block: 2px;
253
+ padding-block: var(--select-combobox-padding-block, 2px);
254
254
  }
255
255
 
256
256
  .form-control:not(.form-control--has-label)
@@ -278,21 +278,21 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
278
278
  }
279
279
 
280
280
  .select--small .select__tags {
281
- gap: 2px;
281
+ gap: var(--select-tags-gap, 2px);
282
282
  }
283
283
 
284
284
  .select--medium .select__combobox {
285
285
  border-radius: var(--cx-input-border-radius-medium);
286
286
  font-size: var(--cx-input-font-size-small);
287
287
  min-height: var(--cx-input-height-medium);
288
- padding-block: 0;
288
+ padding-block: var(--select-combobox-padding-block, 0);
289
289
  padding-inline: var(--cx-input-spacing-medium);
290
290
  }
291
291
 
292
292
  .form-control:not(.form-control--has-label)
293
293
  .select--medium.select--multiple
294
294
  .select__combobox {
295
- padding-block: 3px;
295
+ padding-block: var(--select-combobox-padding-block, 3px);
296
296
  }
297
297
 
298
298
  .select--medium .select__clear {
@@ -304,21 +304,21 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
304
304
  }
305
305
 
306
306
  .select--medium .select__tags {
307
- gap: 3px;
307
+ gap: var(--select-tags-gap, 3px);
308
308
  }
309
309
 
310
310
  .select--large .select__combobox {
311
311
  border-radius: var(--cx-input-border-radius-large);
312
312
  font-size: var(--cx-input-font-size-small);
313
313
  min-height: var(--cx-input-height-large);
314
- padding-block: 0;
314
+ padding-block: var(--select-combobox-padding-block, 0);
315
315
  padding-inline: var(--cx-input-spacing-large);
316
316
  }
317
317
 
318
318
  .form-control:not(.form-control--has-label)
319
319
  .select--large.select--multiple
320
320
  .select__combobox {
321
- padding-block: 4px;
321
+ padding-block: var(--select-combobox-padding-block, 4px);
322
322
  }
323
323
 
324
324
  .select--large .select__clear {
@@ -330,7 +330,7 @@ const N = () => navigator.userAgent.includes("Cortex") || navigator.userAgent.in
330
330
  }
331
331
 
332
332
  .select--large .select__tags {
333
- gap: 4px;
333
+ gap: var(--select-tags-gap, 4px);
334
334
  }
335
335
 
336
336
  /* Pills */
@@ -603,7 +603,7 @@ let i = class extends k {
603
603
  constructor() {
604
604
  super(...arguments), this.formControlController = new E(this, {
605
605
  assumeInteractionOn: ["cx-input"]
606
- }), this.hasSlotController = new B(
606
+ }), this.hasSlotController = new A(
607
607
  this,
608
608
  "help-text",
609
609
  "label"
@@ -636,7 +636,7 @@ let i = class extends k {
636
636
  }, this.getOptionDisabled = (e) => {
637
637
  if (!(!e || !(e instanceof d)))
638
638
  return e.disabled;
639
- }, this.stayOpenOnSelect = !1, this.forceOnChange = !1, this.allowDefaultMouseDown = !1, this.noOptionText = "", this.handleDocumentFocusIn = (e) => {
639
+ }, this.stayOpenOnSelect = !1, this.closeOnSelectWhenMultiple = !1, this.forceOnChange = !1, this.allowDefaultMouseDown = !1, this.noOptionText = "", this.handleDocumentFocusIn = (e) => {
640
640
  const t = e.composedPath();
641
641
  this && !t.includes(this) && !this.stayOpenOnSelect && this.hide();
642
642
  }, this.handleDocumentKeyDown = (e) => {
@@ -672,7 +672,7 @@ let i = class extends k {
672
672
  this.emit("cx-input"), this.emit("cx-change");
673
673
  });
674
674
  }
675
- !this.multiple && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 }));
675
+ (!this.multiple || this.closeOnSelectWhenMultiple) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 }));
676
676
  }
677
677
  return;
678
678
  }
@@ -850,7 +850,7 @@ let i = class extends k {
850
850
  () => this.displayInput.focus({ preventScroll: !0 })
851
851
  ), (this.value !== n || this.forceOnChange) && this.updateComplete.then(() => {
852
852
  this.emit("cx-input"), this.emit("cx-change");
853
- }), !this.multiple && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
853
+ }), (!this.multiple || this.closeOnSelectWhenMultiple) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
854
854
  }
855
855
  handleDefaultSlotChange() {
856
856
  const e = this.getAllOptions(), t = Array.isArray(this.value) ? this.value : [this.value], l = [];
@@ -860,7 +860,7 @@ let i = class extends k {
860
860
  return;
861
861
  l.push(a);
862
862
  const r = n.tagName.toLowerCase();
863
- if (!R(n) && !customElements.get(r)) {
863
+ if (!W(n) && !customElements.get(r)) {
864
864
  customElements.whenDefined(r).then(() => this.handleDefaultSlotChange());
865
865
  return;
866
866
  }
@@ -965,7 +965,7 @@ let i = class extends k {
965
965
  const { keyframes: e, options: t } = y(this, "select.show", {
966
966
  dir: this.localize.dir()
967
967
  });
968
- await v(this.popup.popup, e, t), this.currentOption && A(this.currentOption, this.listbox, "vertical", "auto"), this.emit("cx-after-show");
968
+ await v(this.popup.popup, e, t), this.currentOption && B(this.currentOption, this.listbox, "vertical", "auto"), this.emit("cx-after-show");
969
969
  } else {
970
970
  this.emit("cx-hide"), this.removeOpenListeners(), await x(this);
971
971
  const { keyframes: e, options: t } = y(this, "select.hide", {
@@ -1229,13 +1229,13 @@ let i = class extends k {
1229
1229
  i.styles = [
1230
1230
  I,
1231
1231
  L,
1232
- W
1232
+ R
1233
1233
  ];
1234
1234
  i.dependencies = {
1235
1235
  "cx-icon": V,
1236
- "cx-line-clamp": O,
1237
- "cx-popup": P,
1238
- "cx-spinner": M,
1236
+ "cx-line-clamp": w,
1237
+ "cx-popup": M,
1238
+ "cx-spinner": P,
1239
1239
  "cx-tag": U,
1240
1240
  "cx-typography": C
1241
1241
  };
@@ -1392,6 +1392,9 @@ s([
1392
1392
  s([
1393
1393
  o({ attribute: "stay-open-on-select", type: Boolean })
1394
1394
  ], i.prototype, "stayOpenOnSelect", 2);
1395
+ s([
1396
+ o({ attribute: "close-on-select-when-multiple", type: Boolean })
1397
+ ], i.prototype, "closeOnSelectWhenMultiple", 2);
1395
1398
  s([
1396
1399
  o({ attribute: "force-on-change", type: Boolean })
1397
1400
  ], i.prototype, "forceOnChange", 2);
@@ -1422,14 +1425,14 @@ s([
1422
1425
  i = s([
1423
1426
  D("cx-select")
1424
1427
  ], i);
1425
- w("select.show", {
1428
+ O("select.show", {
1426
1429
  keyframes: [
1427
1430
  { opacity: 0, scale: 0.9 },
1428
1431
  { opacity: 1, scale: 1 }
1429
1432
  ],
1430
1433
  options: { duration: 100, easing: "ease" }
1431
1434
  });
1432
- w("select.hide", {
1435
+ O("select.hide", {
1433
1436
  keyframes: [
1434
1437
  { opacity: 1, scale: 1 },
1435
1438
  { opacity: 0, scale: 0.9 }
@@ -17,7 +17,7 @@ import L from "./icon.js";
17
17
  import K from "./icon-button.js";
18
18
  import tt from "./input.js";
19
19
  import { C as G } from "../chunks/option.CPTRiPaF.js";
20
- import { C as X } from "../chunks/select.ByWIHETd.js";
20
+ import { C as X } from "../chunks/select.BDpK9_aO.js";
21
21
  import { e as j } from "../chunks/query.BBf1UFkC.js";
22
22
  import { c as Q } from "../chunks/repeat.CauKaXyy.js";
23
23
  import { o as M } from "../chunks/style-map.CZovMmo_.js";
@@ -57,7 +57,7 @@ import { default as so } from "./range.js";
57
57
  import { default as Co } from "./rating.js";
58
58
  import { default as lo } from "./relative-time.js";
59
59
  import { default as io } from "./resize-observer.js";
60
- import { C as co } from "../chunks/select.ByWIHETd.js";
60
+ import { C as co } from "../chunks/select.BDpK9_aO.js";
61
61
  import { default as Io } from "./skeleton.js";
62
62
  import { default as So } from "./space.js";
63
63
  import { default as Do } from "./spinner.js";
@@ -1,6 +1,6 @@
1
1
  import u from "./input.js";
2
2
  import { C as h } from "../chunks/option.CPTRiPaF.js";
3
- import { C as m } from "../chunks/select.ByWIHETd.js";
3
+ import { C as m } from "../chunks/select.BDpK9_aO.js";
4
4
  import x from "./space.js";
5
5
  import { i as g, n as l, C, x as d, c as _ } from "../chunks/custom-element.vnXBMQxc.js";
6
6
  import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
@@ -1,7 +1,7 @@
1
1
  import { C as m } from "../chunks/button.CVc2wJ0B.js";
2
2
  import y from "./icon-button.js";
3
3
  import { C as l, a as b } from "../chunks/option.CPTRiPaF.js";
4
- import { C as g } from "../chunks/select.ByWIHETd.js";
4
+ import { C as g } from "../chunks/select.BDpK9_aO.js";
5
5
  import { n as o, C as $, x as h, c as x } from "../chunks/custom-element.vnXBMQxc.js";
6
6
  import { d as v } from "../chunks/popup.d45CSCf5.js";
7
7
  import { L as O } from "../chunks/i18n.GsJkEfVA.js";
@@ -1,4 +1,4 @@
1
- import { C as J } from "../chunks/file-on-demand.CoA1eDl7.js";
1
+ import { C as J } from "../chunks/file-on-demand.SSdM6tpu.js";
2
2
  import "./avatar.js";
3
3
  import "../chunks/button.CVc2wJ0B.js";
4
4
  import "../chunks/dialog.CLn29MZF.js";
@@ -11,7 +11,7 @@ import "./line-clamp.js";
11
11
  import "../chunks/option.CPTRiPaF.js";
12
12
  import "./progress-bar.js";
13
13
  import "./relative-time.js";
14
- import "../chunks/select.ByWIHETd.js";
14
+ import "../chunks/select.BDpK9_aO.js";
15
15
  import "./space.js";
16
16
  import "./tab.js";
17
17
  import "../chunks/tab-group.B6aKJLVZ.js";
@@ -1,9 +1,9 @@
1
1
  import "./icon.js";
2
2
  import "./input.js";
3
- import "../chunks/select.ByWIHETd.js";
3
+ import "../chunks/select.BDpK9_aO.js";
4
4
  import "../chunks/tree.DQDSYKYi.js";
5
5
  import "../chunks/custom-element.vnXBMQxc.js";
6
- import { C } from "../chunks/folder-select.Bq-NKzjL.js";
6
+ import { C } from "../chunks/folder-select.Z0-R-o2R.js";
7
7
  import "../chunks/component.styles.CI-v8BZa.js";
8
8
  import "../chunks/i18n.GsJkEfVA.js";
9
9
  import "../chunks/watch.BCJD77bD.js";
@@ -5,7 +5,7 @@ import { C } from "../chunks/confirm-popover.DfkoLeR6.js";
5
5
  import { default as u } from "./corner-position-input-group.js";
6
6
  import { C as m } from "../chunks/cropper.aA0v16xS.js";
7
7
  import { default as i } from "./dynamic-select.js";
8
- import { C as c } from "../chunks/folder-select.Bq-NKzjL.js";
8
+ import { C as c } from "../chunks/folder-select.Z0-R-o2R.js";
9
9
  import { C as P } from "../chunks/list-editor.H4eJhYPV.js";
10
10
  import { default as I } from "./masonry.js";
11
11
  import { default as y } from "./padding-input-group.js";
@@ -1,6 +1,6 @@
1
1
  import { default as a } from "./asset-link-format.js";
2
2
  import { C as t } from "../chunks/color-swatch-group.CUtNUbRn.js";
3
- import { C } from "../chunks/file-on-demand.CoA1eDl7.js";
3
+ import { C } from "../chunks/file-on-demand.SSdM6tpu.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,
6
6
  t as CxColorSwatchGroup,
@@ -10,7 +10,7 @@ import { n as g } from "../chunks/when.Dr1es41R.js";
10
10
  import { C as z } from "../chunks/button.CVc2wJ0B.js";
11
11
  import v from "./icon-button.js";
12
12
  import { C as $ } from "../chunks/option.CPTRiPaF.js";
13
- import { C as S } from "../chunks/select.ByWIHETd.js";
13
+ import { C as S } from "../chunks/select.BDpK9_aO.js";
14
14
  import I from "./tooltip.js";
15
15
  import { C as P } from "../chunks/typography.BFpl0WMA.js";
16
16
  import { c as w } from "../chunks/component.styles.CI-v8BZa.js";
@@ -10,7 +10,7 @@ import "../chunks/form.DycFDdkp.js";
10
10
  import "../chunks/i18n.GsJkEfVA.js";
11
11
  import "../chunks/scroll.DwPiX2Ox.js";
12
12
  import "../chunks/slot.DJLm4Dig.js";
13
- import { C as y } from "../chunks/select.ByWIHETd.js";
13
+ import { C as y } from "../chunks/select.BDpK9_aO.js";
14
14
  import "../chunks/watch.BCJD77bD.js";
15
15
  import "../chunks/state.Cw55xXlb.js";
16
16
  import "../chunks/query.BBf1UFkC.js";
@@ -1,6 +1,6 @@
1
1
  import f from "./icon-button.js";
2
2
  import d from "./input.js";
3
- import { C as g } from "../chunks/select.ByWIHETd.js";
3
+ import { C as g } from "../chunks/select.BDpK9_aO.js";
4
4
  import v from "./space.js";
5
5
  import k from "./tooltip.js";
6
6
  import { i as P, n as r, C as $, x as h, c as b } from "../chunks/custom-element.vnXBMQxc.js";
@@ -1,4 +1,4 @@
1
- import { i as m, n as i, C as p, x as g, c as u } from "../chunks/custom-element.vnXBMQxc.js";
1
+ import { i as m, n as i, C as u, x as g, c as p } from "../chunks/custom-element.vnXBMQxc.js";
2
2
  import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
3
3
  import { L as d } from "../chunks/i18n.GsJkEfVA.js";
4
4
  import { e as x } from "../chunks/class-map.CoZTSvbM.js";
@@ -24,11 +24,6 @@ const f = m`
24
24
  padding: 0;
25
25
  }
26
26
 
27
- .tag__content::part(content) {
28
- display: flex;
29
- align-items: center;
30
- }
31
-
32
27
  /*
33
28
  * Variant modifiers
34
29
  */
@@ -141,12 +136,12 @@ const f = m`
141
136
  padding-inline-end: 0;
142
137
  }
143
138
  `;
144
- var _ = Object.defineProperty, z = Object.getOwnPropertyDescriptor, a = (s, t, c, o) => {
145
- for (var e = o > 1 ? void 0 : o ? z(t, c) : t, l = s.length - 1, n; l >= 0; l--)
146
- (n = s[l]) && (e = (o ? n(t, c, e) : n(e)) || e);
147
- return o && e && _(t, c, e), e;
139
+ var z = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, e = (s, t, c, o) => {
140
+ for (var a = o > 1 ? void 0 : o ? _(t, c) : t, l = s.length - 1, n; l >= 0; l--)
141
+ (n = s[l]) && (a = (o ? n(t, c, a) : n(a)) || a);
142
+ return o && a && z(t, c, a), a;
148
143
  };
149
- let r = class extends p {
144
+ let r = class extends u {
150
145
  constructor() {
151
146
  super(...arguments), this.localize = new d(this), this.variant = "neutral", this.size = "medium", this.pill = !1, this.removable = !1;
152
147
  }
@@ -197,20 +192,20 @@ r.dependencies = {
197
192
  "cx-icon-button": h,
198
193
  "cx-line-clamp": b
199
194
  };
200
- a([
195
+ e([
201
196
  i({ reflect: !0 })
202
197
  ], r.prototype, "variant", 2);
203
- a([
198
+ e([
204
199
  i({ reflect: !0 })
205
200
  ], r.prototype, "size", 2);
206
- a([
201
+ e([
207
202
  i({ reflect: !0, type: Boolean })
208
203
  ], r.prototype, "pill", 2);
209
- a([
204
+ e([
210
205
  i({ type: Boolean })
211
206
  ], r.prototype, "removable", 2);
212
- r = a([
213
- u("cx-tag")
207
+ r = e([
208
+ p("cx-tag")
214
209
  ], r);
215
210
  export {
216
211
  r as default
@@ -57,7 +57,7 @@ import m9 from "./range.js";
57
57
  import { default as rGt } from "./rating.js";
58
58
  import { default as oGt } from "./relative-time.js";
59
59
  import qb from "./resize-observer.js";
60
- import { C as _d, i as oY } from "../chunks/select.ByWIHETd.js";
60
+ import { C as _d, i as oY } from "../chunks/select.BDpK9_aO.js";
61
61
  import { default as sGt } from "./skeleton.js";
62
62
  import vi from "./space.js";
63
63
  import lu from "./spinner.js";
@@ -110,12 +110,12 @@ import { h as lr, D as HR, c as rO, C as yh, T as S9, M as WY, d as UR } from ".
110
110
  import { o as Cr } from "../chunks/if-defined.MfEgpxEN.js";
111
111
  import { c as Qn } from "../chunks/repeat.CauKaXyy.js";
112
112
  import E9 from "./dynamic-select.js";
113
- import { F as Ku, C as T9, a as G_ } from "../chunks/folder-select.Bq-NKzjL.js";
113
+ import { F as Ku, C as T9, a as G_ } from "../chunks/folder-select.Z0-R-o2R.js";
114
114
  import { a as Io, E as Fn, b as Um, O as Ld, T as Fu, G as iO } from "../chunks/index.Cpamj0jB.js";
115
115
  import { C as MGt } from "../chunks/index.Cpamj0jB.js";
116
116
  import { g as A9, c as ry } from "../chunks/_commonjsHelpers.ByX85dGu.js";
117
- import { b as Qf, a as qR, d as oO, c as ak, s as GY, o as KY, U as O9, e as VR, i as Kd, f as YY } from "../chunks/file-on-demand.CoA1eDl7.js";
118
- import { C as NGt } from "../chunks/file-on-demand.CoA1eDl7.js";
117
+ import { b as Qf, a as qR, d as oO, c as ak, s as GY, o as KY, U as O9, e as VR, i as Kd, f as YY } from "../chunks/file-on-demand.SSdM6tpu.js";
118
+ import { C as NGt } from "../chunks/file-on-demand.SSdM6tpu.js";
119
119
  import { e as XY, t as JY } from "../chunks/directive.oAbCiebi.js";
120
120
  import { f as ZY, n as kl, e as _l } from "../chunks/ref.BaCjlzLO.js";
121
121
  import QY from "./masonry.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.51.0",
4
+ "version": "2.52.0-pr81589.3",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -240,6 +240,11 @@ export default class CxSelect extends CortexElement implements CortexFormControl
240
240
  */
241
241
  getOptionDisabled: (option: HTMLElement) => boolean | undefined;
242
242
  stayOpenOnSelect: boolean;
243
+ /**
244
+ * When set to true, the select will close after each selection even when `multiple` is true.
245
+ * This is ignored when `stay-open-on-select` is true.
246
+ */
247
+ closeOnSelectWhenMultiple: boolean;
243
248
  /**
244
249
  * When set to true, the `cx-change` event will be emitted on every change of the value, even if the value is not changed.
245
250
  */
@@ -3186,6 +3186,10 @@
3186
3186
  *
3187
3187
  */
3188
3188
  stayOpenOnSelect?: boolean;
3189
+ /**
3190
+ * When set to true, the select will close after each selection even when `multiple` is true. This is ignored when `stay-open-on-select` is true.
3191
+ */
3192
+ closeOnSelectWhenMultiple?: boolean;
3189
3193
  /**
3190
3194
  * When set to true, the `cx-change` event will be emitted on every change of the value, even if the value is not changed.
3191
3195
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.51.0",
4
+ "version": "2.52.0-pr81589.3",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {