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

air-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

air-datepicker - npm Package Versions

13

3.3.0

Diff

Changelog

Source

v3.3.0

  • new feature that allow you to add custom attributes via onRenderCell #502, read docs
  • fixed selecting cell when using custom html with onRenderCell option #502
t1m0n
published 3.2.1 •

Changelog

Source

v3.2.1

t1m0n
published 3.2.0 •

Changelog

Source

v3.2.0

  • added onClickDayName option, #459
  • added silent param to clear method, #477
  • added Swedish locale, thanks to naton #207
  • fixed error when trying to call update method with view parameter on hidden calendar, #476
  • fixed styles issue with time sliders, #489
  • fixed English docs description, #490
  • fixed typings for formatDate method, #491
t1m0n
published 3.1.1 •

Changelog

Source

v3.1.1

  • fixed css compilation, #461
  • fixed autoClose when range mode is on, #466
  • fixed onSelect when range mode is on. Now it accepts array of selected dates instead of single one #467
  • fixed transition between isMobile mode on and off #470
  • added position update when resizing window #472
  • added Sinhala locale, thanks to nimeshc64 in #464
  • fixed French locale, thanks to matschik in #465
  • added Ukrainian locale, thanks to zaandr in #471
t1m0n
published 3.1.0 •

Changelog

Source

v3.1.0

  • added lazy rendering - now inner components of datepicker will be created only when it will be visible, and will be destroyed when datepicker is hidden
  • improved position - now it can be function which allows you to perform advanced positioning using third-party libraries such as popperjs or manually
  • added isMobile option, which allows showing Air Datepicker as modal window on mobile devices
  • added visiblie option, if it is set to true then calendar will be visible at the start
  • changed dateFormat - as function it now handles all dates at once, instead of each date separately
  • fixed field names in onSelect and onRenderCell options: type -> cellType, dp -> datepicker
  • fixed typings
  • fixed closet function, thanks to @hreyeslo in #445
  • added Turkish locale, thanks to @ozkanozcan in #447
  • added opportunity to set attributes when creating custom buttons, thanks to @khidirbekov in #448
  • added Thai locale, thanks to @boatkung in #453
t1m0n
published 3.0.1 •

Changelog

Source

v3.0.1

  • fixed update method issue when some changes did not apply immediately
t1m0n
published 3.0.0 •

Changelog

Source

v3.0.0

  • no more jQuery
  • improve rendering process - remove redundant cell render when selecting date, which gave a large speed boost compared to the old version
  • date format tokens now use Unicode Technical Standard
  • TypeScript support
  • added selectedDates option, to be able to select dates from the start
  • added a possibility to create custom buttons
  • now one could change selected range by dragging dates
  • added container option which allows you to place datepicker in a custom element
  • navTitles can receive a function and could render dynamically
  • dateFormat now can receive a function
  • onSelect and onRenderCell callbacks are now receive a single object as an argument instead of multiple parameters
  • selectDate now receives second parameter with options
  • onChangeMonth, onChangeYear, onChangeDecades are replaced with single option onChangeViewDate
  • localization now must be provided as an object instead of string as it was before
t1m0n
published 2.2.3 •

Changelog

Source

v2.2.3

  • fixed min,max dates in decade mode
t1m0n
published 2.2.2 •

Changelog

Source

v2.2.2

  • fixed min,max dates handling
t1m0n
published 2.2.1 •

Changelog

Source

v2.2.1

  • changed RegExp for recognizing date parts
  • changed jquery version dependency
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