• Stars
    star
    226
  • Rank 176,514 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 10 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Material design date picker component for polymer

paper-date-picker

NOTE: in bower, this package is polymer-paper-date-picker

Material Design date picker, compatible with Polymer 1.0

Provides a responsive date picker based on the material design spec. This component aims to be a clone of the date picker introduced in Android Lollipop.

wide picker screenshot narrow picker screenshot

See the component page for full documentation.

Examples:

Default picker:

<paper-date-picker></paper-date-picker>

Setting the initial date to April 20, 2015:

<paper-date-picker date="April 20, 2015"></paper-date-picker>

You may also specify a minimum and/or maximum date allowed in this picker using the same date notation:

<paper-date-picker min-date="April 1, 2015" max-date="June 30, 2015"></paper-date-picker>

If you include this element as part of paper-dialog, use the class "paper-date-picker-dialog" on the dialog element in order to give it proper styling:

<paper-dialog id="dialog" class="paper-date-picker-dialog" modal
  on-iron-overlay-closed="dismissDialog">
  <paper-date-picker id="picker" date="[[date]]"></paper-date-picker>
  <div class="buttons">
    <paper-button dialog-dismiss>Cancel</paper-button>
    <paper-button dialog-confirm>OK</paper-button>
  </div>
</paper-dialog>

Reporting Bugs

When filing a bug report, please provide an example of how to repoduce using plunker, jsbin, jsfiddle, etc. You can use the following plunker as a starting point: http://plnkr.co/edit/9c787GHiBzX7zI5x6gsX

Contributing

Pull requests are welcome and greatly appreciated. However, in order to speed up the review process, pull requests will not be merged if they include multiple unrelated changes (eg: "Fix for XYZ and other tweaks"). Also, don't include "opinionated" changes that aren't necessary for the feature or bugfix.

When submitting a PR for a bugfix, please reference the issue number in the commit message. For example: "Fixes issue #123".


If you find this component useful, please show your support by donating to Bold Idea. Click the button below!

Donate to Bold Idea

More Repositories

1

paper-time-picker

Material design time picker component for polymer
HTML
89
star
2

chrome-extension-redirector

JavaScript
68
star
3

paper-chip

A small Polymer element that represents a complex entity such as a calendar event or a contact.
HTML
67
star
4

python-gitmodel

Distributed, versioned, schema-less object storage for Python
Python
27
star
5

paper-fullscreen-dialog

Full-screen paper dialog with header bar and actions at the top
HTML
18
star
6

vim-polymer

Vim Script
14
star
7

django-template-email

A useful tool for building email messages using django templates
Python
14
star
8

iot-button

Python
11
star
9

django-passreset

A simple app which adds password reset functionality to the Django admin site.
Python
6
star
10

django-formhelper

A collection of templates and templatetags to ease the pain in building out web forms
JavaScript
4
star
11

project-hq

A simple project planning system for single teams working on multiple simultaneous projects
Python
4
star
12

django-jukebox

A git clone of django-jukebox
Python
3
star
13

irclog

just a scrappy little flask app to serve up irc logs generated by skybot
Python
2
star
14

hid-dkms

mactel hid support
C
2
star
15

pouchdb-elements

HTML
2
star
16

bcm5974-dkms

mactel mouse/keyboard support
C
2
star
17

tvfetch

Python
2
star
18

filter-test

Python
2
star
19

moment-element

HTML
2
star
20

django-changelist-inline

CSS
2
star
21

python-maputils

Utilities for plotting coordinates on a graphical map
Python
2
star
22

vimconf

My vim config files and whatnot
Vim Script
2
star
23

django-admin-genericfk

Python
2
star
24

music

HTML
1
star
25

quilt

Quilt is a framework for modular add-ons using fabric
Python
1
star
26

django-simpleblog

just a lightweight blog
Python
1
star
27

django-tpldebug

Python
1
star
28

paper-leavebehind

HTML
1
star
29

testapp

Test case for a django problem
Python
1
star
30

ircbot

silly irc bot forked from forrstdotcom, forked from skybot
Python
1
star
31

django-admin-csv

Simple CSV support for admin models
Python
1
star
32

itag-server

JavaScript
1
star
33

hid-apple-dkms

mactel hid support
C
1
star
34

gulp-polymer-build

JavaScript
1
star
35

corne-case

Python
1
star
36

nautilus-stl-thumbnailer

Generates stl thumbnails in nautilus
Shell
1
star
37

edit-pdf-demo

Just an experiment with editing PDFs using cairo.
Python
1
star
38

example-petstore

Ruby
1
star
39

python-docar

A library for document oriented architectures.
Python
1
star