@bloom-housing/ui-components 4.1.2-alpha.3 → 4.1.2

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,281 +3,12 @@
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-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)
7
-
8
- **Note:** Version bump only for package @bloom-housing/ui-components
9
-
10
-
11
-
12
-
13
-
14
- ## [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)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * removed unused partner footer links ([#2590](https://github.com/bloom-housing/bloom/issues/2590)) ([318d42e](https://github.com/bloom-housing/bloom/commit/318d42e01f5374c7cd2d3e7b35a4bb44e3659c94))
20
-
21
-
22
-
23
-
24
-
25
- ## [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)
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)
26
7
 
27
8
 
28
9
  ### Features
29
10
 
30
- * 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)
31
-
32
-
33
-
34
-
35
-
36
- ## [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)
37
-
38
-
39
- * 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)
40
-
41
-
42
- ### BREAKING CHANGES
43
-
44
- * preferences model and relationships changed
45
-
46
- * feat: feat(backend): extend UserUpdateDto to support email change
47
-
48
- picked from dev 3e1fdbd0ea91d4773973d5c485a5ba61303db90a
49
-
50
- * fix: 2056/user account edit fix
51
-
52
- picked from dev a15618c0cb548ff5b2ae913b802c9e08bb673f30
53
-
54
- * refactor: 2085/adds top level catchAll exception filter
55
-
56
- picked from dev aeaa63d1af1fa3d11671e169cb3bd23d356fface
57
-
58
- * feat: feat: Change unit number field type to text
59
-
60
- picked from dev f54be7c7ba6aac8e00fee610dc86584b60cc212d
61
-
62
- * feat(backend): improve application flagged set saving efficiency
63
-
64
- * fix: fix: updates address order
65
-
66
- picked from dev 252e014dcbd2e4c305384ed552135f5a8e4e4767
67
-
68
- * fix: sets programs to optoinal and updates versions
69
-
70
- * chore: chore(deps): bump electron from 13.1.7 to 13.3.0
71
-
72
- * chore: chore(deps): bump axios from 0.21.1 to 0.21.2
73
-
74
- * fix: adds programs service
75
-
76
- * fix: fix lisitng e2e tests
77
-
78
- * fix: fix member tests
79
-
80
- * fix: adds jurisdictionId to useSWR path
81
-
82
- * fix: recalculate units available on listing update
83
-
84
- picked form dev f1a3dbce6478b16542ed61ab20de5dfb9b797262
85
-
86
- * feat: feat(backend): make use of new application confirmation codes
87
-
88
- picked from dev 3c45c2904818200eed4568931d4cc352fd2f449e
89
-
90
- * revert: revert "chore(deps): bump axios from 0.21.1 to 0.21.2
91
-
92
- picked from dev 2b83bc0393afc42eed542e326d5ef75502ce119c
93
-
94
- * fix: app submission w/ no due date
95
-
96
- picked from dev 4af1f5a8448f16d347b4a65ecb85fda4d6ed71fc
97
-
98
- * feat: adds new preferences, reserved community type
99
-
100
- * feat: adds bottom border to preferences
101
-
102
- * feat: updates preference string
103
-
104
- * fix: preference cleanup for avance
105
-
106
- * refactor: remove applicationAddress
107
-
108
- picked from dev bf10632a62bf2f14922948c046ea3352ed010f4f
109
-
110
- * feat: refactor and add public site application flow cypress tests
111
-
112
- picked from dev 9ec0e8d05f9570773110754e7fdaf49254d1eab8
113
-
114
- * feat: better seed data for ami-charts
115
-
116
- picked from dev d8b1d4d185731a589c563a32bd592d01537785f3
117
-
118
- * feat: adds listing management cypress tests to partner portal
119
-
120
- * fix: listings management keep empty strings, remove empty objects
121
-
122
- picked from dev c4b1e833ec128f457015ac7ffa421ee6047083d9
123
-
124
- * feat: one month rent
125
-
126
- picked from dev 883b0d53030e1c4d54f2f75bd5e188bb1d255f64
127
-
128
- * test: view.spec.ts test
129
-
130
- picked from dev 324446c90138d8fac50aba445f515009b5a58bfb
131
-
132
- * refactor: removes jsonpath
133
-
134
- picked from dev deb39acc005607ce3076942b1f49590d08afc10c
135
-
136
- * feat: adds jurisdictions to pref seeds
137
-
138
- picked from dev 9e47cec3b1acfe769207ccbb33c07019cd742e33
139
-
140
- * feat: new demographics sub-race questions
141
-
142
- picked from dev 9ab892694c1ad2fa8890b411b3b32af68ade1fc3
143
-
144
- * feat: updates email confirmation for lottery
145
-
146
- picked from dev 1a5e824c96d8e23674c32ea92688b9f7255528d3
147
-
148
- * fix: add ariaHidden to Icon component
149
-
150
- picked from dev c7bb86aec6fd5ad386c7ca50087d0113b14503be
151
-
152
- * fix: add ariaLabel prop to Button component
153
-
154
- picked from dev 509ddc898ba44c05e26f8ed8c777f1ba456eeee5
155
-
156
- * fix: change the yes/no radio text to be more descriptive
157
-
158
- picked from dev 0c46054574535523d6f217bb0677bbe732b8945f
159
-
160
- * fix: remove alameda reference in demographics
161
-
162
- picked from dev 7d5991cbf6dbe0b61f2b14d265e87ce3687f743d
163
-
164
- * chore: release version
165
-
166
- picked from dev fe82f25dc349877d974ae62d228fea0354978fb7
167
-
168
- * feat: ami chart jurisdictionalized
169
-
170
- picked from dev 0a5cbc88a9d9e3c2ff716fe0f44ca6c48f5dcc50
171
-
172
- * refactor: make backend a peer dependency in ui-components
173
-
174
- picked from dev 952aaa14a77e0960312ff0eeee51399d1d6af9f3
175
-
176
- * feat: add a phone number column to the user_accounts table
177
-
178
- picked from dev 2647df9ab9888a525cc8a164d091dda6482c502a
179
-
180
- * chore: removes application program partners
181
-
182
- * chore: removes application program display
183
-
184
- * Revert "chore: removes application program display"
185
-
186
- This reverts commit 14825b4a6c9cd1a7235e32074e32af18a71b5c26.
187
-
188
- * Revert "chore: removes application program partners"
189
-
190
- This reverts commit d7aa38c777972a2e21d9f816441caa27f98d3f86.
191
-
192
- * chore: yarn.lock and backend-swagger
193
-
194
- * fix: removes Duplicate identifier fieldGroupObjectToArray
195
-
196
- * feat: skip preferences if not on listing
197
-
198
- * chore(release): version
199
-
200
- * fix: cannot save custom mailing, dropoff, or pickup address
201
-
202
- * chore(release): version
203
-
204
- * chore: converge on one axios version, remove peer dependency
205
-
206
- * chore(release): version
207
-
208
- * feat: simplify Waitlist component and use more flexible schema
209
-
210
- * chore(release): version
211
-
212
- * fix: lottery results uploads now save
213
-
214
- * chore(release): version
215
-
216
- * feat: add SRO unit type
217
-
218
- * chore(release): version
219
-
220
- * fix: paper application submission
221
-
222
- * chore(release): version
223
-
224
- * fix: choose-language context
225
-
226
- * chore(release): version
227
-
228
- * fix: applications/view hide prefs
229
-
230
- * chore(release): version
231
-
232
- * feat: overrides fallback to english, tagalog support
233
-
234
- * chore(release): version
235
-
236
- * fix: account translations
237
-
238
- * chore(release): version
239
-
240
- * fix: units with invalid ami chart
241
-
242
- * chore(release): version
243
-
244
- * fix: remove description for the partners programs
245
-
246
- * fix: fix modal styles on mobile
247
-
248
- * fix: visual improvement to programs form display
249
-
250
- * fix: submission tests not running
251
- * sign-in pages have been updated
252
- * moved some helpers from ui-components to shared-helpers
253
- * remove applicationDueTime field and consolidated into applicationDueDate
254
-
255
- * chore(release): version
256
-
257
- - @bloom-housing/backend-core@3.0.2-alpha.13
258
- - @bloom-housing/shared-helpers@4.0.1-alpha.21
259
- - @bloom-housing/partners@4.0.1-alpha.23
260
- - @bloom-housing/public@4.0.1-alpha.22
261
- - @bloom-housing/ui-components@4.0.1-alpha.21
262
- * moved some helpers from ui-components to shared-helpers
263
- * remove applicationDueTime field and consolidated into applicationDueDate
264
-
265
- * chore(release): version
266
-
267
- - @bloom-housing/backend-core@3.0.2-alpha.13
268
- - @bloom-housing/shared-helpers@4.0.1-alpha.21
269
- - @bloom-housing/partners@4.0.1-alpha.23
270
- - @bloom-housing/public@4.0.1-alpha.22
271
- - @bloom-housing/ui-components@4.0.1-alpha.21
272
- * consolidated all event section components in one new component, uptake will require removing the deprecated components and uptaking EventSection
273
-
274
- * chore(release): version
275
-
276
- - @bloom-housing/backend-core@3.0.2-alpha.38
277
- - @bloom-housing/shared-helpers@4.0.1-alpha.63
278
- - @bloom-housing/partners@4.0.1-alpha.67
279
- - @bloom-housing/public@4.0.1-alpha.66
280
- - @bloom-housing/ui-components@4.0.1-alpha.62
11
+ * add four new icons to the set ([#2562](https://github.com/seanmalbert/bloom/issues/2562)) ([8e961be](https://github.com/seanmalbert/bloom/commit/8e961be90a5ac88e36d6ce54982004456f64c617))
281
12
 
282
13
 
283
14
 
@@ -285,68 +16,15 @@ This reverts commit d7aa38c777972a2e21d9f816441caa27f98d3f86.
285
16
 
286
17
  ## [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)
287
18
 
288
- ### Features
289
-
290
- * veteran preference option translation strings ([6b25906](https://github.com/bloom-housing/bloom/commit/6b25906a9cc71532c67da3c546ba06f896bb3232))
291
-
292
-
293
-
294
-
295
-
296
- ## [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)
297
-
298
-
299
- ### Features
300
-
301
- ## [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)
302
-
303
- **Note:** Version bump only for package @bloom-housing/ui-components
304
-
305
-
306
-
307
-
308
-
309
- ## [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)
310
-
311
19
 
312
20
  ### Features
313
21
 
314
- * 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))
315
-
316
-
317
-
318
-
319
-
320
- ## [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)
321
-
322
-
323
- ### Bug Fixes
324
-
325
- * 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))
22
+ * veteran preference option translation strings ([af83604](https://github.com/seanmalbert/bloom/commit/af836049cd4b794ef169f395bb6227e0fbbc7e46))
326
23
 
327
24
 
328
25
 
329
26
 
330
27
 
331
- ## [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)
332
-
333
- **Note:** Version bump only for package @bloom-housing/ui-components
334
-
335
-
336
-
337
-
338
-
339
- ## [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)
340
-
341
- **Note:** Version bump only for package @bloom-housing/ui-components
342
-
343
-
344
-
345
-
346
-
347
- ## [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)
348
-
349
- **Note:** Version bump only for package @bloom-housing/ui-components
350
28
  # [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)
351
29
 
352
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "4.1.2-alpha.3",
3
+ "version": "4.1.2",
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.1-alpha.3",
72
+ "@bloom-housing/backend-core": "^4.1.2",
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": "1544f7dedf6b0cb06b9ea78f34282e8537c07f8c"
103
+ "gitHead": "dd4d923cd106f5abd79e4152b2df001ef33d2607"
104
104
  }
@@ -1,20 +1,12 @@
1
1
  import { useState } from "react"
2
2
 
3
- export type UseMutateOptions = {
4
- onSuccess?: () => void
5
- onError?: (err: any) => void
6
- }
7
-
8
3
  const useMutate = <UseMutateResponse>() => {
9
4
  const [data, setData] = useState<UseMutateResponse | undefined>(undefined)
10
5
  const [isSuccess, setSuccess] = useState(false)
11
6
  const [isLoading, setLoading] = useState(false)
12
7
  const [isError, setError] = useState<unknown>(null)
13
8
 
14
- const mutate = async (
15
- mutateFn: (args?: unknown) => Promise<UseMutateResponse>,
16
- options?: UseMutateOptions
17
- ) => {
9
+ const mutate = async (mutateFn: (args?: unknown) => Promise<UseMutateResponse>) => {
18
10
  let response: UseMutateResponse | undefined = undefined
19
11
 
20
12
  try {
@@ -22,13 +14,11 @@ const useMutate = <UseMutateResponse>() => {
22
14
  response = await mutateFn()
23
15
  setData(response)
24
16
  setSuccess(true)
25
- options?.onSuccess?.()
26
17
  setLoading(false)
27
18
  } catch (err) {
28
19
  setSuccess(false)
29
20
  setLoading(false)
30
21
  setError(err)
31
- options?.onError?.(err)
32
22
  }
33
23
 
34
24
  return response
@@ -926,16 +926,12 @@
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 Account",
929
+ "confirmAccount": "Confirm Acount",
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?",
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"
934
+ "doYouWantDeleteUser": "Do you really want to delete this user?"
939
935
  },
940
936
  "flags": {
941
937
  "flaggedSet": "Flagged Set",
@@ -980,8 +976,7 @@
980
976
  "dontHaveAccount": "Don't have an account",
981
977
  "enterLoginPassword": "Please enter your login password",
982
978
  "enterLoginEmail": "Please enter your login email",
983
- "changeYourPassword": "You can change your password",
984
- "yourAccountIsNotConfirmed": "Your account is not confirmed"
979
+ "changeYourPassword": "You can change your password"
985
980
  },
986
981
  "createAccount": {
987
982
  "accountConfirmed": "Your account was successfully confirmed.",
@@ -30,7 +30,8 @@
30
30
 
31
31
  .footer-copyright {
32
32
  @screen lg {
33
- @apply w-full;
33
+ @apply w-6/12;
34
+ @apply text-left;
34
35
  }
35
36
  }
36
37
 
@@ -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,7 +10,8 @@ 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
- {props.children && <nav className="footer-nav">{props.children}</nav>}
13
+
14
+ <nav className="footer-nav">{props.children}</nav>
14
15
  </div>
15
16
  </section>
16
17
  )
@@ -5,37 +5,30 @@ import "./ApplicationStatus.scss"
5
5
 
6
6
  export interface ApplicationStatusProps {
7
7
  content: string
8
- iconColor?: string
9
- iconType?: IconTypes
10
- status?: ApplicationStatusType
11
8
  subContent?: string
9
+ status?: ApplicationStatusType
12
10
  vivid?: boolean
13
11
  withIcon?: boolean
12
+ iconType?: IconTypes
14
13
  }
15
14
 
16
15
  const ApplicationStatus = (props: ApplicationStatusProps) => {
17
16
  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
-
28
17
  // determine styling
18
+ const vivid = props.vivid || false
29
19
  let textColor = vivid ? "text-white" : "text-gray-800"
30
20
  const textSize = vivid ? "text-xs" : "text-sm"
31
21
 
32
- const icon = withIcon && (
33
- <Icon
34
- size="medium"
35
- symbol={iconType}
36
- fill={iconColor || (vivid ? IconFillColors.white : undefined)}
37
- />
38
- )
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
+ }
39
32
 
40
33
  switch (status) {
41
34
  case ApplicationStatusType.Open:
@@ -61,10 +54,10 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
61
54
  {icon}
62
55
  <span>
63
56
  {content}
64
- {subContent && (
57
+ {props.subContent && (
65
58
  <>
66
59
  <br />
67
- {subContent}
60
+ {props.subContent}
68
61
  </>
69
62
  )}
70
63
  </span>
@@ -13,7 +13,6 @@ import {
13
13
  ErrorMessage,
14
14
  emailRegex,
15
15
  } from "@bloom-housing/ui-components"
16
- import { NetworkErrorReset, NetworkStatusContent } from "@bloom-housing/shared-helpers"
17
16
  import { NavigationContext } from "../../config/NavigationContext"
18
17
  import type { UseFormMethods } from "react-hook-form"
19
18
 
@@ -23,8 +22,15 @@ export type FormForgotPasswordProps = {
23
22
  networkError: FormForgotPasswordNetworkError
24
23
  }
25
24
 
25
+ export type NetworkErrorReset = () => void
26
+
27
+ export type NetworkErrorValue = {
28
+ title: string
29
+ content: string
30
+ } | null
31
+
26
32
  export type FormForgotPasswordNetworkError = {
27
- error: NetworkStatusContent
33
+ error: NetworkErrorValue
28
34
  reset: NetworkErrorReset
29
35
  }
30
36
 
@@ -69,7 +75,7 @@ const FormForgotPassword = ({
69
75
  </AlertBox>
70
76
 
71
77
  <AlertNotice title="" type="alert" inverted>
72
- {networkError.error.description}
78
+ {networkError.error.content}
73
79
  </AlertNotice>
74
80
  </ErrorMessage>
75
81
  )}
@@ -12,17 +12,22 @@ 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 { NetworkStatus } from "@bloom-housing/shared-helpers"
15
+ import type { NetworkErrorReset, NetworkErrorValue } from "../forgot-password/FormForgotPassword"
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
- networkStatus: NetworkStatus
22
+ networkError: FormSignInNetworkError
23
23
  showRegisterBtn?: boolean
24
24
  }
25
25
 
26
+ export type FormSignInNetworkError = {
27
+ error: NetworkErrorValue
28
+ reset: NetworkErrorReset
29
+ }
30
+
26
31
  export type FormSignInControl = {
27
32
  errors: UseFormMethods["errors"]
28
33
  handleSubmit: UseFormMethods["handleSubmit"]
@@ -36,7 +41,7 @@ export type FormSignInValues = {
36
41
 
37
42
  const FormSignIn = ({
38
43
  onSubmit,
39
- networkStatus,
44
+ networkError,
40
45
  showRegisterBtn,
41
46
  control: { errors, register, handleSubmit },
42
47
  }: FormSignInProps) => {
@@ -53,7 +58,7 @@ const FormSignIn = ({
53
58
  </div>
54
59
  <FormSignInErrorBox
55
60
  errors={errors}
56
- networkStatus={networkStatus}
61
+ networkError={networkError}
57
62
  errorMessageId={"main-sign-in"}
58
63
  />
59
64
  <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 { NetworkStatus } from "@bloom-housing/shared-helpers"
14
+ import { FormSignInNetworkError } from "./FormSignIn"
15
15
 
16
16
  export type FormSignInAddPhoneProps = {
17
17
  control: FormSignInAddPhoneControl
18
18
  onSubmit: (data: FormSignInAddPhoneValues) => void
19
- networkError: NetworkStatus
19
+ networkError: FormSignInNetworkError
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
- networkStatus={networkError}
52
+ networkError={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 { NetworkStatus } from "@bloom-housing/shared-helpers"
4
+ import { FormSignInNetworkError } from "./FormSignIn"
5
5
 
6
6
  export type FormSignInErrorBoxProps = {
7
7
  errors: FormSignInErrorBoxControl["errors"]
8
- networkStatus: NetworkStatus
8
+ networkError: FormSignInNetworkError
9
9
  errorMessageId: string
10
10
  }
11
11
 
@@ -14,39 +14,27 @@ export type FormSignInErrorBoxControl = {
14
14
  control: UseFormMethods["control"]
15
15
  }
16
16
 
17
- const FormSignInErrorBox = ({ networkStatus, errors, errorMessageId }: FormSignInErrorBoxProps) => {
17
+ const FormSignInErrorBox = ({ networkError, errors, errorMessageId }: FormSignInErrorBoxProps) => {
18
18
  return (
19
19
  <div className="border-b">
20
- {Object.entries(errors).length > 0 && !networkStatus.content && (
20
+ {Object.entries(errors).length > 0 && !networkError.error && (
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
- {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}
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}
30
30
  </AlertBox>
31
31
 
32
32
  <AlertNotice title="" type="alert" inverted>
33
- {networkStatus.content.description}
33
+ {networkError.error.content}
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
-
50
38
  <SiteAlert type="notice" dismissable />
51
39
  </div>
52
40
  )
@@ -10,14 +10,13 @@ import {
10
10
  SiteAlert,
11
11
  FormSignInErrorBox,
12
12
  } from "@bloom-housing/ui-components"
13
- import { NetworkStatus } from "@bloom-housing/shared-helpers"
14
- import { FormSignInControl } from "./FormSignIn"
13
+ import { FormSignInNetworkError, FormSignInControl } from "./FormSignIn"
15
14
  import { EnumRequestMfaCodeMfaType } from "@bloom-housing/backend-core/types"
16
15
 
17
16
  export type FormSignInMFACodeProps = {
18
17
  control: FormSignInControl
19
18
  onSubmit: (data: FormSignInMFACodeValues) => void
20
- networkError: NetworkStatus
19
+ networkError: FormSignInNetworkError
21
20
  mfaType: EnumRequestMfaCodeMfaType
22
21
  allowPhoneNumberEdit: boolean
23
22
  phoneNumber: string
@@ -69,11 +68,7 @@ const FormSignInMFACode = ({
69
68
  : t("nav.signInMFA.haveSentCodeToEmail")}
70
69
  </p>
71
70
  </div>
72
- <FormSignInErrorBox
73
- errors={errors}
74
- networkStatus={networkError}
75
- errorMessageId={"mfa-code"}
76
- />
71
+ <FormSignInErrorBox errors={errors} networkError={networkError} errorMessageId={"mfa-code"} />
77
72
 
78
73
  <SiteAlert type="notice" dismissable />
79
74
  <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 { NetworkStatus } from "@bloom-housing/shared-helpers"
14
+ import { FormSignInNetworkError } from "./FormSignIn"
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: NetworkStatus
20
+ networkError: FormSignInNetworkError
21
21
  }
22
22
 
23
23
  export type FormSignInMFAControl = {
@@ -51,11 +51,7 @@ const FormSignInMFAType = ({
51
51
  {t("nav.signInMFA.verificationChoiceSecondaryTitle")}
52
52
  </p>
53
53
  </div>
54
- <FormSignInErrorBox
55
- errors={errors}
56
- networkStatus={networkError}
57
- errorMessageId={"mfa-type"}
58
- />
54
+ <FormSignInErrorBox errors={errors} networkError={networkError} errorMessageId={"mfa-type"} />
59
55
 
60
56
  <SiteAlert type="notice" dismissable />
61
57
  <div className="form-card__group pt-0">