Skip to content

Commit

Permalink
build: major version upgrade of paragon
Browse files Browse the repository at this point in the history
  • Loading branch information
mashal-m committed Jan 6, 2023
1 parent 011737b commit b49a7c4
Show file tree
Hide file tree
Showing 8 changed files with 331 additions and 179 deletions.
494 changes: 321 additions & 173 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 @@ -32,7 +32,7 @@
"@edx/frontend-component-footer": "^11.1.1",
"@edx/frontend-component-header": "^3.1.1",
"@edx/frontend-platform": "2.5.0",
"@edx/paragon": "^19.25.4",
"@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 @@ -19,7 +19,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 @@ -133,7 +132,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

0 comments on commit b49a7c4

Please sign in to comment.