Skip to content

Commit

Permalink
chore(release): 3.0.0 (trussworks#2040)
Browse files Browse the repository at this point in the history
## [3.0.0](trussworks/react-uswds@2.9.0...3.0.0) (2022-04-25)


### ⚠ BREAKING CHANGES

* Previous deprecated features and props have been removed. Please see the following guidance for affected components:
  * Accordion: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
  * Alert: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
  * Button: 
    * `accent` has been removed. Use `accentStyle` instead.
    * `big`, `small`, and `size="small"` have been removed. Use `size="big"` or do not define the `size` prop for default sizing.
  * CollectionHeading: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
  * Footer/Address: `big`, `medium`, and `slim` props have been removed. Use the `size` prop instead.
  * Footer/Footer: `big`, `medium`, and `slim` props have been removed. Use the `size` prop instead.
  * Footer/FooterNav: `big`, `medium`, and `small` props have been removed. Use the `size` prop instead.
  * Footer/Logo: `big`, `medium`, and `small` props have been removed. Use the `size` prop instead.
  * Search: `big`, and `small` props have been removed. Use the `size` prop instead.
  * Fieldset: `legendSrOnly` has been removed. Use `legendStyle="srOnly"` instead.
  * TextInput: `error`, and `success` props have been removed. Use the `validationStatus` prop instead.
  * header/NavList: `primary`, `secondary`, `subnav`, `megamenu`, and `footerSecondary` props have been removed. Use the `type` prop instead.
  * StepIndicator: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
* SummaryBox now exposes sub-components (SummaryBoxHeading and SummaryBoxContent) for a more compositional API. Consumers will need to update their implementation to match.
* In order to accommodate IconList as a named component, Icons themselves needed to be refactored. All use of ReactUSWDS icons now follows the following syntax: <Icon.{IconName} /> instead of <Icon{IconName />. Furthermore, icons are no longer imported individually. Instead, Icon (the class) is imported to then use any <Icon.{IconName}> consumers require.

### Features

* add isInitiallyOpen option to modal ([trussworks#1971](trussworks#1971)) ([560564e](trussworks@560564e))
* Make Summary Box more flexible ([trussworks#1929](trussworks#1929)) ([a46ed35](trussworks@a46ed35))
* New Component: IconList ([trussworks#1691](trussworks#1691)) ([86589ac](trussworks@86589ac))
* **ci:** add automerge priority label for Kodiak ([trussworks#1985](trussworks#1985)) ([9dc940e](trussworks@9dc940e))


* Remove 1.x.x and 2.x.x deprecated properties ([trussworks#1988](trussworks#1988)) ([5dfadb1](trussworks@5dfadb1))


### Documentation & Examples

* 404 page template added ([trussworks#2017](trussworks#2017)) ([0c9474d](trussworks@0c9474d))
  • Loading branch information
brandonlenz authored Apr 25, 2022
1 parent 99b42cb commit 3d2e7ee
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.0.0](https://github.com/trussworks/react-uswds/compare/2.9.0...3.0.0) (2022-04-25)


### ⚠ BREAKING CHANGES

* Previous deprecated features and props have been removed. Please see the following guidance for affected components:
* Accordion: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
* Alert: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
* Button:
* `accent` has been removed. Use `accentStyle` instead.
* `big`, `small`, and `size="small"` have been removed. Use `size="big"` or do not define the `size` prop for default sizing.
* CollectionHeading: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
* Footer/Address: `big`, `medium`, and `slim` props have been removed. Use the `size` prop instead.
* Footer/Footer: `big`, `medium`, and `slim` props have been removed. Use the `size` prop instead.
* Footer/FooterNav: `big`, `medium`, and `small` props have been removed. Use the `size` prop instead.
* Footer/Logo: `big`, `medium`, and `small` props have been removed. Use the `size` prop instead.
* Search: `big`, and `small` props have been removed. Use the `size` prop instead.
* Fieldset: `legendSrOnly` has been removed. Use `legendStyle="srOnly"` instead.
* TextInput: `error`, and `success` props have been removed. Use the `validationStatus` prop instead.
* header/NavList: `primary`, `secondary`, `subnav`, `megamenu`, and `footerSecondary` props have been removed. Use the `type` prop instead.
* StepIndicator: Default heading level has been removed. Consumers must now specify via the `headingLevel` prop.
* SummaryBox now exposes sub-components (SummaryBoxHeading and SummaryBoxContent) for a more compositional API. Consumers will need to update their implementation to match.
* In order to accommodate IconList as a named component, Icons themselves needed to be refactored. All use of ReactUSWDS icons now follows the following syntax: <Icon.{IconName} /> instead of <Icon{IconName />. Furthermore, icons are no longer imported individually. Instead, Icon (the class) is imported to then use any <Icon.{IconName}> consumers require.

### Features

* add isInitiallyOpen option to modal ([#1971](https://github.com/trussworks/react-uswds/issues/1971)) ([560564e](https://github.com/trussworks/react-uswds/commit/560564e41572d270940db3f5029b240ef416c5b2))
* Make Summary Box more flexible ([#1929](https://github.com/trussworks/react-uswds/issues/1929)) ([a46ed35](https://github.com/trussworks/react-uswds/commit/a46ed35d1da5a4d4fed86240487547462bed3ce4))
* New Component: IconList ([#1691](https://github.com/trussworks/react-uswds/issues/1691)) ([86589ac](https://github.com/trussworks/react-uswds/commit/86589ac5c629df026cc01518d6d69fe9d8ddabe9))
* **ci:** add automerge priority label for Kodiak ([#1985](https://github.com/trussworks/react-uswds/issues/1985)) ([9dc940e](https://github.com/trussworks/react-uswds/commit/9dc940ec25246eb9c3af49b310a159134ce11203))


* Remove 1.x.x and 2.x.x deprecated properties ([#1988](https://github.com/trussworks/react-uswds/issues/1988)) ([5dfadb1](https://github.com/trussworks/react-uswds/commit/5dfadb14a3559e308c20d3b7852879a3aa0a3848))


### Documentation & Examples

* 404 page template added ([#2017](https://github.com/trussworks/react-uswds/issues/2017)) ([0c9474d](https://github.com/trussworks/react-uswds/commit/0c9474ddedb2ad2f4cbb50357696814ddd4db99d))

## [2.9.0](https://github.com/trussworks/react-uswds/compare/2.8.0...2.9.0) (2022-04-14)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trussworks/react-uswds",
"version": "2.9.0",
"version": "3.0.0",
"description": "React USWDS 2.0 component library",
"keywords": [
"react",
Expand Down

0 comments on commit 3d2e7ee

Please sign in to comment.