@almadar/ui 3.8.2 → 3.8.3

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.
@@ -22166,10 +22166,7 @@ var init_DataList = __esm({
22166
22166
  HStack,
22167
22167
  {
22168
22168
  gap: "xs",
22169
- className: cn(
22170
- "flex-shrink-0 transition-opacity duration-200",
22171
- "opacity-0 group-hover:opacity-100"
22172
- ),
22169
+ className: "flex-shrink-0",
22173
22170
  children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
22174
22171
  Button,
22175
22172
  {
@@ -22259,33 +22256,23 @@ var init_DataList = __esm({
22259
22256
  ] }, field.name);
22260
22257
  })
22261
22258
  ] }),
22262
- itemActions && itemActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
22263
- HStack,
22259
+ itemActions && itemActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(HStack, { gap: "xs", className: "flex-shrink-0", children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
22260
+ Button,
22264
22261
  {
22265
- gap: "xs",
22262
+ variant: action.variant ?? "ghost",
22263
+ size: "sm",
22264
+ onClick: handleActionClick(action, itemData),
22265
+ "data-testid": `action-${action.event}`,
22266
22266
  className: cn(
22267
- "flex-shrink-0 transition-opacity duration-200",
22268
- "opacity-0 group-hover:opacity-100"
22267
+ action.variant === "danger" && "text-error hover:bg-error/10"
22269
22268
  ),
22270
- children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
22271
- Button,
22272
- {
22273
- variant: action.variant ?? "ghost",
22274
- size: "sm",
22275
- onClick: handleActionClick(action, itemData),
22276
- "data-testid": `action-${action.event}`,
22277
- className: cn(
22278
- action.variant === "danger" && "text-error hover:bg-error/10"
22279
- ),
22280
- children: [
22281
- action.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
22282
- action.label
22283
- ]
22284
- },
22285
- idx
22286
- ))
22287
- }
22288
- )
22269
+ children: [
22270
+ action.icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
22271
+ action.label
22272
+ ]
22273
+ },
22274
+ idx
22275
+ )) })
22289
22276
  ]
22290
22277
  }
22291
22278
  ),
@@ -33717,75 +33704,66 @@ var init_List = __esm({
33717
33704
  hasProgress && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "ml-auto", children: /* @__PURE__ */ jsxRuntime.jsx(ProgressIndicator, { value: progressValue }) })
33718
33705
  ] })
33719
33706
  ] }),
33720
- /* @__PURE__ */ jsxRuntime.jsxs(
33721
- HStack,
33722
- {
33723
- className: cn(
33724
- "flex items-center gap-1 flex-shrink-0 transition-opacity duration-200",
33725
- "opacity-0 group-hover:opacity-100"
33726
- ),
33727
- children: [
33728
- editAction && /* @__PURE__ */ jsxRuntime.jsx(
33729
- Button,
33730
- {
33731
- variant: "ghost",
33732
- action: editAction.event,
33733
- className: cn(
33734
- "p-2 rounded-lg transition-all duration-200",
33735
- "hover:bg-primary/10 hover:text-primary",
33736
- "text-muted-foreground",
33737
- "active:scale-95"
33738
- ),
33739
- title: editAction.label,
33740
- "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
33741
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Pencil, { className: "w-4 h-4" })
33742
- }
33707
+ /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-1 flex-shrink-0", children: [
33708
+ editAction && /* @__PURE__ */ jsxRuntime.jsx(
33709
+ Button,
33710
+ {
33711
+ variant: "ghost",
33712
+ action: editAction.event,
33713
+ className: cn(
33714
+ "p-2 rounded-lg transition-all duration-200",
33715
+ "hover:bg-primary/10 hover:text-primary",
33716
+ "text-muted-foreground",
33717
+ "active:scale-95"
33743
33718
  ),
33744
- viewAction && /* @__PURE__ */ jsxRuntime.jsx(
33745
- Button,
33746
- {
33747
- variant: "ghost",
33748
- action: viewAction.event,
33749
- className: cn(
33750
- "p-2 rounded-lg transition-all duration-200",
33751
- "hover:bg-muted hover:text-foreground",
33752
- "text-muted-foreground",
33753
- "active:scale-95"
33754
- ),
33755
- title: viewAction.label,
33756
- "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
33757
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Eye, { className: "w-4 h-4" })
33758
- }
33719
+ title: editAction.label,
33720
+ "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
33721
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Pencil, { className: "w-4 h-4" })
33722
+ }
33723
+ ),
33724
+ viewAction && /* @__PURE__ */ jsxRuntime.jsx(
33725
+ Button,
33726
+ {
33727
+ variant: "ghost",
33728
+ action: viewAction.event,
33729
+ className: cn(
33730
+ "p-2 rounded-lg transition-all duration-200",
33731
+ "hover:bg-muted hover:text-foreground",
33732
+ "text-muted-foreground",
33733
+ "active:scale-95"
33759
33734
  ),
33760
- (() => {
33761
- const filteredActions = actions.filter(
33762
- (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
33763
- );
33764
- return filteredActions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
33765
- Menu,
33735
+ title: viewAction.label,
33736
+ "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
33737
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Eye, { className: "w-4 h-4" })
33738
+ }
33739
+ ),
33740
+ (() => {
33741
+ const filteredActions = actions.filter(
33742
+ (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
33743
+ );
33744
+ return filteredActions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
33745
+ Menu,
33746
+ {
33747
+ trigger: /* @__PURE__ */ jsxRuntime.jsx(
33748
+ Button,
33766
33749
  {
33767
- trigger: /* @__PURE__ */ jsxRuntime.jsx(
33768
- Button,
33769
- {
33770
- variant: "ghost",
33771
- className: cn(
33772
- "p-2 rounded-lg transition-all duration-200",
33773
- "hover:bg-muted hover:shadow-sm",
33774
- "text-muted-foreground hover:text-foreground",
33775
- "active:scale-95"
33776
- ),
33777
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "w-4 h-4" })
33778
- }
33750
+ variant: "ghost",
33751
+ className: cn(
33752
+ "p-2 rounded-lg transition-all duration-200",
33753
+ "hover:bg-muted hover:shadow-sm",
33754
+ "text-muted-foreground hover:text-foreground",
33755
+ "active:scale-95"
33779
33756
  ),
33780
- items: filteredActions,
33781
- position: "bottom-right"
33757
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "w-4 h-4" })
33782
33758
  }
33783
- ) : null;
33784
- })(),
33785
- hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
33786
- ]
33787
- }
33788
- )
33759
+ ),
33760
+ items: filteredActions,
33761
+ position: "bottom-right"
33762
+ }
33763
+ ) : null;
33764
+ })(),
33765
+ hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
33766
+ ] })
33789
33767
  ]
33790
33768
  }
33791
33769
  ),
package/dist/avl/index.js CHANGED
@@ -22120,10 +22120,7 @@ var init_DataList = __esm({
22120
22120
  HStack,
22121
22121
  {
22122
22122
  gap: "xs",
22123
- className: cn(
22124
- "flex-shrink-0 transition-opacity duration-200",
22125
- "opacity-0 group-hover:opacity-100"
22126
- ),
22123
+ className: "flex-shrink-0",
22127
22124
  children: itemActions.map((action, idx) => /* @__PURE__ */ jsxs(
22128
22125
  Button,
22129
22126
  {
@@ -22213,33 +22210,23 @@ var init_DataList = __esm({
22213
22210
  ] }, field.name);
22214
22211
  })
22215
22212
  ] }),
22216
- itemActions && itemActions.length > 0 && /* @__PURE__ */ jsx(
22217
- HStack,
22213
+ itemActions && itemActions.length > 0 && /* @__PURE__ */ jsx(HStack, { gap: "xs", className: "flex-shrink-0", children: itemActions.map((action, idx) => /* @__PURE__ */ jsxs(
22214
+ Button,
22218
22215
  {
22219
- gap: "xs",
22216
+ variant: action.variant ?? "ghost",
22217
+ size: "sm",
22218
+ onClick: handleActionClick(action, itemData),
22219
+ "data-testid": `action-${action.event}`,
22220
22220
  className: cn(
22221
- "flex-shrink-0 transition-opacity duration-200",
22222
- "opacity-0 group-hover:opacity-100"
22221
+ action.variant === "danger" && "text-error hover:bg-error/10"
22223
22222
  ),
22224
- children: itemActions.map((action, idx) => /* @__PURE__ */ jsxs(
22225
- Button,
22226
- {
22227
- variant: action.variant ?? "ghost",
22228
- size: "sm",
22229
- onClick: handleActionClick(action, itemData),
22230
- "data-testid": `action-${action.event}`,
22231
- className: cn(
22232
- action.variant === "danger" && "text-error hover:bg-error/10"
22233
- ),
22234
- children: [
22235
- action.icon && /* @__PURE__ */ jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
22236
- action.label
22237
- ]
22238
- },
22239
- idx
22240
- ))
22241
- }
22242
- )
22223
+ children: [
22224
+ action.icon && /* @__PURE__ */ jsx(Icon, { name: action.icon, size: "xs", className: "mr-1" }),
22225
+ action.label
22226
+ ]
22227
+ },
22228
+ idx
22229
+ )) })
22243
22230
  ]
22244
22231
  }
22245
22232
  ),
@@ -33671,75 +33658,66 @@ var init_List = __esm({
33671
33658
  hasProgress && /* @__PURE__ */ jsx(Box, { className: "ml-auto", children: /* @__PURE__ */ jsx(ProgressIndicator, { value: progressValue }) })
33672
33659
  ] })
33673
33660
  ] }),
33674
- /* @__PURE__ */ jsxs(
33675
- HStack,
33676
- {
33677
- className: cn(
33678
- "flex items-center gap-1 flex-shrink-0 transition-opacity duration-200",
33679
- "opacity-0 group-hover:opacity-100"
33680
- ),
33681
- children: [
33682
- editAction && /* @__PURE__ */ jsx(
33683
- Button,
33684
- {
33685
- variant: "ghost",
33686
- action: editAction.event,
33687
- className: cn(
33688
- "p-2 rounded-lg transition-all duration-200",
33689
- "hover:bg-primary/10 hover:text-primary",
33690
- "text-muted-foreground",
33691
- "active:scale-95"
33692
- ),
33693
- title: editAction.label,
33694
- "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
33695
- children: /* @__PURE__ */ jsx(Pencil, { className: "w-4 h-4" })
33696
- }
33661
+ /* @__PURE__ */ jsxs(HStack, { className: "flex items-center gap-1 flex-shrink-0", children: [
33662
+ editAction && /* @__PURE__ */ jsx(
33663
+ Button,
33664
+ {
33665
+ variant: "ghost",
33666
+ action: editAction.event,
33667
+ className: cn(
33668
+ "p-2 rounded-lg transition-all duration-200",
33669
+ "hover:bg-primary/10 hover:text-primary",
33670
+ "text-muted-foreground",
33671
+ "active:scale-95"
33697
33672
  ),
33698
- viewAction && /* @__PURE__ */ jsx(
33699
- Button,
33700
- {
33701
- variant: "ghost",
33702
- action: viewAction.event,
33703
- className: cn(
33704
- "p-2 rounded-lg transition-all duration-200",
33705
- "hover:bg-muted hover:text-foreground",
33706
- "text-muted-foreground",
33707
- "active:scale-95"
33708
- ),
33709
- title: viewAction.label,
33710
- "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
33711
- children: /* @__PURE__ */ jsx(Eye, { className: "w-4 h-4" })
33712
- }
33673
+ title: editAction.label,
33674
+ "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
33675
+ children: /* @__PURE__ */ jsx(Pencil, { className: "w-4 h-4" })
33676
+ }
33677
+ ),
33678
+ viewAction && /* @__PURE__ */ jsx(
33679
+ Button,
33680
+ {
33681
+ variant: "ghost",
33682
+ action: viewAction.event,
33683
+ className: cn(
33684
+ "p-2 rounded-lg transition-all duration-200",
33685
+ "hover:bg-muted hover:text-foreground",
33686
+ "text-muted-foreground",
33687
+ "active:scale-95"
33713
33688
  ),
33714
- (() => {
33715
- const filteredActions = actions.filter(
33716
- (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
33717
- );
33718
- return filteredActions.length > 0 ? /* @__PURE__ */ jsx(
33719
- Menu,
33689
+ title: viewAction.label,
33690
+ "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
33691
+ children: /* @__PURE__ */ jsx(Eye, { className: "w-4 h-4" })
33692
+ }
33693
+ ),
33694
+ (() => {
33695
+ const filteredActions = actions.filter(
33696
+ (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
33697
+ );
33698
+ return filteredActions.length > 0 ? /* @__PURE__ */ jsx(
33699
+ Menu,
33700
+ {
33701
+ trigger: /* @__PURE__ */ jsx(
33702
+ Button,
33720
33703
  {
33721
- trigger: /* @__PURE__ */ jsx(
33722
- Button,
33723
- {
33724
- variant: "ghost",
33725
- className: cn(
33726
- "p-2 rounded-lg transition-all duration-200",
33727
- "hover:bg-muted hover:shadow-sm",
33728
- "text-muted-foreground hover:text-foreground",
33729
- "active:scale-95"
33730
- ),
33731
- children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "w-4 h-4" })
33732
- }
33704
+ variant: "ghost",
33705
+ className: cn(
33706
+ "p-2 rounded-lg transition-all duration-200",
33707
+ "hover:bg-muted hover:shadow-sm",
33708
+ "text-muted-foreground hover:text-foreground",
33709
+ "active:scale-95"
33733
33710
  ),
33734
- items: filteredActions,
33735
- position: "bottom-right"
33711
+ children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "w-4 h-4" })
33736
33712
  }
33737
- ) : null;
33738
- })(),
33739
- hasExplicitClick && /* @__PURE__ */ jsx(ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
33740
- ]
33741
- }
33742
- )
33713
+ ),
33714
+ items: filteredActions,
33715
+ position: "bottom-right"
33716
+ }
33717
+ ) : null;
33718
+ })(),
33719
+ hasExplicitClick && /* @__PURE__ */ jsx(ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
33720
+ ] })
33743
33721
  ]
33744
33722
  }
33745
33723
  ),
@@ -17798,10 +17798,7 @@ var init_DataList = __esm({
17798
17798
  exports.HStack,
17799
17799
  {
17800
17800
  gap: "xs",
17801
- className: cn(
17802
- "flex-shrink-0 transition-opacity duration-200",
17803
- "opacity-0 group-hover:opacity-100"
17804
- ),
17801
+ className: "flex-shrink-0",
17805
17802
  children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
17806
17803
  exports.Button,
17807
17804
  {
@@ -17891,33 +17888,23 @@ var init_DataList = __esm({
17891
17888
  ] }, field.name);
17892
17889
  })
17893
17890
  ] }),
17894
- itemActions && itemActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
17895
- exports.HStack,
17891
+ itemActions && itemActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.HStack, { gap: "xs", className: "flex-shrink-0", children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
17892
+ exports.Button,
17896
17893
  {
17897
- gap: "xs",
17894
+ variant: action.variant ?? "ghost",
17895
+ size: "sm",
17896
+ onClick: handleActionClick(action, itemData),
17897
+ "data-testid": `action-${action.event}`,
17898
17898
  className: cn(
17899
- "flex-shrink-0 transition-opacity duration-200",
17900
- "opacity-0 group-hover:opacity-100"
17899
+ action.variant === "danger" && "text-error hover:bg-error/10"
17901
17900
  ),
17902
- children: itemActions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
17903
- exports.Button,
17904
- {
17905
- variant: action.variant ?? "ghost",
17906
- size: "sm",
17907
- onClick: handleActionClick(action, itemData),
17908
- "data-testid": `action-${action.event}`,
17909
- className: cn(
17910
- action.variant === "danger" && "text-error hover:bg-error/10"
17911
- ),
17912
- children: [
17913
- action.icon && /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: action.icon, size: "xs", className: "mr-1" }),
17914
- action.label
17915
- ]
17916
- },
17917
- idx
17918
- ))
17919
- }
17920
- )
17901
+ children: [
17902
+ action.icon && /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: action.icon, size: "xs", className: "mr-1" }),
17903
+ action.label
17904
+ ]
17905
+ },
17906
+ idx
17907
+ )) })
17921
17908
  ]
17922
17909
  }
17923
17910
  ),
@@ -29714,75 +29701,66 @@ var init_List = __esm({
29714
29701
  hasProgress && /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "ml-auto", children: /* @__PURE__ */ jsxRuntime.jsx(ProgressIndicator, { value: progressValue }) })
29715
29702
  ] })
29716
29703
  ] }),
29717
- /* @__PURE__ */ jsxRuntime.jsxs(
29718
- exports.HStack,
29719
- {
29720
- className: cn(
29721
- "flex items-center gap-1 flex-shrink-0 transition-opacity duration-200",
29722
- "opacity-0 group-hover:opacity-100"
29723
- ),
29724
- children: [
29725
- editAction && /* @__PURE__ */ jsxRuntime.jsx(
29726
- exports.Button,
29727
- {
29728
- variant: "ghost",
29729
- action: editAction.event,
29730
- className: cn(
29731
- "p-2 rounded-lg transition-all duration-200",
29732
- "hover:bg-primary/10 hover:text-primary",
29733
- "text-muted-foreground",
29734
- "active:scale-95"
29735
- ),
29736
- title: editAction.label,
29737
- "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
29738
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Pencil, { className: "w-4 h-4" })
29739
- }
29704
+ /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { className: "flex items-center gap-1 flex-shrink-0", children: [
29705
+ editAction && /* @__PURE__ */ jsxRuntime.jsx(
29706
+ exports.Button,
29707
+ {
29708
+ variant: "ghost",
29709
+ action: editAction.event,
29710
+ className: cn(
29711
+ "p-2 rounded-lg transition-all duration-200",
29712
+ "hover:bg-primary/10 hover:text-primary",
29713
+ "text-muted-foreground",
29714
+ "active:scale-95"
29740
29715
  ),
29741
- viewAction && /* @__PURE__ */ jsxRuntime.jsx(
29742
- exports.Button,
29743
- {
29744
- variant: "ghost",
29745
- action: viewAction.event,
29746
- className: cn(
29747
- "p-2 rounded-lg transition-all duration-200",
29748
- "hover:bg-muted hover:text-foreground",
29749
- "text-muted-foreground",
29750
- "active:scale-95"
29751
- ),
29752
- title: viewAction.label,
29753
- "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
29754
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Eye, { className: "w-4 h-4" })
29755
- }
29716
+ title: editAction.label,
29717
+ "data-testid": editAction.event ? `action-${editAction.event}` : void 0,
29718
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Pencil, { className: "w-4 h-4" })
29719
+ }
29720
+ ),
29721
+ viewAction && /* @__PURE__ */ jsxRuntime.jsx(
29722
+ exports.Button,
29723
+ {
29724
+ variant: "ghost",
29725
+ action: viewAction.event,
29726
+ className: cn(
29727
+ "p-2 rounded-lg transition-all duration-200",
29728
+ "hover:bg-muted hover:text-foreground",
29729
+ "text-muted-foreground",
29730
+ "active:scale-95"
29756
29731
  ),
29757
- (() => {
29758
- const filteredActions = actions.filter(
29759
- (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
29760
- );
29761
- return filteredActions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
29762
- exports.Menu,
29732
+ title: viewAction.label,
29733
+ "data-testid": viewAction.event ? `action-${viewAction.event}` : void 0,
29734
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Eye, { className: "w-4 h-4" })
29735
+ }
29736
+ ),
29737
+ (() => {
29738
+ const filteredActions = actions.filter(
29739
+ (a) => !a.label.toLowerCase().includes("edit") && !a.label.toLowerCase().includes("view") && !a.label.toLowerCase().includes("open")
29740
+ );
29741
+ return filteredActions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
29742
+ exports.Menu,
29743
+ {
29744
+ trigger: /* @__PURE__ */ jsxRuntime.jsx(
29745
+ exports.Button,
29763
29746
  {
29764
- trigger: /* @__PURE__ */ jsxRuntime.jsx(
29765
- exports.Button,
29766
- {
29767
- variant: "ghost",
29768
- className: cn(
29769
- "p-2 rounded-lg transition-all duration-200",
29770
- "hover:bg-muted hover:shadow-sm",
29771
- "text-muted-foreground hover:text-foreground",
29772
- "active:scale-95"
29773
- ),
29774
- children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "w-4 h-4" })
29775
- }
29747
+ variant: "ghost",
29748
+ className: cn(
29749
+ "p-2 rounded-lg transition-all duration-200",
29750
+ "hover:bg-muted hover:shadow-sm",
29751
+ "text-muted-foreground hover:text-foreground",
29752
+ "active:scale-95"
29776
29753
  ),
29777
- items: filteredActions,
29778
- position: "bottom-right"
29754
+ children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.MoreHorizontal, { className: "w-4 h-4" })
29779
29755
  }
29780
- ) : null;
29781
- })(),
29782
- hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
29783
- ]
29784
- }
29785
- )
29756
+ ),
29757
+ items: filteredActions,
29758
+ position: "bottom-right"
29759
+ }
29760
+ ) : null;
29761
+ })(),
29762
+ hasExplicitClick && /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.ChevronRight, { className: "w-4 h-4 text-muted-foreground/50 group-hover:text-muted-foreground group-hover:translate-x-0.5 transition-all" })
29763
+ ] })
29786
29764
  ]
29787
29765
  }
29788
29766
  ),