https://github.com/fpapado/datepicker-2024-exploration
Experimenting with a datepicker using the Popover, CSS anchor positioning, and Temporal APIs.
https://github.com/fpapado/datepicker-2024-exploration
Last synced: 11 months ago
JSON representation
Experimenting with a datepicker using the Popover, CSS anchor positioning, and Temporal APIs.
- Host: GitHub
- URL: https://github.com/fpapado/datepicker-2024-exploration
- Owner: fpapado
- Created: 2024-10-12T08:13:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-15T08:14:06.000Z (over 1 year ago)
- Last Synced: 2025-03-24T01:37:07.669Z (about 1 year ago)
- Language: TypeScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Datepicker experiments
A small workbench to experiment with the Popover API, anchor positioning, and the Temporal API (the replacement for JS Date).
References:
- [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
- [CSS anchor positioning](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning)
- [Temporal documentation](https://tc39.es/proposal-temporal/docs/)
## Quick start
You will need node and pnpm. I recommend `nvm` for managing your node versions.
In a command line, run:
```shell
nvm use
corepack enable
pnpm install
pnpm dev
```