@pagamio/frontend-commons-lib 0.8.248 → 0.8.249

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.
@@ -239,6 +239,6 @@ const DrawerContent = ({ fields, onSubmit, isOpen, initialValues, submitButtonTe
239
239
  bottom: 0,
240
240
  zIndex: 100,
241
241
  width: '420px',
242
- }, children: [_jsx(Button, { variant: "outline-primary", className: "w-full flex-1 h-full rounded-none", disabled: isSubmitting, onClick: handleCancel, children: cancelButtonText }), _jsx(Button, { variant: "primary", className: "flex-1 h-full rounded-none", disabled: isSubmitting, onClick: handleSubmit(handleFormSubmit), children: submitButtonText })] })), _jsx(NotificationModal, { show: showCancelConfirmModal, onClose: handleContinueEditing, title: "Unsaved Changes", message: "You have unsaved changes. What would you like to do?", variant: "warning", showConfirmButton: false, showCancelButton: false, size: "lg", children: _jsxs("div", { className: "flex gap-2 flex-wrap", children: [_jsx(Button, { variant: "primary", onClick: handleSaveAndClose, children: "Save & Close" }), _jsx(Button, { variant: "outline", onClick: handleDiscardChanges, children: "Discard Changes" }), _jsx(Button, { variant: "outline", onClick: handleContinueEditing, children: "Continue Editing" })] }) })] }));
242
+ }, children: [_jsx(Button, { variant: "outline-primary", className: "w-full flex-1 h-full rounded-none", disabled: isSubmitting, onClick: handleCancel, children: cancelButtonText }), _jsx(Button, { variant: "primary", className: "flex-1 h-full rounded-none", disabled: isSubmitting, onClick: handleSubmit(handleFormSubmit), children: submitButtonText })] })), _jsx(NotificationModal, { show: showCancelConfirmModal, onClose: handleContinueEditing, title: "Unsaved Changes", message: "You have unsaved changes. What would you like to do?", variant: "warning", showConfirmButton: false, showCancelButton: false, size: "xl", children: _jsxs("div", { className: "flex justify-center gap-3", children: [_jsx(Button, { variant: "primary", onClick: handleSaveAndClose, children: "Save & Close" }), _jsx(Button, { variant: "outline", onClick: handleDiscardChanges, children: "Discard Changes" }), _jsx(Button, { variant: "outline", onClick: handleContinueEditing, children: "Continue Editing" })] }) })] }));
243
243
  };
244
244
  export default DrawerContent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pagamio/frontend-commons-lib",
3
3
  "description": "Pagamio library for Frontend reusable components like the form engine and table container",
4
- "version": "0.8.248",
4
+ "version": "0.8.249",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": false