npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angular-datetimerangepicker

v2.4.6

Published

Highly configurable, opinionated, themable, light weight (12kb) date and time range picker for angular

Downloads

1,326

Readme

Highly configurable, opinionated, themable, light weight (12kb) date and time range picker for angular

Build Status version min size mingzip size license

dependancies downloads all contributors code of conduct

stargazers number of forks Follow technikhil314 on twitter

:clap: & :heart: to auto badger for making badging simple

For Documentation, configuration click here

Playground / configuration generator

Coding examples

  1. With predefined custom ranges
    • This requires dayjs installed
  2. Without predefined custom ranges
    • This does not require any dependency
  3. Without bootstrap
    • Plain css no customizations on styling

About this package

Date and time range picker for Angular v6 and above. This is a successor of this package located here angular-2-daterangepicker It is a fully responsive date and time range picker with or without bootstrap.css. The purpose of this project is to remove dependencies on bootstrap, jquery etc. No offence here. These are good libraries but with modern frameworks they add more footprint hampering the performance

Announcements

  • Date: 17th Mar 2021 v2.4.1
    1. Allowing use of escape key to close the calendars
  • Date: 10th Mar 2021 v2.4.1
    1. Making dates on calendar more screen reader friendly
  • Date: 31st Dec 2020 v2.4.0
    1. Added 12 hours time format support
  • Date: 01 Dec 2020 v2.3.2
    1. Added disableWeekEnds, disabledDays, disabledDates
  • Date: 01 Dec 2020 v2.3.1
    1. Handeling onChanges component lifecycle hook
  • Date: 30 Nov 2020 v2.3.0
    1. Added options hideControls, readOnly, placeholder
    2. Added touch support too (Behind toggle and WIP) (Open issue on github if you want to try out touch support)
  • Date: 26 Nov 2020 v2.2.10
    1. Added option to set week start day issue #47
  • Date: 19 Nov 2020 v2.1.9
    1. Added intelligent position detector to avoid horizontal scroll
    2. Using css variables to color the previous next chevron arrows
  • Date: 13th Nov 2020 v2.1.8
    1. Using modern css (flexbox)
    2. Removing dependency on bootstrap (now works without bootstrap too)
    3. Adding option for theme
    4. Added screen reader and keyboard accessibility
  • Date: 25 Oct 2020
    1. Removed momentjs now using dayjs
  • Date: 17 Oct 2020
    1. This is a successor of this package located here angular-2-daterangepicker
    2. Published next major version. v1.0.0
    3. Fixed issue #45
    4. If you want to use this module with angular < v6. Then install v1.1.52 of this package
    5. This package uses angular version 6 or above

Todos

  1. Get rid of moment to minimise the package [:heavy_check_mark:]
  2. Make style more robust. Use latest CSS features. [:heavy_check_mark:]
  3. Add theme support [:heavy_check_mark:]
  4. Make touch friendly UI for touch devices

Facing Problems

Please let me know if you are facing any issues here

Contributions

Would :heart: to see any contributions.

How to contribute

P.S. The code for demo which lies in src folder

P.S. Actual code for npm package lies in projects/angular-datetimerangepicker directory

  1. Fork this repo
  2. npm install @angular/cli@6
  3. npm install
  4. ng build angular-datetimerangepicker --watch
  5. run ng serve in another terminal window/shell
  6. Make changes
  7. Raise PR