@adiba-banking-cloud/backoffice 0.0.61 → 0.0.62
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.
- package/build/index.cjs.js/index.js +9 -6
- package/build/index.esm.js/index.js +9 -6
- package/build/typings/components/forms/simple/Simple.d.ts +3 -0
- package/build/typings/components/forms/simple/Simple.stories.d.ts +6 -0
- package/build/typings/components/forms/simple/Simple.types.d.ts +11 -0
- package/package.json +1 -1
|
@@ -13227,11 +13227,17 @@ const Drawer = _ref => {
|
|
|
13227
13227
|
offset: 10,
|
|
13228
13228
|
padding: "md",
|
|
13229
13229
|
size: size,
|
|
13230
|
+
style: {
|
|
13231
|
+
display: 'flex',
|
|
13232
|
+
flexDirection: 'column'
|
|
13233
|
+
},
|
|
13230
13234
|
transitionProps: {
|
|
13231
13235
|
duration: 500,
|
|
13232
13236
|
transition: "slide-left"
|
|
13233
13237
|
}
|
|
13234
|
-
}, /*#__PURE__*/React.createElement(core.Drawer.Overlay, null), /*#__PURE__*/React.createElement(core.Drawer.Content,
|
|
13238
|
+
}, /*#__PURE__*/React.createElement(core.Drawer.Overlay, null), /*#__PURE__*/React.createElement(core.Drawer.Content, {
|
|
13239
|
+
flex: 1
|
|
13240
|
+
}, /*#__PURE__*/React.createElement(core.Drawer.Header, null, /*#__PURE__*/React.createElement(core.Drawer.Title, {
|
|
13235
13241
|
fz: 'lg',
|
|
13236
13242
|
fw: "400"
|
|
13237
13243
|
}, title), /*#__PURE__*/React.createElement(core.Drawer.CloseButton, {
|
|
@@ -13240,11 +13246,8 @@ const Drawer = _ref => {
|
|
|
13240
13246
|
size: 24
|
|
13241
13247
|
})
|
|
13242
13248
|
})), /*#__PURE__*/React.createElement(core.Drawer.Body, {
|
|
13243
|
-
|
|
13244
|
-
|
|
13245
|
-
},
|
|
13246
|
-
p: "md",
|
|
13247
|
-
pt: 0
|
|
13249
|
+
flex: 1,
|
|
13250
|
+
p: "md"
|
|
13248
13251
|
}, /*#__PURE__*/React.createElement(core.ScrollArea, {
|
|
13249
13252
|
h: "100%",
|
|
13250
13253
|
scrollbars: "y"
|
|
@@ -13206,11 +13206,17 @@ const Drawer = _ref => {
|
|
|
13206
13206
|
offset: 10,
|
|
13207
13207
|
padding: "md",
|
|
13208
13208
|
size: size,
|
|
13209
|
+
style: {
|
|
13210
|
+
display: 'flex',
|
|
13211
|
+
flexDirection: 'column'
|
|
13212
|
+
},
|
|
13209
13213
|
transitionProps: {
|
|
13210
13214
|
duration: 500,
|
|
13211
13215
|
transition: "slide-left"
|
|
13212
13216
|
}
|
|
13213
|
-
}, /*#__PURE__*/React.createElement(Drawer$1.Overlay, null), /*#__PURE__*/React.createElement(Drawer$1.Content,
|
|
13217
|
+
}, /*#__PURE__*/React.createElement(Drawer$1.Overlay, null), /*#__PURE__*/React.createElement(Drawer$1.Content, {
|
|
13218
|
+
flex: 1
|
|
13219
|
+
}, /*#__PURE__*/React.createElement(Drawer$1.Header, null, /*#__PURE__*/React.createElement(Drawer$1.Title, {
|
|
13214
13220
|
fz: 'lg',
|
|
13215
13221
|
fw: "400"
|
|
13216
13222
|
}, title), /*#__PURE__*/React.createElement(Drawer$1.CloseButton, {
|
|
@@ -13219,11 +13225,8 @@ const Drawer = _ref => {
|
|
|
13219
13225
|
size: 24
|
|
13220
13226
|
})
|
|
13221
13227
|
})), /*#__PURE__*/React.createElement(Drawer$1.Body, {
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
},
|
|
13225
|
-
p: "md",
|
|
13226
|
-
pt: 0
|
|
13228
|
+
flex: 1,
|
|
13229
|
+
p: "md"
|
|
13227
13230
|
}, /*#__PURE__*/React.createElement(ScrollArea, {
|
|
13228
13231
|
h: "100%",
|
|
13229
13232
|
scrollbars: "y"
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import "@mantine/core/styles.css";
|
|
3
|
+
import { SimpleForm } from "./Simple";
|
|
4
|
+
declare const _default: Meta<typeof SimpleForm>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const SimpleFormContainer: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Simple.types").SimpleFormProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type FormInput = string | Function;
|
|
2
|
+
export interface SimpleFormProps {
|
|
3
|
+
fields: FormInput[];
|
|
4
|
+
layout?: number[];
|
|
5
|
+
onSubmit?: (values: any) => void;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
hasReset?: boolean;
|
|
8
|
+
hasSubmit?: boolean;
|
|
9
|
+
isEditable: boolean;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
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.62",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|