najm-kit 2.1.16 → 2.1.17

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -8
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1995,7 +1995,7 @@ function NPageHeaderCompactActions({ children, className }) {
1995
1995
  }
1996
1996
  NPageHeaderCompactActions.displayName = "NPageHeaderCompactActions";
1997
1997
  function NPageHeaderFilters({ children, className }) {
1998
- return /* @__PURE__ */ jsx("div", { className: cn("py-3 lg:px-4 xl:px-5", className), children });
1998
+ return /* @__PURE__ */ jsx("div", { className: cn("py-3 lg:px-4 xl:px-4 2xl:px-5", className), children });
1999
1999
  }
2000
2000
  NPageHeaderFilters.displayName = "NPageHeaderFilters";
2001
2001
  function NPageHeaderTop({ children, className }) {
@@ -2104,7 +2104,7 @@ function NPageHeader({
2104
2104
  {
2105
2105
  "data-slot": "page-header-main",
2106
2106
  className: cn(
2107
- "relative grid min-h-12 grid-cols-[minmax(2.75rem,1fr)_minmax(0,auto)_minmax(2.75rem,1fr)] items-center gap-2 lg:px-4 xl:px-5",
2107
+ "relative grid min-h-12 grid-cols-[minmax(2.75rem,1fr)_minmax(0,auto)_minmax(2.75rem,1fr)] items-center gap-2 lg:px-4 xl:px-4 2xl:px-5",
2108
2108
  breakpointClasses.main,
2109
2109
  breakpointClasses.minH,
2110
2110
  headerClassName
@@ -5098,7 +5098,7 @@ function NCard({
5098
5098
  style: recipeStyle,
5099
5099
  className: cn(
5100
5100
  "flex flex-col",
5101
- !noPadding && "p-2 lg:p-4 xl:p-5 gap-3",
5101
+ !noPadding && "p-2 lg:p-4 xl:p-4 2xl:p-5 gap-3",
5102
5102
  surfaceBorderClasses(bordered),
5103
5103
  classNames?.root,
5104
5104
  className
@@ -5298,7 +5298,7 @@ function DefaultCard({
5298
5298
  onClick,
5299
5299
  bordered,
5300
5300
  className: cn(
5301
- "group p-4 transition-colors",
5301
+ "group p-2 lg:p-4 xl:p-4 2xl:p-5 transition-colors",
5302
5302
  onClick && "cursor-pointer hover:border-border/60 hover:bg-accent/40",
5303
5303
  className
5304
5304
  ),
@@ -5311,10 +5311,10 @@ function DefaultCard({
5311
5311
  "div",
5312
5312
  {
5313
5313
  className: cn(
5314
- "flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary transition-colors group-hover:bg-primary/20",
5314
+ "flex h-8 w-8 lg:h-9 lg:w-9 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary transition-colors group-hover:bg-primary/20",
5315
5315
  classNames?.icon
5316
5316
  ),
5317
- children: /* @__PURE__ */ jsx(NIcon, { icon, className: "w-7 h-7" })
5317
+ children: /* @__PURE__ */ jsx(NIcon, { icon, className: "w-4 h-4 lg:w-5 lg:h-5 2xl:w-6 2xl:h-6" })
5318
5318
  }
5319
5319
  ),
5320
5320
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
@@ -5334,7 +5334,7 @@ function DefaultCard({
5334
5334
  }
5335
5335
  )
5336
5336
  ] }),
5337
- /* @__PURE__ */ jsx("p", { className: cn("text-xl font-semibold leading-none text-foreground", classNames?.value), children: value }),
5337
+ /* @__PURE__ */ jsx("p", { className: cn("text-sm lg:text-base xl:text-base 2xl:text-xl font-semibold leading-none text-foreground", classNames?.value), children: value }),
5338
5338
  subtext && /* @__PURE__ */ jsx("p", { className: cn("text-[10px] text-muted-foreground", classNames?.description), children: subtext })
5339
5339
  ] })
5340
5340
  ]
@@ -11265,7 +11265,7 @@ function NSidebar({
11265
11265
  "data-collapsed": desktopCollapsed ? "true" : "false",
11266
11266
  "data-auto-collapsed": autoCollapsed ? "true" : void 0,
11267
11267
  className: cn(
11268
- "relative z-10 flex flex-col h-full bg-sidebar text-sidebar-foreground transition-all duration-200",
11268
+ "relative z-10 flex flex-col h-full bg-sidebar text-sidebar-foreground transition-all duration-200 shrink-0",
11269
11269
  desktopClass,
11270
11270
  sidebarBorderClasses(bordered, "right"),
11271
11271
  classNames?.sidebar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-kit",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Reusable React UI component package for Najm framework",