@newageerp/v3.popups.popup
Advanced tools
Comparing version 2.4.6 to 2.4.7
@@ -28,13 +28,13 @@ "use strict"; | ||
return (react_1.default.createElement(popup_1.Popup, { title: "hello", onClick: () => setIsPopup(false), isPopup: isPopup }, | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "tw3-py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"))); | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"), | ||
react_1.default.createElement("div", { className: "py-10" }, "Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloribus adipisci omnis asperiores cumque facilis rem fuga blanditiis quia? Explicabo ullam animi dolores non ab quas provident rerum neque voluptas voluptatum!"))); | ||
}; | ||
exports.BasicPopup = BasicPopup; | ||
//# sourceMappingURL=popup.composition.js.map |
@@ -22,13 +22,13 @@ "use strict"; | ||
}; | ||
return (react_1.default.createElement("div", { onClick: onClick, className: (0, classnames_1.default)("tw3-w-full tw3-flex tw3-fixed tw3-top-0 tw3-left-0 tw3-right-0 tw3-bottom-0 tw3-bg-slate-700/60 tw3-backdrop-blur-sm tw3-items-center tw3-h-screen", theme.body), style: { zIndex: zIndex ? zIndex : 200 } }, | ||
return (react_1.default.createElement("div", { onClick: onClick, className: (0, classnames_1.default)("w-full flex fixed top-0 left-0 right-0 bottom-0 bg-slate-700/60 backdrop-blur-sm items-center h-screen", theme.body), style: { zIndex: zIndex ? zIndex : 200 } }, | ||
react_1.default.createElement("div", { onClick: (e) => e.stopPropagation(), className: (0, classnames_1.default)([ | ||
'tw3-max-w-[90vw] tw3-my-2 tw3-mx-auto', | ||
'max-w-[90vw] my-2 mx-auto', | ||
className, | ||
]) }, | ||
react_1.default.createElement("div", { className: "tw3-flex tw3-bg-sky-900 tw3-rounded-t-md tw3-text-white tw3-p-4 tw3-items-center tw3-justify-between" }, | ||
react_1.default.createElement("div", { className: "tw3-mr-3" }, title), | ||
react_1.default.createElement("span", { onClick: _onXClose, className: "fa-fw tw3-font-extrabold tw3-cursor-pointer fa-regular fa-xmark" })), | ||
react_1.default.createElement("div", { className: "tw3-px-4 tw3-py-6 tw3-max-h-[85vh] tw3-overflow-y-auto tw3-bg-slate-50 dark:tw3-bg-gray-900 tw3-rounded-b-md" }, children)))); | ||
react_1.default.createElement("div", { className: "flex bg-sky-900 rounded-t-md text-white p-4 items-center justify-between" }, | ||
react_1.default.createElement("div", { className: "mr-3" }, title), | ||
react_1.default.createElement("span", { onClick: _onXClose, className: "fa-fw font-extrabold cursor-pointer fa-regular fa-xmark" })), | ||
react_1.default.createElement("div", { className: "px-4 py-6 max-h-[85vh] overflow-y-auto bg-slate-50 dark:bg-gray-900 rounded-b-md" }, children)))); | ||
} | ||
exports.Popup = Popup; | ||
//# sourceMappingURL=popup.js.map |
{ | ||
"name": "@newageerp/v3.popups.popup", | ||
"version": "2.4.6", | ||
"version": "2.4.7", | ||
"homepage": "https://bit.dev/newageerp/v3/popups/popup", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "v3/popups/popup", | ||
"version": "2.4.6" | ||
"version": "2.4.7" | ||
}, | ||
@@ -12,0 +12,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34566
122