Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4/17 master -> stable #99

Merged
merged 56 commits into from
Apr 17, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
8930f51
test: update to karma-0.9.1 for refactored goodness
Apr 12, 2013
2ca74bb
add docs
sorvell Apr 12, 2013
8c61047
minor documentation reformatting
sorvell Apr 12, 2013
46ae48e
use bootstrap documentation theme
sorvell Apr 12, 2013
86be13d
minor updates to workbench
sorvell Apr 12, 2013
aeac0e8
modernize submodule.
sorvell Apr 12, 2013
1dea485
freshen submodule
Apr 12, 2013
3bddf72
use pointer events in workbench.
Apr 12, 2013
9e1c399
make sure touch-action is propagated to shadow root
dfreedm Apr 12, 2013
1b77342
use correct element from touch-action attribute
dfreedm Apr 12, 2013
13281e3
toolkit.js loads platform if it's not already loaded, shhhh.
Apr 12, 2013
ebf13d0
update readme.
Apr 12, 2013
7a0d2d2
re-add and update getting_started
Apr 12, 2013
1e88431
copy selectedModel property from g-selector to g-menu and g-ribbon
frankiefu Apr 12, 2013
4f1b35d
g-selector: check property first then attribute in valueForNode
frankiefu Apr 12, 2013
c004b06
g-ajax: url change should alow trigger request if auto is true
frankiefu Apr 12, 2013
88dd967
try out karma-crbot-reporter
Apr 12, 2013
d77a72e
lib/test -> tools
Apr 12, 2013
69ad26b
add '.git' extension to tools submodule url
Apr 12, 2013
e3ae17e
undo auto platform loading for now, caused problems with builds.
Apr 12, 2013
c0c2119
freshen submodule.
Apr 12, 2013
2586559
adjusted g-toolbar, g-menu and g-menu-button to match styling from
frankiefu Apr 12, 2013
f7da1bf
g-panels: add some docs.
Apr 13, 2013
bce69be
include platform in build
Apr 13, 2013
92c4be4
rev platform
Apr 13, 2013
a137a21
rev platform
Apr 13, 2013
c68b7e1
rev platform
Apr 13, 2013
29697b4
update loader and builds
Apr 13, 2013
6a769bc
rev platform
Apr 13, 2013
bb42ee7
rev
Apr 13, 2013
17ae3a9
rev
Apr 13, 2013
af8fd0f
rev submodules
Apr 13, 2013
17431ab
add source map generation to toolkit gruntfile.js
Apr 14, 2013
10cad7c
rev platform (+ whitespace changes)
Apr 15, 2013
8315554
remove double slash from path to loader.js
Apr 15, 2013
6e66b2b
rev platform
Apr 15, 2013
ececd01
enable 'publishing' system for attributes, add tests, fresh builds
Apr 15, 2013
332e15e
update g-* elements for 'publishing' properties
frankiefu Apr 16, 2013
d3f5a11
g-animation: update to publish properties.
sorvell Apr 16, 2013
8cf17d8
remove vestigial reference that trips up ShadowDOM polyfill…. mindfully.
sorvell Apr 16, 2013
bbf5d23
only run test on chrome (debug)
Apr 16, 2013
934c039
force buildbot build (until I get access to force build)
Apr 16, 2013
8e5e58b
freshen buildbot
Apr 16, 2013
f7ccad2
freshen buildbot
Apr 16, 2013
712401c
freshen buildbot
Apr 17, 2013
694688c
toolkit.js loads platform.js by default
sorvell Apr 17, 2013
28e9f3d
freshen buildbot
Apr 17, 2013
aa6cccc
rev submodules and builds.
sorvell Apr 17, 2013
a12f11e
prefer use of attributes="..." over publish block
sorvell Apr 17, 2013
ffe7799
freshen buildbot
Apr 17, 2013
7024580
reform defaulting rules for takeAttributes
Apr 17, 2013
e01b91f
rev build
Apr 17, 2013
34f1aa2
tickle buildbot
Apr 17, 2013
f984b73
fix typo in attributes
sorvell Apr 17, 2013
84be3f9
dev -> master
ebidel Apr 17, 2013
617ac58
Merge branch 'stable'
dfreedm Apr 17, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
[submodule "buildbot"]
path = buildbot
url = https://github.com/toolkitchen/buildbot.git
[submodule "lib/test"]
path = lib/test
url = https://github.com/toolkitchen/test
[submodule "tools"]
path = tools
url = https://github.com/toolkitchen/tools.git
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
Coolkit
=======
# Toolkitchen:Toolkit

## Brief Overview

For more detailed info goto [http://toolkitchen.github.io/](http://toolkitchen.github.io/).

The Toolkitchen Toolkit is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries.

Toolkitchen Toolkit is based on a set of future technologies, including [Shadow DOM](https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html), [Custom Elements](https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html) and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Toolkit evacipates, leaving only the value-adds.

## Tools & Testing

For running tests or building minified files, consult the [tooling information](http://toolkitchen.github.com/tooling-strategy.html).
2 changes: 1 addition & 1 deletion buildbot
Submodule buildbot updated 2 files
+1 −1 gen_steps.py
+7 −0 run_tests.sh
28 changes: 17 additions & 11 deletions components/css/g-menu-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,61 @@
* {
display: inline-block;
box-sizing: border-box;
-moz-box-sizing: border-box;
width: 44px;
height: 44px;
}
}

#overlay {
background: white;
border: 1px solid #cfcfcf;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(0, 0, 0, 0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
margin: 9px 0 0 22px;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
}

[valign=right] #overlay {
-webkit-transform: translateX(-90%);
-moz-transform: translateX(-90%);
}

[valign=left] #overlay {
-webkit-transform: translateX(-10%);
-moz-transform: translateX(-10%);
}

.arrow {
height: 1px;
width: 0;
margin: 0 auto;
margin-top: -22px;
margin: -17px auto 0;
border-color: transparent transparent #cfcfcf transparent;
border-style: solid;
border-width: 10px;
border-width: 8px;
}

.arrow-inner {
border-bottom-color: white;
margin-top: -19px;
margin-top: -16px;
}

[valign=right] .arrow {
position: relative;
left: -9px;
left: -7px;
margin-left: 90%;
}

[valign=left] .arrow {
position: relative;
left: -9px;
left: -7px;
margin-left: 10%;
}

#menu {
display: block;
box-sizing: border-box;
/* override g-menu @host *rule style */
border: 1px solid transparent !important;
box-shadow: none !important;
-moz-box-sizing: border-box;
}

/* TODO(ffu): adding responsive class won't work in native; to work in native
Expand All @@ -72,6 +74,7 @@ container */
[responsive=true] #overlay {
position: absolute;
-webkit-transform: translateX(0);
transform: translateX(0);
right: 0;
bottom: 0;
left: 0;
Expand All @@ -82,11 +85,14 @@ container */

[responsive=true] #overlay.slideup {
-webkit-transform: translateY(100%);
transform: translateY(100%);
/* override g-overlay @host rule style */
-webkit-transition: -webkit-transform 0.218s !important;
transition: -webkit-transform 0.218s !important;
}

[responsive=true] #overlay.slideup.opened {
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
7 changes: 7 additions & 0 deletions components/css/g-togglebutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
font-weight: bold;
color: #666;
background-image: -webkit-linear-gradient(top, #EEEEEE, #e0e0e0);
background-image: -moz-linear-gradient(top, #EEEEEE, #e0e0e0);
box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.1);
}

Expand All @@ -35,6 +36,7 @@
.toggle span.on {
color: #FFF;
background-image: -webkit-linear-gradient(top, #3b93ff, #3689EE);
background-image: -moz-linear-gradient(top, #3b93ff, #3689EE);
box-shadow: inset 0px 1px 2px 0 rgba(0,0,0,0.1);
border-radius: 2px 0 0 2px;
}
Expand All @@ -50,15 +52,19 @@
border-radius: 2px;
box-shadow: 0px 1px 2px 0 rgba(0,0,0,0.1);
background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
background-image: -moz-linear-gradient(top, #f8f8f8, #f1f1f1);
-webkit-transition: all 0.130s ease-out;
transition: all 0.130s ease-out;
}

.thumb.dragging {
-webkit-transition: all 0;
transition: all 0;
}

.toggle.on .thumb {
-webkit-transform: translate3d(47px, 0, 0);
transform: translate3d(47px, 0, 0);
}

.toggle .thumb::after {
Expand All @@ -70,6 +76,7 @@
height: 9px;
width: 17px;
background-image: -webkit-linear-gradient(left, #ccc 50%, transparent 50%), -webkit-linear-gradient(left, #ccc 50%, transparent 50%), -webkit-linear-gradient(left, #ccc 50%, transparent 50%), -webkit-linear-gradient(left, #ccc 50%, transparent 50%), -webkit-linear-gradient(left, #ccc 50%, transparent 50%);
background-image: -moz-linear-gradient(left, #ccc 50%, transparent 50%), -moz-linear-gradient(left, #ccc 50%, transparent 50%), -moz-linear-gradient(left, #ccc 50%, transparent 50%), -moz-linear-gradient(left, #ccc 50%, transparent 50%), -moz-linear-gradient(left, #ccc 50%, transparent 50%);
background-size: 2px;
background-position: 0 0, 0 2px, 0 4px, 0 6px, 0 8px;
background-repeat: repeat-x;
Expand Down
17 changes: 14 additions & 3 deletions components/g-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<script>
<!--
/**
* @module Toolkit Elements
*/
/**
* g-ajax can be used to perform XMLHttpRequests.
*
Expand Down Expand Up @@ -32,7 +35,7 @@
*
* @event complete
*/
</script>
-->
<link rel="import" href="g-xhr.html">
<element name="g-ajax" attributes="url handleAs auto params response">
<template>
Expand Down Expand Up @@ -131,6 +134,9 @@
return r;
}
},
urlChanged: function() {
this.autoGo();
},
paramsChanged: function() {
this.autoGo();
},
Expand All @@ -155,7 +161,12 @@
* @method go
*/
go: function() {
var params = typeof(this.params) == 'string' ? JSON.parse(this.params) : this.params || null;
// don't go if there's no url
if (!this.url) {
return;
}
var params = this.params && typeof(this.params) == 'string' ?
JSON.parse(this.params) : this.params || null;
return this.$.xhr.request({url: this.url,
callback: this.receive.bind(this), params: params});
}
Expand Down
33 changes: 19 additions & 14 deletions components/g-animation-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
'par': ParGroup,
'seq': SeqGroup
};
/**
* @module Animation
*/
/**
* Component for a group of animations.
*
Expand Down Expand Up @@ -33,20 +36,22 @@
* @type HTMLElement|Node
* @optional
*/
target: null,
/**
* Group type. 'par' for parallel and 'seq' for sequence.
* @property type
* @type String
*/
type: 'par',
// timing
duration: null,
fillMode: null,
easing: null,
iterationCount: null,
startDelay: null,
direction: null,
publish: {
target: null,
/**
* Group type. 'par' for parallel and 'seq' for sequence.
* @property type
* @type String
*/
type: 'par',
// timing
duration: null,
fillMode: null,
easing: null,
iterationCount: null,
startDelay: null,
direction: null
},
ready: function() {
// TODO: need to do this for now.
this.super();
Expand Down
Loading