najm-kit 2.1.12 → 2.1.14
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.mjs +8 -8
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1982,7 +1982,7 @@ function NPageHeaderCompactActions({ children, className }) {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
NPageHeaderCompactActions.displayName = "NPageHeaderCompactActions";
|
|
1984
1984
|
function NPageHeaderFilters({ children, className }) {
|
|
1985
|
-
return /* @__PURE__ */ jsx("div", { className: cn("px-
|
|
1985
|
+
return /* @__PURE__ */ jsx("div", { className: cn("px-2 py-3 lg:px-4 xl:px-5", className), children });
|
|
1986
1986
|
}
|
|
1987
1987
|
NPageHeaderFilters.displayName = "NPageHeaderFilters";
|
|
1988
1988
|
function NPageHeaderTop({ children, className }) {
|
|
@@ -1998,7 +1998,7 @@ function getSlotElements(children, slot) {
|
|
|
1998
1998
|
}
|
|
1999
1999
|
var responsiveClasses = {
|
|
2000
2000
|
sm: {
|
|
2001
|
-
main: "sm:flex sm:justify-between
|
|
2001
|
+
main: "sm:flex sm:justify-between",
|
|
2002
2002
|
identity: "sm:col-start-auto sm:row-start-auto sm:justify-self-auto",
|
|
2003
2003
|
controls: "sm:col-start-auto sm:row-start-auto sm:justify-self-auto",
|
|
2004
2004
|
fullActions: "sm:flex",
|
|
@@ -2009,7 +2009,7 @@ var responsiveClasses = {
|
|
|
2009
2009
|
minH: "sm:min-h-14"
|
|
2010
2010
|
},
|
|
2011
2011
|
md: {
|
|
2012
|
-
main: "md:flex md:justify-between
|
|
2012
|
+
main: "md:flex md:justify-between",
|
|
2013
2013
|
identity: "md:col-start-auto md:row-start-auto md:justify-self-auto",
|
|
2014
2014
|
controls: "md:col-start-auto md:row-start-auto md:justify-self-auto",
|
|
2015
2015
|
fullActions: "md:flex",
|
|
@@ -2020,7 +2020,7 @@ var responsiveClasses = {
|
|
|
2020
2020
|
minH: "md:min-h-14"
|
|
2021
2021
|
},
|
|
2022
2022
|
lg: {
|
|
2023
|
-
main: "lg:flex lg:justify-between lg:px-
|
|
2023
|
+
main: "lg:flex lg:justify-between lg:px-4",
|
|
2024
2024
|
identity: "lg:col-start-auto lg:row-start-auto lg:justify-self-auto",
|
|
2025
2025
|
controls: "lg:col-start-auto lg:row-start-auto lg:justify-self-auto",
|
|
2026
2026
|
fullActions: "lg:flex",
|
|
@@ -2091,7 +2091,7 @@ function NPageHeader({
|
|
|
2091
2091
|
{
|
|
2092
2092
|
"data-slot": "page-header-main",
|
|
2093
2093
|
className: cn(
|
|
2094
|
-
"relative grid min-h-12 grid-cols-[minmax(2.75rem,1fr)_minmax(0,auto)_minmax(2.75rem,1fr)] items-center gap-2 px-4",
|
|
2094
|
+
"relative grid min-h-12 grid-cols-[minmax(2.75rem,1fr)_minmax(0,auto)_minmax(2.75rem,1fr)] items-center gap-2 px-2 lg:px-4 xl:px-5",
|
|
2095
2095
|
breakpointClasses.main,
|
|
2096
2096
|
breakpointClasses.minH,
|
|
2097
2097
|
headerClassName
|
|
@@ -5085,7 +5085,7 @@ function NCard({
|
|
|
5085
5085
|
style: recipeStyle,
|
|
5086
5086
|
className: cn(
|
|
5087
5087
|
"flex flex-col",
|
|
5088
|
-
!noPadding && "p-4 gap-3",
|
|
5088
|
+
!noPadding && "p-2 lg:p-4 xl:p-5 gap-3",
|
|
5089
5089
|
surfaceBorderClasses(bordered),
|
|
5090
5090
|
classNames?.root,
|
|
5091
5091
|
className
|
|
@@ -5095,7 +5095,7 @@ function NCard({
|
|
|
5095
5095
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
5096
5096
|
icon && /* @__PURE__ */ jsx(NIcon, { icon, className: cn(iconSize, "shrink-0 text-muted-foreground", iconColor, classNames?.icon) }),
|
|
5097
5097
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
5098
|
-
title && /* @__PURE__ */ jsx(CardTitle, { className: cn("text-base leading-snug", classNames?.title), children: title }),
|
|
5098
|
+
title && /* @__PURE__ */ jsx(CardTitle, { className: cn("text-sm lg:text-base leading-snug", classNames?.title), children: title }),
|
|
5099
5099
|
description && /* @__PURE__ */ jsx(CardDescription, { className: cn("text-xs mt-0.5", classNames?.description), children: description })
|
|
5100
5100
|
] })
|
|
5101
5101
|
] }),
|
|
@@ -5403,7 +5403,7 @@ function CompactCard({ icon, label, value, unit, iconColor, onClick, bordered, c
|
|
|
5403
5403
|
onClick,
|
|
5404
5404
|
bordered,
|
|
5405
5405
|
className: cn(
|
|
5406
|
-
"group
|
|
5406
|
+
"group p-2 transition-colors",
|
|
5407
5407
|
onClick && "cursor-pointer",
|
|
5408
5408
|
className
|
|
5409
5409
|
),
|