@bloom-housing/ui-components 5.0.1-alpha.26 → 5.0.1-alpha.29

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,39 @@
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.0.1-alpha.29](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.28...@bloom-housing/ui-components@5.0.1-alpha.29) (2022-07-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * preview and juri admin perms for user access ([#2914](https://github.com/bloom-housing/bloom/issues/2914)) ([2db1fdb](https://github.com/bloom-housing/bloom/commit/2db1fdba2fcb366acfc436c3f58b1651550d2367))
12
+
13
+
14
+
15
+
16
+
17
+ ## [5.0.1-alpha.28](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.27...@bloom-housing/ui-components@5.0.1-alpha.28) (2022-07-27)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * fix password confirmation validation in the reset password form ([23064fe](https://github.com/bloom-housing/bloom/commit/23064fe8135ee9f531bac41b1b1f7e0ce771905a))
23
+
24
+
25
+
26
+
27
+
28
+ ## [5.0.1-alpha.27](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.26...@bloom-housing/ui-components@5.0.1-alpha.27) (2022-07-26)
29
+
30
+
31
+ ### Features
32
+
33
+ * **listsection:** modify props to allow react children for list section subtitle ([ed07255](https://github.com/bloom-housing/bloom/commit/ed0725505961277aa0f293ec1e2b49330080df49))
34
+
35
+
36
+
37
+
38
+
6
39
  ## [5.0.1-alpha.26](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.25...@bloom-housing/ui-components@5.0.1-alpha.26) (2022-07-26)
7
40
 
8
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloom-housing/ui-components",
3
- "version": "5.0.1-alpha.26",
3
+ "version": "5.0.1-alpha.29",
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",
@@ -85,13 +85,13 @@
85
85
  "@types/react-dom": "^16.9.5",
86
86
  "@types/react-text-mask": "^5.4.6",
87
87
  "@types/react-transition-group": "^4.4.0",
88
+ "@types/sanitize-html": "^2.6.2",
88
89
  "ag-grid-community": "^26.0.0",
89
90
  "ag-grid-react": "^26.0.0",
90
91
  "aria-autocomplete": "^1.4.0",
91
92
  "axios": "0.21.2",
92
93
  "body-scroll-lock": "^3.1.5",
93
94
  "dayjs": "^1.10.7",
94
- "dompurify": "^2.3.10",
95
95
  "jwt-decode": "^2.2.0",
96
96
  "markdown-to-jsx": "^6.11.4",
97
97
  "nanoid": "^3.1.12",
@@ -107,9 +107,10 @@
107
107
  "react-tabs": "^3.2.2",
108
108
  "react-text-mask": "^5.4.3",
109
109
  "react-transition-group": "^4.4.1",
110
+ "sanitize-html": "^2.7.1",
110
111
  "tailwindcss": "2.2.10",
111
112
  "ts-jest": "^26.4.1",
112
113
  "typesafe-actions": "^5.1.0"
113
114
  },
114
- "gitHead": "fd53781b904e33d5d6adab562b7a5a1e1c69d526"
115
+ "gitHead": "fb3287cc7455390a98ef8884b6b95eddbd076eac"
115
116
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react"
2
- import DOMPurify from "dompurify"
2
+ import sanitizeHtml from "sanitize-html"
3
3
 
4
4
  export interface Address {
5
5
  city?: string
@@ -22,7 +22,7 @@ const MultiLineAddress = ({ address }: MultiLineAddressProps) => {
22
22
  return (
23
23
  <span
24
24
  dangerouslySetInnerHTML={{
25
- __html: DOMPurify.sanitize(
25
+ __html: sanitizeHtml(
26
26
  `
27
27
  ${address.placeName ? `${address.placeName} <br />` : ""}
28
28
  ${address.street || ""} ${address.street2 || ""}
@@ -30,8 +30,7 @@ const MultiLineAddress = ({ address }: MultiLineAddressProps) => {
30
30
  ${address.city}
31
31
  ${address.city && (address.state || address.zipCode) ? "," : ""} ${address.state} ${` `}
32
32
  ${address.zipCode}
33
- `,
34
- { USE_PROFILES: { html: true } }
33
+ `
35
34
  ),
36
35
  }}
37
36
  />
@@ -485,6 +485,8 @@
485
485
  "authentication.createAccount.resendAnEmailTo": "Resend an email to",
486
486
  "authentication.createAccount.resendEmailInfo": "Please click on the link in the email we send you within 24 hours in order to complete account creation.",
487
487
  "authentication.createAccount.resendTheEmail": "Resend the email",
488
+ "authentication.forgotPassword.passwordConfirmation": "Password Confirmation",
489
+ "authentication.forgotPassword.enterNewLoginPassword": "Please enter new login password",
488
490
  "authentication.forgotPassword.changePassword": "Change Password",
489
491
  "authentication.forgotPassword.errors.emailNotFound": "Email not found. Please make sure your email has an account with us and is confirmed.",
490
492
  "authentication.forgotPassword.errors.tokenExpired": "Reset password token expired. Please request for a new one.",
@@ -3,7 +3,7 @@ import "./ListSection.scss"
3
3
 
4
4
  export interface ListSectionProps {
5
5
  title: string
6
- subtitle: string
6
+ subtitle: string | React.ReactNode
7
7
  children?: React.ReactNode
8
8
  }
9
9