Permalink
Browse files

Gallery Build Tag: gallery-2011.06.01-20-18

  • Loading branch information...
YUI Builder
YUI Builder committed Jun 1, 2011
1 parent fd179db commit f861e475b13c5655cd3dcb1402ef59e4e5b56769
Showing with 886 additions and 324 deletions.
  1. +1 −6 build/gallery-accordion-horiz-vert/gallery-accordion-horiz-vert-debug.js
  2. +2 −2 build/gallery-accordion-horiz-vert/gallery-accordion-horiz-vert-min.js
  3. +1 −6 build/gallery-accordion-horiz-vert/gallery-accordion-horiz-vert.js
  4. 0 build/gallery-carousel-rtl/assets/gallery-carousel-rtl-core.css
  5. +122 −0 build/gallery-carousel-rtl/assets/skins/sam/gallery-carousel-rtl-skin.css
  6. +1 −0 build/gallery-carousel-rtl/assets/skins/sam/gallery-carousel-rtl.css
  7. BIN build/gallery-carousel-rtl/assets/skins/sam/sprite.png
  8. +120 −0 build/gallery-carousel-rtl/gallery-carousel-rtl-debug.js
  9. +1 −0 build/gallery-carousel-rtl/gallery-carousel-rtl-min.js
  10. +120 −0 build/gallery-carousel-rtl/gallery-carousel-rtl.js
  11. +1 −6 build/gallery-checkboxgroups/gallery-checkboxgroups-debug.js
  12. +1 −1 build/gallery-checkboxgroups/gallery-checkboxgroups-min.js
  13. +1 −6 build/gallery-checkboxgroups/gallery-checkboxgroups.js
  14. +131 −0 build/gallery-dropdown/gallery-dropdown-debug.js
  15. +1 −0 build/gallery-dropdown/gallery-dropdown-min.js
  16. +131 −0 build/gallery-dropdown/gallery-dropdown.js
  17. +1 −6 build/gallery-exprbuilder/gallery-exprbuilder-debug.js
  18. +1 −1 build/gallery-exprbuilder/gallery-exprbuilder-min.js
  19. +1 −6 build/gallery-exprbuilder/gallery-exprbuilder.js
  20. +4 −4 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation-debug.js
  21. +1 −1 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation-min.js
  22. +4 −1 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation.js
  23. +12 −25 build/gallery-formmgr/gallery-formmgr-debug.js
  24. +2 −2 build/gallery-formmgr/gallery-formmgr-min.js
  25. +12 −24 build/gallery-formmgr/gallery-formmgr.js
  26. +26 −29 build/gallery-instancemanager/gallery-instancemanager-debug.js
  27. +1 −1 build/gallery-instancemanager/gallery-instancemanager-min.js
  28. +26 −29 build/gallery-instancemanager/gallery-instancemanager.js
  29. +13 −14 build/gallery-io-multiresponse/gallery-io-multiresponse-debug.js
  30. +1 −1 build/gallery-io-multiresponse/gallery-io-multiresponse-min.js
  31. +13 −13 build/gallery-io-multiresponse/gallery-io-multiresponse.js
  32. +1 −6 build/gallery-querybuilder/gallery-querybuilder-debug.js
  33. +2 −2 build/gallery-querybuilder/gallery-querybuilder-min.js
  34. +1 −6 build/gallery-querybuilder/gallery-querybuilder.js
  35. 0 build/gallery-quickedit/assets/gallery-quickedit-core.css~upstream_master
  36. +10 −14 build/gallery-quickedit/gallery-quickedit-debug.js
  37. +3 −3 build/gallery-quickedit/gallery-quickedit-min.js
  38. +10 −14 build/gallery-quickedit/gallery-quickedit.js
  39. +2 −6 build/gallery-split-desktop/assets/gallery-split-desktop-core.css
  40. +5 −6 build/gallery-split-desktop/gallery-split-desktop-debug.js
  41. +2 −2 build/gallery-split-desktop/gallery-split-desktop-min.js
  42. +4 −5 build/gallery-split-desktop/gallery-split-desktop.js
  43. +7 −9 build/gallery-treeble/gallery-treeble-debug.js
  44. +2 −2 build/gallery-treeble/gallery-treeble-min.js
  45. +7 −9 build/gallery-treeble/gallery-treeble.js
  46. +39 −28 build/gallery-yql-finance/gallery-yql-finance-debug.js
  47. +1 −1 build/gallery-yql-finance/gallery-yql-finance-min.js
  48. +38 −27 build/gallery-yql-finance/gallery-yql-finance.js
@@ -43,11 +43,6 @@ var use_nonzero_empty_div = (0 < Y.UA.ie && Y.UA.ie < 8),
function Accordion(config)
{
- if (arguments.length === 0) // derived class prototype
- {
- return;
- }
-
config = config || {};
if (Y.Lang.isUndefined(config.tabIndex))
{
@@ -1082,4 +1077,4 @@ Y.extend(Accordion, Y.Widget,
Y.Accordion = Accordion;
-}, 'gallery-2011.02.18-23-10' ,{optional:['anim-base'], requires:['widget','selector-css3'], skinnable:true});
+}, 'gallery-2011.06.01-20-18' ,{skinnable:true, optional:['anim-base'], requires:['widget','selector-css3']});

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -43,11 +43,6 @@ var use_nonzero_empty_div = (0 < Y.UA.ie && Y.UA.ie < 8),
function Accordion(config)
{
- if (arguments.length === 0) // derived class prototype
- {
- return;
- }
-
config = config || {};
if (Y.Lang.isUndefined(config.tabIndex))
{
@@ -1081,4 +1076,4 @@ Y.extend(Accordion, Y.Widget,
Y.Accordion = Accordion;
-}, 'gallery-2011.02.18-23-10' ,{optional:['anim-base'], requires:['widget','selector-css3'], skinnable:true});
+}, 'gallery-2011.06.01-20-18' ,{skinnable:true, optional:['anim-base'], requires:['widget','selector-css3']});
@@ -0,0 +1,122 @@
+.yui3-js-enabled .yui3-carousel-loading {
+ right: -1000em;
+ position: absolute;
+ top: -1000em;
+}
+.yui3-js-enabled .yui3-carousel-hidden {
+ right: -10000em;
+ position: absolute;
+ top: -10000em;
+}
+.yui3-js-enabled .yui3-carousel-content {
+ margin: 0 auto;
+ overflow: hidden;
+ padding: 0;
+ position: relative;
+ text-align: right;
+ *margin: 0;
+}
+.yui3-js-enabled .yui3-carousel-content li {
+ list-style: none;
+ margin: 1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ text-align: center;
+}
+.yui3-js-enabled .yui3-carousel-vertical .yui3-carousel-content li { display: block }
+.yui3-js-enabled .yui3-carousel-horizontal .yui3-carousel-content { width: 100000px }
+.yui3-js-enabled .yui3-carousel-vertical .yui3-carousel-content { height: 100000px }
+.yui3-js-enabled .yui3-carousel-vertical { min-width: 114px }
+.yui3-js-enabled .yui3-carousel-nav {
+ position: relative;
+ z-index: 1;
+}
+.yui3-skin-sam .yui3-carousel {
+ border: 1px solid #808080;
+ overflow: hidden;
+ position: relative;
+ text-align: right;
+}
+.yui3-skin-sam .yui3-carousel-content li { border: 1px solid #ccc }
+.yui3-skin-sam .yui3-carousel-content li.yui3-carousel-selected { border: 1px dotted #000 }
+.yui3-skin-sam .yui3-carousel-nav {
+ background: url("sprite.png") repeat-x scroll 0 0 transparent;
+ margin: 0;
+ padding: 3px;
+ text-align: left;
+}
+.yui3-skin-sam .yui3-carousel-nav:after {
+ clear: both;
+ content: ".";
+ display: block;
+ height: 0;
+ visibility: hidden;
+}
+.yui3-skin-sam .yui3-carousel-button {
+ background: url("sprite.png") repeat-x scroll 0 -600px transparent;
+ float: left;
+ height: 19px;
+ margin: 5px;
+ overflow: hidden;
+ width: 40px;
+}
+.yui3-skin-sam .yui3-carousel-vertical .yui3-carousel-button { background-position: 0 -800px }
+.yui3-skin-sam .yui3-carousel-button-disabled { background-position: 0 -2000px }
+.yui3-skin-sam .yui3-carousel-vertical .yui3-carousel-button-disabled { background-position: 0 -2100px }
+.yui3-skin-sam .yui3-carousel-button button {
+ background-color: transparent;
+ border: 0 none;
+ cursor: pointer;
+ display: block;
+ height: 44px;
+ margin: -2px -2px 0 0;
+ padding: 0 50px 0 0;
+}
+.yui3-skin-sam .yui3-carousel-first-button {
+ margin-right: -100px;
+ margin-left: 50px;
+}
+.yui3-skin-sam .yui3-carousel-next-button {
+ background-position: 0 -550px;
+}
+.yui3-skin-sam .yui3-carousel-vertical .yui3-carousel-first-button { background-position: 0 -750px }
+/*.yui3-skin-sam .yui3-carousel-first-button-disabled { background-position: 0 -1950px }
+ * .yui3-skin-sam .yui3-carousel-vertical .yui3-carousel-first-button-disabled { background-position: 0 -2050px }*/
+ .yui3-skin-sam .yui3-carousel-nav ul {
+ float: left;
+ height: 19px;
+ margin: 0 -220px 0 100px;
+ padding: 0;
+}
+.yui3-skin-sam .yui3-carousel-vertical .yui3-carousel-nav ul {
+ float: none;
+ margin: 0;
+}
+.yui3-skin-sam .yui3-carousel-nav ul li {
+ background: url("sprite.png") no-repeat scroll 0 -650px transparent;
+ cursor: pointer;
+ float: right;
+ height: 9px;
+ list-style: none outside none;
+ margin: 10px 5px 0 0;
+ overflow: hidden;
+ padding: 0;
+ width: 9px;
+}
+.yui3-skin-sam .yui3-carousel-nav ul:after {
+ clear: both;
+ content: ".";
+ display: block;
+ height: 0;
+ visibility: hidden;
+}
+.yui3-skin-sam .yui3-carousel-nav ul li a {
+ display: block;
+ height: 100%;
+ overflow: hidden;
+ text-align: right;
+ text-indent: -10000px;
+ width: 100%;
+}
+.yui3-skin-sam .yui3-carousel-nav ul li.yui3-carousel-nav-item-selected { background-position: 0 -700px }

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Binary file not shown.
@@ -0,0 +1,120 @@
+YUI.add('gallery-carousel-rtl', function(Y) {
+
+//constructor
+function CarouselRTLPlugin () {
+ CarouselRTLPlugin.superclass.constructor.apply(this, arguments);
+}
+var JS = Y.Lang;
+
+
+//Module stuff
+CarouselRTLPlugin.NAME = "carouselRTLPlugin";
+CarouselRTLPlugin.NS = "rtl";
+
+CarouselRTLPlugin.ATTRS = {
+ animation: {
+ validator: "_validateAnimation",
+ value: { speed: 0, effect: Y.Easing.easeOut }
+ }
+};
+
+
+//helper functions
+function fixDir (elem) {
+ var left = elem.getStyle("left");
+ elem
+ .setStyle("left", null)
+ .setStyle("right", left);
+}
+//Class
+Y.CarouselRTLPlugin = Y.extend(CarouselRTLPlugin, Y.Plugin.Base, {
+ initializer: function (config) {
+ //After the plugin is fully loaded and rendered fix its direction
+ this.afterHostMethod("render", this.renderFix);
+ this.beforeHostMethod("scrollTo", this.storePos);
+ this.afterHostMethod("scrollTo", this.fixScroll);
+ },
+
+ renderFix: function () {
+ var carousel = this.get("host"),
+ boundingBox = carousel.get("boundingBox"),
+ items = carousel.get("contentBox").get("children");
+
+ //Change the css direction of the container
+ boundingBox.setStyle("direction", "rtl");
+
+ //Replace list items css left property with "right"
+ items.each(fixDir);
+
+ },
+
+ fixScroll: function (index) {
+ var animation = this.get("animation");
+ if (animation.speed){
+ this.animateAndScrollTo(index);
+ } else {
+ fixDir(this.get("host").get("contentBox"));
+ }
+ },
+
+ storePos: function () {
+ var right = parseInt(this.get("host").get("contentBox").getStyle("right"), 10);
+ right = JS.isValue(right) ? right : 0;
+ this.set("right", right);
+ },
+
+ animateAndScrollTo: function (index) {
+ var self = this, carousel = self.get("host"),
+ anim, animation, cb, first, from, isVertical, to;
+
+ if (carousel.get("rendered")) {
+ animation = self.get("animation");
+ index = carousel._getCorrectedIndex(index);
+ cb = carousel.get("contentBox");
+ isVertical = carousel.get("isVertical");
+ if (isVertical) {
+ from = { top: carousel.get("top") };
+ to = { top: carousel._getOffsetForIndex(index) };
+ } else {
+ cb.setStyle("right", this.get("right"));
+ cb.setStyle("left", null);
+ from = { right: carousel.get("right") };
+ to = { right: carousel._getOffsetForIndex(index) };
+ }
+ first = carousel.getFirstVisible();
+ anim = new Y.Anim({
+ node: cb,
+ from: from,
+ to: to,
+ duration: animation.speed,
+ easing: animation.effect
+ });
+ anim.on("end", Y.bind(self._afterAnimEnd, self, index));
+ anim.run();
+ return new Y.Do.Prevent();
+ }
+ return false;
+ },
+
+ _afterAnimEnd: function (pos) {
+ var self = this, carousel = self.get("host");
+ carousel.set("selectedItem", pos);
+ },
+
+ _validateAnimation: function (config) {
+ var rv = false;
+ if (JS.isObject(config)) {
+ if (JS.isNumber(config.speed)) {
+ rv = true;
+ }
+ if (!JS.isUndefined(config.effect) &&
+ !JS.isFunction(config.effect)) {
+ rv = false;
+ }
+ }
+ return rv;
+ }
+});
+
+
+}, 'gallery-2011.06.01-20-18' ,{skinnable:true, requires:['substitute','gallery-carousel','anim','plugin','pluginhost']});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f861e47

Please sign in to comment.