@bloom-housing/ui-components 5.0.1-alpha.2 → 5.0.1-alpha.5
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 +35 -0
- package/package.json +2 -2
- package/src/lists/PreferencesList.scss +13 -9
- package/src/locales/es.json +2 -1
- package/src/locales/general.json +2 -1
- package/src/locales/tl.json +2 -1
- package/src/locales/vi.json +2 -1
- package/src/locales/zh.json +2 -1
- package/src/page_components/sign-in/FormSignInMFAType.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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
|
+
## [5.0.1-alpha.5](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.4...@bloom-housing/ui-components@5.0.1-alpha.5) (2022-06-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* application due date sentence ([#2822](https://github.com/bloom-housing/bloom/issues/2822)) ([62a870e](https://github.com/bloom-housing/bloom/commit/62a870e3696849dc751e410282279e23071db544))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [5.0.1-alpha.4](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.3...@bloom-housing/ui-components@5.0.1-alpha.4) (2022-06-23)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **preferenceslist:** add storybook example without subtitle ([4a32106](https://github.com/bloom-housing/bloom/commit/4a32106d0f171822961e4dcee5ee9013ee23b329))
|
|
23
|
+
* **preferenceslist:** move ordinal at mobile bp; update text color for contrast ([b063f5d](https://github.com/bloom-housing/bloom/commit/b063f5dd0813778f1d77efa510ee3a2d788be717)), closes [#2827](https://github.com/bloom-housing/bloom/issues/2827)
|
|
24
|
+
* **preferenceslist:** move ordinal left; make other elements align horizontally ([7034cc7](https://github.com/bloom-housing/bloom/commit/7034cc76a04e8c395ae3a51b2f2c4e5cef944086)), closes [Issue#2827](https://github.com/Issue/issues/2827)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [5.0.1-alpha.3](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.2...@bloom-housing/ui-components@5.0.1-alpha.3) (2022-06-23)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* mfa verificication fields ([#2842](https://github.com/bloom-housing/bloom/issues/2842)) ([32a3df6](https://github.com/bloom-housing/bloom/commit/32a3df66a883dcffca8b304ba769f8a2d8c5c240))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [5.0.1-alpha.2](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.1...@bloom-housing/ui-components@5.0.1-alpha.2) (2022-06-23)
|
|
7
42
|
|
|
8
43
|
**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": "5.0.1-alpha.
|
|
3
|
+
"version": "5.0.1-alpha.5",
|
|
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",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"ts-jest": "^26.4.1",
|
|
109
109
|
"typesafe-actions": "^5.1.0"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "dead9ad5ace1c611522db9b0185da8121da2adf6"
|
|
112
112
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.preferences-list__item {
|
|
2
2
|
.info-card__title {
|
|
3
3
|
@apply mb-0;
|
|
4
|
-
@apply ml-4;
|
|
5
4
|
|
|
6
|
-
@screen
|
|
7
|
-
|
|
5
|
+
@media (max-width: $screen-sm) {
|
|
6
|
+
margin-left: 0px;
|
|
7
|
+
margin-top: var(--bloom-s3);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -37,7 +37,12 @@
|
|
|
37
37
|
width: 2.5rem;
|
|
38
38
|
|
|
39
39
|
@screen md {
|
|
40
|
-
margin-left: -
|
|
40
|
+
margin-left: -3rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (max-width: $screen-sm) {
|
|
44
|
+
margin-left: 0px;
|
|
45
|
+
float: none;
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
sup {
|
|
@@ -47,17 +52,16 @@
|
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
.preferences-list__subtitle {
|
|
50
|
-
@apply text-gray-
|
|
55
|
+
@apply text-gray-750;
|
|
51
56
|
@apply text-tiny;
|
|
52
|
-
@apply ml-4;
|
|
53
57
|
|
|
54
|
-
@screen
|
|
55
|
-
|
|
58
|
+
@media (max-width: $screen-sm) {
|
|
59
|
+
margin-left: 0px;
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.preferences-list__description {
|
|
60
|
-
@apply text-gray-
|
|
64
|
+
@apply text-gray-750;
|
|
61
65
|
@apply text-sm;
|
|
62
66
|
@apply mt-3;
|
|
63
67
|
}
|
package/src/locales/es.json
CHANGED
|
@@ -322,7 +322,8 @@
|
|
|
322
322
|
"application.review.sameAddressAsApplicant": "Misma dirección que el solicitante",
|
|
323
323
|
"application.review.takeAMomentToReview": "Dedique un momento a revisar su información antes de enviar su solicitud.",
|
|
324
324
|
"application.review.terms.confirmCheckboxText": "Convengo y comprendo que no puedo cambiar nada después de enviar la solicitud.",
|
|
325
|
-
"application.review.terms.
|
|
325
|
+
"application.review.terms.textSubmissionDate": "Esta solicitud debe enviarse antes del %{applicationDueDate}.<br><br>",
|
|
326
|
+
"application.review.terms.text": "El agente inmobiliario se comunicará con los solicitantes por sorteo y orden de preferencia o por lista de espera hasta que todas las vacantes estén completas. Toda la información será revisada y se confirmará su elegibilidad. En caso de haber realizado alguna declaración fraudulenta_ su solicitud y las solicitudes duplicadas del mismo hogar pueden eliminarse de la lista de espera ya que solo se permite una solicitud por hogar. En caso que usted desee que su solicitud sea revisada_ deberá completar una solicitud más detallada y brindar los documentos de respaldo que sean requeridos. Para obtener más información_ por favor_ contáctese con la empresa constructora o el agente de arrendamiento publicado en el anuncio. Puede contactarse directamente directamente con la empresa constructora o con el administrador de la propiedad si hay alguna actualización en su solicitud.<br><br> En caso de no poder verificar alguna preferencia para el sorteo de vivienda que haya reclamado_ no recibirá la preferencia pero tampoco recibirá una penalización.< br><br> El hecho de haber completado la solicitud de vivienda no le da derecho al acceso de la vivienda ni indica que es elegible para vivienda; todos los solicitantes serán seleccionados tal como se indica en los Criterios de selección de residentes de la propiedad. No ofrecemos garantías sobre la obtención de vivienda.<br><br> Una vez que haya enviado su solicitud en línea_ no podrá modificarla.<br><br> Por la presente_ declaro que lo anterior es verdadero y exacto_ y reconozco que cualquier declaración errónea realizada de manera fraudulenta o negligente en esta solicitud puede ser eliminada de la lotería.<br><br>",
|
|
326
327
|
"application.review.terms.title": "Términos",
|
|
327
328
|
"application.review.voucherOrSubsidy": "Cupón de vivienda o subsidio de alquiler",
|
|
328
329
|
"application.start.whatToExpect.info1": "Primero, le haremos preguntas sobre usted y las personas con las que piensa vivir. Luego, le haremos preguntas sobre sus ingresos. Finalmente, veremos si usted reúne los requisitos de alguna preferencia de lotería para vivienda de precio accesible.",
|
package/src/locales/general.json
CHANGED
|
@@ -438,7 +438,8 @@
|
|
|
438
438
|
"application.review.sameAddressAsApplicant": "Same Address as Applicant",
|
|
439
439
|
"application.review.takeAMomentToReview": "Take a moment to review your information before submitting your application.",
|
|
440
440
|
"application.review.terms.confirmCheckboxText": "I agree and understand that I cannot change anything after I submit.",
|
|
441
|
-
"application.review.terms.
|
|
441
|
+
"application.review.terms.textSubmissionDate": "This application must be submitted by %{applicationDueDate}.<br><br>",
|
|
442
|
+
"application.review.terms.text": "Applicants will be contacted by the leasing agent in lottery and preference order or waitlist order until vacancies are filled. All of the information that you have provided will be verified and your eligibility confirmed. Your application may be removed from the waitlist if you have made any fraudulent statements and duplicate applications from the same household may be removed as only one application per household is permitted. Should your application be chosen for review, be prepared to fill out a more detailed application and provide required supporting documents. For more information, please contact the developer or leasing agent posted in the listing. Please contact the developer/property manager directly if there are any updates to your application.<br><br>If we cannot verify a housing lottery preference that you have claimed, you will not receive the preference but will not be otherwise penalized.<br><br>Completing this housing application does not entitle you to housing or indicate you are eligible for housing; all applicants will be screened as outlined in the property’s Resident Selection Criteria. We offer no guarantees about obtaining housing.<br><br>You cannot change your online application after you submit.<br><br>I declare that the foregoing is true and accurate, and acknowledge that any misstatement fraudulently or negligently made on this application may result in removal from the lottery.<br><br>",
|
|
442
443
|
"application.review.terms.title": "Terms",
|
|
443
444
|
"application.review.voucherOrSubsidy": "Housing Voucher or Rental Subsidy",
|
|
444
445
|
"application.start.whatToExpect.info1": "First we'll ask about you and the people you plan to live with. Then, we'll ask about your income. Finally, we'll see if you qualify for any affordable housing lottery preference.",
|
package/src/locales/tl.json
CHANGED
|
@@ -275,7 +275,8 @@
|
|
|
275
275
|
"application.review.sameAddressAsApplicant": "Parehong Address ng Aplikante",
|
|
276
276
|
"application.review.takeAMomentToReview": "Maglaan ng ilang sandali upang suriin ang iyong impormasyon bago isumite ang iyong application.",
|
|
277
277
|
"application.review.terms.confirmCheckboxText": "Sumasang-ayon ako at nauunawaan na hindi ko mababago ang anuman pagkatapos kong magsumite.",
|
|
278
|
-
"application.review.terms.
|
|
278
|
+
"application.review.terms.textSubmissionDate": "Ang application na ito ay dapat na isumite bago ang %{applicationDueDate}.<br><br>",
|
|
279
|
+
"application.review.terms.text": "Makikipag-ugnayan ang mga aplikante ng ahente sa lottery ng pagpaparenta at preference order o waitlist order hanggang sa mapunan ang mga bakante. Ang lahat ng impormasyon na iyong ibinigay ay i-ve-verify ang kukumpirmahin kung kwalipikado ka. Maaaring alisin ang iyong application sa waitlist kung gumawa ka ng anumang mga mapanlinlang na pahayag at maaaring alisin ang mga dobleng application mula sa parehong sambahayan dahil isang application lamang sa bawat sambahayan ang pinahihintulutan. Kung mapili ang iyong application para sa pagsusuri_ maging handa na punan ang isang mas detalyadong application at magbigay ng mga kinakailangang karagdagang dokumento. Para sa higit pang impormasyon_ makipag-ugnayan sa developer o ahente sa pagpapaupa na naka-post sa listahan. Makipag-ugnayan nang direkta sa developer/property manager kung mayroong anumang mga update sa iyong application.<br><br>Kung hindi namin ma-verify ang isang kagustuhan sa lottery sa pabahay na iyong nakuha_ hindi mo matatanggap ang kagustuhan ngunit hindi mapaparusahan.< br><br>Ang pagkumpleto ng application sa pabahay na ito ay hindi nagbibigay sa iyo ng karapatan sa pabahay o nagpapahiwatig na ikaw ay karapat-dapat para sa pabahay; lahat ng mga aplikante ay sasalain ayon sa nakabalangkas sa Pamantayan sa Pagpili ng Residente ng property. Hindi kami nag-aalok ng mga garantiya tungkol sa pagkuha ng pabahay.<br><br>Hindi mo mababago ang iyong online na application pagkatapos mong isumite.<br><br>Ipinapahayag ko na ang nabanggit ay totoo at tumpak_ at kinikilala na ang anumang maling pahayag ay mapanlinlang o kapabayaan na ginawa sa ang application na ito ay maaaring magresulta sa pag-alis mula sa lottery.<br><br>",
|
|
279
280
|
"application.review.terms.title": "Mga Tuntunin",
|
|
280
281
|
"application.review.voucherOrSubsidy": "Voucher ng Pabahay o Subsidiya ng Pagrenta",
|
|
281
282
|
"application.start.whatToExpect.info1": "Magtatanong muna kami tungkol sa iyo at sa mga taong pinaplano mong makasama. Pagkatapos_ tatanungin namin ang iyong kita. Sa huli_ titingnan natin kung kwalipikado ka para sa anumang pagpili sa lottery ng abot-kayang pabahay.",
|
package/src/locales/vi.json
CHANGED
|
@@ -322,7 +322,8 @@
|
|
|
322
322
|
"application.review.sameAddressAsApplicant": "Cùng Địa chỉ với Ứng viên",
|
|
323
323
|
"application.review.takeAMomentToReview": "Hãy dành một chút thời gian để xem lại thông tin của quý vị trước khi nộp đơn ghi danh.",
|
|
324
324
|
"application.review.terms.confirmCheckboxText": "Tôi đồng ý và hiểu rằng tôi không thể thay đổi bất cứ thông tin nào sau khi tôi nộp đơn.",
|
|
325
|
-
"application.review.terms.
|
|
325
|
+
"application.review.terms.textSubmissionDate": "Đơn đăng ký này phải được gửi trước %{applicationDueDate}.<br><br>",
|
|
326
|
+
"application.review.terms.text": "Người đăng ký sẽ được đại lý cho thuê liên hệ theo thứ tự bốc thăm và thứ tự ưu tiên hoặc thứ tự danh sách chờ cho đến khi hết căn hộ trống. Tất cả thông tin quý vị đã cung cấp sẽ được xác minh và xác nhận tính đủ điều kiện. Đơn đăng ký của quý vị có thể bị loại khỏi danh sách chờ nếu quý vị có bất kỳ tuyên bố gian dối nào_ các đơn đăng ký trùng lặp từ cùng một hộ gia đình có thể bị loại vì mỗi hộ gia đình chỉ được phép đăng ký một đơn. Nếu đơn đăng ký của quý vị được chọn để xem xét_ hãy chuẩn bị để điền vào đơn đăng ký chi tiết hơn và cung cấp các tài liệu hỗ trợ cần thiết. Để biết thêm thông tin_ vui lòng liên hệ với chủ đầu tư hoặc đại lý cho thuê có tên trong danh sách. Vui lòng liên hệ trực tiếp với chủ đầu tư/người quản lý khu nhà nếu có bất kỳ cập nhật nào đối với đơn đăng ký của quý vị.<br><br>Nếu chúng tôi không thể xác minh mức ưu tiên bốc thăm nhà ở mà quý vị đã yêu cầu_ quý vị sẽ không nhận được ưu tiên đó nhưng sẽ không bị phạt.<br><br>Việc hoàn thành đơn đăng ký nhà ở này không đồng nghĩa với việc quý vị sẽ có được nhà ở hoặc cho thấy quý vị đủ điều kiện nhận nhà ở; tất cả những người nộp đơn sẽ được sàng lọc như đã nêu trong Tiêu chí Lựa chọn Cư dân của khu nhà. Chúng tôi không đảm bảo về việc có được nhà ở.<br><br>Quý vị không thể thay đổi đơn đăng ký trực tuyến sau khi gửi.<br><br>Tôi tuyên bố rằng những điều nêu trên là đúng và chính xác_ đồng thời thừa nhận rằng bất kỳ sai sót nào do gian lận hoặc do sơ suất trong đơn đăng ký này đều có thể dẫn đến việc bị loại khỏi bốc thăm.<br><br>",
|
|
326
327
|
"application.review.terms.title": "Các điều khoản",
|
|
327
328
|
"application.review.voucherOrSubsidy": "Phiếu chọn Nhà hoặc Trợ cấp Tiền thuê nhà",
|
|
328
329
|
"application.start.whatToExpect.info1": "Trước tiên, chúng tôi sẽ hỏi về quý vị và những người quý vị dự định sống cùng. Sau đó, chúng tôi sẽ hỏi về thu nhập của quý vị. Cuối cùng, chúng tôi sẽ xem liệu quý vị có hội đủ điều kiện cho bất kỳ lựa chọn ưu tiên rút thăm nhà ở giá phải chăng nào không.",
|
package/src/locales/zh.json
CHANGED
|
@@ -322,7 +322,8 @@
|
|
|
322
322
|
"application.review.sameAddressAsApplicant": "與申請人同一地址",
|
|
323
323
|
"application.review.takeAMomentToReview": "在提交申請前,請花一點時間檢視您的資料。",
|
|
324
324
|
"application.review.terms.confirmCheckboxText": "本人同意並明白,在提交申請後,本人便不能更改任何內容。",
|
|
325
|
-
"application.review.terms.
|
|
325
|
+
"application.review.terms.textSubmissionDate": "此申請必須於 %{applicationDueDate} 前完成提交。<br><br>",
|
|
326
|
+
"application.review.terms.text": "租屋仲介人員聯絡申請人時會採用抽籤、優先權利順序或候補名單順序的方式聯絡申請人,直到補滿缺額。您提供的所有資訊會經過驗證,且您的資格會受到確認。如果您做出任何虛假陳述,即會從候補名單中遭到移除,且一戶家戶僅限申請一次,因此我們也會移除相同家戶的重複申請案件。如果您的申請進入審核程序,請準備填寫更詳細的申請文件,並提供必要的佐證文件。如需更多資訊,請聯絡於刊登資訊中發佈的開發商或租屋仲介人員。如申請出現任何更新內容,請直接聯絡開發商/房地產經理。<br><br>如果我們無法驗證您聲稱的住房抽籤優先權利,您將無法取得優先權利,但也不會受罰。<br><br>填寫此住房申請不會讓您有權享受住房,亦不表示您符合住房資格;所有申請人皆必須接受如房地產中居民選擇標準概述內容的篩選程序。我們不保證取得住房資格。<br><br>您在提交文件後無法變更線上申請。<br><br>我聲明前述內容皆為真實且準確,且知悉此次申請如有任何虛假或過失陳述,即可能導致失去抽籤資格。<br><br>",
|
|
326
327
|
"application.review.terms.title": "條款",
|
|
327
328
|
"application.review.voucherOrSubsidy": "房屋補助券或租金補貼",
|
|
328
329
|
"application.start.whatToExpect.info1": "首先,我們會詢問關於您本人以及您打算與之同住者的資料。接着,我們會詢問您的收入。最後,我們會了解您是否符合資格獲得任何可負擔房屋的抽籤優先權。",
|
|
@@ -75,7 +75,7 @@ const FormSignInMFAType = ({
|
|
|
75
75
|
<Button
|
|
76
76
|
styleType={AppearanceStyleType.accentCool}
|
|
77
77
|
data-test-id="verify-by-email"
|
|
78
|
-
onClick={
|
|
78
|
+
onClick={emailOnClick}
|
|
79
79
|
>
|
|
80
80
|
{t("nav.signInMFA.verifyByEmail")}
|
|
81
81
|
</Button>
|
|
@@ -84,7 +84,7 @@ const FormSignInMFAType = ({
|
|
|
84
84
|
<Button
|
|
85
85
|
styleType={AppearanceStyleType.accentCool}
|
|
86
86
|
data-test-id="verify-by-phone"
|
|
87
|
-
onClick={
|
|
87
|
+
onClick={smsOnClick}
|
|
88
88
|
>
|
|
89
89
|
{t("nav.signInMFA.verifyByPhone")}
|
|
90
90
|
</Button>
|