All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.1.6 (2023-12-11)
5.1.3 (2022-05-07)
- fix typos throughout codebase (725d1a2)
- typos: fix additional typos throughout repo (ef20132)
5.1.2 (2022-04-02)
- react-md.dev: useLayoutEffect for page transitions (638c8ec)
5.1.0 (2022-03-18)
- run lint-scripts --fix for consistent-type-imports (42d839d)
5.0.0 (2022-01-31)
- @react-md/transition: Do not create styles for hidden elements (6eff8a8)
- @react-md/utils: Positioning logic for inner-left/inner-right and vertical anchors (a38abfb)
4.0.3 (2021-12-31)
4.0.1 (2021-11-27)
- @react-md/transition: Fix transitionTo documentation to use useEffect (31a31da)
4.0.0 (2021-11-24)
- sass: Do not use legacy global functions (6159e16)
- Update to use new JSX Transform and latest
eslint
(8111cd3) - @react-md/transition: No longer use findDOMNode for transitions (cb952da)
- @react-md/typography: Renamed Text to
Typography
(30cf056) - @react-md/utils: Export additional positioning types (b50a04c)
- always skip lib check (229cef1)
- Re-ran
prettier
(9632d82) - Updated remaining docs and tests for
react-router-dom
v6 (e012ef9) - react-md: Remove prop-types package and usage (2637a6f)
- stylelint: Updated to use
stylelint
(22d1598)
- Minimum React version is now 16.14 instead of 16.8
- @react-md/typography: The Text component has been renamed to Typography to
help with auto-imports conflicting with the Text element that exists in
lib.d.ts
- react-md: There will no longer be run-time prop validation with
the
prop-types
package.
3.1.0 (2021-09-10)
- ran
yarn format
to include new files (48d3d7f)
3.0.1 (2021-08-15)
3.0.0 (2021-08-13)
- react-md.dev: updated examples to work with
sass
instead of node-sass (d8ddf51)
2.9.1 (2021-07-27)
- install: slighly reduce install size by excluding tests in publish (9d01a44)
2.9.0 (2021-07-18)
Note: Version bump only for package @react-md/transition
2.8.5 (2021-07-03)
Note: Version bump only for package @react-md/transition
2.8.4 (2021-06-10)
- ran
prettier
after upgrading to v2.3.0 (3ce236a)
2.8.3 (2021-05-18)
- react-md.dev: updated tsdoc to work with
typedoc
(cf54c35)
2.8.2 (2021-04-23)
Note: Version bump only for package @react-md/transition
2.8.0 (2021-04-22)
- @react-md/transition: Updated
useFixedPositioning
to merge style objects (1ab84d7) - @react-md/transition: updated
useFixedPositioning
to support fixedTo ref (ced550a)
- @react-md/transition: bump @types/react-transitition-group from v4.2.4 to v4.4.1 (f3f5c7b)
- tsconfig: separate tsconfig by package instead of a single root (b278230)
2.7.1 (2021-03-23)
- ts: stopped using FC type (c5daa47)
2.7.0 (2021-02-28)
- tsdoc: fixed remaining tsdoc syntax warnings (946f4dd)
- tsdoc: fixed some tsdoc annotations and styling (0449b86)
- updated test coverage to not include conditional component PropTypes (24e5df1)
2.6.0 (2021-02-13)
Note: Version bump only for package @react-md/transition
2.5.5 (2021-01-30)
Note: Version bump only for package @react-md/transition
2.5.4 (2021-01-27)
Note: Version bump only for package @react-md/transition
2.5.0 (2020-12-15)
Note: Version bump only for package @react-md/transition
2.4.2 (2020-10-23)
Note: Version bump only for package @react-md/transition
2.4.1 (2020-10-17)
Note: Version bump only for package @react-md/transition
2.4.0 (2020-10-17)
- @react-md/theme: Better Contrast Colors by Default and dev-utils refactor (#955) (519b128)
2.3.1 (2020-09-15)
Note: Version bump only for package @react-md/transition
2.3.0 (2020-09-10)
Note: Version bump only for package @react-md/transition
2.2.2 (2020-09-02)
Note: Version bump only for package @react-md/transition
2.2.1 (2020-09-02)
Note: Version bump only for package @react-md/transition
2.1.2 (2020-08-01)
- @react-md/transition:
useCSSTransition
now correctly forwards refs (36f832f)
2.1.1 (2020-07-21)
Note: Version bump only for package @react-md/transition
2.1.0 (2020-07-12)
Note: Version bump only for package @react-md/transition
2.0.2 (2020-06-30)
- LICENSE: Removed the time range from license since it was incorrect (50c9021)
- Added
sideEffects
field topackage.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
.
- The
Collapse
component will have a static transition time instead of being based on the size of the content - The
Collapse
component now supports aminHeight
to create a partially collapsed element - Added two additional components for default transitions:
CrossFade
andScaleTransition
- Added hook versions for all the collapse and cross fade transitions:
useCollase
useCrossFade
- Created hook versions of the
react-transition-group
package to handle custom transitions withuseTransition
anduseCSSTransition
- Created a hook to be used with the
react-transition-group
package to fix an element to another element within the page. (Similar to theLayover
component)
- The
Collapse
component no longer uses react-motion and spring configuration. - Removed the transition placeholders and the transition class names:
%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
, ordeceleration
$rmd-collapse-leave-transition-func: acceleration !default
- A customizable variable for the collapse transition that can be one of:sharp
,standard
,acceleration
, ordeceleration
$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 abox-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 from16px
to-1rem