All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.1.6 (2023-12-11)
Note: Version bump only for package @react-md/icon
5.1.3 (2022-05-07)
- fix typos throughout codebase (725d1a2)
- typos: fix additional typos throughout repo (ef20132)
5.1.2 (2022-04-02)
Note: Version bump only for package @react-md/icon
5.1.0 (2022-03-18)
- run lint-scripts --fix for consistent-type-imports (42d839d)
5.0.0 (2022-01-31)
- chore!(icon): Renamed the download icon to upload (2752a98)
4.0.3 (2021-12-31)
- @react-md/icon:
FileInput
default icon changed fromfile_download
tofile_upload
(174d1c1), closes #1325
4.0.1 (2021-11-27)
Note: Version bump only for package @react-md/icon
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/typography: Renamed Text to
Typography
(30cf056)
- always skip lib check (229cef1)
- 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.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/icon
2.8.4 (2021-06-10)
Note: Version bump only for package @react-md/icon
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/icon
2.8.0 (2021-04-22)
- 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)
- tsdoc: updated @since annotations (c62027e)
- updated test coverage to not include conditional component PropTypes (24e5df1)
2.6.0 (2021-02-13)
Note: Version bump only for package @react-md/icon
2.5.5 (2021-01-30)
Note: Version bump only for package @react-md/icon
2.5.4 (2021-01-27)
Note: Version bump only for package @react-md/icon
2.5.0 (2020-12-15)
- @react-md/icon: added an error icon to the IconProvider Component and useIcon Hook (4dfd50a)
- @react-md/icon: added flexReverse prop to TextIconSpacing (c4ee05b)
2.4.2 (2020-10-23)
Note: Version bump only for package @react-md/icon
2.4.1 (2020-10-17)
Note: Version bump only for package @react-md/icon
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/icon
2.3.0 (2020-09-10)
Note: Version bump only for package @react-md/icon
2.2.2 (2020-09-02)
Note: Version bump only for package @react-md/icon
2.2.1 (2020-09-02)
Note: Version bump only for package @react-md/icon
2.1.2 (2020-08-01)
Note: Version bump only for package @react-md/icon
2.1.1 (2020-07-21)
Note: Version bump only for package @react-md/icon
2.1.0 (2020-07-12)
- Booleans in
dist/scssVariables
(f6d43a3)
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.
- all refs are now forwarded to the DOM elements
- new theme API that allows for customizing the size and color of icons a lot
easier with exported
mixin
s - built-in support for right-to-left languages when spacing text with icons
- added an
IconRotator
component to be able to animate a rotation for an iconThis is a new component implementation for the
.md-collapser
/getCollapserStyles
that existed in v1 but wasn't really documented - the
TextIconSpacing
component now requires a parent element withdisplay: flex
to work since it renders as a<Fragment>
instead of a<div>
- the spacing is now handled with
margin
instead ofpadding
with theTextIconSpacing
component - the icon is now placed before the
children
instead of after by default for theTextIconSpacing
component - added a new
forceIconWrap
prop to theTextIconSpacing
component to help with custom components that don't accept aclassName
prop being cloned in for the spacing styles - added additional props to the
TextIconSpacing
for additional customization for the spacing behavior - simplified svg style precedence to be easier to override (
.rmd-icon--svg
instead ofsvg.md-icon
) - changing the size for font icons and svg icons is now the same since they use css variables
- all icons were updated to have
aria-hidden="true"
by default. - all icons no longer support applying theme colors with the
primary
,secondary
,disabled
,error
, andinherit
props and requires custom css instead - the
IconSeparator
has been renamed toTextIconSpacing
and now renders thechildren
as thelabel
and requires anicon
prop (the reverse of v1) - the
SVGIcon
no longer has thetitleAttr
,title
, anddesc
props since they aren't actually helpful with accessibility out of the box sincearia-label
/aria-labelledby
is preferred - the
SVGIcon
changed the defaultrole
from"img"
to"presentation"
$rmd-icon-material-icons-font: false !default
- boolean if you are using thematerial-icons
font icon library and automatically fix the dense spec$rmd-icon-use-font-icons: true !default
- boolean if you want to include the styles for font icons. You can maybe save a few bytes by disabling this variable if you only use svg icons$rmd-icon-use-svg-icons: true !default
- boolean if you want to include the styles for svg icons. You can maybe save a few bytes by disabling this variable if you only use font icons@function rmd-icon-theme
- gets one of the icon's theme values@function rmd-icon-theme-var
- gets one of the icon's theme values as a css variable@mixin rmd-icon-theme
- applies one of the icon's theme values as a css property@mixin rmd-icon-theme-update-var
- updates one of the icon's theme css variables@mixin rmd-icon-text-spacing
- a mixin that allows you to separate two elements
- renamed
$md-font-icon-include-dense
to$rmd-icon-include-dense
- renamed
$md-font-icon-size
to$rmd-icon-size
and changed the default value from24px
to$1.5rem
- renamed
$md-font-icon-dense-size
to$rmd-icon-dense-size
and changed the default value from20px
to1.25rem
- renamed
$md-font-icon-separator-padding
to$rmd-icon-spacing-with-text
and changed the default value from16px
to0.5rem
- renamed
@mixin react-md-icons-dense
tormd-icon-dense-theme
- removed
$md-font-icon-include-separators
since it is always included by default - removed
$md-font-icon-include-dense-material-icons
since it is no longer required - removed
$md-font-icon-light-theme-disabled-color
and$md-font-icon-dark-theme-disabled-color
since they are no longer required - removed
@mixin react-md-theme-icons
since it is no longer required - removed
@mixin react-md-icons-media
since it is no longer required