next-recomponents 1.8.2 → 1.8.3

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 CHANGED
@@ -44923,7 +44923,7 @@ function Filter({
44923
44923
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "relative", children: visible && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
44924
44924
  "div",
44925
44925
  {
44926
- className: " w-full h-screen top-0 left-0 fixed",
44926
+ className: " w-full h-screen top-0 left-0 fixed ",
44927
44927
  style: { zIndex: 9998 },
44928
44928
  onClick: (e) => setVisible(!visible)
44929
44929
  }
@@ -44948,7 +44948,7 @@ function Filter({
44948
44948
  visible && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
44949
44949
  "div",
44950
44950
  {
44951
- className: "border shadow rounded bg-white p-1 absolute fixed text-black",
44951
+ className: "border shadow rounded bg-white p-1 absolute left-0 text-black",
44952
44952
  style: { zIndex: 9999 },
44953
44953
  children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-col gap-1 w-[300px] min-w-[300px] resize-x overflow-auto", children: [
44954
44954
  selected.length < items.length && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
@@ -45477,7 +45477,7 @@ function Table3(_a) {
45477
45477
  const cc = ((_a2 = a == null ? void 0 : a[id3]) == null ? void 0 : _a2._updated) ? __spreadProps(__spreadValues(__spreadValues({}, bb), a == null ? void 0 : a[id3]), {
45478
45478
  _selected: bb == null ? void 0 : bb._selected,
45479
45479
  _visible: (bb == null ? void 0 : bb._visible) == false ? false : true
45480
- }) : __spreadProps(__spreadValues({}, bb), {
45480
+ }) : __spreadProps(__spreadValues(__spreadValues({}, a == null ? void 0 : a[id3]), bb), {
45481
45481
  _selected: bb == null ? void 0 : bb._selected,
45482
45482
  _visible: (bb == null ? void 0 : bb._visible) == false ? false : true
45483
45483
  });
package/dist/index.mjs CHANGED
@@ -44920,7 +44920,7 @@ function Filter({
44920
44920
  /* @__PURE__ */ jsx27("div", { className: "relative", children: visible && /* @__PURE__ */ jsx27(
44921
44921
  "div",
44922
44922
  {
44923
- className: " w-full h-screen top-0 left-0 fixed",
44923
+ className: " w-full h-screen top-0 left-0 fixed ",
44924
44924
  style: { zIndex: 9998 },
44925
44925
  onClick: (e) => setVisible(!visible)
44926
44926
  }
@@ -44945,7 +44945,7 @@ function Filter({
44945
44945
  visible && /* @__PURE__ */ jsx27(
44946
44946
  "div",
44947
44947
  {
44948
- className: "border shadow rounded bg-white p-1 absolute fixed text-black",
44948
+ className: "border shadow rounded bg-white p-1 absolute left-0 text-black",
44949
44949
  style: { zIndex: 9999 },
44950
44950
  children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-1 w-[300px] min-w-[300px] resize-x overflow-auto", children: [
44951
44951
  selected.length < items.length && /* @__PURE__ */ jsxs18(
@@ -45474,7 +45474,7 @@ function Table3(_a) {
45474
45474
  const cc = ((_a2 = a == null ? void 0 : a[id3]) == null ? void 0 : _a2._updated) ? __spreadProps(__spreadValues(__spreadValues({}, bb), a == null ? void 0 : a[id3]), {
45475
45475
  _selected: bb == null ? void 0 : bb._selected,
45476
45476
  _visible: (bb == null ? void 0 : bb._visible) == false ? false : true
45477
- }) : __spreadProps(__spreadValues({}, bb), {
45477
+ }) : __spreadProps(__spreadValues(__spreadValues({}, a == null ? void 0 : a[id3]), bb), {
45478
45478
  _selected: bb == null ? void 0 : bb._selected,
45479
45479
  _visible: (bb == null ? void 0 : bb._visible) == false ? false : true
45480
45480
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -81,7 +81,7 @@ export default function Filter({
81
81
  <div className="relative">
82
82
  {visible && (
83
83
  <div
84
- className=" w-full h-screen top-0 left-0 fixed"
84
+ className=" w-full h-screen top-0 left-0 fixed "
85
85
  style={{ zIndex: 9998 }}
86
86
  onClick={(e) => setVisible(!visible)}
87
87
  ></div>
@@ -106,7 +106,7 @@ export default function Filter({
106
106
  </div>
107
107
  {visible && (
108
108
  <div
109
- className="border shadow rounded bg-white p-1 absolute fixed text-black"
109
+ className="border shadow rounded bg-white p-1 absolute left-0 text-black"
110
110
  style={{ zIndex: 9999 }}
111
111
  >
112
112
  <div className="flex flex-col gap-1 w-[300px] min-w-[300px] resize-x overflow-auto">
@@ -63,6 +63,7 @@ export default function Table3({
63
63
  _visible: bb?._visible == false ? false : true,
64
64
  }
65
65
  : {
66
+ ...a?.[id],
66
67
  ...bb,
67
68
  _selected: bb?._selected,
68
69
  _visible: bb?._visible == false ? false : true,