2.15.1 • Published 7 months ago

date-picker-svelte v2.15.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Date Picker Svelte

NPM License NPM Downloads test

Date and time picker for Svelte

Features:

  • Theming
  • Custom formats
  • Internationalization (i18n)
  • Autopunctuation (e.g typing "20201111111111" gives you "2020-11-11 11:11:11" with the default format)
  • Keyboard shortcuts

DemoDocumentationREPL

npm.io

Install

npm install date-picker-svelte

Usage

<script>
	import { DateInput } from 'date-picker-svelte'
	let date = new Date()
</script>

<DateInput bind:value={date} />

Check the docs to learn more

Contributing

Get started

  1. Install Node.js (v14 works)
  2. Run npm install

Commands

  • npm run dev: Start site in dev mode
  • npm run build: Build package and site
  • npm run preview: Preview production site
  • npm run check: Run svelte-check
  • npm run test: Run tests
  • npm run format: Format code

Publish new version

  1. Update CHANGELOG.md
  2. Check for errors
    npm run lint
  3. Bump the version number
    npm version --no-git-tag <version>
  4. Publish
    npm publish
  5. Commit with a tag in format "v#.#.#"
  6. Create GitHub release with release notes
2.15.0

7 months ago

2.15.1

7 months ago

2.14.1

7 months ago

2.14.0

8 months ago

2.13.0

1 year ago

2.12.0

1 year ago

2.11.0

1 year ago

2.10.1

2 years ago

2.10.0

2 years ago

2.7.0

2 years ago

2.6.0

2 years ago

2.9.0

2 years ago

2.8.0

2 years ago

2.5.0

2 years ago

2.5.1

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.3

2 years ago

2.4.2

2 years ago

2.3.0

2 years ago

2.2.5

3 years ago

2.2.1

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.4

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

1.2.0

3 years ago

1.1.1

4 years ago

2.0.0

3 years ago

1.3.0

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago