@myxtra/authentication-green 1.0.0 → 1.1.1

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.
@@ -1,4 +1,4 @@
1
- import { r as c, j as n, g as wt, u as z, a as Qe, b as _t, E as Rt } from "./index-a5c488e5.mjs";
1
+ import { r as c, j as n, g as wt, u as z, a as Qe, b as _t, E as Rt } from "./index-b97019f1.mjs";
2
2
  class B {
3
3
  constructor() {
4
4
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -2444,8 +2444,29 @@ var Rs = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
2444
2444
  })
2445
2445
  );
2446
2446
  }, Js = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__footer", children: t }), Xs = (t) => {
2447
- var e = t, { sticky: s, className: r, children: i } = e, o = A(e, ["sticky", "className", "children"]);
2448
- return /* @__PURE__ */ n.jsx("div", E(x({}, o), { className: S("card__header", s && "card__header--sticky", r), children: i }));
2447
+ var e = t, {
2448
+ variant: s = "default",
2449
+ sticky: r,
2450
+ className: i,
2451
+ children: o
2452
+ } = e, a = A(e, [
2453
+ "variant",
2454
+ "sticky",
2455
+ "className",
2456
+ "children"
2457
+ ]);
2458
+ return /* @__PURE__ */ n.jsx(
2459
+ "div",
2460
+ E(x({}, a), {
2461
+ className: S(
2462
+ "card__header",
2463
+ s && `card__header--${s}`,
2464
+ r && "card__header--sticky",
2465
+ i
2466
+ ),
2467
+ children: o
2468
+ })
2469
+ );
2449
2470
  }, er = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__image", children: t }), tr = ({ children: t, className: e }) => /* @__PURE__ */ n.jsx("div", { className: S("card__body__item", e), children: t }), sr = ({ icon: t, children: e }) => /* @__PURE__ */ n.jsxs("div", { className: "card__header__title", children: [
2450
2471
  t && /* @__PURE__ */ n.jsx("span", { className: "card__header__title__icon", children: t }),
2451
2472
  e
@@ -3044,7 +3065,8 @@ const Ar = () => {
3044
3065
  throw s.status === 401 ? new Te(`${s.status} - ${s.statusText}`) : new Error("Network response was not ok");
3045
3066
  return await s.json();
3046
3067
  },
3047
- retry: (s, r) => r instanceof Te ? !1 : 3
3068
+ retry: (s, r) => r instanceof Te ? !1 : 3,
3069
+ refetchOnWindowFocus: !1
3048
3070
  });
3049
3071
  }, Ct = () => {
3050
3072
  var u, l;