Skip to content

Commit

Permalink
chore: update paragon
Browse files Browse the repository at this point in the history
  • Loading branch information
asadiqbal08 authored and regisb committed Dec 20, 2021
1 parent 76e83cc commit 131096b
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 328 deletions.
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@
"dependencies": {
"@edx/brand": "npm:@edx/[email protected]",
"@edx/frontend-component-footer": "10.1.6",
"@edx/frontend-enterprise-utils": "1.1.0",
"@edx/frontend-lib-special-exams": "1.13.3",
"@edx/frontend-platform": "1.12.7",
"@edx/paragon": "16.14.9",
"@edx/frontend-enterprise-utils": "1.1.1",
"@edx/frontend-lib-special-exams": "1.14.1",
"@edx/frontend-platform": "1.14.3",
"@edx/paragon": "16.19.0",
"@edx/frontend-component-header": "^2.4.2",
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-brands-svg-icons": "5.15.4",
"@fortawesome/free-regular-svg-icons": "5.15.4",
Expand Down
34 changes: 0 additions & 34 deletions src/course-header/AnonymousUserMenu.jsx

This file was deleted.

76 changes: 0 additions & 76 deletions src/course-header/AuthenticatedUserDropdown.jsx

This file was deleted.

99 changes: 0 additions & 99 deletions src/course-header/Header.jsx

This file was deleted.

29 changes: 0 additions & 29 deletions src/course-header/Header.test.jsx

This file was deleted.

46 changes: 0 additions & 46 deletions src/course-header/messages.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/course-home/goal-unsubscribe/GoalUnsubscribe.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { useParams } from 'react-router-dom';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import { Header } from '../../course-header';
import { LearningHeader as Header } from '@edx/frontend-component-header';
import PageLoading from '../../generic/PageLoading';
import { unsubscribeFromCourseGoal } from '../data/api';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/course-header/index.js → src/course-tabs/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as Header } from './Header';
/* eslint-disable import/prefer-default-export */
export { default as CourseTabsNavigation } from './CourseTabsNavigation';
11 changes: 11 additions & 0 deletions src/course-tabs/messages.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineMessages } from '@edx/frontend-platform/i18n';

const messages = defineMessages({
courseMaterial: {
id: 'learn.navigation.course.tabs.label',
defaultMessage: 'Course Material',
description: 'The accessible label for course tabs navigation',
},
});

export default messages;
2 changes: 1 addition & 1 deletion src/courseware/CoursewareContainer.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ describe('CoursewareContainer', () => {
const courseId = defaultCourseId;

function assertLoadedHeader(container) {
const courseHeader = container.querySelector('.course-header');
const courseHeader = container.querySelector('.learning-header');
// Ensure the course number and org appear - this proves we loaded course metadata properly.
expect(courseHeader).toHaveTextContent(courseMetadata.number);
expect(courseHeader).toHaveTextContent(courseMetadata.org);
Expand Down
10 changes: 0 additions & 10 deletions src/generic/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ const messages = defineMessages({
defaultMessage: 'register',
description: 'Text in a link, prompting the user to create an account. Used in "learning.logistration.alert"',
},
registerSentenceCase: {
id: 'general.register.sentenceCase',
defaultMessage: 'Register',
description: 'Text in a button, prompting the user to register.',
},
signInLowercase: {
id: 'learning.logistration.login', // ID left for historical purposes
defaultMessage: 'sign in',
description: 'Text in a link, prompting the user to log in. Used in "learning.logistration.alert"',
},
signInSentenceCase: {
id: 'general.signIn.sentenceCase',
defaultMessage: 'Sign in',
Expand Down
Loading

0 comments on commit 131096b

Please sign in to comment.