@sikka/hawa 0.0.107 → 0.0.108
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/es/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/blocks/AuthForms/SignInForm.tsx +2 -1
- package/src/elements/HawaButton.tsx +2 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.277f1328.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/main.7a1984b7.iframe.bundle.js +0 -1
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ export const SignInForm: React.FunctionComponent<SignInFormTypes> = (props) => {
|
|
|
58
58
|
|
|
59
59
|
return (
|
|
60
60
|
<HawaContainer maxWidth="small">
|
|
61
|
-
<form onSubmit={handleSubmit(props.handleSignIn)}>
|
|
61
|
+
<form onSubmit={handleSubmit((e) => props.handleSignIn(e))}>
|
|
62
62
|
{props.showError && (
|
|
63
63
|
<HawaAlert
|
|
64
64
|
title={props.errorTitle}
|
|
@@ -150,6 +150,7 @@ export const SignInForm: React.FunctionComponent<SignInFormTypes> = (props) => {
|
|
|
150
150
|
size="medium"
|
|
151
151
|
width="full"
|
|
152
152
|
type="submit"
|
|
153
|
+
// onClick={(e) => console.log("clicking")}
|
|
153
154
|
>
|
|
154
155
|
{props.texts.signInText}
|
|
155
156
|
</HawaButton>
|
|
@@ -6,7 +6,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
6
6
|
color?: "default" | "primary" | "secondary"
|
|
7
7
|
width?: "full" | "normal" | "half"
|
|
8
8
|
size?: "small" | "medium" | "large" | "noPadding"
|
|
9
|
-
tooltip?: string
|
|
9
|
+
tooltip?: string,
|
|
10
10
|
isLoading?: boolean
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -95,6 +95,7 @@ export function HawaButton({
|
|
|
95
95
|
)
|
|
96
96
|
}
|
|
97
97
|
disabled={disabled}
|
|
98
|
+
type={props.type}
|
|
98
99
|
{...props}
|
|
99
100
|
>
|
|
100
101
|
{!isLoading ? (
|
|
@@ -361,4 +361,4 @@
|
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.4d0bf318.iframe.bundle.js"></script><script src="209.05314e10.iframe.bundle.js"></script><script src="main.
|
|
364
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.4d0bf318.iframe.bundle.js"></script><script src="209.05314e10.iframe.bundle.js"></script><script src="main.277f1328.iframe.bundle.js"></script></body></html>
|