l-min-components 1.8.508 → 1.8.509
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/chunks/{axiosConfig-f5c402d4.js → axiosConfig-0f07238e.js} +14 -14
- package/dist/chunks/{axiosConfig-f5c402d4.js.map → axiosConfig-0f07238e.js.map} +1 -1
- package/dist/chunks/{useCustomNavigate-1aa3c542.js → useCustomNavigate-3f4a651c.js} +2 -2
- package/dist/chunks/{useCustomNavigate-1aa3c542.js.map → useCustomNavigate-3f4a651c.js.map} +1 -1
- package/dist/components.js +2 -2
- package/dist/hooks.js +3 -3
- package/dist/index.js +4 -4
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/src/utils/axiosConfig.js +8 -5
|
@@ -644,7 +644,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
644
644
|
}
|
|
645
645
|
process.env.NODE_ENV === "production" ? Vt.exports = Ur() : Vt.exports = Gr();
|
|
646
646
|
var Zt = Vt.exports;
|
|
647
|
-
const
|
|
647
|
+
const Ca = Zt.Fragment, fe = Zt.jsx, Sn = Zt.jsxs;
|
|
648
648
|
var Z = function() {
|
|
649
649
|
return Z = Object.assign || function(t) {
|
|
650
650
|
for (var n, r = 1, a = arguments.length; r < a; r++) {
|
|
@@ -655,7 +655,7 @@ var Z = function() {
|
|
|
655
655
|
return t;
|
|
656
656
|
}, Z.apply(this, arguments);
|
|
657
657
|
};
|
|
658
|
-
function
|
|
658
|
+
function Sa(e, t, n, r) {
|
|
659
659
|
function a(s) {
|
|
660
660
|
return s instanceof n ? s : new n(function(i) {
|
|
661
661
|
i(s);
|
|
@@ -682,7 +682,7 @@ function Ca(e, t, n, r) {
|
|
|
682
682
|
u((r = r.apply(e, t || [])).next());
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function _a(e, t) {
|
|
686
686
|
var n = { label: 0, sent: function() {
|
|
687
687
|
if (s[0] & 1)
|
|
688
688
|
throw s[1];
|
|
@@ -1875,7 +1875,7 @@ var fr = function(e) {
|
|
|
1875
1875
|
qt.forEach(function(e) {
|
|
1876
1876
|
nt[e] = fr(e);
|
|
1877
1877
|
});
|
|
1878
|
-
function
|
|
1878
|
+
function ka(e) {
|
|
1879
1879
|
for (var t = [], n = 1; n < arguments.length; n++)
|
|
1880
1880
|
t[n - 1] = arguments[n];
|
|
1881
1881
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
@@ -2336,8 +2336,8 @@ const la = () => /* @__PURE__ */ fe("svg", { width: "36", height: "42", viewBox:
|
|
|
2336
2336
|
success: ga,
|
|
2337
2337
|
info: ya,
|
|
2338
2338
|
warning: va
|
|
2339
|
-
},
|
|
2340
|
-
baseURL:
|
|
2339
|
+
}, Ra = ba, wt = /* @__PURE__ */ new Map(), wa = window.location.hostname.includes("staging") || window.location.hostname.includes("localhost") || window.location.hostname === "127.0.0.1", an = gt.create({
|
|
2340
|
+
baseURL: wa ? "https://dev-117782726-api.learngual.com" : "https://api.learngual.com"
|
|
2341
2341
|
});
|
|
2342
2342
|
an.interceptors.request.use(
|
|
2343
2343
|
async (e) => {
|
|
@@ -2389,22 +2389,22 @@ an.interceptors.response.use(
|
|
|
2389
2389
|
return e.config && wt.delete(e.config.url), gt.isCancel(e) ? {} : (((t = e.response) == null ? void 0 : t.status) === 400 && gr(((r = (n = e == null ? void 0 : e.response) == null ? void 0 : n.data) == null ? void 0 : r.detail) || "Bad request"), e);
|
|
2390
2390
|
}
|
|
2391
2391
|
);
|
|
2392
|
-
const
|
|
2392
|
+
const xa = an;
|
|
2393
2393
|
export {
|
|
2394
|
-
|
|
2394
|
+
Ca as F,
|
|
2395
2395
|
$ as Q,
|
|
2396
|
-
|
|
2396
|
+
Sa as _,
|
|
2397
2397
|
fe as a,
|
|
2398
|
-
|
|
2399
|
-
|
|
2398
|
+
xa as b,
|
|
2399
|
+
ka as c,
|
|
2400
2400
|
gr as d,
|
|
2401
2401
|
ga as e,
|
|
2402
|
-
|
|
2403
|
-
|
|
2402
|
+
_a as f,
|
|
2403
|
+
Ra as g,
|
|
2404
2404
|
ya as h,
|
|
2405
2405
|
va as i,
|
|
2406
2406
|
Sn as j,
|
|
2407
2407
|
dr as n,
|
|
2408
2408
|
nt as s
|
|
2409
2409
|
};
|
|
2410
|
-
//# sourceMappingURL=axiosConfig-
|
|
2410
|
+
//# sourceMappingURL=axiosConfig-0f07238e.js.map
|