Skip to content

Commit

Permalink
chore: Update to the new version of paragon in the new scope.
Browse files Browse the repository at this point in the history
Part of openedx/axim-engineering#23

This replaces the `@edx/paragon` packag to point to the `paragon` package at
the `openedx` scope(`@openedx/paragon`). Imports have been updated to use the
same locations in the new package.
  • Loading branch information
feanil committed Dec 7, 2023
1 parent 4012e00 commit 388d850
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Alert } from '@edx/paragon';
import { Alert } from '@openedx/paragon';
import WaitingStepList from './WaitingStepList';

const WaitingStepContent = ({ waitingStepDetails, refreshData }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import moment from 'moment';
import PropTypes from 'prop-types';
import { Button, DataTable } from '@edx/paragon';
import { Button, DataTable } from '@openedx/paragon';

const getReadableTime = (timestamp) => moment(timestamp).fromNow(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IntlProvider } from 'react-intl';
import PropTypes from 'prop-types';
import {
Alert, Container, Row, Spinner,
} from '@edx/paragon';
} from '@openedx/paragon';
import { fetchWaitingStepDetails } from '../api/waiting_step_details';
import WaitingStepContent from '../components/WaitingStepContent';

Expand Down
2 changes: 1 addition & 1 deletion openassessment/xblock/static/sass/_openassessment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@
// This "namespaces" the paragon classes so that they don't conflict with
// the version being used in the LMS
.paragon-styles {
@import '@edx/paragon/scss/core/core.scss';
@import '@openedx/paragon/scss/core/core.scss';
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"repository": "https://github.com/openedx/edx-ora2.git",
"dependencies": {
"@edx/frontend-build": "8.0.6",
"@edx/paragon": "^20.9.2",
"@openedx/paragon": "^21.5.7",
"backbone": "^1.2.3",
"backgrid": "~0.3.8",
"dotenv-webpack": "^7.0.3",
Expand Down

0 comments on commit 388d850

Please sign in to comment.