@trussworks/react-uswds
Advanced tools
Comparing version 5.1.1 to 5.2.0
@@ -5,2 +5,22 @@ # Changelog | ||
## [5.2.0](https://github.com/trussworks/react-uswds/compare/5.1.1...5.2.0) (2023-08-14) | ||
### Features | ||
* added language selector ([#2531](https://github.com/trussworks/react-uswds/issues/2531)) ([60bf797](https://github.com/trussworks/react-uswds/commit/60bf797ba2b4bbd4ef6380502a59d1f989b220b1)) | ||
### Bug Fixes | ||
* Adds story using validation prop for Alert component ([#2504](https://github.com/trussworks/react-uswds/issues/2504)) ([c5176c9](https://github.com/trussworks/react-uswds/commit/c5176c9b4a7e94460f6cae518b73627f11f3647d)) | ||
* Improve character count component's SR experience ([#2550](https://github.com/trussworks/react-uswds/issues/2550)) ([c612a1b](https://github.com/trussworks/react-uswds/commit/c612a1b7074f671cdf29faae9cd5ca042d3e72b5)) | ||
* moved overrides to let us use utilities ([#2553](https://github.com/trussworks/react-uswds/issues/2553)) ([45e1430](https://github.com/trussworks/react-uswds/commit/45e1430fd96339aecce55aebf109e8ad72000f91)) | ||
### Documentation & Examples | ||
* updated path ([#2521](https://github.com/trussworks/react-uswds/issues/2521)) ([7721e58](https://github.com/trussworks/react-uswds/commit/7721e5879cbb3443f8d37c974a9a33ac44454a9c)) | ||
* Updated storybook templates ([#2522](https://github.com/trussworks/react-uswds/issues/2522)) ([e1c60cb](https://github.com/trussworks/react-uswds/commit/e1c60cbff90c484b1942675a459aaab2e581b0e1)) | ||
## [5.1.1](https://github.com/trussworks/react-uswds/compare/5.1.0...5.1.1) (2023-07-17) | ||
@@ -7,0 +27,0 @@ |
@@ -6,4 +6,5 @@ import React from 'react'; | ||
isOpen: boolean; | ||
type?: 'primary' | 'secondary' | 'subnav' | 'megamenu' | 'footerSecondary' | 'language'; | ||
}; | ||
export declare const Menu: ({ className, items, isOpen, ...navListProps }: MenuProps & NavListProps) => React.ReactElement; | ||
export declare const Menu: ({ className, items, isOpen, type, ...navListProps }: MenuProps & NavListProps) => React.ReactElement; | ||
export default Menu; |
import React from 'react'; | ||
declare type CustomNavListProps = { | ||
items: React.ReactNode[]; | ||
type?: 'primary' | 'secondary' | 'subnav' | 'megamenu' | 'footerSecondary'; | ||
type?: 'primary' | 'secondary' | 'subnav' | 'megamenu' | 'footerSecondary' | 'language'; | ||
}; | ||
@@ -6,0 +6,0 @@ export declare type NavListProps = CustomNavListProps & JSX.IntrinsicElements['ul']; |
@@ -56,2 +56,4 @@ import './styles/index.scss'; | ||
export { Label } from './components/forms/Label/Label'; | ||
export { LanguageSelector } from './components/LanguageSelector/LanguageSelector'; | ||
export { LanguageSelectorButton } from './components/LanguageSelector/LanguageSelectorButton'; | ||
export { Radio } from './components/forms/Radio/Radio'; | ||
@@ -58,0 +60,0 @@ export { RangeInput } from './components/forms/RangeInput/RangeInput'; |
{ | ||
"name": "@trussworks/react-uswds", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"description": "React USWDS 3.0 component library", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@uswds/uswds": "3.1.0", | ||
"@uswds/uswds": "3.4.1", | ||
"react": "^16.x || ^17.x || ^18.x", | ||
@@ -80,3 +80,3 @@ "react-dom": "^16.x || ^17.x || ^18.x" | ||
"@typescript-eslint/parser": "^5.40.0", | ||
"@uswds/uswds": "3.1.0", | ||
"@uswds/uswds": "3.4.1", | ||
"all-contributors-cli": "^6.24.0", | ||
@@ -90,3 +90,3 @@ "babel-jest": "^29.4.3", | ||
"eslint": "^8.25.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-import-resolver-webpack": "^0.13.1", | ||
@@ -93,0 +93,0 @@ "eslint-plugin-import": "^2.18.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6265
2016969
174