Skip to content

Commit cf2c2f3

Browse files
committed
Initial commit
0 parents  commit cf2c2f3

957 files changed

Lines changed: 181384 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
[![Published on webcomponents.org][webcomponents-image]][webcomponents-url]
2+
3+
# \<s-table\>
4+
5+
Responsive HTML table extended by Polymer and Material Design.
6+
7+
## Demo
8+
9+
[Full demo][webcomponents-demo]
10+
11+
## Usage
12+
13+
<!--
14+
```
15+
<custom-element-demo>
16+
<template>
17+
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
18+
<link rel="import" href="s-table.html">
19+
<link rel="import" href="s-table-lite.html">
20+
<next-code-block></next-code-block>
21+
</template>
22+
</custom-element-demo>
23+
```
24+
-->
25+
```html
26+
<style>
27+
.container {
28+
position: relative;
29+
}
30+
</style>
31+
32+
<div class="container">
33+
<table is="s-table" fixed-column>
34+
<thead>
35+
<tr>
36+
<th>First Name</th>
37+
<th>Last Name</th>
38+
<th>Job Title</th>
39+
<th>Favorite Color</th>
40+
<th>Wars or Trek?</th>
41+
<th>Porn Name</th>
42+
<th>Date of Birth</th>
43+
<th>Dream Vacation City</th>
44+
<th>GPA</th>
45+
<th>Arbitrary Data</th>
46+
</tr>
47+
</thead>
48+
<tbody is="s-tbody" multi>
49+
<tr>
50+
<td>James</td>
51+
<td>Matman</td>
52+
<td>Chief Sandwich Eater</td>
53+
<td>Lettuce Green</td>
54+
<td>Trek</td>
55+
<td>Digby Green</td>
56+
<td>January 13, 1979</td>
57+
<td>Gotham City</td>
58+
<td>3.1</td>
59+
<td>RBX-12</td>
60+
</tr>
61+
<tr>
62+
<td>The</td>
63+
<td>Tick</td>
64+
<td>Crimefighter Sorta</td>
65+
<td>Blue</td>
66+
<td>Wars</td>
67+
<td>John Smith</td>
68+
<td>July 19, 1968</td>
69+
<td>Athens</td>
70+
<td>N/A</td>
71+
<td>Edlund, Ben (July 1996).</td>
72+
</tr>
73+
<tr>
74+
<td>Jokey</td>
75+
<td>Smurf</td>
76+
<td>Giving Exploding Presents</td>
77+
<td>Smurflow</td>
78+
<td>Smurf</td>
79+
<td>Smurflane Smurfmutt</td>
80+
<td>Smurfuary Smurfteenth, 1945</td>
81+
<td>New Smurf City</td>
82+
<td>4.Smurf</td>
83+
<td>One</td>
84+
</tr>
85+
<tr>
86+
<td>Cindy</td>
87+
<td>Beyler</td>
88+
<td>Sales Representative</td>
89+
<td>Red</td>
90+
<td>Wars</td>
91+
<td>Lori Quivey</td>
92+
<td>July 5, 1956</td>
93+
<td>Paris</td>
94+
<td>3.4</td>
95+
<td>3451</td>
96+
</tr>
97+
<tr>
98+
<td>Captain</td>
99+
<td>Cool</td>
100+
<td>Tree Crusher</td>
101+
<td>Blue</td>
102+
<td>Wars</td>
103+
<td>Steve 42nd</td>
104+
<td>December 13, 1982</td>
105+
<td>Las Vegas</td>
106+
<td>1.9</td>
107+
<td>Under the couch</td>
108+
</tr>
109+
</tbody>
110+
</table>
111+
</div>
112+
113+
114+
<style>
115+
.container {
116+
position: relative;
117+
}
118+
td, th {
119+
padding: 8px;
120+
box-sizing: border-box;
121+
white-space: nowrap;
122+
}
123+
td:nth-of-type(1),
124+
th:nth-of-type(1) {
125+
background-color: rgba(255, 0, 255, 0.2);
126+
}
127+
tr.iron-selected td {
128+
background-color: rgba(0, 0, 0, 0.2);
129+
}
130+
tr td.iron-selected:not(:nth-of-type(1)) {
131+
background-color: rgba(255, 255, 0, 0.2);
132+
}
133+
</style>
134+
135+
<div class="container">
136+
<table is="s-table-lite" fixed-column>
137+
<thead>
138+
<tr>
139+
<th>First Name</th>
140+
<th>Last Name</th>
141+
<th>Job Title</th>
142+
<th>Favorite Color</th>
143+
<th>Wars or Trek?</th>
144+
<th>Porn Name</th>
145+
<th>Date of Birth</th>
146+
<th>Dream Vacation City</th>
147+
<th>GPA</th>
148+
<th>Arbitrary Data</th>
149+
</tr>
150+
</thead>
151+
<tbody is="s-tbody">
152+
<tr is="s-tr" multi>
153+
<td>James</td>
154+
<td>Matman</td>
155+
<td>Chief Sandwich Eater</td>
156+
<td>Lettuce Green</td>
157+
<td>Trek</td>
158+
<td>Digby Green</td>
159+
<td>January 13, 1979</td>
160+
<td>Gotham City</td>
161+
<td>3.1</td>
162+
<td>RBX-12</td>
163+
</tr>
164+
<tr is="s-tr" multi>
165+
<td>The</td>
166+
<td>Tick</td>
167+
<td>Crimefighter Sorta</td>
168+
<td>Blue</td>
169+
<td>Wars</td>
170+
<td>John Smith</td>
171+
<td>July 19, 1968</td>
172+
<td>Athens</td>
173+
<td>N/A</td>
174+
<td>Edlund, Ben (July 1996).</td>
175+
</tr>
176+
<tr is="s-tr" multi>
177+
<td>Jokey</td>
178+
<td>Smurf</td>
179+
<td>Giving Exploding Presents</td>
180+
<td>Smurflow</td>
181+
<td>Smurf</td>
182+
<td>Smurflane Smurfmutt</td>
183+
<td>Smurfuary Smurfteenth, 1945</td>
184+
<td>New Smurf City</td>
185+
<td>4.Smurf</td>
186+
<td>One</td>
187+
</tr>
188+
<tr is="s-tr" multi>
189+
<td>Cindy</td>
190+
<td>Beyler</td>
191+
<td>Sales Representative</td>
192+
<td>Red</td>
193+
<td>Wars</td>
194+
<td>Lori Quivey</td>
195+
<td>July 5, 1956</td>
196+
<td>Paris</td>
197+
<td>3.4</td>
198+
<td>3451</td>
199+
</tr>
200+
<tr is="s-tr" multi>
201+
<td>Captain</td>
202+
<td>Cool</td>
203+
<td>Tree Crusher</td>
204+
<td>Blue</td>
205+
<td>Wars</td>
206+
<td>Steve 42nd</td>
207+
<td>December 13, 1982</td>
208+
<td>Las Vegas</td>
209+
<td>1.9</td>
210+
<td>Under the couch</td>
211+
</tr>
212+
</tbody>
213+
</table>
214+
</div>
215+
```
216+
217+
## Installation
218+
219+
`bower i s-table -S`
220+
221+
## Install the Polymer-CLI
222+
223+
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.
224+
225+
## Viewing Your Application
226+
227+
```
228+
$ polymer serve
229+
```
230+
231+
## Building Your Application
232+
233+
```
234+
$ polymer build
235+
```
236+
237+
This will create a `build/` folder with `bundled/` and `unbundled/` sub-folders
238+
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
239+
CSS, and JS optimizers.
240+
241+
You can serve the built versions by giving `polymer serve` a folder to serve
242+
from:
243+
244+
```
245+
$ polymer serve build/bundled
246+
```
247+
248+
## Running Tests
249+
250+
```
251+
$ polymer test
252+
```
253+
254+
Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.
255+
256+
## License
257+
258+
MIT: [StartPolymer/license](https://github.com/StartPolymer/license)
259+
260+
[webcomponents-image]: https://img.shields.io/badge/webcomponents.org-published-blue.svg
261+
[webcomponents-url]: https://webcomponents.org/element/StartPolymer/s-table
262+
[webcomponents-demo]: https://webcomponents.org/element/StartPolymer/s-table/demo/demo/s-table.html

all-imports.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- all-imports.html -->
2+
<link rel="import" href="s-table.html">
3+
<link rel="import" href="s-table-lite.html">

bower.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "s-table",
3+
"description": "Responsive HTML table extended by Polymer",
4+
"authors": [
5+
"The StartPolymer Project Authors (https://github.com/StartPolymer/authors)"
6+
],
7+
"license": "MIT",
8+
"keywords": [
9+
"web-components",
10+
"polymer",
11+
"responsive",
12+
"table",
13+
"material-design"
14+
],
15+
"main": "s-table.html",
16+
"dependencies": {
17+
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.3.2",
18+
"iron-selector": "PolymerElements/iron-selector#^1.5.2",
19+
"paper-styles": "PolymerElements/paper-styles#^1.1.5",
20+
"polymer": "Polymer/polymer#^1.7.0"
21+
},
22+
"devDependencies": {
23+
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
24+
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0",
25+
"web-component-tester": "^4.0.0",
26+
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
27+
}
28+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "accessibility-developer-tools",
3+
"version": "2.11.0",
4+
"homepage": "https://github.com/GoogleChrome/accessibility-developer-tools",
5+
"authors": [
6+
"Google"
7+
],
8+
"description": "This is a library of accessibility-related testing and utility code.",
9+
"main": "dist/js/axs_testing.js",
10+
"moduleType": [
11+
"amd",
12+
"globals"
13+
],
14+
"keywords": [
15+
"accessibility",
16+
"testing",
17+
"WCAG",
18+
"module"
19+
],
20+
"license": "Apache-2.0",
21+
"ignore": [
22+
"**/.*",
23+
"lib",
24+
"scripts",
25+
"src",
26+
"test",
27+
"tools",
28+
"Gruntfile.js",
29+
"package.json"
30+
],
31+
"_release": "2.11.0",
32+
"_resolution": {
33+
"type": "version",
34+
"tag": "v2.11.0",
35+
"commit": "69978c7db88ee71e78b3b02ab9614653c961ec9d"
36+
},
37+
"_source": "https://github.com/GoogleChrome/accessibility-developer-tools.git",
38+
"_target": "^2.10.0",
39+
"_originalSource": "accessibility-developer-tools"
40+
}

0 commit comments

Comments
 (0)