New update arrived:
Full changelog:
- Core
- Color Picker - all new modular Color Picker component
- Auto Dark Theme
- Now it can be set automatically based on user system color scheme preference (where supported). To enable
autoDarkTheme: true
must be passed to app init parameters - New
app.enableAutoDarkTheme()
to enable this feature manually (where supported) - New
app.disableAutoDarkTheme()
to disable this feature manually
- Now it can be set automatically based on user system color scheme preference (where supported). To enable
- Panel
- Now side panels can be resizable
. Requires
panel-resizable
class on panel element to enable
- Now side panels can be resizable
- Device
- New
prefersColorScheme()
that returnsdark
orlight
where supported, orundefined
where not supported
- New
- Cards
- Fixed issue whith “jumpy” layout when expandable card closes on iOS
- Navbar
- New
navbar:hide
andnavbar:show
events when navbar hidden/shown - New
navbar:collapse
andnavbar:expand
events when navbar collapsed/expanded to large title navbar
- New
- Popover
- New
closeOnEscape
parameter to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
parameter to pass custom backdrop element - Now it won’t be closed on backdrop click if onscreen keyboard opened (requires cordova keyboard plugin)
- Now it will be repositioned when onscreen keyboard opens and closes (requires cordova keyboard plugin)
- Reworked/tweaked positioning in MD theme
- New
- Popup
- New
closeOnEscape
parameter to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
parameter to pass custom backdrop element - Now it won’t be closed on backdrop click if onscreen keyboard opened (requires cordova keyboard plugin)
- New
- Actions
- New
closeOnEscape
parameter to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
parameter to pass custom backdrop element - Now it won’t be closed on backdrop click if onscreen keyboard opened (requires cordova keyboard plugin)
- New
- Sheet
- New
closeOnEscape
parameter to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
parameter to pass custom backdrop element - Now it won’t be closed on backdrop click if onscreen keyboard opened (requires cordova keyboard plugin)
- Now it can be opened from top (instead of bottom) by adding
sheet-modal-top
class to sheet modal element
- New
- Stepper
- Reworked RTL layout to be in same direction as in LTR
- Request
- Now it automatically set
Accept: 'application/json'
header whendataType: 'json'
parameter passed
- Now it automatically set
- Touch
- Fixed issue with not-removed touch-ripple with very fast clicks or multi-touch
- Utils
- New
utils.colorHsbToHsl(h, s, b)
method to convert HSB(V) color to HSL color - New
utils.colorHslToHsb(h, s, l)
method to convert HSL color to HSB(V) color
- New
- Color Picker - all new modular Color Picker component
- Phenome
- Panel
- New
resizable
prop to enable resizable panel
- New
- Navbar
- New
navbar:hide
/navbarHide
andnavbar:show
/navbarShow
events when navbar hidden/shown - New
navbar:collapse
/navbarCollapse
andnavbar:expand
/navbarExpand
events when navbar collapsed/expanded to large title navbar
- New
- Popover
- Added
backdrop
prop to enable/disable backdrop - New
closeOnEscape
prop to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
prop to pass custom backdrop element
- Added
- Popup
- New
closeOnEscape
prop to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
prop to pass custom backdrop element
- New
- Actions
- Added
backdrop
prop to enable/disable backdrop - New
closeOnEscape
prop to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
prop to pass custom backdrop element
- Added
- Sheet
- New
closeOnEscape
prop to allow to close it whenESC
keyboard key pressed (disabled by default) - New
backdropEl
prop to pass custom backdrop element - New
position
prop, can betop
orbottom
(default) to define how to open Sheet - New
top
prop, alias forposition="top"
- New
bottom
prop, alias forposition="bottom"
- New
- ListInput / Input
- Now it accepts special type
colorpicker
to open color picker on focus - New prop
colorPickerParams
to specify color picker params forcolorpicker
type
- Now it accepts special type
- SwipeoutButton
- New
confirmTitle
prop to set confirm dialog title
- New
- Panel
- Lots of minor fixes and improvements