@moontra/moonui-pro 2.26.11 → 2.26.13

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 CHANGED
@@ -8000,7 +8000,7 @@ var TabsContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
8000
8000
  {
8001
8001
  ref,
8002
8002
  className: cn(
8003
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8003
+ "mt-6 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8004
8004
  className
8005
8005
  ),
8006
8006
  ...props
@@ -72875,7 +72875,7 @@ var AlertDialogFooter = ({
72875
72875
  "div",
72876
72876
  {
72877
72877
  className: cn(
72878
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
72878
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 mt-6",
72879
72879
  className
72880
72880
  ),
72881
72881
  ...props
@@ -73710,7 +73710,7 @@ function DataTableFacetedFilter({
73710
73710
  return label.toLowerCase().includes(searchQuery.toLowerCase());
73711
73711
  });
73712
73712
  }, [availableOptions, searchQuery]);
73713
- const displayTitle = title || columnId;
73713
+ const displayTitle = title || column.columnDef.header || columnId;
73714
73714
  const handleSelect = (value) => {
73715
73715
  const newValues = new Set(selectedValues);
73716
73716
  if (newValues.has(value)) {
@@ -74152,15 +74152,20 @@ function DataTable({
74152
74152
  },
74153
74153
  `quick-${filter.column}-${index2}`
74154
74154
  )) }),
74155
- facetedFilters.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: facetedFilters.map((columnId) => /* @__PURE__ */ jsx(
74156
- DataTableFacetedFilter,
74157
- {
74158
- table,
74159
- column: columnId,
74160
- data
74161
- },
74162
- `faceted-${columnId}`
74163
- )) }),
74155
+ facetedFilters.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: facetedFilters.map((filter, index2) => {
74156
+ const columnId = typeof filter === "string" ? filter : filter.column;
74157
+ const label = typeof filter === "string" ? void 0 : filter.label;
74158
+ return /* @__PURE__ */ jsx(
74159
+ DataTableFacetedFilter,
74160
+ {
74161
+ table,
74162
+ column: columnId,
74163
+ title: label,
74164
+ data
74165
+ },
74166
+ `faceted-${columnId}-${index2}`
74167
+ );
74168
+ }) }),
74164
74169
  filterable && /* @__PURE__ */ jsxs(
74165
74170
  MoonUIButtonPro,
74166
74171
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.26.11",
3
+ "version": "2.26.13",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",