@andreagiugni/tailwind-dashboard-ui 0.5.11 → 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/README.md +1 -1
- package/dist/{chunk-VHWX72IM.js → chunk-VRFAP3OW.js} +49 -32
- package/dist/chunk-VRFAP3OW.js.map +1 -0
- package/dist/{chunk-ESA24TF2.cjs → chunk-YNH4N554.cjs} +49 -32
- package/dist/chunk-YNH4N554.cjs.map +1 -0
- package/dist/components/Calendar/Calendar.cjs +2 -2
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/index.cjs +38 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +36 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-ESA24TF2.cjs.map +0 -1
- package/dist/chunk-VHWX72IM.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -111,7 +111,7 @@ interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
111
111
|
closeOnEsc?: boolean;
|
|
112
112
|
/** Render a preset alert layout (decorative icon + title + message + action button). */
|
|
113
113
|
variant?: ModalVariant;
|
|
114
|
-
/**
|
|
114
|
+
/** Header title for a standard modal, or the alert heading when `variant` is set. */
|
|
115
115
|
title?: string;
|
|
116
116
|
/** Alert body text — used when `variant` is set. */
|
|
117
117
|
description?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
111
111
|
closeOnEsc?: boolean;
|
|
112
112
|
/** Render a preset alert layout (decorative icon + title + message + action button). */
|
|
113
113
|
variant?: ModalVariant;
|
|
114
|
-
/**
|
|
114
|
+
/** Header title for a standard modal, or the alert heading when `variant` is set. */
|
|
115
115
|
title?: string;
|
|
116
116
|
/** Alert body text — used when `variant` is set. */
|
|
117
117
|
description?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { BarChart } from './chunk-YAKIMPXZ.js';
|
|
3
3
|
export { LineChart } from './chunk-NWIOJGF7.js';
|
|
4
|
-
export { Calendar, Modal } from './chunk-
|
|
4
|
+
export { Calendar, Modal } from './chunk-VRFAP3OW.js';
|
|
5
5
|
export { CountryMap } from './chunk-R66LONPQ.js';
|
|
6
6
|
export { Editor } from './chunk-DXUWFHPF.js';
|
|
7
7
|
export { ColorPicker } from './chunk-X3OP55FG.js';
|
|
@@ -771,19 +771,41 @@ function DataDrivenTable({
|
|
|
771
771
|
showControls && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 p-4", children: [
|
|
772
772
|
showSelector ? /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-500 dark:text-gray-400", children: [
|
|
773
773
|
"Show",
|
|
774
|
-
/* @__PURE__ */
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
774
|
+
/* @__PURE__ */ jsxs("span", { className: "relative inline-flex", children: [
|
|
775
|
+
/* @__PURE__ */ jsx(
|
|
776
|
+
"select",
|
|
777
|
+
{
|
|
778
|
+
"aria-label": "Rows per page",
|
|
779
|
+
value: pageSize,
|
|
780
|
+
onChange: (e) => {
|
|
781
|
+
setPageSize(Number(e.target.value));
|
|
782
|
+
setPage(1);
|
|
783
|
+
},
|
|
784
|
+
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",
|
|
785
|
+
children: sizeOptions.map((n) => /* @__PURE__ */ jsx("option", { value: n, children: n }, n))
|
|
786
|
+
}
|
|
787
|
+
),
|
|
788
|
+
/* @__PURE__ */ jsx(
|
|
789
|
+
"svg",
|
|
790
|
+
{
|
|
791
|
+
"aria-hidden": "true",
|
|
792
|
+
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",
|
|
793
|
+
viewBox: "0 0 16 16",
|
|
794
|
+
fill: "none",
|
|
795
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
796
|
+
children: /* @__PURE__ */ jsx(
|
|
797
|
+
"path",
|
|
798
|
+
{
|
|
799
|
+
d: "M4 6L8 10L12 6",
|
|
800
|
+
stroke: "currentColor",
|
|
801
|
+
strokeWidth: "1.5",
|
|
802
|
+
strokeLinecap: "round",
|
|
803
|
+
strokeLinejoin: "round"
|
|
804
|
+
}
|
|
805
|
+
)
|
|
806
|
+
}
|
|
807
|
+
)
|
|
808
|
+
] }),
|
|
787
809
|
"entries"
|
|
788
810
|
] }) : /* @__PURE__ */ jsx("span", {}),
|
|
789
811
|
showSearch && /* @__PURE__ */ jsx(
|