Directory

paper-timezone - Vaadin Add-on Directory

Polymer based timezone selection component paper-timezone - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/bluewatertracks/paper-timezone](https://github.com//bluewatertracks/paper-timezone/blob/2.0.0/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/bluewatertracks/paper-timezone) # paper-timezone ## About paper-timezone is a Polymer based web component used for interactively selecting a timezone locale from a map. On smaller screens, the component resizes itself to a dropdown with the ability to let the user select the locale from the dropdown list. It is heavily inspired by the world map on the momentjs site; it in fact is a rewrite of the same in Polymer although with a lot more added features. We at Blue Water Tracks use it on our portal pages and we wanted to open source the component to share it with the Polymer community. Demos and documentation can be found [here](http://bluewatertracks.github.io/paper-timezone/components/paper-timezone/) ![Sample screenshot](images/timezone.gif) Screenshot in mobile view

bwt-datatable mobile view

## Features - Full compatibility with Polymer 2! - Extremely simple to set up. - Support for desktop and mobile mode using the ```responsive-width``` property. - Moment compatible object ```{location: "Asia/Bangkok", offset: 420}``` - Support for offset in minutes or hours. - Support for custom styling. ## Installation The element can be installed using bower using bower install --save paper-timezone ## Usage - Following code is required to place in the polymer web component. ```html ``` - It is used to select timezone offset from dialog or dropdown. Check out the [getting started guide](http://bluewatertracks.github.io/paper-timezone/components/paper-timezone/). ## Reporting Bugs When filing a bug report, please provide an example of how to reproduce using plunker, jsbin, jsfiddle, etc. ## Testing To run the tests go to the component directory and run. ```html polymer test ``` ## License This project is licensed under the terms of the MIT license. ## Contributing We absolutely love sending us new pull requests, so let us just outline some advice: 1. If you have an idea for a feature that you would like to be added or have a pull request for one, create an issue and we will have a look at it and let you know if we can support it. 2. You have to explicitly agree in your pull request to the terms described in the [fair share license construction](https://github.com/). ## Contributors | | | | |----------|:-------------:|------:| | [![@bhargavkonkathi](https://avatars2.githubusercontent.com/u/24550636?v=3&u=ddd3f64f6888100d6eebd283768b61dabc6f495d&s=80)](https://github.com/bhargavkonkathi) | Programming is like playing chess; each line is as important as each step to determine what kind of player or programmer you are. When ever not playing chess, it's Javascript, Java and mongodb. | [![@maisnamraju](https://avatars2.githubusercontent.com/u/2786378?v=3&s=80)](https://github.com/maisnamraju) | Javascript Ninja; saving the world with one line of javascript at a time. ;) | [![@dhrytsenko](https://avatars0.githubusercontent.com/u/12988041?v=3&s=80)](https://github.com/dhrytsenko) | What is my opinion about JavaScript, NodeJS, MongoDB and Polymer? Building blocks to the future! Allowing me to help make the world a better place.
View on GitHub
GitHub Homepage
Issue tracker

paper-timezone version 1.0.0
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.1
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.2
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.3
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.4
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.5
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.6
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.7
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.8
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.0.9
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.1.0
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.1.1
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.1.2
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 1.1.3
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3

paper-timezone version 2.0.0
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-dialog#^2.0.0 * paper-input#^2.0.2 * paper-item#^2.0.0 * iron-media-query#^2.0.0 * moment#^2.19.1 * moment-timezone#^0.5.13 * paper-dropdown-menu#^2.0.0 * paper-listbox#^2.0.0 * webcomponentsjs#^1.0.17 * paper-material#^2.0.0

paper-timezone version 1.1.4
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-dialog#^2.0.0 * paper-input#^2.0.2 * paper-item#^2.0.0 * iron-media-query#^2.0.0 * moment#^2.19.1 * moment-timezone#^0.5.13 * paper-dropdown-menu#^2.0.0 * paper-listbox#^2.0.0 * webcomponentsjs#^1.0.17 * paper-material#^2.0.0

paper-timezone version 1.1.5
### Dependencies * polymer#Polymer/polymer#^1.7.0 * paper-dialog#PolymerElements/paper-dialog#^1.1.0 * paper-input#PolymerElements/paper-input#^1.1.22 * paper-menu#PolymerElements/paper-menu#^1.2.2 * paper-item#PolymerElements/paper-item#^1.2.1 * moment#^2.17.1 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * moment-timezone#^0.5.11 * paper-dropdown-menu#PolymerElements/paper-dropdown-menu#^1.4.3