najm-kit 2.1.9 → 2.1.10

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 +11 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2003,7 +2003,9 @@ var responsiveClasses = {
2003
2003
  controls: "sm:col-start-auto sm:row-start-auto sm:justify-self-auto",
2004
2004
  fullActions: "sm:flex",
2005
2005
  compactActions: "sm:hidden",
2006
- sidebarTrigger: "sm:hidden"
2006
+ sidebarTrigger: "sm:hidden",
2007
+ icon: "sm:flex",
2008
+ subtitle: "sm:block"
2007
2009
  },
2008
2010
  md: {
2009
2011
  main: "md:flex md:justify-between md:px-5",
@@ -2011,7 +2013,9 @@ var responsiveClasses = {
2011
2013
  controls: "md:col-start-auto md:row-start-auto md:justify-self-auto",
2012
2014
  fullActions: "md:flex",
2013
2015
  compactActions: "md:hidden",
2014
- sidebarTrigger: "md:hidden"
2016
+ sidebarTrigger: "md:hidden",
2017
+ icon: "md:flex",
2018
+ subtitle: "md:block"
2015
2019
  },
2016
2020
  lg: {
2017
2021
  main: "lg:flex lg:justify-between lg:px-5",
@@ -2019,7 +2023,9 @@ var responsiveClasses = {
2019
2023
  controls: "lg:col-start-auto lg:row-start-auto lg:justify-self-auto",
2020
2024
  fullActions: "lg:flex",
2021
2025
  compactActions: "lg:hidden",
2022
- sidebarTrigger: "lg:hidden"
2026
+ sidebarTrigger: "lg:hidden",
2027
+ icon: "lg:flex",
2028
+ subtitle: "lg:block"
2023
2029
  }
2024
2030
  };
2025
2031
  function NPageHeader({
@@ -2113,10 +2119,10 @@ function NPageHeader({
2113
2119
  breakpointClasses.identity
2114
2120
  ),
2115
2121
  children: [
2116
- /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 rounded-lg bg-primary/10 items-center justify-center", children: /* @__PURE__ */ jsx(Icon2, { className: "h-4 w-4 text-primary" }) }),
2122
+ /* @__PURE__ */ jsx("div", { className: cn("hidden h-8 w-8 shrink-0 rounded-lg bg-primary/10 items-center justify-center", breakpointClasses.icon), children: /* @__PURE__ */ jsx(Icon2, { className: "h-4 w-4 text-primary" }) }),
2117
2123
  /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
2118
2124
  /* @__PURE__ */ jsx("h2", { className: "truncate text-sm font-semibold text-foreground", children: title }),
2119
- subtitle && /* @__PURE__ */ jsx("p", { className: "truncate text-xs leading-relaxed text-muted-foreground sm:text-sm sm:leading-normal", children: subtitle })
2125
+ subtitle && /* @__PURE__ */ jsx("p", { className: cn("hidden truncate text-xs leading-relaxed text-muted-foreground sm:text-sm sm:leading-normal", breakpointClasses.subtitle), children: subtitle })
2120
2126
  ] })
2121
2127
  ]
2122
2128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-kit",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Reusable React UI component package for Najm framework",