@moontra/moonui-pro 2.25.12 → 2.25.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.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -64325,8 +64325,8 @@ function DashboardGrid({
|
|
|
64325
64325
|
breakpoints = { lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 },
|
|
64326
64326
|
cols = { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
|
|
64327
64327
|
rowHeight = 80,
|
|
64328
|
-
margin = [
|
|
64329
|
-
containerPadding = [
|
|
64328
|
+
margin = [4, 6],
|
|
64329
|
+
containerPadding = [4, 4]
|
|
64330
64330
|
}) {
|
|
64331
64331
|
const [layouts, setLayouts] = t__default.useState({});
|
|
64332
64332
|
const [currentBreakpoint, setCurrentBreakpoint] = t__default.useState("lg");
|
|
@@ -64636,7 +64636,7 @@ function DashboardGrid({
|
|
|
64636
64636
|
)
|
|
64637
64637
|
) : isMobile ? (
|
|
64638
64638
|
// Mobile layout - Grid Layout yerine normal flex kullan
|
|
64639
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-
|
|
64639
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-2", children: widgets.map((widget) => /* @__PURE__ */ jsx(
|
|
64640
64640
|
motion.div,
|
|
64641
64641
|
{
|
|
64642
64642
|
initial: { opacity: 0, y: 20 },
|
|
@@ -64657,8 +64657,8 @@ function DashboardGrid({
|
|
|
64657
64657
|
breakpoints,
|
|
64658
64658
|
cols,
|
|
64659
64659
|
rowHeight: currentBreakpoint === "xs" || currentBreakpoint === "xxs" ? 60 : currentBreakpoint === "sm" ? 70 : rowHeight,
|
|
64660
|
-
margin: currentBreakpoint === "xs" || currentBreakpoint === "xxs" ? [
|
|
64661
|
-
containerPadding
|
|
64660
|
+
margin: currentBreakpoint === "xs" || currentBreakpoint === "xxs" ? [3, 4] : margin,
|
|
64661
|
+
containerPadding,
|
|
64662
64662
|
onLayoutChange: (layout, allLayouts) => {
|
|
64663
64663
|
setLayouts(allLayouts);
|
|
64664
64664
|
onLayoutChange?.(layout);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.13",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|