@vaadin/vaadin-material-styles
Advanced tools
Comparing version 22.0.0-alpha1 to 22.0.0-alpha2
@@ -26,3 +26,6 @@ /** | ||
:host([required]) [part='label']::after { | ||
/* TODO: remove old pseudo element when the following components are updated to use new indicator: | ||
combo-box, date-picker, time-picker, date-time-picker, select. */ | ||
:host([required]) [part='label']::after, | ||
:host([required]) [part='indicator']::after { | ||
content: ' *'; | ||
@@ -29,0 +32,0 @@ color: inherit; |
{ | ||
"name": "@vaadin/vaadin-material-styles", | ||
"version": "22.0.0-alpha1", | ||
"version": "22.0.0-alpha2", | ||
"description": "Vaadin Material is a complete theme for Vaadin components, inspired by Google’s Material Design guidelines.", | ||
@@ -34,3 +34,3 @@ "main": "all-imports.js", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-themable-mixin": "^22.0.0-alpha1" | ||
"@vaadin/vaadin-themable-mixin": "^22.0.0-alpha2" | ||
}, | ||
@@ -47,3 +47,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "c9694d6549bff1f7fffb9ece26178e57fc228a51" | ||
"gitHead": "179d38f5146be752853ea4b7997b1446a2ab1fd4" | ||
} |
@@ -0,46 +1,12 @@ | ||
# Material Theme for Vaadin components | ||
[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-material-styles)](https://www.npmjs.com/package/@vaadin/vaadin-material-styles) | ||
[![Bower version](https://badgen.net/github/release/vaadin/vaadin-material-styles)](https://github.com/vaadin/vaadin-material-styles/releases) | ||
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC) | ||
# Material Theme for Vaadin components | ||
`vaadin-material-styles` is customizable theme for the [Vaadin components](https://vaadin.com/components). | ||
[Documentation ↗](https://cdn.vaadin.com/vaadin-material-styles/1.3.2/demo/) | ||
## Running demos and tests in browser | ||
1. Fork the `vaadin-material-styles` repository and clone it locally. | ||
1. Make sure you have [npm](https://www.npmjs.com/) installed. | ||
1. When in the `vaadin-material-styles` directory, run `npm install` and then `bower install` to install dependencies. | ||
1. Run `polymer serve --open`, browser will automatically open the component API documentation. | ||
1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example: | ||
- http://127.0.0.1:8080/components/vaadin-material-styles/demo | ||
- http://127.0.0.1:8080/components/vaadin-material-styles/test | ||
## Running tests from the command line | ||
1. When in the `vaadin-material-styles` directory, run `polymer test` | ||
## Following the coding style | ||
We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `gulp lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files. | ||
## Creating a pull request | ||
- Make sure your code is compliant with our code linters: `gulp lint` | ||
- Check that tests are passing: `polymer test` | ||
- [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description | ||
- Wait for response from one of Vaadin components team members | ||
## License | ||
Apache License 2.0 |
@@ -8,3 +8,3 @@ /** | ||
static get version() { | ||
return '22.0.0-alpha1'; | ||
return '22.0.0-alpha2'; | ||
} | ||
@@ -11,0 +11,0 @@ } |
692
39780
13