autocasting-ui-library-padimasso 1.7.4 → 1.7.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.
|
@@ -19,7 +19,7 @@ function WizardFooter({ children, className }) {
|
|
|
19
19
|
function WizardActions({ primaryAction, secondaryAction, className }) {
|
|
20
20
|
if (!primaryAction && !secondaryAction)
|
|
21
21
|
return null;
|
|
22
|
-
return (jsxs("div", { className: clsx('flex flex-col gap-2 sm:flex-row items-center justify-between', className), children: [secondaryAction, primaryAction] }));
|
|
22
|
+
return (jsxs("div", { className: clsx('w-full flex flex-col gap-2 sm:flex-row items-center justify-between', className), children: [secondaryAction, primaryAction] }));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export { WizardActions, WizardBody, WizardFooter, WizardHeader, WizardLayout };
|
package/package.json
CHANGED
|
@@ -109,7 +109,7 @@ export function WizardActions({ primaryAction, secondaryAction, className }: Wiz
|
|
|
109
109
|
if (!primaryAction && !secondaryAction) return null;
|
|
110
110
|
|
|
111
111
|
return (
|
|
112
|
-
<div className={clsx('flex flex-col gap-2 sm:flex-row items-center justify-between', className)}>
|
|
112
|
+
<div className={clsx('w-full flex flex-col gap-2 sm:flex-row items-center justify-between', className)}>
|
|
113
113
|
{secondaryAction}
|
|
114
114
|
{primaryAction}
|
|
115
115
|
</div>
|
|
@@ -43,11 +43,7 @@ const meta: Meta<typeof PhotoZoomOverlay> = {
|
|
|
43
43
|
<Button variant="primary" onClick={() => setOpen(true)}>
|
|
44
44
|
Open overlay
|
|
45
45
|
</Button>
|
|
46
|
-
<PhotoZoomOverlay
|
|
47
|
-
{...args}
|
|
48
|
-
open={open}
|
|
49
|
-
onClose={() => setOpen(false)}
|
|
50
|
-
/>
|
|
46
|
+
<PhotoZoomOverlay {...args} open={open} onClose={() => setOpen(false)} />
|
|
51
47
|
</div>
|
|
52
48
|
);
|
|
53
49
|
},
|