Giter Site home page Giter Site logo

loretdemolas / ldm-inclusive-dates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fymmot/inclusive-dates

0.0 0.0 0.0 2.51 MB

A human-friendly datepicker – now as a Web Component! Supports natural language input through Chrono.js. Fully accessible with keyboard and screen reader. Contributions welcome!

Home Page: https://fymmot.github.io/inclusive-dates/

License: MIT License

Shell 0.07% JavaScript 0.34% TypeScript 90.80% CSS 0.43% HTML 1.20% SCSS 7.16%

ldm-inclusive-dates's Introduction

Tommy's inclusive datepicker

A human-friendly and fully accessible datepicker with support for natural language input. Now as a standard Web Component written in Typescript!

Try typing "tomorrow" or "in 10 days"!

Calendar is forked from the excellent sqrrl/wc-datepicker

Github test action status Github docs action status NPM version

Features

🧏‍ Natural language input

Text field accepts natural language input using Chrono.js. Try typing "yesterday", "May tenth" or "in one year"!.

🧏‍ Accessibility first

Built to support users of assistive technology. Follows the WAI-ARIA APG Datepicker dialog pattern.

🖼 Framework-agnostic

Standard Web Component that works with any framework – or no framework at all.

🦶 Small footprint

The component is ~45KB minified and gzipped with Chrono.js. If you do not need language parsing, the original sqrrl/wc-datepicker calendar is ~4KB.

🪁 Low dependency

External dependencies limited to accessibility utils (@react-aria/live-announcer, @a11y/focus-trap and aria-hidden).

💪 Strongly typed

Written in TypeScript.

🇪🇺 Localizable

Customizable labels and date formats.

🌈 Customizable

Semantic markup with no built-in styles.

🧪 Well tested

Quality assured by means of unit tests.

Documentation & Demo

https://fymmot.github.io/inclusive-dates/

ldm-inclusive-dates's People

Contributors

fymmot avatar dependabot[bot] avatar github-actions[bot] avatar sqrrl avatar brinkofblink avatar decantr avatar alex-merz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.