@open-mercato/ui 0.6.5-develop.5382.1.f542de69af → 0.6.6-develop.5412.1.e2a52b14f0

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.
@@ -1,3 +1,3 @@
1
1
  Generated lucide registry with 141 icons -> /home/runner/work/open-mercato/open-mercato/packages/ui/src/backend/icons/lucideRegistry.generated.tsx
2
- [build:ui] found 387 entry points
2
+ [build:ui] found 388 entry points
3
3
  [build:ui] built successfully
@@ -649,6 +649,7 @@ function DataTable({
649
649
  extensionTableId: extensionTableIdProp,
650
650
  stickyFirstColumn = false,
651
651
  stickyActionsColumn = false,
652
+ actionsColumnAlign = "right",
652
653
  virtualized = false,
653
654
  virtualizedMaxHeight,
654
655
  virtualizedOverscan = 10,
@@ -2082,7 +2083,7 @@ function DataTable({
2082
2083
  {
2083
2084
  variant: "ghost",
2084
2085
  type: "button",
2085
- className: `h-auto p-0 font-medium ${sortable && header.column.getCanSort?.() ? "cursor-pointer select-none" : ""}`,
2086
+ className: `h-auto p-0 has-[>svg]:px-0 font-medium ${sortable && header.column.getCanSort?.() ? "cursor-pointer select-none" : ""}`,
2086
2087
  onClick: () => sortable && header.column.toggleSorting?.(header.column.getIsSorted() === "asc"),
2087
2088
  children: [
2088
2089
  flexRender(header.column.columnDef.header, header.getContext()),
@@ -2101,7 +2102,7 @@ function DataTable({
2101
2102
  TableHead,
2102
2103
  {
2103
2104
  className: cn(
2104
- "w-0 text-right",
2105
+ actionsColumnAlign === "center" ? "w-0 text-center" : "w-0 text-right",
2105
2106
  stickyActionsColumn && `sticky right-0 z-20 bg-background ${STICKY_RIGHT_SHADOW_CLASS}`
2106
2107
  ),
2107
2108
  children: t("ui.dataTable.actionsColumn", "Actions")
@@ -2184,7 +2185,7 @@ function DataTable({
2184
2185
  TableCell,
2185
2186
  {
2186
2187
  className: cn(
2187
- "text-right whitespace-nowrap",
2188
+ actionsColumnAlign === "center" ? "text-center whitespace-nowrap" : "text-right whitespace-nowrap",
2188
2189
  stickyActionsColumn && `sticky right-0 z-10 bg-background ${STICKY_RIGHT_SHADOW_CLASS}`
2189
2190
  ),
2190
2191
  "data-actions-cell": true,