@bloom-housing/ui-components 5.1.1-alpha.10 → 5.1.1-alpha.13

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,42 @@
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.1.1-alpha.13](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.1.1-alpha.12...@bloom-housing/ui-components@5.1.1-alpha.13) (2022-08-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add margin in contact section ([#2999](https://github.com/bloom-housing/bloom/issues/2999)) ([4acb49a](https://github.com/bloom-housing/bloom/commit/4acb49acf17ebabb7a0a34160d992cb5f63eeb02))
12
+
13
+
14
+
15
+
16
+
17
+ ## [5.1.1-alpha.12](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.1.1-alpha.11...@bloom-housing/ui-components@5.1.1-alpha.12) (2022-08-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * show preference details on listing form ([#2989](https://github.com/bloom-housing/bloom/issues/2989)) ([b4b2b9e](https://github.com/bloom-housing/bloom/commit/b4b2b9ee75c4895ea5b0694dddbf0c8979c0e251))
23
+
24
+
25
+
26
+
27
+
28
+ ## [5.1.1-alpha.11](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.1.1-alpha.10...@bloom-housing/ui-components@5.1.1-alpha.11) (2022-08-23)
29
+
30
+
31
+ * refactor!: preferences & programs data model merged (#2904) ([8e027ff](https://github.com/bloom-housing/bloom/commit/8e027ff905118f36c61bc0f974231d9bb8911131)), closes [#2904](https://github.com/bloom-housing/bloom/issues/2904)
32
+
33
+
34
+ ### BREAKING CHANGES
35
+
36
+ * The preference and program entities have been merged into a single entity called MultiselectQuestion
37
+
38
+
39
+
40
+
41
+
6
42
  ## [5.1.1-alpha.10](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.1.1-alpha.9...@bloom-housing/ui-components@5.1.1-alpha.10) (2022-08-23)
7
43
 
8
44
  **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.1.1-alpha.10",
3
+ "version": "5.1.1-alpha.13",
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",
@@ -110,5 +110,5 @@
110
110
  "ts-jest": "^26.4.1",
111
111
  "typesafe-actions": "^5.1.0"
112
112
  },
113
- "gitHead": "3543c15f39f5befcfa0380b2e9bf8c5cacf9eeec"
113
+ "gitHead": "3bdbb1a6785fcc3984633aacbf6fbfe2bc555ec1"
114
114
  }
@@ -69,7 +69,6 @@
69
69
 
70
70
  @screen print {
71
71
  @apply py-2;
72
- @apply px-0;
73
72
  }
74
73
  }
75
74
 
@@ -87,13 +86,7 @@
87
86
  }
88
87
 
89
88
  .form-card__group {
90
- @screen md {
91
- @apply px-8;
92
- }
93
-
94
- @screen print {
95
- @apply px-0;
96
- }
89
+ @apply px-8;
97
90
  }
98
91
 
99
92
  .form-card__header {
@@ -147,7 +147,7 @@ const SiteHeader = (props: SiteHeaderProps) => {
147
147
  }
148
148
  dropdownOptionKeyDown(event, index)
149
149
  }}
150
- data-test-id={`${option.title}-${index}`}
150
+ data-test-id={`${option.title}`}
151
151
  >
152
152
  {dropdownOptionContent(option)}
153
153
  </button>
@@ -301,7 +301,7 @@ const SiteHeader = (props: SiteHeaderProps) => {
301
301
  className={`navbar-link ${props.menuItemClassName && props.menuItemClassName}`}
302
302
  href={menuLink.href}
303
303
  key={`${menuLink.title}-${index}`}
304
- data-test-id={`${menuLink.title}-${index}`}
304
+ data-test-id={`${menuLink.title}`}
305
305
  >
306
306
  {menuContent}
307
307
  </LinkComponent>
@@ -340,8 +340,8 @@ const SiteHeader = (props: SiteHeaderProps) => {
340
340
  }}
341
341
  onMouseEnter={() => changeMenuShow(menuLink.title, activeMenus, setActiveMenus)}
342
342
  onMouseLeave={() => changeMenuShow(menuLink.title, activeMenus, setActiveMenus)}
343
- data-test-id={`${menuLink.title}-${index}`}
344
343
  role={"button"}
344
+ data-test-id={`${menuLink.title}`}
345
345
  >
346
346
  {menuContent}
347
347
  </span>
@@ -345,6 +345,7 @@
345
345
  "application.programs.rentBasedOnIncome.flatRent.description": "I would like to apply for an affordable flat rent apartment, which has a set monthly rent amount that is below market rate. Note - applicants with Section 8 Mobile Housing Choice Vouchers (HCV) are welcome to apply.",
346
346
  "application.programs.rentBasedOnIncome.flatRent.label": "Affordable apartment with flat rent",
347
347
  "application.programs.rentBasedOnIncome.summary": "Flat Rent & Rent Based on Income",
348
+ "application.programs.selectBelow": "Please select all that apply:",
348
349
  "application.programs.servedInMilitary.doNotConsider.label": "No",
349
350
  "application.programs.servedInMilitary.servedInMilitary.label": "Yes",
350
351
  "application.programs.servedInMilitary.summary": "Veteran of the US Military",
@@ -909,6 +910,7 @@
909
910
  "t.preferNotToSay": "Prefer not to say",
910
911
  "t.preferences": "Preferences",
911
912
  "t.previous": "Previous",
913
+ "t.programs": "Programs",
912
914
  "t.propertyAmenities": "Property Amenities",
913
915
  "t.range": "%{from} to %{to}",
914
916
  "t.readLess": "read less",
@@ -9,7 +9,7 @@
9
9
 
10
10
  .progress-nav__item {
11
11
  @apply text-2xs;
12
- @apply px-2;
12
+ @apply px-1;
13
13
  @apply py-3;
14
14
  @apply relative;
15
15
  @apply text-center;
@@ -22,6 +22,7 @@
22
22
  @screen md {
23
23
  @apply text-sm;
24
24
  @apply p-0;
25
+ @apply px-2;
25
26
  }
26
27
 
27
28
  &:before {
@@ -104,3 +104,10 @@
104
104
  @apply pb-4;
105
105
  @apply overflow-y-visible;
106
106
  }
107
+
108
+ .drawer__small {
109
+ width: 100%;
110
+ @screen md {
111
+ width: 45rem;
112
+ }
113
+ }
@@ -95,12 +95,12 @@ const Contact = ({
95
95
 
96
96
  {additionalInformation?.map((info) => {
97
97
  return (
98
- <React.Fragment key={info.title}>
98
+ <div key={info.title} className={"my-3"}>
99
99
  <Heading priority={3} style={"sidebarSubHeader"}>
100
100
  {info.title}
101
101
  </Heading>
102
102
  <div className="text-gray-800 text-tiny markdown">{info.content}</div>
103
- </React.Fragment>
103
+ </div>
104
104
  )
105
105
  })}
106
106
  </section>
@@ -1,5 +1,5 @@
1
1
  import * as React from "react"
2
- import Heading from "../../../../headers/Heading"
2
+ import { Heading } from "../../../../headers/Heading"
3
3
 
4
4
  export type EventType = {
5
5
  timeString?: string