@bloom-housing/ui-components 4.0.1-alpha.9 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,241 @@
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.0.1](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@3.0.1-alpha.22...@bloom-housing/ui-components@4.0.1) (2022-02-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * account translations ([d85997d](https://github.com/seanmalbert/bloom/commit/d85997dfb50d47c3e4cd42ed4cae759985036c88))
12
+ * fix modal styles on mobile ([9cdc8e6](https://github.com/seanmalbert/bloom/commit/9cdc8e63217da345e3101866c8e9a1fd83a0d6ae))
13
+ * mobile notice text wrap issue ([#2308](https://github.com/seanmalbert/bloom/issues/2308)) ([8cbe3cf](https://github.com/seanmalbert/bloom/commit/8cbe3cf25b34362ef7ebceb865bf8b97a3838f20))
14
+ * patch issue with submit application section ([88854c5](https://github.com/seanmalbert/bloom/commit/88854c542855f2e6ac8fbb2f376faaedf9e64d46))
15
+ * patches translations for preferences ([#2410](https://github.com/seanmalbert/bloom/issues/2410)) ([21f517e](https://github.com/seanmalbert/bloom/commit/21f517e3f62dc5fefc8b4031d8915c8d7690677d))
16
+ * versioning issues ([#2311](https://github.com/seanmalbert/bloom/issues/2311)) ([c274a29](https://github.com/seanmalbert/bloom/commit/c274a2985061b389c2cae6386137a4caacd7f7c0))
17
+
18
+
19
+ * 2022-01-27 release (#2439) ([860f6af](https://github.com/seanmalbert/bloom/commit/860f6af6204903e4dcddf671d7ba54f3ec04f121)), closes [#2439](https://github.com/seanmalbert/bloom/issues/2439) [#2196](https://github.com/seanmalbert/bloom/issues/2196) [#2238](https://github.com/seanmalbert/bloom/issues/2238) [#2226](https://github.com/seanmalbert/bloom/issues/2226) [#2230](https://github.com/seanmalbert/bloom/issues/2230) [#2243](https://github.com/seanmalbert/bloom/issues/2243) [#2195](https://github.com/seanmalbert/bloom/issues/2195) [#2215](https://github.com/seanmalbert/bloom/issues/2215) [#2266](https://github.com/seanmalbert/bloom/issues/2266) [#2188](https://github.com/seanmalbert/bloom/issues/2188) [#2270](https://github.com/seanmalbert/bloom/issues/2270) [#2188](https://github.com/seanmalbert/bloom/issues/2188) [#2213](https://github.com/seanmalbert/bloom/issues/2213) [#2234](https://github.com/seanmalbert/bloom/issues/2234) [#1901](https://github.com/seanmalbert/bloom/issues/1901) [#2260](https://github.com/seanmalbert/bloom/issues/2260) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#2280](https://github.com/seanmalbert/bloom/issues/2280) [#2253](https://github.com/seanmalbert/bloom/issues/2253) [#2276](https://github.com/seanmalbert/bloom/issues/2276) [#2282](https://github.com/seanmalbert/bloom/issues/2282) [#2262](https://github.com/seanmalbert/bloom/issues/2262) [#2278](https://github.com/seanmalbert/bloom/issues/2278) [#2293](https://github.com/seanmalbert/bloom/issues/2293) [#2295](https://github.com/seanmalbert/bloom/issues/2295) [#2296](https://github.com/seanmalbert/bloom/issues/2296) [#2294](https://github.com/seanmalbert/bloom/issues/2294) [#2277](https://github.com/seanmalbert/bloom/issues/2277) [#2290](https://github.com/seanmalbert/bloom/issues/2290) [#2299](https://github.com/seanmalbert/bloom/issues/2299) [#2292](https://github.com/seanmalbert/bloom/issues/2292) [#2303](https://github.com/seanmalbert/bloom/issues/2303) [#2305](https://github.com/seanmalbert/bloom/issues/2305) [#2306](https://github.com/seanmalbert/bloom/issues/2306) [#2308](https://github.com/seanmalbert/bloom/issues/2308) [#2190](https://github.com/seanmalbert/bloom/issues/2190) [#2239](https://github.com/seanmalbert/bloom/issues/2239) [#2311](https://github.com/seanmalbert/bloom/issues/2311) [#2302](https://github.com/seanmalbert/bloom/issues/2302) [#2301](https://github.com/seanmalbert/bloom/issues/2301) [#1927](https://github.com/seanmalbert/bloom/issues/1927) [#2313](https://github.com/seanmalbert/bloom/issues/2313) [#2289](https://github.com/seanmalbert/bloom/issues/2289) [#2279](https://github.com/seanmalbert/bloom/issues/2279) [#2288](https://github.com/seanmalbert/bloom/issues/2288) [#2317](https://github.com/seanmalbert/bloom/issues/2317) [#2319](https://github.com/seanmalbert/bloom/issues/2319) [#2108](https://github.com/seanmalbert/bloom/issues/2108) [#2326](https://github.com/seanmalbert/bloom/issues/2326) [#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) [#2434](https://github.com/seanmalbert/bloom/issues/2434)
20
+
21
+
22
+ ### Features
23
+
24
+ * 2165/rosefield preference updates ([#2386](https://github.com/seanmalbert/bloom/issues/2386)) ([54177cb](https://github.com/seanmalbert/bloom/commit/54177cbaf137cd8e5acb1ad9c770e659c89054d6))
25
+ * add SRO unit type ([a4c1403](https://github.com/seanmalbert/bloom/commit/a4c140350a84a5bacfa65fb6714aa594e406945d))
26
+ * adds updating open listing modal ([#2288](https://github.com/seanmalbert/bloom/issues/2288)) ([d184326](https://github.com/seanmalbert/bloom/commit/d18432610a55a5e54f567ff6157bb863ed61cb21))
27
+ * overrides fallback to english, tagalog support ([b79fd10](https://github.com/seanmalbert/bloom/commit/b79fd1018619f618bd9be8e870d35c1180b81dfb))
28
+ * postmark date time fields partners ([#2239](https://github.com/seanmalbert/bloom/issues/2239)) ([cf20b88](https://github.com/seanmalbert/bloom/commit/cf20b88cb613b815c641cad34a38908e22722a4a))
29
+ * simplify Waitlist component and use more flexible schema ([aa8e006](https://github.com/seanmalbert/bloom/commit/aa8e00616d886e8d57316b2362d35c0c550007c6))
30
+
31
+
32
+ ### Reverts
33
+
34
+ * Revert "chore(release): version" ([47a2c67](https://github.com/seanmalbert/bloom/commit/47a2c67af5c7c41f360fafc6c5386476866ea403))
35
+ * Revert "chore: removes application program partners" ([91e22d8](https://github.com/seanmalbert/bloom/commit/91e22d891104e8d4fc024d709a6a14cec1400733))
36
+ * Revert "chore: removes application program display" ([740cf00](https://github.com/seanmalbert/bloom/commit/740cf00dc3a729eed037d56a8dfc5988decd2651))
37
+
38
+
39
+ ### BREAKING CHANGES
40
+
41
+ * sign-in pages have been updated
42
+ * moved some helpers from ui-components to shared-helpers
43
+ * remove applicationDueTime field and consolidated into applicationDueDate
44
+
45
+ * chore(release): version
46
+
47
+ - @bloom-housing/backend-core@3.0.2-alpha.13
48
+ - @bloom-housing/shared-helpers@4.0.1-alpha.21
49
+ - @bloom-housing/partners@4.0.1-alpha.23
50
+ - @bloom-housing/public@4.0.1-alpha.22
51
+ - @bloom-housing/ui-components@4.0.1-alpha.21
52
+
53
+
54
+
55
+
56
+
57
+ ## [4.0.1-alpha.28](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.27...@bloom-housing/ui-components@4.0.1-alpha.28) (2022-01-26)
58
+
59
+ **Note:** Version bump only for package @bloom-housing/ui-components
60
+
61
+
62
+
63
+
64
+
65
+ ## [4.0.1-alpha.27](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.26...@bloom-housing/ui-components@4.0.1-alpha.27) (2022-01-26)
66
+
67
+
68
+ ### Bug Fixes
69
+
70
+ * Fix infinite page width ([#2434](https://github.com/bloom-housing/bloom/issues/2434)) ([12ac594](https://github.com/bloom-housing/bloom/commit/12ac594a7aa5a04370b20b19d6fff3189c0cfeee)), closes [#2374](https://github.com/bloom-housing/bloom/issues/2374)
71
+
72
+
73
+
74
+
75
+
76
+ ## [4.0.1-alpha.26](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.25...@bloom-housing/ui-components@4.0.1-alpha.26) (2022-01-24)
77
+
78
+ **Note:** Version bump only for package @bloom-housing/ui-components
79
+
80
+
81
+
82
+
83
+
84
+ ## [4.0.1-alpha.25](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.24...@bloom-housing/ui-components@4.0.1-alpha.25) (2022-01-24)
85
+
86
+ **Note:** Version bump only for package @bloom-housing/ui-components
87
+
88
+
89
+
90
+
91
+
92
+ ## [4.0.1-alpha.24](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.23...@bloom-housing/ui-components@4.0.1-alpha.24) (2022-01-20)
93
+
94
+
95
+ ### Features
96
+
97
+ * listing card takes optional children ([#2407](https://github.com/bloom-housing/bloom/issues/2407)) ([3c73a11](https://github.com/bloom-housing/bloom/commit/3c73a1144748fca6d50e5e0b220230eb8bf48dc6))
98
+
99
+
100
+
101
+
102
+
103
+ ## [4.0.1-alpha.23](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.22...@bloom-housing/ui-components@4.0.1-alpha.23) (2022-01-14)
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * patches translations for preferences ([#2410](https://github.com/bloom-housing/bloom/issues/2410)) ([7906e6b](https://github.com/bloom-housing/bloom/commit/7906e6bc035fab4deea79ea51833a0ef29926d45))
109
+
110
+
111
+
112
+
113
+
114
+ ## [4.0.1-alpha.22](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.21...@bloom-housing/ui-components@4.0.1-alpha.22) (2022-01-13)
115
+
116
+ **Note:** Version bump only for package @bloom-housing/ui-components
117
+
118
+
119
+
120
+
121
+
122
+ ## [4.0.1-alpha.21](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.20...@bloom-housing/ui-components@4.0.1-alpha.21) (2022-01-13)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * dates showing as invalid in send by mail section ([#2362](https://github.com/bloom-housing/bloom/issues/2362)) ([3567388](https://github.com/bloom-housing/bloom/commit/35673882d87e2b524b2c94d1fb7b40c9d777f0a3))
128
+
129
+
130
+ ### BREAKING CHANGES
131
+
132
+ * remove applicationDueTime field and consolidated into applicationDueDate
133
+
134
+
135
+
136
+
137
+
138
+ ## [4.0.1-alpha.20](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.19...@bloom-housing/ui-components@4.0.1-alpha.20) (2022-01-13)
139
+
140
+ **Note:** Version bump only for package @bloom-housing/ui-components
141
+
142
+
143
+
144
+
145
+
146
+ ## [4.0.1-alpha.19](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.18...@bloom-housing/ui-components@4.0.1-alpha.19) (2022-01-11)
147
+
148
+
149
+ ### Bug Fixes
150
+
151
+ * use drag n drop ([a354904](https://github.com/bloom-housing/bloom/commit/a3549045d4f0da64692318f84f0336f1287ad48a))
152
+
153
+
154
+
155
+
156
+
157
+ ## [4.0.1-alpha.18](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.17...@bloom-housing/ui-components@4.0.1-alpha.18) (2022-01-08)
158
+
159
+
160
+ ### Bug Fixes
161
+
162
+ * ensure dayjs parsing strings will work as expected ([eb44939](https://github.com/bloom-housing/bloom/commit/eb449395ebea3a3b4b58eb217df1e1313c722a0d))
163
+
164
+
165
+
166
+
167
+
168
+ ## [4.0.1-alpha.17](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.16...@bloom-housing/ui-components@4.0.1-alpha.17) (2022-01-07)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * listings group expandable section css updates ([#2377](https://github.com/bloom-housing/bloom/issues/2377)) ([fba77ef](https://github.com/bloom-housing/bloom/commit/fba77efc25ccb213a0e18a8b58ddf8ada07fbb8c))
174
+
175
+
176
+
177
+
178
+
179
+ ## [4.0.1-alpha.16](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.15...@bloom-housing/ui-components@4.0.1-alpha.16) (2022-01-07)
180
+
181
+ **Note:** Version bump only for package @bloom-housing/ui-components
182
+
183
+
184
+
185
+
186
+
187
+ ## [4.0.1-alpha.15](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.14...@bloom-housing/ui-components@4.0.1-alpha.15) (2022-01-07)
188
+
189
+ **Note:** Version bump only for package @bloom-housing/ui-components
190
+
191
+
192
+
193
+
194
+
195
+ ## [4.0.1-alpha.14](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.13...@bloom-housing/ui-components@4.0.1-alpha.14) (2022-01-04)
196
+
197
+
198
+ ### Bug Fixes
199
+
200
+ * move type declarations out of shared-helpers ([#2356](https://github.com/bloom-housing/bloom/issues/2356)) ([2fd4a87](https://github.com/bloom-housing/bloom/commit/2fd4a8743414df113ec0f653c143fd16e8c57c55))
201
+
202
+
203
+
204
+
205
+
206
+ ## [4.0.1-alpha.13](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.12...@bloom-housing/ui-components@4.0.1-alpha.13) (2022-01-04)
207
+
208
+ **Note:** Version bump only for package @bloom-housing/ui-components
209
+
210
+
211
+
212
+
213
+
214
+ ## [4.0.1-alpha.12](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.11...@bloom-housing/ui-components@4.0.1-alpha.12) (2022-01-04)
215
+
216
+ **Note:** Version bump only for package @bloom-housing/ui-components
217
+
218
+
219
+
220
+
221
+
222
+ ## [4.0.1-alpha.11](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.10...@bloom-housing/ui-components@4.0.1-alpha.11) (2022-01-03)
223
+
224
+ **Note:** Version bump only for package @bloom-housing/ui-components
225
+
226
+
227
+
228
+
229
+
230
+ ## [4.0.1-alpha.10](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.9...@bloom-housing/ui-components@4.0.1-alpha.10) (2022-01-03)
231
+
232
+
233
+ ### Bug Fixes
234
+
235
+ * remove next dependency from ui-components ([#2352](https://github.com/bloom-housing/bloom/issues/2352)) ([136e8a1](https://github.com/bloom-housing/bloom/commit/136e8a1af2b4f285644caa9a18d60121f4d82566))
236
+
237
+
238
+
239
+
240
+
6
241
  ## [4.0.1-alpha.9](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.8...@bloom-housing/ui-components@4.0.1-alpha.9) (2022-01-03)
7
242
 
8
243
  **Note:** Version bump only for package @bloom-housing/ui-components
@@ -211,6 +446,38 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
211
446
 
212
447
 
213
448
 
449
+ ## [3.0.1](https://github.com/seanmalbert/bloom/compare/@bloom-housing/ui-components@3.0.1-alpha.22...@bloom-housing/ui-components@3.0.1) (2022-01-13)
450
+
451
+
452
+
453
+ ### Bug Fixes
454
+
455
+ * account translations ([d85997d](https://github.com/seanmalbert/bloom/commit/d85997dfb50d47c3e4cd42ed4cae759985036c88))
456
+ * fix modal styles on mobile ([9cdc8e6](https://github.com/seanmalbert/bloom/commit/9cdc8e63217da345e3101866c8e9a1fd83a0d6ae))
457
+ * mobile notice text wrap issue ([#2308](https://github.com/seanmalbert/bloom/issues/2308)) ([8cbe3cf](https://github.com/seanmalbert/bloom/commit/8cbe3cf25b34362ef7ebceb865bf8b97a3838f20))
458
+ * versioning issues ([#2311](https://github.com/seanmalbert/bloom/issues/2311)) ([c274a29](https://github.com/seanmalbert/bloom/commit/c274a2985061b389c2cae6386137a4caacd7f7c0))
459
+
460
+
461
+ ### Features
462
+
463
+ * 2165/rosefield preference updates ([#2386](https://github.com/seanmalbert/bloom/issues/2386)) ([54177cb](https://github.com/seanmalbert/bloom/commit/54177cbaf137cd8e5acb1ad9c770e659c89054d6))
464
+ * add SRO unit type ([a4c1403](https://github.com/seanmalbert/bloom/commit/a4c140350a84a5bacfa65fb6714aa594e406945d))
465
+ * adds updating open listing modal ([#2288](https://github.com/seanmalbert/bloom/issues/2288)) ([d184326](https://github.com/seanmalbert/bloom/commit/d18432610a55a5e54f567ff6157bb863ed61cb21))
466
+ * overrides fallback to english, tagalog support ([b79fd10](https://github.com/seanmalbert/bloom/commit/b79fd1018619f618bd9be8e870d35c1180b81dfb))
467
+ * postmark date time fields partners ([#2239](https://github.com/seanmalbert/bloom/issues/2239)) ([cf20b88](https://github.com/seanmalbert/bloom/commit/cf20b88cb613b815c641cad34a38908e22722a4a))
468
+ * simplify Waitlist component and use more flexible schema ([aa8e006](https://github.com/seanmalbert/bloom/commit/aa8e00616d886e8d57316b2362d35c0c550007c6))
469
+
470
+
471
+ ### Reverts
472
+
473
+ * Revert "chore(release): version" ([47a2c67](https://github.com/seanmalbert/bloom/commit/47a2c67af5c7c41f360fafc6c5386476866ea403))
474
+ * Revert "chore: removes application program partners" ([91e22d8](https://github.com/seanmalbert/bloom/commit/91e22d891104e8d4fc024d709a6a14cec1400733))
475
+ * Revert "chore: removes application program display" ([740cf00](https://github.com/seanmalbert/bloom/commit/740cf00dc3a729eed037d56a8dfc5988decd2651))
476
+
477
+
478
+
479
+
480
+
214
481
  ## [3.0.1-alpha.43](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@3.0.1-alpha.42...@bloom-housing/ui-components@3.0.1-alpha.43) (2021-12-13)
215
482
 
216
483
  **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.0.1-alpha.9",
3
+ "version": "4.0.1",
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": "^3.0.2-alpha.8",
72
+ "@bloom-housing/backend-core": "^4.0.1",
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",
@@ -82,9 +82,9 @@
82
82
  "@types/react-transition-group": "^4.4.0",
83
83
  "axios": "0.21.1",
84
84
  "body-scroll-lock": "^3.1.5",
85
+ "dayjs": "^1.10.7",
85
86
  "jwt-decode": "^2.2.0",
86
87
  "markdown-to-jsx": "^6.11.4",
87
- "moment": "^2.29.1",
88
88
  "nanoid": "^3.1.12",
89
89
  "react": "^17.0.2",
90
90
  "react-accessible-accordion": "^3.3.5",
@@ -100,5 +100,5 @@
100
100
  "tailwindcss": "2.2.10",
101
101
  "typesafe-actions": "^5.1.0"
102
102
  },
103
- "gitHead": "02fbbfd9a1a781db8dbaa3221c0d2c212e912d2f"
103
+ "gitHead": "947d9e3b240c438ddf9c4fa8b482ec147560d7df"
104
104
  }
@@ -70,7 +70,6 @@ const Button = (props: ButtonProps) => {
70
70
 
71
71
  return (
72
72
  <button
73
- {...props}
74
73
  id={props.id}
75
74
  type={props.type}
76
75
  className={buttonClasses.join(" ")}
@@ -1,7 +1,9 @@
1
1
  import React from "react"
2
2
  import { t } from "../helpers/translator"
3
3
  import { Field } from "./Field"
4
- import moment from "moment"
4
+ import dayjs from "dayjs"
5
+ import customParseFormat from "dayjs/plugin/customParseFormat"
6
+ dayjs.extend(customParseFormat)
5
7
  import { UseFormMethods, FieldError, DeepMap } from "react-hook-form"
6
8
 
7
9
  export type DOBFieldValues = {
@@ -39,7 +41,7 @@ const DOBField = (props: DOBFieldProps) => {
39
41
  const validateAge = (value: string) => {
40
42
  return (
41
43
  parseInt(value) > 1900 &&
42
- moment(`${birthMonth}/${birthDay}/${value}`, "MM/DD/YYYY") < moment().subtract(18, "years")
44
+ dayjs(`${birthMonth}/${birthDay}/${value}`, "MM/DD/YYYY") < dayjs().subtract(18, "years")
43
45
  )
44
46
  }
45
47
 
@@ -108,7 +110,7 @@ const DOBField = (props: DOBFieldProps) => {
108
110
  validate: {
109
111
  yearRange: (value: string) => {
110
112
  if (props.required && value && parseInt(value) < 1900) return false
111
- if (props.required && value && parseInt(value) > moment().year() + 10) return false
113
+ if (props.required && value && parseInt(value) > dayjs().year() + 10) return false
112
114
  if (!props.required && !value?.length) return true
113
115
  if (value?.length && validateAge18) return validateAge(value)
114
116
  return true
@@ -1,7 +1,7 @@
1
1
  import React from "react"
2
2
  import { t } from "../helpers/translator"
3
3
  import { Field } from "./Field"
4
- import moment from "moment"
4
+ import dayjs from "dayjs"
5
5
  import { UseFormMethods, FieldError, DeepMap } from "react-hook-form"
6
6
 
7
7
  export type DateFieldValues = {
@@ -97,7 +97,7 @@ const DateField = (props: DateFieldProps) => {
97
97
  validate: {
98
98
  yearRange: (value: string) => {
99
99
  if (props.required && value && parseInt(value) < 1900) return false
100
- if (props.required && value && parseInt(value) > moment().year() + 10) return false
100
+ if (props.required && value && parseInt(value) > dayjs().year() + 10) return false
101
101
  if (!props.required && !value?.length) return true
102
102
  return true
103
103
  },
@@ -49,7 +49,7 @@ const Dropzone = (props: DropzoneProps) => {
49
49
  <progress className="dropzone__progress" max="100" value={props.progress}></progress>
50
50
  ) : (
51
51
  <div className={dropzoneClasses.join(" ")} {...getRootProps()}>
52
- <input id={props.id} {...getInputProps()} />
52
+ <input id={props.id} {...getInputProps()} data-test-id={"dropzone-input"} />
53
53
  {isDragActive ? (
54
54
  <p>{t("t.dropFilesHere")}</p>
55
55
  ) : (
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo } from "react"
2
2
  import { ErrorMessage } from "../notifications/ErrorMessage"
3
- import { UseFormMethods } from "react-hook-form"
3
+ import { UseFormMethods, RegisterOptions } from "react-hook-form"
4
4
 
5
5
  export interface FieldProps {
6
6
  error?: boolean
@@ -17,12 +17,12 @@ export interface FieldProps {
17
17
  subNote?: string
18
18
  label?: string
19
19
  defaultValue?: string | number
20
- onDrop?: (e: any) => boolean
21
- onPaste?: (e: any) => boolean
20
+ onDrop?: (e: React.DragEvent<HTMLElement>) => boolean
21
+ onPaste?: (e: React.ClipboardEvent) => boolean
22
22
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void
23
23
  placeholder?: string
24
24
  register?: UseFormMethods["register"]
25
- validation?: Record<string, any>
25
+ validation?: RegisterOptions
26
26
  disabled?: boolean
27
27
  prepend?: string
28
28
  inputProps?: Record<string, unknown>
@@ -95,7 +95,6 @@ const Field = (props: FieldProps) => {
95
95
  <div className={controlClasses.join(" ")}>
96
96
  {props.prepend && <span className="prepend">{props.prepend}</span>}
97
97
  <input
98
- {...props}
99
98
  aria-describedby={props.describedBy ? props.describedBy : `${idOrName}`}
100
99
  aria-invalid={!!props.error || false}
101
100
  className="input"
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect } from "react"
2
2
  import { ExpandableContent } from "../actions/ExpandableContent"
3
3
  import { ErrorMessage } from "../notifications/ErrorMessage"
4
- import { UseFormMethods } from "react-hook-form"
4
+ import { UseFormMethods, RegisterOptions } from "react-hook-form"
5
5
  import { Field } from "./Field"
6
6
  import { t } from "../helpers/translator"
7
7
 
@@ -29,7 +29,7 @@ interface FieldGroupProps {
29
29
  groupNote?: string
30
30
  groupSubNote?: string
31
31
  register: UseFormMethods["register"]
32
- validation?: Record<string, unknown>
32
+ validation?: RegisterOptions
33
33
  fieldGroupClassName?: string
34
34
  fieldClassName?: string
35
35
  fieldLabelClassName?: string
@@ -1,7 +1,7 @@
1
1
  import React from "react"
2
2
  import { ErrorMessage } from "../notifications/ErrorMessage"
3
3
  import { FormOptions } from "../helpers/formOptions"
4
- import { UseFormMethods } from "react-hook-form"
4
+ import { UseFormMethods, RegisterOptions } from "react-hook-form"
5
5
 
6
6
  export interface SelectOption {
7
7
  value: string
@@ -21,7 +21,7 @@ interface SelectProps {
21
21
  defaultValue?: string
22
22
  placeholder?: string
23
23
  register?: UseFormMethods["register"]
24
- validation?: Record<string, unknown>
24
+ validation?: RegisterOptions
25
25
  disabled?: boolean
26
26
  options: (string | SelectOption)[]
27
27
  keyPrefix?: string
@@ -1,5 +1,5 @@
1
1
  import React, { useState, useEffect } from "react"
2
- import moment from "moment"
2
+ import dayjs from "dayjs"
3
3
  import { t } from "../helpers/translator"
4
4
  import { ErrorMessage } from "../notifications/ErrorMessage"
5
5
  import { Field } from "./Field"
@@ -32,7 +32,7 @@ export type TimeFieldProps = {
32
32
  }
33
33
 
34
34
  export const formatDateToTimeField = (date: Date) => {
35
- const dateObj = moment(date)
35
+ const dateObj = dayjs(date)
36
36
 
37
37
  return {
38
38
  hours: dateObj.format("hh"),
@@ -93,8 +93,7 @@
93
93
  input[type="checkbox"] + label,
94
94
  input[type="radio"] + label {
95
95
  cursor: pointer;
96
- // margin-bottom: 0.5em;
97
- margin-left: 2rem;
96
+ margin-inline-start: 2rem;
98
97
  display: block;
99
98
  text-indent: -2rem;
100
99
  }
@@ -108,7 +107,7 @@
108
107
  display: inline-block;
109
108
  height: 1.25rem;
110
109
  line-height: 0.8;
111
- margin-right: 0.8em;
110
+ margin-inline-end: 0.8em;
112
111
  text-indent: 0.15em;
113
112
  vertical-align: 0.2em;
114
113
  width: 1.25rem;
@@ -1,8 +1,10 @@
1
- import moment from "moment"
1
+ import dayjs from "dayjs"
2
+ import utc from "dayjs/plugin/utc"
3
+ dayjs.extend(utc)
2
4
 
3
5
  export const dateToString = (submissionDate: Date) => {
4
6
  if (!submissionDate) return null
5
- const formattedSubmissionDate = moment(new Date(submissionDate)).utc()
7
+ const formattedSubmissionDate = dayjs(new Date(submissionDate)).utc()
6
8
  const month = formattedSubmissionDate.format("MMMM")
7
9
  const day = formattedSubmissionDate.format("DD")
8
10
  const year = formattedSubmissionDate.format("YYYY")
@@ -17,6 +17,7 @@ import {
17
17
  CloseRound,
18
18
  CloseSmall,
19
19
  Cross,
20
+ DoubleHouse,
20
21
  Down,
21
22
  Download,
22
23
  Draggable,
@@ -75,6 +76,7 @@ const IconMap = {
75
76
  closeRound: CloseRound,
76
77
  closeSmall: CloseSmall,
77
78
  cross: Cross,
79
+ doubleHouse: DoubleHouse,
78
80
  down: Down,
79
81
  download: Download,
80
82
  draggable: Draggable,
@@ -243,6 +243,20 @@ export const Cross = (props: IconProps) => {
243
243
  )
244
244
  }
245
245
 
246
+ export const DoubleHouse = (props: IconProps) => {
247
+ return (
248
+ <svg viewBox="0 0 32 32" fill={props.fill ?? "currentColor"}>
249
+ <path d="M8.68 24.053c0.173 0 0.347-0.080 0.48-0.213 0.12-0.12 0.187-0.28 0.187-0.467 0-0.16-0.067-0.333-0.187-0.469-0.253-0.251-0.707-0.24-0.947 0-0.12 0.122-0.2 0.294-0.2 0.469 0 0.187 0.080 0.347 0.2 0.478 0.12 0.122 0.293 0.202 0.467 0.202z"></path>
250
+ <path d="M18.019 22.714h1.384c0.368 0 0.667-0.299 0.667-0.667s-0.299-0.667-0.667-0.667h-1.384c-0.368 0-0.667 0.299-0.667 0.667s0.298 0.667 0.667 0.667z"></path>
251
+ <path d="M18.019 18.714h1.384c0.368 0 0.667-0.299 0.667-0.667s-0.299-0.667-0.667-0.667h-1.384c-0.368 0-0.667 0.299-0.667 0.667s0.298 0.667 0.667 0.667z"></path>
252
+ <path d="M23.354 22.714h1.333c0.368 0 0.667-0.299 0.667-0.667s-0.299-0.667-0.667-0.667h-1.333c-0.368 0-0.667 0.299-0.667 0.667s0.298 0.667 0.667 0.667z"></path>
253
+ <path d="M23.354 26.715h1.333c0.368 0 0.667-0.299 0.667-0.667s-0.299-0.667-0.667-0.667h-1.333c-0.368 0-0.667 0.299-0.667 0.667s0.298 0.667 0.667 0.667z"></path>
254
+ <path d="M23.354 18.714h1.333c0.368 0 0.667-0.299 0.667-0.667s-0.299-0.667-0.667-0.667h-1.333c-0.368 0-0.667 0.299-0.667 0.667s0.298 0.667 0.667 0.667z"></path>
255
+ <path d="M31.51 15.406l-19.499-7.253c-0.342-0.128-0.728 0.046-0.858 0.392s0.048 0.73 0.394 0.858l1.805 0.672v6.784l-10.166 2.629c0 0 0 0-0.002 0l-2.618 0.675c-0.357 0.091-0.571 0.456-0.478 0.813 0.077 0.301 0.347 0.501 0.643 0.501 0.056 0 0.11-0.006 0.166-0.021l1.784-0.461v10.387c0 0.368 0.299 0.667 0.667 0.667h25.333c0.368 0 0.667-0.299 0.667-0.667v-15.354l1.693 0.629c0.077 0.027 0.157 0.042 0.234 0.042 0.27 0 0.525-0.166 0.626-0.435 0.128-0.344-0.045-0.728-0.39-0.856zM4.019 20.65l9.333-2.414v12.478h-1.333v-4.667c0-0.368-0.299-0.667-0.667-0.667h-5.333c-0.368 0-0.667 0.299-0.667 0.667v4.667h-1.333v-10.064zM6.685 30.715v-4h4v4h-4zM18.686 30.715v-4h1.333v4h-1.333zM28.019 30.715h-6.667v-4.667c0-0.368-0.299-0.667-0.667-0.667h-2.667c-0.368 0-0.667 0.299-0.667 0.667v4.667h-2.667v-20.144l13.333 4.962v15.182z"></path>
256
+ </svg>
257
+ )
258
+ }
259
+
246
260
  export const Down = (props: IconProps) => {
247
261
  return (
248
262
  <svg viewBox={"0 0 32 32"} fill={props.fill ?? "currentColor"}>
@@ -252,6 +252,20 @@
252
252
  "general": {
253
253
  "title": "En base a la información que usted ingresó, su hogar no ha solicitado ninguna preferencia de vivienda.",
254
254
  "preamble": "Estará en el grupo general de solicitantes."
255
+ },
256
+ "rosefieldLive": {
257
+ "title": "Anterior Residentes de Rosefield Village reubicados fuera de la ciudad de Alameda",
258
+ "yes": {
259
+ "label": "Al menos un miembro de mi hogar fue residente anterior de Rosefield Village",
260
+ "description": "Al menos un miembro de mi hogar fue residente anterior de Rosefield Village"
261
+ }
262
+ },
263
+ "rosefieldAUSD": {
264
+ "title": "Empleado(a) del Distrito Escolar Unificado Alameda (AUSD)",
265
+ "yes": {
266
+ "label": "Al menos un miembro de mi hogar es empleado del Distrito Escolar Unificado de Alameda",
267
+ "description": "Al menos un miembro de mi hogar es empleado del Distrito Escolar Unificado de Alameda"
268
+ }
255
269
  }
256
270
  },
257
271
  "review": {
@@ -459,6 +473,7 @@
459
473
  "additionalInformation": "Información adicional",
460
474
  "allUnits": "Todas las viviendas",
461
475
  "allUnitsReservedFor": "Todas las viviendas reservadas para %{type}",
476
+ "annualIncome": "%{income} al año",
462
477
  "applicationDeadline": "Fecha límite de solicitud",
463
478
  "applicationFCFS": "Atención por orden de llegada",
464
479
  "applicationFee": "Cargo de solicitud",
@@ -477,7 +492,7 @@
477
492
  "howToApply": "Cómo presentar una Solicitud",
478
493
  "paperApplicationsMustBeMailed": "Las solicitudes impresas deben ser enviadas a través del Servicio Postal de los EE.UU. y no pueden ser entregadas en persona.",
479
494
  "pickUpAnApplication": "Recoja una solicitud.",
480
- "postmarkedApplicationsMustBeReceivedByDate": "Las solicitudes deben recibirse para la fecha límite. Si envía la solicitud a través del Servicio Postal de los EE.UU., la solicitud debe llevar el matasellos a más tardar del %{applicationDueDate} y ser recibida por correo a más tardar el %{postmarkReceivedByDate}. Las solicitudes recibidas por correo después del %{postmarkReceivedByDate} no serán aceptadas incluso si el matasellos lleva una fecha de a más tardar el %{applicationDueDate}. %{developer} no es responsable de correo extraviado o demorado.",
495
+ "submitPaperDueDatePostMark": "Las solicitudes deben recibirse para la fecha límite. Si envía la solicitud a través del Servicio Postal de los EE.UU., la solicitud debe llevar el matasellos a más tardar del %{applicationDueDate} y ser recibida por correo a más tardar el %{postmarkReceivedByDate}. Las solicitudes recibidas por correo después del %{postmarkReceivedByDate} no serán aceptadas incluso si el matasellos lleva una fecha de a más tardar el %{applicationDueDate}. %{developer} no es responsable de correo extraviado o demorado.",
481
496
  "sendByUsMail": "Enviar la Solicitud a través del Servicio Postal de los EE.UU.",
482
497
  "submitAPaperApplication": "Envíe una Solicitud impresa"
483
498
  },
@@ -511,6 +526,7 @@
511
526
  },
512
527
  "maxIncomeMonth": "Ingresos máximos / Mes",
513
528
  "maxIncomeYear": "Ingresos máximos / Año",
529
+ "monthlyIncome": "%{income} al mes",
514
530
  "moreBuildingSelectionCriteria": "Obtenga más información sobre los Criterios de Selección de Edificaciones",
515
531
  "noAvailableUnits": "No hay viviendas disponibles en este momento.",
516
532
  "noOpenListings": "Actualmente ningún listado tiene solicitudes abiertas.",