@bloom-housing/ui-components 4.0.1-alpha.53 → 4.0.1-alpha.57

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,47 @@
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.0.1-alpha.57](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.56...@bloom-housing/ui-components@4.0.1-alpha.57) (2022-02-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * remove shared-helpers dependency from FormForgotPassword ([#2498](https://github.com/bloom-housing/bloom/issues/2498)) ([779707d](https://github.com/bloom-housing/bloom/commit/779707d9087b3330a1b4cd65d5bde31521fa7d6a))
12
+
13
+
14
+
15
+
16
+
17
+ ## [4.0.1-alpha.56](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.55...@bloom-housing/ui-components@4.0.1-alpha.56) (2022-02-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * allow headers in responsive mobile tables to wrap text ([#2496](https://github.com/bloom-housing/bloom/issues/2496)) ([7d5a73e](https://github.com/bloom-housing/bloom/commit/7d5a73e5ee2213fb126fced86d94a55668941ed9))
23
+
24
+
25
+
26
+
27
+
28
+ ## [4.0.1-alpha.55](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.54...@bloom-housing/ui-components@4.0.1-alpha.55) (2022-02-10)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * image gradient obscures image on mobile, is harsh in safari ([#2487](https://github.com/bloom-housing/bloom/issues/2487)) ([78785ff](https://github.com/bloom-housing/bloom/commit/78785ff0646e94fa751584ee090eacaec1994e36))
34
+
35
+
36
+
37
+
38
+
39
+ ## [4.0.1-alpha.54](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.53...@bloom-housing/ui-components@4.0.1-alpha.54) (2022-02-10)
40
+
41
+ **Note:** Version bump only for package @bloom-housing/ui-components
42
+
43
+
44
+
45
+
46
+
6
47
  ## [4.0.1-alpha.53](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.52...@bloom-housing/ui-components@4.0.1-alpha.53) (2022-02-10)
7
48
 
8
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "4.0.1-alpha.53",
3
+ "version": "4.0.1-alpha.57",
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": "^3.0.2-alpha.34",
72
+ "@bloom-housing/backend-core": "^3.0.2-alpha.35",
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": "1af623f3a35874c50f50b28f9231412026835cc8"
103
+ "gitHead": "4ece11568715dac63e1739d0ca79716759017e9e"
104
104
  }
@@ -36,20 +36,22 @@
36
36
  }
37
37
 
38
38
  .image-card__overlay {
39
- background: rgb(0, 0, 0);
40
39
  background: linear-gradient(
41
40
  0deg,
42
- rgba(0, 0, 0, 0.9374124649859944) 0%,
43
- rgba(0, 0, 0, 0.665703781512605) 80%,
44
- rgba(255, 255, 255, 0) 100%
41
+ rgba(0, 0, 0, 0.9) 0%,
42
+ rgba(0, 0, 0, 0.8) 10%,
43
+ rgba(0, 0, 0, 0.7) 50%,
44
+ rgba(0, 0, 0, 0.3) 90%,
45
+ rgba(0, 0, 0, 0) 100%
45
46
  );
46
47
  @screen md {
47
- background: rgb(0, 0, 0);
48
48
  background: linear-gradient(
49
49
  0deg,
50
- rgba(0, 0, 0, 0.9374124649859944) 20%,
51
- rgba(0, 0, 0, 0.665703781512605) 40%,
52
- rgba(255, 255, 255, 0) 60%
50
+ rgba(0, 0, 0, 0.9) 20%,
51
+ rgba(0, 0, 0, 0.5) 50%,
52
+ rgba(0, 0, 0, 0.2) 65%,
53
+ rgba(0, 0, 0, 0.1) 70%,
54
+ rgba(0, 0, 0, 0) 80%
53
55
  );
54
56
  }
55
57
  position: absolute;
@@ -147,13 +147,15 @@ https://www.cssscript.com/pure-html5-css3-responsive-table-solution/ */
147
147
  @apply block;
148
148
  @apply text-right;
149
149
  border: 0px;
150
+ display: flex;
150
151
  }
151
152
 
152
153
  td:before {
153
154
  @apply font-bold;
154
155
  @apply uppercase;
155
- @apply float-left;
156
156
  content: attr(data-label);
157
+ text-align: left;
158
+ width: 50%;
157
159
  }
158
160
 
159
161
  td:last-child {
@@ -15,7 +15,6 @@ import {
15
15
  } from "@bloom-housing/ui-components"
16
16
  import { NavigationContext } from "../../config/NavigationContext"
17
17
  import type { UseFormMethods } from "react-hook-form"
18
- import type { NetworkErrorReset, NetworkErrorValue } from "@bloom-housing/shared-helpers"
19
18
 
20
19
  export type FormForgotPasswordProps = {
21
20
  control: FormForgotPasswordControl
@@ -23,6 +22,13 @@ export type FormForgotPasswordProps = {
23
22
  networkError: FormForgotPasswordNetworkError
24
23
  }
25
24
 
25
+ export type NetworkErrorReset = () => void
26
+
27
+ export type NetworkErrorValue = {
28
+ title: string
29
+ content: string
30
+ } | null
31
+
26
32
  export type FormForgotPasswordNetworkError = {
27
33
  error: NetworkErrorValue
28
34
  reset: NetworkErrorReset
@@ -24,7 +24,7 @@ const StackedTable = (props: StackedTableProps) => {
24
24
  const dataCell = Object.keys(dataRow).reduce((acc, item) => {
25
25
  acc[item] = (
26
26
  <div
27
- className={`md:flex md:flex-col ${
27
+ className={`md:flex md:flex-col w-1/2 md:w-full ${
28
28
  props.headersHiddenDesktop?.includes(item) && "md:hidden"
29
29
  }`}
30
30
  >