@adiba-banking-cloud/backoffice 0.0.61 → 0.0.63
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 +1 -6
- package/build/index.esm.js/index.js +1 -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
|
@@ -13240,13 +13240,8 @@ const Drawer = _ref => {
|
|
|
13240
13240
|
size: 24
|
|
13241
13241
|
})
|
|
13242
13242
|
})), /*#__PURE__*/React.createElement(core.Drawer.Body, {
|
|
13243
|
-
|
|
13244
|
-
height: "100%"
|
|
13245
|
-
},
|
|
13246
|
-
p: "md",
|
|
13247
|
-
pt: 0
|
|
13243
|
+
p: "md"
|
|
13248
13244
|
}, /*#__PURE__*/React.createElement(core.ScrollArea, {
|
|
13249
|
-
h: "100%",
|
|
13250
13245
|
scrollbars: "y"
|
|
13251
13246
|
}, page))));
|
|
13252
13247
|
};
|
|
@@ -13219,13 +13219,8 @@ const Drawer = _ref => {
|
|
|
13219
13219
|
size: 24
|
|
13220
13220
|
})
|
|
13221
13221
|
})), /*#__PURE__*/React.createElement(Drawer$1.Body, {
|
|
13222
|
-
|
|
13223
|
-
height: "100%"
|
|
13224
|
-
},
|
|
13225
|
-
p: "md",
|
|
13226
|
-
pt: 0
|
|
13222
|
+
p: "md"
|
|
13227
13223
|
}, /*#__PURE__*/React.createElement(ScrollArea, {
|
|
13228
|
-
h: "100%",
|
|
13229
13224
|
scrollbars: "y"
|
|
13230
13225
|
}, page))));
|
|
13231
13226
|
};
|
|
@@ -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.63",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|