next-recomponents 1.1.0 → 1.1.2

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
@@ -12880,13 +12880,10 @@ function Container({
12880
12880
  {
12881
12881
  className: ` gap-2 bg-gray-800 text-white ${isSidebarOpen ? "px-[270px]" : "px-[60px]"} hidden sm:flex`,
12882
12882
  children: [{ location: "/", name: "Home", icon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(HomeIcon, {}) }, navItems].flat().map((li, k) => {
12883
- return li && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
12884
- "/ ",
12885
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_link.default, { href: li.location, className: "flex gap-1 p-1", children: [
12886
- li.icon,
12887
- li.name
12888
- ] }, k)
12889
- ] });
12883
+ return li && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_link.default, { href: li.location, className: "flex gap-1 p-1", children: [
12884
+ li.icon,
12885
+ li.name
12886
+ ] }, k);
12890
12887
  })
12891
12888
  }
12892
12889
  )
package/dist/index.mjs CHANGED
@@ -12833,7 +12833,7 @@ function ArrowDownIcon() {
12833
12833
 
12834
12834
  // src/container/index.tsx
12835
12835
  var import_link = __toESM(require_link2());
12836
- import { Fragment as Fragment3, jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
12836
+ import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
12837
12837
  function Container({
12838
12838
  children,
12839
12839
  appName,
@@ -12864,13 +12864,10 @@ function Container({
12864
12864
  {
12865
12865
  className: ` gap-2 bg-gray-800 text-white ${isSidebarOpen ? "px-[270px]" : "px-[60px]"} hidden sm:flex`,
12866
12866
  children: [{ location: "/", name: "Home", icon: /* @__PURE__ */ jsx5(HomeIcon, {}) }, navItems].flat().map((li, k) => {
12867
- return li && /* @__PURE__ */ jsxs3(Fragment3, { children: [
12868
- "/ ",
12869
- /* @__PURE__ */ jsxs3(import_link.default, { href: li.location, className: "flex gap-1 p-1", children: [
12870
- li.icon,
12871
- li.name
12872
- ] }, k)
12873
- ] });
12867
+ return li && /* @__PURE__ */ jsxs3(import_link.default, { href: li.location, className: "flex gap-1 p-1", children: [
12868
+ li.icon,
12869
+ li.name
12870
+ ] }, k);
12874
12871
  })
12875
12872
  }
12876
12873
  )
@@ -13164,7 +13161,7 @@ function ExcelIcon() {
13164
13161
 
13165
13162
  // src/table/filter.menu.tsx
13166
13163
  import { useEffect as useEffect5, useState as useState4 } from "react";
13167
- import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
13164
+ import { Fragment as Fragment3, jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
13168
13165
  function FilterMenu({
13169
13166
  h,
13170
13167
  mapedData,
@@ -13190,7 +13187,7 @@ function FilterMenu({
13190
13187
  useEffect5(() => {
13191
13188
  setText("");
13192
13189
  }, [selectedFilter]);
13193
- return selectedFilter == index && /* @__PURE__ */ jsxs6(Fragment4, { children: [
13190
+ return selectedFilter == index && /* @__PURE__ */ jsxs6(Fragment3, { children: [
13194
13191
  /* @__PURE__ */ jsx10(
13195
13192
  "div",
13196
13193
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -52,13 +52,10 @@ export default function Container({
52
52
  .map((li, k) => {
53
53
  return (
54
54
  li && (
55
- <>
56
- {"/ "}
57
- <Link href={li.location} key={k} className="flex gap-1 p-1">
58
- {li.icon}
59
- {li.name}
60
- </Link>
61
- </>
55
+ <Link href={li.location} key={k} className="flex gap-1 p-1">
56
+ {li.icon}
57
+ {li.name}
58
+ </Link>
62
59
  )
63
60
  );
64
61
  })}