baaz-custom-components 5.2.5 → 5.2.7

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
@@ -296,6 +296,9 @@
296
296
  .top-4 {
297
297
  top: calc(var(--spacing) * 4);
298
298
  }
299
+ .top-10 {
300
+ top: calc(var(--spacing) * 10);
301
+ }
299
302
  .top-12 {
300
303
  top: calc(var(--spacing) * 12);
301
304
  }
package/dist/index.d.mts CHANGED
@@ -147,6 +147,7 @@ interface SelectionAction {
147
147
  id: string;
148
148
  label: string;
149
149
  icon?: React__default.ReactNode;
150
+ scope: boolean;
150
151
  }
151
152
  interface GridSelectionProps {
152
153
  selectionEnabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -147,6 +147,7 @@ interface SelectionAction {
147
147
  id: string;
148
148
  label: string;
149
149
  icon?: React__default.ReactNode;
150
+ scope: boolean;
150
151
  }
151
152
  interface GridSelectionProps {
152
153
  selectionEnabled?: boolean;
package/dist/index.js CHANGED
@@ -2375,19 +2375,21 @@ function SelectionBar({
2375
2375
  " selected"
2376
2376
  ] }),
2377
2377
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "h-4 w-px bg-border mx-1" }),
2378
- actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2379
- "button",
2380
- {
2381
- onClick: () => onAction(action.id, selectedData),
2382
- title: action.label,
2383
- className: "flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-xs font-medium border border-border bg-primary/90 hover:bg-primary ease-in-out transition-colors cursor-pointer whitespace-nowrap",
2384
- children: [
2385
- action.icon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "shrink-0 text-muted-foreground", children: action.icon }),
2386
- action.label
2387
- ]
2388
- },
2389
- action.id
2390
- ))
2378
+ actions.map(
2379
+ (action) => action.scope && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2380
+ "button",
2381
+ {
2382
+ onClick: () => onAction(action.id, selectedData),
2383
+ title: action.label,
2384
+ className: "flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-xs font-medium border border-border bg-primary/90 hover:bg-primary ease-in-out transition-colors cursor-pointer whitespace-nowrap",
2385
+ children: [
2386
+ action.icon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "shrink-0 text-muted-foreground", children: action.icon }),
2387
+ action.label
2388
+ ]
2389
+ },
2390
+ action.id
2391
+ )
2392
+ )
2391
2393
  ] });
2392
2394
  }
2393
2395
 
@@ -2453,36 +2455,20 @@ function GridHeader({
2453
2455
  children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react14.Ellipsis, { size: 16 })
2454
2456
  }
2455
2457
  ),
2456
- downloadMenu && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "absolute top-full right-0 mt-2 w-32 rounded-md border !bg-background shadow-lg z-50 overflow-hidden", children: [
2457
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2458
- "button",
2459
- {
2460
- onClick: () => {
2461
- onPdf == null ? void 0 : onPdf();
2462
- setDownloadMenu(false);
2463
- },
2464
- className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2465
- children: [
2466
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react14.FileText, { size: 14 }),
2467
- " PDF"
2468
- ]
2469
- }
2470
- ),
2471
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2472
- "button",
2473
- {
2474
- onClick: () => {
2475
- onExcel == null ? void 0 : onExcel();
2476
- setDownloadMenu(false);
2477
- },
2478
- className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2479
- children: [
2480
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react14.FileSpreadsheet, { size: 14 }),
2481
- " Excel"
2482
- ]
2483
- }
2484
- )
2485
- ] })
2458
+ downloadMenu && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute top-full right-0 mt-2 w-32 rounded-md border !bg-background shadow-lg z-50 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2459
+ "button",
2460
+ {
2461
+ onClick: () => {
2462
+ onExcel == null ? void 0 : onExcel();
2463
+ setDownloadMenu(false);
2464
+ },
2465
+ className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2466
+ children: [
2467
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react14.FileSpreadsheet, { size: 14 }),
2468
+ " Excel"
2469
+ ]
2470
+ }
2471
+ ) })
2486
2472
  ] })
2487
2473
  ] }) }),
2488
2474
  children,
@@ -2704,6 +2690,7 @@ function buildCheckboxColumn({
2704
2690
  }
2705
2691
 
2706
2692
  // src/components/custom/grid/index.tsx
2693
+ var import_lucide_react15 = require("lucide-react");
2707
2694
  var import_jsx_runtime28 = require("react/jsx-runtime");
2708
2695
  var _measureCanvas = typeof window !== "undefined" ? document.createElement("canvas") : null;
2709
2696
  function measureHeaderTextWidth(text) {
@@ -2950,15 +2937,21 @@ var Grid = (0, import_react10.forwardRef)(
2950
2937
  {
2951
2938
  className: "flex-1 w-full border border-border overflow-hidden",
2952
2939
  ref: containerRef,
2953
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react_grid.WillowDark, { fonts, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2954
- import_react_grid.Grid,
2955
- __spreadProps(__spreadValues({}, rest), {
2956
- data,
2957
- columns: resolvedColumns,
2958
- init,
2959
- selectedRows: selectionEnabled ? selectedIds : void 0
2960
- })
2961
- ) }) })
2940
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react_grid.WillowDark, { fonts, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
2941
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2942
+ import_react_grid.Grid,
2943
+ __spreadProps(__spreadValues({}, rest), {
2944
+ data,
2945
+ columns: resolvedColumns,
2946
+ init,
2947
+ selectedRows: selectionEnabled ? selectedIds : void 0
2948
+ })
2949
+ ),
2950
+ !(data == null ? void 0 : data.length) && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "absolute top-10 left-0 right-0 bottom-0 flex flex-col items-center justify-center pointer-events-none select-none", children: [
2951
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react15.Table2, { size: 26 }),
2952
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-sm font-medium text-muted-foreground mt-2", children: "No data found" })
2953
+ ] })
2954
+ ] }) }) })
2962
2955
  }
2963
2956
  )
2964
2957
  ] });
@@ -2967,7 +2960,7 @@ var Grid = (0, import_react10.forwardRef)(
2967
2960
  var grid_default = import_react10.default.memo(Grid);
2968
2961
 
2969
2962
  // src/components/custom/grid/sortableHeaderCell.tsx
2970
- var import_lucide_react15 = require("lucide-react");
2963
+ var import_lucide_react16 = require("lucide-react");
2971
2964
  var import_react11 = __toESM(require("react"));
2972
2965
  var import_jsx_runtime29 = require("react/jsx-runtime");
2973
2966
  var SortableHeaderCell = ({ cell, sortKey, sortOrder, onSortChange }) => {
@@ -2992,8 +2985,8 @@ var SortableHeaderCell = ({ cell, sortKey, sortOrder, onSortChange }) => {
2992
2985
  className: "cursor-pointer flex items-center gap-2 justify-between select-none",
2993
2986
  children: [
2994
2987
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { children: cell.text }),
2995
- !active && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react15.ArrowUpDown, { className: "w-4 h-4 opacity-50" }),
2996
- active && (sortOrder === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react15.MoveDown, { className: "w-4 h-4" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react15.MoveUp, { className: "w-4 h-4" }))
2988
+ !active && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react16.ArrowUpDown, { className: "w-4 h-4 opacity-50" }),
2989
+ active && (sortOrder === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react16.MoveDown, { className: "w-4 h-4" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react16.MoveUp, { className: "w-4 h-4" }))
2997
2990
  ]
2998
2991
  }
2999
2992
  );
@@ -3038,7 +3031,7 @@ function getPaginationRange(currentPage, totalPages, siblingCount = 2) {
3038
3031
  }
3039
3032
 
3040
3033
  // src/components/custom/pagination/index.tsx
3041
- var import_lucide_react16 = require("lucide-react");
3034
+ var import_lucide_react17 = require("lucide-react");
3042
3035
  var import_jsx_runtime30 = require("react/jsx-runtime");
3043
3036
  function Pagination({
3044
3037
  totalCount,
@@ -3088,7 +3081,7 @@ function Pagination({
3088
3081
  disabled: currentPage === 1,
3089
3082
  onClick: () => handlePageChange(currentPage - 1),
3090
3083
  className: "border border-border w-8 h-8 rounded-md flex items-center justify-center disabled:opacity-40 hover:bg-card-foreground transition",
3091
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react16.ChevronLeft, { className: "w-5 h-5 select-none" })
3084
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react17.ChevronLeft, { className: "w-5 h-5 select-none" })
3092
3085
  }
3093
3086
  ),
3094
3087
  pages.map(
@@ -3115,7 +3108,7 @@ function Pagination({
3115
3108
  disabled: currentPage === totalPages,
3116
3109
  onClick: () => handlePageChange(currentPage + 1),
3117
3110
  className: "border border-border w-8 h-8 rounded-md flex items-center justify-center disabled:opacity-40 hover:bg-card-foreground transition",
3118
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react16.ChevronRight, { className: "w-5 h-5 select-none" })
3111
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react17.ChevronRight, { className: "w-5 h-5 select-none" })
3119
3112
  }
3120
3113
  )
3121
3114
  ] })
@@ -3124,7 +3117,7 @@ function Pagination({
3124
3117
  var pagination_default = Pagination;
3125
3118
 
3126
3119
  // src/components/custom/toolbar/index.tsx
3127
- var import_lucide_react17 = require("lucide-react");
3120
+ var import_lucide_react18 = require("lucide-react");
3128
3121
  var import_react12 = require("react");
3129
3122
  var import_jsx_runtime31 = require("react/jsx-runtime");
3130
3123
  var SlideToolbar = ({
@@ -3179,7 +3172,7 @@ var SlideToolbar = ({
3179
3172
  open ? "opacity-0 pointer-events-none !w-0 border-r-0" : "opacity-100 pointer-events-auto"
3180
3173
  ].join(" "),
3181
3174
  children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3182
- import_lucide_react17.ChevronRight,
3175
+ import_lucide_react18.ChevronRight,
3183
3176
  {
3184
3177
  className: "text-primary-foreground chevron-bounce",
3185
3178
  size: 16
@@ -3212,7 +3205,7 @@ var SlideToolbar = ({
3212
3205
  onClick: () => setOpen(false),
3213
3206
  "aria-label": "Close toolbar",
3214
3207
  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",
3215
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react17.X, { size: 13 })
3208
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react18.X, { size: 13 })
3216
3209
  }
3217
3210
  )
3218
3211
  ] }),
package/dist/index.mjs CHANGED
@@ -1951,7 +1951,7 @@ function exportExcel(rows, name) {
1951
1951
 
1952
1952
  // src/components/custom/grid/gridHeader/index.tsx
1953
1953
  import React3, { useEffect as useEffect6, useRef as useRef2, useState as useState7 } from "react";
1954
- import { FileText, FileSpreadsheet, Search, Ellipsis, X as X4 } from "lucide-react";
1954
+ import { FileSpreadsheet, Search, Ellipsis, X as X4 } from "lucide-react";
1955
1955
 
1956
1956
  // src/components/custom/grid/gridHeader/components/filters.tsx
1957
1957
  import { useEffect as useEffect5, useMemo as useMemo3, useRef, useState as useState6 } from "react";
@@ -2344,19 +2344,21 @@ function SelectionBar({
2344
2344
  " selected"
2345
2345
  ] }),
2346
2346
  /* @__PURE__ */ jsx24("div", { className: "h-4 w-px bg-border mx-1" }),
2347
- actions.map((action) => /* @__PURE__ */ jsxs18(
2348
- "button",
2349
- {
2350
- onClick: () => onAction(action.id, selectedData),
2351
- title: action.label,
2352
- className: "flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-xs font-medium border border-border bg-primary/90 hover:bg-primary ease-in-out transition-colors cursor-pointer whitespace-nowrap",
2353
- children: [
2354
- action.icon && /* @__PURE__ */ jsx24("span", { className: "shrink-0 text-muted-foreground", children: action.icon }),
2355
- action.label
2356
- ]
2357
- },
2358
- action.id
2359
- ))
2347
+ actions.map(
2348
+ (action) => action.scope && /* @__PURE__ */ jsxs18(
2349
+ "button",
2350
+ {
2351
+ onClick: () => onAction(action.id, selectedData),
2352
+ title: action.label,
2353
+ className: "flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-xs font-medium border border-border bg-primary/90 hover:bg-primary ease-in-out transition-colors cursor-pointer whitespace-nowrap",
2354
+ children: [
2355
+ action.icon && /* @__PURE__ */ jsx24("span", { className: "shrink-0 text-muted-foreground", children: action.icon }),
2356
+ action.label
2357
+ ]
2358
+ },
2359
+ action.id
2360
+ )
2361
+ )
2360
2362
  ] });
2361
2363
  }
2362
2364
 
@@ -2422,36 +2424,20 @@ function GridHeader({
2422
2424
  children: /* @__PURE__ */ jsx25(Ellipsis, { size: 16 })
2423
2425
  }
2424
2426
  ),
2425
- downloadMenu && /* @__PURE__ */ jsxs19("div", { className: "absolute top-full right-0 mt-2 w-32 rounded-md border !bg-background shadow-lg z-50 overflow-hidden", children: [
2426
- /* @__PURE__ */ jsxs19(
2427
- "button",
2428
- {
2429
- onClick: () => {
2430
- onPdf == null ? void 0 : onPdf();
2431
- setDownloadMenu(false);
2432
- },
2433
- className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2434
- children: [
2435
- /* @__PURE__ */ jsx25(FileText, { size: 14 }),
2436
- " PDF"
2437
- ]
2438
- }
2439
- ),
2440
- /* @__PURE__ */ jsxs19(
2441
- "button",
2442
- {
2443
- onClick: () => {
2444
- onExcel == null ? void 0 : onExcel();
2445
- setDownloadMenu(false);
2446
- },
2447
- className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2448
- children: [
2449
- /* @__PURE__ */ jsx25(FileSpreadsheet, { size: 14 }),
2450
- " Excel"
2451
- ]
2452
- }
2453
- )
2454
- ] })
2427
+ downloadMenu && /* @__PURE__ */ jsx25("div", { className: "absolute top-full right-0 mt-2 w-32 rounded-md border !bg-background shadow-lg z-50 overflow-hidden", children: /* @__PURE__ */ jsxs19(
2428
+ "button",
2429
+ {
2430
+ onClick: () => {
2431
+ onExcel == null ? void 0 : onExcel();
2432
+ setDownloadMenu(false);
2433
+ },
2434
+ className: "flex items-center gap-2 w-full px-3 py-2 text-sm hover:bg-muted cursor-pointer",
2435
+ children: [
2436
+ /* @__PURE__ */ jsx25(FileSpreadsheet, { size: 14 }),
2437
+ " Excel"
2438
+ ]
2439
+ }
2440
+ ) })
2455
2441
  ] })
2456
2442
  ] }) }),
2457
2443
  children,
@@ -2673,7 +2659,8 @@ function buildCheckboxColumn({
2673
2659
  }
2674
2660
 
2675
2661
  // src/components/custom/grid/index.tsx
2676
- import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
2662
+ import { Table2 } from "lucide-react";
2663
+ import { Fragment as Fragment4, jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
2677
2664
  var _measureCanvas = typeof window !== "undefined" ? document.createElement("canvas") : null;
2678
2665
  function measureHeaderTextWidth(text) {
2679
2666
  if (!_measureCanvas) return 0;
@@ -2919,15 +2906,21 @@ var Grid = forwardRef(
2919
2906
  {
2920
2907
  className: "flex-1 w-full border border-border overflow-hidden",
2921
2908
  ref: containerRef,
2922
- children: /* @__PURE__ */ jsx28(WillowDark, { fonts, children: /* @__PURE__ */ jsx28("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ jsx28("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ jsx28("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ jsx28(
2923
- SvarGrid,
2924
- __spreadProps(__spreadValues({}, rest), {
2925
- data,
2926
- columns: resolvedColumns,
2927
- init,
2928
- selectedRows: selectionEnabled ? selectedIds : void 0
2929
- })
2930
- ) }) })
2909
+ children: /* @__PURE__ */ jsx28(WillowDark, { fonts, children: /* @__PURE__ */ jsx28("div", { className: "w-full h-full relative", children: rest.loading ? /* @__PURE__ */ jsx28("div", { className: "absolute inset-0 bg-background/60 backdrop-blur-sm flex items-center justify-center z-10", children: /* @__PURE__ */ jsx28("div", { className: "animate-spin rounded-full h-8 w-8 border-2 border-primary border-t-transparent" }) }) : /* @__PURE__ */ jsxs20(Fragment4, { children: [
2910
+ /* @__PURE__ */ jsx28(
2911
+ SvarGrid,
2912
+ __spreadProps(__spreadValues({}, rest), {
2913
+ data,
2914
+ columns: resolvedColumns,
2915
+ init,
2916
+ selectedRows: selectionEnabled ? selectedIds : void 0
2917
+ })
2918
+ ),
2919
+ !(data == null ? void 0 : data.length) && /* @__PURE__ */ jsxs20("div", { className: "absolute top-10 left-0 right-0 bottom-0 flex flex-col items-center justify-center pointer-events-none select-none", children: [
2920
+ /* @__PURE__ */ jsx28(Table2, { size: 26 }),
2921
+ /* @__PURE__ */ jsx28("p", { className: "text-sm font-medium text-muted-foreground mt-2", children: "No data found" })
2922
+ ] })
2923
+ ] }) }) })
2931
2924
  }
2932
2925
  )
2933
2926
  ] });
@@ -3095,7 +3088,7 @@ var pagination_default = Pagination;
3095
3088
  // src/components/custom/toolbar/index.tsx
3096
3089
  import { ChevronRight as ChevronRight4, X as X5 } from "lucide-react";
3097
3090
  import { useState as useState9, useRef as useRef6, useEffect as useEffect10 } from "react";
3098
- import { Fragment as Fragment4, jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
3091
+ import { Fragment as Fragment5, jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
3099
3092
  var SlideToolbar = ({
3100
3093
  items,
3101
3094
  children,
@@ -3122,7 +3115,7 @@ var SlideToolbar = ({
3122
3115
  const handleItem = (item) => {
3123
3116
  onAction == null ? void 0 : onAction(item.id);
3124
3117
  };
3125
- return /* @__PURE__ */ jsxs23(Fragment4, { children: [
3118
+ return /* @__PURE__ */ jsxs23(Fragment5, { children: [
3126
3119
  /* @__PURE__ */ jsx31("style", { children: `
3127
3120
  @keyframes bounceX {
3128
3121
  0%, 100% { transform: translateX(0px); }
@@ -3185,7 +3178,7 @@ var SlideToolbar = ({
3185
3178
  }
3186
3179
  )
3187
3180
  ] }),
3188
- /* @__PURE__ */ jsx31("div", { className: "flex-1 overflow-y-auto overflow-x-hidden py-2 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ jsxs23(Fragment4, { children: [
3181
+ /* @__PURE__ */ jsx31("div", { className: "flex-1 overflow-y-auto overflow-x-hidden py-2 scrollbar-none", children: resolvedItems ? /* @__PURE__ */ jsxs23(Fragment5, { children: [
3189
3182
  /* @__PURE__ */ jsx31("p", { className: "px-4 pt-1 pb-2 text-[10px] font-semibold tracking-[0.16em] uppercase text-foreground/35", children: "Actions" }),
3190
3183
  /* @__PURE__ */ jsx31("nav", { className: "flex flex-col px-2", children: resolvedItems.map((item) => /* @__PURE__ */ jsxs23(
3191
3184
  "button",