3.0.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. 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.
Features
-
ci: add automerge priority label for Kodiak (#1985) (9dc940e)
-
Remove 1.x.x and 2.x.x deprecated properties (#1988) (5dfadb1)