Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 908 Bytes

CHANGELOG.md

File metadata and controls

40 lines (31 loc) · 908 Bytes

Version Changelog

3.0.0

  • Accessibility
    • Set and return focus on show/hide
    • Tab capturing and looping within the modal
    • Close the modal when escape is pressed
    • Aria attributes
  • Full unit test support
  • Vertically position at 38.1966% of the viewport height
  • Max height of 90% of viewport height
  • Set box-sizing: border-box and overflow: auto on the modal
  • Set overflow: hidden on body to prevent scrolling
  • Use a button tag for the close element
  • Add the isVisible API method
  • Automatically attach an ID to all modals
  • Allow data to be passed to event handlers when triggering events

2.3.0

  • Add the parent option
  • Bug fix for undefined class on the pico-close element

2.2.0

  • Browserify support
  • Add the buildDom API method

2.1.0

  • Improved centering of modals via translate
  • Remove IE8 handlers
  • Add Aria dialog role