@bloom-housing/ui-components 7.3.2 → 8.0.0

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.
Files changed (170) hide show
  1. package/dist/src/actions/Button.stories.js +1 -5
  2. package/dist/src/actions/Button.stories.js.map +1 -1
  3. package/dist/src/blocks/HousingCounselor.js +2 -2
  4. package/dist/src/blocks/InfoCard.js +1 -1
  5. package/dist/src/blocks/StandardCard.stories.js +1 -1
  6. package/dist/src/blocks/ViewItem.js +1 -1
  7. package/dist/src/blocks/ViewItem.js.map +1 -1
  8. package/dist/src/footers/ExygyFooter.js +1 -1
  9. package/dist/src/headers/SiteHeader.js +1 -1
  10. package/dist/src/headers/SiteHeader.js.map +1 -1
  11. package/dist/src/headers/SiteHeader.stories.js +2 -2
  12. package/dist/src/headers/SiteHeader.stories.js.map +1 -1
  13. package/dist/src/helpers/preferences.js +1 -1
  14. package/dist/src/helpers/preferences.js.map +1 -1
  15. package/dist/src/notifications/ApplicationStatus.js +2 -2
  16. package/dist/src/notifications/ApplicationStatus.js.map +1 -1
  17. package/dist/src/notifications/ApplicationStatus.stories.js +8 -24
  18. package/dist/src/notifications/ApplicationStatus.stories.js.map +1 -1
  19. package/dist/src/page_components/NavigationHeader.d.ts +1 -1
  20. package/dist/src/page_components/NavigationHeader.js.map +1 -1
  21. package/dist/src/page_components/forgot-password/FormForgotPassword.js +1 -3
  22. package/dist/src/page_components/forgot-password/FormForgotPassword.js.map +1 -1
  23. package/dist/src/page_components/listing/AdditionalFees.js +1 -1
  24. package/dist/src/page_components/listing/ContentAccordion.stories.js +1 -1
  25. package/dist/src/page_components/listing/ListingCard.stories.js +5 -17
  26. package/dist/src/page_components/listing/ListingCard.stories.js.map +1 -1
  27. package/dist/src/page_components/listing/listing_sidebar/Contact.js +2 -2
  28. package/dist/src/page_components/listing/listing_sidebar/Contact.js.map +1 -1
  29. package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js +1 -1
  30. package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js.map +1 -1
  31. package/dist/src/page_components/listing/listing_sidebar/GetApplication.js +3 -3
  32. package/dist/src/page_components/listing/listing_sidebar/GetApplication.js.map +1 -1
  33. package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js +1 -1
  34. package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js.map +1 -1
  35. package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.js +1 -1
  36. package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js +2 -2
  37. package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js.map +1 -1
  38. package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js +1 -1
  39. package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js.map +1 -1
  40. package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js +1 -1
  41. package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js.map +1 -1
  42. package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.js +1 -1
  43. package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js +3 -3
  44. package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js.map +1 -1
  45. package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js +1 -1
  46. package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js.map +1 -1
  47. package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js +4 -4
  48. package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js.map +1 -1
  49. package/dist/src/page_components/sign-in/FormSignIn.js +1 -1
  50. package/dist/src/page_components/sign-in/FormSignIn.js.map +1 -1
  51. package/dist/src/page_components/sign-in/FormSignInAddPhone.js.map +1 -1
  52. package/dist/src/page_components/sign-in/FormSignInErrorBox.d.ts +1 -1
  53. package/dist/src/page_components/sign-in/FormSignInErrorBox.js +1 -3
  54. package/dist/src/page_components/sign-in/FormSignInErrorBox.js.map +1 -1
  55. package/dist/src/page_components/sign-in/FormSignInMFACode.js.map +1 -1
  56. package/dist/src/page_components/sign-in/FormSignInMFAType.js.map +1 -1
  57. package/dist/src/page_components/sign-in/FormTerms.js.map +1 -1
  58. package/dist/src/page_components/sign-in/ResendConfirmationModal.js.map +1 -1
  59. package/dist/src/prototypes/SummaryCard.stories.js +1 -1
  60. package/dist/src/sections/InfoCardGrid.js +1 -1
  61. package/dist/src/sections/InfoCardGrid.js.map +1 -1
  62. package/dist/src/tables/AgPagination.js +1 -1
  63. package/dist/src/tables/AgPagination.js.map +1 -1
  64. package/dist/src/tables/GroupedTable.js +1 -1
  65. package/dist/src/tables/StandardTable.js +1 -1
  66. package/package.json +2 -2
  67. package/src/actions/Button.docs.mdx +3 -3
  68. package/src/actions/Button.scss +6 -6
  69. package/src/actions/Button.stories.tsx +1 -5
  70. package/src/blocks/Card.docs.mdx +3 -3
  71. package/src/blocks/DashBlocks.scss +1 -1
  72. package/src/blocks/FormCard.scss +3 -3
  73. package/src/blocks/HousingCounselor.tsx +2 -2
  74. package/src/blocks/ImageCard.scss +1 -1
  75. package/src/blocks/InfoCard.scss +1 -1
  76. package/src/blocks/InfoCard.tsx +1 -1
  77. package/src/blocks/MediaCard.docs.mdx +1 -1
  78. package/src/blocks/MediaCard.scss +1 -1
  79. package/src/blocks/StandardCard.docs.mdx +10 -11
  80. package/src/blocks/StandardCard.scss +1 -1
  81. package/src/blocks/StandardCard.stories.tsx +3 -3
  82. package/src/blocks/StatusItem.scss +3 -3
  83. package/src/blocks/ViewItem.scss +2 -2
  84. package/src/blocks/ViewItem.tsx +1 -1
  85. package/src/documentation/Utilities.scss +1 -1
  86. package/src/footers/ExygyFooter.tsx +1 -1
  87. package/src/forms/Dropzone.scss +1 -1
  88. package/src/forms/MultiSelectField.scss +4 -4
  89. package/src/forms/Textarea.scss +3 -3
  90. package/src/global/app-css.scss +1 -1
  91. package/src/global/blocks.scss +1 -1
  92. package/src/global/custom_counter.scss +2 -2
  93. package/src/global/forms.scss +11 -11
  94. package/src/global/headers.scss +6 -6
  95. package/src/global/homepage.scss +1 -1
  96. package/src/global/markdown.scss +2 -2
  97. package/src/global/mixins.scss +1 -1
  98. package/src/global/tables.scss +6 -6
  99. package/src/global/text.scss +17 -25
  100. package/src/global/tokens/colors.scss +49 -24
  101. package/src/global/tokens/fonts.scss +11 -13
  102. package/src/headers/Hero.scss +3 -3
  103. package/src/headers/PageHeader.docs.mdx +1 -1
  104. package/src/headers/PageHeader.scss +1 -1
  105. package/src/headers/SiteHeader.scss +7 -7
  106. package/src/headers/SiteHeader.stories.tsx +2 -2
  107. package/src/headers/SiteHeader.tsx +1 -1
  108. package/src/headers/StepHeader.docs.mdx +11 -11
  109. package/src/headers/StepHeader.scss +1 -1
  110. package/src/helpers/preferences.tsx +13 -13
  111. package/src/lists/PreferencesList.scss +5 -5
  112. package/src/navigation/Breadcrumbs.scss +2 -2
  113. package/src/navigation/FooterNav.scss +1 -1
  114. package/src/navigation/ProgressNav.docs.mdx +1 -1
  115. package/src/navigation/ProgressNav.scss +2 -2
  116. package/src/navigation/SideNav.docs.mdx +2 -2
  117. package/src/navigation/SideNav.scss +1 -1
  118. package/src/navigation/TabNav.scss +4 -4
  119. package/src/navigation/Tabs.scss +1 -1
  120. package/src/notifications/AlertBox.docs.mdx +2 -2
  121. package/src/notifications/AlertBox.scss +4 -4
  122. package/src/notifications/AlertNotice.scss +4 -4
  123. package/src/notifications/ApplicationStatus.stories.tsx +50 -76
  124. package/src/notifications/ApplicationStatus.tsx +2 -2
  125. package/src/notifications/StatusAside.scss +1 -1
  126. package/src/notifications/StatusMessage.scss +2 -2
  127. package/src/overlays/Modal.docs.mdx +3 -3
  128. package/src/overlays/Modal.scss +3 -3
  129. package/src/overlays/Overlay.scss +1 -1
  130. package/src/page_components/ApplicationTimeline.scss +1 -1
  131. package/src/page_components/NavigationHeader.tsx +31 -31
  132. package/src/page_components/forgot-password/FormForgotPassword.tsx +29 -42
  133. package/src/page_components/listing/AdditionalFees.tsx +1 -1
  134. package/src/page_components/listing/ContentAccordion.scss +2 -2
  135. package/src/page_components/listing/ContentAccordion.stories.tsx +1 -1
  136. package/src/page_components/listing/ListingCard.stories.tsx +5 -17
  137. package/src/page_components/listing/listing_sidebar/Contact.tsx +2 -2
  138. package/src/page_components/listing/listing_sidebar/ExpandableSection.tsx +1 -1
  139. package/src/page_components/listing/listing_sidebar/GetApplication.tsx +3 -3
  140. package/src/page_components/listing/listing_sidebar/ListingUpdated.tsx +1 -1
  141. package/src/page_components/listing/listing_sidebar/NumberedHeader.tsx +1 -1
  142. package/src/page_components/listing/listing_sidebar/QuantityRowSection.tsx +2 -2
  143. package/src/page_components/listing/listing_sidebar/ReferralApplication.tsx +1 -1
  144. package/src/page_components/listing/listing_sidebar/SidebarBlock.stories.tsx +1 -1
  145. package/src/page_components/listing/listing_sidebar/SidebarBlock.tsx +1 -1
  146. package/src/page_components/listing/listing_sidebar/SubmitApplication.tsx +3 -3
  147. package/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.tsx +1 -1
  148. package/src/page_components/listing/listing_sidebar/events/EventSection.tsx +4 -6
  149. package/src/page_components/sign-in/FormSignIn.tsx +40 -51
  150. package/src/page_components/sign-in/FormSignInAddPhone.tsx +24 -32
  151. package/src/page_components/sign-in/FormSignInErrorBox.tsx +18 -32
  152. package/src/page_components/sign-in/FormSignInMFACode.tsx +23 -32
  153. package/src/page_components/sign-in/FormSignInMFAType.tsx +21 -25
  154. package/src/page_components/sign-in/FormTerms.tsx +16 -23
  155. package/src/page_components/sign-in/ResendConfirmationModal.tsx +28 -30
  156. package/src/prototypes/AppCard.scss +2 -2
  157. package/src/prototypes/FieldSection.scss +1 -1
  158. package/src/prototypes/SummaryCard.scss +1 -1
  159. package/src/prototypes/SummaryCard.stories.tsx +1 -1
  160. package/src/sections/GridSection.scss +1 -1
  161. package/src/sections/InfoCardGrid.scss +2 -2
  162. package/src/sections/InfoCardGrid.tsx +1 -1
  163. package/src/tables/AgPagination.tsx +28 -30
  164. package/src/tables/GroupedTable.tsx +1 -1
  165. package/src/tables/StandardTable.tsx +1 -1
  166. package/src/text/Description.scss +2 -2
  167. package/src/text/Message.scss +1 -1
  168. package/src/text/Tag.docs.mdx +3 -3
  169. package/src/text/Tag.scss +8 -8
  170. package/tailwind.config.js +28 -13
@@ -34,8 +34,8 @@ You can apply CSS variables to the `.alert-box` selector to customize the appear
34
34
  | `--success-invert-background-color` | Color | Success invert theme background color | `--bloom-color-success` |
35
35
  | `--warn-background-color` | Color | Warn theme background color | `--bloom-color-warn-light` |
36
36
  | `--warn-invert-background-color` | Color | Warn invert theme background color | `--bloom-color-warn` |
37
- | `--text-color` | Color | Content text color | `--bloom-color-gray-900` |
38
- | `--close-icon-color` | Color | Close icon color | `--bloom-color-gray-900` |
37
+ | `--text-color` | Color | Content text color | `--bloom-color-gray-950` |
38
+ | `--close-icon-color` | Color | Close icon color | `--bloom-color-gray-950` |
39
39
  | `--font-weight` | Font weight | Content text font weight | `600` |
40
40
  | `--max-width` | Size | Max width | `--bloom-width-5xl` |
41
41
  | `--line-height` | Line height | Content text line height | `1.375` |
@@ -10,8 +10,8 @@
10
10
  --success-invert-background-color: var(--bloom-color-success);
11
11
  --warn-background-color: var(--bloom-color-warn-light);
12
12
  --warn-invert-background-color: var(--bloom-color-warn);
13
- --text-color: var(--bloom-color-gray-900);
14
- --close-icon-color: var(--bloom-color-gray-900);
13
+ --text-color: var(--bloom-color-gray-950);
14
+ --close-icon-color: var(--bloom-color-gray-950);
15
15
  --font-weight: 500;
16
16
  --max-width: var(--bloom-width-5xl);
17
17
  --line-height: 1.375;
@@ -91,11 +91,11 @@
91
91
 
92
92
  .alert-box__body {
93
93
  font-weight: var(--font-weight);
94
- font-size: var(--bloom-font-size-tiny);
94
+ font-size: var(--bloom-font-size-sm);
95
95
  }
96
96
 
97
97
  .alert-box__close {
98
- font-size: var(--bloom-font-size-3xl);
98
+ font-size: var(--bloom-font-size-2xl);
99
99
  right: var(--horizontal-padding);
100
100
  margin-left: var(--bloom-s3);
101
101
  padding: 0;
@@ -1,6 +1,6 @@
1
1
  // secondary alert messaging
2
2
  .alert-notice {
3
- @apply text-sm;
3
+ @apply text-xs;
4
4
  @apply py-4;
5
5
  @apply px-8;
6
6
  @apply bg-gray-200;
@@ -33,12 +33,12 @@
33
33
  }
34
34
 
35
35
  p {
36
- @apply text-sm;
36
+ @apply text-xs;
37
37
  }
38
38
  }
39
39
 
40
40
  .alert-notice__title {
41
- @apply text-sm;
41
+ @apply text-xs;
42
42
  @apply mb-3;
43
43
  @apply font-semibold;
44
44
 
@@ -54,5 +54,5 @@
54
54
  }
55
55
 
56
56
  .alert-notice__body {
57
- @apply text-sm;
57
+ @apply text-xs;
58
58
  }
@@ -1,37 +1,33 @@
1
- import * as React from "react";
2
- import dayjs from "dayjs";
3
- import advancedFormat from "dayjs/plugin/advancedFormat";
4
- import { ApplicationStatus } from "./ApplicationStatus";
5
- import { ApplicationStatusType } from "../global/ApplicationStatusType";
6
- import { t } from "../helpers/translator";
7
- import Archer from "../../__tests__/fixtures/archer.json";
8
- import { text, withKnobs } from "@storybook/addon-knobs";
9
- import formatDateTime from "../helpers/DateFormat";
10
-
11
- dayjs.extend(advancedFormat);
1
+ import * as React from "react"
2
+ import dayjs from "dayjs"
3
+ import advancedFormat from "dayjs/plugin/advancedFormat"
4
+ import { ApplicationStatus } from "./ApplicationStatus"
5
+ import { ApplicationStatusType } from "../global/ApplicationStatusType"
6
+ import { t } from "../helpers/translator"
7
+ import Archer from "../../__tests__/fixtures/archer.json"
8
+ import { text, withKnobs } from "@storybook/addon-knobs"
9
+ import formatDateTime from "../helpers/DateFormat"
10
+
11
+ dayjs.extend(advancedFormat)
12
12
 
13
13
  export default {
14
14
  component: ApplicationStatus,
15
15
  title: "Notifications/Application Status",
16
16
  decorators: [(storyFn: any) => <div>{storyFn()}</div>, withKnobs],
17
- };
17
+ }
18
18
 
19
- const listing = Object.assign({}, Archer) as any;
20
- listing.applicationOpenDate = "";
21
- let days = 10;
22
- listing.applicationDueDate = dayjs().add(days, "days").format();
19
+ const listing = Object.assign({}, Archer) as any
20
+ listing.applicationOpenDate = ""
21
+ let days = 10
22
+ listing.applicationDueDate = dayjs().add(days, "days").format()
23
23
 
24
24
  export const dueSoonAndVivid = () => (
25
25
  <ApplicationStatus
26
- content={
27
- t("listings.applicationDeadline") +
28
- ": " +
29
- formatDateTime(listing.applicationDueDate)
30
- }
26
+ content={t("listings.applicationDeadline") + ": " + formatDateTime(listing.applicationDueDate)}
31
27
  status={ApplicationStatusType.Open}
32
28
  vivid
33
29
  />
34
- );
30
+ )
35
31
 
36
32
  export const withSubContent = () => (
37
33
  <ApplicationStatus
@@ -40,115 +36,93 @@ export const withSubContent = () => (
40
36
  status={ApplicationStatusType.Open}
41
37
  vivid
42
38
  />
43
- );
39
+ )
44
40
 
45
41
  export const dueSoonWithTime = () => (
46
42
  <ApplicationStatus
47
43
  content={
48
- t("listings.applicationDeadline") +
49
- ": " +
50
- formatDateTime(listing.applicationDueDate, true)
44
+ t("listings.applicationDeadline") + ": " + formatDateTime(listing.applicationDueDate, true)
51
45
  }
52
46
  status={ApplicationStatusType.Open}
53
47
  />
54
- );
48
+ )
55
49
 
56
- const listingPast = Object.assign({}, Archer) as any;
57
- listingPast.applicationOpenDate = "";
58
- days = 10;
50
+ const listingPast = Object.assign({}, Archer) as any
51
+ listingPast.applicationOpenDate = ""
52
+ days = 10
59
53
 
60
54
  export const pastDue = () => (
61
55
  <ApplicationStatus
62
56
  content={
63
- t("listings.applicationsClosed") +
64
- ": " +
65
- formatDateTime(listingPast.applicationDueDate)
57
+ t("listings.applicationsClosed") + ": " + formatDateTime(listingPast.applicationDueDate)
66
58
  }
67
59
  status={ApplicationStatusType.Closed}
68
60
  />
69
- );
61
+ )
70
62
 
71
- listingPast.applicationDueDate = dayjs().subtract(days, "days").format();
63
+ listingPast.applicationDueDate = dayjs().subtract(days, "days").format()
72
64
 
73
65
  export const pastDueAndVivid = () => (
74
66
  <ApplicationStatus
75
67
  content={
76
- t("listings.applicationsClosed") +
77
- ": " +
78
- formatDateTime(listingPast.applicationDueDate)
68
+ t("listings.applicationsClosed") + ": " + formatDateTime(listingPast.applicationDueDate)
79
69
  }
80
70
  status={ApplicationStatusType.Closed}
81
71
  vivid={true}
82
72
  />
83
- );
73
+ )
84
74
 
85
75
  export const pastDueWithStyles = () => (
86
76
  <ApplicationStatus
87
77
  className={text("className", "place-content-center")}
88
78
  content={
89
- t("listings.applicationsClosed") +
90
- ": " +
91
- formatDateTime(listingPast.applicationDueDate)
79
+ t("listings.applicationsClosed") + ": " + formatDateTime(listingPast.applicationDueDate)
92
80
  }
93
81
  status={ApplicationStatusType.Closed}
94
82
  />
95
- );
83
+ )
96
84
 
97
85
  export const pastDueWithIconColor = () => (
98
86
  <ApplicationStatus
99
87
  content={
100
- t("listings.applicationsClosed") +
101
- ": " +
102
- formatDateTime(listingPast.applicationDueDate)
88
+ t("listings.applicationsClosed") + ": " + formatDateTime(listingPast.applicationDueDate)
103
89
  }
104
90
  iconColor={text("Icon Color", "#ff0000")}
105
91
  status={ApplicationStatusType.Closed}
106
92
  />
107
- );
93
+ )
108
94
 
109
- const listing2 = Object.assign({}, Archer) as any;
110
- days = 10;
111
- listing2.applicationDueDate = dayjs().add(days, "days").format();
95
+ const listing2 = Object.assign({}, Archer) as any
96
+ days = 10
97
+ listing2.applicationDueDate = dayjs().add(days, "days").format()
112
98
 
113
99
  export const openSoon = () => (
114
100
  <ApplicationStatus
115
101
  content={
116
- t("listings.applicationOpenPeriod") +
117
- ": " +
118
- formatDateTime(listing2.applicationDueDate)
102
+ t("listings.applicationOpenPeriod") + ": " + formatDateTime(listing2.applicationDueDate)
119
103
  }
120
104
  status={ApplicationStatusType.Open}
121
105
  />
122
- );
106
+ )
123
107
 
124
- const listing3 = Object.assign({}, Archer) as any;
125
- days = 10;
126
- listing3.applicationDueDate = dayjs().add(days, "days").format();
108
+ const listing3 = Object.assign({}, Archer) as any
109
+ days = 10
110
+ listing3.applicationDueDate = dayjs().add(days, "days").format()
127
111
 
128
112
  export const openedAlready = () => (
129
113
  <ApplicationStatus
130
- content={
131
- t("listings.applicationDeadline") +
132
- ": " +
133
- formatDateTime(listing3.applicationDueDate)
134
- }
114
+ content={t("listings.applicationDeadline") + ": " + formatDateTime(listing3.applicationDueDate)}
135
115
  status={ApplicationStatusType.Open}
136
116
  />
137
- );
117
+ )
138
118
 
139
119
  export const openedWithNoDue = () => (
140
- <ApplicationStatus
141
- content={t("listings.applicationFCFS")}
142
- status={ApplicationStatusType.Open}
143
- />
144
- );
120
+ <ApplicationStatus content={t("listings.applicationFCFS")} status={ApplicationStatusType.Open} />
121
+ )
145
122
 
146
123
  export const openedWithFCFS = () => (
147
- <ApplicationStatus
148
- content={t("listings.applicationFCFS")}
149
- status={ApplicationStatusType.Open}
150
- />
151
- );
124
+ <ApplicationStatus content={t("listings.applicationFCFS")} status={ApplicationStatusType.Open} />
125
+ )
152
126
 
153
127
  export const openedWithFCFSVivid = () => (
154
128
  <ApplicationStatus
@@ -156,7 +130,7 @@ export const openedWithFCFSVivid = () => (
156
130
  status={ApplicationStatusType.Open}
157
131
  vivid
158
132
  />
159
- );
133
+ )
160
134
 
161
135
  export const postLottery = () => (
162
136
  <ApplicationStatus
@@ -164,7 +138,7 @@ export const postLottery = () => (
164
138
  status={ApplicationStatusType.PostLottery}
165
139
  withIcon={false}
166
140
  />
167
- );
141
+ )
168
142
 
169
143
  export const matched = () => (
170
144
  <ApplicationStatus
@@ -173,4 +147,4 @@ export const matched = () => (
173
147
  withIcon={true}
174
148
  iconType={"check"}
175
149
  />
176
- );
150
+ )
@@ -29,7 +29,7 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
29
29
 
30
30
  // determine styling
31
31
  let textColor = vivid ? "text-white" : "text-gray-800"
32
- const textSize = vivid ? "text-xs" : "text-sm"
32
+ const textSize = vivid ? "text-2xs" : "text-xs"
33
33
 
34
34
  const icon = withIcon && (
35
35
  <Icon
@@ -51,7 +51,7 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
51
51
  textColor = "text-white"
52
52
  break
53
53
  case ApplicationStatusType.Matched:
54
- bgColor = "bg-green-700"
54
+ bgColor = "bg-green-500"
55
55
  textColor = "text-white"
56
56
  break
57
57
  default:
@@ -6,6 +6,6 @@
6
6
 
7
7
  .status-aside__title {
8
8
  @apply font-alt-sans;
9
- @apply text-lg;
9
+ @apply text-xl;
10
10
  @apply pt-4;
11
11
  }
@@ -2,7 +2,7 @@
2
2
  @apply flex;
3
3
  @apply flex-col;
4
4
  @apply py-4;
5
- @apply text-sm;
5
+ @apply text-xs;
6
6
  @apply text-gray-800;
7
7
  @apply border-b;
8
8
 
@@ -21,5 +21,5 @@
21
21
  }
22
22
 
23
23
  .status-message__note {
24
- @apply text-sm;
24
+ @apply text-xs;
25
25
  }
@@ -23,12 +23,12 @@ You can apply CSS variables to the `.modal` selector to customize the appearance
23
23
 
24
24
  | Name | Type | Description | Default |
25
25
  | --------------------------- | ------------------ | ------------------------------- | --------------------------------------------------------- |
26
- | `--title-color` | Color | Title text color | <Swatch colorVar="--bloom-color-gray-900" /> |
27
- | `--title-font-size` | Size | Title text size | `--bloom-font-size-base-alt` |
26
+ | `--title-color` | Color | Title text color | <Swatch colorVar="--bloom-color-gray-950" /> |
27
+ | `--title-font-size` | Size | Title text size | `--bloom-font-size-lg` |
28
28
  | `--title-font-family` | Font | Title font family | `--bloom-font-sans` |
29
29
  | `--content-font-color` | Color | Title text color | <Swatch colorVar="--bloom-color-gray-700" /> |
30
30
  | `--max-width` | Size | Modal max width | `--bloom-width-5xl` |
31
- | `--desktop-min-width` | Size | Modal min width on desktop | `--bloom-width-lg` |
31
+ | `--desktop-min-width` | Size | Modal min width on desktop | `--bloom-width-xl` |
32
32
  | `--footer-background-color` | Color | Footer background color | <Swatch colorVar="--bloom-color-primary-lighter" /> |
33
33
  | `--border-radius` | Size | Border radius of modal, content | `--bloom-rounded` |
34
34
  | `--background-color` | Color | Background color of modal | <Swatch colorVar="--bloom-color-white" /> |
@@ -1,12 +1,12 @@
1
1
  .modal {
2
2
  /* Component Variables */
3
- --title-color: var(--bloom-color-gray-900);
4
- --title-font-size: var(--bloom-font-size-base-alt);
3
+ --title-color: var(--bloom-color-gray-950);
4
+ --title-font-size: var(--bloom-font-size-lg);
5
5
  --title-font-family: var(--bloom-font-sans);
6
6
  --content-font-color: var(--bloom-color-gray-700);
7
7
  --content-padding: var(--bloom-s6);
8
8
  --max-width: var(--bloom-width-5xl);
9
- --desktop-min-width: var(--bloom-width-lg);
9
+ --desktop-min-width: var(--bloom-width-xl);
10
10
  --footer-background-color: var(--bloom-color-primary-lighter);
11
11
  --border-radius: var(--bloom-rounded);
12
12
  --mobile-border-radius: 0;
@@ -1,7 +1,7 @@
1
1
  @import "../global/mixins.scss";
2
2
 
3
3
  .fixed-overlay {
4
- --overlay-background-color: var(--bloom-color-gray-900);
4
+ --overlay-background-color: var(--bloom-color-gray-950);
5
5
  --overlay-opacity: 0.5;
6
6
 
7
7
  position: fixed;
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  .progress-nav__dot-item.is-active::before {
30
- @apply bg-green-700;
30
+ @apply bg-green-500;
31
31
  }
32
32
 
33
33
  .progress-nav__dot-item::after {
@@ -1,30 +1,30 @@
1
- import React, { useMemo, useContext } from "react";
2
- import { PageHeader, TabNav, TabNavItem, AppearanceSizeType } from "../..";
3
- import { NavigationContext } from "../config/NavigationContext";
4
- import "./NavigationHeader.scss";
1
+ import React, { useMemo, useContext } from "react"
2
+ import { PageHeader, TabNav, TabNavItem, AppearanceSizeType } from "../.."
3
+ import { NavigationContext } from "../config/NavigationContext"
4
+ import "./NavigationHeader.scss"
5
5
 
6
6
  type NavigationHeaderProps = {
7
- className?: string;
8
- title: React.ReactNode;
9
- listingId?: string;
10
- tabs?: NavigationHeaderTabs;
11
- breadcrumbs?: React.ReactNode;
12
- children?: React.ReactChild;
13
- };
7
+ className?: string
8
+ title: React.ReactNode
9
+ listingId?: string
10
+ tabs?: NavigationHeaderTabs
11
+ breadcrumbs?: React.ReactNode
12
+ children?: React.ReactNode
13
+ }
14
14
 
15
15
  type NavigationHeaderTabs = {
16
- show?: boolean;
17
- flagsQty?: number;
18
- listingLabel: string;
19
- applicationsLabel: string;
20
- };
16
+ show?: boolean
17
+ flagsQty?: number
18
+ listingLabel: string
19
+ applicationsLabel: string
20
+ }
21
21
 
22
22
  type NavigationHeaderTabsElement = {
23
- label: string;
24
- path: string;
25
- activePaths: string[];
26
- content: React.ReactNode | undefined;
27
- };
23
+ label: string
24
+ path: string
25
+ activePaths: string[]
26
+ content: React.ReactNode | undefined
27
+ }
28
28
 
29
29
  const NavigationHeader = ({
30
30
  className,
@@ -34,8 +34,8 @@ const NavigationHeader = ({
34
34
  children,
35
35
  breadcrumbs,
36
36
  }: NavigationHeaderProps) => {
37
- const navigation = useContext(NavigationContext);
38
- const currentPath = navigation.router.asPath;
37
+ const navigation = useContext(NavigationContext)
38
+ const currentPath = navigation.router.asPath
39
39
 
40
40
  const tabNavElements = useMemo(() => {
41
41
  const elements: NavigationHeaderTabsElement[] = [
@@ -57,10 +57,10 @@ const NavigationHeader = ({
57
57
  ],
58
58
  content: undefined,
59
59
  },
60
- ];
60
+ ]
61
61
 
62
- return elements;
63
- }, [tabs, listingId]);
62
+ return elements
63
+ }, [tabs, listingId])
64
64
 
65
65
  const tabNavItems = useMemo(() => {
66
66
  return (
@@ -77,8 +77,8 @@ const NavigationHeader = ({
77
77
  </TabNavItem>
78
78
  ))}
79
79
  </TabNav>
80
- );
81
- }, [currentPath, tabNavElements]);
80
+ )
81
+ }, [currentPath, tabNavElements])
82
82
 
83
83
  return (
84
84
  <PageHeader
@@ -89,7 +89,7 @@ const NavigationHeader = ({
89
89
  >
90
90
  {children}
91
91
  </PageHeader>
92
- );
93
- };
92
+ )
93
+ }
94
94
 
95
- export { NavigationHeader as default, NavigationHeader };
95
+ export { NavigationHeader as default, NavigationHeader }
@@ -1,4 +1,4 @@
1
- import React, { useContext } from "react";
1
+ import React, { useContext } from "react"
2
2
  import {
3
3
  AppearanceStyleType,
4
4
  Button,
@@ -12,31 +12,31 @@ import {
12
12
  AlertNotice,
13
13
  ErrorMessage,
14
14
  emailRegex,
15
- } from "../../..";
16
- import { NetworkErrorReset, NetworkStatusContent } from "../sign-in/FormSignIn";
17
- import { NavigationContext } from "../../config/NavigationContext";
18
- import type { UseFormMethods } from "react-hook-form";
15
+ } from "../../.."
16
+ import { NetworkErrorReset, NetworkStatusContent } from "../sign-in/FormSignIn"
17
+ import { NavigationContext } from "../../config/NavigationContext"
18
+ import type { UseFormMethods } from "react-hook-form"
19
19
 
20
20
  export type FormForgotPasswordProps = {
21
- control: FormForgotPasswordControl;
22
- onSubmit: (data: FormForgotPasswordValues) => void;
23
- networkError: FormForgotPasswordNetworkError;
24
- };
21
+ control: FormForgotPasswordControl
22
+ onSubmit: (data: FormForgotPasswordValues) => void
23
+ networkError: FormForgotPasswordNetworkError
24
+ }
25
25
 
26
26
  export type FormForgotPasswordNetworkError = {
27
- error: NetworkStatusContent;
28
- reset: NetworkErrorReset;
29
- };
27
+ error: NetworkStatusContent
28
+ reset: NetworkErrorReset
29
+ }
30
30
 
31
31
  export type FormForgotPasswordControl = {
32
- errors: UseFormMethods["errors"];
33
- handleSubmit: UseFormMethods["handleSubmit"];
34
- register: UseFormMethods["register"];
35
- };
32
+ errors: UseFormMethods["errors"]
33
+ handleSubmit: UseFormMethods["handleSubmit"]
34
+ register: UseFormMethods["register"]
35
+ }
36
36
 
37
37
  export type FormForgotPasswordValues = {
38
- email: string;
39
- };
38
+ email: string
39
+ }
40
40
 
41
41
  const FormForgotPassword = ({
42
42
  onSubmit,
@@ -44,33 +44,26 @@ const FormForgotPassword = ({
44
44
  control: { errors, register, handleSubmit },
45
45
  }: FormForgotPasswordProps) => {
46
46
  const onError = () => {
47
- window.scrollTo(0, 0);
48
- };
47
+ window.scrollTo(0, 0)
48
+ }
49
49
 
50
- const { router } = useContext(NavigationContext);
50
+ const { router } = useContext(NavigationContext)
51
51
 
52
52
  return (
53
53
  <FormCard>
54
54
  <div className="form-card__lead text-center border-b mx-0">
55
55
  <Icon size="2xl" symbol="profile" />
56
- <h1 className="form-card__title">
57
- {t("authentication.forgotPassword.sendEmail")}
58
- </h1>
56
+ <h1 className="form-card__title">{t("authentication.forgotPassword.sendEmail")}</h1>
59
57
  </div>
60
58
 
61
59
  {Object.entries(errors).length > 0 && !networkError.error && (
62
60
  <AlertBox type="alert" inverted closeable>
63
- {errors.authentication
64
- ? errors.authentication.message
65
- : t("errors.errorsToResolve")}
61
+ {errors.authentication ? errors.authentication.message : t("errors.errorsToResolve")}
66
62
  </AlertBox>
67
63
  )}
68
64
 
69
65
  {!!networkError.error?.error && Object.entries(errors).length === 0 && (
70
- <ErrorMessage
71
- id={"forgotpasswordemail-error"}
72
- error={!!networkError.error}
73
- >
66
+ <ErrorMessage id={"forgotpasswordemail-error"} error={!!networkError.error}>
74
67
  <AlertBox type="alert" inverted onClose={() => networkError.reset()}>
75
68
  {networkError.error.title}
76
69
  </AlertBox>
@@ -84,20 +77,14 @@ const FormForgotPassword = ({
84
77
  <SiteAlert type="notice" dismissable />
85
78
 
86
79
  <div className="form-card__group pt-0">
87
- <Form
88
- id="sign-in"
89
- className="mt-10"
90
- onSubmit={handleSubmit(onSubmit, onError)}
91
- >
80
+ <Form id="sign-in" className="mt-10" onSubmit={handleSubmit(onSubmit, onError)}>
92
81
  <Field
93
82
  caps={true}
94
83
  name="email"
95
84
  label={t("t.email")}
96
85
  validation={{ required: true, pattern: emailRegex }}
97
86
  error={errors.email}
98
- errorMessage={
99
- errors.email ? t("authentication.signIn.loginError") : undefined
100
- }
87
+ errorMessage={errors.email ? t("authentication.signIn.loginError") : undefined}
101
88
  register={register}
102
89
  onChange={() => networkError.reset()}
103
90
  />
@@ -116,7 +103,7 @@ const FormForgotPassword = ({
116
103
  </Form>
117
104
  </div>
118
105
  </FormCard>
119
- );
120
- };
106
+ )
107
+ }
121
108
 
122
- export { FormForgotPassword as default, FormForgotPassword };
109
+ export { FormForgotPassword as default, FormForgotPassword }
@@ -49,7 +49,7 @@ const AdditionalFees = ({
49
49
  )}
50
50
  </GridSection>
51
51
  {hasFooter && (
52
- <div className="info-card__columns text-sm">
52
+ <div className="info-card__columns text-xs">
53
53
  {footerContent?.map((elem, idx) => (
54
54
  <div key={`footer_info_${idx}`} className="info-card__column-2">
55
55
  {elem}
@@ -6,7 +6,7 @@
6
6
  @apply flex;
7
7
  @apply justify-between;
8
8
  @apply font-sans;
9
- @apply text-tiny;
9
+ @apply text-sm;
10
10
  @apply text-gray-800;
11
11
  }
12
12
 
@@ -22,7 +22,7 @@
22
22
  @apply justify-between;
23
23
  @apply font-sans;
24
24
  @apply text-base;
25
- @apply text-gray-950;
25
+ @apply text-gray-900;
26
26
 
27
27
  svg {
28
28
  fill: #1f2937; // gray-800
@@ -76,7 +76,7 @@ export const grayThemeFilled = () => {
76
76
  return (
77
77
  <span className={"flex w-full justify-between items-center"}>
78
78
  <span className={"flex items-center"}>
79
- <span className={"font-serif text-3xl font-medium leading-4 pr-2"}>1</span> person in
79
+ <span className={"font-serif text-2xl font-medium leading-4 pr-2"}>1</span> person in
80
80
  household
81
81
  </span>
82
82
  <span className={"flex pr-4 items-center"}>