@bloom-housing/ui-components 4.1.3-alpha.3 → 4.2.0
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 +72 -0
- package/package.json +3 -3
- package/src/lists/PreferencesList.tsx +3 -1
- package/src/page_components/forgot-password/FormForgotPassword.tsx +1 -1
- package/src/page_components/sign-in/FormSignIn.tsx +17 -1
- package/src/page_components/sign-in/FormSignInAddPhone.tsx +1 -1
- package/src/page_components/sign-in/FormSignInErrorBox.tsx +1 -1
- package/src/page_components/sign-in/FormSignInMFACode.tsx +1 -2
- package/src/page_components/sign-in/FormSignInMFAType.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,78 @@
|
|
|
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.0](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.1.2...@bloom-housing/ui-components@4.2.0) (2022-04-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* 2022-04-05 release (#2627) ([485fb48](https://github.com/seanmalbert/bloom/commit/485fb48cfbad48bcabfef5e2e704025f608aee89)), closes [#2627](https://github.com/seanmalbert/bloom/issues/2627) [#2352](https://github.com/seanmalbert/bloom/issues/2352) [#2316](https://github.com/seanmalbert/bloom/issues/2316) [#2356](https://github.com/seanmalbert/bloom/issues/2356) [#2353](https://github.com/seanmalbert/bloom/issues/2353) [#2338](https://github.com/seanmalbert/bloom/issues/2338) [#2377](https://github.com/seanmalbert/bloom/issues/2377) [#2320](https://github.com/seanmalbert/bloom/issues/2320) [#2386](https://github.com/seanmalbert/bloom/issues/2386) [#2362](https://github.com/seanmalbert/bloom/issues/2362) [#2395](https://github.com/seanmalbert/bloom/issues/2395) [#2410](https://github.com/seanmalbert/bloom/issues/2410) [#2407](https://github.com/seanmalbert/bloom/issues/2407) [#2430](https://github.com/seanmalbert/bloom/issues/2430) [#2418](https://github.com/seanmalbert/bloom/issues/2418) [#2434](https://github.com/seanmalbert/bloom/issues/2434) [#2374](https://github.com/seanmalbert/bloom/issues/2374) [#2435](https://github.com/seanmalbert/bloom/issues/2435) [#2420](https://github.com/seanmalbert/bloom/issues/2420) [#2412](https://github.com/seanmalbert/bloom/issues/2412) [#2438](https://github.com/seanmalbert/bloom/issues/2438) [#2429](https://github.com/seanmalbert/bloom/issues/2429) [#2452](https://github.com/seanmalbert/bloom/issues/2452) [#2458](https://github.com/seanmalbert/bloom/issues/2458) [#2423](https://github.com/seanmalbert/bloom/issues/2423) [#2432](https://github.com/seanmalbert/bloom/issues/2432) [#2437](https://github.com/seanmalbert/bloom/issues/2437) [#2440](https://github.com/seanmalbert/bloom/issues/2440) [#2441](https://github.com/seanmalbert/bloom/issues/2441) [#2460](https://github.com/seanmalbert/bloom/issues/2460) [#2459](https://github.com/seanmalbert/bloom/issues/2459) [#2464](https://github.com/seanmalbert/bloom/issues/2464) [#2465](https://github.com/seanmalbert/bloom/issues/2465) [#2466](https://github.com/seanmalbert/bloom/issues/2466) [#2436](https://github.com/seanmalbert/bloom/issues/2436) [#2451](https://github.com/seanmalbert/bloom/issues/2451) [#2415](https://github.com/seanmalbert/bloom/issues/2415) [#2354](https://github.com/seanmalbert/bloom/issues/2354) [#2455](https://github.com/seanmalbert/bloom/issues/2455) [#2484](https://github.com/seanmalbert/bloom/issues/2484) [#2482](https://github.com/seanmalbert/bloom/issues/2482) [#2483](https://github.com/seanmalbert/bloom/issues/2483) [#2476](https://github.com/seanmalbert/bloom/issues/2476) [#2485](https://github.com/seanmalbert/bloom/issues/2485) [#2470](https://github.com/seanmalbert/bloom/issues/2470) [#2488](https://github.com/seanmalbert/bloom/issues/2488) [#2487](https://github.com/seanmalbert/bloom/issues/2487) [#2496](https://github.com/seanmalbert/bloom/issues/2496) [#2498](https://github.com/seanmalbert/bloom/issues/2498) [#2499](https://github.com/seanmalbert/bloom/issues/2499) [#2291](https://github.com/seanmalbert/bloom/issues/2291) [#2461](https://github.com/seanmalbert/bloom/issues/2461) [#2485](https://github.com/seanmalbert/bloom/issues/2485) [#2494](https://github.com/seanmalbert/bloom/issues/2494) [#2503](https://github.com/seanmalbert/bloom/issues/2503) [#2495](https://github.com/seanmalbert/bloom/issues/2495) [#2477](https://github.com/seanmalbert/bloom/issues/2477) [#2505](https://github.com/seanmalbert/bloom/issues/2505) [#2372](https://github.com/seanmalbert/bloom/issues/2372) [#2489](https://github.com/seanmalbert/bloom/issues/2489) [#2497](https://github.com/seanmalbert/bloom/issues/2497) [#2506](https://github.com/seanmalbert/bloom/issues/2506) [#2486](https://github.com/seanmalbert/bloom/issues/2486)
|
|
10
|
+
* 2022-04-04 release (#2614) ([fecab85](https://github.com/seanmalbert/bloom/commit/fecab85c748a55ab4aff5d591c8e0ac702254559)), closes [#2614](https://github.com/seanmalbert/bloom/issues/2614) [#2349](https://github.com/seanmalbert/bloom/issues/2349) [#2350](https://github.com/seanmalbert/bloom/issues/2350) [#2351](https://github.com/seanmalbert/bloom/issues/2351) [#2348](https://github.com/seanmalbert/bloom/issues/2348) [#2352](https://github.com/seanmalbert/bloom/issues/2352) [#2316](https://github.com/seanmalbert/bloom/issues/2316) [#2356](https://github.com/seanmalbert/bloom/issues/2356) [#2353](https://github.com/seanmalbert/bloom/issues/2353) [#2338](https://github.com/seanmalbert/bloom/issues/2338) [#2377](https://github.com/seanmalbert/bloom/issues/2377) [#2320](https://github.com/seanmalbert/bloom/issues/2320) [#2386](https://github.com/seanmalbert/bloom/issues/2386) [#2362](https://github.com/seanmalbert/bloom/issues/2362) [#2395](https://github.com/seanmalbert/bloom/issues/2395) [#2410](https://github.com/seanmalbert/bloom/issues/2410) [#2407](https://github.com/seanmalbert/bloom/issues/2407) [#2430](https://github.com/seanmalbert/bloom/issues/2430) [#2418](https://github.com/seanmalbert/bloom/issues/2418) [#2434](https://github.com/seanmalbert/bloom/issues/2434) [#2374](https://github.com/seanmalbert/bloom/issues/2374) [#2435](https://github.com/seanmalbert/bloom/issues/2435) [#2420](https://github.com/seanmalbert/bloom/issues/2420) [#2412](https://github.com/seanmalbert/bloom/issues/2412) [#2438](https://github.com/seanmalbert/bloom/issues/2438) [#2429](https://github.com/seanmalbert/bloom/issues/2429) [#2452](https://github.com/seanmalbert/bloom/issues/2452) [#2458](https://github.com/seanmalbert/bloom/issues/2458) [#2423](https://github.com/seanmalbert/bloom/issues/2423) [#2432](https://github.com/seanmalbert/bloom/issues/2432) [#2437](https://github.com/seanmalbert/bloom/issues/2437) [#2440](https://github.com/seanmalbert/bloom/issues/2440) [#2441](https://github.com/seanmalbert/bloom/issues/2441) [#2460](https://github.com/seanmalbert/bloom/issues/2460) [#2459](https://github.com/seanmalbert/bloom/issues/2459) [#2464](https://github.com/seanmalbert/bloom/issues/2464) [#2465](https://github.com/seanmalbert/bloom/issues/2465) [#2466](https://github.com/seanmalbert/bloom/issues/2466) [#2436](https://github.com/seanmalbert/bloom/issues/2436) [#2451](https://github.com/seanmalbert/bloom/issues/2451) [#2415](https://github.com/seanmalbert/bloom/issues/2415) [#2354](https://github.com/seanmalbert/bloom/issues/2354) [#2455](https://github.com/seanmalbert/bloom/issues/2455) [#2484](https://github.com/seanmalbert/bloom/issues/2484) [#2482](https://github.com/seanmalbert/bloom/issues/2482) [#2483](https://github.com/seanmalbert/bloom/issues/2483) [#2476](https://github.com/seanmalbert/bloom/issues/2476) [#2485](https://github.com/seanmalbert/bloom/issues/2485) [#2470](https://github.com/seanmalbert/bloom/issues/2470) [#2488](https://github.com/seanmalbert/bloom/issues/2488) [#2487](https://github.com/seanmalbert/bloom/issues/2487) [#2496](https://github.com/seanmalbert/bloom/issues/2496) [#2498](https://github.com/seanmalbert/bloom/issues/2498) [#2499](https://github.com/seanmalbert/bloom/issues/2499) [#2291](https://github.com/seanmalbert/bloom/issues/2291) [#2461](https://github.com/seanmalbert/bloom/issues/2461) [#2485](https://github.com/seanmalbert/bloom/issues/2485) [#2494](https://github.com/seanmalbert/bloom/issues/2494) [#2503](https://github.com/seanmalbert/bloom/issues/2503) [#2495](https://github.com/seanmalbert/bloom/issues/2495) [#2477](https://github.com/seanmalbert/bloom/issues/2477) [#2505](https://github.com/seanmalbert/bloom/issues/2505) [#2372](https://github.com/seanmalbert/bloom/issues/2372) [#2489](https://github.com/seanmalbert/bloom/issues/2489) [#2497](https://github.com/seanmalbert/bloom/issues/2497) [#2506](https://github.com/seanmalbert/bloom/issues/2506) [#2486](https://github.com/seanmalbert/bloom/issues/2486)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* remove applicationDueTime field and consolidated into applicationDueDate
|
|
16
|
+
|
|
17
|
+
* chore(release): version
|
|
18
|
+
|
|
19
|
+
- @bloom-housing/backend-core@3.0.2-alpha.13
|
|
20
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.21
|
|
21
|
+
- @bloom-housing/partners@4.0.1-alpha.23
|
|
22
|
+
- @bloom-housing/public@4.0.1-alpha.22
|
|
23
|
+
- @bloom-housing/ui-components@4.0.1-alpha.21
|
|
24
|
+
* consolidated all event section components in one new component, uptake will require removing the deprecated components and uptaking EventSection
|
|
25
|
+
|
|
26
|
+
* chore(release): version
|
|
27
|
+
|
|
28
|
+
- @bloom-housing/backend-core@3.0.2-alpha.38
|
|
29
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.63
|
|
30
|
+
- @bloom-housing/partners@4.0.1-alpha.67
|
|
31
|
+
- @bloom-housing/public@4.0.1-alpha.66
|
|
32
|
+
- @bloom-housing/ui-components@4.0.1-alpha.62
|
|
33
|
+
* remove applicationDueTime field and consolidated into applicationDueDate
|
|
34
|
+
|
|
35
|
+
* chore(release): version
|
|
36
|
+
|
|
37
|
+
- @bloom-housing/backend-core@3.0.2-alpha.13
|
|
38
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.21
|
|
39
|
+
- @bloom-housing/partners@4.0.1-alpha.23
|
|
40
|
+
- @bloom-housing/public@4.0.1-alpha.22
|
|
41
|
+
- @bloom-housing/ui-components@4.0.1-alpha.21
|
|
42
|
+
* consolidated all event section components in one new component, uptake will require removing the deprecated components and uptaking EventSection
|
|
43
|
+
|
|
44
|
+
* chore(release): version
|
|
45
|
+
|
|
46
|
+
- @bloom-housing/backend-core@3.0.2-alpha.38
|
|
47
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.63
|
|
48
|
+
- @bloom-housing/partners@4.0.1-alpha.67
|
|
49
|
+
- @bloom-housing/public@4.0.1-alpha.66
|
|
50
|
+
- @bloom-housing/ui-components@4.0.1-alpha.62
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [4.1.3-alpha.5](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.3-alpha.4...@bloom-housing/ui-components@4.1.3-alpha.5) (2022-04-05)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* remove shared-helpers dependency from ui-components ([#2620](https://github.com/bloom-housing/bloom/issues/2620)) ([cd6ea54](https://github.com/bloom-housing/bloom/commit/cd6ea5450402a9b5d2a8681c403cbfcff6b6b1c9))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## [4.1.3-alpha.4](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.3-alpha.3...@bloom-housing/ui-components@4.1.3-alpha.4) (2022-04-05)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* open preference links in new tab/window ([#2618](https://github.com/bloom-housing/bloom/issues/2618)) ([ba07a7f](https://github.com/bloom-housing/bloom/commit/ba07a7ff2d01fadf1439671557ae44ce583426de))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
6
78
|
## [4.1.3-alpha.3](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.3-alpha.2...@bloom-housing/ui-components@4.1.3-alpha.3) (2022-04-04)
|
|
7
79
|
|
|
8
80
|
**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.
|
|
3
|
+
"version": "4.2.0",
|
|
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",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"webpack": "^4.44.2"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@bloom-housing/backend-core": "^4.
|
|
72
|
+
"@bloom-housing/backend-core": "^4.2.0",
|
|
73
73
|
"@mapbox/mapbox-sdk": "^0.13.0",
|
|
74
74
|
"@types/body-scroll-lock": "^2.6.1",
|
|
75
75
|
"@types/jwt-decode": "^2.2.1",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"tailwindcss": "2.2.10",
|
|
101
101
|
"typesafe-actions": "^5.1.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "0b40ac24d0bac2f1a9863ebc63b1330a5d3fa7c1"
|
|
104
104
|
}
|
|
@@ -54,7 +54,9 @@ const PreferencesList = (props: PreferencesListProps) => {
|
|
|
54
54
|
<div className="preferences-list__links">
|
|
55
55
|
{preference.links.map((link: ListPreferenceLink, linkIndex: number) => (
|
|
56
56
|
<span key={linkIndex}>
|
|
57
|
-
<a href={link.url}>
|
|
57
|
+
<a href={link.url} target="_blank">
|
|
58
|
+
{link.title}
|
|
59
|
+
</a>
|
|
58
60
|
</span>
|
|
59
61
|
))}
|
|
60
62
|
</div>
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ErrorMessage,
|
|
14
14
|
emailRegex,
|
|
15
15
|
} from "@bloom-housing/ui-components"
|
|
16
|
-
import { NetworkErrorReset, NetworkStatusContent } from "
|
|
16
|
+
import { NetworkErrorReset, NetworkStatusContent } from "../sign-in/FormSignIn"
|
|
17
17
|
import { NavigationContext } from "../../config/NavigationContext"
|
|
18
18
|
import type { UseFormMethods } from "react-hook-form"
|
|
19
19
|
|
|
@@ -12,10 +12,26 @@ import {
|
|
|
12
12
|
} from "@bloom-housing/ui-components"
|
|
13
13
|
import type { UseFormMethods } from "react-hook-form"
|
|
14
14
|
import { NavigationContext } from "../../config/NavigationContext"
|
|
15
|
-
import {
|
|
15
|
+
import { AlertTypes } from "../../notifications/alertTypes"
|
|
16
16
|
|
|
17
17
|
export type NetworkErrorDetermineError = (status: number, error: Error) => void
|
|
18
18
|
|
|
19
|
+
export type NetworkStatusType = AlertTypes
|
|
20
|
+
|
|
21
|
+
export type NetworkErrorReset = () => void
|
|
22
|
+
|
|
23
|
+
export type NetworkStatusContent = {
|
|
24
|
+
title: string
|
|
25
|
+
description: string
|
|
26
|
+
error?: boolean
|
|
27
|
+
} | null
|
|
28
|
+
|
|
29
|
+
export type NetworkStatus = {
|
|
30
|
+
content: NetworkStatusContent
|
|
31
|
+
type?: NetworkStatusType
|
|
32
|
+
reset: NetworkErrorReset
|
|
33
|
+
}
|
|
34
|
+
|
|
19
35
|
export type FormSignInProps = {
|
|
20
36
|
control: FormSignInControl
|
|
21
37
|
onSubmit: (data: FormSignInValues) => void
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
FormSignInErrorBox,
|
|
12
12
|
} from "@bloom-housing/ui-components"
|
|
13
13
|
import type { UseFormMethods } from "react-hook-form"
|
|
14
|
-
import { NetworkStatus } from "
|
|
14
|
+
import { NetworkStatus } from "./FormSignIn"
|
|
15
15
|
|
|
16
16
|
export type FormSignInAddPhoneProps = {
|
|
17
17
|
control: FormSignInAddPhoneControl
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { t, AlertBox, SiteAlert, AlertNotice, ErrorMessage } from "@bloom-housing/ui-components"
|
|
3
3
|
import type { UseFormMethods } from "react-hook-form"
|
|
4
|
-
import { NetworkStatus } from "
|
|
4
|
+
import { NetworkStatus } from "./FormSignIn"
|
|
5
5
|
|
|
6
6
|
export type FormSignInErrorBoxProps = {
|
|
7
7
|
errors: FormSignInErrorBoxControl["errors"]
|
|
@@ -10,8 +10,7 @@ import {
|
|
|
10
10
|
SiteAlert,
|
|
11
11
|
FormSignInErrorBox,
|
|
12
12
|
} from "@bloom-housing/ui-components"
|
|
13
|
-
import { NetworkStatus } from "
|
|
14
|
-
import { FormSignInControl } from "./FormSignIn"
|
|
13
|
+
import { NetworkStatus, FormSignInControl } from "./FormSignIn"
|
|
15
14
|
import { EnumRequestMfaCodeMfaType } from "@bloom-housing/backend-core/types"
|
|
16
15
|
|
|
17
16
|
export type FormSignInMFACodeProps = {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
FormSignInErrorBox,
|
|
12
12
|
} from "@bloom-housing/ui-components"
|
|
13
13
|
import type { UseFormMethods } from "react-hook-form"
|
|
14
|
-
import { NetworkStatus } from "
|
|
14
|
+
import { NetworkStatus } from "./FormSignIn"
|
|
15
15
|
import { EnumRequestMfaCodeMfaType } from "@bloom-housing/backend-core/types"
|
|
16
16
|
|
|
17
17
|
export type FormSignInMFAProps = {
|