All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
yarn format
to include new files
(48d3d7f)sass
instead of node-sass
(d8ddf51)Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
prettier
after upgrading to v2.3.0
(3ce236a)typedoc
(cf54c35)Note: Version bump only for package @react-md/transition
useFixedPositioning
to merge style objects
(1ab84d7)useFixedPositioning
to support fixedTo ref
(ced550a)Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
useCSSTransition
now correctly forwards refs
(36f832f)Note: Version bump only for package @react-md/transition
Note: Version bump only for package @react-md/transition
sideEffects
field to package.json
(31820b9)sideEffects
formatting
(78a7b6b)No changes.
Every transition was re-written in this release so it is a pretty big breaking
change. The main differences are upgrading to transition API as well as
shortening most of the transitions throughout react-md
.
Collapse
component will have a static transition time instead of being
based on the size of the contentCollapse
component now supports a minHeight
to create a partially
collapsed elementCrossFade
and
ScaleTransition
useCollase
useCrossFade
react-transition-group
package to handle custom
transitions with useTransition
and useCSSTransition
react-transition-group
package to fix an
element to another element within the page. (Similar to the Layover
component)Collapse
component no longer uses react-motion and spring
configuration.%md-transition--sharp
%md-transition--standard
%md-transition--acceleration
%md-transition--deceleration
.md-transition--sharp
.md-transition--standard
.md-transition--acceleration
.md-transition--deceleration
$rmd-transition-enter-time: 0.2s !default
- The duration for an enter
transition used for most transitions$rmd-transition-leave-time: 0.15s !default
- The duration for a leave
transition used for most transitions$rmd-collapse-enter-transition-func: deceleration !default
- A customizable
variable for the collapse transition that can be one of: sharp
, standard
,
acceleration
, or deceleration
$rmd-collapse-leave-transition-func: acceleration !default
- A customizable
variable for the collapse transition that can be one of: sharp
, standard
,
acceleration
, or deceleration
$rmd-transition-scale-enter-duration: $rmd-transition-enter-time !default
-
The transition duration for the new scaling transition's entering phase.$rmd-transition-scale-leave-duration: $rmd-transition-leave-time !default
-
The transition duration for the new scaling transition leaving phase.$rmd-transition-scale-y-enter-duration: $rmd-transition-enter-time !default
-
The transition duration for the new vertical scaling transition's entering
phase.$rmd-transition-scale-y-leave-duration: $rmd-transition-leave-time !default
-
The transition duration for the new vertical scaling transition leaving phase.@mixin rmd-transition
- applies the correct transition/animation timing
function from one of the supported transition types.@mixin rmd-transition-shadow-transition
- adds a performant version of a
box-shadow
transition using a pseudo element and opacity changes.$md-transition-sharp
was renamed to $rmd-transition-sharp
$md-transition-standard
was renamed to $rmd-transition-standard
$md-transition-acceleration
was renamed to $rmd-transition-acceleration
$md-transition-deceleration
was renamed to $rmd-transition-deceleration
$md-transition-time
was renamed to $rmd-transition-standard-time
$md-cross-fade-transition-time
was renamed to
$rmd-cross-fade-transition-duration
$md-cross-fade-distance
was renamed to $rmd-cross-fade-translate-distance
and changed the default value from 16px
to -1rem