@bloom-housing/ui-components 4.1.1 → 4.1.2-alpha.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 +326 -1
- package/package.json +3 -3
- package/src/icons/Icon.tsx +8 -0
- package/src/icons/Icons.tsx +32 -0
- package/src/locales/general.json +6 -2
- package/src/navigation/FooterNav.scss +1 -2
- package/src/navigation/FooterNav.tsx +2 -3
- package/src/notifications/ApplicationStatus.tsx +22 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,17 +3,342 @@
|
|
|
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.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)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* removed unused partner footer links ([#2590](https://github.com/bloom-housing/bloom/issues/2590)) ([318d42e](https://github.com/bloom-housing/bloom/commit/318d42e01f5374c7cd2d3e7b35a4bb44e3659c94))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* 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)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [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)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* 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)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### BREAKING CHANGES
|
|
35
|
+
|
|
36
|
+
* preferences model and relationships changed
|
|
37
|
+
|
|
38
|
+
* feat: feat(backend): extend UserUpdateDto to support email change
|
|
39
|
+
|
|
40
|
+
picked from dev 3e1fdbd0ea91d4773973d5c485a5ba61303db90a
|
|
41
|
+
|
|
42
|
+
* fix: 2056/user account edit fix
|
|
43
|
+
|
|
44
|
+
picked from dev a15618c0cb548ff5b2ae913b802c9e08bb673f30
|
|
45
|
+
|
|
46
|
+
* refactor: 2085/adds top level catchAll exception filter
|
|
47
|
+
|
|
48
|
+
picked from dev aeaa63d1af1fa3d11671e169cb3bd23d356fface
|
|
49
|
+
|
|
50
|
+
* feat: feat: Change unit number field type to text
|
|
51
|
+
|
|
52
|
+
picked from dev f54be7c7ba6aac8e00fee610dc86584b60cc212d
|
|
53
|
+
|
|
54
|
+
* feat(backend): improve application flagged set saving efficiency
|
|
55
|
+
|
|
56
|
+
* fix: fix: updates address order
|
|
57
|
+
|
|
58
|
+
picked from dev 252e014dcbd2e4c305384ed552135f5a8e4e4767
|
|
59
|
+
|
|
60
|
+
* fix: sets programs to optoinal and updates versions
|
|
61
|
+
|
|
62
|
+
* chore: chore(deps): bump electron from 13.1.7 to 13.3.0
|
|
63
|
+
|
|
64
|
+
* chore: chore(deps): bump axios from 0.21.1 to 0.21.2
|
|
65
|
+
|
|
66
|
+
* fix: adds programs service
|
|
67
|
+
|
|
68
|
+
* fix: fix lisitng e2e tests
|
|
69
|
+
|
|
70
|
+
* fix: fix member tests
|
|
71
|
+
|
|
72
|
+
* fix: adds jurisdictionId to useSWR path
|
|
73
|
+
|
|
74
|
+
* fix: recalculate units available on listing update
|
|
75
|
+
|
|
76
|
+
picked form dev f1a3dbce6478b16542ed61ab20de5dfb9b797262
|
|
77
|
+
|
|
78
|
+
* feat: feat(backend): make use of new application confirmation codes
|
|
79
|
+
|
|
80
|
+
picked from dev 3c45c2904818200eed4568931d4cc352fd2f449e
|
|
81
|
+
|
|
82
|
+
* revert: revert "chore(deps): bump axios from 0.21.1 to 0.21.2
|
|
83
|
+
|
|
84
|
+
picked from dev 2b83bc0393afc42eed542e326d5ef75502ce119c
|
|
85
|
+
|
|
86
|
+
* fix: app submission w/ no due date
|
|
87
|
+
|
|
88
|
+
picked from dev 4af1f5a8448f16d347b4a65ecb85fda4d6ed71fc
|
|
89
|
+
|
|
90
|
+
* feat: adds new preferences, reserved community type
|
|
91
|
+
|
|
92
|
+
* feat: adds bottom border to preferences
|
|
93
|
+
|
|
94
|
+
* feat: updates preference string
|
|
95
|
+
|
|
96
|
+
* fix: preference cleanup for avance
|
|
97
|
+
|
|
98
|
+
* refactor: remove applicationAddress
|
|
99
|
+
|
|
100
|
+
picked from dev bf10632a62bf2f14922948c046ea3352ed010f4f
|
|
101
|
+
|
|
102
|
+
* feat: refactor and add public site application flow cypress tests
|
|
103
|
+
|
|
104
|
+
picked from dev 9ec0e8d05f9570773110754e7fdaf49254d1eab8
|
|
105
|
+
|
|
106
|
+
* feat: better seed data for ami-charts
|
|
107
|
+
|
|
108
|
+
picked from dev d8b1d4d185731a589c563a32bd592d01537785f3
|
|
109
|
+
|
|
110
|
+
* feat: adds listing management cypress tests to partner portal
|
|
111
|
+
|
|
112
|
+
* fix: listings management keep empty strings, remove empty objects
|
|
113
|
+
|
|
114
|
+
picked from dev c4b1e833ec128f457015ac7ffa421ee6047083d9
|
|
115
|
+
|
|
116
|
+
* feat: one month rent
|
|
117
|
+
|
|
118
|
+
picked from dev 883b0d53030e1c4d54f2f75bd5e188bb1d255f64
|
|
119
|
+
|
|
120
|
+
* test: view.spec.ts test
|
|
121
|
+
|
|
122
|
+
picked from dev 324446c90138d8fac50aba445f515009b5a58bfb
|
|
123
|
+
|
|
124
|
+
* refactor: removes jsonpath
|
|
125
|
+
|
|
126
|
+
picked from dev deb39acc005607ce3076942b1f49590d08afc10c
|
|
127
|
+
|
|
128
|
+
* feat: adds jurisdictions to pref seeds
|
|
129
|
+
|
|
130
|
+
picked from dev 9e47cec3b1acfe769207ccbb33c07019cd742e33
|
|
131
|
+
|
|
132
|
+
* feat: new demographics sub-race questions
|
|
133
|
+
|
|
134
|
+
picked from dev 9ab892694c1ad2fa8890b411b3b32af68ade1fc3
|
|
135
|
+
|
|
136
|
+
* feat: updates email confirmation for lottery
|
|
137
|
+
|
|
138
|
+
picked from dev 1a5e824c96d8e23674c32ea92688b9f7255528d3
|
|
139
|
+
|
|
140
|
+
* fix: add ariaHidden to Icon component
|
|
141
|
+
|
|
142
|
+
picked from dev c7bb86aec6fd5ad386c7ca50087d0113b14503be
|
|
143
|
+
|
|
144
|
+
* fix: add ariaLabel prop to Button component
|
|
145
|
+
|
|
146
|
+
picked from dev 509ddc898ba44c05e26f8ed8c777f1ba456eeee5
|
|
147
|
+
|
|
148
|
+
* fix: change the yes/no radio text to be more descriptive
|
|
149
|
+
|
|
150
|
+
picked from dev 0c46054574535523d6f217bb0677bbe732b8945f
|
|
151
|
+
|
|
152
|
+
* fix: remove alameda reference in demographics
|
|
153
|
+
|
|
154
|
+
picked from dev 7d5991cbf6dbe0b61f2b14d265e87ce3687f743d
|
|
155
|
+
|
|
156
|
+
* chore: release version
|
|
157
|
+
|
|
158
|
+
picked from dev fe82f25dc349877d974ae62d228fea0354978fb7
|
|
159
|
+
|
|
160
|
+
* feat: ami chart jurisdictionalized
|
|
161
|
+
|
|
162
|
+
picked from dev 0a5cbc88a9d9e3c2ff716fe0f44ca6c48f5dcc50
|
|
163
|
+
|
|
164
|
+
* refactor: make backend a peer dependency in ui-components
|
|
165
|
+
|
|
166
|
+
picked from dev 952aaa14a77e0960312ff0eeee51399d1d6af9f3
|
|
167
|
+
|
|
168
|
+
* feat: add a phone number column to the user_accounts table
|
|
169
|
+
|
|
170
|
+
picked from dev 2647df9ab9888a525cc8a164d091dda6482c502a
|
|
171
|
+
|
|
172
|
+
* chore: removes application program partners
|
|
173
|
+
|
|
174
|
+
* chore: removes application program display
|
|
175
|
+
|
|
176
|
+
* Revert "chore: removes application program display"
|
|
177
|
+
|
|
178
|
+
This reverts commit 14825b4a6c9cd1a7235e32074e32af18a71b5c26.
|
|
179
|
+
|
|
180
|
+
* Revert "chore: removes application program partners"
|
|
181
|
+
|
|
182
|
+
This reverts commit d7aa38c777972a2e21d9f816441caa27f98d3f86.
|
|
183
|
+
|
|
184
|
+
* chore: yarn.lock and backend-swagger
|
|
185
|
+
|
|
186
|
+
* fix: removes Duplicate identifier fieldGroupObjectToArray
|
|
187
|
+
|
|
188
|
+
* feat: skip preferences if not on listing
|
|
189
|
+
|
|
190
|
+
* chore(release): version
|
|
191
|
+
|
|
192
|
+
* fix: cannot save custom mailing, dropoff, or pickup address
|
|
193
|
+
|
|
194
|
+
* chore(release): version
|
|
195
|
+
|
|
196
|
+
* chore: converge on one axios version, remove peer dependency
|
|
197
|
+
|
|
198
|
+
* chore(release): version
|
|
199
|
+
|
|
200
|
+
* feat: simplify Waitlist component and use more flexible schema
|
|
201
|
+
|
|
202
|
+
* chore(release): version
|
|
203
|
+
|
|
204
|
+
* fix: lottery results uploads now save
|
|
205
|
+
|
|
206
|
+
* chore(release): version
|
|
207
|
+
|
|
208
|
+
* feat: add SRO unit type
|
|
209
|
+
|
|
210
|
+
* chore(release): version
|
|
211
|
+
|
|
212
|
+
* fix: paper application submission
|
|
213
|
+
|
|
214
|
+
* chore(release): version
|
|
215
|
+
|
|
216
|
+
* fix: choose-language context
|
|
217
|
+
|
|
218
|
+
* chore(release): version
|
|
219
|
+
|
|
220
|
+
* fix: applications/view hide prefs
|
|
221
|
+
|
|
222
|
+
* chore(release): version
|
|
223
|
+
|
|
224
|
+
* feat: overrides fallback to english, tagalog support
|
|
225
|
+
|
|
226
|
+
* chore(release): version
|
|
227
|
+
|
|
228
|
+
* fix: account translations
|
|
229
|
+
|
|
230
|
+
* chore(release): version
|
|
231
|
+
|
|
232
|
+
* fix: units with invalid ami chart
|
|
233
|
+
|
|
234
|
+
* chore(release): version
|
|
235
|
+
|
|
236
|
+
* fix: remove description for the partners programs
|
|
237
|
+
|
|
238
|
+
* fix: fix modal styles on mobile
|
|
239
|
+
|
|
240
|
+
* fix: visual improvement to programs form display
|
|
241
|
+
|
|
242
|
+
* fix: submission tests not running
|
|
243
|
+
* sign-in pages have been updated
|
|
244
|
+
* moved some helpers from ui-components to shared-helpers
|
|
245
|
+
* remove applicationDueTime field and consolidated into applicationDueDate
|
|
246
|
+
|
|
247
|
+
* chore(release): version
|
|
248
|
+
|
|
249
|
+
- @bloom-housing/backend-core@3.0.2-alpha.13
|
|
250
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.21
|
|
251
|
+
- @bloom-housing/partners@4.0.1-alpha.23
|
|
252
|
+
- @bloom-housing/public@4.0.1-alpha.22
|
|
253
|
+
- @bloom-housing/ui-components@4.0.1-alpha.21
|
|
254
|
+
* moved some helpers from ui-components to shared-helpers
|
|
255
|
+
* remove applicationDueTime field and consolidated into applicationDueDate
|
|
256
|
+
|
|
257
|
+
* chore(release): version
|
|
258
|
+
|
|
259
|
+
- @bloom-housing/backend-core@3.0.2-alpha.13
|
|
260
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.21
|
|
261
|
+
- @bloom-housing/partners@4.0.1-alpha.23
|
|
262
|
+
- @bloom-housing/public@4.0.1-alpha.22
|
|
263
|
+
- @bloom-housing/ui-components@4.0.1-alpha.21
|
|
264
|
+
* consolidated all event section components in one new component, uptake will require removing the deprecated components and uptaking EventSection
|
|
265
|
+
|
|
266
|
+
* chore(release): version
|
|
267
|
+
|
|
268
|
+
- @bloom-housing/backend-core@3.0.2-alpha.38
|
|
269
|
+
- @bloom-housing/shared-helpers@4.0.1-alpha.63
|
|
270
|
+
- @bloom-housing/partners@4.0.1-alpha.67
|
|
271
|
+
- @bloom-housing/public@4.0.1-alpha.66
|
|
272
|
+
- @bloom-housing/ui-components@4.0.1-alpha.62
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
6
278
|
## [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)
|
|
7
279
|
|
|
280
|
+
### Features
|
|
281
|
+
|
|
282
|
+
* veteran preference option translation strings ([6b25906](https://github.com/bloom-housing/bloom/commit/6b25906a9cc71532c67da3c546ba06f896bb3232))
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
## [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)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
### Features
|
|
292
|
+
|
|
293
|
+
## [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)
|
|
294
|
+
|
|
295
|
+
**Note:** Version bump only for package @bloom-housing/ui-components
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
## [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)
|
|
302
|
+
|
|
8
303
|
|
|
9
304
|
### Features
|
|
10
305
|
|
|
11
|
-
*
|
|
306
|
+
* 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))
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
## [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)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
### Bug Fixes
|
|
316
|
+
|
|
317
|
+
* 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))
|
|
12
318
|
|
|
13
319
|
|
|
14
320
|
|
|
15
321
|
|
|
16
322
|
|
|
323
|
+
## [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)
|
|
324
|
+
|
|
325
|
+
**Note:** Version bump only for package @bloom-housing/ui-components
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
## [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)
|
|
332
|
+
|
|
333
|
+
**Note:** Version bump only for package @bloom-housing/ui-components
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
## [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)
|
|
340
|
+
|
|
341
|
+
**Note:** Version bump only for package @bloom-housing/ui-components
|
|
17
342
|
# [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)
|
|
18
343
|
|
|
19
344
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2-alpha.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.
|
|
72
|
+
"@bloom-housing/backend-core": "^4.1.1-alpha.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": "
|
|
103
|
+
"gitHead": "8e3aad89d715c1733ae9a0ee7e3c744a8dff1cc8"
|
|
104
104
|
}
|
package/src/icons/Icon.tsx
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
CloseRound,
|
|
18
18
|
CloseSmall,
|
|
19
19
|
Cross,
|
|
20
|
+
Document,
|
|
20
21
|
DoubleHouse,
|
|
21
22
|
Down,
|
|
22
23
|
Download,
|
|
@@ -27,8 +28,10 @@ import {
|
|
|
27
28
|
Favorite,
|
|
28
29
|
File,
|
|
29
30
|
Forward,
|
|
31
|
+
FrontDoor,
|
|
30
32
|
Globe,
|
|
31
33
|
Hamburger,
|
|
34
|
+
House,
|
|
32
35
|
Info,
|
|
33
36
|
Left,
|
|
34
37
|
Lightbulb,
|
|
@@ -42,6 +45,7 @@ import {
|
|
|
42
45
|
Map,
|
|
43
46
|
MapThin,
|
|
44
47
|
Menu,
|
|
48
|
+
Messages,
|
|
45
49
|
Oval,
|
|
46
50
|
Phone,
|
|
47
51
|
Plus,
|
|
@@ -76,6 +80,7 @@ const IconMap = {
|
|
|
76
80
|
closeRound: CloseRound,
|
|
77
81
|
closeSmall: CloseSmall,
|
|
78
82
|
cross: Cross,
|
|
83
|
+
document: Document,
|
|
79
84
|
doubleHouse: DoubleHouse,
|
|
80
85
|
down: Down,
|
|
81
86
|
download: Download,
|
|
@@ -86,8 +91,10 @@ const IconMap = {
|
|
|
86
91
|
favorite: Favorite,
|
|
87
92
|
file: File,
|
|
88
93
|
forward: Forward,
|
|
94
|
+
frontDoor: FrontDoor,
|
|
89
95
|
globe: Globe,
|
|
90
96
|
hamburger: Hamburger,
|
|
97
|
+
house: House,
|
|
91
98
|
info: Info,
|
|
92
99
|
left: Left,
|
|
93
100
|
lightbulb: Lightbulb,
|
|
@@ -101,6 +108,7 @@ const IconMap = {
|
|
|
101
108
|
map: Map,
|
|
102
109
|
mapThin: MapThin,
|
|
103
110
|
menu: Menu,
|
|
111
|
+
messages: Messages,
|
|
104
112
|
oval: Oval,
|
|
105
113
|
phone: Phone,
|
|
106
114
|
plus: Plus,
|
package/src/icons/Icons.tsx
CHANGED
|
@@ -243,6 +243,14 @@ export const Cross = (props: IconProps) => {
|
|
|
243
243
|
)
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
+
export const Document = (props: IconProps) => {
|
|
247
|
+
return (
|
|
248
|
+
<svg viewBox="0 0 38 51" fill={props.fill ?? "currentColor"}>
|
|
249
|
+
<path d="M36.1495 12.6898L25.6104 2.28944C24.413 1.1119 22.8099 0.453501 21.1276 0.453501L6.33333 0.453491C2.83516 0.453491 0 3.25134 0 6.70349L0.000643229 44.2035C0.000643229 47.6556 2.8358 50.4535 6.33398 50.4535H31.6667C35.1648 50.4535 38 47.6556 38 44.2035V17.1039C38 15.4437 37.337 13.8617 36.1495 12.6898ZM22.1667 3.78163C22.6097 3.93456 23.0242 4.15721 23.366 4.49442L33.9051 14.8948C34.2495 15.2289 34.4771 15.639 34.6255 16.0785H23.75C22.8792 16.0785 22.1667 15.3754 22.1667 14.516V3.78163ZM34.8333 44.2035C34.8333 45.9262 33.4123 47.3285 31.6667 47.3285H6.33333C4.58771 47.3285 3.16667 45.9262 3.16667 44.2035V6.7035C3.16667 4.98084 4.58771 3.5785 6.33333 3.5785H19V14.516C19 17.1039 21.1276 19.2035 23.75 19.2035H34.8333V44.2035ZM9.5 27.016C9.5 27.8754 10.2125 28.5785 11.0833 28.5785H26.9167C27.7875 28.5785 28.5 27.8754 28.5 27.016C28.5 26.1566 27.7875 25.4535 26.9167 25.4535H11.0833C10.2125 25.4535 9.5 26.1566 9.5 27.016ZM26.9167 31.7035H11.0833C10.2125 31.7035 9.5 32.4066 9.5 33.266C9.5 34.1254 10.2125 34.8285 11.0833 34.8285H26.9167C27.7913 34.8285 28.5 34.1289 28.5 33.266C28.5 32.4031 27.7875 31.7035 26.9167 31.7035ZM26.9167 37.9535H11.0833C10.2125 37.9535 9.5 38.6566 9.5 39.516C9.5 40.3754 10.2125 41.0785 11.0833 41.0785H26.9167C27.7913 41.0785 28.5 40.3789 28.5 39.516C28.5 38.6531 27.7875 37.9535 26.9167 37.9535Z"></path>
|
|
250
|
+
</svg>
|
|
251
|
+
)
|
|
252
|
+
}
|
|
253
|
+
|
|
246
254
|
export const DoubleHouse = (props: IconProps) => {
|
|
247
255
|
return (
|
|
248
256
|
<svg viewBox="0 0 32 32" fill={props.fill ?? "currentColor"}>
|
|
@@ -367,6 +375,14 @@ export const Forward = (props: IconProps) => {
|
|
|
367
375
|
)
|
|
368
376
|
}
|
|
369
377
|
|
|
378
|
+
export const FrontDoor = (props: IconProps) => {
|
|
379
|
+
return (
|
|
380
|
+
<svg viewBox="0 0 51 46" fill={props.fill ?? "currentColor"}>
|
|
381
|
+
<path d="M20.2854 20.1611C19.1352 20.1611 18.202 21.4023 18.202 22.8547C18.202 24.3072 19.1309 25.7043 20.2854 25.7043C21.4399 25.7043 22.3687 24.4657 22.3687 22.9327C22.3687 21.3997 21.4399 20.1611 20.2854 20.1611ZM22.7506 0.88506L8.86176 4.34953C6.926 4.81265 5.70204 6.39851 5.70204 8.38452V42.3337H1.53537C0.768359 42.3337 0.146484 42.9573 0.146484 43.7195C0.146484 44.4817 0.768359 45.1053 1.53537 45.1053H25.1465C26.6803 45.1053 27.9243 43.8642 27.9243 42.3337V5.01705C27.9243 4.13881 27.6976 3.25537 27.1844 2.54082C26.1361 1.08115 24.3913 0.476079 22.7506 0.88506ZM25.1465 42.3337H8.47982V8.38538C8.47982 7.74679 8.91385 7.19447 9.5319 7.0403L23.4208 3.57583C23.8357 3.4641 24.2697 3.56457 24.6083 3.827C24.9555 4.09204 25.1465 4.49045 25.1465 4.92091V42.3337ZM48.7576 42.3337H44.5909V13.2322C44.5909 9.40567 41.4816 6.38119 37.7246 6.38119H32.0909C31.3239 6.38119 30.702 7.0015 30.702 7.68902C30.702 8.37655 31.3239 9.07481 32.0909 9.07481H37.6465C39.9477 9.07481 41.8131 10.9361 41.8131 13.2322V42.3337C41.8131 43.8642 43.0571 45.1053 44.5909 45.1053H48.7576C49.5246 45.1053 50.1465 44.4848 50.1465 43.7975C50.1465 42.9573 49.5215 42.3337 48.7576 42.3337Z"></path>
|
|
382
|
+
</svg>
|
|
383
|
+
)
|
|
384
|
+
}
|
|
385
|
+
|
|
370
386
|
export const Globe = (props: IconProps) => {
|
|
371
387
|
return (
|
|
372
388
|
<svg viewBox={"0 0 32 32"} fill={props.fill ?? "currentColor"}>
|
|
@@ -405,6 +421,14 @@ export const Hamburger = (props: IconProps) => {
|
|
|
405
421
|
)
|
|
406
422
|
}
|
|
407
423
|
|
|
424
|
+
export const House = (props: IconProps) => {
|
|
425
|
+
return (
|
|
426
|
+
<svg viewBox="0 0 51 45" fill={props.fill ?? "currentColor"}>
|
|
427
|
+
<path d="M49.7173 21.1504C50.2904 21.6532 50.3425 22.4593 49.7608 23.1094C49.3353 23.6815 48.4496 23.7335 47.8766 23.1528L44.6292 20.2923V37.4466C44.6292 41.278 41.5207 44.3812 37.6829 44.3812H12.6762C8.84011 44.3812 5.72991 41.278 5.72991 37.4466V20.2923L2.48165 23.1528C1.90597 23.7335 1.02805 23.6815 0.520446 23.1094C0.0127579 22.4593 0.0676337 21.6532 0.642961 21.1504L24.2592 0.346902C24.7888 -0.115634 25.5703 -0.115634 26.0999 0.346902L49.7173 21.1504ZM12.6762 41.6074H18.2332V27.7383C18.2332 26.204 19.4749 24.9644 21.0118 24.9644H29.3473C30.8842 24.9644 32.1258 26.204 32.1258 27.7383V41.6074H37.6829C39.9838 41.6074 41.8507 39.7437 41.8507 37.4466V17.9172L25.1795 3.23671L8.50843 17.9172V37.4466C8.50843 39.7437 10.3752 41.6074 12.6762 41.6074ZM21.0118 41.6074H29.3473V27.7383H21.0118V41.6074Z"></path>
|
|
428
|
+
</svg>
|
|
429
|
+
)
|
|
430
|
+
}
|
|
431
|
+
|
|
408
432
|
export const Info = (props: IconProps) => {
|
|
409
433
|
return (
|
|
410
434
|
<svg viewBox={"0 0 32 32"} fill={props.fill ?? "currentColor"}>
|
|
@@ -563,6 +587,14 @@ export const Menu = (props: IconProps) => {
|
|
|
563
587
|
)
|
|
564
588
|
}
|
|
565
589
|
|
|
590
|
+
export const Messages = (props: IconProps) => {
|
|
591
|
+
return (
|
|
592
|
+
<svg viewBox="0 0 50 41" fill={props.fill ?? "currentColor"}>
|
|
593
|
+
<path d="M32.4996 14.3369C32.4996 6.74316 25.2261 0.586914 16.2496 0.586914C7.27299 0.586914 -0.000448038 6.74316 -0.000448038 14.3369C-0.000448038 17.5775 1.33315 20.551 3.54955 22.8994C2.3644 25.426 0.530021 27.4361 0.506583 27.4604C-0.00232307 27.9944 -0.142557 28.7814 0.149708 29.4658C0.449083 30.1494 1.11361 30.5869 1.84799 30.5869C6.08158 30.5869 9.48549 28.9674 11.6839 27.5268C13.1324 27.8838 14.6636 28.0869 16.2496 28.0869C25.2261 28.0869 32.4996 21.9307 32.4996 14.3369ZM16.2496 25.5869C14.9246 25.5869 13.5902 25.423 12.2847 25.1L11.2261 24.8369L10.3121 25.4385C8.71596 26.4838 6.28237 27.7033 3.29252 28.0143C4.0251 27.0682 5.03471 25.6213 5.81127 23.9658L6.5333 22.426L5.3683 21.1885C3.49174 19.1963 2.49955 16.8291 2.49955 14.3369C2.49955 8.13379 8.60112 3.08691 16.2496 3.08691C23.898 3.08691 29.9996 8.13379 29.9996 14.3369C29.9996 20.54 23.8277 25.5869 16.2496 25.5869ZM47.3746 34.6025C49.0308 32.3916 49.9996 29.7197 49.9996 26.8369C49.9996 19.2432 43.2808 13.0869 34.9996 13.0869C34.975 13.0869 34.9512 13.0901 34.9266 13.0903C34.9605 13.501 34.9996 13.915 34.9996 14.3369C34.9996 14.7611 34.9631 15.1775 34.926 15.5939C34.9527 15.5947 34.9761 15.5869 34.9996 15.5869C41.8918 15.5869 47.4996 20.6338 47.4996 26.8369C47.4996 29.0783 46.7633 31.2471 45.3707 33.1072L44.3488 34.4721L45.2464 35.9213C45.7596 36.7502 46.2761 37.4635 46.7003 38.0103C45.2738 37.8611 43.8527 37.4928 42.4582 36.9096L41.4668 36.4951L40.4839 36.9293C38.7418 37.6963 36.898 38.0869 34.9996 38.0869C29.1363 38.0869 24.2417 34.4221 22.898 29.5166C22.1089 29.7772 21.2964 29.9957 20.4605 30.1628C22.0855 36.1416 27.898 40.5869 34.9996 40.5869C37.3293 40.5869 39.5261 40.0858 41.4933 39.2166C43.3589 40.001 45.6011 40.5869 48.148 40.5869C48.8822 40.5869 49.5472 40.1518 49.8457 39.4682C50.1379 38.7839 49.9976 37.9963 49.4888 37.4627C49.4761 37.4463 48.4058 36.2744 47.3746 34.6025Z"></path>
|
|
594
|
+
</svg>
|
|
595
|
+
)
|
|
596
|
+
}
|
|
597
|
+
|
|
566
598
|
export const Oval = (props: IconProps) => {
|
|
567
599
|
return (
|
|
568
600
|
<svg viewBox={"0 0 32 32"} fill={props.fill ?? "currentColor"}>
|
package/src/locales/general.json
CHANGED
|
@@ -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
|
|
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",
|
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import "./FooterNav.scss"
|
|
3
3
|
|
|
4
4
|
export interface FooterNavProps {
|
|
5
|
-
children
|
|
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
|
-
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
{
|
|
64
|
+
{subContent && (
|
|
58
65
|
<>
|
|
59
66
|
<br />
|
|
60
|
-
{
|
|
67
|
+
{subContent}
|
|
61
68
|
</>
|
|
62
69
|
)}
|
|
63
70
|
</span>
|