{"_id":"@edunext/frontend-slot-footer","_rev":"2-95603abfe9cf4963065a109bbc33f589","name":"@edunext/frontend-slot-footer","dist-tags":{"latest":"1.0.2-alpha.1"},"versions":{"1.0.2-alpha.1":{"name":"@edunext/frontend-slot-footer","version":"1.0.2-alpha.1","author":{"name":"Open edX Community"},"license":"AGPL-3.0","_id":"@edunext/frontend-slot-footer@1.0.2-alpha.1","maintainers":[{"name":"jhonvedunext","email":"jhon.vente@edunext.co"},{"name":"felipemontoya","email":"technical@edunext.co"}],"homepage":"https://github.com/edunext/frontend-slot-footer#readme","bugs":{"url":"https://github.com/edunext/frontend-slot-footer/issues"},"dist":{"shasum":"728052fd3a94b0252bd13f2cbe1870a0782cccce","tarball":"https://registry.npmjs.org/@edunext/frontend-slot-footer/-/frontend-slot-footer-1.0.2-alpha.1.tgz","fileCount":32,"integrity":"sha512-tf0id7fKE3+iuFvoeHCsFLVq2/QUHmgbp/LACdOcLWvzRWXeayt/3yZW+bUaT2DDzdnef87+GndYUlrBdEEs9Q==","signatures":[{"sig":"MEYCIQCM9LRYkaTjZ3X5syoCUaOhXDtn4TjsTUggknn9JAJw2AIhAPNJSAZEiDvzLMdnmVN5ZJgxxUuy/ci9p4bltuRaFUJj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99306},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"08221d0386f3162071802b1eb7927d920df82674","scripts":{"lint":"fedx-scripts eslint --ext .js --ext .jsx .","test":"fedx-scripts jest --coverage --passWithNoTests","build":"make build","lint:fix":"fedx-scripts eslint --fix --ext .js --ext .jsx .","snapshot":"fedx-scripts jest --updateSnapshot"},"_npmUser":{"name":"felipemontoya","email":"technical@edunext.co"},"repository":{"url":"git+https://github.com/edunext/frontend-slot-footer.git","type":"git"},"_npmVersion":"10.5.0","description":"Site footer PluginSlot utilizing Frontend Plugin Framework","directories":{},"_nodeVersion":"21.7.3","browserslist":["extends @edx/browserslist-config"],"dependencies":{"@openedx/frontend-plugin-framework":"github:edunext/frontend-plugin-framework#ednx-release/css-variables-1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"7.2.3","jest":"29.7.0","husky":"7.0.4","react":"^17.0.0","core-js":"3.37.1","regenerator-runtime":"0.14.1","@openedx/frontend-build":"^14.0.3","@edx/browserslist-config":"^1.1.1","@edx/frontend-component-footer":"npm:@edunext/frontend-component-footer@14.0.0-alpha.1"},"peerDependencies":{"react":"^17.0.0","@edx/frontend-component-footer":"14.0.0-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/frontend-slot-footer_1.0.2-alpha.1_1722295177497_0.2944741540591047","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-07-29T23:19:37.398Z","modified":"2025-10-16T16:10:19.366Z","1.0.2-alpha.1":"2024-07-29T23:19:37.694Z"},"bugs":{"url":"https://github.com/edunext/frontend-slot-footer/issues"},"author":{"name":"Open edX Community"},"license":"AGPL-3.0","homepage":"https://github.com/edunext/frontend-slot-footer#readme","repository":{"url":"git+https://github.com/edunext/frontend-slot-footer.git","type":"git"},"description":"Site footer PluginSlot utilizing Frontend Plugin Framework","maintainers":[{"email":"technical@edunext.co","name":"felipemontoya"}],"readme":"# frontend-slot-footer\n\nThis package provides a wrapped version of the footer using [Frontend Plugin Framework](https://github.com/openedx/frontend-plugin-framework).\n\n### Slot ID: `footer_slot`\n\n## Description\n\nThis slot is used to replace/modify/hide the footer.\n\n## Example\n\nThe following `env.config.jsx` will replace the default footer.\n\n![Screenshot of Default Footer](./docs/images/default_footer.png)\n\nwith a simple custom footer\n\n![Screenshot of Custom Footer](./docs/images/custom_footer.png)\n\n```js\nimport { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework';\n\nconst config = {\n  pluginSlots: {\n    footer_slot: {\n      plugins: [\n        {\n          // Hide the default footer\n          op: PLUGIN_OPERATIONS.Hide,\n          widgetId: 'default_contents',\n        },\n        {\n          // Insert a custom footer\n          op: PLUGIN_OPERATIONS.Insert,\n          widget: {\n            id: 'custom_footer',\n            type: DIRECT_PLUGIN,\n            RenderWidget: () => (\n              <h1 style={{textAlign: 'center'}}>🦶</h1>\n            ),\n          },\n        },\n      ]\n    }\n  },\n}\n\nexport default config;\n```\n","readmeFilename":"README.md"}