diff options
author | Tomi Virkki <tomivirkki@users.noreply.github.com> | 2015-12-16 09:47:53 +0200 |
---|---|---|
committer | Tomi Virkki <tomivirkki@users.noreply.github.com> | 2015-12-16 09:47:53 +0200 |
commit | efbb57d278e0176ae6a61cd0c55b03846aafdaf6 (patch) | |
tree | 5c29fa2b61ac0ce345a3dc7b7751dd660dbee445 | |
parent | 09841fb58cce28d1f6e0a1d3f4f9041e466b0963 (diff) | |
parent | e7e5a16f380b5f7e3eeb37a810a43226a2f29740 (diff) | |
download | vaadin-core-efbb57d278e0176ae6a61cd0c55b03846aafdaf6.tar.gz vaadin-core-efbb57d278e0176ae6a61cd0c55b03846aafdaf6.zip |
Merge pull request #28 from vaadin/rename_core_0.3.0
Rename: elements -> core-elements
-rw-r--r-- | CHANGES.md | 35 | ||||
-rw-r--r-- | README.md | 44 | ||||
-rw-r--r-- | apidoc/index.html | 4 | ||||
-rw-r--r-- | bower.json | 12 | ||||
-rw-r--r-- | demo/index.html | 3 | ||||
-rw-r--r-- | package.json | 8 | ||||
-rw-r--r-- | tasks/cdn.js | 10 | ||||
-rw-r--r-- | tasks/config.js | 2 | ||||
-rw-r--r-- | tasks/docsite.js | 6 | ||||
-rw-r--r-- | tasks/zip.js | 8 | ||||
-rw-r--r-- | vaadin-core-elements.html (renamed from vaadin-elements.html) | 0 |
11 files changed, 51 insertions, 81 deletions
diff --git a/CHANGES.md b/CHANGES.md deleted file mode 100644 index 07b4f1a..0000000 --- a/CHANGES.md +++ /dev/null @@ -1,35 +0,0 @@ -## Vaadin Elements 0.3.0-beta12 (2015-11-12) -- `<vaadin-grid>` updated to 0.9.0-beta5. - -## Vaadin Elements 0.3.0-beta11 (2015-10-20) -- Vaadin Components has been renamed to Vaadin Elements. -- `<vaadin-grid>` updated to 0.9.0-beta4. - -## Vaadin Components 0.3.0-beta10 (2015-10-09) -- `<vaadin-grid>` updated to 0.9.0-beta3. - -## Vaadin Components 0.3.0-beta9 (2015-09-18) - -- Host apidoc and demo launch pages in vaadin-components instead of -maintaining independent project for those -(deprecated components-examples & components-apidoc) -- Examples and apidoc are bundled with vaadin-components so as it is -possible to run them either local or wen deployed in CDN. - -## Vaadin Components 0.3.0-beta8 (2015-09-11) - -- vaadin-components becomes a repository with references to vaadin components. -- `<vaadin-grid>` is split in a new project. - -## Vaadin Components 0.3.0-beta7 (2015-09-02) - -- Polymer updated to v1.1.1 -- Renamed component `<v-grid>` to `<vaadin-grid>` -- Many improvements in [v-grid](https://github.com/vaadin/vaadin-grid/blob/master/CHANGES.md#vaadin-grid-v030beta7-2015-sept) - -## Vaadin Grid v0.2.1 (2015-05-15) -- New *material design* theme. - -## Vaadin Components 0.2.0 (2015-05-08) -- Polymer updated to v0.8.0-rc.7 -- Added `<v-grid>` component. @@ -1,17 +1,17 @@ -# Vaadin Elements +# Vaadin Core Elements -[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/vaadin-elements?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) +[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/vaadin-core-elements?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) -Vaadin Elements is an evolving set of custom HTML elements, built using [Polymer](https://www.polymer-project.org), for building mobile and desktop web applications in modern browsers. +Vaadin Core Elements is an evolving set of custom HTML elements, built using [Polymer](https://www.polymer-project.org), for building mobile and desktop web applications in modern browsers. ### Component examples and documentation View live examples and source code side-by-side for individual custom elements. -| Component | Description | -| --- | --- | -| [<**vaadin-grid**>](https://github.com/vaadin/vaadin-grid) · [Examples](https://cdn.vaadin.com/vaadin-elements/latest/vaadin-grid/demo/) · [API](https://cdn.vaadin.com/vaadin-elements/latest/vaadin-elements/apidoc/#vaadin-grid) | Data grid for showing large amounts of tabular data. | - +======= +| Element | Description | Status +| --- | --- | --- | +| [<**vaadin-grid**>](https://github.com/vaadin/vaadin-grid) · [Examples](https://cdn.vaadin.com/vaadin-core-elements/latest/vaadin-grid/demo/) · [API](https://cdn.vaadin.com/vaadin-core-elements/latest/vaadin-grid/) | Data grid for showing large amounts of tabular data. | Beta | ### Quickstart @@ -23,7 +23,7 @@ View live examples and source code side-by-side for individual custom elements. ### Installation -We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP archive. The only difference between the options is the URL you use to import the necessary files into your HTML page. +We offer three ways to use Vaadin Core Elements in your project: Bower, CDN and ZIP archive. The only difference between the options is the URL you use to import the necessary files into your HTML page. #### 1. Create a new folder for your project @@ -32,17 +32,17 @@ We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP a $ cd my-project ``` -#### 2. Install Vaadin Elements +#### 2. Install Vaadin Core Elements - ##### Bower We recommend using [Bower](http://bower.io) for managing your front-end dependencies. Follow the [Bower installation instructions](http://bower.io/#install-bower), then run the following command inside your project folder to install the most recent stable release. ```shell - $ bower install --save vaadin-elements + $ bower install --save vaadin-core-elements ``` - This will download Vaadin Elements and its dependencies to the `bower_components` folder inside your project's folder. + This will download Vaadin Core Elements bundle and its dependencies to the `bower_components` folder inside your project's folder. If you wish to use the development snapshot version of some component, you can install/update that separately: @@ -52,17 +52,17 @@ We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP a - ##### CDN - You can use Vaadin Elements from CDN (see example below). This is especially convenient for services like JSFiddle, Codepen.io, etc. + You can use Vaadin Core Elements from CDN (see example below). This is especially convenient for services like JSFiddle, Codepen.io, etc. For example, to import vaadin-grid, use the following URL: - `https://cdn.vaadin.com/vaadin-elements/latest/vaadin-grid/vaadin-grid.html` + `https://cdn.vaadin.com/vaadin-core-elements/latest/vaadin-grid/vaadin-grid.html` - To import all Vaadin Elements, use the following URL: + To import all Vaadin Core Elements, use the following URL: - `https://cdn.vaadin.com/vaadin-elements/latest/vaadin-elements/vaadin-elements.html` + `https://cdn.vaadin.com/vaadin-core-elements/latest/vaadin-core-elements/vaadin-core-elements.html` - > You can also use the nightly snapshot versions of any component, e.g. https://cdn.vaadin.com/vaadin-elements/master/vaadin-grid/vaadin-grid.html + > You can also use the nightly snapshot versions of any component, e.g. https://cdn.vaadin.com/vaadin-core-elements/master/vaadin-grid/vaadin-grid.html - ##### Download ZIP @@ -72,7 +72,7 @@ We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP a #### 3. Create a HTML file - Create a new HTML file inside your project folder and copy the following code into it (choose one of the options how to import Vaadin Elements in the `<head>` section): + Create a new HTML file inside your project folder and copy the following code into it (choose one of the options how to import Vaadin Core Elements in the `<head>` section): > **Serving the files during development**, when using Bower or the ZIP archive: @@ -82,19 +82,19 @@ We offer three ways to use Vaadin Elements in your project: Bower, CDN and ZIP a <!doctype html> <html> <head> - <!-- Import Web Component polyfills and all Vaadin Elements --> + <!-- Import Web Component polyfills and all Vaadin Core Elements --> <!-- CDN --> - <script src="https://cdn.vaadin.com/vaadin-elements/latest/webcomponentsjs/webcomponents-lite.min.js"></script> - <link href="https://cdn.vaadin.com/vaadin-elements/latest/vaadin-elements/vaadin-elements.html" rel="import"> + <script src="https://cdn.vaadin.com/vaadin-core-elements/latest/webcomponentsjs/webcomponents-lite.min.js"></script> + <link href="https://cdn.vaadin.com/vaadin-core-elements/latest/vaadin-core-elements/vaadin-core-elements.html" rel="import"> <!-- Bower --> <!-- <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script> - <link href="bower_components/vaadin-elements/vaadin-elements.html" rel="import"> --> + <link href="bower_components/vaadin-core-elements/vaadin-core-elements.html" rel="import"> --> <!-- ZIP archive --> <!-- <script src="deps/webcomponentsjs/webcomponents-lite.min.js"></script> - <link href="deps/vaadin-elements/vaadin-elements.html" rel="import"> --> + <link href="deps/vaadin-core-elements/vaadin-core-elements.html" rel="import"> --> </head> <body> diff --git a/apidoc/index.html b/apidoc/index.html index 1ff94a5..00a6234 100644 --- a/apidoc/index.html +++ b/apidoc/index.html @@ -3,7 +3,7 @@ <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>vaadin-elements</title> + <title>vaadin-core-elements</title> <style> body { font-family: 'Roboto', 'Noto', sans-serif; @@ -47,7 +47,7 @@ <body> <section> - <h1>API documentation for vaadin-elements</h1> + <h1>API documentation for vaadin-core-elements</h1> <ul> <li> <a id="vaadin-grid" href="../../vaadin-grid/index.html">vaadin-grid</a> @@ -1,15 +1,21 @@ { - "name": "vaadin-elements", + "name": "vaadin-core-elements", "version": "0.3.0-beta13", "authors": [ "Vaadin Ltd" ], - "description": "Vaadin Elements is an evolving set of custom HTML elements, built using Polymer, for building mobile and desktop web applications in modern browsers.", + "description": "Vaadin Core Elements is an evolving set of free, open sourced custom HTML elements, built using Polymer, for building mobile and desktop web applications in modern browsers.", "license": "Apache License 2.0", "keywords": [ + "vaadin", + "core", + "elements", + "web", + "components", + "webcomponents", "web-components" ], - "main": "vaadin-elements.html", + "main": "vaadin-core-elements.html", "ignore": [ "**/.*", "**/node_modules", diff --git a/demo/index.html b/demo/index.html index 1729e44..dc16077 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,7 +1,7 @@ <!doctype html> <html> <head> - <title>Vaadin Elements Code Examples</title> + <title>Vaadin Core Elements Code Examples</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script src="../../marked/lib/marked.js"></script> @@ -10,7 +10,6 @@ <link rel="stylesheet" href="../../code-example/vendor/prismjs/prism.css"> <link rel="stylesheet" href="../../elements-demo-resources/demo.css"> - <script src="../ga.js"></script> <style type="text/css"> #readme code { font-size: 12px; diff --git a/package.json b/package.json index 01cfd7b..6d84aca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "vaadin-elements", + "name": "vaadin-core-elements", "version": "0.3.0", - "description": "A set of high-quality Web Components with a customizable Sass based theme", + "description": "Vaadin Core Elements is an evolving set of free, open sourced custom HTML elements, built using Polymer, for building mobile and desktop web applications in modern browsers.", "author": "Vaadin Ltd", "license": "Apache License 2.0", "dependencies": { @@ -32,11 +32,11 @@ }, "keywords": [ "vaadin", + "core", "elements", "web", "components", "webcomponents", - "web-components", - "gwt" + "web-components" ] } diff --git a/tasks/cdn.js b/tasks/cdn.js index c1ef345..b290d42 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -27,8 +27,8 @@ gulp.task('cdn:stage-bower_components', function() { }); }); -gulp.task('cdn:stage-vaadin-elements', function() { - return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], { +gulp.task('cdn:stage-vaadin-core-elements', function() { + return gulp.src(['LICENSE.html', 'README.md', 'vaadin-core-elements.html', 'demo/*', 'apidoc/*'], { base: "." }) .pipe(modify({ @@ -36,15 +36,15 @@ gulp.task('cdn:stage-vaadin-elements', function() { if (/README.md/.test(file.path)) { contents = contents.replace(/\/latest\//mg, '/' + version + '/'); } else { - contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../'); + contents.replace('https://cdn.vaadin.com/vaadin-core-elements/latest/', '../../'); } return contents; } })) - .pipe(gulp.dest(stagingPath + "/vaadin-elements")); + .pipe(gulp.dest(stagingPath + "/vaadin-core-elements")); }); -gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-elements']); +gulp.task('stage:cdn', ['clean:cdn', 'cdn:stage-bower_components', 'cdn:stage-vaadin-core-elements']); gulp.task('upload:cdn', ['stage:cdn'], function() { common.checkArguments(['cdnUsername', 'cdnDestination']); diff --git a/tasks/config.js b/tasks/config.js index 3b618ea..96ab57f 100644 --- a/tasks/config.js +++ b/tasks/config.js @@ -4,7 +4,7 @@ var fs = require('fs'); var userhome = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE; module.exports = { - elements: ['vaadin-grid'], + coreElements: ['vaadin-grid'], version: args.version || 'master', permalink: args.version ? 'latest' : '', toolsHost: args.toolsHostname || 'tools.vaadin.com', diff --git a/tasks/docsite.js b/tasks/docsite.js index 2526f8d..8428cd4 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -41,13 +41,13 @@ gulp.task('cdn:docsite:bower_components', ['cdn:stage-bower_components'], functi .pipe(gulp.dest(docPath + '/bower_components')); }); -gulp.task('cdn:docsite:elements', function() { +gulp.task('cdn:docsite:core-elements', function() { return gulp.src('doc/*') .pipe(gulp.dest(docPath)); }); -var doctasks = ['cdn:docsite:elements']; -config.elements.forEach(function (n) { +var doctasks = ['cdn:docsite:core-elements']; +config.coreElements.forEach(function (n) { var task = 'cdn:docsite:' + n; doctasks.push(task); gulp.task(task, ['cdn:docsite:bower_components'], function(done) { diff --git a/tasks/zip.js b/tasks/zip.js index 43b21f3..5713b7e 100644 --- a/tasks/zip.js +++ b/tasks/zip.js @@ -10,7 +10,7 @@ var stagingPath = config.paths.staging.zip; var version = config.version; var host = config.zipHost; var user = args.zipUsername; -var filename = 'vaadin-elements-' + version + '.zip'; +var filename = 'vaadin-core-elements-' + version + '.zip'; var majorMinorVersion = version.replace(/(\d+\.\d+)(\.|-)(.*)/, '$1'); gulp.task('clean:zip', function() { @@ -46,11 +46,11 @@ gulp.task('zip:upload', ['stage:zip'], function(done) { gulp.task('zip:update-references', ['zip:upload'], function(done) { if (args.release) { - common.ssh(user, host, "sed -i '1i elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'VERSIONS', done); + common.ssh(user, host, "sed -i '1i core-elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'VERSIONS', done); } else if (args.preRelease) { - common.ssh(user, host, "sed -i '1i elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'PRERELEASES', done); + common.ssh(user, host, "sed -i '1i core-elements/" + majorMinorVersion + '/' + version + "' " + args.zipDestination + 'PRERELEASES', done); } else { - common.ssh(user, host, 'echo elements/' + majorMinorVersion + '/' + version + ' > ' + args.zipDestination + 'SNAPSHOT', done); + common.ssh(user, host, 'echo core-elements/' + majorMinorVersion + '/' + version + ' > ' + args.zipDestination + 'SNAPSHOT', done); } }); diff --git a/vaadin-elements.html b/vaadin-core-elements.html index 4e1e836..4e1e836 100644 --- a/vaadin-elements.html +++ b/vaadin-core-elements.html |