@tirth_jasoliya/ui 1.0.2 → 1.0.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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2024,7 +2024,7 @@ function DataTemplate({
|
|
|
2024
2024
|
] }) }) });
|
|
2025
2025
|
}
|
|
2026
2026
|
return /* @__PURE__ */ jsxs15("div", { className: cn("w-full flex gap-2 flex-col h-full", gridContainerClasses), children: [
|
|
2027
|
-
header && /* @__PURE__ */ jsx24(Card, { className: "shadow-sm border-0
|
|
2027
|
+
header && /* @__PURE__ */ jsx24(Card, { className: "shadow-sm border-0 py-0 text-xl font-bold", children: /* @__PURE__ */ jsx24(CardContent, { className: "p-2", children: header }) }),
|
|
2028
2028
|
toolbar && /* @__PURE__ */ jsx24(
|
|
2029
2029
|
DataTemplateToolbar,
|
|
2030
2030
|
{
|
|
@@ -2091,8 +2091,8 @@ function DataTemplate({
|
|
|
2091
2091
|
);
|
|
2092
2092
|
})
|
|
2093
2093
|
}
|
|
2094
|
-
) : /* @__PURE__ */ jsxs15("div", { className: "flex flex-col items-center justify-center py-12 text-center", children: [
|
|
2095
|
-
/* @__PURE__ */ jsx24("div", { className: "text-6xl
|
|
2094
|
+
) : /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-4 items-center justify-center py-12 text-center", children: [
|
|
2095
|
+
/* @__PURE__ */ jsx24("div", { className: "text-6xl", children: emptyIcon || "\u{1F4CB}" }),
|
|
2096
2096
|
/* @__PURE__ */ jsx24("p", { className: "text-lg font-medium text-muted-foreground mb-2", children: emptyMessage }),
|
|
2097
2097
|
(globalFilter || Object.values(fieldFilters).some((v) => v)) && /* @__PURE__ */ jsx24(Button, { variant: "outline", onClick: handleClearFilters, children: "Clear Filters" })
|
|
2098
2098
|
] })
|