All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
6.1.0 (2023-11-27)
- Add “use client” to fix React Server Components (#2656) (fad63b1)
- Added multiselect story (#2648) (03652fe)
- a11y: move aria-label from svg icon to button (#2640) (fa18032)
- adding labels in combo box (default combo box, with default value) (#2636) (7714d14)
6.0.0 (2023-10-31)
<TimePicker>
implementations must specify alabel
prop- Dropdown has been removed use
<Select>
instead
- Label is mandatory for TimePicker component (#2629) (c7f00d3)
- readme quick links (#2646) (d4c0b4e)
- Updates sign in stories to fix aria-controls issue of show password button (#2627) (67c1114)
5.5.0 (2023-10-20)
- added 4 icons (#2525) (c489814)
- Added LanguageDefinition to exports (#2570) (0f4688a)
- Added required marker (#2524) (c5f2b40)
- Allow Tooltip label to be a string or React component (#2596) (bc01008)
- changed template links to buttons (#2526) (a4b8423)
- replaced memorable date month input with select (#2527) (d38b31b)
- Language selector: add prop for display lang for bug fix (#2622) (df68d0d)
- Sass modules bug (#2555) (a1ed9f7)
- storybook: password label set to password input field id on sign in (#2618) (eae195e)
- storybook: sufficient color contrast set in custom class button (#2619) (2878822)
- Updates file input stories to set appropriate html for value of label (#2628) (7f51150)
- add design PR review documentation (#2615) (2892424)
- adds in information on how to test PRs in GitHub Codespaces (#2617) (ef944f8)
5.4.0 (2023-09-29)
5.3.1 (2023-09-08)
5.3.0 (2023-08-29)
5.2.0 (2023-08-14)
- Adds story using validation prop for Alert component (#2504) (c5176c9)
- Improve character count component's SR experience (#2550) (c612a1b)
- moved overrides to let us use utilities (#2553) (45e1430)
5.1.1 (2023-07-17)
5.1.0 (2023-07-14)
- added customizable text control to file input (#2417) (0a387be)
- adds unbounded functionality to pagination (#2418) (f9e7957)
- a11y: adds css to hide search clear button that causes accessibility issues (#2467) (d19527f)
- added error param, test, story (#2488) (42da85d)
5.0.0 (2023-06-06)
- Unify icon usage (#2411)
- As a part of this change, the previously exported
BannerLockIcon
component has been removed. Consumers building customBanner
components for their applications should use theIcon.Lock
(with appropriate aria attributes) as shown in our Storybook example
- As a part of this change, the previously exported
- Add
validationStatus
prop toDropdown
(#2365) (c314234) - Add
InputGroup
component (#2383) (5761db6) - Update banner aria props with changes from USWDS (#2384) (f8c359b)
- Adds validation styles to
DatePicker
(#2398) (161a931) - Allow
CharacterCount
value ^ defaultValue (#2397) (9de5b9d) - Rename
Dropdown
component toSelect
(#2415) (75e9369)- Note:
Dropdown
is now marked as deprecated, and will be removed in a future release
- Note:
- Fix
FileInput
in SSR (#2367) (3d4845e) - Fix misapplied aria attribute (#2396) (dafbb4e)
- Unify icon usage (#2411) (ef2be8d)
4.2.1 (2023-04-24)
4.2.0 (2023-04-03)
- fix typo and add alt download instructions (#2281) (7508dfb)
- Update old references from USWDS 2.0 to USWDS 3.0 (#2317) (6232c5c)
4.1.1 (2023-02-23)
4.1.0 (2023-02-17)
4.0.0 (2022-11-08)
- upgrade to USWDS v3.1.0 (#2203) (cd40e03)
- Add defaultValue prop to Search component (#2211) (6ad525b)
3.2.0 (2022-09-27)
3.1.0 (2022-07-13)
- Danger contributors check (#2167) (c05fe06)
- Emit headingLevel type and do not emit type declarations for tests (#2134) (a4501dd)
- export SummaryBoxHeading and SummaryBoxContent (#2100) (141ba8e)
3.0.2 (2022-05-13)
3.0.1 (2022-05-09)
- Attempted to fixes an issue where Type definitions were not properly packaged
3.0.0 (2022-04-25)
- 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. UseaccentStyle
instead.big
,small
, andsize="small"
have been removed. Usesize="big"
or do not define thesize
prop for default sizing.
- CollectionHeading: Default heading level has been removed. Consumers must now specify via the
headingLevel
prop. - Footer/Address:
big
,medium
, andslim
props have been removed. Use thesize
prop instead. - Footer/Footer:
big
,medium
, andslim
props have been removed. Use thesize
prop instead. - Footer/FooterNav:
big
,medium
, andsmall
props have been removed. Use thesize
prop instead. - Footer/Logo:
big
,medium
, andsmall
props have been removed. Use thesize
prop instead. - Search:
big
, andsmall
props have been removed. Use thesize
prop instead. - Fieldset:
legendSrOnly
has been removed. UselegendStyle="srOnly"
instead. - TextInput:
error
, andsuccess
props have been removed. Use thevalidationStatus
prop instead. - header/NavList:
primary
,secondary
,subnav
,megamenu
, andfooterSecondary
props have been removed. Use thetype
prop instead. - StepIndicator: Default heading level has been removed. Consumers must now specify via the
headingLevel
prop.
- Accordion: Default heading level has been removed. Consumers must now specify via the
- 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.
-
ci: add automerge priority label for Kodiak (#1985) (9dc940e)
-
Remove 1.x.x and 2.x.x deprecated properties (#1988) (5dfadb1)
2.9.0 (2022-04-14)
- Add ability to pass through StepIndicator heading props (#1895) (3830814)
- Adds headingLevel prop for Alert component (#1928) (ce6de61)
- Deprecate default heading levels (#1947) (512a901)
- docs: Fix typo in Storybook documentation template #1914 (#1949) (#1967) (7438640)
- docs: Fix typo in storybook file name (#1934) (7514689)
2.8.0 (2022-02-18)
2.7.2 (2022-02-14)
2.7.1 (2022-01-27)
2.7.0 (2022-01-12)
2.6.0 (2022-01-07)
2.5.0 (2022-01-03)
2.4.1 (2021-10-29)
- Fix build artifact containing unused type definitions (#1726)
2.4.0 (2021-10-27)
- Control ComboBox scroll with scrollTop instead of scrollIntoView (#1715) (600d53b)
- Add ComboBox status text and aria-activedescendant values (#1716) (29919bf)
2.3.0 (2021-10-19)
2.2.0 (2021-10-08)
2.1.0 (2021-09-29)
2.0.0 (2021-06-15)
- Expose FileInput component ref with a clearFiles method (#1165)
- Expose ComboBox component ref with a clearSelection method (#1236)
- deps-dev: Update Typescript to 4.0+ (#1214)
- Modal component has been removed. The USWDS Modal will be added when reaching parity with USWDS 2.11.x
- Accordion component default behavior was updated to match USWDS. To continue to use the multiselectable behavior, use the multiselectable prop.
- Collection Component (#1133) (cdc200f)
- Deprecate the Modal component (#956) (7ae4e30)
- Expose ComboBox component ref with a clearSelection method (#1236) (e90e4df)
- Expose FileInput component ref with a clearFiles method (#1165) (0bc0b54)
- Update Accordion component default behavior to match USWDS (#922) (c063047)
-
Fix TimePicker filter behavior. Misc ComboBox Fixes (#1139) (c684844)
-
Update storybook form control organization and SWDS URLs (#1136) (bfd7344)
1.17.0 (2021-05-05)
- Checkbox Tile Variant (#1104) (9936c4a)
- Implement ProcessListHeading subcomponent (#1162) (964e34c)
- New Component ProcessList MVP (#1107) (1bc0f93)
- New Component SiteAlert (#1099) (c1e88e0)
- New Component SummaryBox (#1098) (b2279b4)
- Radio Button Tile Variant (#1101) (a2f40a0)
- Update Grid components to render any type of element (#1166) (07468c8), closes #1194
- Update Search component to support i18n (#1192) (5241d15)
- Update Table to 2.10.0 implementation (#1110) (117a6c7)
1.16.0 (2021-04-22)
- Add i18n support to DatePicker component (#990) (2000b9c)
- Update to USWDS 2.10.3 (#1106) (c9f71d7)
- Implement Identifier subcomponents (#1100) (703a60d)
1.15.0 (2021-04-12)
- Identifier component (#1044) (e79bc87)
- StepIndicator component (#1047) (d61988e)
- TimePicker component (#1082) (c7bfdee)
- Update to USWDS 2.9.0 (#1048) (3859eea)
1.14.0 (2021-03-22)
1.13.2 (2021-03-11)
1.13.1 (2021-03-08)
1.13.0 (2021-02-26)
1.12.2 (2021-02-22)
1.12.1 (2021-02-22)
1.12.0 (2021-02-18)
1.11.0 (2021-02-08)
- Add Modal deprecation warnings (non-breaking deprecation) (#825) (41d7e8e)
- Add nav variant to Link component (#846) (c92159e)
- New Component: Breadcrumb (#804) (1a804d3)
- Update GovBanner to match USWDS 2.8.0 release (#782) (3d61f78)
- Upgrade to React 17 (#826) (9f75909)
- Add request for implementation issue template (#726) (93300e8)
- cleanup storybook examples and clear warnings (#736) (4b0f7aa)
- Reorganize Storybook sidebar nav to better reflect USWDS docs (#785) (a9ff49f)
- Update license to 2021 (#767) (82329da)
1.10.0 (2020-12-29)
1.9.3 (2020-11-13)
- Happo automation should skip dependabot PRs (#453) (dc5bffc)
- Require Typescript 3.8+ (#521) (53efe5d)
- update example app deps to fix security issue (#476) (00fd70a)
1.9.2 (2020-09-10)
- storybook: Upgrade to 6.0.12 (#418) (65d91cc)
- Improve documentation for new contributors, trussels (#402) (0849a30)
1.9.1 (2020-08-18)
1.9.0 (2020-08-10)
- ButtonGroup: Add new component ButtonGroup (#382) (a7b84d6)
- CharacterCount: Add new component CharacterCount (#383) (cc12034)
- add addon-viewports using the included INITIAL_VIEWPORTS list as default for all stories (#376) (9683b40)
- Validation: Add new Validation components (#351) (2b2369a)
- Even more info and emphasis on conventional commits (#350) (1301cc4)
- Point users to react-fontawesome for icons (#364) (3de50ef)
1.8.0 (2020-07-27)
- danger: Block PR if yarn audit has high or critical, do not run on dependabot, no warn on version (#327) (ee13281), closes #324
- storybook: switch to addon-docs (#323) (ccae95d), closes #119
- storybook: upgrade to 5.3.0, prepare for addon-docs (#322) (1f1fc6a), closes #119
- correct version syntax in deploy-storybook worflow(#321) (4eb7d2c)
- Export NavDropDownButton (91f9ca7)
- remove commitizen; upgrade example app dependencies (#335) (9c5aea2)
- add @ahobson as codeowner, remove check-in meeting (#347) (9eaf02b)
- Add new component issue template (#340) (8fb0f4b)
1.7.0 (2020-07-15)
- address all lint warnings (#319) (95a12a3)
- refactor menu, megamanu; removes deprecation warnings from tests (#313) (42e2481)
1.6.1 (2020-07-13)
- standard-version: use -t flag correctly, autocommit changelog and release bump (#310) (a96591e)
- Use JSX.ImplicitElements to derive valid property names (#267) (2eba792)
- Address: convert to enum size prop, deprecate boolean (#269) (952bb71), closes #265
- button: size enum on Button, add deprecationWarning util (#229) (3b3f4e7), closes #187
- card: add card component (89cf241)
- example app: add modals page example 204 (#250) (1054469)
- Footer,FooterNav: use size prop, deprecate boolean sizes (#239) (c5abdc4), closes #233
- Logo: use size prop, deprecate boolean types (#268) (ea88c50), closes #264
- NavList: use type prop, deprecate boolean types (#262) (7c83154), closes #234
- Search: add size enum prop, deprecate big,small boolean props (#270) (c5daf8d), closes #266
- TextInput: use enum props, deprecate booleans (#284) (6565be6), closes #283
- card: add card components to export (d57eefc)
- example-app: Example app UI #202 (#237) (832decc)
- Add new pull request template #73 (#226) (f030ba6)
- adding new components docs #73 (#248) (981956f)
- rangeinput: creates form RangeInput component, test, and stories (#194) (8e0179f), closes #81
- add dateInput component for forms (#144) (bc5eccc)
- add Footer component #142 (#146) (94c3ed8)
- accept id and name props for Search component input field (#183) (c39c085), closes #162
- export Search component (2508829)
- extends header menu to accept list props for corresponding id (#188) (85a1780), closes #165
- removes the usa-search class name from the form component (#184) (8cb5121), closes #163
- update gov banner to uswds version 2.7.0 (c5bd62c)
- Add new Alert styles (slim, no icon) and allow the Alert to accept
div
attributes as props - Add additional CSS utility classes for background colors and text colors
- Add additional examples of Form templates (Sign In form, Reset Password form) to Storybook
- Add initial set of USWDS form components (Checkbox, Dropdown, ErrorMessage, Fieldset, Form, FormGroup, Label, Radio, TextInput, Textarea)
- Add native HTML attributes to existing Tag & Button components in order to support custom CSS classes
- Add new Modal component (designed by Truss) and related Overlay and ModalContainer components
- Initial set of USWDS components (Accordion, Alert, Button, GovBanner, SideNav, Table, Tag)
- Initial documentation and dev configuration for contributing & usage