@bloom-housing/ui-components 4.0.1-alpha.69 → 4.0.1-alpha.72

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,33 @@
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.72](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.71...@bloom-housing/ui-components@4.0.1-alpha.72) (2022-02-17)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * support text wrapping in ApplicationStatus ([#2504](https://github.com/bloom-housing/bloom/issues/2504)) ([d730fa9](https://github.com/bloom-housing/bloom/commit/d730fa9fc6df7d9e99bb5b7fad65b1ab743776b4))
12
+
13
+
14
+
15
+
16
+
17
+ ## [4.0.1-alpha.71](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.70...@bloom-housing/ui-components@4.0.1-alpha.71) (2022-02-17)
18
+
19
+ **Note:** Version bump only for package @bloom-housing/ui-components
20
+
21
+
22
+
23
+
24
+
25
+ ## [4.0.1-alpha.70](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.69...@bloom-housing/ui-components@4.0.1-alpha.70) (2022-02-17)
26
+
27
+ **Note:** Version bump only for package @bloom-housing/ui-components
28
+
29
+
30
+
31
+
32
+
6
33
  ## [4.0.1-alpha.69](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.0.1-alpha.68...@bloom-housing/ui-components@4.0.1-alpha.69) (2022-02-16)
7
34
 
8
35
  **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": "4.0.1-alpha.69",
3
+ "version": "4.0.1-alpha.72",
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.41",
72
+ "@bloom-housing/backend-core": "^3.0.2-alpha.43",
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": "b6f649061c87cca25d39ac4c09527443a65badc4"
103
+ "gitHead": "ab43efe8b630d7f7afc457d8250ef42ff69895b4"
104
104
  }
@@ -1,10 +1,5 @@
1
1
  .application-status {
2
2
  @apply p-4;
3
- @screen lg {
4
- @apply whitespace-nowrap;
5
- }
6
- }
7
-
8
- .application-status__sub-content {
9
- padding-left: 22px;
3
+ @apply flex;
4
+ gap: 0.45rem;
10
5
  }
@@ -27,12 +27,7 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
27
27
  let icon
28
28
 
29
29
  if (withIcon) {
30
- icon = (
31
- <span>
32
- <Icon size="medium" symbol={iconType} fill={vivid ? IconFillColors.white : undefined} />{" "}
33
- &nbsp;
34
- </span>
35
- )
30
+ icon = <Icon size="medium" symbol={iconType} fill={vivid ? IconFillColors.white : undefined} />
36
31
  }
37
32
 
38
33
  switch (status) {
@@ -57,13 +52,15 @@ const ApplicationStatus = (props: ApplicationStatusProps) => {
57
52
  return (
58
53
  <div className={`application-status ${textSize} ${textColor} ${bgColor}`}>
59
54
  {icon}
60
- {content}
61
- {props.subContent && (
62
- <>
63
- <br />
64
- <span className={"application-status__sub-content"}>{props.subContent}</span>
65
- </>
66
- )}
55
+ <span>
56
+ {content}
57
+ {props.subContent && (
58
+ <>
59
+ <br />
60
+ {props.subContent}
61
+ </>
62
+ )}
63
+ </span>
67
64
  </div>
68
65
  )
69
66
  }