Directory

demo-iconset - Vaadin Add-on Directory

A demo helper component to showcase a Polymer iconset. demo-iconset - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/kcmr/demo-iconset](https://github.com//kcmr/demo-iconset/blob/v1.1.4/README.md) on 2019-05-10 ]** # <demo-iconset> [![Build Status](https://img.shields.io/travis/kcmr/demo-iconset/master.svg?style=flat-square)](https://travis-ci.org/kcmr/demo-iconset) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg?style=flat-square)](https://www.webcomponents.org/element/kcmr/demo-iconset/) > A demo helper component to showcase a Polymer iconset. **Demo:** [https://kcmr.github.io/demo-iconset/](https://kcmr.github.io/demo-iconset/) [![Demo](demo-iconset-screenshot.png)](https://kcmr.github.io/demo-iconset/) This component displays the icons of a Polymer iconset with an input to filter the results and an optional text with the total of icons. ## Installation and usage Install the component using Bower: ``` bower i -S demo-iconset ``` Import Web Components polyfill: ```html ``` Import the component and the Polymer Iconset to show: ```html ``` Use it! ```html ``` ## Compatibility The component is an Hybrid Polymer element **compatible with Polymer 1.x and 2.x** elements. It will be migrated to a class-based element in the future. ## Properties | Property | Type | Description | Default value | | :--------------- | :------ | :------------------------------ | :------------ | | iconset | String | Name of the iconset to be shown | | | iconSize | Number | Size for the icons | 32 | | showTotal | Boolean | Show the total of icons | false | | icons (readOnly) | Array | List of icons | | ## Styling The class "fixed-search" keeps the search input fixed at the top. The following custom properties and mixins are available for styling: | Custom property | Description | Default | | :------------------------------------- | :---------------------------------------------------------------------------- | :------------ | | --demo-iconset | Empty mixin applied to :host | {} | | --demo-iconset-primary-color | Primary text color | #000 | | --demo-iconset-secondary-color | Secondary color used for :focus, :hover and selections | rebeccapurple | | --demo-iconset-icon-meta | Empty mixin applied to the wrapper of the search input and the total of icons | {} | | --demo-iconset-icons | Empty mixin applied to the icon list wrapper | {} | | --demo-iconset-item | Empty mixin applied to each icon list item with the label, icon and input | {} | | --demo-iconset-item-hover | Empty mixin applied to each icon list item for the :hover state | {} | | --demo-iconset-item-at-730 | Empty mixin applied to each icon list item at @media (min-width: 730px) | {} | | --demo-iconset-item-at-1600 | Empty mixin applied to each icon list item at @media (min-width: 1600px) | {} | | --demo-iconset-item-icon | Empty mixin applied to each icon in the list | {} | | --demo-iconset-item-input | Empty mixin applied to each input in the list | {} | | --demo-iconset-item-input-selection | Empty mixin applied to each input in the list for text selection | {} | | --demo-iconset-item-input-focus | Empty mixin applied to each input in the list for the :focus state | {} | | --demo-iconset-fixed-search-background | background-color for the search area in fixed mode (:host(.fixed-search)) | #fff |
GitHub Homepage
Online Demo
Issue tracker
View on GitHub
Documentation

demo-iconset version 0.1.0
### Dependencies Polymer/polymer#^1.9.0 * PolymerElements/iron-meta#^2.0.2 * PolymerElements/iron-icon#^2.0.0 * PolymerElements/paper-input#^2.0.1

demo-iconset version 0.1.1
### Dependencies Polymer/polymer#^1.9.0 * PolymerElements/iron-meta#^1.0.0 * PolymerElements/iron-icon#^1.0.0 * PolymerElements/paper-input#^1.0.0

demo-iconset version 0.1.2
### Dependencies * polymer#Polymer/polymer#^1.9.0 * iron-meta#PolymerElements/iron-meta#^1.0.0 * iron-icon#PolymerElements/iron-icon#^1.0.0 * paper-input#PolymerElements/paper-input#^1.0.0

demo-iconset version 0.2.0
### Dependencies * polymer#Polymer/polymer#^1.9.0 * iron-meta#PolymerElements/iron-meta#^1.0.0 * iron-icon#PolymerElements/iron-icon#^1.0.0 * paper-input#PolymerElements/paper-input#^1.0.0 * app-localize-behavior#PolymerElements/app-localize-behavior#^2.0.0

demo-iconset version 1.0.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#^2.0.0 * iron-icon#PolymerElements/iron-icon#^2.0.0 * paper-input#PolymerElements/paper-input#^2.0.0

demo-iconset version 1.0.1
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#^2.0.0 * iron-icon#PolymerElements/iron-icon#^2.0.0 * paper-input#PolymerElements/paper-input#^2.0.0

demo-iconset version 1.1.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#^2.0.0 * iron-icon#PolymerElements/iron-icon#^2.0.0 * paper-input#PolymerElements/paper-input#^2.0.0

demo-iconset version 1.1.1
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#^2.0.0 * iron-icon#PolymerElements/iron-icon#^2.0.0 * paper-input#PolymerElements/paper-input#^2.0.0

demo-iconset version 1.1.2
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#^2.0.0 * iron-icon#PolymerElements/iron-icon#^2.0.0 * paper-input#PolymerElements/paper-input#^2.0.0

demo-iconset version 1.1.3
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#1 - 2 * iron-icon#PolymerElements/iron-icon#1 - 2 * paper-input#PolymerElements/paper-input#1 - 2

demo-iconset version 1.1.4
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-meta#PolymerElements/iron-meta#1 - 2 * iron-icon#PolymerElements/iron-icon#1 - 2 * paper-input#PolymerElements/paper-input#1 - 2