@supersoniks/concorde 3.2.3 → 3.2.4

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.
@@ -556,7 +556,7 @@ let T = (D = class {
556
556
  const h = await new Response(l.readable).arrayBuffer();
557
557
  return new TextDecoder().decode(h);
558
558
  }
559
- }, D.buildDate = "Fri Oct 10 2025 09:53:53 GMT+0200 (Central European Summer Time)", D.changed = !1, D.saving = !1, D.saveId = 0, D.instance = null, D.instances = /* @__PURE__ */ new Map(), D.modifiedCollectore = [], D);
559
+ }, D.buildDate = "Mon Oct 13 2025 14:17:18 GMT+0200 (Central European Summer Time)", D.changed = !1, D.saving = !1, D.saveId = 0, D.instance = null, D.instances = /* @__PURE__ */ new Map(), D.modifiedCollectore = [], D);
560
560
  if (typeof window < "u") {
561
561
  const r = window;
562
562
  r[fs + "PublisherManager"] = r[fs + "PublisherManager"] || T;
@@ -2583,7 +2583,7 @@ let et = (H = class {
2583
2583
  * Copyright 2018 Google LLC
2584
2584
  * SPDX-License-Identifier: BSD-3-Clause
2585
2585
  */
2586
- const xr = "important", zo = " !" + xr, gt = ee(class extends De {
2586
+ const xr = "important", zo = " !" + xr, ut = ee(class extends De {
2587
2587
  constructor(r) {
2588
2588
  if (super(r), r.type !== be.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
2589
2589
  }
@@ -3403,7 +3403,7 @@ let I = class extends wi(Le(Z(w))) {
3403
3403
  <button
3404
3404
  part="button"
3405
3405
  class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
3406
- style=${gt(r)}
3406
+ style=${ut(r)}
3407
3407
  aria-controls=${$(this.ariaControls)}
3408
3408
  aria-expanded=${$(this.sonicAriaExpanded)}
3409
3409
  aria-label=${$(this.ariaLabel)}
@@ -4943,7 +4943,7 @@ let O = class extends w {
4943
4943
  zIndex: "10000",
4944
4944
  maxWidth: "64ch",
4945
4945
  flexDirection: "column-reverse"
4946
- }), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${gt(i)}>
4946
+ }), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${ut(i)}>
4947
4947
  ${Ls(
4948
4948
  this.toasts,
4949
4949
  (s) => s.id,
@@ -8256,7 +8256,7 @@ class Nr {
8256
8256
  this.u.disconnect();
8257
8257
  }
8258
8258
  }
8259
- var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, ft = (r, t, i, s) => {
8259
+ var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
8260
8260
  for (var e = s > 1 ? void 0 : s ? Cl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8261
8261
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8262
8262
  return s && e && $l(t, i, e), e;
@@ -8448,52 +8448,52 @@ at.styles = [
8448
8448
  }
8449
8449
  `
8450
8450
  ];
8451
- ft([
8451
+ mt([
8452
8452
  a({ type: String })
8453
8453
  ], at.prototype, "size", 2);
8454
- ft([
8454
+ mt([
8455
8455
  a({ type: String })
8456
8456
  ], at.prototype, "placeholder", 2);
8457
- ft([
8457
+ mt([
8458
8458
  a()
8459
8459
  ], at.prototype, "filteredFields", 2);
8460
- ft([
8460
+ mt([
8461
8461
  a({ type: Boolean, reflect: !0 })
8462
8462
  ], at.prototype, "readonly", 2);
8463
- ft([
8463
+ mt([
8464
8464
  a({ type: String })
8465
8465
  ], at.prototype, "dataProviderExpression", 2);
8466
- ft([
8466
+ mt([
8467
8467
  a({ type: Number })
8468
8468
  ], at.prototype, "minSearchLength", 2);
8469
- ft([
8469
+ mt([
8470
8470
  a({ type: Boolean })
8471
8471
  ], at.prototype, "select", 2);
8472
- ft([
8472
+ mt([
8473
8473
  a({ type: String })
8474
8474
  ], at.prototype, "key", 2);
8475
- ft([
8475
+ mt([
8476
8476
  a({ type: String })
8477
8477
  ], at.prototype, "searchParameter", 2);
8478
- ft([
8478
+ mt([
8479
8479
  a({ type: String })
8480
8480
  ], at.prototype, "propertyName", 2);
8481
- ft([
8481
+ mt([
8482
8482
  dt({ slot: "prefix", flatten: !0 })
8483
8483
  ], at.prototype, "slotInputPrefixNodes", 2);
8484
- ft([
8484
+ mt([
8485
8485
  L()
8486
8486
  ], at.prototype, "hasInputPrefix", 2);
8487
- ft([
8487
+ mt([
8488
8488
  L()
8489
8489
  ], at.prototype, "isPopVisible", 2);
8490
- ft([
8490
+ mt([
8491
8491
  L()
8492
8492
  ], at.prototype, "lastValidSearch", 2);
8493
- at = ft([
8493
+ at = mt([
8494
8494
  _("sonic-input-autocomplete")
8495
8495
  ], at);
8496
- var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
8496
+ var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, gt = (r, t, i, s) => {
8497
8497
  for (var e = s > 1 ? void 0 : s ? Al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8498
8498
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8499
8499
  return s && e && Sl(t, i, e), e;
@@ -8539,49 +8539,49 @@ let lt = class extends se(w) {
8539
8539
  `;
8540
8540
  }
8541
8541
  };
8542
- mt([
8542
+ gt([
8543
8543
  a()
8544
8544
  ], lt.prototype, "name", 2);
8545
- mt([
8545
+ gt([
8546
8546
  a()
8547
8547
  ], lt.prototype, "minChars", 2);
8548
- mt([
8548
+ gt([
8549
8549
  L()
8550
8550
  ], lt.prototype, "hasNoChar", 2);
8551
- mt([
8551
+ gt([
8552
8552
  L()
8553
8553
  ], lt.prototype, "hasEnoughChars", 2);
8554
- mt([
8554
+ gt([
8555
8555
  L()
8556
8556
  ], lt.prototype, "hasMinuscule", 2);
8557
- mt([
8557
+ gt([
8558
8558
  L()
8559
8559
  ], lt.prototype, "hasMajuscule", 2);
8560
- mt([
8560
+ gt([
8561
8561
  L()
8562
8562
  ], lt.prototype, "hasNumber", 2);
8563
- mt([
8563
+ gt([
8564
8564
  L()
8565
8565
  ], lt.prototype, "hasSpecialChar", 2);
8566
- mt([
8566
+ gt([
8567
8567
  a()
8568
8568
  ], lt.prototype, "wording_password_helper_decription", 2);
8569
- mt([
8569
+ gt([
8570
8570
  a()
8571
8571
  ], lt.prototype, "wording_password_helper_min_length", 2);
8572
- mt([
8572
+ gt([
8573
8573
  a()
8574
8574
  ], lt.prototype, "wording_password_helper_lower_case", 2);
8575
- mt([
8575
+ gt([
8576
8576
  a()
8577
8577
  ], lt.prototype, "wording_password_helper_upper_case", 2);
8578
- mt([
8578
+ gt([
8579
8579
  a()
8580
8580
  ], lt.prototype, "wording_password_helper_number", 2);
8581
- mt([
8581
+ gt([
8582
8582
  a()
8583
8583
  ], lt.prototype, "wording_password_helper_special_char", 2);
8584
- lt = mt([
8584
+ lt = gt([
8585
8585
  _(kl)
8586
8586
  ], lt);
8587
8587
  var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ve = (r, t, i, s) => {
@@ -8656,7 +8656,7 @@ var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Kt = (r, t
8656
8656
  return s && e && El(t, i, e), e;
8657
8657
  };
8658
8658
  const Tl = "sonic-checkbox";
8659
- let ut = class extends wi(
8659
+ let ft = class extends wi(
8660
8660
  Es(Le(Z(w)))
8661
8661
  ) {
8662
8662
  constructor() {
@@ -8706,7 +8706,7 @@ let ut = class extends wi(
8706
8706
  `;
8707
8707
  }
8708
8708
  };
8709
- ut.styles = [
8709
+ ft.styles = [
8710
8710
  Mt,
8711
8711
  P`
8712
8712
  :host {
@@ -8834,38 +8834,38 @@ ut.styles = [
8834
8834
  ];
8835
8835
  Kt([
8836
8836
  a({ type: Boolean, reflect: !0 })
8837
- ], ut.prototype, "touched", 2);
8837
+ ], ft.prototype, "touched", 2);
8838
8838
  Kt([
8839
8839
  a({ type: String })
8840
- ], ut.prototype, "iconName", 2);
8840
+ ], ft.prototype, "iconName", 2);
8841
8841
  Kt([
8842
8842
  a({ type: String })
8843
- ], ut.prototype, "indeterminateIconName", 2);
8843
+ ], ft.prototype, "indeterminateIconName", 2);
8844
8844
  Kt([
8845
8845
  a({ type: Boolean })
8846
- ], ut.prototype, "showAsIndeterminate", 2);
8846
+ ], ft.prototype, "showAsIndeterminate", 2);
8847
8847
  Kt([
8848
8848
  a({ type: Boolean })
8849
- ], ut.prototype, "hasDescription", 2);
8849
+ ], ft.prototype, "hasDescription", 2);
8850
8850
  Kt([
8851
8851
  a({ type: Boolean })
8852
- ], ut.prototype, "hasLabel", 2);
8852
+ ], ft.prototype, "hasLabel", 2);
8853
8853
  Kt([
8854
8854
  dt({ flatten: !0 })
8855
- ], ut.prototype, "slotLabelNodes", 2);
8855
+ ], ft.prototype, "slotLabelNodes", 2);
8856
8856
  Kt([
8857
8857
  dt({ slot: "description", flatten: !0 })
8858
- ], ut.prototype, "slotDescriptionNodes", 2);
8859
- ut = Kt([
8858
+ ], ft.prototype, "slotDescriptionNodes", 2);
8859
+ ft = Kt([
8860
8860
  _(Tl)
8861
- ], ut);
8861
+ ], ft);
8862
8862
  var Ml = Object.getOwnPropertyDescriptor, Il = (r, t, i, s) => {
8863
8863
  for (var e = s > 1 ? void 0 : s ? Ml(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8864
8864
  (n = r[o]) && (e = n(e) || e);
8865
8865
  return e;
8866
8866
  };
8867
8867
  const jl = "sonic-radio";
8868
- let Zs = class extends ut {
8868
+ let Zs = class extends ft {
8869
8869
  constructor() {
8870
8870
  super(), this.radio = !0;
8871
8871
  }
@@ -8874,7 +8874,7 @@ let Zs = class extends ut {
8874
8874
  }
8875
8875
  };
8876
8876
  Zs.styles = [
8877
- ut.styles,
8877
+ ft.styles,
8878
8878
  P`
8879
8879
  :host input {
8880
8880
  border-radius: 50%;
@@ -8902,13 +8902,13 @@ var Fl = Object.getOwnPropertyDescriptor, zl = (r, t, i, s) => {
8902
8902
  return e;
8903
8903
  };
8904
8904
  const Rl = "sonic-switch";
8905
- let Gs = class extends ut {
8905
+ let Gs = class extends ft {
8906
8906
  constructor() {
8907
8907
  super(), this.unique = !0;
8908
8908
  }
8909
8909
  };
8910
8910
  Gs.styles = [
8911
- ut.styles,
8911
+ ft.styles,
8912
8912
  P`
8913
8913
  sonic-icon {
8914
8914
  display: none;
@@ -9303,7 +9303,7 @@ let ct = class extends Es(Le(Z(w))) {
9303
9303
  class="form-element textarea custom-scroll"
9304
9304
  aria-label=${$(this.ariaLabel)}
9305
9305
  aria-labelledby=${$(this.ariaLabelledby)}
9306
- style=${gt(r)}
9306
+ style=${ut(r)}
9307
9307
  >
9308
9308
  ${this.value}</textarea
9309
9309
  >
@@ -9712,7 +9712,7 @@ let Ze = class extends w {
9712
9712
  flexDirection: this.direction,
9713
9713
  justifyContent: this.justify
9714
9714
  };
9715
- return m`<slot style=${gt(r)}></slot>`;
9715
+ return m`<slot style=${ut(r)}></slot>`;
9716
9716
  }
9717
9717
  };
9718
9718
  Ze.styles = [
@@ -9777,7 +9777,7 @@ let Nt = class extends w {
9777
9777
  @slotchange=${this.hasSlotOrProps}
9778
9778
  ></slot
9779
9779
  ></span>
9780
- <slot class="main-slot" style=${gt(r)}></slot>
9780
+ <slot class="main-slot" style=${ut(r)}></slot>
9781
9781
  <slot
9782
9782
  name="description"
9783
9783
  @slotchange=${this.hasSlotOrProps}
@@ -9870,7 +9870,7 @@ let $t = class extends w {
9870
9870
  src="${this.src}"
9871
9871
  loading="${this.loading}"
9872
9872
  alt="${this.alt}"
9873
- style=${gt(r)}
9873
+ style=${ut(r)}
9874
9874
  /></picture>
9875
9875
  </div>`;
9876
9876
  }
@@ -10004,12 +10004,15 @@ let ht = class extends w {
10004
10004
  }
10005
10005
  updated(r) {
10006
10006
  const t = this.querySelector(".more-btn");
10007
- this.size && t && t.setAttribute("size", this.size), this.querySelectorAll("sonic-divider").forEach((s) => {
10008
- s.hasAttribute("size") || s.setAttribute("size", "xs");
10009
- }), super.updated(r);
10007
+ this.size && t && t.setAttribute("size", this.size), super.updated(r);
10008
+ }
10009
+ setDividersSize(r) {
10010
+ r.forEach((t) => {
10011
+ t.setAttribute("size", "sm"), this.direction == "row" ? t.style.setProperty("margin", "0 .1rem ") : t.style.setProperty("margin", " 0.1rem 0");
10012
+ });
10010
10013
  }
10011
10014
  mainSlotChange() {
10012
- this.setChildrenSize(this.menuChildren), this.updateIsScollable(), this.updateScrollPosition(), this.observeMenuItemsAttributes();
10015
+ this.setChildrenSize(this.menuChildren), this.setDividersSize(this.menuChildren), this.updateIsScollable(), this.updateScrollPosition(), this.observeMenuItemsAttributes();
10013
10016
  }
10014
10017
  observeMenuItemsAttributes() {
10015
10018
  this.attributeObserver?.disconnect(), this.attributeObserver = new MutationObserver(() => {
@@ -10072,28 +10075,34 @@ let ht = class extends w {
10072
10075
  render() {
10073
10076
  const r = {
10074
10077
  minWidth: this.minWidth,
10075
- flexDirection: this.direction,
10076
- gap: this.gap
10078
+ flexDirection: this.direction
10077
10079
  }, t = this.direction == "row", i = {
10080
+ gap: this.gap,
10081
+ flexDirection: this.direction
10082
+ }, s = {
10078
10083
  display: "block",
10079
10084
  alignSelf: t ? "center" : "flex-start",
10080
10085
  justifySelf: "center",
10081
10086
  flexDirection: this.direction
10082
- }, s = {
10087
+ }, e = {
10083
10088
  marginLeft: t ? "" : ".55em"
10084
10089
  };
10085
10090
  return m`<menu
10086
10091
  part="menu"
10087
10092
  class="shadowable"
10088
- style=${gt(r)}
10093
+ style=${ut(r)}
10089
10094
  >
10090
- <slot @slotchange=${this.mainSlotChange} id="menu-content"></slot>
10095
+ <slot
10096
+ @slotchange=${this.mainSlotChange}
10097
+ id="menu-content"
10098
+ style=${ut(i)}
10099
+ ></slot>
10091
10100
  <sonic-pop
10092
- style=${gt(i)}
10101
+ style=${ut(s)}
10093
10102
  class=${this.hasMoreElements ? "" : "hidden"}
10094
10103
  >
10095
10104
  <sonic-menu-item
10096
- style=${gt(s)}
10105
+ style=${ut(e)}
10097
10106
  class="more-btn"
10098
10107
  shape=${this.moreShape}
10099
10108
  align="center"
@@ -10130,17 +10139,19 @@ ht.styles = [
10130
10139
  }
10131
10140
 
10132
10141
  /* SCROLLABLE*/
10142
+ #menu-content {
10143
+ display: flex;
10144
+ padding: 0.35em;
10145
+ margin: 0;
10146
+ }
10147
+
10133
10148
  :host([scrollable]) #menu-content {
10134
10149
  scrollbar-width: none;
10135
10150
  max-width: 100%;
10136
10151
  -ms-overflow-style: none;
10137
10152
  scroll-snap-align: start;
10138
10153
  white-space: nowrap;
10139
- display: flex;
10140
- gap: var(--sc-menu-gap);
10141
10154
  border-radius: min(calc(var(--sc-btn-rounded) * 2), 0.4em);
10142
- margin: 0;
10143
- padding: 0.35em;
10144
10155
  transition: mask-image 0.15s linear;
10145
10156
  }
10146
10157
 
@@ -10273,7 +10284,7 @@ vt([
10273
10284
  ge("#menu-content")
10274
10285
  ], ht.prototype, "menuContent", 2);
10275
10286
  vt([
10276
- ke({ selector: "sonic-menu-item" })
10287
+ ke({ selector: "*" })
10277
10288
  ], ht.prototype, "menuChildren", 2);
10278
10289
  vt([
10279
10290
  ke({ slot: "more", selector: "*" })
@@ -10517,14 +10528,14 @@ let M = class extends Z(w) {
10517
10528
  <div
10518
10529
  id="backdrop"
10519
10530
  @click=${this.handleOverlayClick}
10520
- style=${gt(t)}
10531
+ style=${ut(t)}
10521
10532
  ></div>
10522
10533
  <dialog
10523
10534
  id="modal"
10524
10535
  part="modal"
10525
10536
  class="custom-scroll"
10526
10537
  aria-modal="true"
10527
- style=${gt(r)}
10538
+ style=${ut(r)}
10528
10539
  >
10529
10540
  ${this._animationState !== "hidden" ? m`<div id="modal-content">
10530
10541
  ${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close></sonic-modal-close>` : S}
@@ -11764,7 +11775,7 @@ let Wt = class extends w {
11764
11775
  };
11765
11776
  return m`<th
11766
11777
  part="th"
11767
- style=${gt(r)}
11778
+ style=${ut(r)}
11768
11779
  colspan=${$(this.colSpan)}
11769
11780
  rowspan=${$(this.rowSpan)}
11770
11781
  >
@@ -11835,7 +11846,7 @@ let Tt = class extends w {
11835
11846
  maxWidth: this.maxWidth,
11836
11847
  width: this.width
11837
11848
  };
11838
- return m`<td part="td" style=${gt(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
11849
+ return m`<td part="td" style=${ut(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
11839
11850
  <slot></slot>
11840
11851
  </td>`;
11841
11852
  }
@@ -11999,7 +12010,7 @@ let te = class extends w {
11999
12010
  return m`
12000
12011
  <div
12001
12012
  class="table-container ${this.noCustomScroll ? "" : "custom-scroll"}"
12002
- style=${gt(r)}
12013
+ style=${ut(r)}
12003
12014
  >
12004
12015
  <div class="table">
12005
12016
  <slot></slot>