@trussworks/react-uswds
Advanced tools
Comparing version 2.9.0 to 3.0.0
@@ -5,2 +5,41 @@ # Changelog | ||
## [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) | ||
@@ -7,0 +46,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReactUSWDS=t():e.ReactUSWDS=t()}(this,(function(){return function(){"use strict";var e={1222:function(e,t,o){o.r(t)}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var f=t[r]={exports:{}};return e[r](f,f.exports,o),f.exports}return o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(1222),{}}()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ReactUSWDS=t():e.ReactUSWDS=t()}(this,(function(){return function(){"use strict";var e={};return function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}(e),e}()})); |
{ | ||
"name": "@trussworks/react-uswds", | ||
"version": "2.9.0", | ||
"version": "3.0.0", | ||
"description": "React USWDS 2.0 component library", | ||
@@ -46,14 +46,2 @@ "keywords": [ | ||
}, | ||
"contributors": [ | ||
"Suzanne Rozier <suz@truss.works>", | ||
"John Gedeon <john@truss.works>", | ||
"Erin Stanfill <erin@truss.works>", | ||
"Sara Bocciardi <sara@truss.works>", | ||
"Jeri Sommers <sojeri@truss.works>", | ||
"Emily Mahanna <emahanna@truss.works>", | ||
"Hana Worku <hana@truss.works>", | ||
"Duncan Spencer <duncan@truss.works>", | ||
"Brandon Lenz <brandon@truss.works>", | ||
"Arianna Kellogg <ari@truss.works>" | ||
], | ||
"license": "Apache-2.0", | ||
@@ -72,2 +60,3 @@ "bugs": { | ||
"@babel/preset-react": "^7.10.4", | ||
"@babel/preset-typescript": "^7.15.0", | ||
"@storybook/addon-a11y": "^6.4.20", | ||
@@ -83,3 +72,3 @@ "@storybook/addon-essentials": "^6.4.19", | ||
"@testing-library/react": "^12.1.0", | ||
"@testing-library/react-hooks": "^7.0.0", | ||
"@testing-library/react-hooks": "^8.0.0", | ||
"@testing-library/user-event": "^14.0.4", | ||
@@ -90,6 +79,6 @@ "@types/classnames": "^2.2.9", | ||
"@types/react-dom": "^17.0.0", | ||
"@types/react-test-renderer": "^17.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.22.1", | ||
"@typescript-eslint/parser": "^4.22.1", | ||
"all-contributors-cli": "^6.20.0", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"babel-eslint": "^10.0.3", | ||
@@ -101,3 +90,3 @@ "babel-jest": "^27.0.2", | ||
"danger": "^11.0.0", | ||
"dotenv": "^10.0.0", | ||
"dotenv": "^16.0.0", | ||
"eslint": "^7.29.0", | ||
@@ -113,4 +102,5 @@ "eslint-config-prettier": "^8.5.0", | ||
"focus-trap-react": "^8.8.1", | ||
"fork-ts-checker-webpack-plugin": "^6.3.3", | ||
"happo-plugin-storybook": "^2.7.0", | ||
"happo.io": "^6.0.0", | ||
"happo.io": "^7.1.0", | ||
"husky": "^4.3.8", | ||
@@ -117,0 +107,0 @@ "jest": "^26.1.0", |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
2958327
70
64
1668
1