@appcorp/app-corp-vista 0.3.40 → 0.3.41

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.
@@ -20,7 +20,7 @@ var VistaModalV1 = function (_a) {
20
20
  var _b = _a.cancelDisabled, cancelDisabled = _b === void 0 ? false : _b, cancelLabel = _a.cancelLabel, cancelPrefixIcon = _a.cancelPrefixIcon, _c = _a.cancelRounded, cancelRounded = _c === void 0 ? vista_button_type_1.VISTA_BUTTON_ROUNDED.MD : _c, _d = _a.cancelSize, cancelSize = _d === void 0 ? vista_button_type_1.VISTA_BUTTON_SIZE.MD : _d, cancelSuffixIcon = _a.cancelSuffixIcon, children = _a.children, _e = _a.enableActions, enableActions = _e === void 0 ? true : _e, handleCancelOnClick = _a.handleCancelOnClick, handleSaveOnClick = _a.handleSaveOnClick, handleSetIsOpen = _a.handleSetIsOpen, isOpen = _a.isOpen, mainIcon = _a.mainIcon, _f = _a.saveDisabled, saveDisabled = _f === void 0 ? false : _f, saveLabel = _a.saveLabel, savePrefixIcon = _a.savePrefixIcon, _g = _a.saveRounded, saveRounded = _g === void 0 ? vista_button_type_1.VISTA_BUTTON_ROUNDED.MD : _g, _h = _a.saveSize, saveSize = _h === void 0 ? vista_button_type_1.VISTA_BUTTON_SIZE.MD : _h, saveSuffixIcon = _a.saveSuffixIcon, _j = _a.size, size = _j === void 0 ? vista_modal_type_1.VISTA_MODAL_SIZE.MD : _j, title = _a.title;
21
21
  return (react_1.default.createElement(react_2.Dialog, { open: isOpen, onClose: handleSetIsOpen, className: "relative z-10" },
22
22
  react_1.default.createElement(react_2.DialogBackdrop, { transition: true, className: "fixed inset-0 bg-gray-500/75 transition-opacity data-[closed]:opacity-0 data-[enter]:duration-300 data-[leave]:duration-200 data-[enter]:ease-out data-[leave]:ease-in" }),
23
- react_1.default.createElement("div", { className: "fixed inset-0 z-10 w-screen overflow-y-auto" },
23
+ react_1.default.createElement("div", { className: "fixed inset-0 z-20 w-screen overflow-y-auto" },
24
24
  react_1.default.createElement("div", { className: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" },
25
25
  react_1.default.createElement(react_2.DialogPanel, { transition: true, className: "relative grid grid-rows-12 transform overflow-hidden rounded-lg bg-white p-4 text-left shadow-xl transition-all data-[closed]:translate-y-4 data-[closed]:opacity-0 data-[enter]:duration-300 data-[leave]:duration-200 data-[enter]:ease-out data-[leave]:ease-in sm:my-8 sm:w-full sm:max-w-sm sm:p-4 data-[closed]:sm:translate-y-0 data-[closed]:sm:scale-95 ".concat(vistaModalSizeMap[size]) },
26
26
  react_1.default.createElement("div", { className: "h-full overflow-y-auto shadow-lg p-4 rounded-md ".concat(enableActions ? 'row-span-11' : 'row-span-12') },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.3.40",
3
+ "version": "0.3.41",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
6
6
  "build:next": "next build",