Skip to content

Commit

Permalink
refactor: replace @edx/paragon with @openedx/paragon
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed May 10, 2024
1 parent 212dd5b commit e909587
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/containers/ListView/SubmissionsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
MultiSelectDropdownFilter,
Button,
Hyperlink,
} from '@edx/paragon';
} from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import { gradingStatuses, submissionFields } from 'data/services/lms/constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';

import { Col, Row } from '@edx/paragon';
import { Col, Row } from '@openedx/paragon';

import { selectors } from 'data/redux';
import { RequestKeys } from 'data/constants/requests';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@edx/paragon/scss/core/core";
@import "@openedx/paragon/scss/core/core";

.review-step-problems-modal-body {
background-color: $gray-300 !important;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@edx/paragon/scss/core/core";
@import "@openedx/paragon/scss/core/core";

// action reviews
.review-actions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { ActionRow } from '@edx/paragon';
import { ActionRow } from '@openedx/paragon';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react';
import {
Row, Button, DataTable, Hyperlink,
} from '@edx/paragon';
} from '@openedx/paragon';

import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import PropTypes from 'prop-types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DataTable,
Hyperlink,
Button,
} from '@edx/paragon';
} from '@openedx/paragon';

import messages from './messages';
import { AssessmentsTable } from '.';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import { Alert } from '@edx/paragon';
import { Info } from '@edx/paragon/icons';
import { Alert } from '@openedx/paragon';
import { Info } from '@openedx/paragon/icons';

export const ErrorMessage = ({ title, message }) => (
<Alert
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { shallow } from '@edx/react-unit-test-utils';
import { Alert } from '@edx/paragon';
import { Info } from '@edx/paragon/icons';
import { Alert } from '@openedx/paragon';
import { Info } from '@openedx/paragon/icons';
import ErrorMessage from '.';

describe('ErrorMessage component', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import PropTypes from 'prop-types';
import {
Collapsible,
Icon,
} from '@edx/paragon';
} from '@openedx/paragon';
import {
KeyboardArrowDown, KeyboardArrowUp,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';

export const ResponseItem = ({ title, response }) => (
<Collapsible.Advanced className="collapsible-card mb-3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { connect } from 'react-redux';

import {
Col, Row, Button,
} from '@edx/paragon';
} from '@openedx/paragon';
import {
BsMicrosoft, FormatListBulleted,
} from '@edx/paragon/icons';
} from '@openedx/paragon/icons';
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import { actions, selectors } from 'data/redux';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useSelector } from 'react-redux';

import { Cancel, Highlight } from '@edx/paragon/icons';
import { Cancel, Highlight } from '@openedx/paragon/icons';

import { selectors, thunkActions } from 'data/redux';
import { RequestKeys } from 'data/constants/requests';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useDispatch } from 'react-redux';

import { Button } from '@edx/paragon';
import { Button } from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import StopGradingConfirmModal from '../StopGradingConfirmModal';
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ReviewProblemStepsModal/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useDispatch } from 'react-redux';

import { FullscreenModal } from '@edx/paragon';
import { FullscreenModal } from '@openedx/paragon';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';

import LoadingMessage from 'components/LoadingMessage';
Expand Down

0 comments on commit e909587

Please sign in to comment.