GithubHelp home page GithubHelp logo

awesomund / svelte-datepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beyonk-group/svelte-datepicker

0.0 0.0 0.0 3.63 MB

A lightweight datepicker written in Svelte

License: MIT License

HTML 1.08% JavaScript 34.12% Svelte 54.04% CSS 10.75%

svelte-datepicker's Introduction





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

svelte-datepicker's People

Contributors

antony avatar manuel3108 avatar selevt avatar diblaze avatar grygrflzr avatar awesomund avatar zaphod101010 avatar ahpercival 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.