From 4244c2c1f1a123cf325ee516db81e7d9d1564464 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Wed, 8 May 2024 19:30:41 -0400 Subject: [PATCH] feat: provide `FooterSlot` This allows consuming MFEs to utilize a standardized Frontend Plugin Framework `PluginSlot` for replacing the footer. --- README.rst | 9 +++ package-lock.json | 59 ++++++++++++++++++ package.json | 7 +++ src/components/footer-slot/README.md | 48 ++++++++++++++ .../footer-slot/images/custom_footer.png | Bin 0 -> 6395 bytes .../footer-slot/images/default_footer.png | Bin 0 -> 6679 bytes src/components/footer-slot/index.jsx | 11 ++++ src/index.js | 5 +- 8 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 src/components/footer-slot/README.md create mode 100644 src/components/footer-slot/images/custom_footer.png create mode 100644 src/components/footer-slot/images/default_footer.png create mode 100644 src/components/footer-slot/index.jsx diff --git a/README.rst b/README.rst index 82b8b4656..0d9728609 100644 --- a/README.rst +++ b/README.rst @@ -85,6 +85,7 @@ This library has the following exports: * ``(default)``: The footer as a React component. * ``messages``: Internationalization messages suitable for use with `@edx/frontend-platform/i18n `_ * ``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. +* ``FooterSlot``: The footer wrapped in a `Frontend Plugin Framework `_ ``PluginSlot``.