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/icon
Note: Version bump only for package @react-md/icon
FileInput
default icon changed from file_download
to
file_upload
(174d1c1),
closes #1325Note: Version bump only for package @react-md/icon
eslint
(8111cd3)Typography
(30cf056)stylelint
(22d1598)lib.d.ts
prop-types
package.yarn format
to include new files
(48d3d7f)sass
instead of node-sass
(d8ddf51)Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
typedoc
(cf54c35)Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
Note: Version bump only for package @react-md/icon
dist/scssVariables
(f6d43a3)sideEffects
field to package.json
(31820b9)sideEffects
formatting
(78a7b6b)No changes.
mixin
sIconRotator
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
TextIconSpacing
component now requires a parent element with
display: flex
to work since it renders as a <Fragment>
instead of a
<div>
margin
instead of padding
with the
TextIconSpacing
componentchildren
instead of after by default for
the TextIconSpacing
componentforceIconWrap
prop to the TextIconSpacing
component to help
with custom components that don't accept a className
prop being cloned in
for the spacing stylesTextIconSpacing
for additional customization
for the spacing behavior.rmd-icon--svg
instead of svg.md-icon
)aria-hidden="true"
by default.primary
,
secondary
, disabled
, error
, and inherit
props and requires custom css
insteadIconSeparator
has been renamed to TextIconSpacing
and now renders the
children
as the label
and requires an icon
prop (the reverse of v1)SVGIcon
no longer has the titleAttr
, title
, and desc
props since
they aren't actually helpful with accessibility out of the box since
aria-label
/aria-labelledby
is preferredSVGIcon
changed the default role
from "img"
to "presentation"
$rmd-icon-material-icons-font: false !default
- boolean if you are using the
material-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$md-font-icon-include-dense
to $rmd-icon-include-dense
$md-font-icon-size
to $rmd-icon-size
and changed the default value
from 24px
to $1.5rem
$md-font-icon-dense-size
to $rmd-icon-dense-size
and changed the
default value from 20px
to 1.25rem
$md-font-icon-separator-padding
to $rmd-icon-spacing-with-text
and
changed the default value from 16px
to 0.5rem
@mixin react-md-icons-dense
to rmd-icon-dense-theme
$md-font-icon-include-separators
since it is always included by
default$md-font-icon-include-dense-material-icons
since it is no longer
required$md-font-icon-light-theme-disabled-color
and
$md-font-icon-dark-theme-disabled-color
since they are no longer required@mixin react-md-theme-icons
since it is no longer required@mixin react-md-icons-media
since it is no longer required