Skip to content

Commit ea2578f

Browse files
brian-smith-tcrilarbrandes
authored andcommitted
fix!: remove FooterSlot component
BREAKING CHANGE: the `FooterSlot` component will now be provided by `frontend-slot-footer`.
1 parent 5f7fab2 commit ea2578f

File tree

8 files changed

+3
-76
lines changed

8 files changed

+3
-76
lines changed

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ This library has the following exports:
8585
* ``(default)``: The footer as a React component.
8686
* ``messages``: Internationalization messages suitable for use with `@edx/frontend-platform/i18n <https://edx.github.io/frontend-platform/module-Internationalization.html>`_
8787
* ``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.
88-
* ``FooterSlot``: The footer wrapped in a `Frontend Plugin Framework <https://github.com/openedx/frontend-plugin-framework>`_ ``PluginSlot``.
8988

9089
<Footer /> component props
9190
==========================
@@ -96,9 +95,9 @@ This library has the following exports:
9695

9796
Plugin
9897
======
99-
This package provides a wrapped version of the footer using `Frontend Plugin Framework <https://github.com/openedx/frontend-plugin-framework>`_.
98+
The footer can be replaced using using `Frontend Plugin Framework <https://github.com/openedx/frontend-plugin-framework>`_.
10099

101-
Information on how to utilize the ``FooterSlot`` is available `here </src/components/footer-slot>`_.
100+
Information on how to utilize the ``FooterSlot`` component to do so is available in the `frontend-slot-footer repository <https://github.com/openedx/frontend-slot-footer/>`_.
102101

103102
Examples
104103
========

package-lock.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,9 @@
6565
},
6666
"peerDependencies": {
6767
"@edx/frontend-platform": "^7.0.0 || ^8.0.0",
68-
"@openedx/frontend-plugin-framework": "^1.1.2",
6968
"@openedx/paragon": ">= 21.11.3 < 23.0.0",
7069
"prop-types": "^15.5.10",
7170
"react": "^16.9.0 || ^17.0.0",
7271
"react-dom": "^16.9.0 || ^17.0.0"
73-
},
74-
"peerDependenciesMeta": {
75-
"@openedx/frontend-plugin-framework": {
76-
"optional": true
77-
}
7872
}
7973
}

src/components/footer-slot/README.md

Lines changed: 0 additions & 48 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

src/components/footer-slot/index.jsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import Footer, { EVENT_NAMES } from './components/Footer';
22
import messages from './i18n/index';
33
import StudioFooter from './components/studio-footer';
4-
import FooterSlot from './components/footer-slot';
54

65
export default Footer;
76
export {
8-
messages, EVENT_NAMES, StudioFooter, FooterSlot,
7+
messages, EVENT_NAMES, StudioFooter,
98
};

0 commit comments

Comments
 (0)