diff --git a/docs/static/ds4/docs.min.js b/docs/static/ds4/docs.min.js index 352f200a5..2a4e0a39d 100644 --- a/docs/static/ds4/docs.min.js +++ b/docs/static/ds4/docs.min.js @@ -1,13 +1,13 @@ !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;eab",a.setAttribute("style","position: absolute; left: -9999px");var u={open:"open"in a&&function(){(document.body||document.documentElement).appendChild(a);var t=a.offsetHeight;a.open=!0;var e=a.offsetHeight;return a.parentNode.removeChild(a),t!=e}(),toggle:"ontoggle"in a},s='\ndetails, summary {\n display: block;\n}\ndetails:not([open]) > *:not(summary) {\n display: none;\n}\nsummary::before {\n content: "►";\n padding-right: 0.3rem;\n font-size: 0.6rem;\n cursor: default;\n}\n[open] > summary::before {\n content: "▼";\n}\n',c=[],d=c.forEach,l=c.slice;u.open||(function(){document.head.insertAdjacentHTML("afterbegin","")}(),function(){var t=document.createElement("details").constructor.prototype,e=t.setAttribute,n=t.removeAttribute,o=Object.getOwnPropertyDescriptor(t,"open");Object.defineProperties(t,{open:{get:function(){return"DETAILS"==this.tagName?this.hasAttribute("open"):o&&o.get?o.get.call(this):void 0},set:function(t){return"DETAILS"==this.tagName?t?this.setAttribute("open",""):this.removeAttribute("open"):o&&o.set?o.set.call(this,t):void 0}},setAttribute:{value:function(t,n){var o=this,i=function(){return e.call(o,t,n)};if("open"==t&&"DETAILS"==this.tagName){var a=this.hasAttribute("open"),u=i();if(!a){var s=this.querySelector("summary");s&&s.setAttribute("aria-expanded",!0),r(this)}return u}return i()}},removeAttribute:{value:function(t){var e=this,o=function(){return n.call(e,t)};if("open"==t&&"DETAILS"==this.tagName){var i=this.hasAttribute("open"),a=o();if(i){var u=this.querySelector("summary");u&&u.setAttribute("aria-expanded",!1),r(this)}return a}return o()}}})}(),function(){n(function(t){t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})}(),function(){t(document),window.MutationObserver?new MutationObserver(function(e){d.call(e,function(e){d.call(e.addedNodes,t)})}).observe(document.documentElement,{subtree:!0,childList:!0}):document.addEventListener("DOMNodeInserted",function(e){t(e.target)})}()),u.open&&!u.toggle&&function(){window.MutationObserver?new MutationObserver(function(t){d.call(t,function(t){var e=t.target,n=t.attributeName;"DETAILS"==e.tagName&&"open"==n&&r(e)})}).observe(document.documentElement,{attributes:!0,subtree:!0}):n(function(t){var e=t.getAttribute("open");setTimeout(function(){var n=t.getAttribute("open");e!=n&&r(t)},1)})}()}()}); $_mod.run("/details-element-polyfill$2.3.1/dist/details-element-polyfill"); -$_mod.installed("@ebay/skin$7.4.5","nodelist-foreach-polyfill","1.2.0"); +$_mod.installed("@ebay/skin$7.4.6","nodelist-foreach-polyfill","1.2.0"); $_mod.main("/nodelist-foreach-polyfill$1.2.0",""); $_mod.def("/nodelist-foreach-polyfill$1.2.0/index",function(o,t,i,e,d){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(o,t){t=t||window;for(var i=0;i1&&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.1.0/index",function(e,t,n,r,a){"use strict";function u(e,t){return{el:e,cleanValue:e.getAttribute("aria-hidden"),dirtyValue:t}}function i(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(){d&&(f.forEach(function(e){return c(e)}),f=[],l&&l.setAttribute("role","main"),d.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),d=null)}function s(e){o(),d=e,(l=document.querySelector('main, [role="main"]'))&&l.setAttribute("role","presentation");var t=p.getAncestors(d),n=p.getSiblings(d),r=p.getSiblingsOfAncestors(d);f=[u(d,"false")].concat(t.map(function(e){return u(e,"false")})).concat(n.map(function(e){return u(e,"true")})).concat(r.map(function(e){return u(e,"true")})),f.forEach(function(e){return i(e)}),d.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}var l,d,f,p=e("/makeup-screenreader-trap$0.1.0/util");n.exports={trap:s,untrap:o}}); $_mod.def("/makeup-modal$0.1.0/index",function(e,t,n,a,r){"use strict";function d(){if(i){p.untrap(i),o.untrap(i);var e=document.createEvent("Event");e.initEvent("unmodal",!1,!0),i.dispatchEvent(e),i=null}return i}function u(e){d(),i=e,p.trap(i),o.trap(i);var t=document.createEvent("Event");return t.initEvent("modal",!1,!0),i.dispatchEvent(t),i}var i,o=e("/makeup-keyboard-trap$0.2.0/index"),p=e("/makeup-screenreader-trap$0.1.0/index");n.exports={modal:u,unmodal:d}}); -$_mod.def("/@ebay/skin$7.4.5/docs/_babel/base/transition",function(e,n,t,i,r){"use strict";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.4.5","makeup-roving-tabindex","0.2.3"); +$_mod.def("/@ebay/skin$7.4.6/docs/_babel/base/transition",function(e,n,t,i,r){"use strict";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.4.6","makeup-roving-tabindex","0.2.3"); $_mod.main("/makeup-roving-tabindex$0.2.3",""); $_mod.installed("makeup-roving-tabindex$0.2.3","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-roving-tabindex$0.2.3","nodelist-foreach-polyfill","1.2.0"); @@ -48,7 +48,7 @@ $_mod.def("/makeup-next-id$0.0.3/index",function(t,i,n,d,e){"use strict";var c={ $_mod.def("/makeup-exit-emitter$0.1.1/index",function(e,n,t,i,o){"use strict";function s(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function r(e,n){for(var t=0;t-1&&e0}function u(t,e){return getComputedStyle(t).backgroundColor!==e}function h(){b(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function c(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var f={labelElementAnimateModifier:"floating-label__label--animate",labelElementInlineModifier:"floating-label__label--inline",textboxElementBackgroundRGB:"rgb(255, 255, 255)"};i.exports=function(){function t(e,i){s(this,t),this.options=o({},f,i),this.rootEl=e,this.labelEl=this.rootEl.querySelector("label"),this.textboxEl=this.rootEl.querySelector("input"),this._onBlurListener=h.bind(this),this._onFocusListener=c.bind(this),this.textboxEl.addEventListener("blur",this._onBlurListener),this.textboxEl.addEventListener("focus",this._onFocusListener),b(this.textboxEl)||u(this.textboxEl,this.options.textboxElementBackgroundRGB)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}return a(t,[{key:"refresh",value:function(){b(this.textboxEl)||u(this.textboxEl,this.options.textboxElementBackgroundRGB)?this.labelEl.classList.remove(this.options.labelElementInlineModifier):this.labelEl.classList.add(this.options.labelElementInlineModifier)}}]),t}()}); -$_mod.installed("@ebay/skin$7.4.5","makeup-prevent-scroll-keys","0.0.3"); +$_mod.installed("@ebay/skin$7.4.6","makeup-prevent-scroll-keys","0.0.3"); $_mod.main("/makeup-prevent-scroll-keys$0.0.3",""); $_mod.def("/makeup-prevent-scroll-keys$0.0.3/index",function(e,n,o,t,d){"use strict";function r(e){(e.keyCode>=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.4.5","makeup-active-descendant","0.1.4"); +$_mod.installed("@ebay/skin$7.4.6","makeup-active-descendant","0.1.4"); $_mod.main("/makeup-active-descendant$0.1.4",""); $_mod.installed("makeup-active-descendant$0.1.4","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-active-descendant$0.1.4","nodelist-foreach-polyfill","1.2.0"); $_mod.installed("makeup-active-descendant$0.1.4","makeup-navigation-emitter","0.2.2"); $_mod.installed("makeup-active-descendant$0.1.4","makeup-next-id","0.1.1"); $_mod.def("/makeup-active-descendant$0.1.4/index",function(t,e,n,i,o){"use strict";function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){return a=Object.assign||function(t){for(var e=1;e-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 g(t,e,n,i,o){return new w(t,e,n,i,o)}var E=t("/makeup-navigation-emitter$0.2.2/index"),L=t("/makeup-next-id$0.1.1/index"),x={activeDescendantClassName:"active-descendant",autoInit:-1,autoReset:-1,axis:"both"},O=function(){function t(e){v(this,t),this._el=e,this._onMutationListener=m.bind(this),this._onChangeListener=y.bind(this),this._onResetListener=b.bind(this),this._el.addEventListener("navigationModelMutation",this._onMutationListener),this._el.addEventListener("navigationModelChange",this._onChangeListener),this._el.addEventListener("navigationModelReset",this._onResetListener)}return p(t,[{key:"destroy",value:function(){this._el.removeEventListener("navigationModelMutation",this._onMutationListener),this._el.removeEventListener("navigationModelChange",this._onChangeListener),this._el.removeEventListener("navigationModelReset",this._onResetListener)}}]),t}(),w=function(t){function e(t,n,i,o,s){var c;if(v(this,e),c=r(this,d(e).call(this,t)),c._options=a({},x,s),c._navigationEmitter=E.createLinear(t,o,{autoInit:c._options.autoInit,autoReset:c._options.autoReset,axis:c._options.axis}),c._focusEl=n,c._containerEl=i,c._itemSelector=o,L(i),i!==n&&n.setAttribute("aria-owns",i.id),c._items.forEach(function(t){L(t)}),c._options.autoInit>-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 f(e,t),p(e,[{key:"destroy",value:function(){u(d(e.prototype),"destroy",this).call(this),this._navigationEmitter.destroy()}},{key:"index",get:function(){return this._navigationEmitter.model.index},set:function(t){this._navigationEmitter.model.index=t}},{key:"_items",get:function(){return this._containerEl.querySelectorAll(this._itemSelector)}},{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(O);n.exports={createLinear:g}}); -$_mod.def("/@ebay/skin$7.4.5/docs/_babel/base/listbox",function(e,t,i,n,s){"use strict";function o(){return o=Object.assign||function(e){for(var t=1;t-1&&e-1&&e-1&&e-1&&e2&&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;eab",a.setAttribute("style","position: absolute; left: -9999px");var u={open:"open"in a&&function(){(document.body||document.documentElement).appendChild(a);var t=a.offsetHeight;a.open=!0;var e=a.offsetHeight;return a.parentNode.removeChild(a),t!=e}(),toggle:"ontoggle"in a},s='\ndetails, summary {\n display: block;\n}\ndetails:not([open]) > *:not(summary) {\n display: none;\n}\nsummary::before {\n content: "►";\n padding-right: 0.3rem;\n font-size: 0.6rem;\n cursor: default;\n}\n[open] > summary::before {\n content: "▼";\n}\n',c=[],d=c.forEach,l=c.slice;u.open||(function(){document.head.insertAdjacentHTML("afterbegin","")}(),function(){var t=document.createElement("details").constructor.prototype,e=t.setAttribute,n=t.removeAttribute,o=Object.getOwnPropertyDescriptor(t,"open");Object.defineProperties(t,{open:{get:function(){return"DETAILS"==this.tagName?this.hasAttribute("open"):o&&o.get?o.get.call(this):void 0},set:function(t){return"DETAILS"==this.tagName?t?this.setAttribute("open",""):this.removeAttribute("open"):o&&o.set?o.set.call(this,t):void 0}},setAttribute:{value:function(t,n){var o=this,i=function(){return e.call(o,t,n)};if("open"==t&&"DETAILS"==this.tagName){var a=this.hasAttribute("open"),u=i();if(!a){var s=this.querySelector("summary");s&&s.setAttribute("aria-expanded",!0),r(this)}return u}return i()}},removeAttribute:{value:function(t){var e=this,o=function(){return n.call(e,t)};if("open"==t&&"DETAILS"==this.tagName){var i=this.hasAttribute("open"),a=o();if(i){var u=this.querySelector("summary");u&&u.setAttribute("aria-expanded",!1),r(this)}return a}return o()}}})}(),function(){n(function(t){t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})}(),function(){t(document),window.MutationObserver?new MutationObserver(function(e){d.call(e,function(e){d.call(e.addedNodes,t)})}).observe(document.documentElement,{subtree:!0,childList:!0}):document.addEventListener("DOMNodeInserted",function(e){t(e.target)})}()),u.open&&!u.toggle&&function(){window.MutationObserver?new MutationObserver(function(t){d.call(t,function(t){var e=t.target,n=t.attributeName;"DETAILS"==e.tagName&&"open"==n&&r(e)})}).observe(document.documentElement,{attributes:!0,subtree:!0}):n(function(t){var e=t.getAttribute("open");setTimeout(function(){var n=t.getAttribute("open");e!=n&&r(t)},1)})}()}()}); $_mod.run("/details-element-polyfill$2.3.1/dist/details-element-polyfill"); -$_mod.installed("@ebay/skin$7.4.5","nodelist-foreach-polyfill","1.2.0"); +$_mod.installed("@ebay/skin$7.4.6","nodelist-foreach-polyfill","1.2.0"); $_mod.main("/nodelist-foreach-polyfill$1.2.0",""); $_mod.def("/nodelist-foreach-polyfill$1.2.0/index",function(o,t,i,e,d){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(o,t){t=t||window;for(var i=0;i1&&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.1.0/index",function(e,t,n,r,a){"use strict";function u(e,t){return{el:e,cleanValue:e.getAttribute("aria-hidden"),dirtyValue:t}}function i(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(){d&&(f.forEach(function(e){return c(e)}),f=[],l&&l.setAttribute("role","main"),d.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),d=null)}function s(e){o(),d=e,(l=document.querySelector('main, [role="main"]'))&&l.setAttribute("role","presentation");var t=p.getAncestors(d),n=p.getSiblings(d),r=p.getSiblingsOfAncestors(d);f=[u(d,"false")].concat(t.map(function(e){return u(e,"false")})).concat(n.map(function(e){return u(e,"true")})).concat(r.map(function(e){return u(e,"true")})),f.forEach(function(e){return i(e)}),d.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}var l,d,f,p=e("/makeup-screenreader-trap$0.1.0/util");n.exports={trap:s,untrap:o}}); $_mod.def("/makeup-modal$0.1.0/index",function(e,t,n,a,r){"use strict";function d(){if(i){p.untrap(i),o.untrap(i);var e=document.createEvent("Event");e.initEvent("unmodal",!1,!0),i.dispatchEvent(e),i=null}return i}function u(e){d(),i=e,p.trap(i),o.trap(i);var t=document.createEvent("Event");return t.initEvent("modal",!1,!0),i.dispatchEvent(t),i}var i,o=e("/makeup-keyboard-trap$0.2.0/index"),p=e("/makeup-screenreader-trap$0.1.0/index");n.exports={modal:u,unmodal:d}}); -$_mod.def("/@ebay/skin$7.4.5/docs/_babel/base/transition",function(e,n,t,i,r){"use strict";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.4.5","makeup-roving-tabindex","0.2.3"); +$_mod.def("/@ebay/skin$7.4.6/docs/_babel/base/transition",function(e,n,t,i,r){"use strict";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.4.6","makeup-roving-tabindex","0.2.3"); $_mod.main("/makeup-roving-tabindex$0.2.3",""); $_mod.installed("makeup-roving-tabindex$0.2.3","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-roving-tabindex$0.2.3","nodelist-foreach-polyfill","1.2.0"); @@ -48,7 +48,7 @@ $_mod.def("/makeup-next-id$0.0.3/index",function(t,i,n,d,e){"use strict";var c={ $_mod.def("/makeup-exit-emitter$0.1.1/index",function(e,n,t,i,o){"use strict";function s(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function r(e,n){for(var t=0;t-1&&e0}function u(t,e){return getComputedStyle(t).backgroundColor!==e}function h(){b(this.textboxEl)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}function c(){this.labelEl.classList.add(this.options.labelElementAnimateModifier),this.labelEl.classList.remove(this.options.labelElementInlineModifier)}var f={labelElementAnimateModifier:"floating-label__label--animate",labelElementInlineModifier:"floating-label__label--inline",textboxElementBackgroundRGB:"rgb(255, 255, 255)"};i.exports=function(){function t(e,i){s(this,t),this.options=o({},f,i),this.rootEl=e,this.labelEl=this.rootEl.querySelector("label"),this.textboxEl=this.rootEl.querySelector("input"),this._onBlurListener=h.bind(this),this._onFocusListener=c.bind(this),this.textboxEl.addEventListener("blur",this._onBlurListener),this.textboxEl.addEventListener("focus",this._onFocusListener),b(this.textboxEl)||u(this.textboxEl,this.options.textboxElementBackgroundRGB)||this.labelEl.classList.add(this.options.labelElementInlineModifier)}return a(t,[{key:"refresh",value:function(){b(this.textboxEl)||u(this.textboxEl,this.options.textboxElementBackgroundRGB)?this.labelEl.classList.remove(this.options.labelElementInlineModifier):this.labelEl.classList.add(this.options.labelElementInlineModifier)}}]),t}()}); -$_mod.installed("@ebay/skin$7.4.5","makeup-prevent-scroll-keys","0.0.3"); +$_mod.installed("@ebay/skin$7.4.6","makeup-prevent-scroll-keys","0.0.3"); $_mod.main("/makeup-prevent-scroll-keys$0.0.3",""); $_mod.def("/makeup-prevent-scroll-keys$0.0.3/index",function(e,n,o,t,d){"use strict";function r(e){(e.keyCode>=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.4.5","makeup-active-descendant","0.1.4"); +$_mod.installed("@ebay/skin$7.4.6","makeup-active-descendant","0.1.4"); $_mod.main("/makeup-active-descendant$0.1.4",""); $_mod.installed("makeup-active-descendant$0.1.4","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-active-descendant$0.1.4","nodelist-foreach-polyfill","1.2.0"); $_mod.installed("makeup-active-descendant$0.1.4","makeup-navigation-emitter","0.2.2"); $_mod.installed("makeup-active-descendant$0.1.4","makeup-next-id","0.1.1"); $_mod.def("/makeup-active-descendant$0.1.4/index",function(t,e,n,i,o){"use strict";function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){return a=Object.assign||function(t){for(var e=1;e-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 g(t,e,n,i,o){return new w(t,e,n,i,o)}var E=t("/makeup-navigation-emitter$0.2.2/index"),L=t("/makeup-next-id$0.1.1/index"),x={activeDescendantClassName:"active-descendant",autoInit:-1,autoReset:-1,axis:"both"},O=function(){function t(e){v(this,t),this._el=e,this._onMutationListener=m.bind(this),this._onChangeListener=y.bind(this),this._onResetListener=b.bind(this),this._el.addEventListener("navigationModelMutation",this._onMutationListener),this._el.addEventListener("navigationModelChange",this._onChangeListener),this._el.addEventListener("navigationModelReset",this._onResetListener)}return p(t,[{key:"destroy",value:function(){this._el.removeEventListener("navigationModelMutation",this._onMutationListener),this._el.removeEventListener("navigationModelChange",this._onChangeListener),this._el.removeEventListener("navigationModelReset",this._onResetListener)}}]),t}(),w=function(t){function e(t,n,i,o,s){var c;if(v(this,e),c=r(this,d(e).call(this,t)),c._options=a({},x,s),c._navigationEmitter=E.createLinear(t,o,{autoInit:c._options.autoInit,autoReset:c._options.autoReset,axis:c._options.axis}),c._focusEl=n,c._containerEl=i,c._itemSelector=o,L(i),i!==n&&n.setAttribute("aria-owns",i.id),c._items.forEach(function(t){L(t)}),c._options.autoInit>-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 f(e,t),p(e,[{key:"destroy",value:function(){u(d(e.prototype),"destroy",this).call(this),this._navigationEmitter.destroy()}},{key:"index",get:function(){return this._navigationEmitter.model.index},set:function(t){this._navigationEmitter.model.index=t}},{key:"_items",get:function(){return this._containerEl.querySelectorAll(this._itemSelector)}},{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(O);n.exports={createLinear:g}}); -$_mod.def("/@ebay/skin$7.4.5/docs/_babel/base/listbox",function(e,t,i,n,s){"use strict";function o(){return o=Object.assign||function(e){for(var t=1;t-1&&e-1&&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.4.5/docs/_babel/ds6/main"); \ No newline at end of file +$_mod.def("/@ebay/skin$7.4.6/docs/_babel/base/listbox",function(e,t,i,n,s){"use strict";function o(){return o=Object.assign||function(e){for(var t=1;t-1&&e-1&&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.4.6/docs/_babel/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 d0b90f408..567a21a8c 100644 --- a/docs/static/ds6/skin-base64.min.css +++ b/docs/static/ds6/skin-base64.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.4.5 +Skin v7.4.6 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 ad33591c5..3925ed266 100644 --- a/docs/static/ds6/skin.min.css +++ b/docs/static/ds6/skin.min.css @@ -1,5 +1,5 @@ /*! -Skin v7.4.5 +Skin v7.4.6 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 ba9606839..fe9c64660 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.4.5", + "version": "7.4.6", "license": "MIT", "maintainers": [ "Ian McBurnie ",