@sendoutcards/quantum-design-ui 2.0.3 → 2.1.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/index.d.ts CHANGED
@@ -136,10 +136,11 @@ export declare type AnchorProps = {
136
136
  title?: string;
137
137
  size?: SizeType;
138
138
  color?: TextColor;
139
+ style?: default_2.CSSProperties;
139
140
  isDecorated?: boolean;
140
141
  target?: '_blank' | '_self' | '_parent' | '_top';
141
142
  shouldDownload?: boolean;
142
- } & HOCBaseProps & HOCMotionProps;
143
+ } & HOCBaseProps & Omit<HOCMotionProps, 'style'>;
143
144
 
144
145
  export declare const AnimatedCheckMark: FC<AnimatedCheckMarkProps>;
145
146
 
package/dist/index.js CHANGED
@@ -12918,10 +12918,10 @@ import './index.css';const A = (o) => {
12918
12918
  top: _,
12919
12919
  bottom: R,
12920
12920
  left: T,
12921
- right: W,
12921
+ right: D,
12922
12922
  justifyContent: U,
12923
12923
  alignContent: V,
12924
- alignItems: D,
12924
+ alignItems: W,
12925
12925
  flexDirection: O,
12926
12926
  flexGrow: J,
12927
12927
  flexShrink: Z,
@@ -12966,10 +12966,10 @@ import './index.css';const A = (o) => {
12966
12966
  top: _,
12967
12967
  bottom: R,
12968
12968
  left: T,
12969
- right: W,
12969
+ right: D,
12970
12970
  justifyContent: U,
12971
12971
  alignContent: V,
12972
- alignItems: D,
12972
+ alignItems: W,
12973
12973
  flexDirection: O,
12974
12974
  flexGrow: J,
12975
12975
  flexShrink: Z,
@@ -13121,10 +13121,10 @@ import './index.css';const A = (o) => {
13121
13121
  position: _,
13122
13122
  top: R,
13123
13123
  bottom: T,
13124
- left: W,
13124
+ left: D,
13125
13125
  right: U,
13126
13126
  justifyContent: V,
13127
- alignContent: D,
13127
+ alignContent: W,
13128
13128
  alignItems: O,
13129
13129
  flexDirection: J,
13130
13130
  flexGrow: Z,
@@ -13167,10 +13167,10 @@ import './index.css';const A = (o) => {
13167
13167
  z && G("minWidth", z, t.hocs.spacing),
13168
13168
  R && G("top", R, t.hocs.spacing),
13169
13169
  T && G("bottom", T, t.hocs.spacing),
13170
- W && G("left", W, t.hocs.spacing),
13170
+ D && G("left", D, t.hocs.spacing),
13171
13171
  U && G("right", U, t.hocs.spacing),
13172
13172
  V && G("justifyContent", V),
13173
- D && G("alignContent", D),
13173
+ W && G("alignContent", W),
13174
13174
  O && G("alignItems", O),
13175
13175
  J && G("flexDirection", J),
13176
13176
  Z && G("flexGrow", Z),
@@ -13323,13 +13323,13 @@ ${u.join(`
13323
13323
  ...z
13324
13324
  } = o, { text: _ } = X(), { width: R } = Lo(), T = Fe(
13325
13325
  (V) => {
13326
- const D = _.types[V];
13326
+ const W = _.types[V];
13327
13327
  return {
13328
- color: a ? _.colors[a] : D.color,
13329
- fontSize: D.size,
13330
- fontWeight: p ? _.weights[p] : D.fontWeight,
13331
- lineHeight: v ?? D.lineHeight,
13332
- fontFamily: D.fontFamily,
13328
+ color: a ? _.colors[a] : W.color,
13329
+ fontSize: W.size,
13330
+ fontWeight: p ? _.weights[p] : W.fontWeight,
13331
+ lineHeight: v ?? W.lineHeight,
13332
+ fontFamily: W.fontFamily,
13333
13333
  margin: 0,
13334
13334
  textAlign: n === "left" ? "left" : n === "center" ? "center" : "right",
13335
13335
  fontStyle: l ? "italic" : "normal",
@@ -13349,7 +13349,7 @@ ${u.join(`
13349
13349
  F,
13350
13350
  M
13351
13351
  ]
13352
- ), W = Fe(
13352
+ ), D = Fe(
13353
13353
  (V) => {
13354
13354
  const O = { ...T(V), ...H };
13355
13355
  switch (V) {
@@ -13373,8 +13373,8 @@ ${u.join(`
13373
13373
  },
13374
13374
  [T, i, r, H, z]
13375
13375
  ), U = N(
13376
- () => mh(t, W, R),
13377
- [R, W, t]
13376
+ () => mh(t, D, R),
13377
+ [R, D, t]
13378
13378
  );
13379
13379
  return /* @__PURE__ */ e(le, { children: u || s ? /* @__PURE__ */ e(B, { inset: u, outset: s, children: U }) : U });
13380
13380
  }), Jo = (o, t) => t[o], yh = (o) => Jo(o, {
@@ -13432,7 +13432,15 @@ ${u.join(`
13432
13432
  style: z,
13433
13433
  className: R,
13434
13434
  ...M,
13435
- children: /* @__PURE__ */ e(I, { type: O1(r), color: a, children: o.title || o.children })
13435
+ children: /* @__PURE__ */ e(
13436
+ I,
13437
+ {
13438
+ type: O1(r),
13439
+ color: a,
13440
+ style: v,
13441
+ children: o.title || o.children
13442
+ }
13443
+ )
13436
13444
  }
13437
13445
  );
13438
13446
  }), Ie = ie.memo((o) => {
@@ -14141,7 +14149,7 @@ ${u.join(`
14141
14149
  fontWeight: z,
14142
14150
  boxShadow: _ = !1
14143
14151
  }) => {
14144
- const R = X(), { buttons: T } = R, W = () => p || (d && v ? v : t === "shadow" ? "primaryBody" : t === "smoke" ? T.smoke.fontColor : d ? vh(t, {
14152
+ const R = X(), { buttons: T } = R, D = () => p || (d && v ? v : t === "shadow" ? "primaryBody" : t === "smoke" ? T.smoke.fontColor : d ? vh(t, {
14145
14153
  primary: "primaryBrand",
14146
14154
  secondary: "secondaryBrand",
14147
14155
  danger: "danger",
@@ -14150,7 +14158,7 @@ ${u.join(`
14150
14158
  shadow: "inverseBody",
14151
14159
  accent: "accent",
14152
14160
  smoke: "primaryBody"
14153
- }) : "inverseBody"), [U, V] = q(!1), D = T[t];
14161
+ }) : "inverseBody"), [U, V] = q(!1), W = T[t];
14154
14162
  return /* @__PURE__ */ c(
14155
14163
  B,
14156
14164
  {
@@ -14186,7 +14194,7 @@ ${u.join(`
14186
14194
  onClick: s ? (O) => s(O) : () => typeof r != "string" && (r == null ? void 0 : r()),
14187
14195
  style: Bh(
14188
14196
  t,
14189
- D,
14197
+ W,
14190
14198
  R,
14191
14199
  a,
14192
14200
  d,
@@ -14204,7 +14212,7 @@ ${u.join(`
14204
14212
  justifyContent: "space-around",
14205
14213
  alignItems: "center",
14206
14214
  style: Fh(t, R, a, z),
14207
- color: W(),
14215
+ color: D(),
14208
14216
  children: [
14209
14217
  H && /* @__PURE__ */ e(
14210
14218
  $,
@@ -14215,7 +14223,7 @@ ${u.join(`
14215
14223
  children: /* @__PURE__ */ e(
14216
14224
  P,
14217
14225
  {
14218
- primaryColor: H.fill ?? W(),
14226
+ primaryColor: H.fill ?? D(),
14219
14227
  size: a === "large" || a === "xLarge" ? "medium" : a,
14220
14228
  name: H.name
14221
14229
  }
@@ -14859,9 +14867,9 @@ ${u.join(`
14859
14867
  outset: R
14860
14868
  }) => {
14861
14869
  var nr;
14862
- const [T, W] = q([]), [, U] = q(!1), V = Te(null), [D, O] = q(
14870
+ const [T, D] = q([]), [, U] = q(!1), V = Te(null), [W, O] = q(
14863
14871
  ((nr = V.current) == null ? void 0 : nr.offsetHeight) || 0
14864
- ), { device: J } = Hr(), Z = J === "small" || J === "xSmall", { sheet: j } = X(), { height: ae } = Lo(), me = ae - D <= 0, Ee = {
14872
+ ), { device: J } = Hr(), Z = J === "small" || J === "xSmall", { sheet: j } = X(), { height: ae } = Lo(), me = ae - W <= 0, Ee = {
14865
14873
  visible: {
14866
14874
  scale: 1,
14867
14875
  opacity: 1,
@@ -14884,24 +14892,24 @@ ${u.join(`
14884
14892
  }
14885
14893
  }, ue = Fe(
14886
14894
  (de) => {
14887
- const ze = ae - D;
14895
+ const ze = ae - W;
14888
14896
  return ze >= 0 ? de : de < Math.abs(ze) ? Math.abs(ze) : de;
14889
14897
  },
14890
- [D, ae]
14898
+ [W, ae]
14891
14899
  ), se = Fe(
14892
14900
  (de) => {
14893
14901
  de > 100 && (de = 100);
14894
- const ze = D * (de / 100), Ke = D - ze;
14902
+ const ze = W * (de / 100), Ke = W - ze;
14895
14903
  return ue(Ke);
14896
14904
  },
14897
- [D, ue]
14898
- ), ne = ae - D < 0 ? Math.abs(ae - D) : 0, K = (de) => typeof de == "string" ? ce !== void 0 ? se(ce.percentage) : ne : typeof de == "number" && s ? se(s[de]) : ne, ce = T.find(
14905
+ [W, ue]
14906
+ ), ne = ae - W < 0 ? Math.abs(ae - W) : 0, K = (de) => typeof de == "string" ? ce !== void 0 ? se(ce.percentage) : ne : typeof de == "number" && s ? se(s[de]) : ne, ce = T.find(
14899
14907
  (de) => de.name === M ? M : u
14900
14908
  // TODO remove ternary when initialSnapPoint gets removed
14901
- ), Me = K(M || u), Be = $o(o ? ne : ae), o1 = [Me, D], X1 = so(Be, o1, [0, D]), We = so(Be, o1, [1, 0]), _1 = (de, ze) => de.reduce((Ke, Ne) => Math.abs(Ke - ze) < Math.abs(Ne - ze) ? Ke : Ne), Y1 = (de) => de instanceof HTMLElement;
14909
+ ), Me = K(M || u), Be = $o(o ? ne : ae), o1 = [Me, W], X1 = so(Be, o1, [0, W]), We = so(Be, o1, [1, 0]), _1 = (de, ze) => de.reduce((Ke, Ne) => Math.abs(Ke - ze) < Math.abs(Ne - ze) ? Ke : Ne), Y1 = (de) => de instanceof HTMLElement;
14902
14910
  et(() => {
14903
14911
  var Ke;
14904
- if (V.current && D !== ((Ke = V.current) == null ? void 0 : Ke.offsetHeight) && O(V.current.offsetHeight), !V.current)
14912
+ if (V.current && W !== ((Ke = V.current) == null ? void 0 : Ke.offsetHeight) && O(V.current.offsetHeight), !V.current)
14905
14913
  return;
14906
14914
  const de = V.current, ze = Array.from(
14907
14915
  de.getElementsByClassName("snapPoint")
@@ -14909,8 +14917,8 @@ ${u.join(`
14909
14917
  percentage: Ne.offsetTop / de.offsetHeight * 100,
14910
14918
  name: Ne.getAttribute("data-name")
14911
14919
  }));
14912
- Pt(ze, T) || W(ze);
14913
- }, [D, T, l, t]), Re(() => {
14920
+ Pt(ze, T) || D(ze);
14921
+ }, [W, T, l, t]), Re(() => {
14914
14922
  Z && Be.set(0);
14915
14923
  }, [Be, Z]);
14916
14924
  const R1 = Fe(
@@ -14939,20 +14947,20 @@ ${u.join(`
14939
14947
  (Co) => se(Co)
14940
14948
  ),
14941
14949
  Be.get()
14942
- ) : Be.get() / D > 0.4 ? D : ne;
14943
- P1(Ne, D), Dr(Be, Ne, {
14950
+ ) : Be.get() / W > 0.4 ? W : ne;
14951
+ P1(Ne, W), Dr(Be, Ne, {
14944
14952
  type: "spring",
14945
14953
  stiffness: 300,
14946
14954
  damping: 30,
14947
14955
  mass: 0.2
14948
- }), Ne >= D && (n == null || n(!1));
14949
- const De = ae - D;
14956
+ }), Ne >= W && (n == null || n(!1));
14957
+ const De = ae - W;
14950
14958
  De < 0 && Ne <= Math.abs(De) ? U(!0) : U(!1);
14951
14959
  }
14952
14960
  },
14953
14961
  [
14954
14962
  ae,
14955
- D,
14963
+ W,
14956
14964
  se,
14957
14965
  n,
14958
14966
  s,
@@ -15093,11 +15101,11 @@ ${u.join(`
15093
15101
  },
15094
15102
  inset: _,
15095
15103
  height: {
15096
- xSmall: `calc(100vh - (${D - Me}px) + 48px)`,
15104
+ xSmall: `calc(100vh - (${W - Me}px) + 48px)`,
15097
15105
  medium: "unset"
15098
15106
  },
15099
15107
  maxHeight: {
15100
- medium: `${D}px`
15108
+ medium: `${W}px`
15101
15109
  },
15102
15110
  position: "relative",
15103
15111
  zIndex: 2,
@@ -15119,7 +15127,7 @@ ${u.join(`
15119
15127
  style: { ...ar, y: Be },
15120
15128
  transition: bt,
15121
15129
  drag: a && "y",
15122
- dragConstraints: { top: 0, bottom: D },
15130
+ dragConstraints: { top: 0, bottom: W },
15123
15131
  onDrag: R1,
15124
15132
  onDragEnd: fo,
15125
15133
  dragPropagation: !0,
@@ -15128,7 +15136,7 @@ ${u.join(`
15128
15136
  y: Me,
15129
15137
  transition: { type: "tween" }
15130
15138
  },
15131
- exit: { y: D },
15139
+ exit: { y: W },
15132
15140
  dragElastic: 0.01,
15133
15141
  children: [
15134
15142
  /* @__PURE__ */ e(
@@ -15416,10 +15424,10 @@ ${u.join(`
15416
15424
  isTypingDisabled: _ = !1,
15417
15425
  width: R = 200,
15418
15426
  height: T = 50,
15419
- isPhoneInput: W = !1,
15427
+ isPhoneInput: D = !1,
15420
15428
  hasSecurePassword: U = !1,
15421
15429
  maxLength: V,
15422
- isMaxLengthHit: D,
15430
+ isMaxLengthHit: W,
15423
15431
  autoComplete: O,
15424
15432
  onMaxLengthCap: J,
15425
15433
  id: Z,
@@ -15440,8 +15448,8 @@ ${u.join(`
15440
15448
  () => Eh(Y1, We, P1, ue),
15441
15449
  [Y1, We, P1, ue]
15442
15450
  ), ir = N(
15443
- () => Wh(We, T, R1, W),
15444
- [We, T, R1, W]
15451
+ () => Wh(We, T, R1, D),
15452
+ [We, T, R1, D]
15445
15453
  ), nr = N(
15446
15454
  () => Dh(H),
15447
15455
  [H]
@@ -15630,7 +15638,7 @@ ${u.join(`
15630
15638
  }
15631
15639
  ),
15632
15640
  s && /* @__PURE__ */ e(er, { size: "medium" }),
15633
- V && i !== "number" && !D && /* @__PURE__ */ e(
15641
+ V && i !== "number" && !W && /* @__PURE__ */ e(
15634
15642
  $,
15635
15643
  {
15636
15644
  inset: { right: "x1" },
@@ -15796,11 +15804,11 @@ ${u.join(`
15796
15804
  children: _,
15797
15805
  shouldScroll: R = !1,
15798
15806
  borderRadius: T = "default",
15799
- pinned: W = "center",
15807
+ pinned: D = "center",
15800
15808
  backgroundVariant: U = "solid",
15801
15809
  footer: V,
15802
- ...D
15803
- } = o, O = W === "bottom" ? { top: T, bottom: "none" } : W === "top" ? { bottom: T, top: "none" } : T;
15810
+ ...W
15811
+ } = o, O = D === "bottom" ? { top: T, bottom: "none" } : D === "top" ? { bottom: T, top: "none" } : T;
15804
15812
  return /* @__PURE__ */ e(e1, { children: l && /* @__PURE__ */ e(
15805
15813
  Cr,
15806
15814
  {
@@ -15809,10 +15817,10 @@ ${u.join(`
15809
15817
  initial: "closed",
15810
15818
  zIndex: n,
15811
15819
  exit: "closed",
15812
- pinned: W,
15820
+ pinned: D,
15813
15821
  backgroundVariant: U,
15814
15822
  shouldScroll: R,
15815
- ...D,
15823
+ ...W,
15816
15824
  children: /* @__PURE__ */ c(
15817
15825
  B,
15818
15826
  {
@@ -15826,9 +15834,9 @@ ${u.join(`
15826
15834
  inset: F ?? a.defaultInset,
15827
15835
  outset: M ?? void 0,
15828
15836
  position: "absolute",
15829
- bottom: W === "bottom" ? 0 : void 0,
15837
+ bottom: D === "bottom" ? 0 : void 0,
15830
15838
  maxWidth: s,
15831
- maxHeight: u || (p || W === "center" ? "calc(100vh - 24px )" : void 0),
15839
+ maxHeight: u || (p || D === "center" ? "calc(100vh - 24px )" : void 0),
15832
15840
  width: (p ? "100%" : void 0) ?? z,
15833
15841
  height: H || (p ? "calc(100vh - 24px )" : void 0),
15834
15842
  children: [
@@ -15962,13 +15970,13 @@ ${u.join(`
15962
15970
  message: p,
15963
15971
  frontLabel: v,
15964
15972
  scrollBarWidth: F = "auto"
15965
- } = o, [M, H] = q(!1), [z, _] = q(!1), [R, T] = q(r), W = Te(null), U = Te(null);
15973
+ } = o, [M, H] = q(!1), [z, _] = q(!1), [R, T] = q(r), D = Te(null), U = Te(null);
15966
15974
  po(U, () => {
15967
15975
  H(!1);
15968
15976
  });
15969
15977
  const V = (K) => {
15970
15978
  H(!1), T(K), a(K);
15971
- }, { inputs: D, hocs: O } = X(), J = N(() => ({}), []), Z = N(
15979
+ }, { inputs: W, hocs: O } = X(), J = N(() => ({}), []), Z = N(
15972
15980
  () => ({
15973
15981
  "--focus-color": O.colors.swatches[u].base,
15974
15982
  "--select-height": l || "50px",
@@ -15991,7 +15999,7 @@ ${u.join(`
15991
15999
  ), me = () => {
15992
16000
  R !== void 0 && R !== r && a(R);
15993
16001
  }, Ee = (K) => {
15994
- W.current && W.current.children[K].scrollIntoView({
16002
+ D.current && D.current.children[K].scrollIntoView({
15995
16003
  behavior: "auto",
15996
16004
  block: "center"
15997
16005
  });
@@ -16057,14 +16065,14 @@ ${u.join(`
16057
16065
  className: "select-body",
16058
16066
  style: {
16059
16067
  ...Z,
16060
- border: p ? `${D.text.borderWidth} solid ${O.colors.swatches[p.type].base}` : ""
16068
+ border: p ? `${W.text.borderWidth} solid ${O.colors.swatches[p.type].base}` : ""
16061
16069
  },
16062
16070
  onClick: () => {
16063
16071
  ee(!M), R !== r && (M ? me() : T(r));
16064
16072
  },
16065
16073
  borderRadius: "default",
16066
16074
  backgroundColor: z || M ? "foreground" : "background",
16067
- boxShadow: z || M ? D.select.boxShadow : "none",
16075
+ boxShadow: z || M ? W.select.boxShadow : "none",
16068
16076
  tabIndex: 0,
16069
16077
  children: [
16070
16078
  v && /* @__PURE__ */ e(
@@ -16166,9 +16174,9 @@ ${u.join(`
16166
16174
  variants: Zh,
16167
16175
  className: "select-dropdown-contents",
16168
16176
  style: j,
16169
- backgroundColor: D.select.dropDownBackgroundColor,
16170
- borderRadius: D.select.borderRadius,
16171
- boxShadow: D.select.dropDownShadow,
16177
+ backgroundColor: W.select.dropDownBackgroundColor,
16178
+ borderRadius: W.select.borderRadius,
16179
+ boxShadow: W.select.dropDownShadow,
16172
16180
  top: s ? void 0 : "50px",
16173
16181
  bottom: s ? "50px" : void 0,
16174
16182
  zIndex: 5e4,
@@ -16179,7 +16187,7 @@ ${u.join(`
16179
16187
  orientation: "vertical",
16180
16188
  alignment: t || "center",
16181
16189
  inset: "x1",
16182
- ref: W,
16190
+ ref: D,
16183
16191
  children: [
16184
16192
  o.type === "reactNode" && o.options.map((K, ce) => /* @__PURE__ */ c(le, { children: [
16185
16193
  /* @__PURE__ */ e(
@@ -16609,7 +16617,7 @@ ${u.join(`
16609
16617
  backgroundColor: H = "#fff"
16610
16618
  }) => {
16611
16619
  var Z;
16612
- const { drawer: z } = X(), _ = t === "left" || t === "right", R = t === "top" || t === "bottom", T = (j) => j === "left" || j === "top" ? v ? -n + v : -n : v ? n - v : n, W = (j) => {
16620
+ const { drawer: z } = X(), _ = t === "left" || t === "right", R = t === "top" || t === "bottom", T = (j) => j === "left" || j === "top" ? v ? -n + v : -n : v ? n - v : n, D = (j) => {
16613
16621
  switch (j) {
16614
16622
  case "left":
16615
16623
  return [180, 360];
@@ -16624,10 +16632,10 @@ ${u.join(`
16624
16632
  U,
16625
16633
  [T(t), 0],
16626
16634
  r ? [0, 1] : [1, 1]
16627
- ), D = so(
16635
+ ), W = so(
16628
16636
  U,
16629
16637
  [T(t), 0],
16630
- W(t)
16638
+ D(t)
16631
16639
  ), O = {
16632
16640
  open: {
16633
16641
  x: 0,
@@ -16714,7 +16722,7 @@ ${u.join(`
16714
16722
  children: /* @__PURE__ */ e(
16715
16723
  Ie,
16716
16724
  {
16717
- style: { rotate: D },
16725
+ style: { rotate: W },
16718
16726
  display: "flex",
16719
16727
  justifyContent: "center",
16720
16728
  alignItems: "center",
@@ -16763,11 +16771,11 @@ ${u.join(`
16763
16771
  return z * me;
16764
16772
  },
16765
16773
  [a, t, _, z]
16766
- ), T = $o(R(o)), W = so(
16774
+ ), T = $o(R(o)), D = so(
16767
16775
  T,
16768
16776
  [0, d - F + 2],
16769
16777
  [0, 1]
16770
- ), U = so(T, [0, d / 2], [1, 0]), V = so(T, [d, d / 2], [1, 0]), D = Te(null), O = Fe(
16778
+ ), U = so(T, [0, d / 2], [1, 0]), V = so(T, [d, d / 2], [1, 0]), W = Te(null), O = Fe(
16771
16779
  (j) => t + _ * j,
16772
16780
  [t, _]
16773
16781
  ), J = Fe(
@@ -16800,7 +16808,7 @@ ${u.join(`
16800
16808
  B,
16801
16809
  {
16802
16810
  className: "slider-bar",
16803
- ref: D,
16811
+ ref: W,
16804
16812
  display: "flex",
16805
16813
  flexDirection: "row",
16806
16814
  children: l === "center" ? /* @__PURE__ */ c(le, { children: [
@@ -16835,7 +16843,7 @@ ${u.join(`
16835
16843
  {
16836
16844
  className: `slider-progress ${n ? "disabled" : "enabled"}`,
16837
16845
  backgroundColor: v.colors[i],
16838
- style: { scaleX: W },
16846
+ style: { scaleX: D },
16839
16847
  transformOrigin: "0% 50%"
16840
16848
  }
16841
16849
  )
@@ -16848,7 +16856,7 @@ ${u.join(`
16848
16856
  drag: n ? void 0 : "x",
16849
16857
  onDrag: Z,
16850
16858
  onDragEnd: Z,
16851
- dragConstraints: D,
16859
+ dragConstraints: W,
16852
16860
  dragElastic: 0,
16853
16861
  dragMomentum: !1,
16854
16862
  style: { x: T },
@@ -17112,7 +17120,7 @@ ${u.join(`
17112
17120
  ref: p,
17113
17121
  layout: !0,
17114
17122
  children: a ? /* @__PURE__ */ e(e1, { children: u.map((z, _) => {
17115
- const { hexColor: R, size: T } = z.props, W = E(R).luminosity(), U = `inset ${v.defaults.innerRing}, ${v.defaults.outerRing}`;
17123
+ const { hexColor: R, size: T } = z.props, D = E(R).luminosity(), U = `inset ${v.defaults.innerRing}, ${v.defaults.outerRing}`;
17116
17124
  return /* @__PURE__ */ c(
17117
17125
  $,
17118
17126
  {
@@ -17142,7 +17150,7 @@ ${u.join(`
17142
17150
  borderStyle: "solid",
17143
17151
  borderWidth: "default",
17144
17152
  borderColor: R,
17145
- boxShadow: W > 0.9 ? U : void 0
17153
+ boxShadow: D > 0.9 ? U : void 0
17146
17154
  }
17147
17155
  )
17148
17156
  ]
@@ -19320,14 +19328,14 @@ ${u.join(`
19320
19328
  `${y6(o)}${t ? `T${t.hour}:${t.minute}:${t.second}` : "T00:00:00"}`
19321
19329
  )
19322
19330
  ), d = () => gr(i.getFullYear(), l.getFullYear()), s = () => gr(i.getMonth(), l.getMonth()), u = () => {
19323
- const W = i.getDate(), U = l.getDate();
19324
- return gr(W, U);
19331
+ const D = i.getDate(), U = l.getDate();
19332
+ return gr(D, U);
19325
19333
  }, p = () => i.getDate() - l.getDate(), v = () => {
19326
- var W;
19334
+ var D;
19327
19335
  return p() > 1 ? {
19328
19336
  monthsRemaing: s() - 1,
19329
19337
  daysRemaining: gr(
19330
- ((W = b6(l.getMonth())) == null ? void 0 : W.dayCount) ?? 0,
19338
+ ((D = b6(l.getMonth())) == null ? void 0 : D.dayCount) ?? 0,
19331
19339
  i.getDate()
19332
19340
  ) + l.getDate(),
19333
19341
  yearsRemaining: d()
@@ -19337,18 +19345,18 @@ ${u.join(`
19337
19345
  yearsRemaining: d()
19338
19346
  };
19339
19347
  }, F = () => {
19340
- const W = +l - +i;
19348
+ const D = +l - +i;
19341
19349
  return {
19342
- hoursRemaining: Math.floor(W / (1e3 * 60 * 60) % 24),
19343
- minutesRemaining: Math.floor(W / 1e3 / 60 % 60),
19344
- secondsRemaining: Math.floor(W / 1e3 % 60)
19350
+ hoursRemaining: Math.floor(D / (1e3 * 60 * 60) % 24),
19351
+ minutesRemaining: Math.floor(D / 1e3 / 60 % 60),
19352
+ secondsRemaining: Math.floor(D / 1e3 % 60)
19345
19353
  };
19346
19354
  }, { monthsRemaing: M, daysRemaining: H, yearsRemaining: z } = v(), { hoursRemaining: _, minutesRemaining: R, secondsRemaining: T } = F();
19347
19355
  return Re(() => {
19348
- const W = setTimeout(() => {
19356
+ const D = setTimeout(() => {
19349
19357
  n(/* @__PURE__ */ new Date());
19350
19358
  }, 1e3);
19351
- return () => clearInterval(W);
19359
+ return () => clearInterval(D);
19352
19360
  }), z <= 0 && M <= 0 && H <= 0 && _ <= 0 && R <= 0 && T <= 0 ? /* @__PURE__ */ e(I, { type: "subtitle", children: r }) : /* @__PURE__ */ c(Ve, { justify: "center", gap: "x1", children: [
19353
19361
  H < 1 && z < 1 && M < 1 ? /* @__PURE__ */ c(Ve, { justify: "center", gap: "x1", children: [
19354
19362
  _ > 0 && /* @__PURE__ */ c(I, { type: O1(a), children: [
@@ -20029,7 +20037,7 @@ ${u.join(`
20029
20037
  borderRadius: t = "32px",
20030
20038
  ...a
20031
20039
  }) => {
20032
- const [r, i] = q(!1), [n, l] = q(!1), [d, s] = q(!1), u = a.status === "success" ? "success" : a.status === "warning" ? "warning" : "danger", p = o ? "primaryBody" : "inverseHeading", v = o ? "primaryBodyText" : "inverseHeadingText", F = o ? "foreground" : "#FFFFFF22", M = a.bannerTitle, H = a.children !== void 0 && a.children !== null, z = !!(M && H), _ = !!(a.isCollapsable && z), R = z && (!_ || !d), T = !!(_ || a.onClose), W = !!(M && R), U = _ && d, V = U ? {
20040
+ const [r, i] = q(!1), [n, l] = q(!1), [d, s] = q(!1), u = a.status === "success" ? "success" : a.status === "warning" ? "warning" : "danger", p = o ? "primaryBody" : "inverseHeading", v = o ? "primaryBodyText" : "inverseHeadingText", F = o ? "foreground" : "#FFFFFF22", M = a.bannerTitle, H = a.children !== void 0 && a.children !== null, z = !!(M && H), _ = !!(a.isCollapsable && z), R = z && (!_ || !d), T = !!(_ || a.onClose), D = !!(M && R), U = _ && d, V = U ? {
20033
20041
  overflow: "hidden",
20034
20042
  textOverflow: "ellipsis"
20035
20043
  } : void 0;
@@ -20047,123 +20055,111 @@ ${u.join(`
20047
20055
  swatch: u,
20048
20056
  shade: "base"
20049
20057
  } : void 0,
20050
- inset: { vertical: "x2", horizontal: "x2" },
20058
+ inset: { vertical: d ? "x1" : "x2", horizontal: "x2_5" },
20051
20059
  borderRadius: t,
20052
20060
  justifyContent: "flex-start",
20053
- alignItems: "stretch",
20054
20061
  flexDirection: "column",
20055
- rowGap: R ? "x1_5" : void 0,
20062
+ rowGap: R ? "x1" : void 0,
20056
20063
  children: [
20057
- /* @__PURE__ */ c(
20058
- $,
20059
- {
20060
- width: "100%",
20061
- minWidth: "0",
20062
- alignItems: W ? "flex-start" : "center",
20063
- columnGap: "x1",
20064
- children: [
20065
- M ? /* @__PURE__ */ c(
20066
- $,
20067
- {
20068
- width: "100%",
20069
- minWidth: "0",
20070
- alignItems: W ? "flex-start" : "center",
20071
- columnGap: "x1",
20072
- children: [
20073
- M.icon && /* @__PURE__ */ e(
20074
- $,
20075
- {
20076
- justifyContent: "center",
20077
- alignItems: "center",
20078
- flexShrink: 0,
20079
- inset: W ? { top: "2px" } : void 0,
20080
- children: /* @__PURE__ */ e(P, { name: M.icon, size: "small", primaryColor: v })
20081
- }
20082
- ),
20083
- /* @__PURE__ */ e($, { width: "100%", minWidth: "0", children: /* @__PURE__ */ e(
20084
- I,
20085
- {
20086
- content: M.message,
20087
- color: p,
20088
- type: { xSmall: "footnote", small: "caption" },
20089
- weight: z ? "semiBold" : void 0,
20090
- whiteSpace: U ? "nowrap" : void 0,
20091
- style: V
20092
- }
20093
- ) })
20094
- ]
20095
- }
20096
- ) : /* @__PURE__ */ e($, { width: "100%", minWidth: "0", alignItems: "center", children: a.children }),
20097
- T && /* @__PURE__ */ c(
20098
- $,
20099
- {
20100
- alignItems: W ? "flex-start" : "center",
20101
- flexShrink: 0,
20102
- columnGap: "x_5",
20103
- inset: W ? { top: "2px" } : void 0,
20104
- children: [
20105
- _ && /* @__PURE__ */ e(
20106
- $,
20107
- {
20108
- onClick: () => s((D) => !D),
20109
- width: "40px",
20110
- height: "40px",
20111
- justifyContent: "center",
20112
- alignItems: "center",
20113
- cursor: "pointer",
20114
- backgroundColor: n ? F : void 0,
20115
- borderRadius: "circle",
20116
- onHoverStart: () => l(!0),
20117
- onHoverEnd: () => l(!1),
20118
- children: /* @__PURE__ */ e(
20119
- P,
20120
- {
20121
- name: d ? "rightChevron" : "chevron",
20122
- orientation: d ? void 0 : "up",
20123
- primaryColor: v,
20124
- size: "xSmall"
20125
- }
20126
- )
20127
- }
20128
- ),
20129
- a.onClose && /* @__PURE__ */ e(
20130
- $,
20064
+ /* @__PURE__ */ c($, { width: "100%", minWidth: "0", alignItems: "center", columnGap: "x1", children: [
20065
+ M ? /* @__PURE__ */ c(
20066
+ $,
20067
+ {
20068
+ width: "100%",
20069
+ minWidth: "0",
20070
+ alignItems: D ? "flex-start" : "center",
20071
+ columnGap: "x1",
20072
+ children: [
20073
+ M.icon && /* @__PURE__ */ e(
20074
+ $,
20075
+ {
20076
+ justifyContent: "center",
20077
+ alignItems: "center",
20078
+ flexShrink: 0,
20079
+ inset: D ? { top: "2px" } : void 0,
20080
+ children: /* @__PURE__ */ e(
20081
+ P,
20131
20082
  {
20132
- justifyContent: "flex-end",
20133
- alignItems: "center",
20134
- flexShrink: 0,
20135
- onHoverStart: () => i(!0),
20136
- onHoverEnd: () => i(!1),
20137
- children: /* @__PURE__ */ e(
20138
- $,
20139
- {
20140
- onClick: a.onClose,
20141
- width: "40px",
20142
- height: "40px",
20143
- justifyContent: "center",
20144
- alignItems: "center",
20145
- cursor: "pointer",
20146
- backgroundColor: r ? F : void 0,
20147
- borderRadius: "circle",
20148
- children: /* @__PURE__ */ e(P, { primaryColor: v, size: "xSmall", name: "close" })
20149
- }
20150
- )
20083
+ name: M.icon,
20084
+ size: "small",
20085
+ primaryColor: v
20151
20086
  }
20152
20087
  )
20153
- ]
20154
- }
20155
- )
20156
- ]
20157
- }
20158
- ),
20088
+ }
20089
+ ),
20090
+ /* @__PURE__ */ e($, { width: "100%", minWidth: "0", children: /* @__PURE__ */ e(
20091
+ I,
20092
+ {
20093
+ content: M.message,
20094
+ color: p,
20095
+ type: { xSmall: "footnote", small: "caption" },
20096
+ weight: z ? "semiBold" : void 0,
20097
+ whiteSpace: U ? "nowrap" : void 0,
20098
+ style: V
20099
+ }
20100
+ ) })
20101
+ ]
20102
+ }
20103
+ ) : /* @__PURE__ */ e($, { width: "100%", minWidth: "0", alignItems: "center", children: a.children }),
20104
+ T && /* @__PURE__ */ c($, { alignItems: "center", flexShrink: 0, columnGap: "x_5", children: [
20105
+ _ && /* @__PURE__ */ e(
20106
+ $,
20107
+ {
20108
+ onClick: () => s((W) => !W),
20109
+ width: "24px",
20110
+ height: "24px",
20111
+ justifyContent: "center",
20112
+ alignItems: "center",
20113
+ cursor: "pointer",
20114
+ backgroundColor: n ? F : void 0,
20115
+ borderRadius: "circle",
20116
+ onHoverStart: () => l(!0),
20117
+ onHoverEnd: () => l(!1),
20118
+ children: /* @__PURE__ */ e(
20119
+ P,
20120
+ {
20121
+ name: d ? "rightChevron" : "chevron",
20122
+ orientation: d ? void 0 : "up",
20123
+ primaryColor: v,
20124
+ size: "xSmall"
20125
+ }
20126
+ )
20127
+ }
20128
+ ),
20129
+ a.onClose && /* @__PURE__ */ e(
20130
+ $,
20131
+ {
20132
+ justifyContent: "flex-end",
20133
+ alignItems: "center",
20134
+ flexShrink: 0,
20135
+ onHoverStart: () => i(!0),
20136
+ onHoverEnd: () => i(!1),
20137
+ children: /* @__PURE__ */ e(
20138
+ $,
20139
+ {
20140
+ onClick: a.onClose,
20141
+ width: "24px",
20142
+ height: "24px",
20143
+ justifyContent: "center",
20144
+ alignItems: "center",
20145
+ cursor: "pointer",
20146
+ backgroundColor: r ? F : void 0,
20147
+ borderRadius: "circle",
20148
+ children: /* @__PURE__ */ e(P, { primaryColor: v, size: 12, name: "close" })
20149
+ }
20150
+ )
20151
+ }
20152
+ )
20153
+ ] })
20154
+ ] }),
20159
20155
  R && M && /* @__PURE__ */ e(
20160
20156
  $,
20161
20157
  {
20162
20158
  width: "100%",
20163
20159
  minWidth: "0",
20164
20160
  inset: {
20165
- left: M.icon ? "x3" : "x0",
20166
- right: "x0"
20161
+ left: "x1",
20162
+ right: "x1"
20167
20163
  },
20168
20164
  children: a.children
20169
20165
  }
@@ -21163,7 +21159,7 @@ ${u.join(`
21163
21159
  quickLinks: p,
21164
21160
  isFullScreen: v
21165
21161
  }) => {
21166
- const F = window.innerWidth, [M, H] = q(!1), [z, _] = q(!1), [R, T] = q(Qr(F)), [W, U] = q(!1), V = $o(0), D = A6(), O = Te(null), J = () => {
21162
+ const F = window.innerWidth, [M, H] = q(!1), [z, _] = q(!1), [R, T] = q(Qr(F)), [D, U] = q(!1), V = $o(0), W = A6(), O = Te(null), J = () => {
21167
21163
  H(!M);
21168
21164
  }, Z = d || 250, j = R === "xSmall", ae = ie.useCallback(() => {
21169
21165
  const ee = Qr(window.innerWidth);
@@ -21176,12 +21172,12 @@ ${u.join(`
21176
21172
  () => ({
21177
21173
  position: "fixed",
21178
21174
  width: "100%",
21179
- height: `${D}px`,
21175
+ height: `${W}px`,
21180
21176
  overflow: "hidden",
21181
21177
  boxShadow: "0 3px 6px 0 #ccc",
21182
21178
  zIndex: 0
21183
21179
  }),
21184
- [D]
21180
+ [W]
21185
21181
  ), Ee = N(
21186
21182
  () => ({
21187
21183
  width: `${Z}px`,
@@ -21201,7 +21197,7 @@ ${u.join(`
21201
21197
  v ? /* @__PURE__ */ e(le, {}) : j ? /* @__PURE__ */ e(
21202
21198
  F6,
21203
21199
  {
21204
- isSheetOpen: W,
21200
+ isSheetOpen: D,
21205
21201
  setSheetIsOpen: U,
21206
21202
  accountRouteOnClick: u,
21207
21203
  circleSize: 70,
@@ -21333,7 +21329,7 @@ ${u.join(`
21333
21329
  /* @__PURE__ */ e(
21334
21330
  Ct,
21335
21331
  {
21336
- isOpen: W,
21332
+ isOpen: D,
21337
21333
  setIsOpen: U,
21338
21334
  draggable: !0,
21339
21335
  layer: 3,
@@ -21453,12 +21449,12 @@ ${u.join(`
21453
21449
  ), M = (z, _) => {
21454
21450
  const R = z.substring(0, o - _);
21455
21451
  R.length > 0 && d(Math.min(_ + R.length, o - 1));
21456
- const T = R.length > 0 ? R : [""], W = [
21452
+ const T = R.length > 0 ? R : [""], D = [
21457
21453
  ...s.slice(0, _),
21458
21454
  ...T,
21459
21455
  ...s.slice(_ + 1, s.length - (T.length - 1))
21460
- ], U = W.join("");
21461
- t(U), U.length === o && r && r(U), u(W);
21456
+ ], U = D.join("");
21457
+ t(U), U.length === o && r && r(U), u(D);
21462
21458
  }, H = (z) => {
21463
21459
  z > 0 && d(z - 1);
21464
21460
  };
@@ -22473,10 +22469,10 @@ ${u.join(`
22473
22469
  const u = ie.Children.toArray(l), p = Math.round(
22474
22470
  a / u.length * 100
22475
22471
  ), v = u.sort(
22476
- (W, U) => W.props.order && U.props.order ? W.props.order > U.props.order ? 1 : -1 : 1
22477
- ), F = (W) => {
22478
- r(a + W);
22479
- }, M = (W) => {
22472
+ (D, U) => D.props.order && U.props.order ? D.props.order > U.props.order ? 1 : -1 : 1
22473
+ ), F = (D) => {
22474
+ r(a + D);
22475
+ }, M = (D) => {
22480
22476
  a + 1 === u.length && T(!0), R ? i() : t(!1);
22481
22477
  }, H = () => {
22482
22478
  if (a + 1 === u.length) {
@@ -22595,7 +22591,7 @@ ${u.join(`
22595
22591
  isSelected: _ = !1,
22596
22592
  isFullLength: R = !1
22597
22593
  }) => {
22598
- const { hocs: T } = X(), W = (Z) => {
22594
+ const { hocs: T } = X(), D = (Z) => {
22599
22595
  switch (Z) {
22600
22596
  case "primaryBody":
22601
22597
  return "primaryBodyText";
@@ -22625,7 +22621,7 @@ ${u.join(`
22625
22621
  }, V = (Z) => {
22626
22622
  const j = Z;
22627
22623
  return j.feature !== void 0 && j.subFeatures !== void 0;
22628
- }, D = n ? l.textColor === "white" ? "inverseBody" : "primaryBody" : d === "white" ? "inverseBody" : "primaryBody", [O, J] = q(!1);
22624
+ }, W = n ? l.textColor === "white" ? "inverseBody" : "primaryBody" : d === "white" ? "inverseBody" : "primaryBody", [O, J] = q(!1);
22629
22625
  return /* @__PURE__ */ e(
22630
22626
  $,
22631
22627
  {
@@ -22667,13 +22663,13 @@ ${u.join(`
22667
22663
  content: o
22668
22664
  }
22669
22665
  ),
22670
- /* @__PURE__ */ e(I, { lineHeight: 1.5, type: "caption", color: D, children: s ?? M }),
22666
+ /* @__PURE__ */ e(I, { lineHeight: 1.5, type: "caption", color: W, children: s ?? M }),
22671
22667
  /* @__PURE__ */ c($, { width: "100%", alignItems: "center", children: [
22672
22668
  t && /* @__PURE__ */ e(
22673
22669
  I,
22674
22670
  {
22675
22671
  type: { xSmall: "subtitle", medium: "title" },
22676
- color: D,
22672
+ color: W,
22677
22673
  weight: "bold",
22678
22674
  content: t
22679
22675
  }
@@ -22684,7 +22680,7 @@ ${u.join(`
22684
22680
  I,
22685
22681
  {
22686
22682
  type: { xSmall: "footnote", medium: "caption" },
22687
- color: D,
22683
+ color: W,
22688
22684
  children: u
22689
22685
  }
22690
22686
  ) })
@@ -22706,7 +22702,7 @@ ${u.join(`
22706
22702
  I,
22707
22703
  {
22708
22704
  type: { xSmall: "caption", medium: "body" },
22709
- color: D,
22705
+ color: W,
22710
22706
  children: p
22711
22707
  }
22712
22708
  )
@@ -22723,7 +22719,7 @@ ${u.join(`
22723
22719
  {
22724
22720
  name: V(Z) && (Z != null && Z.isNotIncluded) ? "closeCircle" : "check",
22725
22721
  size: "xSmall",
22726
- primaryColor: W(
22722
+ primaryColor: D(
22727
22723
  n ? l.accentColor : r
22728
22724
  )
22729
22725
  }
@@ -22741,7 +22737,7 @@ ${u.join(`
22741
22737
  I,
22742
22738
  {
22743
22739
  type: { xSmall: "caption", medium: "body" },
22744
- color: D,
22740
+ color: W,
22745
22741
  weight: "bold",
22746
22742
  children: Z.feature
22747
22743
  }
@@ -22764,7 +22760,7 @@ ${u.join(`
22764
22760
  top: "0",
22765
22761
  bottom: "0"
22766
22762
  },
22767
- children: /* @__PURE__ */ e(I, { color: D, type: "body", children: ae })
22763
+ children: /* @__PURE__ */ e(I, { color: W, type: "body", children: ae })
22768
22764
  },
22769
22765
  me
22770
22766
  ))
@@ -22776,7 +22772,7 @@ ${u.join(`
22776
22772
  I,
22777
22773
  {
22778
22774
  type: { xSmall: "caption", medium: "body" },
22779
- color: D,
22775
+ color: W,
22780
22776
  weight: "bold",
22781
22777
  children: Z
22782
22778
  }
@@ -23192,9 +23188,9 @@ const vr = {
23192
23188
  menuDropdownLinks: d
23193
23189
  }) => {
23194
23190
  const [s, u] = q(0), [p, v] = q(!1), [F, M] = ie.useState(!1), { device: H } = Hr(), { ref: z, height: _ } = Go(), { hocs: R } = X(), T = (V) => {
23195
- const D = V;
23196
- return D.linkColumns !== void 0 && D.title !== void 0;
23197
- }, W = ["xSmall", "small", "medium"].includes(H), U = N(
23191
+ const W = V;
23192
+ return W.linkColumns !== void 0 && W.title !== void 0;
23193
+ }, D = ["xSmall", "small", "medium"].includes(H), U = N(
23198
23194
  () => ({
23199
23195
  backdropFilter: l ? "blur(10px)" : "none",
23200
23196
  background: l ? "rgba(255, 255, 255, 0.7)" : R.colors.foreground
@@ -23214,7 +23210,7 @@ const vr = {
23214
23210
  inset: { horizontal: "x3" },
23215
23211
  zIndex: r,
23216
23212
  children: [
23217
- a && W && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
23213
+ a && D && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
23218
23214
  No,
23219
23215
  {
23220
23216
  size: p ? "xSmall" : "small",
@@ -23222,7 +23218,7 @@ const vr = {
23222
23218
  onClick: () => v(!p)
23223
23219
  }
23224
23220
  ) }),
23225
- !a && !W && /* @__PURE__ */ e("div", {}),
23221
+ !a && !D && /* @__PURE__ */ e("div", {}),
23226
23222
  /* @__PURE__ */ c($, { alignItems: "center", flexDirection: "row", columnGap: "x1", children: [
23227
23223
  d && /* @__PURE__ */ c(B, { maxWidth: "300px", children: [
23228
23224
  /* @__PURE__ */ e(
@@ -23276,18 +23272,18 @@ const vr = {
23276
23272
  ] }),
23277
23273
  ie.isValidElement(t) ? t : /* @__PURE__ */ e(p6, { ...t })
23278
23274
  ] }),
23279
- a && !W && /* @__PURE__ */ e(
23275
+ a && !D && /* @__PURE__ */ e(
23280
23276
  $,
23281
23277
  {
23282
23278
  height: "100%",
23283
23279
  width: "100%",
23284
23280
  alignItems: "center",
23285
23281
  justifyContent: "center",
23286
- children: a && a.map((V, D) => /* @__PURE__ */ e(B, { inset: { horizontal: H === "large" ? "x1" : "x2" }, children: "href" in V && typeof V.title == "string" ? /* @__PURE__ */ e(
23282
+ children: a && a.map((V, W) => /* @__PURE__ */ e(B, { inset: { horizontal: H === "large" ? "x1" : "x2" }, children: "href" in V && typeof V.title == "string" ? /* @__PURE__ */ e(
23287
23283
  Yr,
23288
23284
  {
23289
23285
  title: V.title,
23290
- isActive: s === D && p,
23286
+ isActive: s === W && p,
23291
23287
  href: V.href,
23292
23288
  target: V.target
23293
23289
  }
@@ -23295,18 +23291,18 @@ const vr = {
23295
23291
  B,
23296
23292
  {
23297
23293
  onHoverStart: () => {
23298
- v(!0), u(D);
23294
+ v(!0), u(W);
23299
23295
  },
23300
- onClick: () => p ? v(!1) : (v(!0), u(D)),
23296
+ onClick: () => p ? v(!1) : (v(!0), u(W)),
23301
23297
  children: /* @__PURE__ */ e(
23302
23298
  Yr,
23303
23299
  {
23304
23300
  title: V.title,
23305
- isActive: s === D && p
23301
+ isActive: s === W && p
23306
23302
  }
23307
23303
  )
23308
23304
  },
23309
- D
23305
+ W
23310
23306
  ) : /* @__PURE__ */ e(
23311
23307
  _e,
23312
23308
  {
@@ -23330,17 +23326,17 @@ const vr = {
23330
23326
  width: "100%",
23331
23327
  zIndex: r - 1,
23332
23328
  onHoverEnd: () => v(!1),
23333
- children: !W && /* @__PURE__ */ e(
23329
+ children: !D && /* @__PURE__ */ e(
23334
23330
  St,
23335
23331
  {
23336
- isOpen: p && !W,
23332
+ isOpen: p && !D,
23337
23333
  location: "top",
23338
23334
  onClick: () => v(!1),
23339
23335
  openValue: i || ((_ && _ + 64 < 248 ? 248 : _ && _ + 64) ?? 280),
23340
23336
  isTabHidden: !0,
23341
23337
  showTab: !1,
23342
23338
  zIndex: 10,
23343
- children: /* @__PURE__ */ e(B, { outset: "x3", ref: z, children: a && a.map((V, D) => s === D && /* @__PURE__ */ c(
23339
+ children: /* @__PURE__ */ e(B, { outset: "x3", ref: z, children: a && a.map((V, W) => s === W && /* @__PURE__ */ c(
23344
23340
  Ve,
23345
23341
  {
23346
23342
  gap: "x9",
@@ -23386,13 +23382,13 @@ const vr = {
23386
23382
  ) }, J))
23387
23383
  ]
23388
23384
  },
23389
- D
23385
+ W
23390
23386
  )) })
23391
23387
  }
23392
23388
  )
23393
23389
  }
23394
23390
  ),
23395
- a && W && /* @__PURE__ */ e(
23391
+ a && D && /* @__PURE__ */ e(
23396
23392
  B,
23397
23393
  {
23398
23394
  height: `calc(100% - ${n}px)`,
@@ -24149,10 +24145,10 @@ const vr = {
24149
24145
  var T;
24150
24146
  H(!1), (T = z.current) == null || T.click();
24151
24147
  }, R = (T) => {
24152
- const W = T.target.files;
24153
- if (W) {
24154
- const U = Array.from(W);
24155
- a({ accepted: U, rejected: [] }, W);
24148
+ const D = T.target.files;
24149
+ if (D) {
24150
+ const U = Array.from(D);
24151
+ a({ accepted: U, rejected: [] }, D);
24156
24152
  }
24157
24153
  };
24158
24154
  return /* @__PURE__ */ e(e1, { children: n && /* @__PURE__ */ c(
@@ -24240,7 +24236,7 @@ const vr = {
24240
24236
  initial: { opacity: 0 },
24241
24237
  animate: { opacity: 1 },
24242
24238
  exit: { opacity: 0 },
24243
- children: d == null ? void 0 : d.map((T, W) => /* @__PURE__ */ e(
24239
+ children: d == null ? void 0 : d.map((T, D) => /* @__PURE__ */ e(
24244
24240
  U1,
24245
24241
  {
24246
24242
  gridColSpan: 2,
@@ -24257,7 +24253,7 @@ const vr = {
24257
24253
  }
24258
24254
  ) })
24259
24255
  },
24260
- W
24256
+ D
24261
24257
  ))
24262
24258
  }
24263
24259
  )
@@ -25078,7 +25074,7 @@ const vr = {
25078
25074
  top: "-100%",
25079
25075
  transition: { duration: 0 }
25080
25076
  });
25081
- }, W = async () => {
25077
+ }, D = async () => {
25082
25078
  _.start({
25083
25079
  width: "0%"
25084
25080
  }), await M.start({
@@ -25092,13 +25088,13 @@ const vr = {
25092
25088
  }, U = async (V) => {
25093
25089
  if (V.preventDefault(), V.target.files == null)
25094
25090
  return;
25095
- const D = V.target.files[0];
25091
+ const W = V.target.files[0];
25096
25092
  if (a) {
25097
- F(!0), await R(), a(D);
25093
+ F(!0), await R(), a(W);
25098
25094
  const O = new FileReader();
25099
25095
  O.onloadend = () => {
25100
25096
  p(O.result);
25101
- }, await T(), O.readAsDataURL(D), await W(), F(!1);
25097
+ }, await T(), O.readAsDataURL(W), await D(), F(!1);
25102
25098
  } else
25103
25099
  p(null);
25104
25100
  };
@@ -25393,7 +25389,7 @@ const vr = {
25393
25389
  inset: R,
25394
25390
  outset: T
25395
25391
  }) => {
25396
- const [W, U] = ie.useState(""), { ref: V, height: D } = Go(), O = (ae) => a.find((me) => me.optionId === ae), J = O(F), Z = O(W), { height: j } = Lo();
25392
+ const [D, U] = ie.useState(""), { ref: V, height: W } = Go(), O = (ae) => a.find((me) => me.optionId === ae), J = O(F), Z = O(D), { height: j } = Lo();
25397
25393
  return /* @__PURE__ */ e(
25398
25394
  Ct,
25399
25395
  {
@@ -25424,7 +25420,7 @@ const vr = {
25424
25420
  removeSelectedOption: M,
25425
25421
  children: p
25426
25422
  }
25427
- ) : W && (Z != null && Z.expandedChild) ? /* @__PURE__ */ c(
25423
+ ) : D && (Z != null && Z.expandedChild) ? /* @__PURE__ */ c(
25428
25424
  B,
25429
25425
  {
25430
25426
  width: "100%",
@@ -25489,7 +25485,7 @@ const vr = {
25489
25485
  alignment: "center"
25490
25486
  }
25491
25487
  ),
25492
- D && D >= j && /* @__PURE__ */ e(_h, { name: "description" }),
25488
+ W && W >= j && /* @__PURE__ */ e(_h, { name: "description" }),
25493
25489
  /* @__PURE__ */ e(pe, { space: "x2" }),
25494
25490
  /* @__PURE__ */ e(
25495
25491
  e8,
@@ -25657,11 +25653,11 @@ const vr = {
25657
25653
  hasIncrement: _,
25658
25654
  isConfigurable: R,
25659
25655
  disableMessage: T,
25660
- sliderOrientation: W,
25656
+ sliderOrientation: D,
25661
25657
  sliderImage: U,
25662
25658
  secondaryAction: V
25663
25659
  }) => {
25664
- const [D, O] = ie.useState(!1), [J, Z] = ie.useState(!1), j = () => {
25660
+ const [W, O] = ie.useState(!1), [J, Z] = ie.useState(!1), j = () => {
25665
25661
  v.forEach(
25666
25662
  (ee) => ee.setActiveConfigurationId("")
25667
25663
  ), M(!1);
@@ -25678,7 +25674,7 @@ const vr = {
25678
25674
  }
25679
25675
  };
25680
25676
  return /* @__PURE__ */ c($, { inset: "x3", flexDirection: { xSmall: "column", large: "row" }, children: [
25681
- D && H ? /* @__PURE__ */ e(
25677
+ W && H ? /* @__PURE__ */ e(
25682
25678
  Xr,
25683
25679
  {
25684
25680
  title: H == null ? void 0 : H.title,
@@ -25687,14 +25683,14 @@ const vr = {
25687
25683
  accept: {
25688
25684
  title: H.accept.title,
25689
25685
  onClick: () => {
25690
- M(!0), O(!D), H.accept.onClick();
25686
+ M(!0), O(!W), H.accept.onClick();
25691
25687
  }
25692
25688
  },
25693
25689
  decline: {
25694
25690
  title: "Cancel",
25695
25691
  onClick: () => {
25696
25692
  var ee;
25697
- O(!D), (ee = H.decline) == null || ee.onClick();
25693
+ O(!W), (ee = H.decline) == null || ee.onClick();
25698
25694
  }
25699
25695
  },
25700
25696
  requireScroll: !1
@@ -25860,7 +25856,7 @@ const vr = {
25860
25856
  sliderFill: n,
25861
25857
  hasIncrement: _,
25862
25858
  cardImage: U,
25863
- cardOrientation: W,
25859
+ cardOrientation: D,
25864
25860
  secondaryAction: V
25865
25861
  }
25866
25862
  ),
@@ -26085,7 +26081,7 @@ const vr = {
26085
26081
  checkoutDescription: r,
26086
26082
  selectableOptions: i,
26087
26083
  selectedOption: p,
26088
- handleSelectedOption: (W) => H(W),
26084
+ handleSelectedOption: (D) => H(D),
26089
26085
  removeSelectedOption: v,
26090
26086
  upsaleContentTitle: n,
26091
26087
  upsaleContent: /* @__PURE__ */ e(
@@ -26229,10 +26225,10 @@ const vr = {
26229
26225
  successComponent: _,
26230
26226
  upsaleContentTitle: R,
26231
26227
  sponsorId: T = "9070",
26232
- extraLink: W,
26228
+ extraLink: D,
26233
26229
  defaultNumOptionsShown: U,
26234
26230
  submitAction: V,
26235
- acceptSelectedAction: D,
26231
+ acceptSelectedAction: W,
26236
26232
  shouldHideSendFreeCard: O,
26237
26233
  upsaleBanner: J,
26238
26234
  checkoutOnly: Z
@@ -26242,7 +26238,7 @@ const vr = {
26242
26238
  ), { ref: me, width: Ee, height: ee } = Go(), ue = O ? "120px" : "170px", se = Lo().width, ne = se <= 910, ce = ((Be) => i.filter(
26243
26239
  (o1) => o1.optionId === Be
26244
26240
  ))(u), Me = () => {
26245
- ae(!0), D == null || D.onClick();
26241
+ ae(!0), W == null || W.onClick();
26246
26242
  };
26247
26243
  return /* @__PURE__ */ e(
26248
26244
  wr,
@@ -26329,9 +26325,9 @@ const vr = {
26329
26325
  handleShouldShowCheckoutView: (Be) => ae(Be),
26330
26326
  activeSelectedOption: ce[0],
26331
26327
  extraLink: {
26332
- title: W == null ? void 0 : W.title,
26333
- onClick: W == null ? void 0 : W.onClick,
26334
- href: W == null ? void 0 : W.href
26328
+ title: D == null ? void 0 : D.title,
26329
+ onClick: D == null ? void 0 : D.onClick,
26330
+ href: D == null ? void 0 : D.href
26335
26331
  },
26336
26332
  defaultNumOptionsShown: U,
26337
26333
  submitAction: V,
@@ -26357,7 +26353,7 @@ const vr = {
26357
26353
  type: "primary",
26358
26354
  size: "large",
26359
26355
  fullWidth: !0,
26360
- title: (D == null ? void 0 : D.title) ?? "Continue to Checkout",
26356
+ title: (W == null ? void 0 : W.title) ?? "Continue to Checkout",
26361
26357
  disabled: !u.length,
26362
26358
  onClick: Me
26363
26359
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "description": "UI component library for Quantum Design System",
6
6
  "module": "dist/index.js",