baaz-custom-components 5.1.1 → 5.1.2

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.css CHANGED
@@ -43,6 +43,7 @@
43
43
  --font-weight-normal: 400;
44
44
  --font-weight-medium: 500;
45
45
  --font-weight-semibold: 600;
46
+ --tracking-wide: 0.025em;
46
47
  --tracking-wider: 0.05em;
47
48
  --tracking-widest: 0.1em;
48
49
  --radius-xs: 0.125rem;
@@ -488,9 +489,6 @@
488
489
  width: 100%;
489
490
  height: 100%;
490
491
  }
491
- .h-1 {
492
- height: calc(var(--spacing) * 1);
493
- }
494
492
  .h-1\.5 {
495
493
  height: calc(var(--spacing) * 1.5);
496
494
  }
@@ -509,6 +507,9 @@
509
507
  .h-5 {
510
508
  height: calc(var(--spacing) * 5);
511
509
  }
510
+ .h-6 {
511
+ height: calc(var(--spacing) * 6);
512
+ }
512
513
  .h-7 {
513
514
  height: calc(var(--spacing) * 7);
514
515
  }
@@ -581,8 +582,8 @@
581
582
  .w-\(--sidebar-width\) {
582
583
  width: var(--sidebar-width);
583
584
  }
584
- .w-1 {
585
- width: calc(var(--spacing) * 1);
585
+ .w-1\.5 {
586
+ width: calc(var(--spacing) * 1.5);
586
587
  }
587
588
  .w-2 {
588
589
  width: calc(var(--spacing) * 2);
@@ -602,6 +603,9 @@
602
603
  .w-5 {
603
604
  width: calc(var(--spacing) * 5);
604
605
  }
606
+ .w-6 {
607
+ width: calc(var(--spacing) * 6);
608
+ }
605
609
  .w-8 {
606
610
  width: calc(var(--spacing) * 8);
607
611
  }
@@ -784,9 +788,6 @@
784
788
  .gap-2 {
785
789
  gap: calc(var(--spacing) * 2);
786
790
  }
787
- .gap-2\.5 {
788
- gap: calc(var(--spacing) * 2.5);
789
- }
790
791
  .gap-3 {
791
792
  gap: calc(var(--spacing) * 3);
792
793
  }
@@ -825,9 +826,6 @@
825
826
  .overflow-y-auto {
826
827
  overflow-y: auto;
827
828
  }
828
- .rounded {
829
- border-radius: 0.25rem;
830
- }
831
829
  .rounded-\[2px\] {
832
830
  border-radius: 2px;
833
831
  }
@@ -1032,9 +1030,6 @@
1032
1030
  .bg-sidebar-border {
1033
1031
  background-color: var(--sidebar-border);
1034
1032
  }
1035
- .bg-surface-alt {
1036
- background-color: var(--surface-alt);
1037
- }
1038
1033
  .bg-transparent {
1039
1034
  background-color: transparent;
1040
1035
  }
@@ -1059,15 +1054,9 @@
1059
1054
  .p-1 {
1060
1055
  padding: calc(var(--spacing) * 1);
1061
1056
  }
1062
- .p-1\.5 {
1063
- padding: calc(var(--spacing) * 1.5);
1064
- }
1065
1057
  .p-2 {
1066
1058
  padding: calc(var(--spacing) * 2);
1067
1059
  }
1068
- .p-2\.5 {
1069
- padding: calc(var(--spacing) * 2.5);
1070
- }
1071
1060
  .p-4 {
1072
1061
  padding: calc(var(--spacing) * 4);
1073
1062
  }
@@ -1119,9 +1108,15 @@
1119
1108
  .py-2\.5 {
1120
1109
  padding-block: calc(var(--spacing) * 2.5);
1121
1110
  }
1111
+ .py-3 {
1112
+ padding-block: calc(var(--spacing) * 3);
1113
+ }
1122
1114
  .py-4 {
1123
1115
  padding-block: calc(var(--spacing) * 4);
1124
1116
  }
1117
+ .pt-1 {
1118
+ padding-top: calc(var(--spacing) * 1);
1119
+ }
1125
1120
  .pt-2 {
1126
1121
  padding-top: calc(var(--spacing) * 2);
1127
1122
  }
@@ -1168,8 +1163,11 @@
1168
1163
  font-size: var(--text-xs);
1169
1164
  line-height: var(--tw-leading, var(--text-xs--line-height));
1170
1165
  }
1171
- .text-\[9px\] {
1172
- font-size: 9px;
1166
+ .text-\[10px\] {
1167
+ font-size: 10px;
1168
+ }
1169
+ .text-\[13px\] {
1170
+ font-size: 13px;
1173
1171
  }
1174
1172
  .leading-none {
1175
1173
  --tw-leading: 1;
@@ -1195,22 +1193,22 @@
1195
1193
  --tw-font-weight: var(--font-weight-semibold);
1196
1194
  font-weight: var(--font-weight-semibold);
1197
1195
  }
1198
- .tracking-\[0\.1em\] {
1199
- --tw-tracking: 0.1em;
1200
- letter-spacing: 0.1em;
1201
- }
1202
- .tracking-\[0\.14em\] {
1203
- --tw-tracking: 0.14em;
1204
- letter-spacing: 0.14em;
1196
+ .tracking-\[0\.12em\] {
1197
+ --tw-tracking: 0.12em;
1198
+ letter-spacing: 0.12em;
1205
1199
  }
1206
- .tracking-\[0\.15em\] {
1207
- --tw-tracking: 0.15em;
1208
- letter-spacing: 0.15em;
1200
+ .tracking-\[0\.16em\] {
1201
+ --tw-tracking: 0.16em;
1202
+ letter-spacing: 0.16em;
1209
1203
  }
1210
1204
  .tracking-\[0\.25rem\] {
1211
1205
  --tw-tracking: 0.25rem;
1212
1206
  letter-spacing: 0.25rem;
1213
1207
  }
1208
+ .tracking-wide {
1209
+ --tw-tracking: var(--tracking-wide);
1210
+ letter-spacing: var(--tracking-wide);
1211
+ }
1214
1212
  .tracking-wider {
1215
1213
  --tw-tracking: var(--tracking-wider);
1216
1214
  letter-spacing: var(--tracking-wider);
@@ -1237,22 +1235,34 @@
1237
1235
  .text-foreground {
1238
1236
  color: var(--foreground);
1239
1237
  }
1240
- .text-foreground\/25 {
1238
+ .text-foreground\/30 {
1241
1239
  color: var(--foreground);
1242
1240
  @supports (color: color-mix(in lab, red, red)) {
1243
- color: color-mix(in oklab, var(--foreground) 25%, transparent);
1241
+ color: color-mix(in oklab, var(--foreground) 30%, transparent);
1244
1242
  }
1245
1243
  }
1246
- .text-foreground\/30 {
1244
+ .text-foreground\/35 {
1247
1245
  color: var(--foreground);
1248
1246
  @supports (color: color-mix(in lab, red, red)) {
1249
- color: color-mix(in oklab, var(--foreground) 30%, transparent);
1247
+ color: color-mix(in oklab, var(--foreground) 35%, transparent);
1250
1248
  }
1251
1249
  }
1252
- .text-foreground\/70 {
1250
+ .text-foreground\/40 {
1253
1251
  color: var(--foreground);
1254
1252
  @supports (color: color-mix(in lab, red, red)) {
1255
- color: color-mix(in oklab, var(--foreground) 70%, transparent);
1253
+ color: color-mix(in oklab, var(--foreground) 40%, transparent);
1254
+ }
1255
+ }
1256
+ .text-foreground\/50 {
1257
+ color: var(--foreground);
1258
+ @supports (color: color-mix(in lab, red, red)) {
1259
+ color: color-mix(in oklab, var(--foreground) 50%, transparent);
1260
+ }
1261
+ }
1262
+ .text-foreground\/60 {
1263
+ color: var(--foreground);
1264
+ @supports (color: color-mix(in lab, red, red)) {
1265
+ color: color-mix(in oklab, var(--foreground) 60%, transparent);
1256
1266
  }
1257
1267
  }
1258
1268
  .text-green-800 {
@@ -1513,9 +1523,9 @@
1513
1523
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1514
1524
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1515
1525
  }
1516
- .duration-100 {
1517
- --tw-duration: 100ms;
1518
- transition-duration: 100ms;
1526
+ .duration-150 {
1527
+ --tw-duration: 150ms;
1528
+ transition-duration: 150ms;
1519
1529
  }
1520
1530
  .duration-200 {
1521
1531
  --tw-duration: 200ms;
@@ -1558,13 +1568,10 @@
1558
1568
  opacity: 100%;
1559
1569
  }
1560
1570
  }
1561
- .group-hover\:text-foreground\/90 {
1571
+ .group-hover\:text-primary {
1562
1572
  &:is(:where(.group):hover *) {
1563
1573
  @media (hover: hover) {
1564
- color: var(--foreground);
1565
- @supports (color: color-mix(in lab, red, red)) {
1566
- color: color-mix(in oklab, var(--foreground) 90%, transparent);
1567
- }
1574
+ color: var(--primary);
1568
1575
  }
1569
1576
  }
1570
1577
  }
@@ -1922,13 +1929,6 @@
1922
1929
  }
1923
1930
  }
1924
1931
  }
1925
- .hover\:bg-border {
1926
- &:hover {
1927
- @media (hover: hover) {
1928
- background-color: var(--border);
1929
- }
1930
- }
1931
- }
1932
1932
  .hover\:bg-card-foreground {
1933
1933
  &:hover {
1934
1934
  @media (hover: hover) {
@@ -7939,6 +7939,9 @@ i.wx-U0Bx7pIR {
7939
7939
  .wx-4VuBwK2D:last-child {
7940
7940
  border-bottom: 0.1px solid rgb(56, 64, 71);
7941
7941
  }
7942
+ .wx-table-box.wx-4VuBwK2D {
7943
+ border: none;
7944
+ }
7942
7945
  @property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
7943
7946
  @property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
7944
7947
  @property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
package/dist/index.js CHANGED
@@ -2376,7 +2376,7 @@ var GridHeader = ({
2376
2376
  document.addEventListener("mousedown", handleClickOutside);
2377
2377
  return () => document.removeEventListener("mousedown", handleClickOutside);
2378
2378
  }, []);
2379
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col md:flex-row md:items-center justify-between bg-card py-2 px-2 md:px-4 rounded-tl-md rounded-tr-md", children: [
2379
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col md:flex-row md:items-center justify-between bg-card py-2 px-2 md:px-4 rounded-tl-md rounded-tr-md border-l border-r border-t", children: [
2380
2380
  /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex justify-between items-center gap-3", children: [
2381
2381
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2382
2382
  filters_default,
@@ -2530,7 +2530,7 @@ var Grid = (0, import_react7.forwardRef)(
2530
2530
  if (!isNaN(currentWidth)) {
2531
2531
  api.exec("resize-column", {
2532
2532
  id: col.id,
2533
- width: currentWidth + extra - 0.3
2533
+ width: currentWidth + extra
2534
2534
  });
2535
2535
  }
2536
2536
  });
@@ -2540,7 +2540,7 @@ var Grid = (0, import_react7.forwardRef)(
2540
2540
  columns.forEach((col) => {
2541
2541
  api.exec("resize-column", {
2542
2542
  id: col.id,
2543
- width: columnWidth - 0.3
2543
+ width: columnWidth
2544
2544
  });
2545
2545
  });
2546
2546
  }
@@ -2601,7 +2601,7 @@ var Grid = (0, import_react7.forwardRef)(
2601
2601
  children
2602
2602
  }
2603
2603
  ),
2604
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "flex-1 w-full overflow-hidden", ref: containerRef, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_grid.WillowDark, { fonts, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_grid.Grid, __spreadProps(__spreadValues({}, rest), { data, columns, init })) }) }) })
2604
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "flex-1 w-full border border-border overflow-hidden", ref: containerRef, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_grid.WillowDark, { fonts, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_grid.Grid, __spreadProps(__spreadValues({}, rest), { data, columns, init })) }) }) })
2605
2605
  ] });
2606
2606
  }
2607
2607
  );
@@ -2692,7 +2692,7 @@ function Pagination({
2692
2692
  const handlePageSizeChange = (size) => {
2693
2693
  onPageSizeChange == null ? void 0 : onPageSizeChange(size);
2694
2694
  };
2695
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col-reverse gap-2 md:flex-row items-center justify-between bg-card px-3 py-2 rounded-br-md rounded-bl-md", children: [
2695
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col-reverse gap-2 md:flex-row items-center justify-between bg-card px-3 py-2 rounded-br-md rounded-bl-md border-l border-r border-b", children: [
2696
2696
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex justify-between w-full md:w-auto items-center gap-3 text-xs text-muted-foreground tracking-wider font-medium", children: [
2697
2697
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { children: [
2698
2698
  "Showing ",
@@ -2837,41 +2837,36 @@ var SlideToolbar = ({
2837
2837
  ].join(" "),
2838
2838
  style: { width: `${panelWidth}px` },
2839
2839
  children: [
2840
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center justify-between px-3 py-2.5 bg-surface-alt border-b border-border shrink-0", children: [
2841
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-xs font-semibold tracking-[0.15em] uppercase text-foreground", children: title }),
2840
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center justify-between px-4 py-3 border-b border-border shrink-0", children: [
2841
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-sm font-semibold text-foreground tracking-wide", children: title }),
2842
2842
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2843
2843
  "button",
2844
2844
  {
2845
2845
  onClick: () => setOpen(false),
2846
2846
  "aria-label": "Close toolbar",
2847
- className: "flex items-center justify-center w-5 h-5 rounded cursor-pointer\n text-foreground hover:text-foreground hover:bg-border\n transition-colors duration-100",
2848
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react16.X, { size: 14 })
2847
+ className: "flex items-center justify-center w-6 h-6 rounded-md\n text-foreground/50 hover:text-foreground hover:bg-surface-alt\n transition-all duration-150 cursor-pointer",
2848
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react16.X, { size: 13 })
2849
2849
  }
2850
2850
  )
2851
2851
  ] }),
2852
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-1 overflow-y-auto overflow-x-hidden p-1.5 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
2853
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "p-2 text-xs font-semibold tracking-[0.14em] uppercase text-foreground/30", children: "Actions" }),
2854
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("nav", { className: "flex flex-col gap-2", children: resolvedItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2852
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-1 overflow-y-auto overflow-x-hidden py-2 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
2853
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "px-4 pt-1 pb-2 text-[10px] font-semibold tracking-[0.16em] uppercase text-foreground/35", children: "Actions" }),
2854
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("nav", { className: "flex flex-col px-2", children: resolvedItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2855
2855
  "button",
2856
2856
  {
2857
2857
  onClick: () => handleItem(item),
2858
- className: [
2859
- "group flex items-center gap-2.5 p-2.5 rounded w-full",
2860
- "text-left text-sm cursor-pointer border-l-2",
2861
- "transition-colors duration-100",
2862
- "border-transparent text-foreground/70 hover:text-foreground hover:bg-surface-alt hover:border-primary"
2863
- ].join(" "),
2858
+ className: "group flex items-center gap-3 px-3 py-2.5 rounded-lg w-full\n text-left text-[13px] font-medium cursor-pointer\n text-foreground/60 hover:text-foreground hover:bg-surface-alt\n transition-all duration-150 border-l-2 border-transparent\n hover:border-primary",
2864
2859
  children: [
2865
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex shrink-0 transition-colors duration-100 text-foreground/70 group-hover:text-foreground/90", children: item.icon }),
2860
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex shrink-0 text-foreground/40 group-hover:text-primary transition-colors duration-150", children: item.icon }),
2866
2861
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "flex-1 leading-none", children: item.label })
2867
2862
  ]
2868
2863
  },
2869
2864
  item.id
2870
2865
  )) })
2871
2866
  ] }) : children }),
2872
- footerLabel && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2 px-3 py-2 border-t border-border bg-surface-alt shrink-0", children: [
2873
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "w-1 h-1 rounded-full bg-foreground/20 shrink-0" }),
2874
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-[9px] tracking-[0.1em] uppercase text-foreground/25", children: footerLabel })
2867
+ footerLabel && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-t border-border shrink-0", children: [
2868
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-foreground/20 shrink-0" }),
2869
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-[10px] tracking-[0.12em] uppercase text-foreground/30 font-medium", children: footerLabel })
2875
2870
  ] })
2876
2871
  ]
2877
2872
  }
package/dist/index.mjs CHANGED
@@ -2350,7 +2350,7 @@ var GridHeader = ({
2350
2350
  document.addEventListener("mousedown", handleClickOutside);
2351
2351
  return () => document.removeEventListener("mousedown", handleClickOutside);
2352
2352
  }, []);
2353
- return /* @__PURE__ */ jsxs18("div", { className: "flex flex-col md:flex-row md:items-center justify-between bg-card py-2 px-2 md:px-4 rounded-tl-md rounded-tr-md", children: [
2353
+ return /* @__PURE__ */ jsxs18("div", { className: "flex flex-col md:flex-row md:items-center justify-between bg-card py-2 px-2 md:px-4 rounded-tl-md rounded-tr-md border-l border-r border-t", children: [
2354
2354
  /* @__PURE__ */ jsxs18("div", { className: "flex justify-between items-center gap-3", children: [
2355
2355
  /* @__PURE__ */ jsx24(
2356
2356
  filters_default,
@@ -2504,7 +2504,7 @@ var Grid = forwardRef(
2504
2504
  if (!isNaN(currentWidth)) {
2505
2505
  api.exec("resize-column", {
2506
2506
  id: col.id,
2507
- width: currentWidth + extra - 0.3
2507
+ width: currentWidth + extra
2508
2508
  });
2509
2509
  }
2510
2510
  });
@@ -2514,7 +2514,7 @@ var Grid = forwardRef(
2514
2514
  columns.forEach((col) => {
2515
2515
  api.exec("resize-column", {
2516
2516
  id: col.id,
2517
- width: columnWidth - 0.3
2517
+ width: columnWidth
2518
2518
  });
2519
2519
  });
2520
2520
  }
@@ -2575,7 +2575,7 @@ var Grid = forwardRef(
2575
2575
  children
2576
2576
  }
2577
2577
  ),
2578
- /* @__PURE__ */ jsx25("div", { className: "flex-1 w-full overflow-hidden", ref: containerRef, children: /* @__PURE__ */ jsx25(WillowDark, { fonts, children: /* @__PURE__ */ jsx25("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ jsx25("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ jsx25("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ jsx25(SvarGrid, __spreadProps(__spreadValues({}, rest), { data, columns, init })) }) }) })
2578
+ /* @__PURE__ */ jsx25("div", { className: "flex-1 w-full border border-border overflow-hidden", ref: containerRef, children: /* @__PURE__ */ jsx25(WillowDark, { fonts, children: /* @__PURE__ */ jsx25("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ jsx25("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ jsx25("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ jsx25(SvarGrid, __spreadProps(__spreadValues({}, rest), { data, columns, init })) }) }) })
2579
2579
  ] });
2580
2580
  }
2581
2581
  );
@@ -2666,7 +2666,7 @@ function Pagination({
2666
2666
  const handlePageSizeChange = (size) => {
2667
2667
  onPageSizeChange == null ? void 0 : onPageSizeChange(size);
2668
2668
  };
2669
- return /* @__PURE__ */ jsxs21("div", { className: "flex flex-col-reverse gap-2 md:flex-row items-center justify-between bg-card px-3 py-2 rounded-br-md rounded-bl-md", children: [
2669
+ return /* @__PURE__ */ jsxs21("div", { className: "flex flex-col-reverse gap-2 md:flex-row items-center justify-between bg-card px-3 py-2 rounded-br-md rounded-bl-md border-l border-r border-b", children: [
2670
2670
  /* @__PURE__ */ jsxs21("div", { className: "flex justify-between w-full md:w-auto items-center gap-3 text-xs text-muted-foreground tracking-wider font-medium", children: [
2671
2671
  /* @__PURE__ */ jsxs21("span", { children: [
2672
2672
  "Showing ",
@@ -2811,41 +2811,36 @@ var SlideToolbar = ({
2811
2811
  ].join(" "),
2812
2812
  style: { width: `${panelWidth}px` },
2813
2813
  children: [
2814
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-between px-3 py-2.5 bg-surface-alt border-b border-border shrink-0", children: [
2815
- /* @__PURE__ */ jsx28("span", { className: "text-xs font-semibold tracking-[0.15em] uppercase text-foreground", children: title }),
2814
+ /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-between px-4 py-3 border-b border-border shrink-0", children: [
2815
+ /* @__PURE__ */ jsx28("span", { className: "text-sm font-semibold text-foreground tracking-wide", children: title }),
2816
2816
  /* @__PURE__ */ jsx28(
2817
2817
  "button",
2818
2818
  {
2819
2819
  onClick: () => setOpen(false),
2820
2820
  "aria-label": "Close toolbar",
2821
- className: "flex items-center justify-center w-5 h-5 rounded cursor-pointer\n text-foreground hover:text-foreground hover:bg-border\n transition-colors duration-100",
2822
- children: /* @__PURE__ */ jsx28(X4, { size: 14 })
2821
+ className: "flex items-center justify-center w-6 h-6 rounded-md\n text-foreground/50 hover:text-foreground hover:bg-surface-alt\n transition-all duration-150 cursor-pointer",
2822
+ children: /* @__PURE__ */ jsx28(X4, { size: 13 })
2823
2823
  }
2824
2824
  )
2825
2825
  ] }),
2826
- /* @__PURE__ */ jsx28("div", { className: "flex-1 overflow-y-auto overflow-x-hidden p-1.5 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ jsxs22(Fragment3, { children: [
2827
- /* @__PURE__ */ jsx28("p", { className: "p-2 text-xs font-semibold tracking-[0.14em] uppercase text-foreground/30", children: "Actions" }),
2828
- /* @__PURE__ */ jsx28("nav", { className: "flex flex-col gap-2", children: resolvedItems.map((item) => /* @__PURE__ */ jsxs22(
2826
+ /* @__PURE__ */ jsx28("div", { className: "flex-1 overflow-y-auto overflow-x-hidden py-2 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ jsxs22(Fragment3, { children: [
2827
+ /* @__PURE__ */ jsx28("p", { className: "px-4 pt-1 pb-2 text-[10px] font-semibold tracking-[0.16em] uppercase text-foreground/35", children: "Actions" }),
2828
+ /* @__PURE__ */ jsx28("nav", { className: "flex flex-col px-2", children: resolvedItems.map((item) => /* @__PURE__ */ jsxs22(
2829
2829
  "button",
2830
2830
  {
2831
2831
  onClick: () => handleItem(item),
2832
- className: [
2833
- "group flex items-center gap-2.5 p-2.5 rounded w-full",
2834
- "text-left text-sm cursor-pointer border-l-2",
2835
- "transition-colors duration-100",
2836
- "border-transparent text-foreground/70 hover:text-foreground hover:bg-surface-alt hover:border-primary"
2837
- ].join(" "),
2832
+ className: "group flex items-center gap-3 px-3 py-2.5 rounded-lg w-full\n text-left text-[13px] font-medium cursor-pointer\n text-foreground/60 hover:text-foreground hover:bg-surface-alt\n transition-all duration-150 border-l-2 border-transparent\n hover:border-primary",
2838
2833
  children: [
2839
- /* @__PURE__ */ jsx28("span", { className: "flex shrink-0 transition-colors duration-100 text-foreground/70 group-hover:text-foreground/90", children: item.icon }),
2834
+ /* @__PURE__ */ jsx28("span", { className: "flex shrink-0 text-foreground/40 group-hover:text-primary transition-colors duration-150", children: item.icon }),
2840
2835
  /* @__PURE__ */ jsx28("span", { className: "flex-1 leading-none", children: item.label })
2841
2836
  ]
2842
2837
  },
2843
2838
  item.id
2844
2839
  )) })
2845
2840
  ] }) : children }),
2846
- footerLabel && /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 px-3 py-2 border-t border-border bg-surface-alt shrink-0", children: [
2847
- /* @__PURE__ */ jsx28("span", { className: "w-1 h-1 rounded-full bg-foreground/20 shrink-0" }),
2848
- /* @__PURE__ */ jsx28("span", { className: "text-[9px] tracking-[0.1em] uppercase text-foreground/25", children: footerLabel })
2841
+ footerLabel && /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 px-4 py-3 border-t border-border shrink-0", children: [
2842
+ /* @__PURE__ */ jsx28("span", { className: "w-1.5 h-1.5 rounded-full bg-foreground/20 shrink-0" }),
2843
+ /* @__PURE__ */ jsx28("span", { className: "text-[10px] tracking-[0.12em] uppercase text-foreground/30 font-medium", children: footerLabel })
2849
2844
  ] })
2850
2845
  ]
2851
2846
  }