@beyonk/svelte-datepicker

13.0.4 • Public • Published




Svelte Datepicker

js-standard-style svelte-v3 publish

This is a near total rewrite of the excellent Svelte Calendar. It provides:

  • Calendar
  • Date Picker
  • Date Range Picker
  • Time Selection
  • Better Responsiveness
  • Improved theming
  • Context-aware theming
  • Toolbar to avoid awkward bindings
  • Works in tough situations such as inside iframes

Roadmap:

  • Re-introduce Keyboard Support
  • Add code-samples to docs
  • Add legend for keyboard shortcuts [h for Help]

Svelte Kit Support

Due to the way dayjs is packaged, the following configuration is required to get this working with SvelteKit:

const config = {
  kit: {
    target: "#svelte",
    vite: {
      ssr: {
        noExternal: [ 'dayjs' ]
      }
    }
  }
}

Usage

Contributing

Tests

Tests written in uvu

npm run test

/@beyonk/svelte-datepicker/

    Package Sidebar

    Install

    npm i @beyonk/svelte-datepicker

    Weekly Downloads

    1,429

    Version

    13.0.4

    License

    MIT

    Unpacked Size

    92.5 kB

    Total Files

    52

    Last publish

    Collaborators

    • leandro.silva
    • alex.dilley
    • antony
    • adampond