@bloom-housing/ui-components 5.0.1-alpha.17 → 5.0.1-alpha.18
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 +11 -0
- package/package.json +2 -2
- package/src/forms/Field.tsx +1 -1
- package/src/forms/Textarea.tsx +2 -0
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
|
+
## [5.0.1-alpha.18](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.17...@bloom-housing/ui-components@5.0.1-alpha.18) (2022-07-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* visuals for add preference, preference option drawers ([#2877](https://github.com/bloom-housing/bloom/issues/2877)) ([8611034](https://github.com/bloom-housing/bloom/commit/8611034845b45ce4d4e4eb44e790ac2adec0ba94))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [5.0.1-alpha.17](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@5.0.1-alpha.16...@bloom-housing/ui-components@5.0.1-alpha.17) (2022-07-15)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "5.0.1-alpha.
|
|
3
|
+
"version": "5.0.1-alpha.18",
|
|
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",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"ts-jest": "^26.4.1",
|
|
109
109
|
"typesafe-actions": "^5.1.0"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "4e40ad752bff76d99704102756ec9074ac763089"
|
|
112
112
|
}
|
package/src/forms/Field.tsx
CHANGED
|
@@ -74,7 +74,7 @@ const Field = (props: FieldProps) => {
|
|
|
74
74
|
if (props.caps) labelClasses.push("field-label--caps")
|
|
75
75
|
if (props.primary) labelClasses.push("text-primary")
|
|
76
76
|
if (props.readerOnly) labelClasses.push("sr-only")
|
|
77
|
-
if (props.type === "
|
|
77
|
+
if (props.type === "radio") {
|
|
78
78
|
labelClasses.push("font-semibold")
|
|
79
79
|
}
|
|
80
80
|
|
package/src/forms/Textarea.tsx
CHANGED
|
@@ -23,6 +23,7 @@ export interface TextareaProps {
|
|
|
23
23
|
wrap?: WrapOptions
|
|
24
24
|
readerOnly?: boolean
|
|
25
25
|
inputProps?: Record<string, unknown>
|
|
26
|
+
dataTestId?: string
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
export const Textarea = (props: TextareaProps) => {
|
|
@@ -56,6 +57,7 @@ export const Textarea = (props: TextareaProps) => {
|
|
|
56
57
|
wrap={props.wrap ?? "soft"}
|
|
57
58
|
title={props.label}
|
|
58
59
|
{...inputProps}
|
|
60
|
+
data-test-id={props.dataTestId}
|
|
59
61
|
/>
|
|
60
62
|
{props.note && <p className="field-note font-normal mb-2">{props.note}</p>}
|
|
61
63
|
{props.errorMessage && <span className="textarea-error-message">{props.errorMessage}</span>}
|