@bloom-housing/ui-components 4.0.1-alpha.56 → 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,17 @@
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
+
6
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)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "4.0.1-alpha.56",
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",
@@ -100,5 +100,5 @@
100
100
  "tailwindcss": "2.2.10",
101
101
  "typesafe-actions": "^5.1.0"
102
102
  },
103
- "gitHead": "7faf3a2b382ee2c7840e870e25d22bfc960d1256"
103
+ "gitHead": "4ece11568715dac63e1739d0ca79716759017e9e"
104
104
  }
@@ -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