All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added
z-index : 9999
to.messagebox_overlay
class in default CSS file to improve interaction with external components and plugins.
- Plugin name in header description
- Input types
"date"
,"time"
,"number"
,"color"
,"email"
- Input
htmlAttributes
option
- Input type
"textarea"
(alias"memo"
) - Input
resize
option for type"textarea"
- Input
rows
option for type"textarea"
- Customizable
messagebox_content_input_textarea
class in the external CSS file - Enforced
strict mode
- Input
autotrim
option for types"text
,"password"
and"textarea"
defaults totrue
- CSS that was injected into document
head
is now included in the external CSS file
- Direct CSS injection into document
head
customOverlayClass
optiontitle
option- Input type
"checkbox"
- Input type
"caption"
- Input
customClass
option - Inputs
message
option for type"caption"
- Javascript sourcemaps
- Minified default CSS file
- Inputs
default
option renamed todefaultValue
- Buttons
class
option renamed tocustomClass
- Simplified default CSS which is more easily customizable
- Folder structure has changed, with source files under
src/
and production files underdist/
- Content horizontal padding is preserved also in case of horizontal overflow
- Minor CSS and code quirks
- Some more browser compatibility code embellishments
- Removed a comma in excess causing issues with some browsers
- Minor bugfix that addresses event bubbling when keyboard is used
- Filters (
filterDone
andfilterFail
options) - Error message capabilities
- Input
autotrim
option for type"text"
and"password"
- Default keycodes for
buttonDone
- Minor CSS fix: added
margin-bottom
for buttons and removedpadding-bottom
from.messagebox_buttons
wrapper - Minor code fix: don't remove the focus from an existing MessageBox input if another MessageBox is created and queued
- Bower and npm support
- Changelog
- Vertical positioning: spacer element instead of
margin-top
when top is not set to "auto"
- Custom buttons
- Custom inputs
buttonsOrder
optionqueue
option
- Required CSS is provided by Javascript, customizable classes are in the external CSS file
- Complete CSS rewrite: Flexbox is used extensively
- Custom element support
- Fail handler gets data parameter the same way done handler does
- CSS organization (required rules are separated from customizable ones)
First public release