fymmot/inclusive-dates
À propos
Un sélecteur de dates facile à utiliser, désormais aussi disponible en tant que Web Component ! Il prend en charge la saisie en langage naturel grâce à Chrono.js. Il est entièrement accessible au clavier et avec un lecteur d’écran. Les contributions sont les bienvenues !
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalTommy's inclusive datepicker
Your browser does not support the video tag.
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
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
Explorer des projets similaires
Chargement…