@spscommerce/ds-web-components 8.23.17 → 8.24.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/dist/lib/index.js CHANGED
@@ -183,7 +183,7 @@ function dt(e, t) {
183
183
  if (t !== null)
184
184
  throw new Error(e + "() must come before any child declarations inside the current element.");
185
185
  }
186
- function ht(e, t, s, n) {
186
+ function ut(e, t, s, n) {
187
187
  Z(e);
188
188
  var i = e, r = t, o = r.nextSibling === s && r.previousSibling === n, p = r.nextSibling === i.nextSibling && r.previousSibling === n, b = r === i;
189
189
  if (!o && !p && !b)
@@ -238,7 +238,7 @@ var U = {
238
238
  * See the License for the specific language governing permissions and
239
239
  * limitations under the License.
240
240
  */
241
- var ut = (
241
+ var ht = (
242
242
  /** @class */
243
243
  function() {
244
244
  function e() {
@@ -423,28 +423,28 @@ function At(e) {
423
423
  * See the License for the specific language governing permissions and
424
424
  * limitations under the License.
425
425
  */
426
- var L = null, h = null, v = null, k = null, G = [], X = [];
426
+ var L = null, u = null, v = null, k = null, G = [], X = [];
427
427
  function J() {
428
428
  return X;
429
429
  }
430
430
  function Fe(e) {
431
431
  var t = function(s, n, i) {
432
- var r = L, o = k, p = G, b = X, f = h, C = v, S = !1, q = !1;
433
- L = new ut(), k = s.ownerDocument, X = [], v = s.parentNode, G = Ct(s, v), process.env.NODE_ENV !== "production" && (S = K(!1), q = Q(!1));
432
+ var r = L, o = k, p = G, b = X, f = u, C = v, S = !1, q = !1;
433
+ L = new ht(), k = s.ownerDocument, X = [], v = s.parentNode, G = Ct(s, v), process.env.NODE_ENV !== "production" && (S = K(!1), q = Q(!1));
434
434
  try {
435
435
  var Ze = e(s, n, i);
436
436
  return process.env.NODE_ENV !== "production" && ct(), Ze;
437
437
  } finally {
438
- k = o, X = b, h = f, v = C, G = p, L.notifyChanges(), K(S), Q(q), L = r;
438
+ k = o, X = b, u = f, v = C, G = p, L.notifyChanges(), K(S), Q(q), L = r;
439
439
  }
440
440
  };
441
441
  return t;
442
442
  }
443
443
  var Re = Fe(function(e, t, s) {
444
- return h = e, je(), t(s), Te(), process.env.NODE_ENV !== "production" && ot(h, e), e;
444
+ return u = e, je(), t(s), Te(), process.env.NODE_ENV !== "production" && ot(u, e), e;
445
445
  }), Dt = Fe(function(e, t, s) {
446
446
  var n = { nextSibling: e }, i = null, r = null;
447
- return process.env.NODE_ENV !== "production" && (i = e.nextSibling, r = e.previousSibling), h = n, t(s), process.env.NODE_ENV !== "production" && (lt(v), ht(n, h, i, r)), v && $e(v, Y(), e.nextSibling), n === h ? null : h;
447
+ return process.env.NODE_ENV !== "production" && (i = e.nextSibling, r = e.previousSibling), u = n, t(s), process.env.NODE_ENV !== "production" && (lt(v), ut(n, u, i, r)), v && $e(v, Y(), e.nextSibling), n === u ? null : u;
448
448
  });
449
449
  function Ce(e, t, s) {
450
450
  var n = $(e, s);
@@ -467,8 +467,8 @@ function Et(e, t) {
467
467
  return e === "#text" ? s = At(k) : s = Ot(k, v, e, t), L.markCreated(s), s;
468
468
  }
469
469
  function Be(e, t) {
470
- var s = Pt(h, e, t), n = s || Et(e, t);
471
- n !== h && (G.indexOf(n) >= 0 ? wt(v, n, h) : v.insertBefore(n, h), h = n);
470
+ var s = Pt(u, e, t), n = s || Et(e, t);
471
+ n !== u && (G.indexOf(n) >= 0 ? wt(v, n, u) : v.insertBefore(n, u), u = n);
472
472
  }
473
473
  function $e(e, t, s) {
474
474
  for (var n = e, i = t; i !== s; ) {
@@ -477,25 +477,25 @@ function $e(e, t, s) {
477
477
  }
478
478
  }
479
479
  function je() {
480
- v = h, h = null;
480
+ v = u, u = null;
481
481
  }
482
482
  function Y() {
483
- return h ? h.nextSibling : v.firstChild;
483
+ return u ? u.nextSibling : v.firstChild;
484
484
  }
485
485
  function de() {
486
- h = Y();
486
+ u = Y();
487
487
  }
488
488
  function Te() {
489
- $e(v, Y(), null), h = v, v = v.parentNode;
489
+ $e(v, Y(), null), u = v, v = v.parentNode;
490
490
  }
491
491
  function Ue(e, t) {
492
492
  return de(), Be(e, t), je(), v;
493
493
  }
494
494
  function ze() {
495
- return process.env.NODE_ENV !== "production" && Q(!1), Te(), h;
495
+ return process.env.NODE_ENV !== "production" && Q(!1), Te(), u;
496
496
  }
497
497
  function kt() {
498
- return de(), Be("#text", null), h;
498
+ return de(), Be("#text", null), u;
499
499
  }
500
500
  function It() {
501
501
  return process.env.NODE_ENV !== "production" && (Pe("currentElement", k), B("currentElement")), v;
@@ -504,7 +504,7 @@ function Lt() {
504
504
  return process.env.NODE_ENV !== "production" && (Pe("currentPointer", k), B("currentPointer")), Y();
505
505
  }
506
506
  function Ft() {
507
- process.env.NODE_ENV !== "production" && (dt("skip", h), Q(!0)), h = v.lastChild;
507
+ process.env.NODE_ENV !== "production" && (dt("skip", u), Q(!0)), u = v.lastChild;
508
508
  }
509
509
  /**
510
510
  * @license
@@ -545,7 +545,7 @@ function Rt(e, t, s) {
545
545
  z(e, o, s[x[o]]), delete x[o];
546
546
  }
547
547
  }
548
- function he(e, t, s) {
548
+ function ue(e, t, s) {
549
549
  process.env.NODE_ENV !== "production" && (B("elementOpen"), Ee("elementOpen"));
550
550
  var n = Ue(e, t), i = $(n);
551
551
  i.staticsApplied || Rt(n, i, s);
@@ -589,7 +589,7 @@ function jt(e, t) {
589
589
  function Tt() {
590
590
  var e = J();
591
591
  process.env.NODE_ENV !== "production" && (ce("elementOpenEnd"), K(!1)), Z(e);
592
- var t = he.apply(null, e);
592
+ var t = ue.apply(null, e);
593
593
  return le(e, 0), t;
594
594
  }
595
595
  function We(e) {
@@ -598,7 +598,7 @@ function We(e) {
598
598
  return process.env.NODE_ENV !== "production" && pt($(t).nameOrCtor, e), t;
599
599
  }
600
600
  function Ut(e, t, s) {
601
- return he.apply(null, arguments), We(e);
601
+ return ue.apply(null, arguments), We(e);
602
602
  }
603
603
  function zt(e) {
604
604
  process.env.NODE_ENV !== "production" && (B("text"), Ee("text"));
@@ -633,7 +633,7 @@ d.applyAttr = Ae;
633
633
  d.applyProp = De;
634
634
  d.attributes = W;
635
635
  d.close = ze;
636
- var ue = d.currentElement = It, se = d.currentPointer = Lt;
636
+ var he = d.currentElement = It, se = d.currentPointer = Lt;
637
637
  d.open = Ue;
638
638
  var Wt = d.patch = Re;
639
639
  d.patchInner = Re;
@@ -647,17 +647,17 @@ d.isDataInitialized = Nt;
647
647
  d.notifications = U;
648
648
  d.symbols = oe;
649
649
  var _e = d.attr = jt, Vt = d.elementClose = We;
650
- d.elementOpen = he;
650
+ d.elementOpen = ue;
651
651
  var Ht = d.elementOpenEnd = Tt, qt = d.elementOpenStart = Bt;
652
652
  d.elementVoid = Ut;
653
653
  var Gt = d.text = zt;
654
654
  d.key = $t;
655
655
  function Ne(e) {
656
656
  let t = se();
657
- return t instanceof Comment && t.data !== e ? t.data = e : (t = document.createComment(e), ue().appendChild(t)), ne(), t;
657
+ return t instanceof Comment && t.data !== e ? t.data = e : (t = document.createComment(e), he().appendChild(t)), ne(), t;
658
658
  }
659
659
  let Ve = Je;
660
- function hs(e) {
660
+ function us(e) {
661
661
  Ve = e;
662
662
  }
663
663
  function Xt() {
@@ -685,7 +685,7 @@ function re(e) {
685
685
  else if (Array.isArray(t) && t.length > 0) {
686
686
  let s = se();
687
687
  if (Ne(He), s === null) {
688
- const n = ue();
688
+ const n = he();
689
689
  for (let i = 0; i < t.length; i += 1)
690
690
  n.contains(t[i]) || n.appendChild(t[i]), ne();
691
691
  }
@@ -707,7 +707,7 @@ function a(e, t, ...s) {
707
707
  for (const r of Object.keys(t))
708
708
  r.toUpperCase() === "CLASSNAME" ? _e("class", t[r]) : /^on[A-Z]/.test(r) ? n.push(r) : _e(r, t[r]);
709
709
  Ht(e);
710
- const i = ue();
710
+ const i = he();
711
711
  if (!i[xe]) {
712
712
  for (const r of n)
713
713
  i.addEventListener(r.substr(2).toLowerCase(), t[r]);
@@ -719,7 +719,7 @@ function a(e, t, ...s) {
719
719
  function qe(e, t) {
720
720
  customElements.get(e) || customElements.define(e, t);
721
721
  }
722
- function us(...e) {
722
+ function hs(...e) {
723
723
  for (const t of e)
724
724
  qe(_.get(t, "tag"), t);
725
725
  }
@@ -932,7 +932,7 @@ var Ke = /* @__PURE__ */ ((e) => (e["7Z"] = "application/x-7z-compressed", e.AAC
932
932
  return n && i && Zt(t, s, i), i;
933
933
  };
934
934
  const g = "sps-file-upload";
935
- let u = class extends HTMLElement {
935
+ let h = class extends HTMLElement {
936
936
  constructor() {
937
937
  super(), this.shown = !0, this.files = [], this.acceptMIMETypes = /* @__PURE__ */ new Set(), this.active = !1, this.error = !1, this.namesOfUnsupportedFiles = [], this.handleBrowseLinkClick = this.handleBrowseLinkClick.bind(this), this.handleDownloadButtonClick = this.handleDownloadButtonClick.bind(this), this.handleFileInputChange = this.handleFileInputChange.bind(this), this.dismiss = this.dismiss.bind(this);
938
938
  }
@@ -1041,8 +1041,8 @@ let u = class extends HTMLElement {
1041
1041
  e.stopPropagation(), this.selectFiles(e.target.files);
1042
1042
  }
1043
1043
  };
1044
- u.displayName = g;
1045
- u.props = {
1044
+ h.displayName = g;
1045
+ h.props = {
1046
1046
  description: "string",
1047
1047
  multiple: "boolean",
1048
1048
  dismissable: "boolean",
@@ -1058,64 +1058,64 @@ u.props = {
1058
1058
  };
1059
1059
  m([
1060
1060
  c()
1061
- ], u.prototype, "description", 2);
1061
+ ], h.prototype, "description", 2);
1062
1062
  m([
1063
1063
  c(Boolean)
1064
- ], u.prototype, "multiple", 2);
1064
+ ], h.prototype, "multiple", 2);
1065
1065
  m([
1066
1066
  c(Boolean)
1067
- ], u.prototype, "shown", 2);
1067
+ ], h.prototype, "shown", 2);
1068
1068
  m([
1069
1069
  c(Boolean)
1070
- ], u.prototype, "dismissable", 2);
1070
+ ], h.prototype, "dismissable", 2);
1071
1071
  m([
1072
1072
  c(Boolean)
1073
- ], u.prototype, "processing", 2);
1073
+ ], h.prototype, "processing", 2);
1074
1074
  m([
1075
1075
  c(Boolean)
1076
- ], u.prototype, "mini", 2);
1076
+ ], h.prototype, "mini", 2);
1077
1077
  m([
1078
1078
  c(Boolean)
1079
- ], u.prototype, "constrainContentWidth", 2);
1079
+ ], h.prototype, "constrainContentWidth", 2);
1080
1080
  m([
1081
1081
  c()
1082
- ], u.prototype, "downloadLabel", 2);
1082
+ ], h.prototype, "downloadLabel", 2);
1083
1083
  m([
1084
1084
  c()
1085
- ], u.prototype, "acceptExtensions", 2);
1085
+ ], h.prototype, "acceptExtensions", 2);
1086
1086
  m([
1087
1087
  c()
1088
- ], u.prototype, "maxSize", 2);
1088
+ ], h.prototype, "maxSize", 2);
1089
1089
  m([
1090
1090
  c()
1091
- ], u.prototype, "customRequirement", 2);
1091
+ ], h.prototype, "customRequirement", 2);
1092
1092
  m([
1093
1093
  ge()
1094
- ], u.prototype, "selection", 2);
1094
+ ], h.prototype, "selection", 2);
1095
1095
  m([
1096
1096
  ge()
1097
- ], u.prototype, "dismissal", 2);
1097
+ ], h.prototype, "dismissal", 2);
1098
1098
  m([
1099
1099
  ge()
1100
- ], u.prototype, "download", 2);
1100
+ ], h.prototype, "download", 2);
1101
1101
  m([
1102
1102
  me("input[type='file']")
1103
- ], u.prototype, "fileInput", 2);
1103
+ ], h.prototype, "fileInput", 2);
1104
1104
  m([
1105
1105
  M("dragover")
1106
- ], u.prototype, "handleDragOver", 1);
1106
+ ], h.prototype, "handleDragOver", 1);
1107
1107
  m([
1108
1108
  M("dragenter")
1109
- ], u.prototype, "handleDragEnter", 1);
1109
+ ], h.prototype, "handleDragEnter", 1);
1110
1110
  m([
1111
1111
  M("dragleave")
1112
- ], u.prototype, "handleDragLeave", 1);
1112
+ ], h.prototype, "handleDragLeave", 1);
1113
1113
  m([
1114
1114
  M("drop")
1115
- ], u.prototype, "handleDrop", 1);
1116
- u = m([
1115
+ ], h.prototype, "handleDrop", 1);
1116
+ h = m([
1117
1117
  T({ tag: g })
1118
- ], u);
1118
+ ], h);
1119
1119
  const gs = {
1120
1120
  basic: {
1121
1121
  label: "Basic File Upload",
@@ -2232,7 +2232,7 @@ export {
2232
2232
  c as Prop,
2233
2233
  me as QuerySelector,
2234
2234
  Qt as QuerySelectorAll,
2235
- u as SpsFileUploadComponent,
2235
+ h as SpsFileUploadComponent,
2236
2236
  gs as SpsFileUploadExamples,
2237
2237
  N as SpsInsightCardComponent,
2238
2238
  ms as SpsInsightCardExamples,
@@ -2247,6 +2247,6 @@ export {
2247
2247
  Xe as Watch,
2248
2248
  a as h,
2249
2249
  fs as namespaceOverrideRegistrar,
2250
- us as register,
2251
- hs as webComponentsUseI18n
2250
+ hs as register,
2251
+ us as webComponentsUseI18n
2252
2252
  };
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-web-components",
3
3
  "description": "SPS Design System Native Web Components",
4
- "version": "8.23.17",
4
+ "version": "8.24.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-web-components",
package/lib/index.js CHANGED
@@ -183,7 +183,7 @@ function dt(e, t) {
183
183
  if (t !== null)
184
184
  throw new Error(e + "() must come before any child declarations inside the current element.");
185
185
  }
186
- function ht(e, t, s, n) {
186
+ function ut(e, t, s, n) {
187
187
  Z(e);
188
188
  var i = e, r = t, o = r.nextSibling === s && r.previousSibling === n, p = r.nextSibling === i.nextSibling && r.previousSibling === n, b = r === i;
189
189
  if (!o && !p && !b)
@@ -238,7 +238,7 @@ var U = {
238
238
  * See the License for the specific language governing permissions and
239
239
  * limitations under the License.
240
240
  */
241
- var ut = (
241
+ var ht = (
242
242
  /** @class */
243
243
  function() {
244
244
  function e() {
@@ -423,28 +423,28 @@ function At(e) {
423
423
  * See the License for the specific language governing permissions and
424
424
  * limitations under the License.
425
425
  */
426
- var L = null, h = null, v = null, k = null, G = [], X = [];
426
+ var L = null, u = null, v = null, k = null, G = [], X = [];
427
427
  function J() {
428
428
  return X;
429
429
  }
430
430
  function Fe(e) {
431
431
  var t = function(s, n, i) {
432
- var r = L, o = k, p = G, b = X, f = h, C = v, S = !1, q = !1;
433
- L = new ut(), k = s.ownerDocument, X = [], v = s.parentNode, G = Ct(s, v), process.env.NODE_ENV !== "production" && (S = K(!1), q = Q(!1));
432
+ var r = L, o = k, p = G, b = X, f = u, C = v, S = !1, q = !1;
433
+ L = new ht(), k = s.ownerDocument, X = [], v = s.parentNode, G = Ct(s, v), process.env.NODE_ENV !== "production" && (S = K(!1), q = Q(!1));
434
434
  try {
435
435
  var Ze = e(s, n, i);
436
436
  return process.env.NODE_ENV !== "production" && ct(), Ze;
437
437
  } finally {
438
- k = o, X = b, h = f, v = C, G = p, L.notifyChanges(), K(S), Q(q), L = r;
438
+ k = o, X = b, u = f, v = C, G = p, L.notifyChanges(), K(S), Q(q), L = r;
439
439
  }
440
440
  };
441
441
  return t;
442
442
  }
443
443
  var Re = Fe(function(e, t, s) {
444
- return h = e, je(), t(s), Te(), process.env.NODE_ENV !== "production" && ot(h, e), e;
444
+ return u = e, je(), t(s), Te(), process.env.NODE_ENV !== "production" && ot(u, e), e;
445
445
  }), Dt = Fe(function(e, t, s) {
446
446
  var n = { nextSibling: e }, i = null, r = null;
447
- return process.env.NODE_ENV !== "production" && (i = e.nextSibling, r = e.previousSibling), h = n, t(s), process.env.NODE_ENV !== "production" && (lt(v), ht(n, h, i, r)), v && $e(v, Y(), e.nextSibling), n === h ? null : h;
447
+ return process.env.NODE_ENV !== "production" && (i = e.nextSibling, r = e.previousSibling), u = n, t(s), process.env.NODE_ENV !== "production" && (lt(v), ut(n, u, i, r)), v && $e(v, Y(), e.nextSibling), n === u ? null : u;
448
448
  });
449
449
  function Ce(e, t, s) {
450
450
  var n = $(e, s);
@@ -467,8 +467,8 @@ function Et(e, t) {
467
467
  return e === "#text" ? s = At(k) : s = Ot(k, v, e, t), L.markCreated(s), s;
468
468
  }
469
469
  function Be(e, t) {
470
- var s = Pt(h, e, t), n = s || Et(e, t);
471
- n !== h && (G.indexOf(n) >= 0 ? wt(v, n, h) : v.insertBefore(n, h), h = n);
470
+ var s = Pt(u, e, t), n = s || Et(e, t);
471
+ n !== u && (G.indexOf(n) >= 0 ? wt(v, n, u) : v.insertBefore(n, u), u = n);
472
472
  }
473
473
  function $e(e, t, s) {
474
474
  for (var n = e, i = t; i !== s; ) {
@@ -477,25 +477,25 @@ function $e(e, t, s) {
477
477
  }
478
478
  }
479
479
  function je() {
480
- v = h, h = null;
480
+ v = u, u = null;
481
481
  }
482
482
  function Y() {
483
- return h ? h.nextSibling : v.firstChild;
483
+ return u ? u.nextSibling : v.firstChild;
484
484
  }
485
485
  function de() {
486
- h = Y();
486
+ u = Y();
487
487
  }
488
488
  function Te() {
489
- $e(v, Y(), null), h = v, v = v.parentNode;
489
+ $e(v, Y(), null), u = v, v = v.parentNode;
490
490
  }
491
491
  function Ue(e, t) {
492
492
  return de(), Be(e, t), je(), v;
493
493
  }
494
494
  function ze() {
495
- return process.env.NODE_ENV !== "production" && Q(!1), Te(), h;
495
+ return process.env.NODE_ENV !== "production" && Q(!1), Te(), u;
496
496
  }
497
497
  function kt() {
498
- return de(), Be("#text", null), h;
498
+ return de(), Be("#text", null), u;
499
499
  }
500
500
  function It() {
501
501
  return process.env.NODE_ENV !== "production" && (Pe("currentElement", k), B("currentElement")), v;
@@ -504,7 +504,7 @@ function Lt() {
504
504
  return process.env.NODE_ENV !== "production" && (Pe("currentPointer", k), B("currentPointer")), Y();
505
505
  }
506
506
  function Ft() {
507
- process.env.NODE_ENV !== "production" && (dt("skip", h), Q(!0)), h = v.lastChild;
507
+ process.env.NODE_ENV !== "production" && (dt("skip", u), Q(!0)), u = v.lastChild;
508
508
  }
509
509
  /**
510
510
  * @license
@@ -545,7 +545,7 @@ function Rt(e, t, s) {
545
545
  z(e, o, s[x[o]]), delete x[o];
546
546
  }
547
547
  }
548
- function he(e, t, s) {
548
+ function ue(e, t, s) {
549
549
  process.env.NODE_ENV !== "production" && (B("elementOpen"), Ee("elementOpen"));
550
550
  var n = Ue(e, t), i = $(n);
551
551
  i.staticsApplied || Rt(n, i, s);
@@ -589,7 +589,7 @@ function jt(e, t) {
589
589
  function Tt() {
590
590
  var e = J();
591
591
  process.env.NODE_ENV !== "production" && (ce("elementOpenEnd"), K(!1)), Z(e);
592
- var t = he.apply(null, e);
592
+ var t = ue.apply(null, e);
593
593
  return le(e, 0), t;
594
594
  }
595
595
  function We(e) {
@@ -598,7 +598,7 @@ function We(e) {
598
598
  return process.env.NODE_ENV !== "production" && pt($(t).nameOrCtor, e), t;
599
599
  }
600
600
  function Ut(e, t, s) {
601
- return he.apply(null, arguments), We(e);
601
+ return ue.apply(null, arguments), We(e);
602
602
  }
603
603
  function zt(e) {
604
604
  process.env.NODE_ENV !== "production" && (B("text"), Ee("text"));
@@ -633,7 +633,7 @@ d.applyAttr = Ae;
633
633
  d.applyProp = De;
634
634
  d.attributes = W;
635
635
  d.close = ze;
636
- var ue = d.currentElement = It, se = d.currentPointer = Lt;
636
+ var he = d.currentElement = It, se = d.currentPointer = Lt;
637
637
  d.open = Ue;
638
638
  var Wt = d.patch = Re;
639
639
  d.patchInner = Re;
@@ -647,17 +647,17 @@ d.isDataInitialized = Nt;
647
647
  d.notifications = U;
648
648
  d.symbols = oe;
649
649
  var _e = d.attr = jt, Vt = d.elementClose = We;
650
- d.elementOpen = he;
650
+ d.elementOpen = ue;
651
651
  var Ht = d.elementOpenEnd = Tt, qt = d.elementOpenStart = Bt;
652
652
  d.elementVoid = Ut;
653
653
  var Gt = d.text = zt;
654
654
  d.key = $t;
655
655
  function Ne(e) {
656
656
  let t = se();
657
- return t instanceof Comment && t.data !== e ? t.data = e : (t = document.createComment(e), ue().appendChild(t)), ne(), t;
657
+ return t instanceof Comment && t.data !== e ? t.data = e : (t = document.createComment(e), he().appendChild(t)), ne(), t;
658
658
  }
659
659
  let Ve = Je;
660
- function hs(e) {
660
+ function us(e) {
661
661
  Ve = e;
662
662
  }
663
663
  function Xt() {
@@ -685,7 +685,7 @@ function re(e) {
685
685
  else if (Array.isArray(t) && t.length > 0) {
686
686
  let s = se();
687
687
  if (Ne(He), s === null) {
688
- const n = ue();
688
+ const n = he();
689
689
  for (let i = 0; i < t.length; i += 1)
690
690
  n.contains(t[i]) || n.appendChild(t[i]), ne();
691
691
  }
@@ -707,7 +707,7 @@ function a(e, t, ...s) {
707
707
  for (const r of Object.keys(t))
708
708
  r.toUpperCase() === "CLASSNAME" ? _e("class", t[r]) : /^on[A-Z]/.test(r) ? n.push(r) : _e(r, t[r]);
709
709
  Ht(e);
710
- const i = ue();
710
+ const i = he();
711
711
  if (!i[xe]) {
712
712
  for (const r of n)
713
713
  i.addEventListener(r.substr(2).toLowerCase(), t[r]);
@@ -719,7 +719,7 @@ function a(e, t, ...s) {
719
719
  function qe(e, t) {
720
720
  customElements.get(e) || customElements.define(e, t);
721
721
  }
722
- function us(...e) {
722
+ function hs(...e) {
723
723
  for (const t of e)
724
724
  qe(_.get(t, "tag"), t);
725
725
  }
@@ -932,7 +932,7 @@ var Ke = /* @__PURE__ */ ((e) => (e["7Z"] = "application/x-7z-compressed", e.AAC
932
932
  return n && i && Zt(t, s, i), i;
933
933
  };
934
934
  const g = "sps-file-upload";
935
- let u = class extends HTMLElement {
935
+ let h = class extends HTMLElement {
936
936
  constructor() {
937
937
  super(), this.shown = !0, this.files = [], this.acceptMIMETypes = /* @__PURE__ */ new Set(), this.active = !1, this.error = !1, this.namesOfUnsupportedFiles = [], this.handleBrowseLinkClick = this.handleBrowseLinkClick.bind(this), this.handleDownloadButtonClick = this.handleDownloadButtonClick.bind(this), this.handleFileInputChange = this.handleFileInputChange.bind(this), this.dismiss = this.dismiss.bind(this);
938
938
  }
@@ -1041,8 +1041,8 @@ let u = class extends HTMLElement {
1041
1041
  e.stopPropagation(), this.selectFiles(e.target.files);
1042
1042
  }
1043
1043
  };
1044
- u.displayName = g;
1045
- u.props = {
1044
+ h.displayName = g;
1045
+ h.props = {
1046
1046
  description: "string",
1047
1047
  multiple: "boolean",
1048
1048
  dismissable: "boolean",
@@ -1058,64 +1058,64 @@ u.props = {
1058
1058
  };
1059
1059
  m([
1060
1060
  c()
1061
- ], u.prototype, "description", 2);
1061
+ ], h.prototype, "description", 2);
1062
1062
  m([
1063
1063
  c(Boolean)
1064
- ], u.prototype, "multiple", 2);
1064
+ ], h.prototype, "multiple", 2);
1065
1065
  m([
1066
1066
  c(Boolean)
1067
- ], u.prototype, "shown", 2);
1067
+ ], h.prototype, "shown", 2);
1068
1068
  m([
1069
1069
  c(Boolean)
1070
- ], u.prototype, "dismissable", 2);
1070
+ ], h.prototype, "dismissable", 2);
1071
1071
  m([
1072
1072
  c(Boolean)
1073
- ], u.prototype, "processing", 2);
1073
+ ], h.prototype, "processing", 2);
1074
1074
  m([
1075
1075
  c(Boolean)
1076
- ], u.prototype, "mini", 2);
1076
+ ], h.prototype, "mini", 2);
1077
1077
  m([
1078
1078
  c(Boolean)
1079
- ], u.prototype, "constrainContentWidth", 2);
1079
+ ], h.prototype, "constrainContentWidth", 2);
1080
1080
  m([
1081
1081
  c()
1082
- ], u.prototype, "downloadLabel", 2);
1082
+ ], h.prototype, "downloadLabel", 2);
1083
1083
  m([
1084
1084
  c()
1085
- ], u.prototype, "acceptExtensions", 2);
1085
+ ], h.prototype, "acceptExtensions", 2);
1086
1086
  m([
1087
1087
  c()
1088
- ], u.prototype, "maxSize", 2);
1088
+ ], h.prototype, "maxSize", 2);
1089
1089
  m([
1090
1090
  c()
1091
- ], u.prototype, "customRequirement", 2);
1091
+ ], h.prototype, "customRequirement", 2);
1092
1092
  m([
1093
1093
  ge()
1094
- ], u.prototype, "selection", 2);
1094
+ ], h.prototype, "selection", 2);
1095
1095
  m([
1096
1096
  ge()
1097
- ], u.prototype, "dismissal", 2);
1097
+ ], h.prototype, "dismissal", 2);
1098
1098
  m([
1099
1099
  ge()
1100
- ], u.prototype, "download", 2);
1100
+ ], h.prototype, "download", 2);
1101
1101
  m([
1102
1102
  me("input[type='file']")
1103
- ], u.prototype, "fileInput", 2);
1103
+ ], h.prototype, "fileInput", 2);
1104
1104
  m([
1105
1105
  M("dragover")
1106
- ], u.prototype, "handleDragOver", 1);
1106
+ ], h.prototype, "handleDragOver", 1);
1107
1107
  m([
1108
1108
  M("dragenter")
1109
- ], u.prototype, "handleDragEnter", 1);
1109
+ ], h.prototype, "handleDragEnter", 1);
1110
1110
  m([
1111
1111
  M("dragleave")
1112
- ], u.prototype, "handleDragLeave", 1);
1112
+ ], h.prototype, "handleDragLeave", 1);
1113
1113
  m([
1114
1114
  M("drop")
1115
- ], u.prototype, "handleDrop", 1);
1116
- u = m([
1115
+ ], h.prototype, "handleDrop", 1);
1116
+ h = m([
1117
1117
  T({ tag: g })
1118
- ], u);
1118
+ ], h);
1119
1119
  const gs = {
1120
1120
  basic: {
1121
1121
  label: "Basic File Upload",
@@ -2232,7 +2232,7 @@ export {
2232
2232
  c as Prop,
2233
2233
  me as QuerySelector,
2234
2234
  Qt as QuerySelectorAll,
2235
- u as SpsFileUploadComponent,
2235
+ h as SpsFileUploadComponent,
2236
2236
  gs as SpsFileUploadExamples,
2237
2237
  N as SpsInsightCardComponent,
2238
2238
  ms as SpsInsightCardExamples,
@@ -2247,6 +2247,6 @@ export {
2247
2247
  Xe as Watch,
2248
2248
  a as h,
2249
2249
  fs as namespaceOverrideRegistrar,
2250
- us as register,
2251
- hs as webComponentsUseI18n
2250
+ hs as register,
2251
+ us as webComponentsUseI18n
2252
2252
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-web-components",
3
3
  "description": "SPS Design System Native Web Components",
4
- "version": "8.23.17",
4
+ "version": "8.24.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-web-components",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@spscommerce/utils": "^7.0.0",
29
- "@spscommerce/ds-shared": "8.23.17"
29
+ "@spscommerce/ds-shared": "8.24.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@spscommerce/utils": "^7.0.0",
@@ -35,8 +35,8 @@
35
35
  "package-json": "10.0.0",
36
36
  "react": "^16.9.0",
37
37
  "react-dom": "^16.9.0",
38
- "@spscommerce/ds-shared": "8.23.17",
39
- "test": "8.23.17"
38
+ "@spscommerce/ds-shared": "8.24.0",
39
+ "test": "8.24.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "pnpm run build:js && pnpm run build:types && pnpm run build:create-dist && pnpm run build:copy-dist",