diff --git a/docs/static/ds4/docs.min.js b/docs/static/ds4/docs.min.js index 85d223b07..9a007c8cf 100644 --- a/docs/static/ds4/docs.min.js +++ b/docs/static/ds4/docs.min.js @@ -1,6 +1,6 @@ function nodeListToArray(r){return Array.prototype.slice.call(r)}function querySelectorAllToArray(r,e){return e=e||document,nodeListToArray(e.querySelectorAll(r))}; !function(){function r(r,n){var t=new Error('Cannot find module "'+r+'"'+(n?' from "'+n+'"':""));return t.code="MODULE_NOT_FOUND",t}function n(r){this.id=this.filename=r,this.loaded=!1,this.exports=void 0}function t(r,n,t){var i=t&&t.globals;if(O[r]=n,i)for(var e=b||global,o=0;o2&&0===r[t-1].length&&t--,r.length=t,r.join("/"))}function f(r,n){var t=n.split("/");return u(("/"==r?[""]:r.split("/")).concat(t))}function s(r){var n,t=r.lastIndexOf(".");return-1===t||-1!==(n=r.lastIndexOf("/"))&&n>t?null:r.substring(0,t)}function l(r){r=r.substring(1);var n=r.indexOf("/");"@"===r.charAt(1)&&(n=r.indexOf("/",n+1));var t=-1===n?r.length:n;return[r.substring(0,t),r.substring(t)]}function c(r,n){"/"===r.charAt(r.length-1)&&(r=r.slice(0,-1));var t=M[r];if(t)return t;var i,e,o=l(n),a=o[0],u=r.indexOf("/");u<0?(i=r,e=""):("@"===r.charAt(0)&&(u=r.indexOf("/",u+1)),i=r.substring(0,u),e=r.substring(u));var f=I[a+"/"+i];if(f){var s="/"+i+"$"+f;return e&&(s+=e),s}}function v(r,n){var t;if("."===r.charAt(0))t=f(n,r);else if("/"===r.charAt(0))t=u(r.split("/"));else{for(var i=m.length,e=0;e1&&void 0!==arguments[1]?arguments[1]:[],e=n.previousSibling;return e?(t.push(e),u(e,t)):t}function i(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.nextSibling;return e?(t.push(e),i(e,t)):t}function c(n){return u(n).concat(i(n)).filter(p)}function a(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.parentNode;return e?(t.push(e),a(e,t)):t}function s(n){return a(n).filter(g)}function f(n){return s(n).map(function(n){return c(n)}).reduce(d,[])}var g=function(n){return 1===n.nodeType&&"body"!==n.tagName.toLowerCase()&&"html"!==n.tagName.toLowerCase()},p=function(n){return 1===n.nodeType&&"script"!==n.tagName.toLowerCase()},d=function(n,t){return n.concat(t)};e.exports={getSiblings:c,getAncestors:s,getSiblingsOfAncestors:f}}); $_mod.def("/makeup-screenreader-trap$0.0.5/index",function(e,t,n,r,a){"use strict";function i(e,t){return{el:e,cleanValue:e.getAttribute("aria-hidden"),dirtyValue:t}}function u(e){e.el.setAttribute("aria-hidden",e.dirtyValue)}function c(e){e.cleanValue?e.el.setAttribute("aria-hidden",e.cleanValue):e.el.removeAttribute("aria-hidden")}function o(){f&&(p.forEach(function(e){return c(e)}),p=[],d&&d.setAttribute("role","main"),f.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),f=null)}function s(e){o(),f=e,(d=document.querySelector('main, [role="main"]'))&&d.setAttribute("role","presentation");var t=l.getAncestors(f),n=l.getSiblings(f),r=l.getSiblingsOfAncestors(f);p=[i(f,"false")].concat(t.map(function(e){return i(e,"false")})).concat(n.map(function(e){return i(e,"true")})).concat(r.map(function(e){return i(e,"true")})),p.forEach(function(e){return u(e)}),f.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}var l=e("/makeup-screenreader-trap$0.0.5/util"),d=void 0,f=void 0,p=void 0;n.exports={trap:s,untrap:o}}); $_mod.def("/makeup-modal$0.0.4/index",function(e,t,n,a,r){"use strict";function d(){if(p){o.untrap(p),i.untrap(p);var e=document.createEvent("Event");e.initEvent("unmodal",!1,!0),p.dispatchEvent(e),p=null}return p}function u(e){d(),p=e,o.trap(p),i.trap(p);var t=document.createEvent("Event");return t.initEvent("modal",!1,!0),p.dispatchEvent(t),p}var i=e("/makeup-keyboard-trap$0.0.9/index"),o=e("/makeup-screenreader-trap$0.0.5/index"),p=void 0;n.exports={modal:u,unmodal:d}}); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/base/transition",function(e,n,t,i,r){function o(e){for(var n=window.getComputedStyle(e).transitionDuration.replace(s,"")?1:0,t=e.firstElementChild;t;)n+=o(t),t=t.nextElementSibling;return n}function a(e){var n,t;return window.requestAnimationFrame?(n=requestAnimationFrame(function(){n=requestAnimationFrame(e)}),t=cancelAnimationFrame):(n=setTimeout(e,26),t=clearTimeout),function(){n&&(t(n),n=void 0)}}var m="transitionend",s=/0m?s(?:, )?/g;t.exports=function(e,n,t){function i(){s||(s=!0,e.removeEventListener(m,r,!0),f?(f(),d.remove(v)):d.remove(n))}function r(){++c===u&&(s=!0,e.removeEventListener(m,r,!0),d.remove(n),t&&t())}var s,u,c=0,d=e.classList,v=n+"-init",f=a(function(){e.addEventListener(m,r,!0),d.add(n),d.remove(v),u=o(e),f=void 0,0===u&&i()});return d.add(v),i}}); -$_mod.installed("@ebay/skin$7.1.0-2","makeup-roving-tabindex","0.1.1"); +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/base/transition",function(e,n,t,i,r){function o(e){for(var n=window.getComputedStyle(e).transitionDuration.replace(s,"")?1:0,t=e.firstElementChild;t;)n+=o(t),t=t.nextElementSibling;return n}function a(e){var n,t;return window.requestAnimationFrame?(n=requestAnimationFrame(function(){n=requestAnimationFrame(e)}),t=cancelAnimationFrame):(n=setTimeout(e,26),t=clearTimeout),function(){n&&(t(n),n=void 0)}}var m="transitionend",s=/0m?s(?:, )?/g;t.exports=function(e,n,t){function i(){s||(s=!0,e.removeEventListener(m,r,!0),f?(f(),d.remove(v)):d.remove(n))}function r(){++c===u&&(s=!0,e.removeEventListener(m,r,!0),d.remove(n),t&&t())}var s,u,c=0,d=e.classList,v=n+"-init",f=a(function(){e.addEventListener(m,r,!0),d.add(n),d.remove(v),u=o(e),f=void 0,0===u&&i()});return d.add(v),i}}); +$_mod.installed("@ebay/skin$7.1.0","makeup-roving-tabindex","0.1.1"); $_mod.main("/makeup-roving-tabindex$0.1.1",""); $_mod.installed("makeup-roving-tabindex$0.1.1","makeup-navigation-emitter","0.1.2"); $_mod.main("/makeup-navigation-emitter$0.1.2",""); @@ -40,26 +40,26 @@ $_mod.def("/makeup-exit-emitter$0.0.4/index",function(e,n,t,i,o){"use strict";fu $_mod.def("/makeup-navigation-emitter$0.1.2/index",function(t,e,n,i,o){"use strict";function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t){t.forEach(function(t,e){t.setAttribute(w,e)})}function d(){this.atStart()?this.options.wrap&&(this.index=this.items.length-1):this.index--}function h(){this.atEnd()?this.options.wrap&&(this.index=0):this.index++}function c(t){for(var e=t.target,n=e.dataset.makeupIndex;e!==this._el&&!n;)e=e.parentNode,n=e.dataset.makeupIndex;void 0!==n&&(this.index=n)}function l(){this.index=0}function f(){this.index=this.items.length}function p(){null!==this.options.autoReset&&(this._index=this.options.autoReset,this._el.dispatchEvent(new CustomEvent("navigationModelReset",{detail:{toIndex:this.options.autoReset},bubbles:!1})))}function v(){this.items=_.nodeListToArray(this._el.querySelectorAll(this._itemSelector)),u(this.items),this._el.dispatchEvent(new CustomEvent("navigationModelMutation"))}var y=function(){function t(t,e){for(var n=0;n0}function r(t,e){return getComputedStyle(t).backgroundColor!==e}function a(){s(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function b(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var u=Object.assign||function(t){for(var e=1;e0}function r(e){return"rgb(250, 255, 189)"===getComputedStyle(e).backgroundColor}function a(){s(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function b(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var u=Object.assign||function(e){for(var t=1;t=32&&e.keyCode<=36||38===e.keyCode||40===e.keyCode)&&e.preventDefault()}function i(e){e.addEventListener("keydown",r)}function k(e){e.removeEventListener("keydown",r)}o.exports={add:i,remove:k}}); -$_mod.installed("@ebay/skin$7.1.0-2","makeup-active-descendant","0.0.6"); +$_mod.installed("@ebay/skin$7.1.0","makeup-active-descendant","0.0.6"); $_mod.main("/makeup-active-descendant$0.0.6",""); $_mod.installed("makeup-active-descendant$0.0.6","makeup-navigation-emitter","0.1.2"); $_mod.installed("makeup-active-descendant$0.0.6","makeup-next-id","0.0.2"); $_mod.def("/makeup-active-descendant$0.0.6/util",function(t,e,r,n,o){"use strict";function c(t){return Array.prototype.slice.call(t)}r.exports={nodeListToArray:c}}); $_mod.def("/makeup-active-descendant$0.0.6/index",function(t,e,i,n,s){"use strict";function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(){var t=this._options,e=this._navigationEmitter.model.index;this._items=p.nodeListToArray(this._el.querySelectorAll(this._itemSelector)),this._items.forEach(function(i,n){n!==e?i.classList.remove(t.activeDescendantClassName):i.classList.add(t.activeDescendantClassName)})}function u(t){var e=this._items[t.detail.fromIndex],i=this._items[t.detail.toIndex];e&&(e.classList.remove(this._options.activeDescendantClassName),e.removeAttribute("aria-selected")),i&&(i.classList.add(this._options.activeDescendantClassName),i.setAttribute("aria-selected","true"),this._focusEl.setAttribute("aria-activedescendant",i.id)),this._el.dispatchEvent(new CustomEvent("activeDescendantChange",{detail:{fromIndex:t.detail.fromIndex,toIndex:t.detail.toIndex}}))}function d(){var t=this._options.activeDescendantClassName;if(this._items.forEach(function(e){e.classList.remove(t),e.removeAttribute("aria-selected")}),this._options.autoReset>-1){var e=this._items[this._options.autoReset];e.classList.add(this._options.activeDescendantClassName),e.setAttribute("aria-selected","true"),this._focusEl.setAttribute("aria-activedescendant",e.id)}else this._focusEl.removeAttribute("aria-activedescendant")}function l(t,e,i,n,s){return new y(t,e,i,n,s)}var f=Object.assign||function(t){for(var e=1;e-1){var u=c._items[c._options.autoInit];u.classList.add(c._options.activeDescendantClassName),u.setAttribute("aria-selected","true"),c._focusEl.setAttribute("aria-activedescendant",u.id)}return c}return o(e,t),h(e,[{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(b);i.exports={createLinear:l}}); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/base/main",function(e,t,o,n,r){var a=e("/makeup-modal$0.0.4/index"),l=e("/@ebay/skin$7.1.0-2/docs/src/js/base/transition"),c=e("/makeup-roving-tabindex$0.1.1/index"),i=e("/makeup-expander$0.6.1/index"),u=e("/makeup-floating-label$0.0.4/index"),d=e("/makeup-prevent-scroll-keys$0.0.2/index"),s=e("/makeup-active-descendant$0.0.6/index");querySelectorAllToArray(".expand-btn-example").forEach(function(e,t){e.addEventListener("click",function(e){var t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)})}),querySelectorAllToArray(".menu").forEach(function(e,t){if(e.querySelector(".expand-btn")){var o=(new i(e,{autoCollapse:!0,contentSelector:"[role=menu]",expandOnClick:!0,focusManagement:"focusable",hostSelector:".expand-btn"}),e.querySelector("[role=menu]"));c.createLinear(o,".menu__item");querySelectorAllToArray(".menu__item",o).forEach(function(e){d.add(e)})}}),querySelectorAllToArray(".fake-menu").forEach(function(e){new i(e,{collapseOnFocusOut:!0,collapseOnMouseOut:!0,contentSelector:".fake-menu__items",expandOnClick:!0,hostSelector:".expand-btn"})}),querySelectorAllToArray(".combobox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"combobox--expanded",expandOnFocus:!0,hostSelector:"input"}),e.querySelector("input")),o=e.querySelector("[role=listbox]");s.createLinear(e,t,o,"[role=option]",{activeDescendantClassName:"combobox__option--active"})}),querySelectorAllToArray(".listbox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"listbox--expanded",expandOnClick:!0,focusManagement:"content",hostSelector:"button"}),e.querySelector("button")),o=e.querySelector("[role=listbox]"),n=querySelectorAllToArray("[role=option]",o),r=0;n.forEach(function(e,t){e.hasAttribute("aria-selected")&&(r=t)});s.createLinear(e,o,o,"[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:r,autoReset:null});d.add(e.querySelector("[role=listbox]"));var a=t.querySelector(".expand-btn__cell > span:first-child");e.addEventListener("activeDescendantChange",function(e){e.detail.toIndex>-1&&(a.innerText=n[e.detail.toIndex].innerText)})}),querySelectorAllToArray(".dialog-button").forEach(function(e){function t(){r&&r(),r=l(c,"dialog--show",n(!0)),c.removeAttribute("hidden"),e.removeEventListener("click",t),c.addEventListener("click",o,!0),document.body.setAttribute("style","overflow:hidden"),a.modal(c.querySelector(".dialog__window"))}function o(u){i.contains(u.target)||(r&&r(),r=l(c,"dialog--hide",n(!1)),c.setAttribute("hidden",""),e.addEventListener("click",t),c.removeEventListener("click",o,!0),document.body.removeAttribute("style"),a.unmodal(),e.focus())}function n(e){e&&window.setTimeout(function(){u.focus()},250),r=void 0}var r,c=e.nextElementSibling,i=c.querySelector(".dialog__body"),u=c.querySelector(".dialog__close");e.addEventListener("click",t)}),querySelectorAllToArray(".tooltip").forEach(function(e){new i(e,{contentSelector:".tooltip__overlay",collapseOnFocusOut:!0,collapseOnMouseOut:!0,expandOnFocus:!0,expandOnHover:!0,focusManagement:"focusable",hostSelector:".tooltip__host"})}),querySelectorAllToArray(".infotip").forEach(function(e){var t=new i(e,{contentSelector:".infotip__overlay",expandOnFocus:!1,expandOnClick:!0,hostSelector:".infotip__host"});e.querySelector(".infotip__close").addEventListener("click",function(){t.collapse()})}),querySelectorAllToArray(".tourtip").forEach(function(e){e.querySelector(".tourtip__close").addEventListener("click",function(){e.classList.remove("tourtip--expanded")})}),querySelectorAllToArray(".floating-label").forEach(function(e){new u(e)}),querySelectorAllToArray(".tabs").forEach(function(e){var t=(c.createLinear(e,"[role=tab]",{wrap:!0}),querySelectorAllToArray("[role=tab]",e)),o=querySelectorAllToArray("[role=tabpanel]",e);e.addEventListener("rovingTabindexChange",function(e){t[e.detail.fromIndex].setAttribute("aria-selected","false"),t[e.detail.toIndex].setAttribute("aria-selected","true"),o[e.detail.fromIndex].hidden=!0,o[e.detail.toIndex].hidden=!1}),querySelectorAllToArray("[role=tab]",e).forEach(function(e){d.add(e)})})}); -$_mod.run("/@ebay/skin$7.1.0-2/docs/src/js/base/main"); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/ds4/main",function(s,d,n,c,i){}); -$_mod.run("/@ebay/skin$7.1.0-2/docs/src/js/ds4/main"); \ No newline at end of file +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/base/main",function(e,t,o,n,r){var a=e("/makeup-modal$0.0.4/index"),l=e("/@ebay/skin$7.1.0/docs/src/js/base/transition"),c=e("/makeup-roving-tabindex$0.1.1/index"),i=e("/makeup-expander$0.6.1/index"),u=e("/makeup-floating-label$0.0.3/index"),d=e("/makeup-prevent-scroll-keys$0.0.2/index"),s=e("/makeup-active-descendant$0.0.6/index");querySelectorAllToArray(".expand-btn-example").forEach(function(e,t){e.addEventListener("click",function(e){var t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)})}),querySelectorAllToArray(".menu").forEach(function(e,t){if(e.querySelector(".expand-btn")){var o=(new i(e,{autoCollapse:!0,contentSelector:"[role=menu]",expandOnClick:!0,focusManagement:"focusable",hostSelector:".expand-btn"}),e.querySelector("[role=menu]"));c.createLinear(o,".menu__item");querySelectorAllToArray(".menu__item",o).forEach(function(e){d.add(e)})}}),querySelectorAllToArray(".fake-menu").forEach(function(e){new i(e,{collapseOnFocusOut:!0,collapseOnMouseOut:!0,contentSelector:".fake-menu__items",expandOnClick:!0,hostSelector:".expand-btn"})}),querySelectorAllToArray(".combobox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"combobox--expanded",expandOnFocus:!0,hostSelector:"input"}),e.querySelector("input")),o=e.querySelector("[role=listbox]");s.createLinear(e,t,o,"[role=option]",{activeDescendantClassName:"combobox__option--active"})}),querySelectorAllToArray(".listbox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"listbox--expanded",expandOnClick:!0,focusManagement:"content",hostSelector:"button"}),e.querySelector("button")),o=e.querySelector("[role=listbox]"),n=querySelectorAllToArray("[role=option]",o),r=0;n.forEach(function(e,t){e.hasAttribute("aria-selected")&&(r=t)});s.createLinear(e,o,o,"[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:r,autoReset:null});d.add(e.querySelector("[role=listbox]"));var a=t.querySelector(".expand-btn__cell > span:first-child");e.addEventListener("activeDescendantChange",function(e){e.detail.toIndex>-1&&(a.innerText=n[e.detail.toIndex].innerText)})}),querySelectorAllToArray(".dialog-button").forEach(function(e){function t(){r&&r(),r=l(c,"dialog--show",n(!0)),c.removeAttribute("hidden"),e.removeEventListener("click",t),c.addEventListener("click",o,!0),document.body.setAttribute("style","overflow:hidden"),a.modal(c.querySelector(".dialog__window"))}function o(u){i.contains(u.target)||(r&&r(),r=l(c,"dialog--hide",n(!1)),c.setAttribute("hidden",""),e.addEventListener("click",t),c.removeEventListener("click",o,!0),document.body.removeAttribute("style"),a.unmodal(),e.focus())}function n(e){e&&window.setTimeout(function(){u.focus()},250),r=void 0}var r,c=e.nextElementSibling,i=c.querySelector(".dialog__body"),u=c.querySelector(".dialog__close");e.addEventListener("click",t)}),querySelectorAllToArray(".tooltip").forEach(function(e){new i(e,{contentSelector:".tooltip__overlay",collapseOnFocusOut:!0,collapseOnMouseOut:!0,expandOnFocus:!0,expandOnHover:!0,focusManagement:"focusable",hostSelector:".tooltip__host"})}),querySelectorAllToArray(".infotip").forEach(function(e){var t=new i(e,{contentSelector:".infotip__overlay",expandOnFocus:!1,expandOnClick:!0,hostSelector:".infotip__host"});e.querySelector(".infotip__close").addEventListener("click",function(){t.collapse()})}),querySelectorAllToArray(".tourtip").forEach(function(e){e.querySelector(".tourtip__close").addEventListener("click",function(){e.classList.remove("tourtip--expanded")})}),querySelectorAllToArray(".floating-label").forEach(function(e){new u(e)}),querySelectorAllToArray(".tabs").forEach(function(e){var t=(c.createLinear(e,"[role=tab]",{wrap:!0}),querySelectorAllToArray("[role=tab]",e)),o=querySelectorAllToArray("[role=tabpanel]",e);e.addEventListener("rovingTabindexChange",function(e){t[e.detail.fromIndex].setAttribute("aria-selected","false"),t[e.detail.toIndex].setAttribute("aria-selected","true"),o[e.detail.fromIndex].hidden=!0,o[e.detail.toIndex].hidden=!1}),querySelectorAllToArray("[role=tab]",e).forEach(function(e){d.add(e)})})}); +$_mod.run("/@ebay/skin$7.1.0/docs/src/js/base/main"); +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/ds4/main",function(s,d,n,c,i){}); +$_mod.run("/@ebay/skin$7.1.0/docs/src/js/ds4/main"); \ No newline at end of file diff --git a/docs/static/ds4/skin-base64.min.css b/docs/static/ds4/skin-base64.min.css index b0deda01a..a974ad880 100644 --- a/docs/static/ds4/skin-base64.min.css +++ b/docs/static/ds4/skin-base64.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.1.0-2 +Skin v7.1.0 Copyright 2017 eBay! Inc. All rights reserved. Licensed under the BSD License. https://github.com/eBay/skin/blob/master/LICENSE.txt" diff --git a/docs/static/ds4/skin.min.css b/docs/static/ds4/skin.min.css index cb4d23909..c2a003b5c 100644 --- a/docs/static/ds4/skin.min.css +++ b/docs/static/ds4/skin.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.1.0-2 +Skin v7.1.0 Copyright 2017 eBay! Inc. All rights reserved. Licensed under the BSD License. https://github.com/eBay/skin/blob/master/LICENSE.txt" diff --git a/docs/static/ds6/docs.min.js b/docs/static/ds6/docs.min.js index 8e719cf46..d99cd6c87 100644 --- a/docs/static/ds6/docs.min.js +++ b/docs/static/ds6/docs.min.js @@ -1,6 +1,6 @@ function nodeListToArray(r){return Array.prototype.slice.call(r)}function querySelectorAllToArray(r,e){return e=e||document,nodeListToArray(e.querySelectorAll(r))}; !function(){function r(r,n){var t=new Error('Cannot find module "'+r+'"'+(n?' from "'+n+'"':""));return t.code="MODULE_NOT_FOUND",t}function n(r){this.id=this.filename=r,this.loaded=!1,this.exports=void 0}function t(r,n,t){var i=t&&t.globals;if(O[r]=n,i)for(var e=b||global,o=0;o2&&0===r[t-1].length&&t--,r.length=t,r.join("/"))}function f(r,n){var t=n.split("/");return u(("/"==r?[""]:r.split("/")).concat(t))}function s(r){var n,t=r.lastIndexOf(".");return-1===t||-1!==(n=r.lastIndexOf("/"))&&n>t?null:r.substring(0,t)}function l(r){r=r.substring(1);var n=r.indexOf("/");"@"===r.charAt(1)&&(n=r.indexOf("/",n+1));var t=-1===n?r.length:n;return[r.substring(0,t),r.substring(t)]}function c(r,n){"/"===r.charAt(r.length-1)&&(r=r.slice(0,-1));var t=M[r];if(t)return t;var i,e,o=l(n),a=o[0],u=r.indexOf("/");u<0?(i=r,e=""):("@"===r.charAt(0)&&(u=r.indexOf("/",u+1)),i=r.substring(0,u),e=r.substring(u));var f=I[a+"/"+i];if(f){var s="/"+i+"$"+f;return e&&(s+=e),s}}function v(r,n){var t;if("."===r.charAt(0))t=f(n,r);else if("/"===r.charAt(0))t=u(r.split("/"));else{for(var i=m.length,e=0;e1&&void 0!==arguments[1]?arguments[1]:[],e=n.previousSibling;return e?(t.push(e),u(e,t)):t}function i(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.nextSibling;return e?(t.push(e),i(e,t)):t}function c(n){return u(n).concat(i(n)).filter(p)}function a(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.parentNode;return e?(t.push(e),a(e,t)):t}function s(n){return a(n).filter(g)}function f(n){return s(n).map(function(n){return c(n)}).reduce(d,[])}var g=function(n){return 1===n.nodeType&&"body"!==n.tagName.toLowerCase()&&"html"!==n.tagName.toLowerCase()},p=function(n){return 1===n.nodeType&&"script"!==n.tagName.toLowerCase()},d=function(n,t){return n.concat(t)};e.exports={getSiblings:c,getAncestors:s,getSiblingsOfAncestors:f}}); $_mod.def("/makeup-screenreader-trap$0.0.5/index",function(e,t,n,r,a){"use strict";function i(e,t){return{el:e,cleanValue:e.getAttribute("aria-hidden"),dirtyValue:t}}function u(e){e.el.setAttribute("aria-hidden",e.dirtyValue)}function c(e){e.cleanValue?e.el.setAttribute("aria-hidden",e.cleanValue):e.el.removeAttribute("aria-hidden")}function o(){f&&(p.forEach(function(e){return c(e)}),p=[],d&&d.setAttribute("role","main"),f.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),f=null)}function s(e){o(),f=e,(d=document.querySelector('main, [role="main"]'))&&d.setAttribute("role","presentation");var t=l.getAncestors(f),n=l.getSiblings(f),r=l.getSiblingsOfAncestors(f);p=[i(f,"false")].concat(t.map(function(e){return i(e,"false")})).concat(n.map(function(e){return i(e,"true")})).concat(r.map(function(e){return i(e,"true")})),p.forEach(function(e){return u(e)}),f.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}var l=e("/makeup-screenreader-trap$0.0.5/util"),d=void 0,f=void 0,p=void 0;n.exports={trap:s,untrap:o}}); $_mod.def("/makeup-modal$0.0.4/index",function(e,t,n,a,r){"use strict";function d(){if(p){o.untrap(p),i.untrap(p);var e=document.createEvent("Event");e.initEvent("unmodal",!1,!0),p.dispatchEvent(e),p=null}return p}function u(e){d(),p=e,o.trap(p),i.trap(p);var t=document.createEvent("Event");return t.initEvent("modal",!1,!0),p.dispatchEvent(t),p}var i=e("/makeup-keyboard-trap$0.0.9/index"),o=e("/makeup-screenreader-trap$0.0.5/index"),p=void 0;n.exports={modal:u,unmodal:d}}); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/base/transition",function(e,n,t,i,r){function o(e){for(var n=window.getComputedStyle(e).transitionDuration.replace(s,"")?1:0,t=e.firstElementChild;t;)n+=o(t),t=t.nextElementSibling;return n}function a(e){var n,t;return window.requestAnimationFrame?(n=requestAnimationFrame(function(){n=requestAnimationFrame(e)}),t=cancelAnimationFrame):(n=setTimeout(e,26),t=clearTimeout),function(){n&&(t(n),n=void 0)}}var m="transitionend",s=/0m?s(?:, )?/g;t.exports=function(e,n,t){function i(){s||(s=!0,e.removeEventListener(m,r,!0),f?(f(),d.remove(v)):d.remove(n))}function r(){++c===u&&(s=!0,e.removeEventListener(m,r,!0),d.remove(n),t&&t())}var s,u,c=0,d=e.classList,v=n+"-init",f=a(function(){e.addEventListener(m,r,!0),d.add(n),d.remove(v),u=o(e),f=void 0,0===u&&i()});return d.add(v),i}}); -$_mod.installed("@ebay/skin$7.1.0-2","makeup-roving-tabindex","0.1.1"); +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/base/transition",function(e,n,t,i,r){function o(e){for(var n=window.getComputedStyle(e).transitionDuration.replace(s,"")?1:0,t=e.firstElementChild;t;)n+=o(t),t=t.nextElementSibling;return n}function a(e){var n,t;return window.requestAnimationFrame?(n=requestAnimationFrame(function(){n=requestAnimationFrame(e)}),t=cancelAnimationFrame):(n=setTimeout(e,26),t=clearTimeout),function(){n&&(t(n),n=void 0)}}var m="transitionend",s=/0m?s(?:, )?/g;t.exports=function(e,n,t){function i(){s||(s=!0,e.removeEventListener(m,r,!0),f?(f(),d.remove(v)):d.remove(n))}function r(){++c===u&&(s=!0,e.removeEventListener(m,r,!0),d.remove(n),t&&t())}var s,u,c=0,d=e.classList,v=n+"-init",f=a(function(){e.addEventListener(m,r,!0),d.add(n),d.remove(v),u=o(e),f=void 0,0===u&&i()});return d.add(v),i}}); +$_mod.installed("@ebay/skin$7.1.0","makeup-roving-tabindex","0.1.1"); $_mod.main("/makeup-roving-tabindex$0.1.1",""); $_mod.installed("makeup-roving-tabindex$0.1.1","makeup-navigation-emitter","0.1.2"); $_mod.main("/makeup-navigation-emitter$0.1.2",""); @@ -40,26 +40,26 @@ $_mod.def("/makeup-exit-emitter$0.0.4/index",function(e,n,t,i,o){"use strict";fu $_mod.def("/makeup-navigation-emitter$0.1.2/index",function(t,e,n,i,o){"use strict";function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t){t.forEach(function(t,e){t.setAttribute(w,e)})}function d(){this.atStart()?this.options.wrap&&(this.index=this.items.length-1):this.index--}function h(){this.atEnd()?this.options.wrap&&(this.index=0):this.index++}function c(t){for(var e=t.target,n=e.dataset.makeupIndex;e!==this._el&&!n;)e=e.parentNode,n=e.dataset.makeupIndex;void 0!==n&&(this.index=n)}function l(){this.index=0}function f(){this.index=this.items.length}function p(){null!==this.options.autoReset&&(this._index=this.options.autoReset,this._el.dispatchEvent(new CustomEvent("navigationModelReset",{detail:{toIndex:this.options.autoReset},bubbles:!1})))}function v(){this.items=_.nodeListToArray(this._el.querySelectorAll(this._itemSelector)),u(this.items),this._el.dispatchEvent(new CustomEvent("navigationModelMutation"))}var y=function(){function t(t,e){for(var n=0;n0}function r(t,e){return getComputedStyle(t).backgroundColor!==e}function a(){s(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function b(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var u=Object.assign||function(t){for(var e=1;e0}function r(e){return"rgb(250, 255, 189)"===getComputedStyle(e).backgroundColor}function a(){s(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function b(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var u=Object.assign||function(e){for(var t=1;t=32&&e.keyCode<=36||38===e.keyCode||40===e.keyCode)&&e.preventDefault()}function i(e){e.addEventListener("keydown",r)}function k(e){e.removeEventListener("keydown",r)}o.exports={add:i,remove:k}}); -$_mod.installed("@ebay/skin$7.1.0-2","makeup-active-descendant","0.0.6"); +$_mod.installed("@ebay/skin$7.1.0","makeup-active-descendant","0.0.6"); $_mod.main("/makeup-active-descendant$0.0.6",""); $_mod.installed("makeup-active-descendant$0.0.6","makeup-navigation-emitter","0.1.2"); $_mod.installed("makeup-active-descendant$0.0.6","makeup-next-id","0.0.2"); $_mod.def("/makeup-active-descendant$0.0.6/util",function(t,e,r,n,o){"use strict";function c(t){return Array.prototype.slice.call(t)}r.exports={nodeListToArray:c}}); $_mod.def("/makeup-active-descendant$0.0.6/index",function(t,e,i,n,s){"use strict";function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(){var t=this._options,e=this._navigationEmitter.model.index;this._items=p.nodeListToArray(this._el.querySelectorAll(this._itemSelector)),this._items.forEach(function(i,n){n!==e?i.classList.remove(t.activeDescendantClassName):i.classList.add(t.activeDescendantClassName)})}function u(t){var e=this._items[t.detail.fromIndex],i=this._items[t.detail.toIndex];e&&(e.classList.remove(this._options.activeDescendantClassName),e.removeAttribute("aria-selected")),i&&(i.classList.add(this._options.activeDescendantClassName),i.setAttribute("aria-selected","true"),this._focusEl.setAttribute("aria-activedescendant",i.id)),this._el.dispatchEvent(new CustomEvent("activeDescendantChange",{detail:{fromIndex:t.detail.fromIndex,toIndex:t.detail.toIndex}}))}function d(){var t=this._options.activeDescendantClassName;if(this._items.forEach(function(e){e.classList.remove(t),e.removeAttribute("aria-selected")}),this._options.autoReset>-1){var e=this._items[this._options.autoReset];e.classList.add(this._options.activeDescendantClassName),e.setAttribute("aria-selected","true"),this._focusEl.setAttribute("aria-activedescendant",e.id)}else this._focusEl.removeAttribute("aria-activedescendant")}function l(t,e,i,n,s){return new y(t,e,i,n,s)}var f=Object.assign||function(t){for(var e=1;e-1){var u=c._items[c._options.autoInit];u.classList.add(c._options.activeDescendantClassName),u.setAttribute("aria-selected","true"),c._focusEl.setAttribute("aria-activedescendant",u.id)}return c}return o(e,t),h(e,[{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(b);i.exports={createLinear:l}}); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/base/main",function(e,t,o,n,r){var a=e("/makeup-modal$0.0.4/index"),l=e("/@ebay/skin$7.1.0-2/docs/src/js/base/transition"),c=e("/makeup-roving-tabindex$0.1.1/index"),i=e("/makeup-expander$0.6.1/index"),u=e("/makeup-floating-label$0.0.4/index"),d=e("/makeup-prevent-scroll-keys$0.0.2/index"),s=e("/makeup-active-descendant$0.0.6/index");querySelectorAllToArray(".expand-btn-example").forEach(function(e,t){e.addEventListener("click",function(e){var t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)})}),querySelectorAllToArray(".menu").forEach(function(e,t){if(e.querySelector(".expand-btn")){var o=(new i(e,{autoCollapse:!0,contentSelector:"[role=menu]",expandOnClick:!0,focusManagement:"focusable",hostSelector:".expand-btn"}),e.querySelector("[role=menu]"));c.createLinear(o,".menu__item");querySelectorAllToArray(".menu__item",o).forEach(function(e){d.add(e)})}}),querySelectorAllToArray(".fake-menu").forEach(function(e){new i(e,{collapseOnFocusOut:!0,collapseOnMouseOut:!0,contentSelector:".fake-menu__items",expandOnClick:!0,hostSelector:".expand-btn"})}),querySelectorAllToArray(".combobox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"combobox--expanded",expandOnFocus:!0,hostSelector:"input"}),e.querySelector("input")),o=e.querySelector("[role=listbox]");s.createLinear(e,t,o,"[role=option]",{activeDescendantClassName:"combobox__option--active"})}),querySelectorAllToArray(".listbox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"listbox--expanded",expandOnClick:!0,focusManagement:"content",hostSelector:"button"}),e.querySelector("button")),o=e.querySelector("[role=listbox]"),n=querySelectorAllToArray("[role=option]",o),r=0;n.forEach(function(e,t){e.hasAttribute("aria-selected")&&(r=t)});s.createLinear(e,o,o,"[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:r,autoReset:null});d.add(e.querySelector("[role=listbox]"));var a=t.querySelector(".expand-btn__cell > span:first-child");e.addEventListener("activeDescendantChange",function(e){e.detail.toIndex>-1&&(a.innerText=n[e.detail.toIndex].innerText)})}),querySelectorAllToArray(".dialog-button").forEach(function(e){function t(){r&&r(),r=l(c,"dialog--show",n(!0)),c.removeAttribute("hidden"),e.removeEventListener("click",t),c.addEventListener("click",o,!0),document.body.setAttribute("style","overflow:hidden"),a.modal(c.querySelector(".dialog__window"))}function o(u){i.contains(u.target)||(r&&r(),r=l(c,"dialog--hide",n(!1)),c.setAttribute("hidden",""),e.addEventListener("click",t),c.removeEventListener("click",o,!0),document.body.removeAttribute("style"),a.unmodal(),e.focus())}function n(e){e&&window.setTimeout(function(){u.focus()},250),r=void 0}var r,c=e.nextElementSibling,i=c.querySelector(".dialog__body"),u=c.querySelector(".dialog__close");e.addEventListener("click",t)}),querySelectorAllToArray(".tooltip").forEach(function(e){new i(e,{contentSelector:".tooltip__overlay",collapseOnFocusOut:!0,collapseOnMouseOut:!0,expandOnFocus:!0,expandOnHover:!0,focusManagement:"focusable",hostSelector:".tooltip__host"})}),querySelectorAllToArray(".infotip").forEach(function(e){var t=new i(e,{contentSelector:".infotip__overlay",expandOnFocus:!1,expandOnClick:!0,hostSelector:".infotip__host"});e.querySelector(".infotip__close").addEventListener("click",function(){t.collapse()})}),querySelectorAllToArray(".tourtip").forEach(function(e){e.querySelector(".tourtip__close").addEventListener("click",function(){e.classList.remove("tourtip--expanded")})}),querySelectorAllToArray(".floating-label").forEach(function(e){new u(e)}),querySelectorAllToArray(".tabs").forEach(function(e){var t=(c.createLinear(e,"[role=tab]",{wrap:!0}),querySelectorAllToArray("[role=tab]",e)),o=querySelectorAllToArray("[role=tabpanel]",e);e.addEventListener("rovingTabindexChange",function(e){t[e.detail.fromIndex].setAttribute("aria-selected","false"),t[e.detail.toIndex].setAttribute("aria-selected","true"),o[e.detail.fromIndex].hidden=!0,o[e.detail.toIndex].hidden=!1}),querySelectorAllToArray("[role=tab]",e).forEach(function(e){d.add(e)})})}); -$_mod.run("/@ebay/skin$7.1.0-2/docs/src/js/base/main"); -$_mod.def("/@ebay/skin$7.1.0-2/docs/src/js/ds6/main",function(i,e,d,n,o){function a(){var i=window.mm.matches,e=window.scrollY||window.pageYOffset;!i&&e>=window.sidebar_top?window.sidebar.classList.add("fixed"):window.sidebar.classList.remove("fixed")}window.mobileMediaQuery="all and (max-width: 600px)",window.mm=window.matchMedia(window.mobileMediaQuery),window.sidebar=document.querySelector("nav .fixed-nav"),window.sidebar_top=sidebar.offsetTop,window.addEventListener("resize",function(i,e,d){var n;return function(){var o=this,a=arguments,w=function(){n=null,d||i.apply(o,a)},t=d&&!n;clearTimeout(n),n=setTimeout(w,e),t&&i.apply(o,a)}}(function(){mm=window.matchMedia(mobileMediaQuery)},50)),window.addEventListener("load",function(){a(),window.addEventListener("scroll",a)})}); -$_mod.run("/@ebay/skin$7.1.0-2/docs/src/js/ds6/main"); \ No newline at end of file +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/base/main",function(e,t,o,n,r){var a=e("/makeup-modal$0.0.4/index"),l=e("/@ebay/skin$7.1.0/docs/src/js/base/transition"),c=e("/makeup-roving-tabindex$0.1.1/index"),i=e("/makeup-expander$0.6.1/index"),u=e("/makeup-floating-label$0.0.3/index"),d=e("/makeup-prevent-scroll-keys$0.0.2/index"),s=e("/makeup-active-descendant$0.0.6/index");querySelectorAllToArray(".expand-btn-example").forEach(function(e,t){e.addEventListener("click",function(e){var t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t)})}),querySelectorAllToArray(".menu").forEach(function(e,t){if(e.querySelector(".expand-btn")){var o=(new i(e,{autoCollapse:!0,contentSelector:"[role=menu]",expandOnClick:!0,focusManagement:"focusable",hostSelector:".expand-btn"}),e.querySelector("[role=menu]"));c.createLinear(o,".menu__item");querySelectorAllToArray(".menu__item",o).forEach(function(e){d.add(e)})}}),querySelectorAllToArray(".fake-menu").forEach(function(e){new i(e,{collapseOnFocusOut:!0,collapseOnMouseOut:!0,contentSelector:".fake-menu__items",expandOnClick:!0,hostSelector:".expand-btn"})}),querySelectorAllToArray(".combobox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"combobox--expanded",expandOnFocus:!0,hostSelector:"input"}),e.querySelector("input")),o=e.querySelector("[role=listbox]");s.createLinear(e,t,o,"[role=option]",{activeDescendantClassName:"combobox__option--active"})}),querySelectorAllToArray(".listbox").forEach(function(e){var t=(new i(e,{autoCollapse:!0,contentSelector:"[role=listbox]",expandedClass:"listbox--expanded",expandOnClick:!0,focusManagement:"content",hostSelector:"button"}),e.querySelector("button")),o=e.querySelector("[role=listbox]"),n=querySelectorAllToArray("[role=option]",o),r=0;n.forEach(function(e,t){e.hasAttribute("aria-selected")&&(r=t)});s.createLinear(e,o,o,"[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:r,autoReset:null});d.add(e.querySelector("[role=listbox]"));var a=t.querySelector(".expand-btn__cell > span:first-child");e.addEventListener("activeDescendantChange",function(e){e.detail.toIndex>-1&&(a.innerText=n[e.detail.toIndex].innerText)})}),querySelectorAllToArray(".dialog-button").forEach(function(e){function t(){r&&r(),r=l(c,"dialog--show",n(!0)),c.removeAttribute("hidden"),e.removeEventListener("click",t),c.addEventListener("click",o,!0),document.body.setAttribute("style","overflow:hidden"),a.modal(c.querySelector(".dialog__window"))}function o(u){i.contains(u.target)||(r&&r(),r=l(c,"dialog--hide",n(!1)),c.setAttribute("hidden",""),e.addEventListener("click",t),c.removeEventListener("click",o,!0),document.body.removeAttribute("style"),a.unmodal(),e.focus())}function n(e){e&&window.setTimeout(function(){u.focus()},250),r=void 0}var r,c=e.nextElementSibling,i=c.querySelector(".dialog__body"),u=c.querySelector(".dialog__close");e.addEventListener("click",t)}),querySelectorAllToArray(".tooltip").forEach(function(e){new i(e,{contentSelector:".tooltip__overlay",collapseOnFocusOut:!0,collapseOnMouseOut:!0,expandOnFocus:!0,expandOnHover:!0,focusManagement:"focusable",hostSelector:".tooltip__host"})}),querySelectorAllToArray(".infotip").forEach(function(e){var t=new i(e,{contentSelector:".infotip__overlay",expandOnFocus:!1,expandOnClick:!0,hostSelector:".infotip__host"});e.querySelector(".infotip__close").addEventListener("click",function(){t.collapse()})}),querySelectorAllToArray(".tourtip").forEach(function(e){e.querySelector(".tourtip__close").addEventListener("click",function(){e.classList.remove("tourtip--expanded")})}),querySelectorAllToArray(".floating-label").forEach(function(e){new u(e)}),querySelectorAllToArray(".tabs").forEach(function(e){var t=(c.createLinear(e,"[role=tab]",{wrap:!0}),querySelectorAllToArray("[role=tab]",e)),o=querySelectorAllToArray("[role=tabpanel]",e);e.addEventListener("rovingTabindexChange",function(e){t[e.detail.fromIndex].setAttribute("aria-selected","false"),t[e.detail.toIndex].setAttribute("aria-selected","true"),o[e.detail.fromIndex].hidden=!0,o[e.detail.toIndex].hidden=!1}),querySelectorAllToArray("[role=tab]",e).forEach(function(e){d.add(e)})})}); +$_mod.run("/@ebay/skin$7.1.0/docs/src/js/base/main"); +$_mod.def("/@ebay/skin$7.1.0/docs/src/js/ds6/main",function(i,e,d,n,o){function a(){var i=window.mm.matches,e=window.scrollY||window.pageYOffset;!i&&e>=window.sidebar_top?window.sidebar.classList.add("fixed"):window.sidebar.classList.remove("fixed")}window.mobileMediaQuery="all and (max-width: 600px)",window.mm=window.matchMedia(window.mobileMediaQuery),window.sidebar=document.querySelector("nav .fixed-nav"),window.sidebar_top=sidebar.offsetTop,window.addEventListener("resize",function(i,e,d){var n;return function(){var o=this,a=arguments,w=function(){n=null,d||i.apply(o,a)},t=d&&!n;clearTimeout(n),n=setTimeout(w,e),t&&i.apply(o,a)}}(function(){mm=window.matchMedia(mobileMediaQuery)},50)),window.addEventListener("load",function(){a(),window.addEventListener("scroll",a)})}); +$_mod.run("/@ebay/skin$7.1.0/docs/src/js/ds6/main"); \ No newline at end of file diff --git a/docs/static/ds6/skin-base64.min.css b/docs/static/ds6/skin-base64.min.css index a3b28ba57..4764f3b45 100644 --- a/docs/static/ds6/skin-base64.min.css +++ b/docs/static/ds6/skin-base64.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.1.0-2 +Skin v7.1.0 Copyright 2017 eBay! Inc. All rights reserved. Licensed under the BSD License. https://github.com/eBay/skin/blob/master/LICENSE.txt" diff --git a/docs/static/ds6/skin.min.css b/docs/static/ds6/skin.min.css index 11fa14221..e33118a79 100644 --- a/docs/static/ds6/skin.min.css +++ b/docs/static/ds6/skin.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.1.0-2 +Skin v7.1.0 Copyright 2017 eBay! Inc. All rights reserved. Licensed under the BSD License. https://github.com/eBay/skin/blob/master/LICENSE.txt" diff --git a/package.json b/package.json index 45ea44cb2..97241b3d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@ebay/skin", "description": "Skin - CSS modules that represent the brand eBay", - "version": "7.1.0-2", + "version": "7.1.0", "license": "MIT", "maintainers": [ "Ian McBurnie ",