Browse Source

Merge pull request #70 from vaadin/add-context-menu

Add context menu to master deploys
tags/v1.2.0
Teemu Pöntelin 7 years ago
parent
commit
ef51150388
4 changed files with 19 additions and 12 deletions
  1. 9
    8
      README.md
  2. 5
    2
      bower.json
  3. 3
    0
      index.html
  4. 2
    2
      tasks/cdn.js

+ 9
- 8
README.md View File

@@ -23,8 +23,9 @@ Individual elements of the Core Elements bundle are released separately, and you
#### Nearly there
- [`<vaadin-grid>`](https://github.com/vaadin/vaadin-grid) 1.2
- [`<vaadin-split-layout>`](https://github.com/vaadin/vaadin-split-panel) 0.1
- [`<vaadin-context-menu>`](https://github.com/vaadin/vaadin-context-menu) 0.1

#### Next up
#### Next up
- [`<vaadin-combo-box>`](https://github.com/vaadin/vaadin-combo-box) 1.x
- Custom filtering
- Lazy loading
@@ -86,23 +87,23 @@ The following instructions are common for all Vaadin core elements. **Replace `v
### Getting the code

1. Clone the element project from GitHub:
```shell
$ git clone https://github.com/vaadin/vaadin-combo-box.git
```

2. Install [Node](https://nodejs.org/en/download/). It comes bundled with [npm](https://npmjs.com), which is needed to install other tooling.

3. Install [Bower](http://bower.io) using [npm](https://npmjs.com):
3. Install [Bower](http://bower.io) using [npm](https://npmjs.com):
```shell
$ npm install -g bower
```
> If you encounter permission issues when running `npm` see the article about [fixing npm permissions](https://docs.npmjs.com/getting-started/fixing-npm-permissions) on npmjs.com

4. Use Bower to install the dependencies of the element:
```shell
$ cd vaadin-combo-box
$ bower install
@@ -111,13 +112,13 @@ The following instructions are common for all Vaadin core elements. **Replace `v
### Running demos

1. Install [polyserve](https://github.com/PolymerLabs/polyserve) using [npm](https://npmjs.com):
```shell
$ npm install -g polyserve
```

2. Start a local server in the project root directory:
```shell
$ cd vaadin-combo-box
$ polyserve

+ 5
- 2
bower.json View File

@@ -39,7 +39,9 @@
"components-demo-resources": "vaadin/components-demo-resources#master",
"mock-http-request": "philikon/MockHttpRequest#master",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0",
"paper-toast": "polymerelements/paper-toast#^1.0.0"
"paper-toast": "polymerelements/paper-toast#^1.0.0",
"paper-menu": "^1.2.2",
"paper-item": "^1.2.1"
},
"resolutions": {
"polymer": "v1.1.1"
@@ -52,7 +54,8 @@
"vaadin-icons": "vaadin/vaadin-icons#master",
"vaadin-date-picker": "vaadin/vaadin-date-picker#master",
"vaadin-upload": "vaadin/vaadin-upload#master",
"vaadin-split-layout": "vaadin/vaadin-split-layout#master"
"vaadin-split-layout": "vaadin/vaadin-split-layout#master",
"vaadin-context-menu": "vaadin/vaadin-context-menu#master"
}
}
}

+ 3
- 0
index.html View File

@@ -80,6 +80,9 @@ This program is available under Apache License Version 2.0, available at https:/
<li>
<a href="../vaadin-split-layout/">Vaadin<br> SplitLayout</a>
<a href="../vaadin-split-layout/demo/">Demo</a>
<li>
<a href="../vaadin-context-menu/">Vaadin<br> ContextMenu</a>
<a href="../vaadin-context-menu/demo/">Demo</a>
<li>
<a href="../vaadin-icons/">Vaadin<br> Icons</a>
<a href="../vaadin-icons/demo/">Demo</a>

+ 2
- 2
tasks/cdn.js View File

@@ -33,8 +33,8 @@ gulp.task('cdn:stage-bower.json', ['clean:cdn'], function() {
delete bowerJson.masterOverrides;
}

fs.mkdirSync(stagingBasePath);
fs.mkdirSync(stagingPath);
fs.mkdirsSync(stagingBasePath);
fs.mkdirsSync(stagingPath);
fs.writeFileSync(stagingPath + '/bower.json', JSON.stringify(bowerJson, null, ' '));
});


Loading…
Cancel
Save