next-recomponents 1.1.3 → 1.1.5
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/container/index.tsx +1 -1
- package/src/use-resources/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -10964,7 +10964,7 @@ function Container({
|
|
|
10964
10964
|
{
|
|
10965
10965
|
className: "bg-blue-100 overflow-hidden",
|
|
10966
10966
|
initial: isFooterOpen,
|
|
10967
|
-
animate: { height: isFooterOpen ?
|
|
10967
|
+
animate: { height: isFooterOpen ? 200 : 40 },
|
|
10968
10968
|
transition: { duration: 0.3 },
|
|
10969
10969
|
children: [
|
|
10970
10970
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex justify-center items-center p-2", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -32314,7 +32314,7 @@ function useResources({
|
|
|
32314
32314
|
}
|
|
32315
32315
|
}
|
|
32316
32316
|
setInfo(__spreadValues({}, newInfo));
|
|
32317
|
-
return d
|
|
32317
|
+
return d;
|
|
32318
32318
|
} catch (error) {
|
|
32319
32319
|
const item = http_codes_default.find((s) => s.code == error.status);
|
|
32320
32320
|
newInfo[key].state = "error";
|
package/dist/index.mjs
CHANGED
|
@@ -10948,7 +10948,7 @@ function Container({
|
|
|
10948
10948
|
{
|
|
10949
10949
|
className: "bg-blue-100 overflow-hidden",
|
|
10950
10950
|
initial: isFooterOpen,
|
|
10951
|
-
animate: { height: isFooterOpen ?
|
|
10951
|
+
animate: { height: isFooterOpen ? 200 : 40 },
|
|
10952
10952
|
transition: { duration: 0.3 },
|
|
10953
10953
|
children: [
|
|
10954
10954
|
/* @__PURE__ */ jsx5("div", { className: "flex justify-center items-center p-2", children: /* @__PURE__ */ jsx5(
|
|
@@ -32305,7 +32305,7 @@ function useResources({
|
|
|
32305
32305
|
}
|
|
32306
32306
|
}
|
|
32307
32307
|
setInfo(__spreadValues({}, newInfo));
|
|
32308
|
-
return d
|
|
32308
|
+
return d;
|
|
32309
32309
|
} catch (error) {
|
|
32310
32310
|
const item = http_codes_default.find((s) => s.code == error.status);
|
|
32311
32311
|
newInfo[key].state = "error";
|
package/package.json
CHANGED
package/src/container/index.tsx
CHANGED
|
@@ -149,7 +149,7 @@ export default function Container({
|
|
|
149
149
|
<motion.footer
|
|
150
150
|
className="bg-blue-100 overflow-hidden"
|
|
151
151
|
initial={isFooterOpen}
|
|
152
|
-
animate={{ height: isFooterOpen ?
|
|
152
|
+
animate={{ height: isFooterOpen ? 200 : 40 }}
|
|
153
153
|
transition={{ duration: 0.3 }}
|
|
154
154
|
>
|
|
155
155
|
<div className="flex justify-center items-center p-2">
|
|
@@ -149,7 +149,7 @@ export default function useResources<T extends Record<string, ItemsRecord>>({
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
setInfo({ ...newInfo });
|
|
152
|
-
return d
|
|
152
|
+
return d;
|
|
153
153
|
} catch (error: any) {
|
|
154
154
|
const item = httpStatusCodes.find((s) => s.code == error.status);
|
|
155
155
|
|