From bf9f88d82651f4b3bbe230a5fc464774ec20dfec Mon Sep 17 00:00:00 2001 From: montoya332 Date: Tue, 31 Oct 2023 18:08:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20eBay/eba?= =?UTF-8?q?yui-core-react@925c68c8509b56b2e160acd808f4cc5d84b017eb=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- montoya/update-storybook/main.fe4ae3e0.iframe.bundle.js | 2 +- montoya/update-storybook/project.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/montoya/update-storybook/main.fe4ae3e0.iframe.bundle.js b/montoya/update-storybook/main.fe4ae3e0.iframe.bundle.js index dabe2c2a..a6bcc268 100644 --- a/montoya/update-storybook/main.fe4ae3e0.iframe.bundle.js +++ b/montoya/update-storybook/main.fe4ae3e0.iframe.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"./.storybook/action.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.action=void 0;var addon_actions_1=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/index.js");exports.action=function(name,options){var namedAction=addon_actions_1.action(name,options);return namedAction.toString=function(){return"action('"+name+"')"},namedAction}},"./.storybook/preview.js-generated-config-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"decorators",(function(){return decorators}));__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),lib=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/storybook-addon-jsx/lib/index.js")),esm=__webpack_require__("./node_modules/@storybook/addon-a11y/dist/esm/index.js"),dist=__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),ebay_svg=__webpack_require__("./src/ebay-svg/index.ts"),jsx_runtime=(__webpack_require__("./node_modules/@ebay/skin/index.js"),__webpack_require__("./node_modules/@ebay/skin/tokens.mjs"),__webpack_require__("./node_modules/react/jsx-runtime.js")),decorators=[esm.a,lib.jsxDecorator,dist.withKnobs,function(Story){return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsx)(ebay_svg.EbaySvg,{}),Object(jsx_runtime.jsx)(Story,{})]})}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;i0&&Array.isArray(val)?flatDeep(val,depth-1):result.push(val)}))}(this,depthArg),result}})},"./src/common/component-utils/forwardRef.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i0},isSelect=function isSelect(element){return"SELECT"===(null==element?void 0:element.tagName)},setPlaceholder=function setPlaceholder(element,value){if(isSelect(element)&&!hasValue(element.querySelector("option"))){element.style["min-width"]="";var beforeWidth=element.offsetWidth;element.querySelector("option").text=value,!value&&beforeWidth>element.offsetWidth&&(element.style["min-width"]=beforeWidth+"px")}};function useFloatingLabel(_a){var _b,ref=_a.ref,inputId=_a.inputId,className=_a.className,disabled=_a.disabled,label=_a.label,inputSize=_a.inputSize,inputValue=_a.inputValue,placeholder=_a.placeholder,invalid=_a.invalid,opaqueLabel=_a.opaqueLabel,type=_a.type,_c=_a.onMount,onMount=void 0===_c?function(){}:_c,_internalInputRef=react_1.useRef(null),inputRef=function inputRef(){return ref||_internalInputRef},_d=react_1.useState(Boolean(inputValue)),isFloating=_d[0],setFloating=_d[1],_e=react_1.useState(!1),shouldAnimate=_e[0],setAnimate=_e[1],_f=react_1.useState(!1),isFocused=_f[0],setFocused=_f[1],selectFirstOptionText=react_1.useRef("");react_1.useEffect((function(){var _a,_b;label&&(selectFirstOptionText.current=function getPlaceholder(element){return isSelect(element)?element.querySelector("option").text:null==element?void 0:element.placeholder}(null===(_a=inputRef())||void 0===_a?void 0:_a.current),setPlaceholder(null===(_b=inputRef())||void 0===_b?void 0:_b.current,""),onMount())}),[]),react_1.useEffect((function(){var _a,_b;label&&setFloating(isFocused||hasValue(null===(_a=inputRef())||void 0===_a?void 0:_a.current)||function isAutofilled(input){return input&&!textboxElementBackgroundRGB.includes(getComputedStyle(input).backgroundColor)}(null===(_b=inputRef())||void 0===_b?void 0:_b.current))}),[isFocused,inputValue]);var labelClassName=classnames_1.default(className,classPrefix,((_b={})[classPrefix+"--disabled"]=disabled,_b[classPrefix+"--animate"]=shouldAnimate,_b[classPrefix+"--inline"]=!isFloating&&"date"!==type,_b[classPrefix+"--invalid"]=invalid,_b)),floatingLabelClassName=classnames_1.default("floating-label",{"floating-label--large":"large"===inputSize,"floating-label--opaque":opaqueLabel}),FragmentContainer=react_1.useCallback((function(_a){var children=_a.children;return react_1.default.createElement(react_1.default.Fragment,null,children)}),[]),FloatingLabelContainer=react_1.useCallback((function(_a){var children=_a.children;return react_1.default.createElement("span",{className:floatingLabelClassName},children)}),[floatingLabelClassName]);return label?{label:react_1.default.createElement("label",{htmlFor:inputId,className:labelClassName},label),Container:FloatingLabelContainer,onBlur:function onBlur(){setAnimate(!0),setFloating(!1),setFocused(!1),setPlaceholder(inputRef().current,"")},onFocus:function onFocus(){var _a;setAnimate(!0),setFloating(!0),setFocused(!0),setPlaceholder(null===(_a=inputRef())||void 0===_a?void 0:_a.current,selectFirstOptionText.current)},ref:inputRef(),placeholder:isFloating?placeholder:null}:{label:null,Container:FragmentContainer,onBlur:function onBlur(){},onFocus:function onFocus(){},ref:inputRef(),placeholder:placeholder}}exports.useFloatingLabel=useFloatingLabel;try{useFloatingLabel.displayName="useFloatingLabel",useFloatingLabel.__docgenInfo={description:"",displayName:"useFloatingLabel",props:{type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"string"}},inputId:{defaultValue:null,description:"",name:"inputId",required:!1,type:{name:"string"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"any"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},inputSize:{defaultValue:null,description:"",name:"inputSize",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"large"'}]}},inputValue:{defaultValue:null,description:"",name:"inputValue",required:!1,type:{name:"string | number | readonly string[]"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},invalid:{defaultValue:null,description:"",name:"invalid",required:!1,type:{name:"boolean"}},opaqueLabel:{defaultValue:null,description:"",name:"opaqueLabel",required:!1,type:{name:"boolean"}},onMount:{defaultValue:{value:"() => {}"},description:"",name:"onMount",required:!1,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/floating-label-utils/hooks.tsx#useFloatingLabel"]={docgenInfo:useFloatingLabel.__docgenInfo,name:"useFloatingLabel",path:"src/common/floating-label-utils/hooks.tsx#useFloatingLabel"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/notice-utils/notice-content.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js")),classnames_1=__importDefault(__webpack_require__("./node_modules/classnames/index.js"));exports.default=function NoticeContent(_a){var className=_a.className,type=_a.type,children=_a.children,ContentTag="inline"===type?"span":"div";return react_1.default.createElement(ContentTag,{className:classnames_1.default(className,type+"-notice__main")},children)};try{noticecontent.displayName="noticecontent",noticecontent.__docgenInfo={description:"",displayName:"noticecontent",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"inline"'},{value:'"page"'},{value:'"section"'}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/notice-utils/notice-content.tsx#noticecontent"]={docgenInfo:noticecontent.__docgenInfo,name:"noticecontent",path:"src/common/notice-utils/notice-content.tsx#noticecontent"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/notice-utils/notice-cta.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/tooltip-utils/tooltip-content.tsx#tooltipcontent"]={docgenInfo:tooltipcontent.__docgenInfo,name:"tooltipcontent",path:"src/common/tooltip-utils/tooltip-content.tsx#tooltipcontent"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/tooltip-utils/tooltip-footer.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js")),classnames_1=__importDefault(__webpack_require__("./node_modules/classnames/index.js"));exports.default=function TooltipFooter(_a){var children=_a.children,className=_a.className,_b=_a.type,type=void 0===_b?"tourtip":_b;return react_1.default.createElement("div",{className:classnames_1.default(type+"__footer",className)},children)};try{tooltipfooter.displayName="tooltipfooter",tooltipfooter.__docgenInfo={description:"",displayName:"tooltipfooter",props:{type:{defaultValue:{value:"tourtip"},description:"",name:"type",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/tooltip-utils/tooltip-footer.tsx#tooltipfooter"]={docgenInfo:tooltipfooter.__docgenInfo,name:"tooltipfooter",path:"src/common/tooltip-utils/tooltip-footer.tsx#tooltipfooter"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/tooltip-utils/tooltip-host.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/tooltip-utils/tooltip-host.tsx#tooltiphost"]={docgenInfo:tooltiphost.__docgenInfo,name:"tooltiphost",path:"src/common/tooltip-utils/tooltip-host.tsx#tooltiphost"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/tooltip-utils/tooltip.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/common/tooltip-utils/tooltip.tsx#Tooltip"]={docgenInfo:Tooltip.__docgenInfo,name:"Tooltip",path:"src/common/tooltip-utils/tooltip.tsx#Tooltip"})}catch(__react_docgen_typescript_loader_error){}},"./src/common/tooltip-utils/types.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0})},"./src/common/tooltip-utils/use-tooltip.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.useTooltip=void 0;var react_1=__webpack_require__("./node_modules/react/index.js");exports.useTooltip=function(_a){var onExpand=_a.onExpand,onCollapse=_a.onCollapse,_b=_a.initialExpanded,initialExpanded=void 0!==_b&&_b,hostRef=_a.hostRef,_c=react_1.useState(initialExpanded),isExpanded=_c[0],setIsExpanded=_c[1];return{isExpanded:isExpanded,expandTooltip:function expandTooltip(){setIsExpanded(!0),onExpand&&onExpand()},collapseTooltip:function collapseTooltip(){var _a;setIsExpanded(!1),onCollapse&&onCollapse(),null===(_a=null==hostRef?void 0:hostRef.current)||void 0===_a||_a.focus()}}}},"./src/ebay-alert-dialog/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n return (\n
\n \n

Some outside content...

\n action(\'onOpen\')()}\n onConfirm={() => {\n action(\'onConfirm\')()\n close()\n }}\n confirmText="Confirm"\n a11yCloseText="Close"\n >\n Heading\n {textParagraph}\n

www.ebay.com

\n \n
\n );\n}'}},exports._Default.parameters),exports._WithAnimation.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n const close = () => setOpen(false);\n return (\n
\n \n

Some outside content...

\n \n Heading\n {textParagraph}\n

www.ebay.com

\n
\n
\n );\n}'}},exports._WithAnimation.parameters)},"./src/ebay-alert-dialog/alert-dialog.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onConfirm",required:!1,type:{name:"() => void"}},baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},classPrefix:{defaultValue:null,description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:{value:"Close Dialog"},description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-alert-dialog/alert-dialog.tsx#alertdialog"]={docgenInfo:alertdialog.__docgenInfo,name:"alertdialog",path:"src/ebay-alert-dialog/alert-dialog.tsx#alertdialog"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-alert-dialog/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var alert_dialog_1=__webpack_require__("./src/ebay-alert-dialog/alert-dialog.tsx");Object.defineProperty(exports,"EbayAlertDialog",{enumerable:!0,get:function get(){return alert_dialog_1.default}})},"./src/ebay-badge/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (<>\n \n)'}},exports.Default.parameters),exports.Zero.parameters=__assign({storySource:{source:'() => (<>\n \n)'}},exports.Zero.parameters),exports.BigNumbers.parameters=__assign({storySource:{source:'() => (<>\n \n)'}},exports.BigNumbers.parameters)},"./src/ebay-badge/badge.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.parse-int.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i99?"99+":parsed)};try{badge.displayName="badge",badge.__docgenInfo={description:"",displayName:"badge",props:{type:{defaultValue:{value:"img"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"img"'},{value:'"menu"'},{value:'"icon"'}]}},number:{defaultValue:null,description:"",name:"number",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-badge/badge.tsx#badge"]={docgenInfo:badge.__docgenInfo,name:"badge",path:"src/ebay-badge/badge.tsx#badge"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-badge/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var badge_1=__webpack_require__("./src/ebay-badge/badge.tsx");Object.defineProperty(exports,"EbayBadge",{enumerable:!0,get:function get(){return badge_1.default}})},"./src/ebay-breadcrumbs/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n action(\'select\')(e, { el })}>\n eBay\n \n Cell Phones, Smart Watches & Accessories\n \n \n Smart Watch Accessories\n \n Smart Watch Bands\n \n \n)'}},exports.Default.parameters),exports.AllLinks.parameters=__assign({storySource:{source:'() => (\n <>\n \n eBay\n \n Cell Phones, Smart Watches & Accessories\n \n \n Smart Watch Accessories\n \n \n Smart Watch Bands\n \n \n \n)'}},exports.AllLinks.parameters),exports.CustomProps.parameters=__assign({storySource:{source:'() => (\n <>\n \n \n eBay\n \n \n Cell Phones, Smart Watches & Accessories\n \n \n Smart Watch Accessories\n \n Smart Watch Bands\n \n \n)'}},exports.CustomProps.parameters),exports.AllButtons.parameters=__assign({storySource:{source:"() => (\n <>\n \n {[\n 'eBay',\n 'Cell Phones, Smart Watches & Accessories',\n 'Smart Watch Accessories',\n 'Smart Watch Bands'\n ].map((item, index) => (\n {item}\n ))}\n \n \n)"}},exports.AllButtons.parameters)},"./src/ebay-breadcrumbs/breadcrumb-item.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onSelect",required:!1,type:{name:"BaseEventHandler, Record>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-breadcrumbs/breadcrumbs.tsx#breadcrumbs"]={docgenInfo:breadcrumbs.__docgenInfo,name:"breadcrumbs",path:"src/ebay-breadcrumbs/breadcrumbs.tsx#breadcrumbs"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-breadcrumbs/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var breadcrumbs_1=__webpack_require__("./src/ebay-breadcrumbs/breadcrumbs.tsx");Object.defineProperty(exports,"EbayBreadcrumbs",{enumerable:!0,get:function get(){return breadcrumbs_1.default}});var breadcrumb_item_1=__webpack_require__("./src/ebay-breadcrumbs/breadcrumb-item.tsx");Object.defineProperty(exports,"EbayBreadcrumbItem",{enumerable:!0,get:function get(){return breadcrumb_item_1.default}})},"./src/ebay-button/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n

\n action('focus')(e)}\n onBlur={action('blur')}\n onKeyDown={action('key down')}\n >\n Hello, I am a button!\n \n

\n

\n Hello, I am a link!\n

\n \n)"}},exports.Default.parameters),exports.Size.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Large Button\n

\n

\n \n Large Link\n \n

\n

\n Default Size Button\n

\n

\n \n Default Size Link\n \n

\n \n)'}},exports.Size.parameters),exports.Priority.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Primary Button\n

\n

\n \n Primary Link\n \n

\n

\n Secondary Button\n

\n

\n \n Secondary Link\n \n

\n

\n Secondary Button (Default)\n

\n

\n Secondary Link (Default)\n

\n

\n Tertiary Button\n

\n

\n \n Tertiary Link\n \n

\n

\n Base Button\n

\n \n)'}},exports.Priority.parameters),exports.DestructiveVariant.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Primary Button\n \n

\n

\n \n Primary Link\n \n

\n

\n \n Secondary Button\n \n

\n

\n \n Secondary Link\n \n

\n

\n \n Tertiary Button\n \n

\n

\n \n Tertiary Link\n \n

\n \n)'}},exports.DestructiveVariant.parameters),exports.Fluid.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Primary Button\n \n

\n

\n Secondary Button\n

\n

\n \n Link\n \n

\n \n)'}},exports.Fluid.parameters),exports.WithIcon.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Form button:\n
\n \n \n Button with icon\n \n

\n

\n Form fake-button (link):\n
\n \n \n Button with icon\n \n

\n

\n Delete button:\n
\n \n \n Button with icon\n \n

\n

\n Expand button:\n
\n \n \n Expand button\n \n

\n \n)'}},exports.WithIcon.parameters),exports.IconOnly.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Form button:\n
\n \n \n \n

\n

\n Form fake-button (link):\n
\n \n \n \n

\n

\n Delete button:\n
\n \n \n \n

\n \n)'}},exports.IconOnly.parameters),exports.Transparent.parameters=__assign({storySource:{source:'() => (\n
\n

\n Default Button\n

\n

\n Transparent Button\n

\n

\n \n Transparent Destructive Button\n \n

\n

\n \n Transparent Link\n \n

\n
\n)'}},exports.Transparent.parameters),exports.Disabled.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Primary Button\n \n

\n

\n Secondary Button\n

\n

\n \n Link\n \n

\n \n)'}},exports.Disabled.parameters),exports.PartiallyDisabledButton.parameters=__assign({storySource:{source:'() => (\n \n Hello, I am a button!\n \n)'}},exports.PartiallyDisabledButton.parameters),exports.Truncated.parameters=__assign({storySource:{source:"() => (\n
\n

\n \n Hello, I am a button! this is a long text\n \n

\n

\n \n Hello, I am a BIG button! this is a long text\n \n

\n

\n \n Hello, I am a link! this is a long text\n \n

\n
\n)"}},exports.Truncated.parameters),exports.FlexButton.parameters=__assign({storySource:{source:"() => (\n \n \n Select\n \n Any\n \n \n \n \n)"}},exports.FlexButton.parameters),exports.LoadingButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n

\n

\n \n

\n

\n \n

\n

\n \n

\n

\n \n

\n \n)'}},exports.LoadingButton.parameters),exports.ExpandButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Primary expand button\n {\' \'}\n \n Expanded button\n \n

\n

\n Expand button\n

\n

\n \n Tertiary expand button\n \n

\n

\n \n Form expand button\n {\' \'}\n {\' \'}\n \n

\n

\n \n Borderless expand button\n \n

\n \n)'}},exports.ExpandButton.parameters),exports.SplitButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Primary split start button\n \n \n Primary split end button\n \n

\n

\n Split start button\n Split end button\n

\n

\n \n Tertiary split start button\n \n \n Tertiary split end button\n \n

\n

\n \n Primary Split button\n \n \n

\n

\n Split button\n \n

\n

\n \n Tertiary split button\n \n \n

\n \n)'}},exports.SplitButton.parameters),exports.FormButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Form button\n

\n \n)'}},exports.FormButton.parameters),exports.BorderlessButton.parameters=__assign({storySource:{source:"() => (\n <>\n

\n Borderless button\n

\n \n)"}},exports.BorderlessButton.parameters),exports.FixedHeight.parameters=__assign({storySource:{source:'() => (\n <>\n

\n Fixed height button\n

\n

\n \n Fixed height large button\n \n

\n \n)'}},exports.FixedHeight.parameters)},"./src/ebay-button/button-cell.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onEscape",required:!1,type:{name:"(e: KeyboardEvent) => void"}},forwardedRef:{defaultValue:null,description:"",name:"forwardedRef",required:!1,type:{name:"RefObject"}},borderless:{defaultValue:null,description:"",name:"borderless",required:!1,type:{name:"boolean"}},fixedHeight:{defaultValue:null,description:"",name:"fixedHeight",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-button/button.tsx#EbayButton"]={docgenInfo:EbayButton.__docgenInfo,name:"EbayButton",path:"src/ebay-button/button.tsx#EbayButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-button/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var button_1=__webpack_require__("./src/ebay-button/button.tsx");Object.defineProperty(exports,"EbayButton",{enumerable:!0,get:function get(){return button_1.default}}),Object.defineProperty(exports,"EbayButtonProps",{enumerable:!0,get:function get(){return button_1.EbayButtonProps}});var button_cell_1=__webpack_require__("./src/ebay-button/button-cell.tsx");Object.defineProperty(exports,"EbayButtonCell",{enumerable:!0,get:function get(){return button_cell_1.default}});var types_1=__webpack_require__("./src/ebay-button/types.ts");Object.defineProperty(exports,"Size",{enumerable:!0,get:function get(){return types_1.Size}}),Object.defineProperty(exports,"Priority",{enumerable:!0,get:function get(){return types_1.Priority}})},"./src/ebay-button/types.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0})},"./src/ebay-carousel/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n return (\n \n {items}\n \n );\n}"}},exports.Continuous.parameters),exports.ItemsPerSlide.parameters=__assign({storySource:{source:"(args) => {\n return (\n \n {items}\n \n );\n}"}},exports.ItemsPerSlide.parameters);try{Continuous.displayName="Continuous",Continuous.__docgenInfo={description:"",displayName:"Continuous",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-carousel/__tests__/index.stories.tsx#Continuous"]={docgenInfo:Continuous.__docgenInfo,name:"Continuous",path:"src/ebay-carousel/__tests__/index.stories.tsx#Continuous"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-carousel/carousel-control-button.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js")),classnames_1=__importDefault(__webpack_require__("./node_modules/classnames/index.js")),ebay_icon_1=__webpack_require__("./src/ebay-icon/index.ts"),icon={prev:"chevronLeft12",next:"chevronRight12"},typeToDirection={prev:"LEFT",next:"RIGHT"};exports.default=function CarouselControlButton(_a){var type=_a.type,label=_a.label,hidden=_a.hidden,disabled=_a.disabled,onClick=_a.onClick;return react_1.default.createElement("button",{className:classnames_1.default("carousel__control","carousel__control--"+type),"aria-label":label,"aria-disabled":disabled,disabled:disabled,onClick:function handleOnClick(event){onClick(event,{direction:typeToDirection[type]})}},react_1.default.createElement(ebay_icon_1.EbayIcon,{className:classnames_1.default("icon","icon--carousel-"+type),focusable:!1,name:icon[type],"aria-hidden":hidden}))};try{carouselcontrolbutton.displayName="carouselcontrolbutton",carouselcontrolbutton.__docgenInfo={description:"",displayName:"carouselcontrolbutton",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"next"'},{value:'"prev"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"(event: SyntheticEvent, { direction }: { direction: any; }) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-carousel/carousel-control-button.tsx#carouselcontrolbutton"]={docgenInfo:carouselcontrolbutton.__docgenInfo,name:"carouselcontrolbutton",path:"src/ebay-carousel/carousel-control-button.tsx#carouselcontrolbutton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-carousel/carousel-item.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i=-.01&&right-offset<=slideWidth+.01;return setIsVisible(fullyVisible),{left:left,right:right,fullyVisible:fullyVisible}}}),[slideWidth,offset]),react_1.default.createElement("li",__assign({ref:itemRef,"aria-hidden":!isVisible},rest),children)};exports.default=component_utils_1.withForwardRef(EbayCarouselItem);try{EbayCarouselItem.displayName="EbayCarouselItem",EbayCarouselItem.__docgenInfo={description:"",displayName:"EbayCarouselItem",props:{slideWidth:{defaultValue:null,description:"",name:"slideWidth",required:!1,type:{name:"number"}},offset:{defaultValue:null,description:"",name:"offset",required:!1,type:{name:"number"}},forwardedRef:{defaultValue:null,description:"",name:"forwardedRef",required:!1,type:{name:"RefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-carousel/carousel-item.tsx#EbayCarouselItem"]={docgenInfo:EbayCarouselItem.__docgenInfo,name:"EbayCarouselItem",path:"src/ebay-carousel/carousel-item.tsx#EbayCarouselItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-carousel/carousel-list.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/web.timers.js");var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){void 0===k2&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function get(){return m[k]}})}:function(o,m,k,k2){void 0===k2&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)"default"!==k&&Object.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importStar(__webpack_require__("./node_modules/react/index.js")),classnames_1=__importDefault(__webpack_require__("./node_modules/classnames/index.js")),helpers_1=__webpack_require__("./src/ebay-carousel/helpers.ts"),scroll_to_transition_1=__webpack_require__("./src/ebay-carousel/scroll-to-transition.ts");exports.default=function CarouselList(_a){var _b=_a.gap,gap=void 0===_b?16:_b,itemsPerSlide=_a.itemsPerSlide,slideWidth=_a.slideWidth,offset=_a.offset,activeIndex=_a.activeIndex,nextControlDisabled=_a.nextControlDisabled,className=_a.className,itemsRef=_a.itemsRef,children=_a.children,onSetActiveIndex=_a.onSetActiveIndex,onScroll=_a.onScroll,_c=react_1.useState(0),translateLeft=_c[0],setTranslateLeft=_c[1],_d=react_1.useState(!1),skipScrolling=_d[0],setSkipScrolling=_d[1],_e=react_1.useState(!1),scrollTransitioning=_e[0],setScrollTransitioning=_e[1],listRef=react_1.useRef(null),scrollTimeout=react_1.useRef(null);react_1.useEffect((function(){if(react_1.Children.count(children)&&listRef.current)if(skipScrolling)setSkipScrolling(!1);else{var list=listRef.current;helpers_1.isNativeScrolling(list)?(setScrollTransitioning(!0),scroll_to_transition_1.scrollTransition(list,offset,(function(){return setScrollTransitioning(!1)}))):setTranslateLeft(offset)}}),[offset]);var handleFinishScrolling=react_1.useCallback((function(){var scrollLeft=listRef.current.scrollLeft,closest=helpers_1.getClosestIndex(scrollLeft,itemsRef.current,slideWidth,itemsPerSlide,gap);closest!==activeIndex&&(setSkipScrolling(!0),onSetActiveIndex(closest),onScroll({index:closest}))}),[listRef.current,itemsRef.current,slideWidth,activeIndex,onSetActiveIndex]);return react_1.default.createElement("div",{className:classnames_1.default("carousel__viewport",{"carousel__viewport--mask":!nextControlDisabled},className)},react_1.default.createElement("ul",{className:"carousel__list",ref:listRef,onScroll:function handleScroll(){scrollTimeout.current&&clearTimeout(scrollTimeout.current),scrollTimeout.current=setTimeout((function(){scrollTransitioning||handleFinishScrolling()}),640)},style:{transform:"translate3d("+-translateLeft+"px, 0, 0)"}},helpers_1.alterChildren(children,itemsRef,itemsPerSlide,slideWidth,offset,gap)))};try{carousellist.displayName="carousellist",carousellist.__docgenInfo={description:"",displayName:"carousellist",props:{gap:{defaultValue:{value:"16"},description:"",name:"gap",required:!1,type:{name:"number"}},itemsPerSlide:{defaultValue:null,description:"",name:"itemsPerSlide",required:!0,type:{name:"number"}},slideWidth:{defaultValue:null,description:"",name:"slideWidth",required:!0,type:{name:"number"}},offset:{defaultValue:null,description:"",name:"offset",required:!0,type:{name:"number"}},activeIndex:{defaultValue:null,description:"",name:"activeIndex",required:!0,type:{name:"number"}},nextControlDisabled:{defaultValue:null,description:"",name:"nextControlDisabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},itemsRef:{defaultValue:null,description:"",name:"itemsRef",required:!1,type:{name:"RefObject"}},onSetActiveIndex:{defaultValue:null,description:"",name:"onSetActiveIndex",required:!0,type:{name:"(index: number) => void"}},onScroll:{defaultValue:null,description:"",name:"onScroll",required:!1,type:{name:"({ index }: { index: any; }) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-carousel/carousel-list.tsx#carousellist"]={docgenInfo:carousellist.__docgenInfo,name:"carousellist",path:"src/ebay-carousel/carousel-list.tsx#carousellist"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-carousel/carousel.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i=0&&index<=itemCount-1&&setActiveIndex(index)}),[index]),react_1.useEffect((function(){itemsRef.current=itemsRef.current.splice(0,itemCount)}),[children]),react_1.useEffect((function(){var containerWidth=containerRef.current.getBoundingClientRect().width;setSlideWidth(containerWidth)}),[containerRef.current]);var handleControlClick=function handleControlClick(event,_a){var direction=_a.direction,nextIndex=helpers_1.getNextIndex(direction,activeIndex,itemsRef.current,slideWidth,itemsPerSlide),slide=helpers_1.getSlide(activeIndex,itemsPerSlide,nextIndex);setActiveIndex(nextIndex),"LEFT"===direction?onPrevious(event):onNext(event),onSlide({slide:slide})};return react_1.default.createElement("div",__assign({className:classnames_1.default("carousel",className,{"carousel--slides":itemsPerSlide,"carousel--peek":itemsPerSlide%1==0})},rest),react_1.default.createElement("div",{ref:containerRef,className:"carousel__container"},react_1.default.createElement(carousel_control_button_1.default,{label:a11yPreviousText,type:"prev",disabled:prevControlDisabled,onClick:handleControlClick}),react_1.default.createElement(carousel_list_1.default,{itemsRef:itemsRef,offset:offset,gap:gap,itemsPerSlide:itemsPerSlide,nextControlDisabled:nextControlDisabled,activeIndex:activeIndex,onScroll:onScroll,onSetActiveIndex:setActiveIndex,slideWidth:slideWidth},children),react_1.default.createElement(carousel_control_button_1.default,{type:"next",label:a11yNextText,disabled:nextControlDisabled,onClick:handleControlClick})))};try{carousel.displayName="carousel",carousel.__docgenInfo={description:"",displayName:"carousel",props:{gap:{defaultValue:{value:"16"},description:"",name:"gap",required:!1,type:{name:"number"}},index:{defaultValue:{value:"0"},description:"",name:"index",required:!1,type:{name:"number"}},imageTreatment:{defaultValue:null,description:"",name:"imageTreatment",required:!1,type:{name:"boolean"}},itemsPerSlide:{defaultValue:null,description:"",name:"itemsPerSlide",required:!1,type:{name:"number"}},a11yPreviousText:{defaultValue:null,description:"",name:"a11yPreviousText",required:!1,type:{name:"string"}},a11yNextText:{defaultValue:null,description:"",name:"a11yNextText",required:!1,type:{name:"string"}},onNext:{defaultValue:{value:"() => {}"},description:"",name:"onNext",required:!1,type:{name:"(event: SyntheticEvent) => void"}},onPrevious:{defaultValue:{value:"() => {}"},description:"",name:"onPrevious",required:!1,type:{name:"(event: SyntheticEvent) => void"}},onSlide:{defaultValue:{value:"() => {}"},description:"",name:"onSlide",required:!1,type:{name:"({ slide }: { slide: any; }) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-carousel/carousel.tsx#carousel"]={docgenInfo:carousel.__docgenInfo,name:"carousel",path:"src/ebay-carousel/carousel.tsx#carousel"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-carousel/helpers.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i0){var result=index;return result%=items.length||1,result-=result%(itemsPerSlide||1),result=Math.abs(result)}return 0};exports.getSlide=function(activeIndex,itemsPerSlide,nextIndex){if(void 0===nextIndex&&(nextIndex=activeIndex),itemsPerSlide)return Math.ceil(nextIndex/itemsPerSlide)};var getDelta=function getDelta(direction){return"LEFT"===direction?-1:1};exports.getNextIndex=function(direction,activeIndex,items,slideWidth,itemsPerSlide){var item,i=activeIndex;if("LEFT"===direction&&0===i)i=items.length-1;else{do{item=items[i+=getDelta(direction)]}while(item&&item.fullyVisible);if("LEFT"===direction&&!itemsPerSlide){var targetOffset=item.right-slideWidth;do{item=items[--i]}while(item&&item.left>=targetOffset);i+=1}}return normalizeIndex(i,items,itemsPerSlide)},exports.getClosestIndex=function(scrollLeft,items,slideWidth,itemsPerSlide,gap){var closest;if(void 0===itemsPerSlide&&(itemsPerSlide=1),scrollLeft>=exports.getMaxOffset(items,slideWidth)-gap)closest=items.length-1;else{for(var totalItems=items.length,low=0,high=Math.ceil(totalItems/itemsPerSlide)-1;high-low>1;){var mid=Math.floor((low+high)/2);scrollLeft>items[mid*itemsPerSlide].left?low=mid:high=mid}var deltaLow=Math.abs(scrollLeft-items[low*itemsPerSlide].left),deltaHigh=Math.abs(scrollLeft-items[high*itemsPerSlide].left);closest=normalizeIndex((deltaLow>deltaHigh?high:low)*itemsPerSlide,items,itemsPerSlide)}return closest}},"./src/ebay-carousel/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var carousel_1=__webpack_require__("./src/ebay-carousel/carousel.tsx");Object.defineProperty(exports,"EbayCarousel",{enumerable:!0,get:function get(){return carousel_1.default}});var carousel_item_1=__webpack_require__("./src/ebay-carousel/carousel-item.tsx");Object.defineProperty(exports,"EbayCarouselItem",{enumerable:!0,get:function get(){return carousel_item_1.default}})},"./src/ebay-carousel/scroll-to-transition.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/web.timers.js"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.scrollTransition=void 0;var supportsScrollBehavior="undefined"!=typeof window&&"scrollBehavior"in document.body.style;exports.scrollTransition=function scrollTransition(el,to,fn){if(supportsScrollBehavior)return el.scrollTo({left:to}),function onScrollEnd(el,fn){var timeout,frame,lastPos;return function checkMoved(){var scrollLeft=el.scrollLeft;if(lastPos!==scrollLeft)return lastPos=scrollLeft,void(timeout=setTimeout((function(){frame=requestAnimationFrame(checkMoved)}),90));fn(lastPos)}(),function(){clearTimeout(timeout),cancelAnimationFrame(frame)}}(el,fn);var lastPosition,cancelInterruptTransition,frame=requestAnimationFrame((function(startTime){var scrollLeft=el.scrollLeft,distance=to-scrollLeft;!function animate(curTime){var delta=curTime-startTime;if(delta>450)return el.scrollLeft=to,cancel(),fn();el.scrollLeft=function easeInOut(val){return val<.5?2*val*val:(4-2*val)*val-1}(delta/450)*distance+scrollLeft,frame=requestAnimationFrame(animate)}(startTime)}));return el.addEventListener("touchstart",handleTouchStart),cancel;function cancel(){cancelAnimationFrame(frame),void 0===lastPosition?function cancelTouchStart(){el.removeEventListener("touchstart",handleTouchStart)}():(cancelInterruptTransition&&cancelInterruptTransition(),cancelTouchEnd())}function handleTouchStart(){cancel(),lastPosition=el.scrollLeft,el.addEventListener("touchend",handleTouchEnd)}function handleTouchEnd(){cancelTouchEnd(),lastPosition===el.scrollLeft&&(cancelInterruptTransition=scrollTransition(el,to,fn))}function cancelTouchEnd(){el.removeEventListener("touchend",handleTouchEnd)}}},"./src/ebay-checkbox/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n

\n action(\'onChange\')(e, props)}\n onFocus={(e, props) => action(\'onFocus\')(e, props)}\n onKeyDown={(e, props) => action(\'onKeyDown\')(e, props)}\n >\n Default\n \n

\n

\n \n Large\n \n

\n \n)'}},exports.DefaultCheckboxButton.parameters),exports.SelectedCheckboxButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Default\n \n

\n

\n \n Large\n \n

\n \n)'}},exports.SelectedCheckboxButton.parameters),exports.DisabledCheckboxButton.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Default disabled\n \n

\n

\n \n Large disabled\n \n

\n \n)'}},exports.DisabledCheckboxButton.parameters),exports.GroupedCheckboxButtons.parameters=__assign({storySource:{source:'() => (\n
\n Choose an Option\n \n \n Option 1\n \n \n \n \n Option 2\n \n \n \n \n Option 3\n \n \n
\n)'}},exports.GroupedCheckboxButtons.parameters),exports.StyledCheckboxButton.parameters=__assign({storySource:{source:'() => (\n \n \n \n Custom style\n \n \n)'}},exports.StyledCheckboxButton.parameters),exports.ControlValueFromOutside.parameters=__assign({storySource:{source:'() => {\n const Controller = () => {\n const [isChecked, setChecked] = useState(true)\n const [isDisabled, setDisabled] = useState(false)\n const counter = useRef(0)\n const handleOnChange = (\n e: ChangeEvent,\n value: string | number,\n checked: boolean\n ) => {\n if (counter.current < 4) {\n setChecked(checked)\n } else {\n setDisabled(true)\n }\n counter.current++\n }\n\n return (\n \n {isDisabled ? (\n Disabled\n ) : (\n Gets disabled after {5 - counter.current} clicks\n )}\n \n )\n }\n return (\n <>\n \n \n )\n}'}},exports.ControlValueFromOutside.parameters)},"./src/ebay-checkbox/checkbox.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onChange",required:!1,type:{name:"BaseEventHandler, { value: ReactText; checked: boolean; }>"}},onFocus:{defaultValue:{value:"() => {}"},description:"",name:"onFocus",required:!1,type:{name:"BaseEventHandler, { value: ReactText; checked: boolean; }>"}},onKeyDown:{defaultValue:{value:"() => {}"},description:"",name:"onKeyDown",required:!1,type:{name:"BaseEventHandler, { value: ReactText; checked: boolean; }>"}},inputRef:{defaultValue:null,description:"",name:"inputRef",required:!1,type:{name:"LegacyRef"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-checkbox/checkbox.tsx#checkbox"]={docgenInfo:checkbox.__docgenInfo,name:"checkbox",path:"src/ebay-checkbox/checkbox.tsx#checkbox"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-checkbox/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var checkbox_1=__webpack_require__("./src/ebay-checkbox/checkbox.tsx");Object.defineProperty(exports,"EbayCheckbox",{enumerable:!0,get:function get(){return checkbox_1.default}})},"./src/ebay-confirm-dialog/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n\n return (\n
\n \n

Some outside content...

\n action('onOpen')()}\n onConfirm={() => {\n action('onConfirm')()\n close()\n }}\n onReject={() => {\n action('onReject')()\n close()\n }}\n confirmText=\"Okay\"\n rejectText=\"Cancel\"\n >\n Delete Address?\n

You will permanently lose this address.

\n \n
\n )\n}"}},exports._Default.parameters),exports._WithAnimation.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n const close = () => setOpen(false);\n\n return (\n
\n \n

Some outside content...

\n \n Delete Address?\n

You will permanently lose this address.

\n \n
\n )\n}'}},exports._WithAnimation.parameters)},"./src/ebay-confirm-dialog/confirm-dialog.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onReject",required:!1,type:{name:"() => void"}},onConfirm:{defaultValue:{value:"() => {}"},description:"",name:"onConfirm",required:!1,type:{name:"() => void"}},baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},classPrefix:{defaultValue:null,description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:{value:"Close Dialog"},description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-confirm-dialog/confirm-dialog.tsx#confirmdialog"]={docgenInfo:confirmdialog.__docgenInfo,name:"confirmdialog",path:"src/ebay-confirm-dialog/confirm-dialog.tsx#confirmdialog"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-confirm-dialog/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var confirm_dialog_1=__webpack_require__("./src/ebay-confirm-dialog/confirm-dialog.tsx");Object.defineProperty(exports,"EbayConfirmDialog",{enumerable:!0,get:function get(){return confirm_dialog_1.default}})},"./src/ebay-cta-button/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n

\n Take Action Now!\n

\n \n)'}},exports.Default.parameters),exports.Large.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n Large Button\n \n

\n \n)'}},exports.Large.parameters),exports.Fluid.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n 100%\n \n

\n

\n \n Large!\n \n

\n \n)'}},exports.Fluid.parameters),exports.Truncated.parameters=__assign({storySource:{source:'() => (\n
\n

\n \n Wide Long Call To Action!\n \n

\n

\n \n Go Big with Call To Action!\n \n

\n
\n)'}},exports.Truncated.parameters)},"./src/ebay-cta-button/cta-button.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-cta-button/cta-button.tsx#EbayCtaButton"]={docgenInfo:EbayCtaButton.__docgenInfo,name:"EbayCtaButton",path:"src/ebay-cta-button/cta-button.tsx#EbayCtaButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-cta-button/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var cta_button_1=__webpack_require__("./src/ebay-cta-button/cta-button.tsx");Object.defineProperty(exports,"EbayCtaButton",{enumerable:!0,get:function get(){return cta_button_1.default}})},"./src/ebay-dialog-base/components/animation.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.timers.js"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDialogAnimation=void 0;var react_1=__webpack_require__("./node_modules/react/index.js");function transition(element,waitFor,className,onTransitionEnd){if(element.current&&className){var ran=0,pending=waitFor?waitFor.length:0,initClass=className+"-init";return element.current.classList.add(initClass),function nextFrame(callback){var frame,cancelFrame;window.requestAnimationFrame?(frame=window.requestAnimationFrame((function(){frame=window.requestAnimationFrame(callback)})),cancelFrame=window.cancelAnimationFrame):(frame=window.setTimeout(callback,26),cancelFrame=window.clearTimeout);return function(){frame&&(cancelFrame(frame),frame=void 0)}}((function(){element.current&&(element.current.classList.add(className),element.current.classList.remove(initClass),waitFor.forEach((function(ref){ref.current.addEventListener("transitionend",(function listener(){var _a,_b;++ran===pending&&(null===(_a=element.current)||void 0===_a||_a.classList.remove(className),onTransitionEnd(),null===(_b=ref.current)||void 0===_b||_b.removeEventListener("transitionend",listener))}),{once:!0})})))}))}}exports.useDialogAnimation=function useDialogAnimation(_a){var open=_a.open,classPrefix=_a.classPrefix,transitionElement=_a.transitionElement,dialogRef=_a.dialogRef,dialogWindowRef=_a.dialogWindowRef,enabled=_a.enabled,onTransitionEnd=_a.onTransitionEnd,firstRender=react_1.useRef(!0);react_1.useLayoutEffect((function(){if(enabled){var cancelCurrentAnimation,transitionElements=[dialogWindowRef,dialogRef];return"window"===transitionElement?transitionElements=[dialogWindowRef]:"root"===transitionElement&&(transitionElements=[dialogRef]),open?cancelCurrentAnimation=function showAnimation(_a){var dialog=_a.dialog,waitFor=_a.waitFor,classPrefix=_a.classPrefix,onTransitionEnd=_a.onTransitionEnd;return transition(dialog,waitFor,classPrefix+"--show",onTransitionEnd)}({dialog:dialogRef,waitFor:transitionElements,classPrefix:classPrefix,onTransitionEnd:onTransitionEnd}):firstRender.current||(cancelCurrentAnimation=function hideAnimation(_a){var dialog=_a.dialog,waitFor=_a.waitFor,classPrefix=_a.classPrefix,onTransitionEnd=_a.onTransitionEnd;return transition(dialog,waitFor,classPrefix+"--hide",onTransitionEnd)}({dialog:dialogRef,waitFor:transitionElements,classPrefix:classPrefix,onTransitionEnd:onTransitionEnd})),firstRender.current=!1,function(){cancelCurrentAnimation&&cancelCurrentAnimation()}}}),[open,enabled])}},"./src/ebay-dialog-base/components/dialog-actions.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js"));exports.default=function EbayDialogActions(_a){var children=_a.children;return react_1.default.createElement(react_1.default.Fragment,null,children)};try{dialogactions.displayName="dialogactions",dialogactions.__docgenInfo={description:"",displayName:"dialogactions",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialog-actions.tsx#dialogactions"]={docgenInfo:dialogactions.__docgenInfo,name:"dialogactions",path:"src/ebay-dialog-base/components/dialog-actions.tsx#dialogactions"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/components/dialog-close-button.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js"));exports.default=function EbayDialogCloseButton(_a){var children=_a.children;return react_1.default.createElement(react_1.default.Fragment,null,children)};try{dialogclosebutton.displayName="dialogclosebutton",dialogclosebutton.__docgenInfo={description:"",displayName:"dialogclosebutton",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialog-close-button.tsx#dialogclosebutton"]={docgenInfo:dialogclosebutton.__docgenInfo,name:"dialogclosebutton",path:"src/ebay-dialog-base/components/dialog-close-button.tsx#dialogclosebutton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/components/dialog-footer.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js"));exports.default=function EbayDialogFooter(_a){var children=_a.children;return react_1.default.createElement(react_1.default.Fragment,null,children)};try{dialogfooter.displayName="dialogfooter",dialogfooter.__docgenInfo={description:"",displayName:"dialogfooter",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialog-footer.tsx#dialogfooter"]={docgenInfo:dialogfooter.__docgenInfo,name:"dialogfooter",path:"src/ebay-dialog-base/components/dialog-footer.tsx#dialogfooter"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/components/dialog-header.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i) => void) & ((event: KeyboardEvent) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialog-previous-button.tsx#dialogpreviousbutton"]={docgenInfo:dialogpreviousbutton.__docgenInfo,name:"dialogpreviousbutton",path:"src/ebay-dialog-base/components/dialog-previous-button.tsx#dialogpreviousbutton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/components/dialogBase.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/web.timers.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:{value:"right"},description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:{value:"() => {}"},description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:{value:"() => {}"},description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:{value:"() => {}"},description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialogBase.tsx#DialogBase"]={docgenInfo:DialogBase.__docgenInfo,name:"DialogBase",path:"src/ebay-dialog-base/components/dialogBase.tsx#DialogBase"})}catch(__react_docgen_typescript_loader_error){}try{dialogBase.displayName="dialogBase",dialogBase.__docgenInfo={description:"",displayName:"dialogBase",props:{baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},open:{defaultValue:{value:"false"},description:"",name:"open",required:!1,type:{name:"boolean"}},classPrefix:{defaultValue:{value:"drawer-dialog"},description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:{value:"right"},description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:{value:"() => {}"},description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:{value:"() => {}"},description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:{value:"() => {}"},description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/components/dialogBase.tsx#dialogBase"]={docgenInfo:dialogBase.__docgenInfo,name:"dialogBase",path:"src/ebay-dialog-base/components/dialogBase.tsx#dialogBase"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/dialog-base-with-state.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.some.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:{value:"true"},description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/dialog-base-with-state.tsx#DialogBaseWithState"]={docgenInfo:DialogBaseWithState.__docgenInfo,name:"DialogBaseWithState",path:"src/ebay-dialog-base/dialog-base-with-state.tsx#DialogBaseWithState"})}catch(__react_docgen_typescript_loader_error){}try{dialogbasewithstate.displayName="dialogbasewithstate",dialogbasewithstate.__docgenInfo={description:"",displayName:"dialogbasewithstate",props:{baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},classPrefix:{defaultValue:null,description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:{value:"true"},description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-dialog-base/dialog-base-with-state.tsx#dialogbasewithstate"]={docgenInfo:dialogbasewithstate.__docgenInfo,name:"dialogbasewithstate",path:"src/ebay-dialog-base/dialog-base-with-state.tsx#dialogbasewithstate"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-dialog-base/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var dialog_header_1=__webpack_require__("./src/ebay-dialog-base/components/dialog-header.tsx");Object.defineProperty(exports,"EbayDialogHeader",{enumerable:!0,get:function get(){return dialog_header_1.default}});var dialog_footer_1=__webpack_require__("./src/ebay-dialog-base/components/dialog-footer.tsx");Object.defineProperty(exports,"EbayDialogFooter",{enumerable:!0,get:function get(){return dialog_footer_1.default}});var dialog_close_button_1=__webpack_require__("./src/ebay-dialog-base/components/dialog-close-button.tsx");Object.defineProperty(exports,"EbayDialogCloseButton",{enumerable:!0,get:function get(){return dialog_close_button_1.default}});var dialogBase_1=__webpack_require__("./src/ebay-dialog-base/components/dialogBase.tsx");Object.defineProperty(exports,"WindowType",{enumerable:!0,get:function get(){return dialogBase_1.WindowType}}),Object.defineProperty(exports,"DialogBaseProps",{enumerable:!0,get:function get(){return dialogBase_1.DialogBaseProps}});var dialog_base_with_state_1=__webpack_require__("./src/ebay-dialog-base/dialog-base-with-state.tsx");Object.defineProperty(exports,"DialogBaseWithState",{enumerable:!0,get:function get(){return dialog_base_with_state_1.default}});var dialog_actions_1=__webpack_require__("./src/ebay-dialog-base/components/dialog-actions.tsx");Object.defineProperty(exports,"EbayDialogActions",{enumerable:!0,get:function get(){return dialog_actions_1.default}});var dialog_previous_button_1=__webpack_require__("./src/ebay-dialog-base/components/dialog-previous-button.tsx");Object.defineProperty(exports,"EbayDialogPreviousButton",{enumerable:!0,get:function get(){return dialog_previous_button_1.default}})},"./src/ebay-drawer-dialog/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n {\n action('onClose')()\n setOpen(false)\n }}\n onExpanded={action('onExpanded')}\n onCollapsed={action('onCollapsed')}\n a11yCloseText=\"Close\"\n a11yMaximizeText=\"Maximize\"\n a11yMinimizeText=\"Minimize\"\n >\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n \n \n );\n}"}},exports._Default.parameters),exports._Opened.parameters=__assign({storySource:{source:'() => (<>\n \n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore\n et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in\n culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n
\n)'}},exports._Opened.parameters),exports._WithoutHandle.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n setOpen(false)}\n a11yMaximizeText="Maximize" a11yMinimizeText="Minimize" a11yCloseText="Close">\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n
\n \n );\n}'}},exports._WithoutHandle.parameters),exports._WithoutHandleAndCloseButton.parameters=__assign({storySource:{source:"() => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n setOpen(false)}>\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n
\n \n );\n}"}},exports._WithoutHandleAndCloseButton.parameters),exports._LotsOfContent.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false)\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n {numbers}\n setOpen(false)}\n a11yMaximizeText="Maximize" a11yMinimizeText="Minimize" a11yCloseText="Close">\n Scrollable content\n {numbers}\n \n setOpen(false)}>Close\n \n \n \n );\n}'}},exports._LotsOfContent.parameters),exports._CustomFocus.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false)\n const focusRef = createRef() as any\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n setOpen(false)}\n a11yMaximizeText="Maximize" a11yMinimizeText="Minimize" a11yCloseText="Close">\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n \n setOpen(false)}>Close\n \n
\n \n );\n}'}},exports._CustomFocus.parameters),exports._WithoutAnimation.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n setOpen(false)} animated={false}\n a11yMaximizeText="Maximize" a11yMinimizeText="Minimize" a11yCloseText="Close">\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

\n www.ebay.com\n

\n
\n \n );\n}'}},exports._WithoutAnimation.parameters),exports._TriggerExpanded.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n const [expanded, setExpanded] = useState(false);\n\n return (\n <>\n setOpen(!open)}>Open Drawer\n setOpen(false)} expanded={expanded}\n a11yMaximizeText="Maximize" a11yMinimizeText="Minimize" a11yCloseText="Close">\n

\n Trigger Dialog Expanded programmatically.\n

\n\n setExpanded(!expanded)} priority="secondary">\n {expanded ? "Collapse Drawer" : "Expand Drawer"}\n \n
\n \n );\n}'}},exports._TriggerExpanded.parameters)},"./src/ebay-drawer-dialog/components/drawer.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i-1&&touches.splice(idx,1)}))},handle=noHandle?null:react_1.default.createElement("button",{"aria-label":expanded?a11yMinimizeText:a11yMaximizeText,className:"drawer-dialog__handle",onClick:function onClick(){return setExpandedState(!expanded)},onScroll:function onScroll(){return setExpandedState(!0)},onTouchStart:function handleTouchStart(e){touches=Array.from(e.changedTouches).map((function(_a){return{identifier:_a.identifier,pageY:_a.pageY}}))},onTouchMove:function handleTouchMove(e){touches.length&&Array.from(e.changedTouches).forEach((function(_a){var identifier=_a.identifier,pageY=_a.pageY,compare=touches.findIndex((function(touch){return touch.identifier===identifier})),diff=pageY-touches[compare].pageY;diff>30?(expanded?setExpandedState(!1):onClose(),handleTouchEnd(e)):diff<-30&&(setExpandedState(!0),handleTouchEnd(e))}))},onTouchEnd:handleTouchEnd,type:"button"}),childrenArray=react_1.Children.toArray(children),header=childrenArray.find((function(_a){return _a.type===ebay_dialog_base_1.EbayDialogHeader})),withoutHeader=childrenArray.filter((function(_a){return _a.type!==ebay_dialog_base_1.EbayDialogHeader}));return react_1.default.createElement(ebay_dialog_base_1.DialogBaseWithState,__assign({},rest,{classPrefix:"drawer-dialog",onCloseBtnClick:onClose,className:classnames_1.default(rest.className,"drawer-dialog--mask-fade-slow"),windowClass:classnames_1.default("drawer-dialog__window","drawer-dialog__window--slide",(_b={},_b["drawer-dialog__window--expanded"]=expanded,_b)),onBackgroundClick:onClose,top:handle}),header||react_1.default.createElement(ebay_dialog_base_1.EbayDialogHeader,null),withoutHeader)};try{drawer.displayName="drawer",drawer.__docgenInfo={description:"",displayName:"drawer",props:{expanded:{defaultValue:null,description:"",name:"expanded",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},noHandle:{defaultValue:null,description:"",name:"noHandle",required:!1,type:{name:"boolean"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},a11yMinimizeText:{defaultValue:null,description:"",name:"a11yMinimizeText",required:!1,type:{name:"string"}},a11yMaximizeText:{defaultValue:null,description:"",name:"a11yMaximizeText",required:!1,type:{name:"string"}},onShow:{defaultValue:null,description:"@deprecated",name:"onShow",required:!1,type:{name:"() => void"}},onClose:{defaultValue:{value:"() => {}"},description:"",name:"onClose",required:!1,type:{name:"() => void"}},onExpanded:{defaultValue:{value:"() => {}"},description:"",name:"onExpanded",required:!1,type:{name:"() => void"}},onCollapsed:{defaultValue:{value:"() => {}"},description:"",name:"onCollapsed",required:!1,type:{name:"() => void"}},baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},classPrefix:{defaultValue:null,description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-drawer-dialog/components/drawer.tsx#drawer"]={docgenInfo:drawer.__docgenInfo,name:"drawer",path:"src/ebay-drawer-dialog/components/drawer.tsx#drawer"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-drawer-dialog/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var drawer_1=__webpack_require__("./src/ebay-drawer-dialog/components/drawer.tsx");Object.defineProperty(exports,"EbayDrawerDialog",{enumerable:!0,get:function get(){return drawer_1.default}})},"./src/ebay-eek/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n \n \n)'}},exports.Standard.parameters),exports.RegularA.parameters=__assign({storySource:{source:'() => (\n <>\n
\n \n \n \n \n \n \n \n
\n \n)'}},exports.RegularA.parameters),exports.A.parameters=__assign({storySource:{source:'() => (\n <>\n
\n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n \n)'}},exports.A.parameters),exports.ValidA.parameters=__assign({storySource:{source:'() => (\n <>\n
\n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n \n)'}},exports.ValidA.parameters),exports.InvalidCombinations.parameters=__assign({storySource:{source:'() => (\n <>\n \n \n \n \n \n)'}},exports.InvalidCombinations.parameters)},"./src/ebay-eek/eek-rating.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js")),classnames_1=__importDefault(__webpack_require__("./node_modules/classnames/index.js")),eek_util_1=__importDefault(__webpack_require__("./src/ebay-eek/eek-util.ts")),ebay_icon_1=__webpack_require__("./src/ebay-icon/index.ts");exports.default=function EbayEek(_a){var _b,_c=_a.min,min=void 0===_c?"":_c,_d=_a.max,max=void 0===_d?"":_d,rating=_a.rating,a11yText=_a.a11yText,extraClasses=_a.className,parsedRating=eek_util_1.default({rating:rating,min:min,max:max}),className=classnames_1.default(extraClasses,"eek",((_b={})["eek--rating-"+parsedRating]=!!parsedRating,_b)),backupA11yText="Energy Rating: "+rating+". Range: "+max+" - "+min+".";return react_1.default.createElement("div",{className:className,role:"figure","aria-label":a11yText||backupA11yText},react_1.default.createElement("div",{className:"eek__container","aria-hidden":!0},react_1.default.createElement("span",{className:"eek__rating-range"},react_1.default.createElement("span",{"aria-hidden":"true"},max),react_1.default.createElement(ebay_icon_1.EbayIcon,{name:"eekRangeArrow"}),react_1.default.createElement("span",{"aria-hidden":"true"},min)),react_1.default.createElement("span",{className:"eek__rating","aria-hidden":"true"},rating)),react_1.default.createElement(ebay_icon_1.EbayIcon,{name:"eekArrow"}))};try{eekrating.displayName="eekrating",eekrating.__docgenInfo={description:"",displayName:"eekrating",props:{rating:{defaultValue:null,description:"",name:"rating",required:!0,type:{name:"string"}},max:{defaultValue:{value:""},description:"",name:"max",required:!1,type:{name:"string"}},min:{defaultValue:{value:""},description:"",name:"min",required:!1,type:{name:"string"}},a11yText:{defaultValue:null,description:"",name:"a11yText",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-eek/eek-rating.tsx#eekrating"]={docgenInfo:eekrating.__docgenInfo,name:"eekrating",path:"src/ebay-eek/eek-rating.tsx#eekrating"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-eek/eek-util.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js");var validRanges={"A+++":["D","E","G"],"A++":["E","G"],"A+":["F","G"],A:["G"]};module.exports=function(input){var max=input.max,min=input.min,rating=input.rating,validMax=validRanges[max];if(!(validMax&&validMax.indexOf(min)>-1))return null;for(var current=max,i=1;current!==rating;){if(i++,min===current)return null;current=current.length>1?current.slice(0,current.length-1):String.fromCharCode(current.charCodeAt(0)+1)}return i>7?7:i}},"./src/ebay-eek/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var eek_rating_1=__webpack_require__("./src/ebay-eek/eek-rating.tsx");Object.defineProperty(exports,"EbayEek",{enumerable:!0,get:function get(){return eek_rating_1.default}}),Object.defineProperty(exports,"EbayEekProps",{enumerable:!0,get:function get(){return eek_rating_1.EbayEekProps}})},"./src/ebay-fake-menu-button/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n action('onExpand')()}\n onCollapse={() => action('onCollapse')()}\n onKeyDown={(e) => action('onKeyDown')(e)}\n onMouseDown={(e, props) => action('onMouseDown')(e, props)}\n onSelect={(e, props) => action('onSelect')(e, props)}\n >\n e.preventDefault()}>\n eBay US\n \n e.preventDefault()}>\n eBay DE\n \n e.preventDefault()}>\n eBay UK\n \n \n \n)"}},exports.Default.parameters),exports.Expanded.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very long text\n item 2\n item 3\n \n \n)'}},exports.Expanded.parameters),exports.Disabled.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very long text\n item 2\n item 3\n \n \n)'}},exports.Disabled.parameters),exports.WithIcon.parameters=__assign({storySource:{source:'() => (\n <>\n \n \n item 1 that has very long text\n item 2\n item 3\n \n \n)'}},exports.WithIcon.parameters),exports.WithoutToggleIcon.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very long text\n item 2\n item 3\n \n \n)'}},exports.WithoutToggleIcon.parameters),exports.Variants.parameters=__assign({storySource:{source:'() => (\n <>\n

Button

\n \n item 1\n item 2\n item 3\n \n\n

Form

\n \n item 1\n item 2\n item 3\n \n\n

Overflow

\n \n item 1\n item 2\n item 3\n \n \n)'}},exports.Variants.parameters),exports.Priorities.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1\n item 2\n item 3\n \n \n item 1\n item 2\n item 3\n \n \n)'}},exports.Priorities.parameters),exports.Borderless.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1\n item 2\n item 3\n \n \n)'}},exports.Borderless.parameters),exports.WithCustomLabel.parameters=__assign({storySource:{source:"() => (\n <>\n \n \n {' '}\n Fun with flags!\n \n item 1\n item 2\n item 3\n \n \n)"}},exports.WithCustomLabel.parameters),exports.WithSeparator.parameters=__assign({storySource:{source:'() => (\n <>\n \n Link 1\n \n Current link\n \n \n Link 3 (disabled)\n Link 4\n Link 5\n \n \n Log in\n \n \n \n)'}},exports.WithSeparator.parameters),exports.FixedWidth.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very very long text\n item 2\n item 3\n \n \n)'}},exports.FixedWidth.parameters),exports.ReverseMenuGrowsToTheLeft.parameters=__assign({storySource:{source:'() => (\n
\n \n item 1 that has very very long text\n item 2\n item 3\n \n
\n)'}},exports.ReverseMenuGrowsToTheLeft.parameters)},"./src/ebay-fake-menu-button/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var menu_button_1=__webpack_require__("./src/ebay-fake-menu-button/menu-button.tsx");Object.defineProperty(exports,"EbayFakeMenuButton",{enumerable:!0,get:function get(){return menu_button_1.default}}),Object.defineProperty(exports,"EbayFakeMenuButtonProps",{enumerable:!0,get:function get(){return menu_button_1.EbayFakeMenuButtonProps}});var menu_button_item_1=__webpack_require__("./src/ebay-fake-menu-button/menu-button-item.tsx");Object.defineProperty(exports,"EbayFakeMenuButtonItem",{enumerable:!0,get:function get(){return menu_button_item_1.default}});var menu_button_separator_1=__webpack_require__("./src/ebay-fake-menu-button/menu-button-separator.tsx");Object.defineProperty(exports,"EbayFakeMenuButtonSeparator",{enumerable:!0,get:function get(){return menu_button_separator_1.default}});var menu_button_label_1=__webpack_require__("./src/ebay-fake-menu-button/menu-button-label.tsx");Object.defineProperty(exports,"EbayFakeMenuButtonLabel",{enumerable:!0,get:function get(){return menu_button_label_1.default}})},"./src/ebay-fake-menu-button/menu-button-item.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var EbayFakeMenuButtonItem=__webpack_require__("./src/ebay-fake-menu/index.ts").EbayFakeMenuItem;exports.default=EbayFakeMenuButtonItem;try{menubuttonitem.displayName="menubuttonitem",menubuttonitem.__docgenInfo={description:"",displayName:"menubuttonitem",props:{current:{defaultValue:null,description:"",name:"current",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-fake-menu-button/menu-button-item.tsx#menubuttonitem"]={docgenInfo:menubuttonitem.__docgenInfo,name:"menubuttonitem",path:"src/ebay-fake-menu-button/menu-button-item.tsx#menubuttonitem"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-fake-menu-button/menu-button-label.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=__importDefault(__webpack_require__("./node_modules/react/index.js"));exports.default=function EbayFakeMenuButtonLabel(_a){var children=_a.children;return react_1.default.createElement(react_1.default.Fragment,null,children)};try{menubuttonlabel.displayName="menubuttonlabel",menubuttonlabel.__docgenInfo={description:"",displayName:"menubuttonlabel",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-fake-menu-button/menu-button-label.tsx#menubuttonlabel"]={docgenInfo:menubuttonlabel.__docgenInfo,name:"menubuttonlabel",path:"src/ebay-fake-menu-button/menu-button-label.tsx#menubuttonlabel"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-fake-menu-button/menu-button-separator.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i) => void) & ((event: MouseEvent) => void) & ((event: MouseEvent<...>) => void)"}},fluid:{defaultValue:null,description:"",name:"fluid",required:!1,type:{name:"boolean"}},partiallyDisabled:{defaultValue:null,description:"",name:"partiallyDisabled",required:!1,type:{name:"boolean"}},truncate:{defaultValue:null,description:"",name:"truncate",required:!1,type:{name:"boolean"}},priority:{defaultValue:null,description:"",name:"priority",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},bodyState:{defaultValue:null,description:"",name:"bodyState",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"expand"'},{value:'"reset"'},{value:'"loading"'}]}},split:{defaultValue:null,description:"",name:"split",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'}]}},transparent:{defaultValue:null,description:"",name:"transparent",required:!1,type:{name:"boolean"}},onEscape:{defaultValue:null,description:"",name:"onEscape",required:!1,type:{name:"(e: KeyboardEvent) => void"}},forwardedRef:{defaultValue:null,description:"",name:"forwardedRef",required:!1,type:{name:"RefObject"}},borderless:{defaultValue:null,description:"",name:"borderless",required:!1,type:{name:"boolean"}},fixedHeight:{defaultValue:null,description:"",name:"fixedHeight",required:!1,type:{name:"boolean"}},a11yText:{defaultValue:null,description:"",name:"a11yText",required:!1,type:{name:"string"}},noToggleIcon:{defaultValue:null,description:"",name:"noToggleIcon",required:!1,type:{name:"boolean"}},expanded:{defaultValue:null,description:"",name:"expanded",required:!1,type:{name:"boolean"}},fixWidth:{defaultValue:null,description:"",name:"fixWidth",required:!1,type:{name:"boolean"}},reverse:{defaultValue:null,description:"",name:"reverse",required:!1,type:{name:"boolean"}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"form"'},{value:'"button"'},{value:'"overflow"'}]}},onCollapse:{defaultValue:{value:"() => {}"},description:"",name:"onCollapse",required:!1,type:{name:"() => void"}},onExpand:{defaultValue:{value:"() => {}"},description:"",name:"onExpand",required:!1,type:{name:"() => void"}},text:{defaultValue:{value:""},description:"",name:"text",required:!1,type:{name:"string"}},onSelect:{defaultValue:{value:"() => {}"},description:"",name:"onSelect",required:!1,type:{name:"BaseEventHandler, { index: number; }>"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"BaseEventHandler, Record>"}},onMouseDown:{defaultValue:{value:"() => {}"},description:"",name:"onMouseDown",required:!1,type:{name:"BaseEventHandler, { index: number; }>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-fake-menu-button/menu-button.tsx#menubutton"]={docgenInfo:menubutton.__docgenInfo,name:"menubutton",path:"src/ebay-fake-menu-button/menu-button.tsx#menubutton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-fake-menu/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n {\n action('click')('MENU click event prevented')\n event.preventDefault()\n }}\n onKeyDown={(event, props) => action('onKeyDown')(event, props)}\n onSelect={(event, props) => {\n action('onSelect')(event, props)\n event.preventDefault()\n }}\n >\n {\n action('click')('ITEM click event prevented')\n event.preventDefault()\n }}\n >\n Item 1 that has very long text\n \n \n Current page\n \n Item 3\n \n \n)"}},exports.Default.parameters),exports.WithoutTickIcon.parameters=__assign({storySource:{source:"() => (\n <>\n {\n action('click')('MENU click event prevented')\n event.preventDefault()\n }}\n onKeyDown={action('key down')}\n onSelect={(event) => {\n action('select')('event prevented')\n event.preventDefault()\n }}\n >\n {\n action('click')('ITEM click event prevented')\n event.preventDefault()\n }}\n >\n Item 1 that has very long text\n \n \n Current page\n \n Item 3\n \n \n)"}},exports.WithoutTickIcon.parameters),exports.WithSeparator.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very long text\n Item 2\n \n Item 3\n Item 4\n Item 5\n \n \n)'}},exports.WithSeparator.parameters),exports.WithDisabledItem.parameters=__assign({storySource:{source:'() => (\n <>\n \n item 1 that has very long text\n Item 2\n Item 3\n \n \n)'}},exports.WithDisabledItem.parameters)},"./src/ebay-fake-menu/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var menu_1=__webpack_require__("./src/ebay-fake-menu/menu.tsx");Object.defineProperty(exports,"EbayFakeMenu",{enumerable:!0,get:function get(){return menu_1.default}});var menu_item_1=__webpack_require__("./src/ebay-fake-menu/menu-item.tsx");Object.defineProperty(exports,"EbayFakeMenuItem",{enumerable:!0,get:function get(){return menu_item_1.default}}),Object.defineProperty(exports,"EbayFakeMenuItemProps",{enumerable:!0,get:function get(){return menu_item_1.EbayFakeMenuItemProps}});var menu_item_separator_1=__webpack_require__("./src/ebay-fake-menu/menu-item-separator.tsx");Object.defineProperty(exports,"EbayFakeMenuSeparator",{enumerable:!0,get:function get(){return menu_item_separator_1.default}})},"./src/ebay-fake-menu/menu-item-separator.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onKeyDown",required:!1,type:{name:"BaseEventHandler, { index: number; }>"}},onSelect:{defaultValue:{value:"() => {}"},description:"",name:"onSelect",required:!1,type:{name:"BaseEventHandler, { index: number; }>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-fake-menu/menu.tsx#menu"]={docgenInfo:menu.__docgenInfo,name:"menu",path:"src/ebay-fake-menu/menu.tsx#menu"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-fake-tabs/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n \n eBay.com\n eBay.de\n eBay.co.uk\n

eBay.com Content

\n

Some US content...

\n
\n \n)'}},exports.DefaultTabs.parameters),exports.PreSelectedTab.parameters=__assign({storySource:{source:'() => (\n <>\n \n eBay.com\n eBay.de\n eBay.co.uk\n

eBay.de Content

\n

Some German content...

\n
\n \n)'}},exports.PreSelectedTab.parameters),exports.TabMatchesCurrentUrlFalse.parameters=__assign({storySource:{source:'() => (\n <>\n \n eBay.com\n eBay.de\n eBay.co.uk\n

eBay.co.uk Content

\n

Some British content...

\n
\n \n)'}},exports.TabMatchesCurrentUrlFalse.parameters)},"./src/ebay-fake-tabs/fake-tabs.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n
\n \n Label 1\n \n \n \n Label 1\n \n \n \n Label 1\n \n \n
\n)'}},exports.DefaultInline.parameters),exports.Block.parameters=__assign({storySource:{source:'() => (\n
\n \n Label 1\n \n \n \n Label 1\n \n \n \n Label 1\n \n \n
\n)'}},exports.Block.parameters),exports.BlockAndInlineCombination.parameters=__assign({storySource:{source:'() => (\n
\n \n Label 1\n \n \n \n Label 2\n \n \n \n Label 3\n \n \n \n Label 4\n \n \n \n Label 5\n \n \n
\n)'}},exports.BlockAndInlineCombination.parameters),exports.Required.parameters=__assign({storySource:{source:'() => (\n
\n \n Label 1\n \n \n \n Label 1\n \n \n \n Label 1\n \n \n
\n)'}},exports.Required.parameters),exports.WithDescription.parameters=__assign({storySource:{source:'() => (\n
\n \n \n Label 1\n \n \n Some description Text\n \n \n Label 2\n \n Some description Text\n \n \n Label 3\n \n Some description Text\n \n \n \n Label 4\n \n \n \n Some description Text\n \n \n
\n)'}},exports.WithDescription.parameters),exports.LabelsOnTheRight.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n \n Label 1\n \n

\n

\n \n \n Label 1\n \n

\n

\n \n \n Label 1\n \n

\n \n)'}},exports.LabelsOnTheRight.parameters)},"./src/ebay-field/description.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {\n const [open, setOpen] = useState(false);\n return (\n
\n \n

Some outside content...

\n action(\'onOpen\')()}\n onClose={() => {\n action(\'onClose\')()\n setOpen(false)\n }}\n a11yCloseText="Close"\n >\n Heading\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

www.ebay.com

\n \n
\n );\n}'}},exports._Default.parameters),exports._AlwaysOpened.parameters=__assign({storySource:{source:'() => (\n
\n

Some outside content...

\n \n Heading\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

www.ebay.com

\n ©2021 eBay\n
\n
\n)'}},exports._AlwaysOpened.parameters),exports._WithAnimation.parameters=__assign({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n return (\n
\n \n

Some outside content...

\n setOpen(false)} animated a11yCloseText="Close">\n Heading\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\n

www.ebay.com

\n
\n
\n );\n}'}},exports._WithAnimation.parameters)},"./src/ebay-fullscreen-dialog/fullscreen-dialog.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i {}"},description:"",name:"onClose",required:!1,type:{name:"() => void"}},baseEl:{defaultValue:null,description:"",name:"baseEl",required:!1,type:{name:"enum",value:[{value:'"span"'},{value:'"div"'},{value:'"aside"'}]}},classPrefix:{defaultValue:null,description:"",name:"classPrefix",required:!1,type:{name:"enum",value:[{value:'"fullscreen-dialog"'},{value:'"lightbox-dialog"'},{value:'"panel-dialog"'},{value:'"drawer-dialog"'},{value:'"toast-dialog"'},{value:'"alert-dialog"'},{value:'"confirm-dialog"'},{value:'"snackbar-dialog"'}]}},windowClass:{defaultValue:null,description:"",name:"windowClass",required:!1,type:{name:"string"}},windowType:{defaultValue:null,description:"",name:"windowType",required:!1,type:{name:'"compact"'}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},actions:{defaultValue:null,description:"",name:"actions",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},isModal:{defaultValue:null,description:"",name:"isModal",required:!1,type:{name:"boolean"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},buttonPosition:{defaultValue:null,description:"",name:"buttonPosition",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"hidden"'},{value:'"right"'},{value:'"bottom"'},{value:'"left"'}]}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},a11yCloseText:{defaultValue:null,description:"",name:"a11yCloseText",required:!1,type:{name:"string"}},onOpen:{defaultValue:null,description:"",name:"onOpen",required:!1,type:{name:"() => void"}},onCloseBtnClick:{defaultValue:null,description:"",name:"onCloseBtnClick",required:!1,type:{name:"((event: MouseEvent) => void) & ((event: KeyboardEvent) => void)"}},onBackgroundClick:{defaultValue:null,description:"",name:"onBackgroundClick",required:!1,type:{name:"(event: MouseEvent) => void"}},mainId:{defaultValue:null,description:"",name:"mainId",required:!1,type:{name:"string"}},ignoreEscape:{defaultValue:null,description:"",name:"ignoreEscape",required:!1,type:{name:"boolean"}},closeButton:{defaultValue:null,description:"",name:"closeButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},previousButton:{defaultValue:null,description:"",name:"previousButton",required:!1,type:{name:"ReactElement ReactElement) | (new (props: any) => Component)>"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"RefObject"}},animated:{defaultValue:null,description:"",name:"animated",required:!1,type:{name:"boolean"}},closeButtonClass:{defaultValue:null,description:"",name:"closeButtonClass",required:!1,type:{name:"string"}},transitionElement:{defaultValue:null,description:"",name:"transitionElement",required:!1,type:{name:"enum",value:[{value:'"window"'},{value:'"root"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-fullscreen-dialog/fullscreen-dialog.tsx#fullscreendialog"]={docgenInfo:fullscreendialog.__docgenInfo,name:"fullscreendialog",path:"src/ebay-fullscreen-dialog/fullscreen-dialog.tsx#fullscreendialog"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-fullscreen-dialog/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var fullscreen_dialog_1=__webpack_require__("./src/ebay-fullscreen-dialog/fullscreen-dialog.tsx");Object.defineProperty(exports,"EbayFullscreenDialog",{enumerable:!0,get:function get(){return fullscreen_dialog_1.default}})},"./src/ebay-icon-button/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n <>\n

\n action(\'onClick\')(e)}\n onFocus={(e: React.FocusEvent) => action(\'onFocus\')(e)}\n onBlur={(e: React.FocusEvent) => action(\'onBlur\')(e)}\n onEscape={(e: React.KeyboardEvent) => action(\'onEscape\')(e)}\n icon="menu20"\n aria-label="Menu"\n />\n

\n

\n \n

\n \n)'}},exports.Default.parameters),exports.WithBadges.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n

\n

\n \n

\n

\n \n

\n \n)'}},exports.WithBadges.parameters),exports.Transparent.parameters=__assign({storySource:{source:'() => (\n <>\n

\n \n

\n \n)'}},exports.Transparent.parameters)},"./src/ebay-icon-button/icon-button.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i"}},onEscape:{defaultValue:{value:"() => {}"},description:"",name:"onEscape",required:!1,type:{name:"BaseEventHandler, Record>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/ebay-icon-button/icon-button.tsx#EbayIconButton"]={docgenInfo:EbayIconButton.__docgenInfo,name:"EbayIconButton",path:"src/ebay-icon-button/icon-button.tsx#EbayIconButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/ebay-icon-button/index.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0});var icon_button_1=__webpack_require__("./src/ebay-icon-button/icon-button.tsx");Object.defineProperty(exports,"EbayIconButton",{enumerable:!0,get:function get(){return icon_button_1.default}}),Object.defineProperty(exports,"EbayIconButtonProps",{enumerable:!0,get:function get(){return icon_button_1.EbayIconButtonProps}})},"./src/ebay-icon/__tests__/constants.ts":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.icons=void 0,exports.icons=["add16","add24","addImage24","afterpay12Colored","afterpay18Colored","afterpay24Colored","afterpay32Colored","amex12Colored","amex18Colored","amex24Colored","amex32Colored","applePay12Colored","applePay18Colored","applePay24Colored","applePay32Colored","archive16","archive24","arrowLeft12","arrowLeft16","arrowLeft20","arrowLeft24","arrowRight12","arrowRight16","arrowRight20","arrowRight24","arrowTitle20","arrows3d16","arrows3d24","arrows3dFilled64Colored","article16","article24","attention16","attention24","attention64","attentionFilled16","attentionFilled24","atv16","atv24","audioHigh16","audioLow16","audioOff16","authenticityGuarantee16","authenticityGuarantee16Fit","authenticityGuarantee24","authenticityGuarantee24Fit","autoAdjust24","avatarSignedOut","bag24","bank24","bank64","bankAccount12Colored","bankAccount18Colored","bankAccount24Colored","bankAccount32Colored","bids24","bids64","boat16","boat24","book16","book24","bookmark16","bookmark24","brandAuthorizedSeller16","brandAuthorizedSeller16Fit","brandAuthorizedSeller24","brandAuthorizedSeller24Fit","brightness24","calendar16","calendar24","calendar64","camera16","camera24","camera64","car16","car24","carryon24","cart16","cart20","cart24","cart64","categories16","categories24","cb12Colored","cb18Colored","cb24Colored","cb32Colored","certifiedRecycled16","certifiedRecycled16Fit","certifiedRecycled24","certifiedRecycled24Fit","chair16","chair24","chat16","chat24","chat64","checkIn24","checkboxChecked18","checkboxChecked24","checkboxMixed18","checkboxMixed24","checkboxUnchecked18","checkboxUnchecked24","checkmark24","chevronDown12","chevronDown16","chevronDown24","chevronLeft12","chevronLeft16","chevronLeft20","chevronLeft24","chevronRight12","chevronRight16","chevronRight24","chevronUp12","chevronUp16","chevronUp24","clear16","clear24","clickToCall16","clickToCall16Fit","clickToCall24Fit","clock16","clock24","close16","close20","close24","closedCaption16","closedCaptionFilled16","coin24","collections16","collections24","condensedGrid24","condensedGridFilled24","confirmation16","confirmation24","confirmation64","confirmationFilled16","confirmationFilled24","contract16","contrast24","copy16","copy24","creditCard16","creditCard24","creditCard64","crop24","currencyDollar16","currencyDollar24","currencyEuro16","currencyEuro24","currencyFranc16","currencyFranc24","currencyKrona16","currencyKrona24","currencyPeso16","currencyPeso24","currencyPound16","currencyPound24","currencyRinggit16","currencyRinggit24","currencyRupee16","currencyRupee24","currencyWon16","currencyWon24","currencyYuan16","currencyYuan24","currencyZloty16","currencyZloty24","customize16","customize24","delete16","delete20","delete24","diamond16","diamond24","diners12Colored","diners18Colored","diners24Colored","diners32Colored","directDebit12Colored","directDebit18Colored","directDebit24Colored","directDebit32Colored","directFromBrand16","directFromBrand16Fit","directFromBrand24","directFromBrand24Fit","discord24","discount16","discount24","discover12Colored","discover18Colored","discover24Colored","discover32Colored","dollar16","dollar24","download16","download24","ebayBalance12Colored","ebayBalance18Colored","ebayBalance24Colored","ebayBalance32Colored","ebayBucks16Colored","ebayBucksLogo16Colored","ebayForCharity16Fit","ebayForCharity24Fit","ebayInternationalShipping16","ebayInternationalShipping16Fit","ebayInternationalShipping24","ebayInternationalShipping24Fit","ebayLive16","ebayLive24","ebayMastercard12Colored","ebayMastercard18Colored","ebayMastercard24Colored","ebayMastercard32Colored","ebayMoneyBackGuaranteeLogo16Colored","ebayPlus16Fit","ebayPlus24Fit","ebayPlusLogo16Colored","ebayPreloved16","ebayPreloved24","ebayRefurbished16","ebayRefurbished16Fit","ebayRefurbished24","ebayRefurbished24Fit","eekArrow","eekRangeArrow","escrow16Fit","escrow24Fit","escrowCard12Colored","escrowCard18Colored","escrowCard24Colored","escrowCard32Colored","euro16","euro24","expand16","externalLink16","externalLink24","faceHappiest24","faceHappy24","faceNeutral24","faceSad24","faceSaddest24","facebook24","facebookMessenger24","fastAndFree16","fastAndFree24","file16","file24","filter16","filter24","fingerprint24","fingerprint64","flag16","flag24","flagFilled16","flagFilled24","flash24","flashAuto24","flashOff24","folder16","folder24","franc16","franc24","freeWarranty16","freeWarranty16Fit","freeWarranty24Fit","fullView16","fullView24","fullViewFilled16","fullViewFilled24","gallery16","gallery24","generalCard12Colored","generalCard18Colored","generalCard24Colored","generalCard32Colored","genericCard12Colored","genericCard18Colored","genericCard24Colored","genericCard32Colored","gift16","gift24","gift64","giftCard12Colored","giftCard18Colored","giftCard24Colored","giftCard32Colored","glasses24","glasses64","googlePay12Colored","googlePay18Colored","googlePay24Colored","googlePay32Colored","gridView16","gridView24","gridViewFilled16","gridViewFilled24","handbag16","handbag24","hanger16","hanger24","headphone16","headphone24","help16","help20","help24","helpOutline16","helpOutline24","hide16","hide24","history24","history64","home24","homeFilled24","image16","image24","image64","inbox16","inbox24","information16","information24","informationFilled16","informationFilled24","inspect16","inspect24","instagram24","jcb12Colored","jcb18Colored","jcb24Colored","jcb32Colored","jetSki16","jetSki24","key16","key24","keyboard16","keyboard24","klarnaBlack12Colored","klarnaBlack18Colored","klarnaBlack24Colored","klarnaBlack32Colored","klarnaPink12Colored","klarnaPink18Colored","klarnaPink24Colored","klarnaPink32Colored","klarnaWhite12Colored","klarnaWhite18Colored","klarnaWhite24Colored","klarnaWhite32Colored","krona16","krona24","lamp16","lamp24","largeBox24","legacyAuthenticityGuarantee48Colored","legacyClickToCall48Colored","legacyEscrow48Colored","legacyFreeWarranty48Colored","legacyMoneyBackGuaranteeChf48Colored","legacyMoneyBackGuaranteeEu48Colored","legacyMoneyBackGuaranteeUk48Colored","legacyMoneyBackGuaranteeUs48Colored","legacyMoneyBackGuaranteeZl48Colored","legacyTopRatedSeller48Colored","lightbulb16","lightbulb24","lightningBolt16","lightningBolt24","link24","linkedin24","listView16","listView24","listViewFilled16","listViewFilled24","liveEye16","liveEye24","location16","location24","location64","locked16","locked24","maestro12Colored","maestro18Colored","maestro24Colored","maestro32Colored","mail16","mail24","mail64","mailMove16","mailMove24","mailOpen16","mailOpen24","mailUnread16","mailUnread24","masonryView24","masonryViewFilled24","mastercard12Colored","mastercard18Colored","mastercard24Colored","mastercard32Colored","mediumBox24","menu20","menu24","microphone16","microphone24","mobile24","mobileSignal24","moneyBackGuarantee16Fit","moneyBackGuarantee24Fit","motorcycle16","motorcycle24","move16","move24","nectar24Colored","nectarLogo24Colored","negativeFilled16","negativeFilled24","neutral16","neutral24","notification16","notification20","notification24","notification64","notificationFilled24","onTheWay16","onTheWay24","overflowHorizontal16","overflowHorizontal20","overflowHorizontal24","overflowVertical16","overflowVertical20","overflowVertical24","package16","package24","package64","pause16","pause24","pause64Colored","pauseFilled64Colored","payoneer12Colored","payoneer18Colored","payoneer24Colored","payoneer32Colored","paypal12Colored","paypal18Colored","paypal24Colored","paypal32Colored","paypalCredit12Colored","paypalCredit18Colored","paypalCredit24Colored","paypalCredit32Colored","paypalDisabled12Colored","paypalDisabled18Colored","paypalDisabled24Colored","paypalDisabled32Colored","pencil16","pencil20","pencil24","peso16","peso24","phone16","phone24","pin24","pinFilled24","pinterest24","play16","play24","play64Colored","playFilled16","playFilled16Colored","playFilled24","playFilled24Colored","playFilled64Colored","postepay12Colored","postepay18Colored","postepay24Colored","postepay32Colored","pound16","pound24","print24","profile20","profile24","profileFilled24","progressCurrent24","progressUpcoming24","promotion16","promotion24","qrCode16","qrCode24","radioChecked18","radioChecked24","radioUnchecked18","radioUnchecked24","recoveryCode16","recoveryCode24","reddit24","refresh16","refresh24","relaxedGrid24","relaxedGridFilled24","remove16","remove24","reply16","reply24","return16","return24","rim16","rim24","ringgit16","ringgit24","rotate24","rotateLandscapeLeft","rotateLandscapeLeft24","rotateLandscapeRight","rotateLandscapeRight24","rotatePortraitLeft","rotatePortraitLeft24","rotatePortraitRight","rotatePortraitRight24","rupee16","rupee24","satchel24","save16","save20","save24","saveFilled16","saveFilled20","saveFilled24","scan16","scan24","search16","search20","search24","search64","searchFilled24","searchSimilar16","searchSimilar20","searchSimilar24","securityKey24","selectAll24","selling16","selling20","selling24","sellingFilled24","send24","settings16","settings20","settings24","shareAndroid16","shareAndroid20","shareAndroid24","shareIos16","shareIos20","shareIos24","sharpen24","shoeBox24","show16","show24","smallBox24","smallLetter24","sneaker16","sneaker24","snowmobile16","snowmobile24","socialDiscord24","socialFacebook24","socialFacebookMessenger24","socialInstagram24","socialLink24","socialLinkedin24","socialPinterest24","socialReddit24","socialTwitter24","socialWhatsapp24","sort12","sort24","sortDown12","sortUp12","sparklineDown16","sparklineDown20","sparklineDown24","sparklineUp16","sparklineUp20","sparklineUp24","spinner20","spinner24","spinner30","splitView24","splitViewFilled24","starDynamic","starEmpty16","starEmpty24","starFilled16","starFilled24","starHalf16Colored","starHalf24Colored","starHalfDark16Colored","starHalfDark24Colored","stepperAttention24","stepperConfirmation24","stepperCurrent24","stepperUpcoming24","store16","store24","store64","suitcase24","support24","switchCamera24","textMessaging16","textMessaging24","textMessaging64","theEbayVault16Fit","theEbayVault24Fit","thumbDown16","thumbDown24","thumbDownFilled16","thumbDownFilled24","thumbUp16","thumbUp24","thumbUp64","thumbUpFilled16","thumbUpFilled24","tick16","tick24","topRatedSeller16","topRatedSeller16Fit","topRatedSeller24Fit","tradingCard16","tradingCard24","transaction24","trendDown16","trendDown16Fit","trendUp16","trendUp16Fit","trophy16","trophy24","twitter24","undo16","undo24","unionpay12Colored","unionpay18Colored","unionpay24Colored","unionpay32Colored","unlocked16","unlocked24","unselectAll24","upload16","upload24","verifiedCondition16Fit","verifiedCondition24Fit","video24","visa12Colored","visa18Colored","visa24Colored","visa32Colored","wallet24","wallet64","walletBalance12Colored","walletBalance18Colored","walletBalance24Colored","walletBalance32Colored","watch16","watch24","whatsapp24","won16","won24","wrench16","wrench24","yuan16","yuan24","zloty16","zloty24","zoomIn16","zoomIn24","zoomOut16","zoomOut24"]},"./src/ebay-icon/__tests__/index.stories.tsx":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i (\n \n {icons.map((icon, i) =>\n \n \n \n \n )}\n
{icon}\n \n
\n)"}},exports.AllIcons.parameters),exports.CustomColor.parameters=__assign({storySource:{source:'() => (\n
\n