Skip to content

Commit

Permalink
build yui
Browse files Browse the repository at this point in the history
  • Loading branch information
tilomitra committed Jul 24, 2011
2 parents 2fdff7a + e64780b commit 449d9d2
Show file tree
Hide file tree
Showing 55 changed files with 3,062 additions and 701 deletions.
15 changes: 12 additions & 3 deletions build/loader-yui3/loader-yui3-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-stack",
"widget-position-constrain",
"widget-modality",
"widget-autohide"
"widget-autohide",
"widget-buttons"
],
"skinnable": true
},
Expand Down Expand Up @@ -1870,7 +1871,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"requires": [
"widget",
"event-outside",
"base-build"
"base-build",
"event-key"
],
"skinnable": false
},
Expand All @@ -1896,6 +1898,13 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-base"
]
},
"widget-buttons": {
"requires": [
"widget",
"base-build"
],
"skinnable": false
},
"widget-child": {
"requires": [
"base-build",
Expand Down Expand Up @@ -2015,7 +2024,7 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
]
}
};
YUI.Env[Y.version].md5 = 'b665a3777ecbd41824771e4d2a177325';
YUI.Env[Y.version].md5 = '296a4b9cf794fe8bf286741e5f08f65d';


}, '@VERSION@' ,{requires:['loader-base']});
4 changes: 2 additions & 2 deletions build/loader-yui3/loader-yui3-min.js

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions build/loader-yui3/loader-yui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-stack",
"widget-position-constrain",
"widget-modality",
"widget-autohide"
"widget-autohide",
"widget-buttons"
],
"skinnable": true
},
Expand Down Expand Up @@ -1870,7 +1871,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"requires": [
"widget",
"event-outside",
"base-build"
"base-build",
"event-key"
],
"skinnable": false
},
Expand All @@ -1896,6 +1898,13 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-base"
]
},
"widget-buttons": {
"requires": [
"widget",
"base-build"
],
"skinnable": false
},
"widget-child": {
"requires": [
"base-build",
Expand Down Expand Up @@ -2015,7 +2024,7 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
]
}
};
YUI.Env[Y.version].md5 = 'b665a3777ecbd41824771e4d2a177325';
YUI.Env[Y.version].md5 = '296a4b9cf794fe8bf286741e5f08f65d';


}, '@VERSION@' ,{requires:['loader-base']});
15 changes: 12 additions & 3 deletions build/loader/loader-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -3994,7 +3994,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-stack",
"widget-position-constrain",
"widget-modality",
"widget-autohide"
"widget-autohide",
"widget-buttons"
],
"skinnable": true
},
Expand Down Expand Up @@ -4386,7 +4387,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"requires": [
"widget",
"event-outside",
"base-build"
"base-build",
"event-key"
],
"skinnable": false
},
Expand All @@ -4412,6 +4414,13 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-base"
]
},
"widget-buttons": {
"requires": [
"widget",
"base-build"
],
"skinnable": false
},
"widget-child": {
"requires": [
"base-build",
Expand Down Expand Up @@ -4531,7 +4540,7 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
]
}
};
YUI.Env[Y.version].md5 = 'b665a3777ecbd41824771e4d2a177325';
YUI.Env[Y.version].md5 = '296a4b9cf794fe8bf286741e5f08f65d';


}, '@VERSION@' ,{requires:['loader-base']});
Expand Down
4 changes: 2 additions & 2 deletions build/loader/loader-min.js

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions build/loader/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3958,7 +3958,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-stack",
"widget-position-constrain",
"widget-modality",
"widget-autohide"
"widget-autohide",
"widget-buttons"
],
"skinnable": true
},
Expand Down Expand Up @@ -4350,7 +4351,8 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"requires": [
"widget",
"event-outside",
"base-build"
"base-build",
"event-key"
],
"skinnable": false
},
Expand All @@ -4376,6 +4378,13 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
"widget-base"
]
},
"widget-buttons": {
"requires": [
"widget",
"base-build"
],
"skinnable": false
},
"widget-child": {
"requires": [
"base-build",
Expand Down Expand Up @@ -4495,7 +4504,7 @@ YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || {
]
}
};
YUI.Env[Y.version].md5 = 'b665a3777ecbd41824771e4d2a177325';
YUI.Env[Y.version].md5 = '296a4b9cf794fe8bf286741e5f08f65d';


}, '@VERSION@' ,{requires:['loader-base']});
Expand Down
18 changes: 17 additions & 1 deletion build/panel/assets/panel-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,20 @@

.yui3-widget-tmp-forcesize .yui3-panel-content {
overflow:hidden !important;
}
}

.yui3-panel .yui3-widget-hd .yui3-widget-button-wrapper,.yui3-panel {
display: inline-block;
position: absolute;
right: 0.6em;
top: 0.3em;
}
.yui3-panel .yui3-widget-ft {
min-height:25px;
}
.yui3-panel .yui3-widget-ft .yui3-widget-button-wrapper {
position:absolute;
display:inline-block;
right: 0.6em;
bottom: 0.5em;
}
55 changes: 55 additions & 0 deletions build/panel/assets/skins/sam/panel-skin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
.yui3-skin-sam .yui3-panel-content {
background:white;
-webkit-box-shadow: 0 0 5px #333;
-moz-box-shadow: 0 0 5px #333;
box-shadow: 0 0 5px #333;
}
.yui3-skin-sam .yui3-widget-mask {
background-color:#000;
opacity:0.5;
}
.yui3-skin-sam .yui3-panel-content .yui3-widget-hd {
background-color:#2B2D2D;
background: -moz-linear-gradient(
0% 100% 90deg,
#2647a0 7%,
#3d67ce 50%,
#426fd9 100%
);
background: -webkit-gradient(
linear,
left bottom,
left top,
from(#2647a0),
color-stop(0.07, #2647a0),
color-stop(0.5, #3d67ce),
to(#426fd9)
);

color: white;
padding: 8px;
}
.yui3-skin-sam .yui3-panel .yui3-panel-content .yui3-widget-ft {
background: #EDF5FF;
padding:8px;
}
.yui3-skin-sam .yui3-panel-content .yui3-widget-button-wrapper .yui3-button {
padding: 2px 4px;
margin: 3px;
cursor: pointer;
text-decoration: none;
display: inline-block;
zoom: 1;
*display: inline;
-moz-border-radius: 0.435em;
-webkit-border-radius: 0.435em;
border-radius: 0.435em;
}

.yui3-skin-sam .yui3-panel-content .yui3-widget-ft .yui3-widget-button-wrapper .yui3-button {
color: black;
border: 1px solid gray;
background: -webkit-gradient( linear, left bottom, left top, from(#D8D8DA), color-stop(0.18, #D8D8DA), color-stop(0.5, #F1F2F2), to(white) );
background: -moz-linear-gradient( 0% 100% 90deg, #D8D8DA 18%, #F1F2F2 50%, white 100% );
background: -webkit-gradient( linear, left bottom, left top, from(#D8D8DA), color-stop(0.18, #D8D8DA), color-stop(0.5, #F1F2F2), to(white) );
}
2 changes: 1 addition & 1 deletion build/panel/assets/skins/sam/panel.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added build/panel/assets/skins/sam/sprite_icons.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions build/panel/panel-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ YUI.add('panel', function(Y) {
* @uses WidgetPositionConstrain
* @param {Object} object The user configuration for the instance.
*/
Y.Panel = Y.Base.create("panel", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain, Y.WidgetModality, Y.WidgetAutohide]);
Y.Panel = Y.Base.create("panel", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain, Y.WidgetModality, Y.WidgetAutohide, Y.WidgetButtons]);


}, '@VERSION@' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain', 'widget-modality', 'widget-autohide']});
}, '@VERSION@' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain', 'widget-modality', 'widget-autohide', 'widget-buttons']});
2 changes: 1 addition & 1 deletion build/panel/panel-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/panel/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ YUI.add('panel', function(Y) {
* @uses WidgetPositionConstrain
* @param {Object} object The user configuration for the instance.
*/
Y.Panel = Y.Base.create("panel", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain, Y.WidgetModality, Y.WidgetAutohide]);
Y.Panel = Y.Base.create("panel", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain, Y.WidgetModality, Y.WidgetAutohide, Y.WidgetButtons]);


}, '@VERSION@' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain', 'widget-modality', 'widget-autohide']});
}, '@VERSION@' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain', 'widget-modality', 'widget-autohide', 'widget-buttons']});
28 changes: 14 additions & 14 deletions build/widget-autohide/widget-autohide-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ WidgetAutohide.ATTRS = {
// eventName: FOCUS_OUTSIDE
// },

// {
// node: Y.one(DOCUMENT),
// eventName: KEY,
// keyCode: PRESS_ESCAPE
// }
{
node: Y.one(DOCUMENT),
eventName: KEY,
keyCode: PRESS_ESCAPE
}
],
validator: Y.Lang.isArray
}
Expand All @@ -70,7 +70,7 @@ WidgetAutohide.ATTRS = {
WidgetAutohide.prototype = {
// *** Instance Members *** //

_uiHandles : null,
_uiHandlesAutohide : null,

// *** Lifecycle Methods *** //

Expand Down Expand Up @@ -105,19 +105,19 @@ WidgetAutohide.prototype = {
_uiSetHostVisibleAutohide : function (visible) {

if (visible) {
//this._attachUIHandlesAutohide();
Y.later(1, this, '_attachUIHandlesAutohide');
this._attachUIHandlesAutohide();
//Y.later(1, this, '_attachUIHandlesAutohide');
} else {
this._detachUIHandlesAutohide();
}
},

_attachUIHandlesAutohide : function () {

if (this._uiHandles) { return; }
if (this._uiHandlesAutohide) { return; }

var bb = this.get(BOUNDING_BOX),
hide = this.hide,
hide = Y.bind(this.hide,this),
uiHandles = [],
self = this,
hideOn = this.get('hideOn'),
Expand Down Expand Up @@ -152,15 +152,15 @@ WidgetAutohide.prototype = {

}

this._uiHandles = uiHandles;
this._uiHandlesAutohide = uiHandles;
},

_detachUIHandlesAutohide : function () {

Y.each(this._uiHandles, function(h){
Y.each(this._uiHandlesAutohide, function(h){
h.detach();
});
this._uiHandles = null;
this._uiHandlesAutohide = null;
},

_afterHostVisibleChangeAutohide : function (e) {
Expand All @@ -173,4 +173,4 @@ WidgetAutohide.prototype = {
Y.WidgetAutohide = WidgetAutohide;


}, '@VERSION@' ,{requires:['base-build', 'widget', 'event-outside']});
}, '@VERSION@' ,{requires:['base-build','widget','event-outside','event-key']});
2 changes: 1 addition & 1 deletion build/widget-autohide/widget-autohide-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 449d9d2

Please sign in to comment.