@bloom-housing/ui-components 4.2.2-alpha.3 → 4.2.2-alpha.4
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/headers/SiteHeader.tsx +4 -1
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.2.2-alpha.4](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.3...@bloom-housing/ui-components@4.2.2-alpha.4) (2022-04-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add optional prop for Language Nav aria label ([#2672](https://github.com/bloom-housing/bloom/issues/2672)) ([5f1b3f6](https://github.com/bloom-housing/bloom/commit/5f1b3f66f5269cfd9285b958f608cdb41e779c70))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [4.2.2-alpha.3](https://github.com/bloom-housing/bloom/compare/@bloom-housing/ui-components@4.2.2-alpha.2...@bloom-housing/ui-components@4.2.2-alpha.3) (2022-04-18)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloom-housing/ui-components",
|
|
3
|
-
"version": "4.2.2-alpha.
|
|
3
|
+
"version": "4.2.2-alpha.4",
|
|
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": "
|
|
103
|
+
"gitHead": "7666295cf235fec42b226acd5c2468309af914b6"
|
|
104
104
|
}
|
|
@@ -24,6 +24,7 @@ export interface SiteHeaderProps {
|
|
|
24
24
|
dropdownItemClassName?: string
|
|
25
25
|
homeURL: string
|
|
26
26
|
imageOnly?: boolean
|
|
27
|
+
languageNavLabel?: string
|
|
27
28
|
languages?: LangItem[]
|
|
28
29
|
logoClass?: string
|
|
29
30
|
logoSrc: string
|
|
@@ -423,7 +424,9 @@ const SiteHeader = (props: SiteHeaderProps) => {
|
|
|
423
424
|
|
|
424
425
|
return (
|
|
425
426
|
<header className={"site-header"}>
|
|
426
|
-
{props.languages &&
|
|
427
|
+
{props.languages && (
|
|
428
|
+
<LanguageNav ariaLabel={props.languageNavLabel} languages={props.languages} />
|
|
429
|
+
)}
|
|
427
430
|
|
|
428
431
|
<div className={`navbar-notice ${!props.noticeMobile && `navbar-notice-hide`}`}>
|
|
429
432
|
<div className="navbar-notice__text">{props.notice ?? ""}</div>
|