@bloom-housing/ui-components 4.1.2 → 4.1.3-alpha.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 CHANGED
@@ -3,9 +3,16 @@
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.1.2](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.1.1...@bloom-housing/ui-components@4.1.2) (2022-03-29)
6
+ ## [4.1.3-alpha.0](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.2-alpha.3...@bloom-housing/ui-components@4.1.3-alpha.0) (2022-03-30)
7
+
8
+ **Note:** Version bump only for package @bloom-housing/ui-components
9
+
7
10
 
8
11
 
12
+
13
+
14
+ ## [4.1.2](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.1.1...@bloom-housing/ui-components@4.1.2) (2022-03-29)
15
+
9
16
  ### Features
10
17
 
11
18
  * add four new icons to the set ([#2562](https://github.com/seanmalbert/bloom/issues/2562)) ([8e961be](https://github.com/seanmalbert/bloom/commit/8e961be90a5ac88e36d6ce54982004456f64c617))
@@ -13,18 +20,350 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
13
20
 
14
21
 
15
22
 
23
+ ## [4.1.2-alpha.3](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.2-alpha.2...@bloom-housing/ui-components@4.1.2-alpha.3) (2022-03-29)
24
+
25
+ **Note:** Version bump only for package @bloom-housing/ui-components
26
+
27
+
28
+
29
+
30
+
31
+ ## [4.1.2-alpha.2](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.2-alpha.1...@bloom-housing/ui-components@4.1.2-alpha.2) (2022-03-29)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * removed unused partner footer links ([#2590](https://github.com/bloom-housing/bloom/issues/2590)) ([318d42e](https://github.com/bloom-housing/bloom/commit/318d42e01f5374c7cd2d3e7b35a4bb44e3659c94))
37
+
38
+
39
+
40
+
41
+
42
+ ## [4.1.2-alpha.1](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.2-alpha.0...@bloom-housing/ui-components@4.1.2-alpha.1) (2022-03-28)
43
+
44
+
45
+ ### Features
46
+
47
+ * adds partners re-request confirmation ([#2574](https://github.com/bloom-housing/bloom/issues/2574)) ([235af78](https://github.com/bloom-housing/bloom/commit/235af781914e5c36104bb3862dd55152a16e6750)), closes [#2577](https://github.com/bloom-housing/bloom/issues/2577)
48
+
49
+
50
+
51
+
52
+
53
+ ## [4.1.2-alpha.0](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.5...@bloom-housing/ui-components@4.1.2-alpha.0) (2022-03-28)
54
+
55
+
56
+ * 2022 03 28 sync master (#2593) ([580283d](https://github.com/bloom-housing/bloom/commit/580283da22246b7d39978e7dfa08016b2c0c3757)), closes [#2593](https://github.com/bloom-housing/bloom/issues/2593) [#2037](https://github.com/bloom-housing/bloom/issues/2037) [#2095](https://github.com/bloom-housing/bloom/issues/2095) [#2162](https://github.com/bloom-housing/bloom/issues/2162) [#2293](https://github.com/bloom-housing/bloom/issues/2293) [#2295](https://github.com/bloom-housing/bloom/issues/2295) [#2296](https://github.com/bloom-housing/bloom/issues/2296) [#2294](https://github.com/bloom-housing/bloom/issues/2294) [#2277](https://github.com/bloom-housing/bloom/issues/2277) [#2299](https://github.com/bloom-housing/bloom/issues/2299) [#2292](https://github.com/bloom-housing/bloom/issues/2292) [#2308](https://github.com/bloom-housing/bloom/issues/2308) [#2239](https://github.com/bloom-housing/bloom/issues/2239) [#2311](https://github.com/bloom-housing/bloom/issues/2311) [#2230](https://github.com/bloom-housing/bloom/issues/2230) [#2302](https://github.com/bloom-housing/bloom/issues/2302) [#2288](https://github.com/bloom-housing/bloom/issues/2288) [#2317](https://github.com/bloom-housing/bloom/issues/2317) [#2386](https://github.com/bloom-housing/bloom/issues/2386) [#2215](https://github.com/bloom-housing/bloom/issues/2215) [#2303](https://github.com/bloom-housing/bloom/issues/2303) [#2410](https://github.com/bloom-housing/bloom/issues/2410) [#2430](https://github.com/bloom-housing/bloom/issues/2430) [#2439](https://github.com/bloom-housing/bloom/issues/2439) [#2196](https://github.com/bloom-housing/bloom/issues/2196) [#2238](https://github.com/bloom-housing/bloom/issues/2238) [#2226](https://github.com/bloom-housing/bloom/issues/2226) [#2230](https://github.com/bloom-housing/bloom/issues/2230) [#2243](https://github.com/bloom-housing/bloom/issues/2243) [#2195](https://github.com/bloom-housing/bloom/issues/2195) [#2215](https://github.com/bloom-housing/bloom/issues/2215) [#2266](https://github.com/bloom-housing/bloom/issues/2266) [#2188](https://github.com/bloom-housing/bloom/issues/2188) [#2270](https://github.com/bloom-housing/bloom/issues/2270) [#2188](https://github.com/bloom-housing/bloom/issues/2188) [#2213](https://github.com/bloom-housing/bloom/issues/2213) [#2234](https://github.com/bloom-housing/bloom/issues/2234) [#1901](https://github.com/bloom-housing/bloom/issues/1901) [#2260](https://github.com/bloom-housing/bloom/issues/2260) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#2280](https://github.com/bloom-housing/bloom/issues/2280) [#2253](https://github.com/bloom-housing/bloom/issues/2253) [#2276](https://github.com/bloom-housing/bloom/issues/2276) [#2282](https://github.com/bloom-housing/bloom/issues/2282) [#2262](https://github.com/bloom-housing/bloom/issues/2262) [#2278](https://github.com/bloom-housing/bloom/issues/2278) [#2293](https://github.com/bloom-housing/bloom/issues/2293) [#2295](https://github.com/bloom-housing/bloom/issues/2295) [#2296](https://github.com/bloom-housing/bloom/issues/2296) [#2294](https://github.com/bloom-housing/bloom/issues/2294) [#2277](https://github.com/bloom-housing/bloom/issues/2277) [#2290](https://github.com/bloom-housing/bloom/issues/2290) [#2299](https://github.com/bloom-housing/bloom/issues/2299) [#2292](https://github.com/bloom-housing/bloom/issues/2292) [#2303](https://github.com/bloom-housing/bloom/issues/2303) [#2305](https://github.com/bloom-housing/bloom/issues/2305) [#2306](https://github.com/bloom-housing/bloom/issues/2306) [#2308](https://github.com/bloom-housing/bloom/issues/2308) [#2190](https://github.com/bloom-housing/bloom/issues/2190) [#2239](https://github.com/bloom-housing/bloom/issues/2239) [#2311](https://github.com/bloom-housing/bloom/issues/2311) [#2302](https://github.com/bloom-housing/bloom/issues/2302) [#2301](https://github.com/bloom-housing/bloom/issues/2301) [#1927](https://github.com/bloom-housing/bloom/issues/1927) [#2313](https://github.com/bloom-housing/bloom/issues/2313) [#2289](https://github.com/bloom-housing/bloom/issues/2289) [#2279](https://github.com/bloom-housing/bloom/issues/2279) [#2288](https://github.com/bloom-housing/bloom/issues/2288) [#2317](https://github.com/bloom-housing/bloom/issues/2317) [#2319](https://github.com/bloom-housing/bloom/issues/2319) [#2108](https://github.com/bloom-housing/bloom/issues/2108) [#2326](https://github.com/bloom-housing/bloom/issues/2326) [#2349](https://github.com/bloom-housing/bloom/issues/2349) [#2350](https://github.com/bloom-housing/bloom/issues/2350) [#2351](https://github.com/bloom-housing/bloom/issues/2351) [#2348](https://github.com/bloom-housing/bloom/issues/2348) [#2352](https://github.com/bloom-housing/bloom/issues/2352) [#2316](https://github.com/bloom-housing/bloom/issues/2316) [#2356](https://github.com/bloom-housing/bloom/issues/2356) [#2353](https://github.com/bloom-housing/bloom/issues/2353) [#2338](https://github.com/bloom-housing/bloom/issues/2338) [#2377](https://github.com/bloom-housing/bloom/issues/2377) [#2320](https://github.com/bloom-housing/bloom/issues/2320) [#2386](https://github.com/bloom-housing/bloom/issues/2386) [#2362](https://github.com/bloom-housing/bloom/issues/2362) [#2395](https://github.com/bloom-housing/bloom/issues/2395) [#2410](https://github.com/bloom-housing/bloom/issues/2410) [#2407](https://github.com/bloom-housing/bloom/issues/2407) [#2430](https://github.com/bloom-housing/bloom/issues/2430) [#2418](https://github.com/bloom-housing/bloom/issues/2418) [#2434](https://github.com/bloom-housing/bloom/issues/2434) [#2374](https://github.com/bloom-housing/bloom/issues/2374) [#2435](https://github.com/bloom-housing/bloom/issues/2435) [#2420](https://github.com/bloom-housing/bloom/issues/2420) [#2412](https://github.com/bloom-housing/bloom/issues/2412) [#2434](https://github.com/bloom-housing/bloom/issues/2434) [#2458](https://github.com/bloom-housing/bloom/issues/2458) [#2460](https://github.com/bloom-housing/bloom/issues/2460) [#2465](https://github.com/bloom-housing/bloom/issues/2465) [#2436](https://github.com/bloom-housing/bloom/issues/2436) [#2484](https://github.com/bloom-housing/bloom/issues/2484) [#2482](https://github.com/bloom-housing/bloom/issues/2482) [#2483](https://github.com/bloom-housing/bloom/issues/2483) [#2488](https://github.com/bloom-housing/bloom/issues/2488) [#2485](https://github.com/bloom-housing/bloom/issues/2485) [#2519](https://github.com/bloom-housing/bloom/issues/2519) [#2506](https://github.com/bloom-housing/bloom/issues/2506) [#2534](https://github.com/bloom-housing/bloom/issues/2534) [#2544](https://github.com/bloom-housing/bloom/issues/2544) [#2550](https://github.com/bloom-housing/bloom/issues/2550) [#2288](https://github.com/bloom-housing/bloom/issues/2288) [#2317](https://github.com/bloom-housing/bloom/issues/2317) [#2319](https://github.com/bloom-housing/bloom/issues/2319) [#2108](https://github.com/bloom-housing/bloom/issues/2108) [#2326](https://github.com/bloom-housing/bloom/issues/2326) [#2349](https://github.com/bloom-housing/bloom/issues/2349) [#2350](https://github.com/bloom-housing/bloom/issues/2350) [#2351](https://github.com/bloom-housing/bloom/issues/2351) [#2348](https://github.com/bloom-housing/bloom/issues/2348) [#2352](https://github.com/bloom-housing/bloom/issues/2352) [#2316](https://github.com/bloom-housing/bloom/issues/2316) [#2356](https://github.com/bloom-housing/bloom/issues/2356) [#2353](https://github.com/bloom-housing/bloom/issues/2353) [#2338](https://github.com/bloom-housing/bloom/issues/2338) [#2377](https://github.com/bloom-housing/bloom/issues/2377) [#2320](https://github.com/bloom-housing/bloom/issues/2320) [#2386](https://github.com/bloom-housing/bloom/issues/2386) [#2362](https://github.com/bloom-housing/bloom/issues/2362) [#2395](https://github.com/bloom-housing/bloom/issues/2395) [#2410](https://github.com/bloom-housing/bloom/issues/2410) [#2407](https://github.com/bloom-housing/bloom/issues/2407) [#2430](https://github.com/bloom-housing/bloom/issues/2430) [#2418](https://github.com/bloom-housing/bloom/issues/2418) [#2434](https://github.com/bloom-housing/bloom/issues/2434) [#2374](https://github.com/bloom-housing/bloom/issues/2374) [#2435](https://github.com/bloom-housing/bloom/issues/2435) [#2420](https://github.com/bloom-housing/bloom/issues/2420) [#2412](https://github.com/bloom-housing/bloom/issues/2412) [#2438](https://github.com/bloom-housing/bloom/issues/2438) [#2429](https://github.com/bloom-housing/bloom/issues/2429) [#2452](https://github.com/bloom-housing/bloom/issues/2452) [#2458](https://github.com/bloom-housing/bloom/issues/2458) [#2423](https://github.com/bloom-housing/bloom/issues/2423) [#2432](https://github.com/bloom-housing/bloom/issues/2432) [#2437](https://github.com/bloom-housing/bloom/issues/2437) [#2440](https://github.com/bloom-housing/bloom/issues/2440) [#2441](https://github.com/bloom-housing/bloom/issues/2441) [#2460](https://github.com/bloom-housing/bloom/issues/2460) [#2459](https://github.com/bloom-housing/bloom/issues/2459) [#2464](https://github.com/bloom-housing/bloom/issues/2464) [#2465](https://github.com/bloom-housing/bloom/issues/2465) [#2466](https://github.com/bloom-housing/bloom/issues/2466) [#2436](https://github.com/bloom-housing/bloom/issues/2436) [#2451](https://github.com/bloom-housing/bloom/issues/2451) [#2415](https://github.com/bloom-housing/bloom/issues/2415) [#2354](https://github.com/bloom-housing/bloom/issues/2354) [#2455](https://github.com/bloom-housing/bloom/issues/2455) [#2484](https://github.com/bloom-housing/bloom/issues/2484) [#2482](https://github.com/bloom-housing/bloom/issues/2482) [#2483](https://github.com/bloom-housing/bloom/issues/2483) [#2476](https://github.com/bloom-housing/bloom/issues/2476) [#2485](https://github.com/bloom-housing/bloom/issues/2485) [#2470](https://github.com/bloom-housing/bloom/issues/2470) [#2488](https://github.com/bloom-housing/bloom/issues/2488) [#2487](https://github.com/bloom-housing/bloom/issues/2487) [#2496](https://github.com/bloom-housing/bloom/issues/2496) [#2498](https://github.com/bloom-housing/bloom/issues/2498) [#2499](https://github.com/bloom-housing/bloom/issues/2499) [#2291](https://github.com/bloom-housing/bloom/issues/2291) [#2461](https://github.com/bloom-housing/bloom/issues/2461) [#2485](https://github.com/bloom-housing/bloom/issues/2485) [#2494](https://github.com/bloom-housing/bloom/issues/2494) [#2503](https://github.com/bloom-housing/bloom/issues/2503) [#2495](https://github.com/bloom-housing/bloom/issues/2495) [#2477](https://github.com/bloom-housing/bloom/issues/2477) [#2505](https://github.com/bloom-housing/bloom/issues/2505) [#2372](https://github.com/bloom-housing/bloom/issues/2372) [#2489](https://github.com/bloom-housing/bloom/issues/2489) [#2497](https://github.com/bloom-housing/bloom/issues/2497) [#2506](https://github.com/bloom-housing/bloom/issues/2506) [#2486](https://github.com/bloom-housing/bloom/issues/2486)
57
+
58
+
59
+ ### BREAKING CHANGES
60
+
61
+ * preferences model and relationships changed
62
+
63
+ * feat: feat(backend): extend UserUpdateDto to support email change
64
+
65
+ picked from dev 3e1fdbd0ea91d4773973d5c485a5ba61303db90a
66
+
67
+ * fix: 2056/user account edit fix
68
+
69
+ picked from dev a15618c0cb548ff5b2ae913b802c9e08bb673f30
70
+
71
+ * refactor: 2085/adds top level catchAll exception filter
72
+
73
+ picked from dev aeaa63d1af1fa3d11671e169cb3bd23d356fface
74
+
75
+ * feat: feat: Change unit number field type to text
76
+
77
+ picked from dev f54be7c7ba6aac8e00fee610dc86584b60cc212d
78
+
79
+ * feat(backend): improve application flagged set saving efficiency
80
+
81
+ * fix: fix: updates address order
82
+
83
+ picked from dev 252e014dcbd2e4c305384ed552135f5a8e4e4767
84
+
85
+ * fix: sets programs to optoinal and updates versions
86
+
87
+ * chore: chore(deps): bump electron from 13.1.7 to 13.3.0
88
+
89
+ * chore: chore(deps): bump axios from 0.21.1 to 0.21.2
90
+
91
+ * fix: adds programs service
92
+
93
+ * fix: fix lisitng e2e tests
94
+
95
+ * fix: fix member tests
96
+
97
+ * fix: adds jurisdictionId to useSWR path
98
+
99
+ * fix: recalculate units available on listing update
100
+
101
+ picked form dev f1a3dbce6478b16542ed61ab20de5dfb9b797262
102
+
103
+ * feat: feat(backend): make use of new application confirmation codes
104
+
105
+ picked from dev 3c45c2904818200eed4568931d4cc352fd2f449e
106
+
107
+ * revert: revert "chore(deps): bump axios from 0.21.1 to 0.21.2
108
+
109
+ picked from dev 2b83bc0393afc42eed542e326d5ef75502ce119c
110
+
111
+ * fix: app submission w/ no due date
112
+
113
+ picked from dev 4af1f5a8448f16d347b4a65ecb85fda4d6ed71fc
114
+
115
+ * feat: adds new preferences, reserved community type
116
+
117
+ * feat: adds bottom border to preferences
118
+
119
+ * feat: updates preference string
120
+
121
+ * fix: preference cleanup for avance
122
+
123
+ * refactor: remove applicationAddress
124
+
125
+ picked from dev bf10632a62bf2f14922948c046ea3352ed010f4f
126
+
127
+ * feat: refactor and add public site application flow cypress tests
128
+
129
+ picked from dev 9ec0e8d05f9570773110754e7fdaf49254d1eab8
130
+
131
+ * feat: better seed data for ami-charts
132
+
133
+ picked from dev d8b1d4d185731a589c563a32bd592d01537785f3
134
+
135
+ * feat: adds listing management cypress tests to partner portal
136
+
137
+ * fix: listings management keep empty strings, remove empty objects
138
+
139
+ picked from dev c4b1e833ec128f457015ac7ffa421ee6047083d9
140
+
141
+ * feat: one month rent
142
+
143
+ picked from dev 883b0d53030e1c4d54f2f75bd5e188bb1d255f64
144
+
145
+ * test: view.spec.ts test
146
+
147
+ picked from dev 324446c90138d8fac50aba445f515009b5a58bfb
148
+
149
+ * refactor: removes jsonpath
150
+
151
+ picked from dev deb39acc005607ce3076942b1f49590d08afc10c
152
+
153
+ * feat: adds jurisdictions to pref seeds
154
+
155
+ picked from dev 9e47cec3b1acfe769207ccbb33c07019cd742e33
156
+
157
+ * feat: new demographics sub-race questions
158
+
159
+ picked from dev 9ab892694c1ad2fa8890b411b3b32af68ade1fc3
160
+
161
+ * feat: updates email confirmation for lottery
162
+
163
+ picked from dev 1a5e824c96d8e23674c32ea92688b9f7255528d3
164
+
165
+ * fix: add ariaHidden to Icon component
166
+
167
+ picked from dev c7bb86aec6fd5ad386c7ca50087d0113b14503be
168
+
169
+ * fix: add ariaLabel prop to Button component
170
+
171
+ picked from dev 509ddc898ba44c05e26f8ed8c777f1ba456eeee5
172
+
173
+ * fix: change the yes/no radio text to be more descriptive
174
+
175
+ picked from dev 0c46054574535523d6f217bb0677bbe732b8945f
176
+
177
+ * fix: remove alameda reference in demographics
178
+
179
+ picked from dev 7d5991cbf6dbe0b61f2b14d265e87ce3687f743d
180
+
181
+ * chore: release version
182
+
183
+ picked from dev fe82f25dc349877d974ae62d228fea0354978fb7
184
+
185
+ * feat: ami chart jurisdictionalized
186
+
187
+ picked from dev 0a5cbc88a9d9e3c2ff716fe0f44ca6c48f5dcc50
188
+
189
+ * refactor: make backend a peer dependency in ui-components
190
+
191
+ picked from dev 952aaa14a77e0960312ff0eeee51399d1d6af9f3
192
+
193
+ * feat: add a phone number column to the user_accounts table
194
+
195
+ picked from dev 2647df9ab9888a525cc8a164d091dda6482c502a
196
+
197
+ * chore: removes application program partners
198
+
199
+ * chore: removes application program display
200
+
201
+ * Revert "chore: removes application program display"
202
+
203
+ This reverts commit 14825b4a6c9cd1a7235e32074e32af18a71b5c26.
204
+
205
+ * Revert "chore: removes application program partners"
206
+
207
+ This reverts commit d7aa38c777972a2e21d9f816441caa27f98d3f86.
208
+
209
+ * chore: yarn.lock and backend-swagger
210
+
211
+ * fix: removes Duplicate identifier fieldGroupObjectToArray
212
+
213
+ * feat: skip preferences if not on listing
214
+
215
+ * chore(release): version
216
+
217
+ * fix: cannot save custom mailing, dropoff, or pickup address
218
+
219
+ * chore(release): version
220
+
221
+ * chore: converge on one axios version, remove peer dependency
222
+
223
+ * chore(release): version
224
+
225
+ * feat: simplify Waitlist component and use more flexible schema
226
+
227
+ * chore(release): version
228
+
229
+ * fix: lottery results uploads now save
230
+
231
+ * chore(release): version
232
+
233
+ * feat: add SRO unit type
234
+
235
+ * chore(release): version
236
+
237
+ * fix: paper application submission
238
+
239
+ * chore(release): version
240
+
241
+ * fix: choose-language context
242
+
243
+ * chore(release): version
244
+
245
+ * fix: applications/view hide prefs
246
+
247
+ * chore(release): version
248
+
249
+ * feat: overrides fallback to english, tagalog support
250
+
251
+ * chore(release): version
252
+
253
+ * fix: account translations
254
+
255
+ * chore(release): version
256
+
257
+ * fix: units with invalid ami chart
258
+
259
+ * chore(release): version
260
+
261
+ * fix: remove description for the partners programs
262
+
263
+ * fix: fix modal styles on mobile
264
+
265
+ * fix: visual improvement to programs form display
266
+
267
+ * fix: submission tests not running
268
+ * sign-in pages have been updated
269
+ * moved some helpers from ui-components to shared-helpers
270
+ * remove applicationDueTime field and consolidated into applicationDueDate
271
+
272
+ * chore(release): version
273
+
274
+ - @bloom-housing/backend-core@3.0.2-alpha.13
275
+ - @bloom-housing/shared-helpers@4.0.1-alpha.21
276
+ - @bloom-housing/partners@4.0.1-alpha.23
277
+ - @bloom-housing/public@4.0.1-alpha.22
278
+ - @bloom-housing/ui-components@4.0.1-alpha.21
279
+ * moved some helpers from ui-components to shared-helpers
280
+ * remove applicationDueTime field and consolidated into applicationDueDate
281
+
282
+ * chore(release): version
283
+
284
+ - @bloom-housing/backend-core@3.0.2-alpha.13
285
+ - @bloom-housing/shared-helpers@4.0.1-alpha.21
286
+ - @bloom-housing/partners@4.0.1-alpha.23
287
+ - @bloom-housing/public@4.0.1-alpha.22
288
+ - @bloom-housing/ui-components@4.0.1-alpha.21
289
+ * consolidated all event section components in one new component, uptake will require removing the deprecated components and uptaking EventSection
290
+
291
+ * chore(release): version
292
+
293
+ - @bloom-housing/backend-core@3.0.2-alpha.38
294
+ - @bloom-housing/shared-helpers@4.0.1-alpha.63
295
+ - @bloom-housing/partners@4.0.1-alpha.67
296
+ - @bloom-housing/public@4.0.1-alpha.66
297
+ - @bloom-housing/ui-components@4.0.1-alpha.62
298
+
299
+
300
+
301
+
16
302
 
17
303
  ## [4.1.1](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.1.0...@bloom-housing/ui-components@4.1.1) (2022-03-28)
18
304
 
305
+ ### Features
306
+
307
+ * veteran preference option translation strings ([6b25906](https://github.com/bloom-housing/bloom/commit/6b25906a9cc71532c67da3c546ba06f896bb3232))
308
+
309
+
310
+
311
+
312
+
313
+ ## [4.1.1-alpha.5](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.4...@bloom-housing/ui-components@4.1.1-alpha.5) (2022-03-28)
314
+
315
+
316
+ ### Features
317
+
318
+ ## [4.1.1-alpha.4](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.3...@bloom-housing/ui-components@4.1.1-alpha.4) (2022-03-25)
319
+
320
+ **Note:** Version bump only for package @bloom-housing/ui-components
321
+
322
+
323
+
324
+
325
+
326
+ ## [4.1.1-alpha.3](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.2...@bloom-housing/ui-components@4.1.1-alpha.3) (2022-03-22)
327
+
19
328
 
20
329
  ### Features
21
330
 
22
- * veteran preference option translation strings ([af83604](https://github.com/seanmalbert/bloom/commit/af836049cd4b794ef169f395bb6227e0fbbc7e46))
331
+ * allow application status bar to have custom icon color ([#2572](https://github.com/bloom-housing/bloom/issues/2572)) ([2d7c0c5](https://github.com/bloom-housing/bloom/commit/2d7c0c508b938bc58bb0efe1f5e407e7124738f4))
23
332
 
24
333
 
25
334
 
26
335
 
27
336
 
337
+ ## [4.1.1-alpha.2](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.1...@bloom-housing/ui-components@4.1.1-alpha.2) (2022-03-16)
338
+
339
+
340
+ ### Bug Fixes
341
+
342
+ * remove space between minutes and AM/PM for ApplicationStatus ([#2566](https://github.com/bloom-housing/bloom/issues/2566)) ([5440b38](https://github.com/bloom-housing/bloom/commit/5440b38f3048d17e6e76b41f0aa81f5176368af2))
343
+
344
+
345
+
346
+
347
+
348
+ ## [4.1.1-alpha.1](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.1.1-alpha.0...@bloom-housing/ui-components@4.1.1-alpha.1) (2022-03-10)
349
+
350
+ **Note:** Version bump only for package @bloom-housing/ui-components
351
+
352
+
353
+
354
+
355
+
356
+ ## [4.1.1-alpha.0](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.79...@bloom-housing/ui-components@4.1.1-alpha.0) (2022-03-02)
357
+
358
+ **Note:** Version bump only for package @bloom-housing/ui-components
359
+
360
+
361
+
362
+
363
+
364
+ ## [4.0.1](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.79...@bloom-housing/ui-components@4.0.1) (2022-03-02)
365
+
366
+ **Note:** Version bump only for package @bloom-housing/ui-components
28
367
  # [4.1.0](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@4.0.3...@bloom-housing/ui-components@4.1.0) (2022-03-02)
29
368
 
30
369
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "4.1.2",
3
+ "version": "4.1.3-alpha.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.1.2",
72
+ "@bloom-housing/backend-core": "^4.1.3-alpha.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": "dd4d923cd106f5abd79e4152b2df001ef33d2607"
103
+ "gitHead": "d278b86d0c7b26e2e26f97d92f9a715e416ab052"
104
104
  }
@@ -1,12 +1,20 @@
1
1
  import { useState } from "react"
2
2
 
3
+ export type UseMutateOptions = {
4
+ onSuccess?: () => void
5
+ onError?: (err: any) => void
6
+ }
7
+
3
8
  const useMutate = <UseMutateResponse>() => {
4
9
  const [data, setData] = useState<UseMutateResponse | undefined>(undefined)
5
10
  const [isSuccess, setSuccess] = useState(false)
6
11
  const [isLoading, setLoading] = useState(false)
7
12
  const [isError, setError] = useState<unknown>(null)
8
13
 
9
- const mutate = async (mutateFn: (args?: unknown) => Promise<UseMutateResponse>) => {
14
+ const mutate = async (
15
+ mutateFn: (args?: unknown) => Promise<UseMutateResponse>,
16
+ options?: UseMutateOptions
17
+ ) => {
10
18
  let response: UseMutateResponse | undefined = undefined
11
19
 
12
20
  try {
@@ -14,11 +22,13 @@ const useMutate = <UseMutateResponse>() => {
14
22
  response = await mutateFn()
15
23
  setData(response)
16
24
  setSuccess(true)
25
+ options?.onSuccess?.()
17
26
  setLoading(false)
18
27
  } catch (err) {
19
28
  setSuccess(false)
20
29
  setLoading(false)
21
30
  setError(err)
31
+ options?.onError?.(err)
22
32
  }
23
33
 
24
34
  return response
@@ -926,12 +926,16 @@
926
926
  "addPassword": "Add a Password",
927
927
  "needUniquePassword": "You'll need to add a unique password in order to confirm your account.",
928
928
  "makeNote": "When creating your password make sure you make note of it so you remember it in the future.",
929
- "confirmAccount": "Confirm Acount",
929
+ "confirmAccount": "Confirm Account",
930
930
  "accountConfirmed": "Account confirmed",
931
931
  "resendInvite": "Resend Invite",
932
932
  "userUpdated": "User updated",
933
933
  "userDeleted": "User deleted",
934
- "doYouWantDeleteUser": "Do you really want to delete this user?"
934
+ "doYouWantDeleteUser": "Do you really want to delete this user?",
935
+ "requestResend": "Request Resend",
936
+ "requestResendExplanation": "Please enter your email, and we'll send a new confirmation",
937
+ "requestResendEnterEmail": "Enter a valid email address",
938
+ "requestResendDescription": "Your token expired, and will need to have a new confirmation email sent to you"
935
939
  },
936
940
  "flags": {
937
941
  "flaggedSet": "Flagged Set",
@@ -976,7 +980,8 @@
976
980
  "dontHaveAccount": "Don't have an account",
977
981
  "enterLoginPassword": "Please enter your login password",
978
982
  "enterLoginEmail": "Please enter your login email",
979
- "changeYourPassword": "You can change your password"
983
+ "changeYourPassword": "You can change your password",
984
+ "yourAccountIsNotConfirmed": "Your account is not confirmed"
980
985
  },
981
986
  "createAccount": {
982
987
  "accountConfirmed": "Your account was successfully confirmed.",
@@ -30,8 +30,7 @@
30
30
 
31
31
  .footer-copyright {
32
32
  @screen lg {
33
- @apply w-6/12;
34
- @apply text-left;
33
+ @apply w-full;
35
34
  }
36
35
  }
37
36
 
@@ -2,7 +2,7 @@ import * as React from "react"
2
2
  import "./FooterNav.scss"
3
3
 
4
4
  export interface FooterNavProps {
5
- children: React.ReactNode
5
+ children?: React.ReactNode
6
6
  copyright: string
7
7
  }
8
8
 
@@ -10,8 +10,7 @@ const FooterNav = (props: FooterNavProps) => (
10
10
  <section className="footer-sock">
11
11
  <div className="footer-sock__inner">
12
12
  <p className="footer-copyright">{props.copyright}</p>
13
-
14
- <nav className="footer-nav">{props.children}</nav>
13
+ {props.children && <nav className="footer-nav">{props.children}</nav>}
15
14
  </div>
16
15
  </section>
17
16
  )
@@ -5,30 +5,37 @@ import "./ApplicationStatus.scss"
5
5
 
6
6
  export interface ApplicationStatusProps {
7
7
  content: string
8
- subContent?: string
8
+ iconColor?: string
9
+ iconType?: IconTypes
9
10
  status?: ApplicationStatusType
11
+ subContent?: string
10
12
  vivid?: boolean
11
13
  withIcon?: boolean
12
- iconType?: IconTypes
13
14
  }
14
15
 
15
16
  const ApplicationStatus = (props: ApplicationStatusProps) => {
16
17
  let bgColor = ""
18
+ const {
19
+ content,
20
+ iconColor,
21
+ iconType = "clock",
22
+ status = ApplicationStatusType.Open,
23
+ subContent,
24
+ vivid,
25
+ withIcon = true,
26
+ } = props
27
+
17
28
  // determine styling
18
- const vivid = props.vivid || false
19
29
  let textColor = vivid ? "text-white" : "text-gray-800"
20
30
  const textSize = vivid ? "text-xs" : "text-sm"
21
31
 
22
- const status = props.status || ApplicationStatusType.Open
23
- const content = props.content
24
- const withIcon = props.withIcon ?? true
25
- const iconType = props.iconType ?? "clock"
26
-
27
- let icon
28
-
29
- if (withIcon) {
30
- icon = <Icon size="medium" symbol={iconType} fill={vivid ? IconFillColors.white : undefined} />
31
- }
32
+ const icon = withIcon && (
33
+ <Icon
34
+ size="medium"
35
+ symbol={iconType}
36
+ fill={iconColor || (vivid ? IconFillColors.white : undefined)}
37
+ />
38
+ )
32
39
 
33
40
  switch (status) {
34
41
  case ApplicationStatusType.Open:
@@ -54,10 +61,10 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
54
61
  {icon}
55
62
  <span>
56
63
  {content}
57
- {props.subContent && (
64
+ {subContent && (
58
65
  <>
59
66
  <br />
60
- {props.subContent}
67
+ {subContent}
61
68
  </>
62
69
  )}
63
70
  </span>
@@ -13,6 +13,7 @@ import {
13
13
  ErrorMessage,
14
14
  emailRegex,
15
15
  } from "@bloom-housing/ui-components"
16
+ import { NetworkErrorReset, NetworkStatusContent } from "@bloom-housing/shared-helpers"
16
17
  import { NavigationContext } from "../../config/NavigationContext"
17
18
  import type { UseFormMethods } from "react-hook-form"
18
19
 
@@ -22,15 +23,8 @@ export type FormForgotPasswordProps = {
22
23
  networkError: FormForgotPasswordNetworkError
23
24
  }
24
25
 
25
- export type NetworkErrorReset = () => void
26
-
27
- export type NetworkErrorValue = {
28
- title: string
29
- content: string
30
- } | null
31
-
32
26
  export type FormForgotPasswordNetworkError = {
33
- error: NetworkErrorValue
27
+ error: NetworkStatusContent
34
28
  reset: NetworkErrorReset
35
29
  }
36
30
 
@@ -75,7 +69,7 @@ const FormForgotPassword = ({
75
69
  </AlertBox>
76
70
 
77
71
  <AlertNotice title="" type="alert" inverted>
78
- {networkError.error.content}
72
+ {networkError.error.description}
79
73
  </AlertNotice>
80
74
  </ErrorMessage>
81
75
  )}
@@ -12,22 +12,17 @@ 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 type { NetworkErrorReset, NetworkErrorValue } from "../forgot-password/FormForgotPassword"
15
+ import { NetworkStatus } from "@bloom-housing/shared-helpers"
16
16
 
17
17
  export type NetworkErrorDetermineError = (status: number, error: Error) => void
18
18
 
19
19
  export type FormSignInProps = {
20
20
  control: FormSignInControl
21
21
  onSubmit: (data: FormSignInValues) => void
22
- networkError: FormSignInNetworkError
22
+ networkStatus: NetworkStatus
23
23
  showRegisterBtn?: boolean
24
24
  }
25
25
 
26
- export type FormSignInNetworkError = {
27
- error: NetworkErrorValue
28
- reset: NetworkErrorReset
29
- }
30
-
31
26
  export type FormSignInControl = {
32
27
  errors: UseFormMethods["errors"]
33
28
  handleSubmit: UseFormMethods["handleSubmit"]
@@ -41,7 +36,7 @@ export type FormSignInValues = {
41
36
 
42
37
  const FormSignIn = ({
43
38
  onSubmit,
44
- networkError,
39
+ networkStatus,
45
40
  showRegisterBtn,
46
41
  control: { errors, register, handleSubmit },
47
42
  }: FormSignInProps) => {
@@ -58,7 +53,7 @@ const FormSignIn = ({
58
53
  </div>
59
54
  <FormSignInErrorBox
60
55
  errors={errors}
61
- networkError={networkError}
56
+ networkStatus={networkStatus}
62
57
  errorMessageId={"main-sign-in"}
63
58
  />
64
59
  <div className="form-card__group pt-0">
@@ -11,12 +11,12 @@ import {
11
11
  FormSignInErrorBox,
12
12
  } from "@bloom-housing/ui-components"
13
13
  import type { UseFormMethods } from "react-hook-form"
14
- import { FormSignInNetworkError } from "./FormSignIn"
14
+ import { NetworkStatus } from "@bloom-housing/shared-helpers"
15
15
 
16
16
  export type FormSignInAddPhoneProps = {
17
17
  control: FormSignInAddPhoneControl
18
18
  onSubmit: (data: FormSignInAddPhoneValues) => void
19
- networkError: FormSignInNetworkError
19
+ networkError: NetworkStatus
20
20
  phoneNumber: string
21
21
  }
22
22
 
@@ -49,7 +49,7 @@ const FormSignInAddPhone = ({
49
49
  </div>
50
50
  <FormSignInErrorBox
51
51
  errors={errors}
52
- networkError={networkError}
52
+ networkStatus={networkError}
53
53
  errorMessageId={"add-phone"}
54
54
  />
55
55
 
@@ -1,11 +1,11 @@
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 { FormSignInNetworkError } from "./FormSignIn"
4
+ import { NetworkStatus } from "@bloom-housing/shared-helpers"
5
5
 
6
6
  export type FormSignInErrorBoxProps = {
7
7
  errors: FormSignInErrorBoxControl["errors"]
8
- networkError: FormSignInNetworkError
8
+ networkStatus: NetworkStatus
9
9
  errorMessageId: string
10
10
  }
11
11
 
@@ -14,27 +14,39 @@ export type FormSignInErrorBoxControl = {
14
14
  control: UseFormMethods["control"]
15
15
  }
16
16
 
17
- const FormSignInErrorBox = ({ networkError, errors, errorMessageId }: FormSignInErrorBoxProps) => {
17
+ const FormSignInErrorBox = ({ networkStatus, errors, errorMessageId }: FormSignInErrorBoxProps) => {
18
18
  return (
19
19
  <div className="border-b">
20
- {Object.entries(errors).length > 0 && !networkError.error && (
20
+ {Object.entries(errors).length > 0 && !networkStatus.content && (
21
21
  <AlertBox type="alert" inverted closeable>
22
22
  {errors.authentication ? errors.authentication.message : t("errors.errorsToResolve")}
23
23
  </AlertBox>
24
24
  )}
25
25
 
26
- {!!networkError.error && Object.entries(errors).length === 0 && (
27
- <ErrorMessage id={`form-sign-in-${errorMessageId}-error`} error={!!networkError.error}>
28
- <AlertBox type="alert" inverted onClose={() => networkError.reset()}>
29
- {networkError.error.title}
26
+ {networkStatus.content?.error && Object.entries(errors).length === 0 && (
27
+ <ErrorMessage id={`form-sign-in-${errorMessageId}-error`} error={!!networkStatus.content}>
28
+ <AlertBox type={"alert"} inverted onClose={() => networkStatus.reset()}>
29
+ {networkStatus.content.title}
30
30
  </AlertBox>
31
31
 
32
32
  <AlertNotice title="" type="alert" inverted>
33
- {networkError.error.content}
33
+ {networkStatus.content.description}
34
34
  </AlertNotice>
35
35
  </ErrorMessage>
36
36
  )}
37
37
 
38
+ {networkStatus.type === "success" && (
39
+ <>
40
+ <AlertBox type="success" inverted onClose={() => networkStatus.reset()}>
41
+ {networkStatus.content?.title}
42
+ </AlertBox>
43
+
44
+ <AlertNotice title="" type="success" inverted>
45
+ {networkStatus.content?.description}
46
+ </AlertNotice>
47
+ </>
48
+ )}
49
+
38
50
  <SiteAlert type="notice" dismissable />
39
51
  </div>
40
52
  )
@@ -10,13 +10,14 @@ import {
10
10
  SiteAlert,
11
11
  FormSignInErrorBox,
12
12
  } from "@bloom-housing/ui-components"
13
- import { FormSignInNetworkError, FormSignInControl } from "./FormSignIn"
13
+ import { NetworkStatus } from "@bloom-housing/shared-helpers"
14
+ import { FormSignInControl } from "./FormSignIn"
14
15
  import { EnumRequestMfaCodeMfaType } from "@bloom-housing/backend-core/types"
15
16
 
16
17
  export type FormSignInMFACodeProps = {
17
18
  control: FormSignInControl
18
19
  onSubmit: (data: FormSignInMFACodeValues) => void
19
- networkError: FormSignInNetworkError
20
+ networkError: NetworkStatus
20
21
  mfaType: EnumRequestMfaCodeMfaType
21
22
  allowPhoneNumberEdit: boolean
22
23
  phoneNumber: string
@@ -68,7 +69,11 @@ const FormSignInMFACode = ({
68
69
  : t("nav.signInMFA.haveSentCodeToEmail")}
69
70
  </p>
70
71
  </div>
71
- <FormSignInErrorBox errors={errors} networkError={networkError} errorMessageId={"mfa-code"} />
72
+ <FormSignInErrorBox
73
+ errors={errors}
74
+ networkStatus={networkError}
75
+ errorMessageId={"mfa-code"}
76
+ />
72
77
 
73
78
  <SiteAlert type="notice" dismissable />
74
79
  <div className="form-card__group pt-0">
@@ -11,13 +11,13 @@ import {
11
11
  FormSignInErrorBox,
12
12
  } from "@bloom-housing/ui-components"
13
13
  import type { UseFormMethods } from "react-hook-form"
14
- import { FormSignInNetworkError } from "./FormSignIn"
14
+ import { NetworkStatus } from "@bloom-housing/shared-helpers"
15
15
  import { EnumRequestMfaCodeMfaType } from "@bloom-housing/backend-core/types"
16
16
 
17
17
  export type FormSignInMFAProps = {
18
18
  control: FormSignInMFAControl
19
19
  onSubmit: (data: FormSignInMFAValues) => void
20
- networkError: FormSignInNetworkError
20
+ networkError: NetworkStatus
21
21
  }
22
22
 
23
23
  export type FormSignInMFAControl = {
@@ -51,7 +51,11 @@ const FormSignInMFAType = ({
51
51
  {t("nav.signInMFA.verificationChoiceSecondaryTitle")}
52
52
  </p>
53
53
  </div>
54
- <FormSignInErrorBox errors={errors} networkError={networkError} errorMessageId={"mfa-type"} />
54
+ <FormSignInErrorBox
55
+ errors={errors}
56
+ networkStatus={networkError}
57
+ errorMessageId={"mfa-type"}
58
+ />
55
59
 
56
60
  <SiteAlert type="notice" dismissable />
57
61
  <div className="form-card__group pt-0">