From 8d4e1c3ed6577913eea7e8fecbd096eb329926b3 Mon Sep 17 00:00:00 2001 From: Jason Rundell Date: Mon, 9 Aug 2021 21:39:45 -0400 Subject: [PATCH] Build --- dist/index.js.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js.map b/dist/index.js.map index 6de5ddd..f0ca019 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["../node_modules/object-assign/index.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","utils/css.js","components/TopBar/index.jsx","components/TopBarTitle/index.jsx","components/Hamburger/index.jsx","components/Nav/index.jsx","components/MainList/index.jsx","components/MegaList/index.jsx","components/MainNavItem/index.jsx","components/MainNavItemLink/index.jsx","components/NavItem/index.jsx","components/NavItemLink/index.jsx","components/NavList/index.jsx","components/NavItemDescription/index.jsx","state-machines/menus.js","index.jsx"],"names":["getOwnPropertySymbols","Object","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","toObject","val","undefined","TypeError","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","order2","map","n","join","test3","split","forEach","letter","keys","err","module","exports","target","source","from","to","symbols","s","arguments","length","key","call","l","require","p","Fragment","StrictMode","Profiler","q","r","t","Suspense","u","v","Symbol","for","w","x","iterator","y","a","z","b","c","encodeURIComponent","A","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","B","C","props","context","refs","updater","isReactComponent","setState","Error","forceUpdate","D","E","F","constructor","isPureReactComponent","G","current","H","I","ref","__self","__source","J","e","d","k","h","g","children","f","Array","m","defaultProps","$$typeof","type","_owner","K","L","escape","replace","M","N","toString","O","isArray","push","next","done","value","P","Q","_status","_result","then","default","R","S","T","ReactCurrentDispatcher","ReactCurrentBatchConfig","transition","ReactCurrentOwner","IsSomeRendererActing","Children","apply","count","toArray","only","Component","PureComponent","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_payload","_init","memo","compare","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","version","ReactIs","throwOnDirectAccess","isElement","classNames","classes","filter","Boolean","TopBar","id","className","rootClasses","propTypes","PropTypes","string","node","isRequired","TopBarTitle","Hamburger","label","state","onClick","oneOf","func","Nav","ariaLabel","activeState","MainList","MegaList","MainNavItem","role","isHeading","isChildren","isForward","hasChildren","bool","MainNavItemLink","href","isBack","isActive","onKeyDown","ariaHaspopup","ariaControls","NavItem","NavItemLink","NavList","isSub","isSubSub","isDropdown","ariaLabelledby","NavItemDescription","MenuStateMachine","validStates","defaultState","stateChangedTo","includes","Menu","megaMenuState","setMegaMenuState","subMenuState","setSubMenuState","subSubMenuState","setSubSubMenuState","activeMenus","setActiveMenus","isMobile","setIsMobile","wrapperRef","viewportLarge","resetMenus","useOutsideAlerter","handleClickOutside","contains","document","addEventListener","removeEventListener","updateActiveMenus","menuId","item","toggleMegaMenu","preventDefault","nextState","toggleSubMenu","toggleSubSubMenu","window","innerWidth","escFunction","keyCode","a11yClick","code","charCode","LogoImage"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;;AACA,IAAIA,qBAAqB,GAAGC,MAAM,CAACD,qBAAnC;AACA,IAAIE,cAAc,GAAGD,MAAM,CAACE,SAAP,CAAiBD,cAAtC;AACA,IAAIE,gBAAgB,GAAGH,MAAM,CAACE,SAAP,CAAiBE,oBAAxC;;AAEA,SAASC,Q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A7B,EAA2C;AACzC9I,EAAAA,MAAM,CAACC,OAAP,GAAiBY,OAAO,CAAC,+BAAD,CAAxB;AACD,CAFD,MAEO;AACLb,EAAAA,MAAM,CAACC,OAAP,GAAiBY,OAAO,CAAC,4BAAD,CAAxB;AACD;;ACND;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AAEA,IAAI,iBAAyB,YAA7B,EAA2C;AACzC,MAAIkI,OAAO,GAAGlI,OAAO,CAAC,UAAD,CAArB,CADyC,CAGzC;AACA;;;AACA,MAAImI,mBAAmB,GAAG,IAA1B;AACAhJ,EAAAA,MAAM,CAACC,OAAP,GAAiBY,OAAO,CAAC,2BAAD,CAAP,CAAqCkI,OAAO,CAACE,SAA7C,EAAwDD,mBAAxD,CAAjB;AACD,CAPD,MAOO;AACL;AACA;AACAhJ,EAAAA,MAAM,CAACC,OAAP,GAAiBY,OAAO,CAAC,4BAAD,CAAP,EAAjB;AACD;;;;;;;;;AClBM,SAASqI,UAAT,GAAgC;AAAA,oCAATC,OAAS;AAATA,IAAAA,OAAS;AAAA;;AACrC,SAAOA,OAAO,CAACC,MAAR,CAAeC,OAAf,EAAwB5J,IAAxB,CAA6B,GAA7B,CAAP;AACD;;;;;;;;;ACFD;;AACA;;AAGA;;;;AADA;AAGA,IAAM6J,MAAM,GAAG,SAATA,MAAS,OAAiC;AAAA,MAA9BC,EAA8B,QAA9BA,EAA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AAD;AACE,IAAA,EAAE,EAAC,sCADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,yBADF,CArDF,eA8DE,6BAAC,gBAAD;AAAS,IAAA,EAAE,EAAC,iCAAZ;AAA8C,IAAA,IAAI,EAAC;AAAnD,kBACE,6BAAC,oBAAD;AACE,IAAA,EAAE,EAAC,sCADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,yBADF,CA9DF,eAuEE,6BAAC,gBAAD;AAAS,IAAA,EAAE,EAAC,iCAAZ;AAA8C,IAAA,IAAI,EAAC;AAAnD,kBACE,6BAAC,oBAAD;AACE,IAAA,EAAE,EAAC,sCADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,yBADF,CAvEF,eAgFE,6BAAC,gBAAD;AAAS,IAAA,EAAE,EAAC,iCAAZ;AAA8C,IAAA,IAAI,EAAC;AAAnD,kBACE,6BAAC,oBAAD;AACE,IAAA,EAAE,EAAC,sCADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,yBADF,CAhFF,CAxBF,CApJF,CAhBF,CAPF,eAgSE,6BAAC,oBAAD;AAAa,IAAA,EAAE,EAAC,aAAhB;AAA8B,IAAA,IAAI,EAAC;AAAnC,kBACE,6BAAC,wBAAD;AACE,IAAA,EAAE,EAAC,kBADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,eADF,CAhSF,CALF,CAfF,CADF;AAkUD,CAjcD;;eAmceuI","file":"index.js","sourceRoot":"..\\src","sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/** @license React v17.0.2\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=require(\"object-assign\"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;\nif(\"function\"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w(\"react.element\");p=w(\"react.portal\");exports.Fragment=w(\"react.fragment\");exports.StrictMode=w(\"react.strict_mode\");exports.Profiler=w(\"react.profiler\");q=w(\"react.provider\");r=w(\"react.context\");t=w(\"react.forward_ref\");exports.Suspense=w(\"react.suspense\");u=w(\"react.memo\");v=w(\"react.lazy\")}var x=\"function\"===typeof Symbol&&Symbol.iterator;\nfunction y(a){if(null===a||\"object\"!==typeof a)return null;a=x&&a[x]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function z(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c {\r\n const rootClasses = classNames('rmm__top-bar', className && className)\r\n\r\n return (\r\n
\r\n {children}\r\n
\r\n )\r\n}\r\n\r\nTopBar.defaultProps = {\r\n id: 'top',\r\n}\r\n\r\nTopBar.propTypes = {\r\n id: PropTypes.string,\r\n className: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default TopBar\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst TopBarTitle = ({ id, className, children }) => {\r\n const rootClasses = classNames('rmm__top-bar-title', className && className)\r\n\r\n return (\r\n

\r\n {children}\r\n

\r\n )\r\n}\r\n\r\nTopBarTitle.propTypes = {\r\n id: PropTypes.string,\r\n className: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default TopBarTitle\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst Hamburger = ({ label, state, onClick }) => {\r\n if (state === '') {\r\n state = 'rmm__hamburger--closed'\r\n } else if (state === 'open') {\r\n state = 'rmm__hamburger--open'\r\n }\r\n return (\r\n \r\n )\r\n}\r\n\r\nHamburger.defaultProps = { label: null }\r\nHamburger.propTypes = {\r\n label: PropTypes.string,\r\n state: PropTypes.oneOf(['', 'open', 'closed']),\r\n onClick: PropTypes.func,\r\n}\r\n\r\nexport default Hamburger\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst Nav = ({ id, ariaLabel, activeState, children }) => {\r\n const rootClasses = classNames(\r\n 'rmm__nav',\r\n activeState && `rmm__nav--${activeState}`\r\n )\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nNav.defaultProps = {\r\n ariaLabel: 'Main Navigation',\r\n activeState: '',\r\n}\r\n\r\nNav.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n ariaLabel: PropTypes.string.isRequired,\r\n activeState: PropTypes.oneOf(['', 'open', 'closed']).isRequired,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default Nav\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst MainList = ({ id, children, ariaLabel }) => {\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nMainList.defaultProps = {\r\n ariaLabel: 'Main menu',\r\n}\r\n\r\nMainList.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n children: PropTypes.node.isRequired,\r\n ariaLabel: PropTypes.string.isRequired,\r\n}\r\n\r\nexport default MainList\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst MegaList = ({ id, activeState, children }) => {\r\n const rootClasses = classNames(\r\n 'rmm__mega-list',\r\n activeState && `rmm__mega-list--${activeState}`\r\n )\r\n return (\r\n
    \r\n {children}\r\n
\r\n )\r\n}\r\n\r\nMegaList.defaultProps = {\r\n activeState: '',\r\n}\r\n\r\nMegaList.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n activeState: PropTypes.oneOf(['open', 'closed']).isRequired,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default MegaList\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst MainNavItem = ({\r\n id,\r\n role,\r\n isHeading,\r\n isChildren,\r\n isForward,\r\n className,\r\n children,\r\n}) => {\r\n const rootClasses = classNames(\r\n 'rmm__main-nav-item',\r\n isHeading && 'rmm__main-nav-item--heading',\r\n isChildren && 'rmm__main-nav-item--children',\r\n isForward && 'rmm__main-nav-item--forward',\r\n className && className\r\n )\r\n return (\r\n
  • \r\n {children}\r\n
  • \r\n )\r\n}\r\n\r\nMainNavItem.defaultProps = {\r\n role: 'none',\r\n isHeading: false,\r\n hasChildren: false,\r\n isForward: false,\r\n}\r\n\r\nMainNavItem.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n role: PropTypes.string,\r\n isHeading: PropTypes.bool,\r\n isChildren: PropTypes.bool,\r\n isForward: PropTypes.bool,\r\n className: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default MainNavItem\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst MainNavItemLink = ({\r\n id,\r\n role,\r\n href,\r\n isBack,\r\n isForward,\r\n isActive,\r\n className,\r\n onClick,\r\n onKeyDown,\r\n ariaHaspopup,\r\n ariaControls,\r\n children,\r\n}) => {\r\n const rootClasses = classNames(\r\n 'rmm__main-nav-item-link',\r\n isBack && 'rmm__main-nav-item-link--back',\r\n isForward && 'rmm__main-nav-item-link--forward',\r\n isActive && 'rmm__main-nav-item-link--active',\r\n className && className\r\n )\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nMainNavItemLink.defaultProps = {\r\n role: 'menuitem',\r\n isBack: false,\r\n isForward: false,\r\n isActive: false,\r\n}\r\n\r\nMainNavItemLink.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n role: PropTypes.string,\r\n href: PropTypes.string.isRequired,\r\n isBack: PropTypes.bool,\r\n isForward: PropTypes.bool,\r\n isActive: PropTypes.bool,\r\n className: PropTypes.string,\r\n onClick: PropTypes.func,\r\n onKeyDown: PropTypes.func,\r\n ariaHaspopup: PropTypes.string,\r\n ariaControls: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default MainNavItemLink\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst NavItem = ({ id, role, isHeading, isForward, className, children }) => {\r\n const rootClasses = classNames(\r\n 'rmm__nav-item',\r\n isHeading && 'rmm__nav-item--heading',\r\n isForward && 'rmm__nav-item--forward',\r\n className && className\r\n )\r\n return (\r\n
  • \r\n {children}\r\n
  • \r\n )\r\n}\r\n\r\nNavItem.defaultProps = {\r\n role: 'none',\r\n isHeading: false,\r\n hasChildren: false,\r\n isForward: false,\r\n}\r\n\r\nNavItem.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n role: PropTypes.string,\r\n isHeading: PropTypes.bool,\r\n isForward: PropTypes.bool,\r\n className: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default NavItem\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst NavItemLink = ({\r\n id,\r\n role,\r\n href,\r\n isBack,\r\n isHeading,\r\n isForward,\r\n isActive,\r\n className,\r\n onClick,\r\n onKeyDown,\r\n ariaHaspopup,\r\n ariaControls,\r\n children,\r\n}) => {\r\n const rootClasses = classNames(\r\n 'rmm__nav-item-link',\r\n isBack && 'rmm__nav-item-link--back',\r\n isHeading && 'rmm__nav-item-link--heading',\r\n isForward && 'rmm__nav-item-link--forward',\r\n isActive && 'rmm__nav-item-link--active',\r\n className && className\r\n )\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nNavItemLink.defaultProps = {\r\n role: 'menuitem',\r\n isBack: false,\r\n isHeading: false,\r\n isForward: false,\r\n isActive: false,\r\n}\r\n\r\nNavItemLink.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n role: PropTypes.string,\r\n href: PropTypes.string.isRequired,\r\n isBack: PropTypes.bool,\r\n isHeading: PropTypes.bool,\r\n isForward: PropTypes.bool,\r\n isActive: PropTypes.bool,\r\n className: PropTypes.string,\r\n onClick: PropTypes.func,\r\n onKeyDown: PropTypes.func,\r\n ariaHaspopup: PropTypes.string,\r\n ariaControls: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default NavItemLink\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst NavList = ({\r\n id,\r\n role,\r\n isSub,\r\n isSubSub,\r\n isDropdown,\r\n activeState,\r\n ariaLabelledby,\r\n children,\r\n}) => {\r\n const rootClasses = classNames(\r\n 'rmm__nav-list',\r\n `rmm__nav-list--${activeState}`,\r\n isSub && 'rmm__nav-list--sub',\r\n isSubSub && 'rmm__nav-list--sub-sub',\r\n isDropdown && 'rmm__nav-list--dropdown'\r\n )\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nNavList.defaultProps = {\r\n role: 'menubar',\r\n isSub: false,\r\n isSubSub: false,\r\n isDropdown: false,\r\n activeState: '',\r\n}\r\n\r\nNavList.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n role: PropTypes.string,\r\n isSub: PropTypes.bool,\r\n isSubSub: PropTypes.bool,\r\n isDropdown: PropTypes.bool,\r\n activeState: PropTypes.oneOf(['', 'open', 'closed']).isRequired,\r\n ariaLabelledby: PropTypes.string.isRequired,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default NavList\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\n// Utils\r\nimport { classNames } from '../../utils/css'\r\n\r\nconst NavItemDescription = ({ className, children }) => {\r\n const rootClasses = classNames(\r\n 'rmm__nav-item-description',\r\n className && className\r\n )\r\n return

    {children}

    \r\n}\r\n\r\nNavItemDescription.propTypes = {\r\n className: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default NavItemDescription\r\n","const MenuStateMachine = (state) => {\r\n const validStates = ['closed', 'open']\r\n const defaultState = 'open'\r\n let stateChangedTo = defaultState\r\n\r\n if (validStates.includes(state)) {\r\n switch (state) {\r\n case validStates[0]:\r\n stateChangedTo = validStates[1]\r\n break\r\n case validStates[1]:\r\n stateChangedTo = validStates[0]\r\n break\r\n default:\r\n stateChangedTo = validStates[0]\r\n }\r\n }\r\n return stateChangedTo\r\n}\r\n\r\nexport { MenuStateMachine }\r\n","import React, { useRef, useState, useEffect } from 'react'\r\n\r\n// Components\r\nimport TopBar from './components/TopBar'\r\n// import Logo from './components/Logo'\r\nimport TopBarTitle from './components/TopBarTitle'\r\nimport Hamburger from './components/Hamburger'\r\nimport Nav from './components/Nav'\r\nimport MainList from './components/MainList'\r\nimport MegaList from './components/MegaList'\r\nimport MainNavItem from './components/MainNavItem'\r\nimport MainNavItemLink from './components/MainNavItemLink'\r\nimport NavItem from './components/NavItem'\r\nimport NavItemLink from './components/NavItemLink'\r\nimport NavList from './components/NavList'\r\nimport NavItemDescription from './components/NavItemDescription'\r\n\r\n// State Machines\r\nimport { MenuStateMachine } from './state-machines/menus'\r\n\r\n// Images\r\n// import LogoImage from './images/logos/logo.svg'\r\n\r\nconst Menu = () => {\r\n const [megaMenuState, setMegaMenuState] = useState('')\r\n const [subMenuState, setSubMenuState] = useState('')\r\n const [subSubMenuState, setSubSubMenuState] = useState('')\r\n const [activeMenus, setActiveMenus] = useState([]) // array that captures the ids of active menus\r\n const [isMobile, setIsMobile] = useState(true) // array that captures the ids of active menus\r\n const wrapperRef = useRef(null) // used to detect clicks outside of component\r\n\r\n const viewportLarge = 1024\r\n\r\n const resetMenus = () => {\r\n // close all menus and empty activeMenus array\r\n setActiveMenus([])\r\n setSubMenuState('closed')\r\n setSubSubMenuState('closed')\r\n }\r\n\r\n const useOutsideAlerter = (ref) => {\r\n useEffect(() => {\r\n // Reset menu if clicked on outside of element\r\n const handleClickOutside = (e) => {\r\n if (ref.current && !ref.current.contains(e.target)) {\r\n resetMenus()\r\n }\r\n }\r\n\r\n // Bind the event listener to both mouse and key events\r\n document.addEventListener('mousedown', handleClickOutside)\r\n document.addEventListener('keydown', handleClickOutside)\r\n return () => {\r\n // Unbind the event listener to clean up\r\n document.removeEventListener('mousedown', handleClickOutside)\r\n document.removeEventListener('keydown', handleClickOutside)\r\n }\r\n }, [ref])\r\n }\r\n\r\n const updateActiveMenus = (state, menuId) => {\r\n if (state === 'open') {\r\n // add menuId from activeMenus\r\n setActiveMenus([...activeMenus, menuId])\r\n } else if (state === 'closed') {\r\n // remove menuId from activeMenus\r\n setActiveMenus(activeMenus.filter((item) => item !== menuId))\r\n }\r\n }\r\n\r\n const toggleMegaMenu = (e, menuId) => {\r\n e.preventDefault()\r\n\r\n const nextState = MenuStateMachine(megaMenuState)\r\n\r\n setMegaMenuState(nextState)\r\n\r\n updateActiveMenus(nextState, menuId)\r\n\r\n if (megaMenuState === 'open') {\r\n resetMenus()\r\n }\r\n }\r\n\r\n const toggleSubMenu = (e, menuId) => {\r\n e.preventDefault()\r\n\r\n const nextState = MenuStateMachine(subMenuState)\r\n\r\n setSubMenuState(MenuStateMachine(subMenuState))\r\n /* \r\n I haven't come up with single solution (yet) that takes care of \r\n opening and closing menus for both small and large screens, so for \r\n now I fork the logic based on viewport size.\r\n */\r\n if (!isMobile) {\r\n if (activeMenus.includes(menuId)) {\r\n // menu is already open, remove it from activeMenus to close it\r\n setActiveMenus([])\r\n } else {\r\n // menu is not yet active, add it to activeMenus to open it\r\n setActiveMenus([menuId])\r\n }\r\n } else {\r\n // remove menuId from activeMenus\r\n updateActiveMenus(nextState, menuId)\r\n }\r\n }\r\n\r\n const toggleSubSubMenu = (e, menuId) => {\r\n e.preventDefault()\r\n\r\n const nextState = MenuStateMachine(subSubMenuState)\r\n\r\n setSubSubMenuState(MenuStateMachine(subSubMenuState))\r\n\r\n updateActiveMenus(nextState, menuId)\r\n }\r\n\r\n useEffect(() => {\r\n if (window.innerWidth >= viewportLarge) {\r\n setIsMobile(false)\r\n } else {\r\n setIsMobile(true)\r\n }\r\n }, [activeMenus, isMobile])\r\n\r\n const escFunction = (e) => {\r\n if (e.keyCode === 27) {\r\n resetMenus()\r\n }\r\n }\r\n\r\n const a11yClick = (e) => {\r\n const code = e.charCode || e.keyCode\r\n if (code === 32 || code === 13) {\r\n return true\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', escFunction, false)\r\n\r\n return () => {\r\n document.removeEventListener('keydown', escFunction, false)\r\n }\r\n })\r\n\r\n useOutsideAlerter(wrapperRef) // create bindings for closing menu from outside events\r\n\r\n return (\r\n
    \r\n \r\n \r\n Your Brand Name\r\n \r\n toggleMegaMenu(e, 'nav-main')}\r\n />\r\n \r\n \r\n \r\n \r\n Home\r\n \r\n \r\n\r\n \r\n toggleSubMenu(e, 'menu-Mega-Menu')}\r\n onKeyDown={(e) =>\r\n a11yClick(e) && toggleSubMenu(e, 'menu-Mega-Menu')\r\n }\r\n ariaHaspopup=\"true\"\r\n ariaControls=\"menu-Mega-Menu\"\r\n >\r\n Mega Menu\r\n \r\n \r\n \r\n toggleSubMenu(e, 'menu-Mega-Menu')}\r\n onKeyDown={(e) =>\r\n a11yClick(e) && toggleSubMenu(e, 'menu-Mega-Menu')\r\n }\r\n ariaControls=\"nav-main-Mega-Menu\"\r\n isBack\r\n >\r\n Mega Menu\r\n \r\n \r\n \r\n \r\n Sub menu item 1\r\n \r\n \r\n Single line description that accompanies link\r\n \r\n \r\n \r\n \r\n Sub menu item 2\r\n \r\n \r\n Double lined small description that accompanies link in the\r\n React Mega Menu project\r\n \r\n \r\n \r\n \r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\r\n }\r\n onKeyDown={(e) =>\r\n a11yClick(e) &&\r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\r\n }\r\n ariaHaspopup=\"true\"\r\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-3\"\r\n >\r\n Sub menu item 3\r\n \r\n \r\n Three lined small description that accompanies link in the\r\n React Mega Menu project. This maybe too much text? Who's to\r\n say, really. We'll leave it to fate to decide.\r\n \r\n \r\n \r\n \r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\r\n }\r\n onKeyDown={(e) =>\r\n a11yClick(e) &&\r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\r\n }\r\n ariaHaspopup=\"true\"\r\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-3\"\r\n >\r\n Sub menu item 3\r\n \r\n \r\n \r\n \r\n Sub menu item 3.1\r\n \r\n \r\n Single line description that accompanies link\r\n \r\n \r\n \r\n \r\n Sub menu item 3.2\r\n \r\n \r\n Double lined small description that accompanies link in\r\n the React Mega Menu project\r\n \r\n \r\n \r\n \r\n Sub menu item 3.3\r\n \r\n \r\n Three lined small description that accompanies link in the\r\n React Mega Menu project. This maybe too much text? Who's\r\n to say, really. We'll leave it to fate to decide.\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\r\n }\r\n onKeyDown={(e) =>\r\n a11yClick(e) &&\r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\r\n }\r\n ariaHaspopup=\"true\"\r\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-4\"\r\n >\r\n Sub menu item 4\r\n \r\n \r\n Three lined small description that accompanies link in the\r\n React Mega Menu project. This maybe too much text? Who's to\r\n say, really. We'll leave it to fate to decide.\r\n \r\n \r\n \r\n \r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\r\n }\r\n onKeyDown={(e) =>\r\n a11yClick(e) &&\r\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\r\n }\r\n ariaHaspopup=\"true\"\r\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-4\"\r\n >\r\n Sub menu item 4\r\n \r\n \r\n \r\n \r\n Sub menu item 4.1\r\n \r\n \r\n \r\n \r\n Sub menu item 4.2\r\n \r\n \r\n \r\n \r\n Sub menu item 4.3\r\n \r\n \r\n \r\n \r\n Sub menu item 4.4\r\n \r\n \r\n \r\n \r\n Sub menu item 4.5\r\n \r\n \r\n \r\n \r\n Sub menu item 4.6\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Contact\r\n \r\n \r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default Menu\r\n"]} \ No newline at end of file +{"version":3,"sources":["../node_modules/object-assign/index.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","utils/css.js","components/TopBar/index.jsx","components/TopBarTitle/index.jsx","components/Hamburger/index.jsx","components/Nav/index.jsx","components/MainList/index.jsx","components/MegaList/index.jsx","components/MainNavItem/index.jsx","components/MainNavItemLink/index.jsx","components/NavItem/index.jsx","components/NavItemLink/index.jsx","components/NavList/index.jsx","components/NavItemDescription/index.jsx","state-machines/menus.js","index.jsx"],"names":["getOwnPropertySymbols","Object","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","toObject","val","undefined","TypeError","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","order2","map","n","join","test3","split","forEach","letter","keys","err","module","exports","target","source","from","to","symbols","s","arguments","length","key","call","l","require","p","Fragment","StrictMode","Profiler","q","r","t","Suspense","u","v","Symbol","for","w","x","iterator","y","a","z","b","c","encodeURIComponent","A","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","B","C","props","context","refs","updater","isReactComponent","setState","Error","forceUpdate","D","E","F","constructor","isPureReactComponent","G","current","H","I","ref","__self","__source","J","e","d","k","h","g","children","f","Array","m","defaultProps","$$typeof","type","_owner","K","L","escape","replace","M","N","toString","O","isArray","push","next","done","value","P","Q","_status","_result","then","default","R","S","T","ReactCurrentDispatcher","ReactCurrentBatchConfig","transition","ReactCurrentOwner","IsSomeRendererActing","Children","apply","count","toArray","only","Component","PureComponent","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_payload","_init","memo","compare","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","version","ReactIs","throwOnDirectAccess","isElement","classNames","classes","filter","Boolean","TopBar","id","className","rootClasses","propTypes","PropTypes","string","node","isRequired","TopBarTitle","Hamburger","label","state","onClick","oneOf","func","Nav","ariaLabel","activeState","MainList","MegaList","MainNavItem","role","isHeading","isChildren","isForward","hasChildren","bool","MainNavItemLink","href","isBack","isActive","onKeyDown","ariaHaspopup","ariaControls","NavItem","NavItemLink","NavList","isSub","isSubSub","isDropdown","ariaLabelledby","NavItemDescription","MenuStateMachine","validStates","defaultState","stateChangedTo","includes","Menu","megaMenuState","setMegaMenuState","subMenuState","setSubMenuState","subSubMenuState","setSubSubMenuState","activeMenus","setActiveMenus","isMobile","setIsMobile","wrapperRef","viewportLarge","resetMenus","useOutsideAlerter","handleClickOutside","contains","document","addEventListener","removeEventListener","updateActiveMenus","menuId","item","toggleMegaMenu","preventDefault","nextState","toggleSubMenu","toggleSubSubMenu","window","innerWidth","escFunction","keyCode","a11yClick","code","charCode","LogoImage"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;;AACA,IAAIA,qBAAqB,GAAGC,MAAM,CAACD,qBAAnC;AACA,IAAIE,cAAc,GAAGD,MAAM,CAACE,SAAP,CAAiBD,cAAtC;AACA,IAAIE,gBAAgB,GAAGH,MAAM,CAACE,SAAP,CAAiBE,oBAAxC;;AAEA,SAASC,QAAT,CAAkBC,GAAlB,EAAuB;AACtB,MAAIA,GAAG,KAAK,IAAR,IAAgBA,GAAG,KAAKC,SAA5B,EAAuC;AACtC,UAAM,IAAIC,SAAJ,CAAc,uDAAd,CAAN;AACA;;AAED,SAAOR,MAAM,CAACM,GAAD,CAAb;AACA;;AAED,SAASG,eAAT,GAA2B;AAC1B,MAAI;AACH,QAAI,CAACT,MAAM,CAACU,MAAZ,EAAoB;AACnB,aAAO,KAAP;AACA,KAHE,CAKH;AAEA;;;AACA,QAAIC,KAAK,GAAG,IAAIC,MAAJ,CAAW,KAAX,CAAZ,CARG,CAQ6B;;AAChCD,IAAAA,KAAK,CAAC,CAAD,CAAL,GAAW,IAAX;;AACA,QAAIX,MAAM,CAACa,mBAAP,CAA2BF,KAA3B,EAAkC,CAAlC,MAAyC,GAA7C,EAAkD;AACjD,aAAO,KAAP;AACA,KAZE,CAcH;;;AACA,QAAIG,KAAK,GAAG,EAAZ;;AACA,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAG,EAApB,EAAwBA,CAAC,EAAzB,EAA6B;AAC5BD,MAAAA,KAAK,CAAC,MAAMF,MAAM,CAACI,YAAP,C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AxBF,CApJF,CAhBF,CAPF,eAgSE,6BAAC,oBAAD;AAAa,IAAA,EAAE,EAAC,aAAhB;AAA8B,IAAA,IAAI,EAAC;AAAnC,kBACE,6BAAC,wBAAD;AACE,IAAA,EAAE,EAAC,kBADL;AAEE,IAAA,IAAI,EAAC,UAFP;AAGE,IAAA,IAAI,EAAC;AAHP,eADF,CAhSF,CALF,CAfF,CADF;AAkUD,CAjcD;;eAmceuI","file":"index.js","sourceRoot":"..\\src","sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/** @license React v17.0.2\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=require(\"object-assign\"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;\nif(\"function\"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w(\"react.element\");p=w(\"react.portal\");exports.Fragment=w(\"react.fragment\");exports.StrictMode=w(\"react.strict_mode\");exports.Profiler=w(\"react.profiler\");q=w(\"react.provider\");r=w(\"react.context\");t=w(\"react.forward_ref\");exports.Suspense=w(\"react.suspense\");u=w(\"react.memo\");v=w(\"react.lazy\")}var x=\"function\"===typeof Symbol&&Symbol.iterator;\nfunction y(a){if(null===a||\"object\"!==typeof a)return null;a=x&&a[x]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function z(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c {\n const rootClasses = classNames('rmm__top-bar', className && className)\n\n return (\n
    \n {children}\n
    \n )\n}\n\nTopBar.defaultProps = {\n id: 'top',\n}\n\nTopBar.propTypes = {\n id: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default TopBar\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst TopBarTitle = ({ id, className, children }) => {\n const rootClasses = classNames('rmm__top-bar-title', className && className)\n\n return (\n

    \n {children}\n

    \n )\n}\n\nTopBarTitle.propTypes = {\n id: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default TopBarTitle\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\nconst Hamburger = ({ label, state, onClick }) => {\n if (state === '') {\n state = 'rmm__hamburger--closed'\n } else if (state === 'open') {\n state = 'rmm__hamburger--open'\n }\n return (\n \n )\n}\n\nHamburger.defaultProps = { label: null }\nHamburger.propTypes = {\n label: PropTypes.string,\n state: PropTypes.oneOf(['', 'open', 'closed']),\n onClick: PropTypes.func,\n}\n\nexport default Hamburger\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst Nav = ({ id, ariaLabel, activeState, children }) => {\n const rootClasses = classNames(\n 'rmm__nav',\n activeState && `rmm__nav--${activeState}`\n )\n\n return (\n \n )\n}\n\nNav.defaultProps = {\n ariaLabel: 'Main Navigation',\n activeState: '',\n}\n\nNav.propTypes = {\n id: PropTypes.string.isRequired,\n ariaLabel: PropTypes.string.isRequired,\n activeState: PropTypes.oneOf(['', 'open', 'closed']).isRequired,\n children: PropTypes.node.isRequired,\n}\n\nexport default Nav\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\nconst MainList = ({ id, children, ariaLabel }) => {\n return (\n \n {children}\n \n )\n}\n\nMainList.defaultProps = {\n ariaLabel: 'Main menu',\n}\n\nMainList.propTypes = {\n id: PropTypes.string.isRequired,\n children: PropTypes.node.isRequired,\n ariaLabel: PropTypes.string.isRequired,\n}\n\nexport default MainList\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst MegaList = ({ id, activeState, children }) => {\n const rootClasses = classNames(\n 'rmm__mega-list',\n activeState && `rmm__mega-list--${activeState}`\n )\n return (\n
      \n {children}\n
    \n )\n}\n\nMegaList.defaultProps = {\n activeState: '',\n}\n\nMegaList.propTypes = {\n id: PropTypes.string.isRequired,\n activeState: PropTypes.oneOf(['open', 'closed']).isRequired,\n children: PropTypes.node.isRequired,\n}\n\nexport default MegaList\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst MainNavItem = ({\n id,\n role,\n isHeading,\n isChildren,\n isForward,\n className,\n children,\n}) => {\n const rootClasses = classNames(\n 'rmm__main-nav-item',\n isHeading && 'rmm__main-nav-item--heading',\n isChildren && 'rmm__main-nav-item--children',\n isForward && 'rmm__main-nav-item--forward',\n className && className\n )\n return (\n
  • \n {children}\n
  • \n )\n}\n\nMainNavItem.defaultProps = {\n role: 'none',\n isHeading: false,\n hasChildren: false,\n isForward: false,\n}\n\nMainNavItem.propTypes = {\n id: PropTypes.string.isRequired,\n role: PropTypes.string,\n isHeading: PropTypes.bool,\n isChildren: PropTypes.bool,\n isForward: PropTypes.bool,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default MainNavItem\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst MainNavItemLink = ({\n id,\n role,\n href,\n isBack,\n isForward,\n isActive,\n className,\n onClick,\n onKeyDown,\n ariaHaspopup,\n ariaControls,\n children,\n}) => {\n const rootClasses = classNames(\n 'rmm__main-nav-item-link',\n isBack && 'rmm__main-nav-item-link--back',\n isForward && 'rmm__main-nav-item-link--forward',\n isActive && 'rmm__main-nav-item-link--active',\n className && className\n )\n return (\n \n {children}\n \n )\n}\n\nMainNavItemLink.defaultProps = {\n role: 'menuitem',\n isBack: false,\n isForward: false,\n isActive: false,\n}\n\nMainNavItemLink.propTypes = {\n id: PropTypes.string.isRequired,\n role: PropTypes.string,\n href: PropTypes.string.isRequired,\n isBack: PropTypes.bool,\n isForward: PropTypes.bool,\n isActive: PropTypes.bool,\n className: PropTypes.string,\n onClick: PropTypes.func,\n onKeyDown: PropTypes.func,\n ariaHaspopup: PropTypes.string,\n ariaControls: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default MainNavItemLink\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst NavItem = ({ id, role, isHeading, isForward, className, children }) => {\n const rootClasses = classNames(\n 'rmm__nav-item',\n isHeading && 'rmm__nav-item--heading',\n isForward && 'rmm__nav-item--forward',\n className && className\n )\n return (\n
  • \n {children}\n
  • \n )\n}\n\nNavItem.defaultProps = {\n role: 'none',\n isHeading: false,\n hasChildren: false,\n isForward: false,\n}\n\nNavItem.propTypes = {\n id: PropTypes.string.isRequired,\n role: PropTypes.string,\n isHeading: PropTypes.bool,\n isForward: PropTypes.bool,\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default NavItem\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst NavItemLink = ({\n id,\n role,\n href,\n isBack,\n isHeading,\n isForward,\n isActive,\n className,\n onClick,\n onKeyDown,\n ariaHaspopup,\n ariaControls,\n children,\n}) => {\n const rootClasses = classNames(\n 'rmm__nav-item-link',\n isBack && 'rmm__nav-item-link--back',\n isHeading && 'rmm__nav-item-link--heading',\n isForward && 'rmm__nav-item-link--forward',\n isActive && 'rmm__nav-item-link--active',\n className && className\n )\n return (\n \n {children}\n \n )\n}\n\nNavItemLink.defaultProps = {\n role: 'menuitem',\n isBack: false,\n isHeading: false,\n isForward: false,\n isActive: false,\n}\n\nNavItemLink.propTypes = {\n id: PropTypes.string.isRequired,\n role: PropTypes.string,\n href: PropTypes.string.isRequired,\n isBack: PropTypes.bool,\n isHeading: PropTypes.bool,\n isForward: PropTypes.bool,\n isActive: PropTypes.bool,\n className: PropTypes.string,\n onClick: PropTypes.func,\n onKeyDown: PropTypes.func,\n ariaHaspopup: PropTypes.string,\n ariaControls: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default NavItemLink\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst NavList = ({\n id,\n role,\n isSub,\n isSubSub,\n isDropdown,\n activeState,\n ariaLabelledby,\n children,\n}) => {\n const rootClasses = classNames(\n 'rmm__nav-list',\n `rmm__nav-list--${activeState}`,\n isSub && 'rmm__nav-list--sub',\n isSubSub && 'rmm__nav-list--sub-sub',\n isDropdown && 'rmm__nav-list--dropdown'\n )\n return (\n \n {children}\n \n )\n}\n\nNavList.defaultProps = {\n role: 'menubar',\n isSub: false,\n isSubSub: false,\n isDropdown: false,\n activeState: '',\n}\n\nNavList.propTypes = {\n id: PropTypes.string.isRequired,\n role: PropTypes.string,\n isSub: PropTypes.bool,\n isSubSub: PropTypes.bool,\n isDropdown: PropTypes.bool,\n activeState: PropTypes.oneOf(['', 'open', 'closed']).isRequired,\n ariaLabelledby: PropTypes.string.isRequired,\n children: PropTypes.node.isRequired,\n}\n\nexport default NavList\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\n// Utils\nimport { classNames } from '../../utils/css'\n\nconst NavItemDescription = ({ className, children }) => {\n const rootClasses = classNames(\n 'rmm__nav-item-description',\n className && className\n )\n return

    {children}

    \n}\n\nNavItemDescription.propTypes = {\n className: PropTypes.string,\n children: PropTypes.node.isRequired,\n}\n\nexport default NavItemDescription\n","const MenuStateMachine = (state) => {\n const validStates = ['closed', 'open']\n const defaultState = 'open'\n let stateChangedTo = defaultState\n\n if (validStates.includes(state)) {\n switch (state) {\n case validStates[0]:\n stateChangedTo = validStates[1]\n break\n case validStates[1]:\n stateChangedTo = validStates[0]\n break\n default:\n stateChangedTo = validStates[0]\n }\n }\n return stateChangedTo\n}\n\nexport { MenuStateMachine }\n","import React, { useRef, useState, useEffect } from 'react'\n\n// Components\nimport TopBar from './components/TopBar'\n// import Logo from './components/Logo'\nimport TopBarTitle from './components/TopBarTitle'\nimport Hamburger from './components/Hamburger'\nimport Nav from './components/Nav'\nimport MainList from './components/MainList'\nimport MegaList from './components/MegaList'\nimport MainNavItem from './components/MainNavItem'\nimport MainNavItemLink from './components/MainNavItemLink'\nimport NavItem from './components/NavItem'\nimport NavItemLink from './components/NavItemLink'\nimport NavList from './components/NavList'\nimport NavItemDescription from './components/NavItemDescription'\n\n// State Machines\nimport { MenuStateMachine } from './state-machines/menus'\n\n// Images\n// import LogoImage from './images/logos/logo.svg'\n\nconst Menu = () => {\n const [megaMenuState, setMegaMenuState] = useState('')\n const [subMenuState, setSubMenuState] = useState('')\n const [subSubMenuState, setSubSubMenuState] = useState('')\n const [activeMenus, setActiveMenus] = useState([]) // array that captures the ids of active menus\n const [isMobile, setIsMobile] = useState(true) // array that captures the ids of active menus\n const wrapperRef = useRef(null) // used to detect clicks outside of component\n\n const viewportLarge = 1024\n\n const resetMenus = () => {\n // close all menus and empty activeMenus array\n setActiveMenus([])\n setSubMenuState('closed')\n setSubSubMenuState('closed')\n }\n\n const useOutsideAlerter = (ref) => {\n useEffect(() => {\n // Reset menu if clicked on outside of element\n const handleClickOutside = (e) => {\n if (ref.current && !ref.current.contains(e.target)) {\n resetMenus()\n }\n }\n\n // Bind the event listener to both mouse and key events\n document.addEventListener('mousedown', handleClickOutside)\n document.addEventListener('keydown', handleClickOutside)\n return () => {\n // Unbind the event listener to clean up\n document.removeEventListener('mousedown', handleClickOutside)\n document.removeEventListener('keydown', handleClickOutside)\n }\n }, [ref])\n }\n\n const updateActiveMenus = (state, menuId) => {\n if (state === 'open') {\n // add menuId from activeMenus\n setActiveMenus([...activeMenus, menuId])\n } else if (state === 'closed') {\n // remove menuId from activeMenus\n setActiveMenus(activeMenus.filter((item) => item !== menuId))\n }\n }\n\n const toggleMegaMenu = (e, menuId) => {\n e.preventDefault()\n\n const nextState = MenuStateMachine(megaMenuState)\n\n setMegaMenuState(nextState)\n\n updateActiveMenus(nextState, menuId)\n\n if (megaMenuState === 'open') {\n resetMenus()\n }\n }\n\n const toggleSubMenu = (e, menuId) => {\n e.preventDefault()\n\n const nextState = MenuStateMachine(subMenuState)\n\n setSubMenuState(MenuStateMachine(subMenuState))\n /* \n I haven't come up with single solution (yet) that takes care of \n opening and closing menus for both small and large screens, so for \n now I fork the logic based on viewport size.\n */\n if (!isMobile) {\n if (activeMenus.includes(menuId)) {\n // menu is already open, remove it from activeMenus to close it\n setActiveMenus([])\n } else {\n // menu is not yet active, add it to activeMenus to open it\n setActiveMenus([menuId])\n }\n } else {\n // remove menuId from activeMenus\n updateActiveMenus(nextState, menuId)\n }\n }\n\n const toggleSubSubMenu = (e, menuId) => {\n e.preventDefault()\n\n const nextState = MenuStateMachine(subSubMenuState)\n\n setSubSubMenuState(MenuStateMachine(subSubMenuState))\n\n updateActiveMenus(nextState, menuId)\n }\n\n useEffect(() => {\n if (window.innerWidth >= viewportLarge) {\n setIsMobile(false)\n } else {\n setIsMobile(true)\n }\n }, [activeMenus, isMobile])\n\n const escFunction = (e) => {\n if (e.keyCode === 27) {\n resetMenus()\n }\n }\n\n const a11yClick = (e) => {\n const code = e.charCode || e.keyCode\n if (code === 32 || code === 13) {\n return true\n }\n }\n\n useEffect(() => {\n document.addEventListener('keydown', escFunction, false)\n\n return () => {\n document.removeEventListener('keydown', escFunction, false)\n }\n })\n\n useOutsideAlerter(wrapperRef) // create bindings for closing menu from outside events\n\n return (\n
    \n \n \n Your Brand Name\n \n toggleMegaMenu(e, 'nav-main')}\n />\n \n \n \n \n Home\n \n \n\n \n toggleSubMenu(e, 'menu-Mega-Menu')}\n onKeyDown={(e) =>\n a11yClick(e) && toggleSubMenu(e, 'menu-Mega-Menu')\n }\n ariaHaspopup=\"true\"\n ariaControls=\"menu-Mega-Menu\"\n >\n Mega Menu\n \n \n \n toggleSubMenu(e, 'menu-Mega-Menu')}\n onKeyDown={(e) =>\n a11yClick(e) && toggleSubMenu(e, 'menu-Mega-Menu')\n }\n ariaControls=\"nav-main-Mega-Menu\"\n isBack\n >\n Mega Menu\n \n \n \n \n Sub menu item 1\n \n \n Single line description that accompanies link\n \n \n \n \n Sub menu item 2\n \n \n Double lined small description that accompanies link in the\n React Mega Menu project\n \n \n \n \n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\n }\n onKeyDown={(e) =>\n a11yClick(e) &&\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\n }\n ariaHaspopup=\"true\"\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-3\"\n >\n Sub menu item 3\n \n \n Three lined small description that accompanies link in the\n React Mega Menu project. This maybe too much text? Who's to\n say, really. We'll leave it to fate to decide.\n \n \n \n \n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\n }\n onKeyDown={(e) =>\n a11yClick(e) &&\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-3')\n }\n ariaHaspopup=\"true\"\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-3\"\n >\n Sub menu item 3\n \n \n \n \n Sub menu item 3.1\n \n \n Single line description that accompanies link\n \n \n \n \n Sub menu item 3.2\n \n \n Double lined small description that accompanies link in\n the React Mega Menu project\n \n \n \n \n Sub menu item 3.3\n \n \n Three lined small description that accompanies link in the\n React Mega Menu project. This maybe too much text? Who's\n to say, really. We'll leave it to fate to decide.\n \n \n \n \n\n \n \n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\n }\n onKeyDown={(e) =>\n a11yClick(e) &&\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\n }\n ariaHaspopup=\"true\"\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-4\"\n >\n Sub menu item 4\n \n \n Three lined small description that accompanies link in the\n React Mega Menu project. This maybe too much text? Who's to\n say, really. We'll leave it to fate to decide.\n \n \n \n \n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\n }\n onKeyDown={(e) =>\n a11yClick(e) &&\n toggleSubSubMenu(e, 'menu-Mega-Menu-Sub-menu-item-4')\n }\n ariaHaspopup=\"true\"\n ariaControls=\"menu-Mega-Menu-Sub-menu-item-4\"\n >\n Sub menu item 4\n \n \n \n \n Sub menu item 4.1\n \n \n \n \n Sub menu item 4.2\n \n \n \n \n Sub menu item 4.3\n \n \n \n \n Sub menu item 4.4\n \n \n \n \n Sub menu item 4.5\n \n \n \n \n Sub menu item 4.6\n \n \n \n \n \n \n \n \n Contact\n \n \n \n \n
    \n )\n}\n\nexport default Menu\n"]} \ No newline at end of file