Skip to content

Releases: drublic/css-modal

v1.1.3

05 Jun 09:36
Compare
Choose a tag to compare
  • Call init() if neither RequireJS nor NPM is available

v1.1.2

05 Jun 08:32
Compare
Choose a tag to compare
  • Modal-Stretch: Don't set height for .modal-content when modal is streched on small devices

v1.1.1

04 Jun 15:41
Compare
Choose a tag to compare
  • Listen to events in the AMD callback, not during load time

v1.1.0

04 Jun 08:36
Compare
Choose a tag to compare

New features

  • Add different modal animation styles (#51)
  • Register CSSModal as module for AMD (#57)
  • Add function to keep focus in modal when tabbing through (#26)
  • Allow multiple, stackable modals (#20)

Improvements

  • Use a name for the main component: CSSModal
  • Add gallery thumbnail images to gallery footer
  • Add focus state for close button
  • Better compatiblity for IE8
  • Add polyfill for event.preventDefault to work with IE8
  • Add compatiblity for IE8 (use "bean" library for event handling)
  • Only activate stacked modal if there already is another modal
  • Add HTML5 Shiv for IE8 in visual tests
  • Improve ARIA support
  • Unify close btn on mobile
  • Add error handling to on method to prevent wrong function calls
  • Add option to configure mobile-layout breakpoint
  • Modularize config, core and theme into separate files (#73)
  • Update background transparency image (#67)
  • Rewrite trigger method to use new CustomEvent (#56)
  • Apply all functions directly on the modal-object
  • Rename function _dispatchEvent to trigger
  • Rename function _addEventListener to on
  • Move set and unset of modal in own function
  • Add convenience functions to add and remove classes on elements
  • Add native style momentum scrolling to content area

Plugins

  • Add folder plugins for extendable modules
  • Add plugin to stretch a modal to 80% of the screen height
  • Implement max width for modal via data attribute
  • Add gallery plugin
  • Add a spinner
  • Add resize plugin
  • Add HTML5 video plugin

Bugfixes

  • The user can now load/mock Bean during the runtime
  • Fix jumping of the page on devices with small screens (#32)
  • Update body scrolling behavior: Prevent double scroll bar in FF and Co
  • Remove scrollbars for lt IE9 (#67)
  • Fix close button position
  • Correct handling of aria-hidden with JavaScript
  • Prevent overflow in mobile modals
  • Bugfix: Prevent body jump in Chrome Canary
  • Bugfix: UTF-8 problem in Ruby 1.9.3 (#61)
  • Bugfix: open modal on pageload (#46)
  • Prevent body from scrolling when scrolling in modal on iOS and Android (#31)

Other

  • Add FAQ for questions we get from time to time
  • Update documentation
  • Rename tests directory to test
  • Add better function documentation in JavaScript
  • Update node version to v0.10 when working with Travis
  • Update npm dependencies

v1.1.0-beta6

02 Jun 15:05
Compare
Choose a tag to compare
v1.1.0-beta6 Pre-release
Pre-release
  • Add plugin to strech a modal to 80% of the screen height

v1.1.0-beta5

02 Jun 07:44
Compare
Choose a tag to compare
v1.1.0-beta5 Pre-release
Pre-release
  • Prevent scrolling of body on small screens

v1.1.0beta4

28 May 08:26
Compare
Choose a tag to compare
v1.1.0beta4 Pre-release
Pre-release
  • Fix jumping of the page on devices with small screens (#32)

v1.1.0beta3

27 May 11:00
Compare
Choose a tag to compare
v1.1.0beta3 Pre-release
Pre-release
  • Fix vertical resizing for large pictures
  • Fix margins around modal in resize plugin

v1.1.0beta2

27 May 08:21
Compare
Choose a tag to compare
v1.1.0beta2 Pre-release
Pre-release
  • Fix position of close button when modal is between mobile and table
  • Avoid incorrect rendering of the detail container
  • Correct resizing and positioning in IE8
  • Better compatiblity for IE8
  • Fix magic numbers in resize script
  • Add gallery thumbnail images to gallery footer
  • Only activate stacked modal if there already is another modal
  • Always show gallery arrows on mobile

v1.1.0beta1

22 May 16:38
Compare
Choose a tag to compare
v1.1.0beta1 Pre-release
Pre-release

Allow the content with id 0 to be selected