@adiba-banking-cloud/backoffice 0.0.51 → 0.0.52
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.
|
@@ -13122,17 +13122,19 @@ const SimpleModal = _ref => {
|
|
|
13122
13122
|
} = _ref;
|
|
13123
13123
|
_objectWithoutProperties(_ref, _excluded$1);
|
|
13124
13124
|
return /*#__PURE__*/React.createElement(core.Stack, {
|
|
13125
|
+
p: "md"
|
|
13126
|
+
}, /*#__PURE__*/React.createElement(core.Stack, {
|
|
13125
13127
|
align: "center",
|
|
13126
|
-
py: 40,
|
|
13127
13128
|
gap: "lg"
|
|
13128
13129
|
}, /*#__PURE__*/React.createElement(core.Title, {
|
|
13129
13130
|
order: 3,
|
|
13130
13131
|
fw: 500,
|
|
13131
13132
|
h: 40
|
|
13132
|
-
}, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Group, _extends({
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13133
|
+
}, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody)), /*#__PURE__*/React.createElement(core.Group, _extends({
|
|
13134
|
+
gap: "sm"
|
|
13135
|
+
}, innerProps.groupProps, {
|
|
13136
|
+
grow: true
|
|
13137
|
+
}), /*#__PURE__*/React.createElement(core.Button, _extends({
|
|
13136
13138
|
hidden: !((_innerProps$cancelPro = innerProps.cancelProps) !== null && _innerProps$cancelPro !== void 0 && _innerProps$cancelPro.label)
|
|
13137
13139
|
}, innerProps.cancelProps, {
|
|
13138
13140
|
onClick: () => context.closeModal(id),
|
|
@@ -13101,17 +13101,19 @@ const SimpleModal = _ref => {
|
|
|
13101
13101
|
} = _ref;
|
|
13102
13102
|
_objectWithoutProperties(_ref, _excluded$1);
|
|
13103
13103
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
13104
|
+
p: "md"
|
|
13105
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
13104
13106
|
align: "center",
|
|
13105
|
-
py: 40,
|
|
13106
13107
|
gap: "lg"
|
|
13107
13108
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
13108
13109
|
order: 3,
|
|
13109
13110
|
fw: 500,
|
|
13110
13111
|
h: 40
|
|
13111
|
-
}, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody), /*#__PURE__*/React.createElement(Group, _extends({
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
|
|
13112
|
+
}, innerProps.title), /*#__PURE__*/React.createElement(React.Fragment, null, innerProps.modalBody)), /*#__PURE__*/React.createElement(Group, _extends({
|
|
13113
|
+
gap: "sm"
|
|
13114
|
+
}, innerProps.groupProps, {
|
|
13115
|
+
grow: true
|
|
13116
|
+
}), /*#__PURE__*/React.createElement(Button, _extends({
|
|
13115
13117
|
hidden: !((_innerProps$cancelPro = innerProps.cancelProps) !== null && _innerProps$cancelPro !== void 0 && _innerProps$cancelPro.label)
|
|
13116
13118
|
}, innerProps.cancelProps, {
|
|
13117
13119
|
onClick: () => context.closeModal(id),
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import "@mantine/core/styles.css";
|
|
3
|
+
import { SimpleModal } from "./Simple";
|
|
4
|
+
declare const _default: Meta<typeof SimpleModal>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const SimpleModalExample: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@mantine/modals").ContextModalProps<import("./Simple.types").SimpleModalProps>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adiba-banking-cloud/backoffice",
|
|
3
3
|
"author": "TUROG Technologies",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.52",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|