techsbcn-storybook 0.12.4 → 0.12.5
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/dist/techsbcn-storybook.cjs.development.js +10 -16
- package/dist/techsbcn-storybook.cjs.development.js.map +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js +1 -1
- package/dist/techsbcn-storybook.cjs.production.min.js.map +1 -1
- package/dist/techsbcn-storybook.esm.js +10 -16
- package/dist/techsbcn-storybook.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/forms/ChangePasswordForm.tsx +4 -4
- package/src/components/forms/LoginForm.tsx +2 -2
- package/src/components/forms/ResetPasswordForm.tsx +3 -3
|
@@ -2486,15 +2486,13 @@ var LoginForm = function LoginForm(props) {
|
|
|
2486
2486
|
});
|
|
2487
2487
|
}
|
|
2488
2488
|
})))), React__default.createElement(material.Box, {
|
|
2489
|
-
mb:
|
|
2489
|
+
mb: 4
|
|
2490
2490
|
}, React__default.createElement(ButtonComponent, {
|
|
2491
2491
|
label: props.valuesText.buttonText,
|
|
2492
2492
|
loading: props.loading,
|
|
2493
2493
|
className: "btn-login",
|
|
2494
2494
|
onClick: handleSubmit(props.onClick)
|
|
2495
|
-
})), props.bottomComponent && React__default.createElement(material.Box,
|
|
2496
|
-
m: 2
|
|
2497
|
-
}, props.bottomComponent));
|
|
2495
|
+
})), props.bottomComponent && React__default.createElement(material.Box, null, props.bottomComponent));
|
|
2498
2496
|
};
|
|
2499
2497
|
|
|
2500
2498
|
var ChangePasswordForm = function ChangePasswordForm(props) {
|
|
@@ -2524,10 +2522,12 @@ var ChangePasswordForm = function ChangePasswordForm(props) {
|
|
|
2524
2522
|
event.preventDefault();
|
|
2525
2523
|
};
|
|
2526
2524
|
|
|
2527
|
-
return React__default.createElement(_.Box,
|
|
2525
|
+
return React__default.createElement(_.Box, {
|
|
2528
2526
|
m: 2
|
|
2529
|
-
}, props.topComponent
|
|
2527
|
+
}, props.topComponent && React__default.createElement(_.Box, {
|
|
2530
2528
|
m: 2
|
|
2529
|
+
}, props.topComponent), React__default.createElement(_.Box, {
|
|
2530
|
+
my: 2
|
|
2531
2531
|
}, React__default.createElement(_.Grid, {
|
|
2532
2532
|
container: true,
|
|
2533
2533
|
direction: "column",
|
|
@@ -2595,15 +2595,13 @@ var ChangePasswordForm = function ChangePasswordForm(props) {
|
|
|
2595
2595
|
});
|
|
2596
2596
|
}
|
|
2597
2597
|
})))), React__default.createElement(_.Box, {
|
|
2598
|
-
|
|
2598
|
+
mb: 4
|
|
2599
2599
|
}, React__default.createElement(ButtonComponent, {
|
|
2600
2600
|
label: props.valuesText.buttonText,
|
|
2601
2601
|
className: "btn-login",
|
|
2602
2602
|
onClick: handleSubmit(props.onClick),
|
|
2603
2603
|
loading: props.loading
|
|
2604
|
-
})), props.bottomComponent && React__default.createElement(_.Box,
|
|
2605
|
-
m: 2
|
|
2606
|
-
}, props.bottomComponent));
|
|
2604
|
+
})), props.bottomComponent && React__default.createElement(_.Box, null, props.bottomComponent));
|
|
2607
2605
|
};
|
|
2608
2606
|
|
|
2609
2607
|
var ResetPasswordForm = function ResetPasswordForm(props) {
|
|
@@ -2623,7 +2621,6 @@ var ResetPasswordForm = function ResetPasswordForm(props) {
|
|
|
2623
2621
|
}, props.topComponent && React__default.createElement(material.Box, {
|
|
2624
2622
|
m: 2
|
|
2625
2623
|
}, props.topComponent), React__default.createElement(material.Box, {
|
|
2626
|
-
mx: 2,
|
|
2627
2624
|
my: 2
|
|
2628
2625
|
}, React__default.createElement(reactHookForm.Controller, {
|
|
2629
2626
|
control: control,
|
|
@@ -2649,16 +2646,13 @@ var ResetPasswordForm = function ResetPasswordForm(props) {
|
|
|
2649
2646
|
});
|
|
2650
2647
|
}
|
|
2651
2648
|
})), React__default.createElement(material.Box, {
|
|
2652
|
-
|
|
2653
|
-
mb: 5
|
|
2649
|
+
mb: 4
|
|
2654
2650
|
}, React__default.createElement(ButtonComponent, {
|
|
2655
2651
|
label: props.valuesText.buttonText,
|
|
2656
2652
|
className: "btn-login",
|
|
2657
2653
|
onClick: handleSubmit(props.onClick),
|
|
2658
2654
|
loading: props.loading
|
|
2659
|
-
})), props.bottomComponent && React__default.createElement(material.Box,
|
|
2660
|
-
m: 2
|
|
2661
|
-
}, props.bottomComponent));
|
|
2655
|
+
})), props.bottomComponent && React__default.createElement(material.Box, null, props.bottomComponent));
|
|
2662
2656
|
};
|
|
2663
2657
|
|
|
2664
2658
|
var ModalComponent = function ModalComponent(props) {
|