This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Polymer/master
8/1 master -> stable
- Loading branch information
Showing
53 changed files
with
2,479 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/docs | ||
|
||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "tools"] | ||
path = tools | ||
url = https://github.com/Polymer/tools.git |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright 2013 The Polymer Authors. All rights reserved. | ||
* Use of this source code is governed by a BSD-style | ||
* license that can be found in the LICENSE file. | ||
*/ | ||
module.exports = function(grunt) { | ||
grunt.initConfig({ | ||
yuidoc: { | ||
compile: { | ||
name: '<%= pkg.name %>', | ||
description: '<%= pkg.description %>', | ||
version: '<%= pkg.version %>', | ||
url: '<%= pkg.homepage %>', | ||
options: { | ||
exclude: 'third_party', | ||
extension: '.js,.html', | ||
paths: '.', | ||
outdir: 'docs', | ||
linkNatives: 'true', | ||
tabtospace: 2, | ||
themedir: 'tools/doc/themes/footstrap' | ||
} | ||
} | ||
}, | ||
pkg: grunt.file.readJSON('package.json') | ||
}); | ||
|
||
// plugins | ||
grunt.loadNpmTasks('grunt-contrib-yuidoc'); | ||
|
||
// tasks | ||
grunt.registerTask('default', ['yuidoc']); | ||
grunt.registerTask('docs', ['yuidoc']); | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<meta> | ||
<polymer-element-meta name="polymer-ui-accordion"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-collapsible"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-field"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-icon"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-icon-button"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-menu"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-menu-item"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-nav-arrow"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-ratings"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-sidebar-menu"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-splitter"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-tabs"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-theme-aware"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-toggle-button"></polymer-element-meta> | ||
<polymer-element-meta name="polymer-ui-toolbar"></polymer-element-meta> | ||
</meta> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "PolymerUIElements", | ||
"version": "0.0.1", | ||
"devDependencies": { | ||
"grunt": "*", | ||
"grunt-contrib-yuidoc": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Polymer UI Field</title> | ||
<script src="../../polymer/polymer.js" debug></script> | ||
<link rel="import" href="polymer-ui-field.html" /> | ||
<link rel="import" href="../polymer-ui-icon-button/polymer-ui-icon-button.html" /> | ||
<style> | ||
html { | ||
font-family: 'Helvetica Neue', 'Roboto', 'Arial', sans-serif; | ||
font-size: 14px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<polymer-ui-field> | ||
<polymer-ui-icon-button icon="add"></polymer-ui-icon-button> | ||
<input value="Field input"> | ||
</polymer-ui-field> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<polymer-element name="polymer-ui-field"> | ||
<template> | ||
<style> | ||
@host { | ||
* { | ||
display: block; | ||
padding: 18px; | ||
border-bottom: 1px solid rgba(0, 0, 0, 0.15); | ||
} | ||
} | ||
::-webkit-distributed(input) { | ||
font-size: 14px; | ||
height: 40px; | ||
color: #333; | ||
border: 0; | ||
flex: 1 auto; | ||
} | ||
::-webkit-distributed(input::placeholder) { | ||
color: #b3b3b3; | ||
} | ||
div { | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
</style> | ||
<div> | ||
<content select="*"></content> | ||
</div> | ||
</template> | ||
<script> | ||
Polymer('polymer-ui-field'); | ||
</script> | ||
</polymer-element> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.