@andreagiugni/tailwind-dashboard-ui 0.5.12 → 0.5.13
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.cjs +35 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -777,19 +777,41 @@ function DataDrivenTable({
|
|
|
777
777
|
showControls && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 p-4", children: [
|
|
778
778
|
showSelector ? /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-500 dark:text-gray-400", children: [
|
|
779
779
|
"Show",
|
|
780
|
-
/* @__PURE__ */ jsxRuntime.
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
780
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative inline-flex", children: [
|
|
781
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
782
|
+
"select",
|
|
783
|
+
{
|
|
784
|
+
"aria-label": "Rows per page",
|
|
785
|
+
value: pageSize,
|
|
786
|
+
onChange: (e) => {
|
|
787
|
+
setPageSize(Number(e.target.value));
|
|
788
|
+
setPage(1);
|
|
789
|
+
},
|
|
790
|
+
className: "appearance-none rounded-lg border border-gray-200 bg-transparent py-1.5 pl-3 pr-9 text-sm text-gray-700 dark:border-white/[0.08] dark:text-white/90",
|
|
791
|
+
children: sizeOptions.map((n) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: n, children: n }, n))
|
|
792
|
+
}
|
|
793
|
+
),
|
|
794
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
795
|
+
"svg",
|
|
796
|
+
{
|
|
797
|
+
"aria-hidden": "true",
|
|
798
|
+
className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500 dark:text-gray-400",
|
|
799
|
+
viewBox: "0 0 16 16",
|
|
800
|
+
fill: "none",
|
|
801
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
802
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
|
+
"path",
|
|
804
|
+
{
|
|
805
|
+
d: "M4 6L8 10L12 6",
|
|
806
|
+
stroke: "currentColor",
|
|
807
|
+
strokeWidth: "1.5",
|
|
808
|
+
strokeLinecap: "round",
|
|
809
|
+
strokeLinejoin: "round"
|
|
810
|
+
}
|
|
811
|
+
)
|
|
812
|
+
}
|
|
813
|
+
)
|
|
814
|
+
] }),
|
|
793
815
|
"entries"
|
|
794
816
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("span", {}),
|
|
795
817
|
showSearch && /* @__PURE__ */ jsxRuntime.jsx(
|