@docsplain-kit/core 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/modal/modal.js +1 -1
  2. package/package.json +1 -1
package/modal/modal.js CHANGED
@@ -37,7 +37,7 @@ var Modal = function (_a) {
37
37
  };
38
38
  }, [open, escFunction]);
39
39
  if (position === 'float') {
40
- return (react_1["default"].createElement(SafeAnimatePresence, null, open && (react_1["default"].createElement(react_2.motion.div, { key: "float", exit: { opacity: 0, transition: { duration: 0.6 } }, initial: { opacity: 0 }, animate: { opacity: 100, transition: { duration: 0.2 } }, className: (0, tailwind_merge_config_1.twMerge)("flex justify-center items-center bg-black/[0.2] backdrop-blur-xs fixed top-0 left-0 right-0 z-[1300] w-full h-dvh", className) },
40
+ return (react_1["default"].createElement(SafeAnimatePresence, null, open && (react_1["default"].createElement(react_2.motion.div, { key: "float", exit: { opacity: 0, transition: { duration: 0.6 } }, initial: { opacity: 0 }, animate: { opacity: 100, transition: { duration: 0.2 } }, className: (0, tailwind_merge_config_1.twMerge)("flex justify-center items-center bg-black/[0.2] backdrop-blur-sm fixed top-0 left-0 right-0 z-[1300] w-full h-dvh", className) },
41
41
  react_1["default"].createElement(div_1["default"], { className: "-z-10 w-screen h-dvh absolute", onClick: onClose }),
42
42
  react_1["default"].createElement(react_2.motion.div, { className: (0, tailwind_merge_config_1.twMerge)('relative w-11/12 md:w-2/3 md:max-w-[800px] md:h-auto h-3/4 bg-white z-40 rounded-lg md:p-6 pt-2 px-2 pb-0 flex flex-col justify-center items-center self-center gap-8', isHighContrast && '!bg-black', wrapperClassName), exit: { translateY: 2000, transition: { duration: 0.6 } }, initial: { translateY: 2000 }, animate: { translateY: 0, transition: { duration: 0.5 } } }, children)))));
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsplain-kit/core",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "main": "./index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",