@bloom-housing/ui-components 4.2.2-alpha.4 → 4.2.2-alpha.7

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,33 @@
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.2.2-alpha.7](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.6...@bloom-housing/ui-components@4.2.2-alpha.7) (2022-04-20)
7
+
8
+ **Note:** Version bump only for package @bloom-housing/ui-components
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.2.2-alpha.6](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.5...@bloom-housing/ui-components@4.2.2-alpha.6) (2022-04-20)
15
+
16
+ **Note:** Version bump only for package @bloom-housing/ui-components
17
+
18
+
19
+
20
+
21
+
22
+ ## [4.2.2-alpha.5](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.4...@bloom-housing/ui-components@4.2.2-alpha.5) (2022-04-19)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * footer nav widths ([42aef6f](https://github.com/bloom-housing/bloom/commit/42aef6f74a8a7e27c6bdb870cb6c69c7569f41c0))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [4.2.2-alpha.4](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.3...@bloom-housing/ui-components@4.2.2-alpha.4) (2022-04-18)
7
34
 
8
35
 
package/index.ts CHANGED
@@ -98,6 +98,7 @@ export * from "./src/overlays/Drawer"
98
98
  export * from "./src/overlays/LoadingOverlay"
99
99
 
100
100
  /* Page Components */
101
+ export * from "./src/page_components/ApplicationTimeline"
101
102
  export * from "./src/page_components/listing/AdditionalFees"
102
103
  export * from "./src/page_components/listing/ContentAccordion"
103
104
  export * from "./src/page_components/listing/ListingCard"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "4.2.2-alpha.4",
3
+ "version": "4.2.2-alpha.7",
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.2.2-alpha.1",
72
+ "@bloom-housing/backend-core": "^4.2.2-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": "7666295cf235fec42b226acd5c2468309af914b6"
103
+ "gitHead": "96865ec8d894f783ff7e66bfbf0629573ac05550"
104
104
  }
@@ -30,4 +30,24 @@
30
30
  list-style: disc;
31
31
  @apply ml-6;
32
32
  }
33
+
34
+ &.markdown-informational {
35
+ font-size: 0.9em;
36
+ @apply text-gray-750;
37
+
38
+ h3 {
39
+ @apply font-sans;
40
+ @apply font-bold;
41
+ @apply text-base;
42
+ @apply text-black;
43
+ }
44
+
45
+ li {
46
+ @apply mb-4;
47
+ }
48
+
49
+ a {
50
+ @apply underline;
51
+ }
52
+ }
33
53
  }
@@ -354,22 +354,28 @@
354
354
  "application.referralApplication.furtherInformation": "For further information",
355
355
  "application.referralApplication.instructions": "The permanent supportive housing units are referred directly through <JURISDICTION> Coordinated Entry System. Households experiencing homelessness can call <PHONE_NUMBER> in order to get connected to an Access Point to learn more about the coordinated entry system and access housing-related resources and information.",
356
356
  "application.referralApplication.phoneNumber": "211",
357
+ "application.review.confirmation.applicationReceived": "Application \nreceived",
358
+ "application.review.confirmation.applicationsClosed": "Application \nclosed",
359
+ "application.review.confirmation.applicationsRanked": "Application \nranked",
357
360
  "application.review.confirmation.browseMore": "Browse more listings",
358
361
  "application.review.confirmation.createAccountParagraph": "Creating an account will save your information for future applications, and you can check the status of this application anytime.",
362
+ "application.review.confirmation.createAccount": "### Would you like to create an account?\n\nCreating an account will save your information for future applications, and you can check the status of this application anytime.",
359
363
  "application.review.confirmation.createAccountTitle": "Would you like to create an account?",
360
364
  "application.review.confirmation.doNotSubmitTitle": "Do not submit another application for this listing.",
361
365
  "application.review.confirmation.imdone": "No thanks, I'm done.",
362
- "application.review.confirmation.lotteryNumber": "Here's your application confirmation number",
366
+ "application.review.confirmation.lotteryNumber": "Your confirmation number",
363
367
  "application.review.confirmation.needToUpdate": "If you need to update information on your application, do not apply again. Contact the agent if you did not receive an email confirmation.",
364
- "application.review.confirmation.pleaseWriteNumber": "Please write down your application number and keep it in a safe place. We have also emailed this number to you if you provided an email address.",
368
+ "application.review.confirmation.pleaseWriteNumber": "Please write down your application number and keep it in a safe place. We have also emailed this number to you if you have provided an email address.",
365
369
  "application.review.confirmation.print": "View submitted application and print a copy.",
366
370
  "application.review.confirmation.title": "Thanks. We have received your application for ",
371
+ "application.review.confirmation.needToMakeUpdates": "### Need to make updates?\n\nIf you need to update information on your application, do not apply again. Instead, contact the agent for this listing.\n\n**%{agentName}** \n%{agentPhone} \n%{agentEmail}\n\n**Office Hours** \n%{agentOfficeHours}\n\nContact the agent if you did not receive an email confirmation.",
367
372
  "application.review.confirmation.whatExpectFirstParagraph.attend": " You do not need to attend the housing lottery. Results will be posted ",
368
373
  "application.review.confirmation.whatExpectFirstParagraph.held": "The lottery will be held on ",
369
374
  "application.review.confirmation.whatExpectFirstParagraph.listing": "on the listing. ",
370
375
  "application.review.confirmation.whatExpectFirstParagraph.refer": "Please refer to the listing for the lottery results date.",
371
376
  "application.review.confirmation.whatExpectSecondparagraph": "Applicants will be contacted in order until vacancies are filled. Should your application be chosen, be prepared to fill out a more detailed application and provide required supporting documents.",
372
377
  "application.review.confirmation.whatExpectTitle": "What to expect next",
378
+ "application.review.confirmation.whatHappensNext": "### What happens next?\n\n* After all applications are submitted, the property manager will begin processing applications.\n\n* Eligibile applicants will be contacted by on a **first come first serve** basis until vacancies are filled\n\n* If you are contacted for an interview, you will need to fill out a more detailed application and provide supporting documents.",
373
379
  "application.review.demographics.ethnicityLabel": "Which best describes your ethnicity?",
374
380
  "application.review.demographics.ethnicityOptions.hispanicLatino": "Hispanic / Latino",
375
381
  "application.review.demographics.ethnicityOptions.notHispanicLatino": "Not Hispanic / Latino",
@@ -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
 
@@ -0,0 +1,36 @@
1
+ .markdown ul.application-timeline {
2
+ @apply mb-8;
3
+ @apply ml-0;
4
+ }
5
+
6
+ .application-timeline {
7
+ .progress-nav__item {
8
+ @apply pt-0;
9
+
10
+ text-transform: unset;
11
+
12
+ .absolute {
13
+ margin-top: 0.45rem;
14
+ z-index: 2;
15
+ margin-left: -0.4rem;
16
+ }
17
+
18
+ p {
19
+ padding-top: 3.8em;
20
+ }
21
+ }
22
+
23
+ .progress-nav__item.is-active::before,
24
+ .progress-nav__item.is-disabled::before {
25
+ height: 2rem;
26
+ width: 2rem;
27
+ }
28
+
29
+ .progress-nav__item.is-active::before {
30
+ @apply bg-green-700;
31
+ }
32
+
33
+ .progress-nav__item::after {
34
+ top: 1rem;
35
+ }
36
+ }
@@ -0,0 +1,33 @@
1
+ import React from "react"
2
+ import Markdown from "markdown-to-jsx"
3
+ import { Icon } from "../icons/Icon"
4
+ import { t } from "../helpers/translator"
5
+ import "./ApplicationTimeline.scss"
6
+
7
+ const ApplicationTimeline = () => (
8
+ <ul
9
+ className="progress-nav application-timeline"
10
+ aria-label="Steps of processing your application"
11
+ >
12
+ <li className="progress-nav__item is-active" aria-current="step">
13
+ <span className="text-white absolute">
14
+ <Icon symbol="check" size="base" />
15
+ </span>
16
+ <Markdown className="font-bold" options={{ disableParsingRawHTML: true }}>
17
+ {t("application.review.confirmation.applicationReceived")}
18
+ </Markdown>
19
+ </li>
20
+ <li className="progress-nav__item is-disabled">
21
+ <Markdown options={{ disableParsingRawHTML: true }}>
22
+ {t("application.review.confirmation.applicationsClosed")}
23
+ </Markdown>
24
+ </li>
25
+ <li className="progress-nav__item is-disabled">
26
+ <Markdown options={{ disableParsingRawHTML: true }}>
27
+ {t("application.review.confirmation.applicationsRanked")}
28
+ </Markdown>
29
+ </li>
30
+ </ul>
31
+ )
32
+
33
+ export { ApplicationTimeline }