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/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
typedoc
(cf54c35)Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
LabelRequiredForA11y
type definition
(b7aa4fa)Note: Version bump only for package @react-md/sheet
LabelRequiredForA11y
type definition
(b7aa4fa)Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
Note: Version bump only for package @react-md/sheet
sideEffects
field to package.json
(31820b9)sideEffects
formatting
(78a7b6b)No changes.
This package is the new version of the Drawer
component from v1 that is no
longer really used for layout and app size.
AppSizeListener
from @react-md/utils to determine the app
sizedialog
, but can also be rendered as a menu
or none
top
, right
, bottom
, and left
of the
page instead of only right and left<div>
instead of an <aside>
since that was the wrong element
anywaysleft
or right
of the
viewportgetCurrentMedia
and matchesMedia
static methodsPaper
component since it was removed and has no
zDepth
propnavItems
$rmd-sheet-z-index: 5
- The z-index for a sheet that appears inline with
other content$rmd-sheet-overlay-z-index: $rmd-sheet-raised-z-index - 1 !default
(16
) -
The z-index for the sheet's overlay$rmd-sheet-elevation: 2 !default
- The elevation to use for the sheet when
rendered inline with other content$rmd-sheet-elevation: 16 !default
- The elevation to use for the sheet when
rendered as a temporary element$rmd-sheet-touch-width: calc(100vw - #{$rmd-sheet-touch-margin}) !default
-
The width for a sheet on touch devices that should fill up as much space as
possible$rmd-sheet-static-width: 16rem !default
- The width for a sheet that does
not change size based on content. This is kind of like the new
$md-drawer-tablet-width
and $md-drawer-desktop-width
$rmd-sheet-max-height: 100% !default
- the max height for a sheet rendered
to the top or bottom of the viewport$rmd-sheet-touchable-max-height: calc(100% - #{$rmd-sheet-touch-margin}) !default
-
The max height for a sheet that has a "touchable" area that can be clicked to
close$rmd-sheet-recommended-max-height: 50% !default
- The material design
recommended max-height for a sheet rendered at the top or bottom of the
viewport$rmd-sheet-enabled-positions: top right bottom left !default
- A list of the
positions that should generate styles. You can maybe save a few bytes by
removing the positions that aren't used in your app$rmd-sheet-scrollable-padding: 3.25rem !default
- The amount of padding tp
use before the first tab when the scrollable
prop is enabled on the sheet
component@function rmd-sheet-theme
- gets one of the theme values and validates that
the theme name is valid@function rmd-sheet-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-sheet-theme
- applies one of the theme values to a css property
as a css variable@mixin rmd-sheet-theme-update-var
- updates one of the theme values as a css
variable$md-sheet-z-index
to $rmd-sheet-raised-z-index
and changed the$md-sheet-transition-time
was split into two variables
$rmd-sheet-enter-duration
and $rmd-sheet-leave-duration
and changed the
default duration from 0.3s
to 0.2s
and 0.15s
$md-sheet-mobile-margin
to $rmd-sheet-touch-margin
and changed the
default value from 56px
to 3.5rem
$md-drawer-mobile-max-width
$md-drawer-mobile-mini-width
, $md-drawer-desktop-mini-width
,
$md-drawer-mobile-mini-item-padding
, and
$md-drawer-desktop-mini-item-padding
since mini drawers aren't supported
again yet$md-drawer-desktop-left-max-width
since there is no difference when
rendering at the left or right anymore