Skip to content

Releases: trussworks/react-uswds

3.2.0

27 Sep 18:54
e36635f
Compare
Choose a tag to compare

3.2.0 (2022-09-27)

Features

Fixes

3.1.0

13 Jul 23:18
8448a5f
Compare
Choose a tag to compare

3.1.0 (2022-07-13)

Features

Bug Fixes

  • Danger contributors check (#2167) (c05fe06)
  • Emit headingLevel type and do not emit type declarations for tests (#2134) (a4501dd)
  • export SummaryBoxHeading and SummaryBoxContent (#2100) (141ba8e)

Documentation & Examples

3.0.2

17 May 16:23
f28a10b
Compare
Choose a tag to compare

3.0.2 (2022-05-13)

Bug Fixes

  • Fixes an issue where Type definitions were not properly packaged (#2053) (febcd65)

3.0.1

13 May 17:04
6177a31
Compare
Choose a tag to compare

3.0.1 (2022-05-09)

Bug Fixes

  • Attempted to fix an issue where Type definitions were not properly packaged

3.0.0

25 Apr 16:29
3d2e7ee
Compare
Choose a tag to compare

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

Documentation & Examples

2.9.0

14 Apr 19:20
f1a66b3
Compare
Choose a tag to compare

2.9.0 (2022-04-14)

Features

  • Add ability to pass through StepIndicator heading props (#1895) (3830814)
  • Adds headingLevel prop for Alert component (#1928) (ce6de61)
  • Deprecate default heading levels (#1947) (512a901)

Bug Fixes

2.8.0

18 Feb 20:14
19ebd19
Compare
Choose a tag to compare

2.8.0 (2022-02-18)

Features

  • Accept Accordion headingLevel in items prop (#1905) (5090110)

Documentation & Examples

2.7.2

14 Feb 20:55
0930105
Compare
Choose a tag to compare

Bug Fixes

  • Fix modal causing body padding to increase when unmounted (#1899) (fb46e88)

2.7.1

27 Jan 20:48
6533345
Compare
Choose a tag to compare

Bug Fixes

  • Render modal outside app root by default. (#1890) (0828351)

2.7.0

19 Jan 15:37
c84c32f
Compare
Choose a tag to compare

Features

Bug Fixes

Documentation & Examples