@pos-360/horizon 0.6.0 → 0.6.1
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/{chunk-FRKI2KFH.mjs → chunk-EBJJNTPC.mjs} +9 -7
- package/dist/{chunk-FRKI2KFH.mjs.map → chunk-EBJJNTPC.mjs.map} +1 -1
- package/dist/{chunk-XAHFPUBG.js → chunk-FQAGXP5O.js} +9 -7
- package/dist/{chunk-XAHFPUBG.js.map → chunk-FQAGXP5O.js.map} +1 -1
- package/dist/enhanced.js +27 -27
- package/dist/enhanced.mjs +1 -1
- package/dist/index.js +27 -27
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -963,6 +963,7 @@ var TableRenderer = forwardRef(
|
|
|
963
963
|
{
|
|
964
964
|
className: cn(
|
|
965
965
|
"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",
|
|
966
|
+
"border-r border-gray-200 dark:border-neutral-700 last:border-r-0",
|
|
966
967
|
compact ? "py-2 px-3" : "py-3 px-4",
|
|
967
968
|
column.align === "center" && "text-center",
|
|
968
969
|
column.align === "right" && "text-right",
|
|
@@ -985,6 +986,7 @@ var TableRenderer = forwardRef(
|
|
|
985
986
|
{
|
|
986
987
|
className: cn(
|
|
987
988
|
"text-gray-900 dark:text-gray-100",
|
|
989
|
+
"border-r border-gray-200 dark:border-neutral-700 last:border-r-0",
|
|
988
990
|
compact ? "py-2 px-3" : "py-3 px-4",
|
|
989
991
|
column.align === "center" && "text-center",
|
|
990
992
|
column.align === "right" && "text-right",
|
|
@@ -1000,7 +1002,7 @@ var TableRenderer = forwardRef(
|
|
|
1000
1002
|
] }),
|
|
1001
1003
|
displayData.length === 0 && /* @__PURE__ */ jsx("div", { className: "py-8 text-center text-gray-500 dark:text-gray-400 text-sm", children: "No data available" })
|
|
1002
1004
|
] }),
|
|
1003
|
-
pagination && /* @__PURE__ */ jsxs("footer", { className: "flex items-center justify-between px-4 py-3 bg-gray-50 dark:bg-neutral-800/50 border-t border-gray-200 dark:border-neutral-700", children: [
|
|
1005
|
+
pagination && /* @__PURE__ */ jsxs("footer", { className: "flex items-center justify-between px-4 py-3 bg-gray-50 dark:bg-neutral-800/50 border-t border-gray-200 dark:border-neutral-700 rounded-b-hz-lg", children: [
|
|
1004
1006
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-xs text-gray-500 dark:text-gray-400", children: [
|
|
1005
1007
|
pagination.totalItems !== void 0 && pagination.pageSize !== void 0 ? /* @__PURE__ */ jsxs("span", { children: [
|
|
1006
1008
|
"Showing ",
|
|
@@ -1059,13 +1061,13 @@ TableRenderer.displayName = "TableRenderer";
|
|
|
1059
1061
|
var MediumPanelContext = createContext({ inPanel: false });
|
|
1060
1062
|
var MediumPanelStat = forwardRef(
|
|
1061
1063
|
({ data, className }, ref) => {
|
|
1062
|
-
return /* @__PURE__ */ jsx("div", { ref, className: cn("px-5", className), children: /* @__PURE__ */ jsx(StatDisplay, { data, size: "md" }) });
|
|
1064
|
+
return /* @__PURE__ */ jsx("div", { ref, className: cn("px-5 pt-4", className), children: /* @__PURE__ */ jsx(StatDisplay, { data, size: "md" }) });
|
|
1063
1065
|
}
|
|
1064
1066
|
);
|
|
1065
1067
|
MediumPanelStat.displayName = "MediumPanel.Stat";
|
|
1066
1068
|
var MediumPanelChart = forwardRef(
|
|
1067
1069
|
({ config, className }, ref) => {
|
|
1068
|
-
return /* @__PURE__ */ jsx(ChartRenderer, { ref, config, className: cn("flex-1 px-5", className) });
|
|
1070
|
+
return /* @__PURE__ */ jsx(ChartRenderer, { ref, config, className: cn("flex-1 px-5 pt-4", className) });
|
|
1069
1071
|
}
|
|
1070
1072
|
);
|
|
1071
1073
|
MediumPanelChart.displayName = "MediumPanel.Chart";
|
|
@@ -1152,7 +1154,7 @@ var LargePanelStats = forwardRef(
|
|
|
1152
1154
|
{
|
|
1153
1155
|
ref,
|
|
1154
1156
|
className: cn(
|
|
1155
|
-
"grid gap-4 px-6",
|
|
1157
|
+
"grid gap-4 px-6 pt-4",
|
|
1156
1158
|
columns === 2 && "grid-cols-2",
|
|
1157
1159
|
columns === 3 && "grid-cols-3",
|
|
1158
1160
|
columns === 4 && "grid-cols-4",
|
|
@@ -1166,7 +1168,7 @@ var LargePanelStats = forwardRef(
|
|
|
1166
1168
|
LargePanelStats.displayName = "LargePanel.Stats";
|
|
1167
1169
|
var LargePanelChart = forwardRef(
|
|
1168
1170
|
({ config, height, className }, ref) => {
|
|
1169
|
-
return /* @__PURE__ */ jsx(ChartRenderer, { ref, config, height, className: cn("flex-1 min-h-0 px-6", className) });
|
|
1171
|
+
return /* @__PURE__ */ jsx(ChartRenderer, { ref, config, height, className: cn("flex-1 min-h-0 px-6 pt-4", className) });
|
|
1170
1172
|
}
|
|
1171
1173
|
);
|
|
1172
1174
|
LargePanelChart.displayName = "LargePanel.Chart";
|
|
@@ -2531,5 +2533,5 @@ var SideNavFooter = forwardRef(
|
|
|
2531
2533
|
SideNavFooter.displayName = "SideNavFooter";
|
|
2532
2534
|
|
|
2533
2535
|
export { AnimatedButton, ChartRenderer, CompactPanel, Dashboard, DashboardPanel, Input, LargePanel, MediumPanel, SideNav, SideNavFooter, SideNavHeader, SideNavItem, SideNavSection, StatDisplay, TableRenderer, TemplateSelector, TextButton, Toast, useDashboardContext, useSideNavContext };
|
|
2534
|
-
//# sourceMappingURL=chunk-
|
|
2535
|
-
//# sourceMappingURL=chunk-
|
|
2536
|
+
//# sourceMappingURL=chunk-EBJJNTPC.mjs.map
|
|
2537
|
+
//# sourceMappingURL=chunk-EBJJNTPC.mjs.map
|