Coder Social home page Coder Social logo

ryanburns23 / paper-time-input Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 16.0 2.82 MB

Polymer element to accept a time with paper-input & paper-dropdown-menu

Home Page: https://www.webcomponents.org/element/ryanburns23/paper-time-input

License: MIT License

HTML 100.00%
polymer time-input

paper-time-input's People

Contributors

ryanburns23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

paper-time-input's Issues

Use theme colour values as default

Things like --paper-time-input-underline-focus-color use predefined colour. I think it would be better to default them to theme colours (--primary-color)

Add the 24h format

It would be great, if you can add the 24h format. I lived in France and we don't use the 12h format.

Congratulation for all your web components, it's a great work!

Element sizing, font-size etc.

How do I re-size the element and the used font-size to implement a time input view like in the attached screenshot?

I need to set font-size, font-weight on hour, min and ':' suffix.
In addition I would like to center the whole paper-time-input horizontally and/or vertically.

Is it possible to disable auto-validation for the hour part or other way round. I need to set hours greater than 24 and as well greater than 100!
Is it possible to set min/max on each of the sub-elements (hour and min)?

Thanks in advance

screen shot 2017-08-11 at 07 48 42

how to install via bower?

bower install paper-time-input --save
bower ENOTFOUND Package paper-time-input not found

do you have plans to release it via bower?

Convert via modulizer for 3.0 and publish to NPM

It looks like modulizer will have its last few tweaks in the next 1-2 months to automatically convert all 1.x/2.x components/github repos successfully to 3.0 elements. This is just a friendly reminder that I love this element and would love to see it on NPM with a 3.0 version ๐Ÿ˜„.

For reference, 3.0 elements are in preview here and expected to be updated frequently in the next weeks to fix the last remaining issues: yarnpkg.com/en/package/@polymer/

The goal is to get 3.0 production ready in Q1 and it's looking good already.

For more info, see here: https://www.polymer-project.org/blog/2018-01-18-polymer-3-new-preview

Typo at paper-time-input-cotnainer

Since users may be using the label with typo, I think it would be best to support both the typo-free and label with typo while giving users a chance to migrate.

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.