Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: major paragon version upgrade #292

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
722 changes: 401 additions & 321 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@edx/frontend-component-footer": "^11.1.1",
"@edx/frontend-component-header": "^3.1.1",
"@edx/frontend-platform": "2.5.0",
"@edx/paragon": "19.6.0",
"@edx/paragon": "^20.20.0",
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-brands-svg-icons": "^5.11.2",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`PercentGroup Component snapshots basic snapshot 1`] = `
</FormLabel>
<ForwardRef
as="input"
autoResize={false}
disabled={false}
max={100}
min={0}
Expand Down Expand Up @@ -52,6 +53,7 @@ exports[`PercentGroup Component snapshots disabled 1`] = `
</FormLabel>
<ForwardRef
as="input"
autoResize={false}
disabled={true}
max={100}
min={0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`SelectGroup Component snapshots basic snapshot 1`] = `
</FormLabel>
<ForwardRef
as="select"
autoResize={false}
disabled={false}
onChange={[MockFunction props.onChange]}
plaintext={false}
Expand Down Expand Up @@ -62,6 +63,7 @@ exports[`SelectGroup Component snapshots disabled 1`] = `
</FormLabel>
<ForwardRef
as="select"
autoResize={false}
disabled={true}
onChange={[MockFunction props.onChange]}
plaintext={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ exports[`EditModal Component snapshots gradeOverrideHistoryError is and empty an
<div>
<ModalHeaders />
<ForwardRef
closeLabel="Dismiss"
dismissible={false}
onClose={[Function]}
show={true}
Expand Down Expand Up @@ -157,7 +156,6 @@ exports[`EditModal Component snapshots gradeOverrideHistoryError is empty and op
<div>
<ModalHeaders />
<ForwardRef
closeLabel="Dismiss"
dismissible={false}
onClose={[Function]}
show={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ exports[`ImportGradesButton component snapshot snapshot - loads export form w/ a
>
<ForwardRef
as="input"
autoResize={false}
className="d-none"
label={
<FormattedMessage
Expand Down
3 changes: 2 additions & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@edx/frontend-platform';
import { messages as headerMessages } from '@edx/frontend-component-header';
import { messages as footerMessages } from '@edx/frontend-component-footer';

import { messages as paragonMessages } from '@edx/paragon';
import appMessages from './i18n';
import App from './App';

Expand Down Expand Up @@ -41,6 +41,7 @@ initialize({
appMessages,
headerMessages,
footerMessages,
paragonMessages,
],
requireAuthenticatedUser: true,
});
4 changes: 2 additions & 2 deletions src/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@edx/frontend-platform';
import { messages as headerMessages } from '@edx/frontend-component-header';
import { messages as footerMessages } from '@edx/frontend-component-footer';

import { messages as paragonMessages } from '@edx/paragon';
import appMessages from './i18n';
import App from './App';
import '.';
Expand Down Expand Up @@ -50,7 +50,7 @@ describe('app registry', () => {
});
test('initialize is called with requireAuthenticatedUser, messages, and a config handler', () => {
expect(initialize).toHaveBeenCalledWith({
messages: [appMessages, headerMessages, footerMessages],
messages: [appMessages, headerMessages, footerMessages, paragonMessages],
requireAuthenticatedUser: true,
handlers: {
config: expect.any(Function),
Expand Down