All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
eslint
(8111cd3)stylelint
(22d1598)prop-types package.yarn format to include new files
(48d3d7f)Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
typedoc
(cf54c35)Note: Version bump only for package @react-md/expansion-panel
loop util to allow for a specific min value
(51bcf92)Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
Note: Version bump only for package @react-md/expansion-panel
sideEffects field to package.json
(31820b9)sideEffects formatting
(78a7b6b)No changes.
This release has fixed the keyboard movement behavior for the expansion panels
as well as updating the API to use a hook instead of React.cloneElement hacks.
In addition, the ExpansionPanel will now no longer attempt to create equal
width labels within each panel and instead will need to be done manually.
The expansion behavior is now provided through a hook: usePanels that will
provide the required props for each of your panels as well as the "root"
onKeyDown event listener required to navigate between each panel. Since the
expansion functionality was moved into this hook, the ExpansionList component
is not actually useful other than enforcing that children and onKeyDown
props are required and provides no styles.
ref to the DOM elementusePanels hook to implement keyboard focus behavior along
with expansion logic for your panelsExpansionPanelHeader component for additional customizationlabel, secondaryLabel, and expandedSecondaryLabel
props and instead should use the header for contentheader no longer changes height once expandedfooter prop was removed from the ExpansionPanel since the children
should be used instead$rmd-expansion-panel-expander-icon-spacing: $rmd-icon-spacing-with-text !default -
The spacing to use for the expansion panel's expander icon that will be used
as padding-left for the icon@function rmd-expansion-panel-theme - gets one of the theme values and
validates that the theme name is valid@function rmd-expansion-panel-theme-var - gets one of the theme values as a
css variable with a fallback value and validates that the theme name is valid@mixin rmd-expansion-panel-theme - applies one of the theme values to a css
property as a css variable@mixin rmd-expansion-panel-theme-update-var - updates one of the theme
values as a css variable@mixin react-md-expansion-panel - creates all the styles required for the
expansion panel package@mixin rmd-expansion-panel - used to apply all the expansion panel styles to
a selector. Probably won't be used externally$md-expansion-panel-opened-margin to $rmd-expansion-panel-spacing
and changed the default value from 16px to 1rem$md-expansion-panel-padding to $rmd-expansion-panel-header-padding
and changed the default value from 24px to 1rem$md-expansion-panel-font-size and
$md-expansion-panel-secondary-font-size since there are no label props
anymore$md-expansion-panel-expanded-height since the panel's header no
longer changes height once expanded@mixin react-md-theme-expansion-panels since it is no longer
required@mixin react-md-expanion-panels