@symply.io/basic-components 1.7.12-alpha.1 → 1.7.12-alpha.2

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.
@@ -121,7 +121,7 @@ function BasicModal(props, ref) {
121
121
  ? undefined
122
122
  : function (ev) {
123
123
  ev.preventDefault();
124
- } }, { children: [desc && _jsx(DialogContentText, { children: desc }), Boolean(children) && cloneElement(children)] })) })), !hideBottomButtons && (_jsx(DialogActions, __assign({ sx: { padding: theme.spacing(1.25) } }, { children: _jsx(Grid, __assign({ container: true, spacing: 2, justifyContent: "flex-end", alignItems: "center", sx: { margin: 0 } }, { children: buttons || (_jsxs(_Fragment, { children: [_jsx(Grid, __assign({ item: true, xs: 12, md: "auto" }, { children: _jsx(Button, __assign({ onClick: onClose, variant: "outlined", color: cancelButtonColor || color, disabled: loading, fullWidth: fullScreen }, { children: cancelText })) })), _jsx(Grid, __assign({ item: true, xs: 12, md: "auto" }, { children: _jsx(Button, __assign({ type: noForm ? "button" : "submit", onClick: noForm ? onSubmit : onFormSubmit, variant: "contained", color: submitButtonColor || color, disabled: loading || disabled, fullWidth: fullScreen }, { children: submitText })) }))] })) })) })))] })) })));
124
+ } }, { children: [desc && _jsx(DialogContentText, { children: desc }), Boolean(children) && cloneElement(children)] })) })), !hideBottomButtons && (_jsx(DialogActions, __assign({ sx: { padding: theme.spacing(1.25) } }, { children: _jsx(Grid, __assign({ container: true, spacing: 2, justifyContent: "flex-end", alignItems: "center", sx: { margin: 0 } }, { children: buttons || (_jsxs(_Fragment, { children: [_jsx(Grid, __assign({ item: true, sm: 12, md: "auto" }, { children: _jsx(Button, __assign({ onClick: onClose, variant: "outlined", color: cancelButtonColor || color, disabled: loading, fullWidth: fullScreen }, { children: cancelText })) })), _jsx(Grid, __assign({ item: true, sm: 12, md: "auto" }, { children: _jsx(Button, __assign({ type: noForm ? "button" : "submit", onClick: noForm ? onSubmit : onFormSubmit, variant: "contained", color: submitButtonColor || color, disabled: loading || disabled, fullWidth: fullScreen }, { children: submitText })) }))] })) })) })))] })) })));
125
125
  }
126
126
  var BasicModalWithRefForward = forwardRef(BasicModal);
127
127
  BasicModalWithRefForward.displayName = "BasicModal";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.7.12-alpha.1",
3
+ "version": "1.7.12-alpha.2",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",