Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zebra_dialog

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zebra_dialog - npm Package Versions

2

3.1.0

Diff

Changelog

Source

version 3.1.0 (October 22, 2024)

  • dialog boxes are now draggable by default; see the newly added draggable property; see #38 and thanks LukeSavefrogs for suggesting this A LONG TIME AGO!
  • added the onOpen event which triggers after the dialog box is made visible; see #39; thanks LukeSavefrogs for suggesting this A LONG TIME AGO!
  • added the onBeforeClose event which triggers before the dialog is hidden; useful for validating input prompts and not closing the dialog box in case the input is not valid
  • added placeholder property to be used with prompt type dialog boxes
  • added prompt_rows which when set to a value greater than 1 will turn the input element in a prompt dialog box to a textarea
  • fixed bug where page scrolling was not disabled when opening modal dialog boxes even though disable_page_scrolling was set to true by default
stefangabos
published 3.0.7 •

Changelog

Source

version 3.0.7 (May 12, 2024)

  • minor maintenance release
stefangabos
published 3.0.6 •

Changelog

Source

version 3.0.6 (April 22, 2024)

  • minor maintenance release
stefangabos
published 3.0.5 •

Changelog

Source

version 3.0.5 (August 18, 2020)

  • fixed bugs when working with iFrames
stefangabos
published 3.0.4 •

Changelog

Source

version 3.0.4 (August 17, 2020)

  • fixed bug where the disable_page_scrolling property introduced in 3.0.0 had an undesired effect on pages where there was no scroll
stefangabos
published 3.0.3 •

Changelog

Source

version 3.0.3 (July 19, 2020)

  • SASS files are now available in the dist folder
  • fixed broken example for overlapping dialogs
stefangabos
published 3.0.2 •

Changelog

Source

version 3.0.2 (April 26, 2020)

  • minor release which only adds screenshots to the examples
stefangabos
published 3.0.0 •

Changelog

Source

version 3.0.0 (September 03, 2019)

  • page scrolling behind an open dialog box is now disabled by default
  • added margin property to prevent the dialog box from touching the viewport's limits when stretched 100% horizontally and/or vertically
  • added max_width property which, together with the existing max_height property, can now be specified as percentage
  • added the default_value property to be used for prompt type dialog boxes
  • width and height properties can now be specified as percentages, too
  • custom_class is now also added to the overlay, not just to the dialog box
  • the word center can also be used when specifying vertical position (alongside middle)
  • when using iFrames, the width and height is now automatically computed to fit those of the dialog box; additionally, now a spinner is also shown while the iFrame content is loading
  • the library now automatically does backdrop management when opening multiple modal dialog boxes
  • dropped IE6 support
  • fixed bug where the positioning of the dialog box was incorrect it had borders
  • removed the backdrop_container property
  • minor tweaks to all the templates
stefangabos
published 2.1.1 •

stefangabos
published 2.1.0 •

Changelog

Source

version 2.1.0 (June 03, 2019)

  • added prompt dialog box type; thanks to Sebi Popa!
  • added height property for setting custom heights to dialog boxes
  • added update method for adjusting the dialog box's position when content is changed dynamically, at run-time
  • the overlay can now have a different parent than the body element, via the newly added overlay_container property
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc