@bloom-housing/ui-components 4.2.2-alpha.11 → 4.2.2-alpha.12
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.2.2-alpha.12](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.11...@bloom-housing/ui-components@4.2.2-alpha.12) (2022-04-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* forgot password empty warning and two minor style changes ([#2680](https://github.com/bloom-housing/bloom/issues/2680)) ([01f1519](https://github.com/bloom-housing/bloom/commit/01f15194e2de8595a772c8c87f455d882e47f164))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [4.2.2-alpha.11](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.10...@bloom-housing/ui-components@4.2.2-alpha.11) (2022-04-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @bloom-housing/ui-components
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "4.2.2-alpha.
|
|
3
|
+
"version": "4.2.2-alpha.12",
|
|
4
4
|
"author": "Sean Albert <sean.albert@exygy.com>",
|
|
5
5
|
"description": "Shared user interface components for Bloom affordable housing system",
|
|
6
6
|
"homepage": "https://github.com/bloom-housing/bloom/tree/master/shared/ui-components",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"tailwindcss": "2.2.10",
|
|
101
101
|
"typesafe-actions": "^5.1.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "3de4a8504e25ef61454336746d1d012de66d05b3"
|
|
104
104
|
}
|
|
@@ -62,8 +62,8 @@ const FormForgotPassword = ({
|
|
|
62
62
|
</AlertBox>
|
|
63
63
|
)}
|
|
64
64
|
|
|
65
|
-
{!!networkError.error && Object.entries(errors).length === 0 && (
|
|
66
|
-
<ErrorMessage id={"
|
|
65
|
+
{!!networkError.error?.error && Object.entries(errors).length === 0 && (
|
|
66
|
+
<ErrorMessage id={"forgotpasswordemail-error"} error={!!networkError.error}>
|
|
67
67
|
<AlertBox type="alert" inverted onClose={() => networkError.reset()}>
|
|
68
68
|
{networkError.error.title}
|
|
69
69
|
</AlertBox>
|
|
@@ -76,7 +76,7 @@ const FormForgotPassword = ({
|
|
|
76
76
|
|
|
77
77
|
<SiteAlert type="notice" dismissable />
|
|
78
78
|
|
|
79
|
-
<div className="form-card__group pt-0
|
|
79
|
+
<div className="form-card__group pt-0">
|
|
80
80
|
<Form id="sign-in" className="mt-10" onSubmit={handleSubmit(onSubmit, onError)}>
|
|
81
81
|
<Field
|
|
82
82
|
caps={true}
|
|
@@ -86,8 +86,9 @@ const FormForgotPassword = ({
|
|
|
86
86
|
error={errors.email}
|
|
87
87
|
errorMessage={errors.email ? t("authentication.signIn.loginError") : undefined}
|
|
88
88
|
register={register}
|
|
89
|
+
onChange={() => networkError.reset()}
|
|
89
90
|
/>
|
|
90
|
-
<section
|
|
91
|
+
<section>
|
|
91
92
|
<div className="text-center mt-6">
|
|
92
93
|
<Button styleType={AppearanceStyleType.primary}>
|
|
93
94
|
{t("authentication.forgotPassword.sendEmail")}
|
|
@@ -112,7 +112,7 @@ const FormSignIn = ({
|
|
|
112
112
|
</Form>
|
|
113
113
|
</div>
|
|
114
114
|
{showRegisterBtn && (
|
|
115
|
-
<div className="form-card__group text-center">
|
|
115
|
+
<div className="form-card__group text-center border-t">
|
|
116
116
|
<h2 className="mb-6">{t("authentication.createAccount.noAccount")}</h2>
|
|
117
117
|
|
|
118
118
|
<LinkButton href="/create-account">{t("account.createAccount")}</LinkButton>
|