@scbt-ecom/ui 0.78.3 → 0.78.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.
@@ -1527,6 +1527,9 @@ const wK = ({ children: t, offset: e = !0, className: n, ...r }) => /* @__PURE__
1527
1527
  uppercase: "uppercase",
1528
1528
  lowercase: "lowercase",
1529
1529
  initial: "initial"
1530
+ }, CK = {
1531
+ submit: "submit",
1532
+ button: "button"
1530
1533
  }, S8 = {
1531
1534
  primary: "bg-color-primary-default text-color-white outline-offset-[3px] hover:bg-color-primary-hover active:bg-color-primary-hover focus:bg-color-primary-default focus:outline-primary-focus disabled:bg-color-primary-disabled",
1532
1535
  secondary: "bg-transparent text-color-primary-default border border-solid border-primary-default hover:bg-color-primary-tr-hover active:bg-color-primary-tr-pressed active:border-primary-hover focus:outline-primary-focus focus:bg-color-primary-tr-focus disabled:bg-color-blue-grey-200 disabled:text-color-primary-disabled disabled:border-transparent",
@@ -1639,7 +1642,7 @@ const wK = ({ children: t, offset: e = !0, className: n, ...r }) => /* @__PURE__
1639
1642
  ] })
1640
1643
  }
1641
1644
  )
1642
- ), CK = ({ phone: t, text: e, classes: n, ...r }) => /* @__PURE__ */ A.jsxs("div", { className: J("flex w-max flex-col", n == null ? void 0 : n.root), ...r, children: [
1645
+ ), kK = ({ phone: t, text: e, classes: n, ...r }) => /* @__PURE__ */ A.jsxs("div", { className: J("flex w-max flex-col", n == null ? void 0 : n.root), ...r, children: [
1643
1646
  /* @__PURE__ */ A.jsx(
1644
1647
  "a",
1645
1648
  {
@@ -10741,7 +10744,7 @@ var nD = Object.freeze({
10741
10744
  )
10742
10745
  );
10743
10746
  bx.displayName = rD;
10744
- var iD = bx, [dd, SK] = oi("Tooltip", [
10747
+ var iD = bx, [dd, EK] = oi("Tooltip", [
10745
10748
  ud
10746
10749
  ]), fd = ud(), xx = "TooltipProvider", oD = 700, Up = "tooltip.open", [sD, y1] = dd(xx), wx = (t) => {
10747
10750
  const {
@@ -10858,7 +10861,7 @@ var Zp = "TooltipTrigger", kx = w.forwardRef(
10858
10861
  }
10859
10862
  );
10860
10863
  kx.displayName = Zp;
10861
- var lD = "TooltipPortal", [EK, cD] = dd(lD, {
10864
+ var lD = "TooltipPortal", [MK, cD] = dd(lD, {
10862
10865
  forceMount: void 0
10863
10866
  }), Js = "TooltipContent", Sx = w.forwardRef(
10864
10867
  (t, e) => {
@@ -11767,7 +11770,7 @@ var Fx = w.forwardRef(function(t, e) {
11767
11770
  return w.createElement(hd, br({}, t, { ref: e, sideCar: yR }));
11768
11771
  });
11769
11772
  Fx.classNames = hd.classNames;
11770
- var md = "Popover", [Hx, MK] = oi(md, [
11773
+ var md = "Popover", [Hx, TK] = oi(md, [
11771
11774
  ud
11772
11775
  ]), $l = ud(), [bR, Yi] = Hx(md), Bx = (t) => {
11773
11776
  const {
@@ -12039,7 +12042,7 @@ const gd = ({
12039
12042
  ]
12040
12043
  }
12041
12044
  ) })
12042
- ] }), TK = ({ topContent: t, bottomContent: e, progress: n, maxPercent: r = 100, classes: i }) => /* @__PURE__ */ A.jsxs("div", { className: J("flex w-full flex-col", i == null ? void 0 : i.root), children: [
12045
+ ] }), OK = ({ topContent: t, bottomContent: e, progress: n, maxPercent: r = 100, classes: i }) => /* @__PURE__ */ A.jsxs("div", { className: J("flex w-full flex-col", i == null ? void 0 : i.root), children: [
12043
12046
  t && /* @__PURE__ */ A.jsx("div", { className: J("mb-2 flex justify-between gap-5", i == null ? void 0 : i.topContent), children: t }),
12044
12047
  /* @__PURE__ */ A.jsxs("div", { className: J("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", i == null ? void 0 : i.progressBar), children: [
12045
12048
  /* @__PURE__ */ A.jsx(
@@ -12304,7 +12307,7 @@ const qR = {
12304
12307
  className: J("ml-auto size-6 cursor-pointer text-icon-dark-hover", n == null ? void 0 : n.icon)
12305
12308
  }
12306
12309
  )
12307
- ] }), OK = ({
12310
+ ] }), PK = ({
12308
12311
  title: t,
12309
12312
  children: e,
12310
12313
  isModalOpen: n,
@@ -12725,7 +12728,7 @@ var jN = ({ id: t, className: e, style: n, onHeightUpdate: r, children: i }) =>
12725
12728
  > * {
12726
12729
  pointer-events: auto;
12727
12730
  }
12728
- `, hc = 16, PK = ({ reverseOrder: t, position: e = "top-center", toastOptions: n, gutter: r, children: i, containerStyle: o, containerClassName: s }) => {
12731
+ `, hc = 16, AK = ({ reverseOrder: t, position: e = "top-center", toastOptions: n, gutter: r, children: i, containerStyle: o, containerClassName: s }) => {
12729
12732
  let { toasts: a, handlers: l } = hN(n);
12730
12733
  return w.createElement("div", { id: "_rht_toaster", style: { position: "fixed", zIndex: 9999, top: hc, left: hc, right: hc, bottom: hc, pointerEvents: "none", ...o }, className: s, onMouseEnter: l.startPause, onMouseLeave: l.endPause }, a.map((c) => {
12731
12734
  let u = c.position || e, d = l.calculateOffset(c, { reverseOrder: t, gutter: r, defaultPosition: e }), f = _N(u, d);
@@ -12790,7 +12793,7 @@ const HN = Gi(
12790
12793
  }), c4 = ({ as: t = "h2", children: e, className: n, ...r }) => {
12791
12794
  const i = t;
12792
12795
  return /* @__PURE__ */ A.jsx(i, { className: J($N({ as: t }), n), ...r, children: e });
12793
- }, AK = ({ className: t, children: e, title: n, portal: r = ((o) => (o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body)(), ...i }) => {
12796
+ }, DK = ({ className: t, children: e, title: n, portal: r = ((o) => (o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body)(), ...i }) => {
12794
12797
  const s = ke(null), a = ke(null), l = () => {
12795
12798
  s.current && s.current.close();
12796
12799
  };
@@ -12825,7 +12828,7 @@ const HN = Gi(
12825
12828
  }
12826
12829
  );
12827
12830
  return r ? $o(c, r) : c;
12828
- }, DK = {
12831
+ }, RK = {
12829
12832
  main: /* @__PURE__ */ A.jsx(He, { name: "brandLogos/logoMain" }),
12830
12833
  white: /* @__PURE__ */ A.jsx(He, { name: "brandLogos/logoWhite" }),
12831
12834
  gray: /* @__PURE__ */ A.jsx(He, { name: "brandLogos/logoGray" }),
@@ -12877,7 +12880,7 @@ const HN = Gi(
12877
12880
  intent: "blue",
12878
12881
  disabled: !1
12879
12882
  }
12880
- }), RK = ({ intent: t, children: e, disabled: n, size: r, icon: i, classes: o, withUnderline: s, ...a }) => /* @__PURE__ */ A.jsxs("a", { className: J(zN({ intent: t, withUnderline: s, disabled: n, size: r }), o == null ? void 0 : o.link), ...a, children: [
12883
+ }), NK = ({ intent: t, children: e, disabled: n, size: r, icon: i, classes: o, withUnderline: s, ...a }) => /* @__PURE__ */ A.jsxs("a", { className: J(zN({ intent: t, withUnderline: s, disabled: n, size: r }), o == null ? void 0 : o.link), ...a, children: [
12881
12884
  e,
12882
12885
  i && /* @__PURE__ */ A.jsx(He, { name: i, className: J(WN({ intent: t, disabled: n }), o == null ? void 0 : o.icon) })
12883
12886
  ] }), UN = ({ keyList: t, classes: e }) => /* @__PURE__ */ A.jsx("div", { className: J("flex items-center gap-1", e == null ? void 0 : e.root), children: t == null ? void 0 : t.map((n, r) => /* @__PURE__ */ A.jsxs("div", { className: J("flex items-center gap-1", e == null ? void 0 : e.keys), children: [
@@ -20186,7 +20189,7 @@ function L1(t) {
20186
20189
  const e = w.useRef({ value: t, previous: t });
20187
20190
  return w.useMemo(() => (e.current.value !== t && (e.current.previous = e.current.value, e.current.value = t), e.current.previous), [t]);
20188
20191
  }
20189
- var Cd = "Checkbox", [$j, VK] = oi(Cd), [zj, V1] = $j(Cd);
20192
+ var Cd = "Checkbox", [$j, jK] = oi(Cd), [zj, V1] = $j(Cd);
20190
20193
  function Wj(t) {
20191
20194
  const {
20192
20195
  __scopeCheckbox: e,
@@ -20523,7 +20526,7 @@ const g6 = pt(
20523
20526
  }
20524
20527
  );
20525
20528
  g6.displayName = "DayPickerBase";
20526
- var kd = "Switch", [Zj, jK] = oi(kd), [qj, Gj] = Zj(kd), v6 = w.forwardRef(
20529
+ var kd = "Switch", [Zj, _K] = oi(kd), [qj, Gj] = Zj(kd), v6 = w.forwardRef(
20527
20530
  (t, e) => {
20528
20531
  const {
20529
20532
  __scopeSwitch: n,
@@ -22867,7 +22870,7 @@ $6.displayName = dF;
22867
22870
  function z6(t) {
22868
22871
  return t ? "checked" : "unchecked";
22869
22872
  }
22870
- var fF = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Md = "RadioGroup", [pF, _K] = oi(Md, [
22873
+ var fF = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Md = "RadioGroup", [pF, FK] = oi(Md, [
22871
22874
  e4,
22872
22875
  _6
22873
22876
  ]), W6 = e4(), U6 = _6(), [hF, mF] = pF(Md), Z6 = w.forwardRef(
@@ -26548,7 +26551,7 @@ var Z1 = class {
26548
26551
  }, qo = typeof window > "u" || "Deno" in globalThis;
26549
26552
  function bl() {
26550
26553
  }
26551
- function FK(t, e) {
26554
+ function HK(t, e) {
26552
26555
  return typeof t == "function" ? t(e) : t;
26553
26556
  }
26554
26557
  function kh(t) {
@@ -26563,7 +26566,7 @@ function Is(t, e) {
26563
26566
  function tr(t, e) {
26564
26567
  return typeof t == "function" ? t(e) : t;
26565
26568
  }
26566
- function HK(t, e) {
26569
+ function BK(t, e) {
26567
26570
  const {
26568
26571
  type: n = "all",
26569
26572
  exact: r,
@@ -26586,7 +26589,7 @@ function HK(t, e) {
26586
26589
  }
26587
26590
  return !(typeof a == "boolean" && e.isStale() !== a || i && i !== e.state.fetchStatus || o && !o(e));
26588
26591
  }
26589
- function BK(t, e) {
26592
+ function $K(t, e) {
26590
26593
  const { exact: n, status: r, predicate: i, mutationKey: o } = t;
26591
26594
  if (o) {
26592
26595
  if (!e.options.mutationKey)
@@ -26670,11 +26673,11 @@ function Oh(t, e, n) {
26670
26673
  }
26671
26674
  return e;
26672
26675
  }
26673
- function $K(t, e, n = 0) {
26676
+ function zK(t, e, n = 0) {
26674
26677
  const r = [...t, e];
26675
26678
  return n && r.length > n ? r.slice(1) : r;
26676
26679
  }
26677
- function zK(t, e, n = 0) {
26680
+ function WK(t, e, n = 0) {
26678
26681
  const r = [e, ...t];
26679
26682
  return n && r.length > n ? r.slice(0, -1) : r;
26680
26683
  }
@@ -26937,7 +26940,7 @@ var G1 = iB(), Oo, Rb, oB = (Rb = class {
26937
26940
  clearGcTimeout() {
26938
26941
  le(this, Oo) && (clearTimeout(le(this, Oo)), je(this, Oo, void 0));
26939
26942
  }
26940
- }, Oo = new WeakMap(), Rb), Hs, Bs, Un, Po, ln, Dl, Ao, er, Br, Nb, WK = (Nb = class extends oB {
26943
+ }, Oo = new WeakMap(), Rb), Hs, Bs, Un, Po, ln, Dl, Ao, er, Br, Nb, UK = (Nb = class extends oB {
26941
26944
  constructor(e) {
26942
26945
  super();
26943
26946
  nt(this, er);
@@ -27515,7 +27518,7 @@ var E9 = w.createContext(
27515
27518
  if (!e)
27516
27519
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
27517
27520
  return e;
27518
- }, UK = ({
27521
+ }, ZK = ({
27519
27522
  client: t,
27520
27523
  children: e
27521
27524
  }) => (w.useEffect(() => (t.mount(), () => {
@@ -44192,42 +44195,43 @@ const C7 = w7(!1, !0), k7 = w7(!0, !0), xG = sn.create({
44192
44195
  InputCurrencyControl: rK
44193
44196
  };
44194
44197
  export {
44195
- Is as $,
44198
+ x9 as $,
44196
44199
  DP as A,
44197
44200
  O8 as B,
44198
44201
  i1 as C,
44199
44202
  lN as D,
44200
- HK as E,
44201
- oB as F,
44202
- nB as G,
44203
+ G1 as E,
44204
+ BK as F,
44205
+ oB as G,
44203
44206
  c4 as H,
44204
44207
  ZR as I,
44205
- BK as J,
44208
+ nB as J,
44206
44209
  UN as K,
44207
44210
  e3 as L,
44208
- OK as M,
44211
+ PK as M,
44209
44212
  wf as N,
44210
- PK as O,
44213
+ AK as O,
44211
44214
  At as P,
44212
- WK as Q,
44215
+ UK as Q,
44213
44216
  wK as R,
44214
44217
  Z1 as S,
44215
- bl as T,
44218
+ $K as T,
44216
44219
  _t as U,
44217
44220
  Jp as V,
44218
- JH as W,
44219
- zK as X,
44220
- $K as Y,
44221
- b9 as Z,
44222
- x9 as _,
44221
+ bl as W,
44222
+ JH as X,
44223
+ WK as Y,
44224
+ zK as Z,
44225
+ b9 as _,
44223
44226
  fa as a,
44224
- FK as a0,
44225
- Sh as a1,
44226
- q1 as a2,
44227
- Ph as a3,
44228
- UK as a4,
44229
- ei as a5,
44230
- Tm as a6,
44227
+ Is as a0,
44228
+ HK as a1,
44229
+ Sh as a2,
44230
+ q1 as a3,
44231
+ Ph as a4,
44232
+ ZK as a5,
44233
+ ei as a6,
44234
+ Tm as a7,
44231
44235
  oi as b,
44232
44236
  Gi as c,
44233
44237
  s1 as d,
@@ -44241,17 +44245,17 @@ export {
44241
44245
  k8 as l,
44242
44246
  C8 as m,
44243
44247
  CK as n,
44244
- P8 as o,
44245
- Ox as p,
44246
- gd as q,
44247
- TK as r,
44248
- AK as s,
44248
+ kK as o,
44249
+ P8 as p,
44250
+ Ox as q,
44251
+ gd as r,
44252
+ OK as s,
44249
44253
  DK as t,
44250
44254
  Xx as u,
44251
44255
  RK as v,
44252
- Qo as w,
44253
- Bj as x,
44254
- KH as y,
44255
- G1 as z
44256
+ NK as w,
44257
+ Qo as x,
44258
+ Bj as y,
44259
+ KH as z
44256
44260
  };
44257
- //# sourceMappingURL=index-BUV7eJPv.js.map
44261
+ //# sourceMappingURL=index-B2IoSSqc.js.map