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.
- "change" event from material-radiobutton now bubbles so it can be listened to on material-radiobutton-group
- Fixed issue where menu was closed before url in option was opened
- Added flag to prevent menu form being set to 0 width and height when it is
- initialized while hidden
- added
toggle-icon
slot to material-button to allow the icon to be toggled betweenleft-icon
andtoggle-icon
when clicked
- material-slider can now be disabled through its
disabled
property
- css fix for material-slider
- added check to all registrations of Custom Elements to determine if element is not defined already
- exposed
--margin
CSS custom property of material-slider - set default value of
--thumb-color
of material-slider to #cccccc - set background-color of native slider inside material-slider to
transparent
- text changes of demo page
- enlarged clickable area to change value of material-slider by clicking
- added setTimeout around closing of dropdown which causes any links inside it not to be opened
- added properties to material-dialog to change the contents of header, body and footer
- added
change
event to<material-switch>
- material-app-bar now also reports which
slot
a clicked icon was assigned to in thedetail
property of theapp-bar-clicked
event
- added
circle
attribute to material-button to make circular button
- added
-webkit-overflow-scrolling: touch
to material-bottom-sheet to ensure smooth scrolling on iOS devices
- added material-bottom-sheet
- added material-loader
- github icon now shows on mobile
- fixed issue where file input in material-button was not clickable
- added width: fit-content to material-button.js to remove invisible clickable area
- removed width from material-checkbox.js to keep correct width of label
- setting value on material-slider.js now updates the position of the knob
- added css variables --button-color-hover, --button-padding and --border-radius to material-button
- added slot for hidden file input field to material-button
- added css variables --error-color and --margin to material-textfield
- added change event to material-checkbox
- fixed reference to this.options in material-dropdown when it is not dynamically populated
- added MutationObserver to material-dropdown to setup menu when data is added dynamically through setData() method
- added css variables to material-button for font size and icon size
- added setData() method to material-dropdown to dynamically add data
- added missing events to documentation
- added material-card component
- added initialization for demo to separate file for correct loading in polyfilled browsers
- added license
- added eslint config
- added pre-push hook
- added "files" key to package.json for npm
- renamed to scoped package
- fixed webpack config and removed redundant code
- fixes issues reported by eslint
- added isValid method to material-textfield
- local demo now runs on http://localhost:8080/material-webcomponents to align with Github pages
- changed html partials to js template strings
- added 404.html for Github pages which fixes reload of SPA
- responsive fixes for material-dialog
- removed height from material-drawer container
- removed unwanted highlighting of container inside material-switch on iOS
- fixed failing tests
- readme
- Moved assets to /demo/assets
- renamed webpack config
- demo index page
- box-shadow to material-app-bar
- --drawer-box-shadow css variable to material-drawer
- repo and homepage to package.json
- changelog