@moontra/moonui-pro 2.25.4 → 2.25.5
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.global.js +82 -82
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { format, addMonths, subMonths, startOfMonth, endOfMonth, eachDayOfInterv
|
|
|
12
12
|
import { motion, AnimatePresence, useAnimation, useMotionValue, animate, useSpring, useTransform, Reorder, useDragControls } from 'framer-motion';
|
|
13
13
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
14
14
|
import * as ReactDOM2 from 'react-dom';
|
|
15
|
-
import ReactDOM2__default from 'react-dom';
|
|
15
|
+
import ReactDOM2__default, { createPortal } from 'react-dom';
|
|
16
16
|
import { createSlot, createSlottable } from '@radix-ui/react-slot';
|
|
17
17
|
import { Command } from 'cmdk';
|
|
18
18
|
import Fuse from 'fuse.js';
|
|
@@ -73063,7 +73063,10 @@ function DataTableFilterDrawer({
|
|
|
73063
73063
|
}
|
|
73064
73064
|
onOpenChange(false);
|
|
73065
73065
|
};
|
|
73066
|
-
|
|
73066
|
+
if (typeof document === "undefined") {
|
|
73067
|
+
return null;
|
|
73068
|
+
}
|
|
73069
|
+
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
73067
73070
|
/* @__PURE__ */ jsx(AnimatePresence, { children: open && /* @__PURE__ */ jsx(
|
|
73068
73071
|
motion.div,
|
|
73069
73072
|
{
|
|
@@ -73183,6 +73186,7 @@ function DataTableFilterDrawer({
|
|
|
73183
73186
|
}
|
|
73184
73187
|
) })
|
|
73185
73188
|
] });
|
|
73189
|
+
return createPortal(content, document.body);
|
|
73186
73190
|
}
|
|
73187
73191
|
function FilterConditionRow({
|
|
73188
73192
|
filter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.5",
|
|
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",
|