{"_id":"@anguyenguy/frontend-component-footer","_rev":"2-cc08193a9341091d50ccb7feeb71bd0e","name":"@anguyenguy/frontend-component-footer","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@anguyenguy/frontend-component-footer","version":"1.0.0","description":"Footer component for use when building Open edX frontend applications","main":"dist/index.js","publishConfig":{"access":"public"},"scripts":{"build":"make build","i18n_extract":"BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null","lint":"fedx-scripts eslint --ext .js --ext .jsx .","snapshot":"fedx-scripts jest --updateSnapshot","start":"fedx-scripts webpack-dev-server --progress","test":"fedx-scripts jest --coverage"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"repository":{"type":"git","url":"git+https://github.com/edx/frontend-component-footer.git"},"author":{"name":"anguyenguy"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/edx/frontend-component-footer/issues"},"homepage":"https://github.com/edx/frontend-component-footer#readme","devDependencies":{"@edx/brand":"npm:@edx/brand-openedx@1.1.0","@edx/frontend-build":"9.2.2","@edx/frontend-platform":"2.3.0","@edx/paragon":"19.25.1","codecov":"3.8.3","enzyme":"3.11.0","enzyme-adapter-react-16":"1.15.6","husky":"7.0.4","prop-types":"15.8.1","react":"16.14.0","react-dom":"16.14.0","react-redux":"7.2.8","react-router-dom":"5.3.3","react-test-renderer":"16.14.0","reactifex":"1.1.1","redux":"4.2.0","semantic-release":"17.4.7"},"dependencies":{"@fortawesome/fontawesome-svg-core":"1.2.36","@fortawesome/free-brands-svg-icons":"5.15.4","@fortawesome/free-regular-svg-icons":"5.15.4","@fortawesome/free-solid-svg-icons":"5.15.4","@fortawesome/react-fontawesome":"0.1.18"},"peerDependencies":{"@edx/frontend-platform":"^2.3.0","prop-types":"^15.5.10","react":"^16.9.0","react-dom":"^16.9.0"},"_id":"@anguyenguy/frontend-component-footer@1.0.0","_nodeVersion":"18.9.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-mf8CPtVYysuPja+XFx19jdMmZDQzCRRS6KoU56txj4RKuOvTQmxP7nOHeSe7pGlHqZWtLbQvMW/4Axmy3mEoRg==","shasum":"3ed50a193ce4b0e77d1163dc13c4f3b66176538b","tarball":"https://registry.npmjs.org/@anguyenguy/frontend-component-footer/-/frontend-component-footer-1.0.0.tgz","fileCount":28,"unpackedSize":93462,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgbtKfeuAMRyeX1egOUuzEfmVfro2keQYxtQ9Qd0U3ZAiEAke53W9NiO7iOPwZA+Dto3DkeT7pS+cFrm/79E9PYU9M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgNVlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBdQ//YHXFBu6uQ9GyyQTqzf/xcEWmgtmpZ7EeMdRtOA3/0llcVUYb\r\ndeCUOz3YpWVUKOXL5Rs9U8QLMDeol//16m28mx4K3OhcDeCqfFFjeF1OBnIz\r\nkQHd1ygzu6NzksBieo+GqTZDK0/tlwWqNlxol/3DqscgX9G3/v1Bxm/jij4v\r\n6UPmCBk8RfPID4n+ZbsZlaM055NiTyJ9kwtxGgTIYF90xQIyTwZ/NyUgjN4N\r\npY59EHdTG78e/pc8oy2iZGsAbojEOhxt2lK+9+E0m5RURlDIDmAsLSgtJ5OD\r\nETfK/Jd/UR7RNMMI99zhpOW936rImkOj8tRXQMTyrKw5s0daTejea8UTqf47\r\nANtSJbMTLRUWhgPCKMVSCc7+SSYtk+tIsWxemeYYoLv8g34xuz1I0lCc5DGw\r\n3ZNG0TK4x+qStOPnEJmh9g0i794nioKaQfM1jiuHjFEYffNS7BH/nygK2FsI\r\nU9XKufcRp79/aJx1mlyUoOoTRFOUetNADZwqkNmP2aCfQwDXwgxkAewDcBdd\r\nnwPQj6CramzD4VEBXWsBNXITO7OFIFQaE2ySydGBLd5KULkaudsRxz7+9iaB\r\n7cleX3Cj4jEHphSiNSgZhXRMm9SzM62ae5tJG2y6AI1Nh7RdesyRWORONuHJ\r\n+OgeTDpha8Ja88qpZTwj5NM0kETmFtJ4um4=\r\n=uJV4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anguyenguy","email":"hdragon1501@gmail.com"},"directories":{},"maintainers":[{"name":"anguyenguy","email":"hdragon1501@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/frontend-component-footer_1.0.0_1669387621229_0.6053237848380213"},"_hasShrinkwrap":false},"1.0.1":{"name":"@anguyenguy/frontend-component-footer","version":"1.0.1","description":"Footer component for use when building Open edX frontend applications","main":"dist/index.js","publishConfig":{"access":"public"},"scripts":{"build":"make build","i18n_extract":"BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null","lint":"fedx-scripts eslint --ext .js --ext .jsx .","snapshot":"fedx-scripts jest --updateSnapshot","start":"fedx-scripts webpack-dev-server --progress","test":"fedx-scripts jest --coverage"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"repository":{"type":"git","url":"git+https://github.com/edx/frontend-component-footer.git"},"author":{"name":"anguyenguy"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/edx/frontend-component-footer/issues"},"homepage":"https://github.com/edx/frontend-component-footer#readme","devDependencies":{"@edx/brand":"npm:@edx/brand-openedx@1.1.0","@edx/frontend-build":"9.2.2","@edx/frontend-platform":"2.3.0","@edx/paragon":"19.25.1","codecov":"3.8.3","enzyme":"3.11.0","enzyme-adapter-react-16":"1.15.6","husky":"7.0.4","prop-types":"15.8.1","react":"16.14.0","react-dom":"16.14.0","react-redux":"7.2.8","react-router-dom":"5.3.3","react-test-renderer":"16.14.0","reactifex":"1.1.1","redux":"4.2.0","semantic-release":"17.4.7"},"dependencies":{"@fortawesome/fontawesome-svg-core":"1.2.36","@fortawesome/free-brands-svg-icons":"5.15.4","@fortawesome/free-regular-svg-icons":"5.15.4","@fortawesome/free-solid-svg-icons":"5.15.4","@fortawesome/react-fontawesome":"0.1.18"},"peerDependencies":{"@edx/frontend-platform":"^2.3.0","prop-types":"^15.5.10","react":"^16.9.0","react-dom":"^16.9.0"},"_id":"@anguyenguy/frontend-component-footer@1.0.1","_nodeVersion":"18.9.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-qkmUr9qpoRg4XvUsEgkAdaoAd2Kg0ICQ5PKJjq7peY3OiY4h7c++qGamtq59ewDj1B6OevISY+HAgzXMBHM47w==","shasum":"e320642b4f79ec239d7ec66dfd415b0c35465a78","tarball":"https://registry.npmjs.org/@anguyenguy/frontend-component-footer/-/frontend-component-footer-1.0.1.tgz","fileCount":28,"unpackedSize":93450,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMdw8CQUV5ZedKlk0tqV0UzC64HBv1Cw5+/6Hkj4b1RAiAhZz30mSQy2LZgxxyXyXdHTj+zFV2p1obni6RvlL84Og=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgs76ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHVg/9HJk8J9Evn8+AoKvRbOYxkHyPhxg6exF6du7XBREMUYtudH+j\r\nWUnPps01KRwqkfrs5mwrJ/z+Nz1UirzH7oxF2enW7PStlHOsuizx5PiRRXE0\r\nJEnnrAdJEaFyCW/byaO3JN67zA5bcUv6fzYtP8U5Cdn6tJHw91Xd7F27pm0F\r\n/hCDM8QN04Z5UDvD3J7KRKgx3qMFV7vIoolnXBVd/wqvYTWszFsyopeuO9E6\r\nfS84lNUf84z9WaO/83rbjVqpAFbhVSrSbk48oTjeKKBr7H7gEAmSVBwe2Mf2\r\nplIuKKasRzfI+06Fu67Cjav5MOBS8OwoidkIFn1xPoGGdHr2brVGdDaRE+dt\r\nppnEgcPikPaTvHpC+x6jIxuYmQn0JnnXpdoJnG6E9Y2trKi9Sei0gDtz5mU8\r\npmJoVh7QsFgt+pQPaU0wl+q6Lc815Gv++IP6XqdROI8TbVIbQ5REYhKuiG9Z\r\nRZhopY/yZuMlYanGkbWoYQIhuB/PA6AW+R1IdMh9lX/Ya6RWgbcov4twzfcN\r\nhXQnlN1QFHwLq7aF+OEFbqh8JcPm3GpofpbcFJ3OTlo7Q+1puyMti2RtqrzZ\r\nW5GxvlTxnM1n6xp0J0+k0gBrTirAuLTZG7KkbPyYGKsYb9ik6uR3+7G2YWd+\r\npmKKaW83uyqlcikaQX444oILz8aDuY+5lf0=\r\n=+Zen\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anguyenguy","email":"hdragon1501@gmail.com"},"directories":{},"maintainers":[{"name":"anguyenguy","email":"hdragon1501@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/frontend-component-footer_1.0.1_1669517050373_0.7069201866325938"},"_hasShrinkwrap":false},"1.0.2":{"name":"@anguyenguy/frontend-component-footer","version":"1.0.2","description":"Footer component for use when building Open edX frontend applications","main":"dist/index.js","publishConfig":{"access":"public"},"scripts":{"build":"make build","i18n_extract":"BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null","lint":"fedx-scripts eslint --ext .js --ext .jsx .","snapshot":"fedx-scripts jest --updateSnapshot","start":"fedx-scripts webpack-dev-server --progress","test":"fedx-scripts jest --coverage"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"repository":{"type":"git","url":"git+https://github.com/edx/frontend-component-footer.git"},"author":{"name":"anguyenguy"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/edx/frontend-component-footer/issues"},"homepage":"https://github.com/edx/frontend-component-footer#readme","devDependencies":{"@edx/brand":"npm:@edx/brand-openedx@1.1.0","@edx/frontend-build":"9.2.2","@edx/frontend-platform":"2.3.0","@edx/paragon":"19.25.1","codecov":"3.8.3","enzyme":"3.11.0","enzyme-adapter-react-16":"1.15.6","husky":"7.0.4","prop-types":"15.8.1","react":"16.14.0","react-dom":"16.14.0","react-redux":"7.2.8","react-router-dom":"5.3.3","react-test-renderer":"16.14.0","reactifex":"1.1.1","redux":"4.2.0","semantic-release":"17.4.7"},"dependencies":{"@fortawesome/fontawesome-svg-core":"1.2.36","@fortawesome/free-brands-svg-icons":"5.15.4","@fortawesome/free-regular-svg-icons":"5.15.4","@fortawesome/free-solid-svg-icons":"5.15.4","@fortawesome/react-fontawesome":"0.1.18"},"peerDependencies":{"@edx/frontend-platform":"^2.3.0","prop-types":"^15.5.10","react":"^16.9.0","react-dom":"^16.9.0"},"_id":"@anguyenguy/frontend-component-footer@1.0.2","_nodeVersion":"18.9.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-jw+Uy0g8Hnxx/sTeYX56nHKGPNaWVHVRiq91BcVm+uoG2yDh6Znssmix+PO/fjkDuLd8lTjNDeSPfe+4f0L3ew==","shasum":"166df6ddedea3a41a7f3eb1f972b4c85dc447435","tarball":"https://registry.npmjs.org/@anguyenguy/frontend-component-footer/-/frontend-component-footer-1.0.2.tgz","fileCount":28,"unpackedSize":93477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJWbZgz29TDMTn3AhDR2XmmapQhxsxof/l8uQMpnH4MAIgEAOLvaaMXLCACwmMWc/X9Yx1eu/9lewCxqZTGYV3pMA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjguHiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomxA//ejJGTDVoY2MRGR2gFWra3DpVSI92GLa8u0KiLLqQuwA77+cK\r\nY57GJ6yselUD0SuoEq/0YD8BLd7OBEfZwA91w81umLCioT336PooyP+LYgel\r\nevyu/tFvGqTMDGReztFU4UjmY7ysEIn1vzG6wSqlM8Lq00VTNhXs0L7lJYui\r\nwkTs87W4ytzFaEyzkEEFoUd2SlCyfJazDkjXRlQNFoDhvkms/Uqmp9EPx+kW\r\nSD0TxGyrOuXJYAW5Rtyrp4DK95SzdGiThfymBfAJ/Lz5UyFM2Ipx91zO7ugr\r\nmSBj7W6dz9790KgOAOZrac1Js0Q6eYj0YYzXPOzxY4qRQrm1AWkXSu6oK05i\r\nQFOjUoWUqKp8aLK3GvQ5PmrhkJf3eZjfj/Sq7f/4aVMaw8+MTR5bvzCdzSZe\r\npiqtYTZ8FRexEpilJrH5QGK+kLl5UPyWIhJy77tluRKZVKguLxz71txpnHAt\r\nXTzc+zr4ftQ9lphmo1A8AhHQcmObTLWxHHHBXhD7m4raEGy597KxJk3jgC9z\r\nZNhvnpaUskIUreqXopbSg7OtphIxCDtlRnoaKKoC9N642UGoOkEIfdPQz2zV\r\nRu7hW0odBRe6LAcEcCPUJoYMJPkirAQkpFEbsxRbg7x4kDTjfevmamI1E7U3\r\nT6nV2hLA/HSObp1UUqVoIZSPztoXwsgDQwE=\r\n=nKs3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anguyenguy","email":"hdragon1501@gmail.com"},"directories":{},"maintainers":[{"name":"anguyenguy","email":"hdragon1501@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/frontend-component-footer_1.0.2_1669521890493_0.9974429249954411"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-25T14:47:01.180Z","1.0.0":"2022-11-25T14:47:01.514Z","modified":"2022-11-27T04:04:50.750Z","1.0.1":"2022-11-27T02:44:10.571Z","1.0.2":"2022-11-27T04:04:50.672Z"},"maintainers":[{"name":"anguyenguy","email":"hdragon1501@gmail.com"}],"description":"Footer component for use when building Open edX frontend applications","homepage":"https://github.com/edx/frontend-component-footer#readme","repository":{"type":"git","url":"git+https://github.com/edx/frontend-component-footer.git"},"author":{"name":"anguyenguy"},"bugs":{"url":"https://github.com/edx/frontend-component-footer/issues"},"license":"AGPL-3.0","readme":"#########################\nfrontend-component-footer\n#########################\n\n|Build Status| |Codecov| |npm_version| |npm_downloads| |license| |semantic-release|\n\n********\nOverview\n********\n\nA generic footer for Open edX micro-frontend applications.  It includes a logo and an optional language selector dropdown.\n\n************\nRequirements\n************\n\nThis component uses ``@edx/frontend-platform`` services such as i18n, analytics, configuration, and the ``AppContext`` React component, and expects that it has been loaded into a micro-frontend that has been properly initialized via ``@edx/frontend-platform``'s ``initialize`` function.  `Please visit the frontend template application to see an example. <https://github.com/edx/frontend-template-application/blob/3355bb3a96232390e9056f35b06ffa8f105ed7ca/src/index.jsx>`_\n\nEnvironment Variables\n=====================\n\nThis component requires that the following environment variable be set by the consuming micro-frontend.\n\n* ``LMS_BASE_URL`` - The URL of the LMS of your Open edX instance.\n* ``LOGO_TRADEMARK_URL`` - This is a URL to a logo for use in the footer.  This is a different environment variable than ``LOGO_URL`` (used in frontend-component-header) to accommodate sites that would like to have additional trademark information on a logo in the footer, such as a (tm) or (r) symbol.\n\n************\nInstallation\n************\n\nTo install this footer into your Open edX micro-frontend, run the following command in your MFE:\n\n``npm i --save @edx/frontend-component-footer``\n\nThis will make the component available to be imported into your application.\n\n*****\nUsage\n*****\n\nThis library has the following exports:\n\n* ``(default)``: The footer as a React component.\n* ``messages``: Internationalization messages suitable for use with `@edx/frontend-platform/i18n <https://edx.github.io/frontend-platform/module-Internationalization.html>`_\n* ``dist/footer.scss``: A SASS file which contains style information for the component.  It should be imported into the micro-frontend's own SCSS file.\n\n<Footer /> component props\n==========================\n\n* onLanguageSelected: Provides the footer with an event handler for when the user selects a\n  language from its dropdown.\n* supportedLanguages: An array of objects representing available languages.  See example below for object shape.\n\nExamples\n========\n\nComponent Usage Example::\n\n  import Footer, { messages } from '@edx/frontend-component-footer';\n\n  ...\n\n  <Footer\n    onLanguageSelected={(languageCode) => {/* set language */}}\n    supportedLanguages={[\n      { label: 'English', value: 'en'},\n      { label: 'Español', value: 'es' },\n    ]}\n  />\n\n* `An example of minimal component and messages usage. <https://github.com/edx/frontend-template-application/blob/3355bb3a96232390e9056f35b06ffa8f105ed7ca/src/index.jsx#L23>`_\n* `An example of SCSS file usage. <https://github.com/edx/frontend-template-application/blob/3cd5485bf387b8c479baf6b02bf59e3061dc3465/src/index.scss#L9>`_\n\n***********\nDevelopment\n***********\n\nInstall dependencies::\n\n  npm i\n\nStart the development server::\n\n  npm start\n\nBuild a production distribution::\n\n  npm run build\n\n.. |Build Status| image:: https://api.travis-ci.com/edx/frontend-component-footer.svg?branch=master\n   :target: https://travis-ci.com/edx/frontend-component-footer\n.. |Codecov| image:: https://img.shields.io/codecov/c/github/edx/frontend-component-footer\n   :target: @edx/frontend-component-footer\n.. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-component-footer.svg\n   :target: @edx/frontend-component-footer\n.. |npm_downloads| image:: https://img.shields.io/npm/dt/@edx/frontend-component-footer.svg\n   :target: @edx/frontend-component-footer\n.. |license| image:: https://img.shields.io/npm/l/@edx/frontend-component-footer.svg\n   :target: @edx/frontend-component-footer\n.. |semantic-release| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n   :target: https://github.com/semantic-release/semantic-release\n","readmeFilename":"README.rst"}