Major refactor of Accordion
WA
Wallin Amanda
AccordionDetails
can no longer have a white background as per the new design guidelines. As a result, the background
prop has been removed.displayName
has been removed from Accordion
and its children.AccordionSummary
, the props primaryText
and secondaryText
have been renamed to title
and subtitle
.slots
prop has been introduced in AccordionSummary
, which accepts:
detail
startAdornment
primaryMeta
and secondaryMeta
have been removed. Use slots.detail
to pass in a Typography
component instead.imageLeft
and iconLeft
have been merged into slots.startAdornment
.AccordionSummary
:capitalizeFirstLetter
, expandIconPosition
, setExpanded
, disableRipple
, openAccordion
, and closeAccordion
.AccordionSummary
and AccordionDetails
are now deprecated.AccordionCard
.negativeMargins
in Accordion
and its children (default: true
).Title
component now supports an optional badge.Breaking
10.0.0
0.8.12
Breaking
4.0.0
0.1.0
Breaking
4.0.0
Breaking
4.0.0
Breaking
4.0.0
0.2.0
ui/departure-card
ui/error-summary-card
ui/information-card
ui/journey-card
ui/journey-summary
ui/switch
ui/switch-card
ui/switch-list-item
ui/table
ui/trains
ui/transport-details
ui/transport-image
ui/transport-summary