@vaadin/vaadin-combo-box
Advanced tools
Comparing version 20.0.2 to 20.0.3
{ | ||
"name": "@vaadin/vaadin-combo-box", | ||
"version": "20.0.2", | ||
"version": "20.0.3", | ||
"description": "Web Component for displaying a list of items with filtering", | ||
@@ -31,10 +31,10 @@ "main": "vaadin-combo-box.js", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-control-state-mixin": "^20.0.2", | ||
"@vaadin/vaadin-element-mixin": "^20.0.2", | ||
"@vaadin/vaadin-item": "^20.0.2", | ||
"@vaadin/vaadin-lumo-styles": "^20.0.2", | ||
"@vaadin/vaadin-material-styles": "^20.0.2", | ||
"@vaadin/vaadin-overlay": "^20.0.2", | ||
"@vaadin/vaadin-text-field": "^20.0.2", | ||
"@vaadin/vaadin-themable-mixin": "^20.0.2" | ||
"@vaadin/vaadin-control-state-mixin": "^20.0.3", | ||
"@vaadin/vaadin-element-mixin": "^20.0.3", | ||
"@vaadin/vaadin-item": "^20.0.3", | ||
"@vaadin/vaadin-lumo-styles": "^20.0.3", | ||
"@vaadin/vaadin-material-styles": "^20.0.3", | ||
"@vaadin/vaadin-overlay": "^20.0.3", | ||
"@vaadin/vaadin-text-field": "^20.0.3", | ||
"@vaadin/vaadin-themable-mixin": "^20.0.3" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
"@vaadin/testing-helpers": "^0.2.1", | ||
"@vaadin/vaadin-dialog": "^20.0.2", | ||
"@vaadin/vaadin-dialog": "^20.0.3", | ||
"sinon": "^9.2.0" | ||
@@ -53,3 +53,3 @@ }, | ||
}, | ||
"gitHead": "0163e148c4055f73fe27a1ae3f5452be95fcfff6" | ||
"gitHead": "c9eded647fe8aaa6d97511c5ee1e87737f5aa124" | ||
} |
@@ -1,10 +0,1 @@ | ||
[![npm latest version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box/latest)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box) | ||
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-combo-box) | ||
[![Build Status](https://travis-ci.org/vaadin/vaadin-combo-box.svg?branch=master)](https://travis-ci.org/vaadin/vaadin-combo-box) | ||
[![Coverage Status](https://coveralls.io/repos/github/vaadin/vaadin-combo-box/badge.svg?branch=master)](https://coveralls.io/github/vaadin/vaadin-combo-box?branch=master) | ||
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box) | ||
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/vaadinvaadin-combo-box.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box) | ||
# <vaadin-combo-box> | ||
@@ -18,4 +9,13 @@ | ||
[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box) | ||
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box) | ||
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC) | ||
```html | ||
<vaadin-combo-box label="User" placeholder="Please select" item-value-path="email" item-label-path="email"></vaadin-combo-box> | ||
<vaadin-combo-box | ||
label="User" | ||
placeholder="Please select" | ||
item-value-path="email" | ||
item-label-path="email" | ||
></vaadin-combo-box> | ||
@@ -26,4 +26,4 @@ <script> | ||
fetch('https://randomuser.me/api?results=100&inc=name,email') | ||
.then(res => res.json()) | ||
.then(json => comboBox.items = json.results); | ||
.then((res) => res.json()) | ||
.then((json) => (comboBox.items = json.results)); | ||
</script> | ||
@@ -72,43 +72,6 @@ ``` | ||
## Running API docs and tests in a browser | ||
1. Fork the `vaadin-combo-box` repository and clone it locally. | ||
1. Make sure you have [node.js](https://nodejs.org/) 12.x installed. | ||
1. Make sure you have [npm](https://www.npmjs.com/) installed. | ||
1. When in the `vaadin-combo-box` directory, run `npm install` to install dependencies. | ||
1. Run `npm start`, browser will automatically open the component API documentation. | ||
1. You can also open visual tests, for example: | ||
- http://127.0.0.1:3000/test/visual/default.html | ||
## Running tests from the command line | ||
1. When in the `vaadin-combo-box` directory, run `npm test` | ||
## Debugging tests in the browser | ||
1. Run `npm run debug`, then choose manual mode (M) and open the link in browser. | ||
## 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 `npm run lint`, which will automatically lint all `.js` files. | ||
## Big Thanks | ||
Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs](https://saucelabs.com). | ||
## Contributing | ||
To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first. | ||
Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components. | ||
## License | ||
@@ -115,0 +78,0 @@ |
@@ -259,3 +259,3 @@ /** | ||
static get version() { | ||
return '20.0.2'; | ||
return '20.0.3'; | ||
} | ||
@@ -262,0 +262,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142163
79
Updated@vaadin/vaadin-item@^20.0.3