najm-kit 2.1.21 → 2.1.22
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 +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10233,7 +10233,7 @@ function NTableHeader() {
|
|
|
10233
10233
|
if (!showViewToggle && !showColumnVisibility && !headerSlot && !hasControls) return null;
|
|
10234
10234
|
if (hideDataChrome) return null;
|
|
10235
10235
|
const justify2 = headerSlot ? "justify-between" : "justify-end";
|
|
10236
|
-
return /* @__PURE__ */ jsxs("div", { "data-ntable-header": true, className: cn("flex shrink-0 items-center gap-3 flex-wrap lg:flex-nowrap", justify2, classNames?.header), children: [
|
|
10236
|
+
return /* @__PURE__ */ jsxs("div", { "data-ntable-header": true, className: cn("flex shrink-0 items-center gap-0 lg:gap-3 flex-wrap lg:flex-nowrap", justify2, classNames?.header), children: [
|
|
10237
10237
|
headerSlot && /* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: headerSlot }),
|
|
10238
10238
|
hasControls && /* @__PURE__ */ jsxs("div", { className: "flex gap-2 shrink-0", children: [
|
|
10239
10239
|
/* @__PURE__ */ jsx("span", { className: "hidden md:contents", children: /* @__PURE__ */ jsx(TableSettingsMenu, {}) }),
|
|
@@ -10246,7 +10246,7 @@ function NTableHeader() {
|
|
|
10246
10246
|
if (!hasFilters && !hasControls && !headerSlot && !hasToolbar) return null;
|
|
10247
10247
|
if (hideDataChrome) return null;
|
|
10248
10248
|
const justify = hasControls || headerSlot || hasToolbar ? "justify-between" : "justify-start";
|
|
10249
|
-
return /* @__PURE__ */ jsxs("div", { "data-ntable-header": true, className: cn("flex shrink-0 items-center gap-3 flex-wrap lg:flex-nowrap", justify, classNames?.header), children: [
|
|
10249
|
+
return /* @__PURE__ */ jsxs("div", { "data-ntable-header": true, className: cn("flex shrink-0 items-center gap-0 lg:gap-3 flex-wrap lg:flex-nowrap", justify, classNames?.header), children: [
|
|
10250
10250
|
/* @__PURE__ */ jsx(TableFilters, {}),
|
|
10251
10251
|
/* @__PURE__ */ jsx(TableMobileToolbar, {}),
|
|
10252
10252
|
headerSlot && /* @__PURE__ */ jsx("div", { className: "ml-auto flex shrink-0 items-center gap-2", children: headerSlot }),
|