Skip to content

Commit 1f3f8ab

Browse files
committed
refactor: change full to fullWidth in footer and header
1 parent 491bc7a commit 1f3f8ab

File tree

5 files changed

+21
-22
lines changed

5 files changed

+21
-22
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"@dnd-kit/sortable": "^8.0.0",
4848
"@dnd-kit/utilities": "^3.2.2",
4949
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.3",
50-
"@edx/frontend-component-footer": "git+ssh://github.com/open-craft/frontend-component-footer#335ad6d0b09b868bced3f9988dd355666e54a50c",
51-
"@edx/frontend-component-header": "git+ssh://github.com/open-craft/frontend-component-header#8aefc103cbe8ba59b1df96bf0aa3bce406b6d38e",
50+
"@edx/frontend-component-footer": "git+ssh://github.com/open-craft/frontend-component-footer#5daf1acdc56b9b7426fb9e2fe772efb9a54431ab",
51+
"@edx/frontend-component-header": "git+ssh://github.com/open-craft/frontend-component-header#f764d85bacb1d25c1c57823bb80fea2e24160b75",
5252
"@edx/frontend-enterprise-hotjar": "^2.0.0",
5353
"@edx/frontend-platform": "^8.0.3",
5454
"@edx/openedx-atlas": "^0.6.0",
@@ -63,7 +63,7 @@
6363
"@openedx-plugins/course-app-wiki": "file:plugins/course-apps/wiki",
6464
"@openedx-plugins/course-app-xpert_unit_summary": "file:plugins/course-apps/xpert_unit_summary",
6565
"@openedx/frontend-plugin-framework": "^1.2.1",
66-
"@openedx/paragon": "git+ssh://github.com/open-craft/paragon#0e0a66a794fbb6ccf61f7afa9264e096f132cd1b",
66+
"@openedx/paragon": "git+ssh://github.com/open-craft/paragon#d5642191a21d532cd6fbe13519dfecd9e1518601",
6767
"@redux-devtools/extension": "^3.3.0",
6868
"@reduxjs/toolkit": "1.9.7",
6969
"@tanstack/react-query": "4.36.1",

src/header/Header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface HeaderProps {
1717
title?: string,
1818
isHiddenMainMenu?: boolean,
1919
isLibrary?: boolean,
20-
full?: boolean,
20+
fullWidth?: boolean,
2121
}
2222

2323
const Header = ({
@@ -27,7 +27,7 @@ const Header = ({
2727
title = '',
2828
isHiddenMainMenu = false,
2929
isLibrary = false,
30-
full,
30+
fullWidth,
3131
}: HeaderProps) => {
3232
const intl = useIntl();
3333
const libraryHref = useHref('/library/:libraryId');
@@ -67,7 +67,7 @@ const Header = ({
6767
mainMenuDropdowns={mainMenuDropdowns}
6868
outlineLink={outlineLink}
6969
searchButtonAction={meiliSearchEnabled ? openSearchModal : undefined}
70-
full={full}
70+
fullWidth={fullWidth}
7171
/>
7272
{ meiliSearchEnabled && (
7373
<SearchModal

src/library-authoring/LibraryAuthoringPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const LibraryAuthoringPage = () => {
158158
org={libraryData.org}
159159
contextId={libraryId}
160160
isLibrary
161-
full
161+
fullWidth
162162
/>
163163
<Container className="px-4 mt-4 mb-5 library-authoring-page">
164164
<SearchContextProvider
@@ -213,7 +213,7 @@ const LibraryAuthoringPage = () => {
213213
</Routes>
214214
</SearchContextProvider>
215215
</Container>
216-
<StudioFooter full />
216+
<StudioFooter fullWidth />
217217
</div>
218218
{ !!sidebarBodyComponent && (
219219
<div className="library-authoring-sidebar box-shadow-left-1 bg-white" data-testid="library-sidebar">

src/library-authoring/components/LibraryComponents.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { useEffect, useMemo } from 'react';
2-
import { Container } from '@openedx/paragon';
32

43
import { useSearchContext } from '../../search-manager';
54
import { NoComponents, NoSearchResults } from '../EmptyStates';

0 commit comments

Comments
 (0)