From 8eddb47ecf2d0f5f60cbc3bc62b3aebff505813c Mon Sep 17 00:00:00 2001 From: Sean Gates Date: Thu, 29 Aug 2019 13:41:35 -0600 Subject: [PATCH] 9.0.0 --- docs/ds6/index.html | 2 +- docs/index.html | 2 +- docs/static/ds4/docs.min.js | 40 ++++++++++++++--------------- docs/static/ds4/skin-base64.min.css | 2 +- docs/static/ds4/skin.min.css | 2 +- docs/static/ds6/docs.min.js | 40 ++++++++++++++--------------- docs/static/ds6/skin-base64.min.css | 2 +- docs/static/ds6/skin.min.css | 2 +- package.json | 2 +- 9 files changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/ds6/index.html b/docs/ds6/index.html index 3cbb3ecfa..479c1ac77 100644 --- a/docs/ds6/index.html +++ b/docs/ds6/index.html @@ -1,5 +1,5 @@ --- -version: 9.0.0-6 +version: 9.0.0 layout: ds6 title: eBay Skin - for DS6 ds: 6 diff --git a/docs/index.html b/docs/index.html index cf3f35bd8..2b1923048 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,5 @@ --- -version: 9.0.0-6 +version: 9.0.0 layout: ds4 title: eBay Skin ds: 4 diff --git a/docs/static/ds4/docs.min.js b/docs/static/ds4/docs.min.js index 6fa0cddf7..c54d78827 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;e"+c+"")}(),function(){var t=document.createElement("details").constructor.prototype,e=t.setAttribute,n=t.removeAttribute,i=Object.getOwnPropertyDescriptor(t,"open");Object.defineProperties(t,{open:{get:function(){return"DETAILS"==this.tagName?this.hasAttribute("open"):i&&i.get?i.get.call(this):void 0},set:function(t){return"DETAILS"==this.tagName?t?this.setAttribute("open",""):this.removeAttribute("open"):i&&i.set?i.set.call(this,t):void 0}},setAttribute:{value:function(t,n){var i=this,o=function(){return e.call(i,t,n)};if("open"==t&&"DETAILS"==this.tagName){var a=this.hasAttribute("open"),u=o();if(!a){var s=this.querySelector("summary");s&&s.setAttribute("aria-expanded",!0),r(this)}return u}return o()}},removeAttribute:{value:function(t){var e=this,i=function(){return n.call(e,t)};if("open"==t&&"DETAILS"==this.tagName){var o=this.hasAttribute("open"),a=i();if(o){var u=this.querySelector("summary");u&&u.setAttribute("aria-expanded",!1),r(this)}return a}return i()}}})}(),function(){n(function(t){t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})}(),function(){t(document),window.MutationObserver?new MutationObserver(function(e){l.call(e,function(e){l.call(e.addedNodes,t)})}).observe(document.documentElement,{subtree:!0,childList:!0}):document.addEventListener("DOMNodeInserted",function(e){t(e.target)})}()),s.open&&!s.toggle&&function(){window.MutationObserver?new MutationObserver(function(t){l.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.4.0/dist/details-element-polyfill"); -$_mod.installed("@ebay/skin$9.0.0-6","nodelist-foreach-polyfill","1.2.0"); +$_mod.installed("@ebay/skin$9.0.0","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$9.0.0-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$9.0.0-6","makeup-roving-tabindex","0.3.0"); +$_mod.def("/@ebay/skin$9.0.0/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$9.0.0","makeup-roving-tabindex","0.3.0"); $_mod.main("/makeup-roving-tabindex$0.3.0",""); $_mod.installed("makeup-roving-tabindex$0.3.0","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-roving-tabindex$0.3.0","nodelist-foreach-polyfill","1.2.0"); @@ -54,27 +54,27 @@ $_mod.def("/makeup-next-id$0.1.1/index",function(n,t,c,i,e){"use strict";var o=n $_mod.def("/makeup-exit-emitter$0.2.0/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$9.0.0-6","makeup-prevent-scroll-keys","0.0.3"); +$_mod.installed("@ebay/skin$9.0.0","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$9.0.0-6","makeup-active-descendant","0.3.0"); +$_mod.installed("@ebay/skin$9.0.0","makeup-active-descendant","0.3.0"); $_mod.main("/makeup-active-descendant$0.3.0",""); $_mod.installed("makeup-active-descendant$0.3.0","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-active-descendant$0.3.0","nodelist-foreach-polyfill","1.2.0"); $_mod.installed("makeup-active-descendant$0.3.0","makeup-navigation-emitter","0.3.0"); $_mod.installed("makeup-active-descendant$0.3.0","makeup-next-id","0.1.1"); $_mod.def("/makeup-active-descendant$0.3.0/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 r(){return r=Object.assign||function(t){for(var e=1;e-1){var i=this.filteredItems[e];i.classList.add(n),this._focusEl.setAttribute("aria-activedescendant",i.id)}else this._focusEl.removeAttribute("aria-activedescendant")}function b(t,e,n,i,o){return new O(t,e,n,i,o)}var E=t("/makeup-navigation-emitter$0.3.0/index"),L=t("/makeup-next-id$0.1.1/index"),x={activeDescendantClassName:"active-descendant",autoInit:-1,autoReset:-1,axis:"both"},I=function(){function t(e){v(this,t),this._el=e,this._onMutationListener=_.bind(this),this._onChangeListener=y.bind(this),this._onResetListener=g.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}(),O=function(t){function e(t,n,i,o,s){var c;if(v(this,e),c=a(this,d(e).call(this,t)),c._options=r({},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.filteredItems[c._options.autoInit];u.classList.add(c._options.activeDescendantClassName),c._focusEl.setAttribute("aria-activedescendant",u.id)}return c}return f(e,t),p(e,[{key:"reset",value:function(){this._navigationEmitter.model.reset()}},{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:"filteredItems",get:function(){return this._navigationEmitter.model.filteredItems}},{key:"items",get:function(){return this._navigationEmitter.model.items}},{key:"_items",get:function(){return this.items}},{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(I);n.exports={createLinear:b}}); -$_mod.installed("@ebay/skin$9.0.0-6","core-js-pure","3.2.1"); +$_mod.installed("@ebay/skin$9.0.0","core-js-pure","3.2.1"); $_mod.def("/core-js-pure$3.2.1/internals/global",function(o,t,e,l,n){var a="object",f=function(o){return o&&o.Math==Math&&o};e.exports=f(typeof globalThis==a&&globalThis)||f(typeof window==a&&window)||f(typeof self==a&&self)||f(typeof global==a&&global)||Function("return this")()}); $_mod.def("/core-js-pure$3.2.1/internals/fails",function(r,n,t,e,c){t.exports=function(r){try{return!!r()}catch(r){return!0}}}); $_mod.def("/core-js-pure$3.2.1/internals/descriptors",function(e,r,n,t,o){var i=e("/core-js-pure$3.2.1/internals/fails");n.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})}); @@ -116,13 +116,13 @@ $_mod.def("/core-js-pure$3.2.1/internals/get-built-in",function(n,e,r,t,o){var i $_mod.def("/core-js-pure$3.2.1/internals/entry-unbind",function(e,n,r,t,i){r.exports=e("/core-js-pure$3.2.1/internals/get-built-in")}); $_mod.def("/core-js-pure$3.2.1/es/array/find-index",function(e,r,n,d,i){e("/core-js-pure$3.2.1/modules/es.array.find-index");var s=e("/core-js-pure$3.2.1/internals/entry-unbind");n.exports=s("Array","findIndex")}); $_mod.def("/core-js-pure$3.2.1/features/array/find-index",function(e,r,d,n,a){d.exports=e("/core-js-pure$3.2.1/es/array/find-index")}); -$_mod.def("/@ebay/skin$9.0.0-6/docs/_babel/base/listbox",function(e,t,i,s,n){"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;e"+c+"")}(),function(){var t=document.createElement("details").constructor.prototype,e=t.setAttribute,n=t.removeAttribute,i=Object.getOwnPropertyDescriptor(t,"open");Object.defineProperties(t,{open:{get:function(){return"DETAILS"==this.tagName?this.hasAttribute("open"):i&&i.get?i.get.call(this):void 0},set:function(t){return"DETAILS"==this.tagName?t?this.setAttribute("open",""):this.removeAttribute("open"):i&&i.set?i.set.call(this,t):void 0}},setAttribute:{value:function(t,n){var i=this,o=function(){return e.call(i,t,n)};if("open"==t&&"DETAILS"==this.tagName){var a=this.hasAttribute("open"),u=o();if(!a){var s=this.querySelector("summary");s&&s.setAttribute("aria-expanded",!0),r(this)}return u}return o()}},removeAttribute:{value:function(t){var e=this,i=function(){return n.call(e,t)};if("open"==t&&"DETAILS"==this.tagName){var o=this.hasAttribute("open"),a=i();if(o){var u=this.querySelector("summary");u&&u.setAttribute("aria-expanded",!1),r(this)}return a}return i()}}})}(),function(){n(function(t){t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})}(),function(){t(document),window.MutationObserver?new MutationObserver(function(e){l.call(e,function(e){l.call(e.addedNodes,t)})}).observe(document.documentElement,{subtree:!0,childList:!0}):document.addEventListener("DOMNodeInserted",function(e){t(e.target)})}()),s.open&&!s.toggle&&function(){window.MutationObserver?new MutationObserver(function(t){l.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.4.0/dist/details-element-polyfill"); -$_mod.installed("@ebay/skin$9.0.0-6","nodelist-foreach-polyfill","1.2.0"); +$_mod.installed("@ebay/skin$9.0.0","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$9.0.0-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$9.0.0-6","makeup-roving-tabindex","0.3.0"); +$_mod.def("/@ebay/skin$9.0.0/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$9.0.0","makeup-roving-tabindex","0.3.0"); $_mod.main("/makeup-roving-tabindex$0.3.0",""); $_mod.installed("makeup-roving-tabindex$0.3.0","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-roving-tabindex$0.3.0","nodelist-foreach-polyfill","1.2.0"); @@ -54,27 +54,27 @@ $_mod.def("/makeup-next-id$0.1.1/index",function(n,t,c,i,e){"use strict";var o=n $_mod.def("/makeup-exit-emitter$0.2.0/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$9.0.0-6","makeup-prevent-scroll-keys","0.0.3"); +$_mod.installed("@ebay/skin$9.0.0","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$9.0.0-6","makeup-active-descendant","0.3.0"); +$_mod.installed("@ebay/skin$9.0.0","makeup-active-descendant","0.3.0"); $_mod.main("/makeup-active-descendant$0.3.0",""); $_mod.installed("makeup-active-descendant$0.3.0","custom-event-polyfill","1.0.7"); $_mod.installed("makeup-active-descendant$0.3.0","nodelist-foreach-polyfill","1.2.0"); $_mod.installed("makeup-active-descendant$0.3.0","makeup-navigation-emitter","0.3.0"); $_mod.installed("makeup-active-descendant$0.3.0","makeup-next-id","0.1.1"); $_mod.def("/makeup-active-descendant$0.3.0/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 r(){return r=Object.assign||function(t){for(var e=1;e-1){var i=this.filteredItems[e];i.classList.add(n),this._focusEl.setAttribute("aria-activedescendant",i.id)}else this._focusEl.removeAttribute("aria-activedescendant")}function b(t,e,n,i,o){return new O(t,e,n,i,o)}var E=t("/makeup-navigation-emitter$0.3.0/index"),L=t("/makeup-next-id$0.1.1/index"),x={activeDescendantClassName:"active-descendant",autoInit:-1,autoReset:-1,axis:"both"},I=function(){function t(e){v(this,t),this._el=e,this._onMutationListener=_.bind(this),this._onChangeListener=y.bind(this),this._onResetListener=g.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}(),O=function(t){function e(t,n,i,o,s){var c;if(v(this,e),c=a(this,d(e).call(this,t)),c._options=r({},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.filteredItems[c._options.autoInit];u.classList.add(c._options.activeDescendantClassName),c._focusEl.setAttribute("aria-activedescendant",u.id)}return c}return f(e,t),p(e,[{key:"reset",value:function(){this._navigationEmitter.model.reset()}},{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:"filteredItems",get:function(){return this._navigationEmitter.model.filteredItems}},{key:"items",get:function(){return this._navigationEmitter.model.items}},{key:"_items",get:function(){return this.items}},{key:"wrap",set:function(t){this._navigationEmitter.model.options.wrap=t}}]),e}(I);n.exports={createLinear:b}}); -$_mod.installed("@ebay/skin$9.0.0-6","core-js-pure","3.2.1"); +$_mod.installed("@ebay/skin$9.0.0","core-js-pure","3.2.1"); $_mod.def("/core-js-pure$3.2.1/internals/global",function(o,t,e,l,n){var a="object",f=function(o){return o&&o.Math==Math&&o};e.exports=f(typeof globalThis==a&&globalThis)||f(typeof window==a&&window)||f(typeof self==a&&self)||f(typeof global==a&&global)||Function("return this")()}); $_mod.def("/core-js-pure$3.2.1/internals/fails",function(r,n,t,e,c){t.exports=function(r){try{return!!r()}catch(r){return!0}}}); $_mod.def("/core-js-pure$3.2.1/internals/descriptors",function(e,r,n,t,o){var i=e("/core-js-pure$3.2.1/internals/fails");n.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})}); @@ -116,13 +116,13 @@ $_mod.def("/core-js-pure$3.2.1/internals/get-built-in",function(n,e,r,t,o){var i $_mod.def("/core-js-pure$3.2.1/internals/entry-unbind",function(e,n,r,t,i){r.exports=e("/core-js-pure$3.2.1/internals/get-built-in")}); $_mod.def("/core-js-pure$3.2.1/es/array/find-index",function(e,r,n,d,i){e("/core-js-pure$3.2.1/modules/es.array.find-index");var s=e("/core-js-pure$3.2.1/internals/entry-unbind");n.exports=s("Array","findIndex")}); $_mod.def("/core-js-pure$3.2.1/features/array/find-index",function(e,r,d,n,a){d.exports=e("/core-js-pure$3.2.1/es/array/find-index")}); -$_mod.def("/@ebay/skin$9.0.0-6/docs/_babel/base/listbox",function(e,t,i,s,n){"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$9.0.0-6/docs/_babel/ds6/main"); \ No newline at end of file +$_mod.def("/@ebay/skin$9.0.0/docs/_babel/base/listbox",function(e,t,i,s,n){"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$9.0.0/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 04cc05cdf..3893102e6 100644 --- a/docs/static/ds6/skin-base64.min.css +++ b/docs/static/ds6/skin-base64.min.css @@ -1,5 +1,5 @@ /*! -Skin v9.0.0-6 +Skin v9.0.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 73ae791c4..30bb9e16e 100644 --- a/docs/static/ds6/skin.min.css +++ b/docs/static/ds6/skin.min.css @@ -1,5 +1,5 @@ /*! -Skin v9.0.0-6 +Skin v9.0.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 a00519bee..b249db84c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@ebay/skin", "description": "Skin - CSS modules that represent the brand eBay", - "version": "9.0.0-6", + "version": "9.0.0", "license": "MIT", "maintainers": [ "Ian McBurnie ",