Compare commits
2 Commits
split-full
...
feanil/upd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5134ddee38 | ||
|
|
d8f65703d1 |
2770
package-lock.json
generated
2770
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,7 @@
|
|||||||
"@edx/frontend-component-footer": "12.5.0",
|
"@edx/frontend-component-footer": "12.5.0",
|
||||||
"@edx/frontend-component-header": "4.8.0",
|
"@edx/frontend-component-header": "4.8.0",
|
||||||
"@edx/frontend-platform": "6.0.2",
|
"@edx/frontend-platform": "6.0.2",
|
||||||
"@edx/paragon": "21.5.3",
|
"@openedx/paragon": "^21.5.7",
|
||||||
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
||||||
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
||||||
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@edx/browserslist-config": "1.2.0",
|
"@edx/browserslist-config": "1.2.0",
|
||||||
"@edx/frontend-build": "13.0.3",
|
"@edx/frontend-build": "git://github.com/openedx/frontend-build.git#feanil/exclude_openedx",
|
||||||
"@edx/reactifex": "1.1.0",
|
"@edx/reactifex": "1.1.0",
|
||||||
"@testing-library/jest-dom": "5.17.0",
|
"@testing-library/jest-dom": "5.17.0",
|
||||||
"@testing-library/react": "12.1.5",
|
"@testing-library/react": "12.1.5",
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ import {
|
|||||||
} from '@edx/frontend-platform/i18n';
|
} from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Button, Hyperlink, Icon, Alert,
|
Button, Hyperlink, Icon, Alert,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { CheckCircle, Error, WarningFilled } from '@edx/paragon/icons';
|
import { CheckCircle, Error, WarningFilled } from '@openedx/paragon/icons';
|
||||||
|
|
||||||
import messages from './AccountSettingsPage.messages';
|
import messages from './AccountSettingsPage.messages';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||||||
import { AppContext } from '@edx/frontend-platform/react';
|
import { AppContext } from '@edx/frontend-platform/react';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { Button, Hyperlink } from '@edx/paragon';
|
import { Button, Hyperlink } from '@openedx/paragon';
|
||||||
|
|
||||||
import { betaLanguageBannerSelector } from './data/selectors';
|
import { betaLanguageBannerSelector } from './data/selectors';
|
||||||
import messages from './AccountSettingsPage.messages';
|
import messages from './AccountSettingsPage.messages';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
|
|||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Form, StatefulButton, ModalDialog, ActionRow, useToggle, Button,
|
Form, StatefulButton, ModalDialog, ActionRow, useToggle, Button,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import React, { useCallback, useEffect, useState } from 'react';
|
import React, { useCallback, useEffect, useState } from 'react';
|
||||||
import { connect, useDispatch } from 'react-redux';
|
import { connect, useDispatch } from 'react-redux';
|
||||||
import messages from './AccountSettingsPage.messages';
|
import messages from './AccountSettingsPage.messages';
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Button, Form, StatefulButton,
|
Button, Form, StatefulButton,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { connect } from 'react-redux';
|
|||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Button, Form, StatefulButton,
|
Button, Form, StatefulButton,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { connect } from 'react-redux';
|
|||||||
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Button, StatefulButton, Form,
|
Button, StatefulButton, Form,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import { faExclamationTriangle, faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
import { faExclamationTriangle, faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { breakpoints, useWindowSize, Icon } from '@edx/paragon';
|
import { breakpoints, useWindowSize, Icon } from '@openedx/paragon';
|
||||||
import { OpenInNew } from '@edx/paragon/icons';
|
import { OpenInNew } from '@openedx/paragon/icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { Alert } from '@edx/paragon';
|
import { Alert } from '@openedx/paragon';
|
||||||
|
|
||||||
const OneTimeDismissibleAlert = (props) => {
|
const OneTimeDismissibleAlert = (props) => {
|
||||||
const [dismissed, setDismissed] = useState(localStorage.getItem(props.id) !== 'true');
|
const [dismissed, setDismissed] = useState(localStorage.getItem(props.id) !== 'true');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { TransitionReplace } from '@edx/paragon';
|
import { TransitionReplace } from '@openedx/paragon';
|
||||||
|
|
||||||
const onChildExit = (htmlNode) => {
|
const onChildExit = (htmlNode) => {
|
||||||
// If the leaving child has focus, take control and redirect it
|
// If the leaving child has focus, take control and redirect it
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
Form,
|
Form,
|
||||||
ModalDialog,
|
ModalDialog,
|
||||||
StatefulButton,
|
StatefulButton,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||||||
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import { Hyperlink } from '@edx/paragon';
|
import { Hyperlink } from '@openedx/paragon';
|
||||||
|
|
||||||
// Messages
|
// Messages
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|||||||
import {
|
import {
|
||||||
AlertModal,
|
AlertModal,
|
||||||
Button, Input, ValidationFormGroup, ActionRow,
|
Button, Input, ValidationFormGroup, ActionRow,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { faExclamationCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
import { faExclamationCircle, faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { Button, Hyperlink } from '@edx/paragon';
|
import { Button, Hyperlink } from '@openedx/paragon';
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink } from '@edx/paragon';
|
import { Hyperlink } from '@openedx/paragon';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { ModalLayer, ModalCloseButton } from '@edx/paragon';
|
import { ModalLayer, ModalCloseButton } from '@openedx/paragon';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Form } from '@edx/paragon';
|
import { Form } from '@openedx/paragon';
|
||||||
import { DECLINED } from '../data/constants';
|
import { DECLINED } from '../data/constants';
|
||||||
|
|
||||||
const Checkboxes = (props) => {
|
const Checkboxes = (props) => {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
intlShape,
|
intlShape,
|
||||||
} from '@edx/frontend-platform/i18n';
|
} from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
import { Hyperlink, Form } from '@edx/paragon';
|
import { Hyperlink, Form } from '@openedx/paragon';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
Form,
|
Form,
|
||||||
ModalDialog,
|
ModalDialog,
|
||||||
StatefulButton,
|
StatefulButton,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
|
|
||||||
import { closeForm, saveSettingsReset } from '../data/actions';
|
import { closeForm, saveSettingsReset } from '../data/actions';
|
||||||
import { nameChangeSelector } from '../data/selectors';
|
import { nameChangeSelector } from '../data/selectors';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink } from '@edx/paragon';
|
import { Hyperlink } from '@openedx/paragon';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import { StatefulButton } from '@edx/paragon';
|
import { StatefulButton } from '@openedx/paragon';
|
||||||
|
|
||||||
import { resetPassword } from './data/actions';
|
import { resetPassword } from './data/actions';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, StatefulButton } from '@edx/paragon';
|
import { Hyperlink, StatefulButton } from '@openedx/paragon';
|
||||||
|
|
||||||
import Alert from '../Alert';
|
import Alert from '../Alert';
|
||||||
import { disconnectAuth } from './data/actions';
|
import { disconnectAuth } from './data/actions';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { messages as headerMessages } from '@edx/frontend-component-header';
|
import { messages as headerMessages } from '@edx/frontend-component-header';
|
||||||
import { messages as footerMessages } from '@edx/frontend-component-footer';
|
import { messages as footerMessages } from '@edx/frontend-component-footer';
|
||||||
import { messages as paragonMessages } from '@edx/paragon';
|
import { messages as paragonMessages } from '@openedx/paragon';
|
||||||
import arMessages from './messages/ar.json';
|
import arMessages from './messages/ar.json';
|
||||||
import deMessages from './messages/de.json';
|
import deMessages from './messages/de.json';
|
||||||
import es419Messages from './messages/es_419.json';
|
import es419Messages from './messages/es_419.json';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
|||||||
import * as blazeface from '@tensorflow-models/blazeface';
|
import * as blazeface from '@tensorflow-models/blazeface';
|
||||||
import CameraPhoto, { FACING_MODES } from 'jslib-html5-camera-photo';
|
import CameraPhoto, { FACING_MODES } from 'jslib-html5-camera-photo';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { Form, Spinner } from '@edx/paragon';
|
import { Form, Spinner } from '@openedx/paragon';
|
||||||
|
|
||||||
import shutter from './data/camera-shutter.base64.json';
|
import shutter from './data/camera-shutter.base64.json';
|
||||||
import messages from './IdVerification.messages';
|
import messages from './IdVerification.messages';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Collapsible } from '@edx/paragon';
|
import { Collapsible } from '@openedx/paragon';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState, useContext } from 'react';
|
import React, { useState, useContext } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Collapsible } from '@edx/paragon';
|
import { Collapsible } from '@openedx/paragon';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useContext } from 'react';
|
import React, { useContext } from 'react';
|
||||||
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { Button, Collapsible } from '@edx/paragon';
|
import { Button, Collapsible } from '@openedx/paragon';
|
||||||
|
|
||||||
import IdVerificationContext from './IdVerificationContext';
|
import IdVerificationContext from './IdVerificationContext';
|
||||||
import messages from './IdVerification.messages';
|
import messages from './IdVerification.messages';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
import camelCase from 'lodash.camelcase';
|
import camelCase from 'lodash.camelcase';
|
||||||
import qs from 'qs';
|
import qs from 'qs';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import { Button, ModalDialog, ActionRow } from '@edx/paragon';
|
import { Button, ModalDialog, ActionRow } from '@openedx/paragon';
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { idVerificationSelector } from './data/selectors';
|
import { idVerificationSelector } from './data/selectors';
|
||||||
import './getUserMediaShim';
|
import './getUserMediaShim';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useCallback, useState } from 'react';
|
import React, { useCallback, useState } from 'react';
|
||||||
import { intlShape } from '@edx/frontend-platform/i18n';
|
import { intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Alert } from '@edx/paragon';
|
import { Alert } from '@openedx/paragon';
|
||||||
import messages from './IdVerification.messages';
|
import messages from './IdVerification.messages';
|
||||||
import SupportedMediaTypes from './SupportedMediaTypes';
|
import SupportedMediaTypes from './SupportedMediaTypes';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, {
|
import React, {
|
||||||
useContext, useEffect, useRef,
|
useContext, useEffect, useRef,
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import { Form } from '@edx/paragon';
|
import { Form } from '@openedx/paragon';
|
||||||
import { Link, useNavigate, useLocation } from 'react-router-dom';
|
import { Link, useNavigate, useLocation } from 'react-router-dom';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
|
|||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import { Alert, Hyperlink } from '@edx/paragon';
|
import { Alert, Hyperlink } from '@openedx/paragon';
|
||||||
|
|
||||||
import { useNextPanelSlug } from '../routing-utilities';
|
import { useNextPanelSlug } from '../routing-utilities';
|
||||||
import BasePanel from './BasePanel';
|
import BasePanel from './BasePanel';
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React, { useState, useContext, useEffect } from 'react';
|
|||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import {
|
import {
|
||||||
Alert, Hyperlink, Form, Button, Spinner,
|
Alert, Hyperlink, Form, Button, Spinner,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { Link, useNavigate } from 'react-router-dom';
|
import { Link, useNavigate } from 'react-router-dom';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape, FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ $fa-font-path: "~font-awesome/fonts";
|
|||||||
|
|
||||||
@import "~@edx/brand/paragon/fonts";
|
@import "~@edx/brand/paragon/fonts";
|
||||||
@import "~@edx/brand/paragon/variables";
|
@import "~@edx/brand/paragon/variables";
|
||||||
@import "~@edx/paragon/scss/core/core";
|
@import "~@openedx/paragon/scss/core/core";
|
||||||
@import "~@edx/brand/paragon/overrides";
|
@import "~@edx/brand/paragon/overrides";
|
||||||
@import "~@edx/frontend-component-header/dist/index";
|
@import "~@edx/frontend-component-header/dist/index";
|
||||||
@import "~@edx/frontend-component-footer/dist/footer";
|
@import "~@edx/frontend-component-footer/dist/footer";
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import { Link } from 'react-router-dom';
|
|||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Container, Icon, Spinner, Button,
|
Container, Icon, Spinner, Button,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { ArrowForwardIos } from '@edx/paragon/icons';
|
import { ArrowForwardIos } from '@openedx/paragon/icons';
|
||||||
import { fetchCourseList } from './data/thunks';
|
import { fetchCourseList } from './data/thunks';
|
||||||
import { selectCourseListStatus, selectCourseList, selectPagination } from './data/selectors';
|
import { selectCourseListStatus, selectCourseList, selectPagination } from './data/selectors';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React, { useCallback, useMemo } from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
import { useIntl } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Collapsible } from '@edx/paragon';
|
import { Collapsible } from '@openedx/paragon';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
import ToggleSwitch from './ToggleSwitch';
|
import ToggleSwitch from './ToggleSwitch';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import PropTypes from 'prop-types';
|
|||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
import { useIntl } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Icon, OverlayTrigger, Tooltip } from '@edx/paragon';
|
import { Icon, OverlayTrigger, Tooltip } from '@openedx/paragon';
|
||||||
import { InfoOutline } from '@edx/paragon/icons';
|
import { InfoOutline } from '@openedx/paragon/icons';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
import ToggleSwitch from './ToggleSwitch';
|
import ToggleSwitch from './ToggleSwitch';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import { Link, useParams } from 'react-router-dom';
|
|||||||
import { useIntl } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Container, Icon, Spinner, Hyperlink,
|
Container, Icon, Spinner, Hyperlink,
|
||||||
} from '@edx/paragon';
|
} from '@openedx/paragon';
|
||||||
import { ArrowBack } from '@edx/paragon/icons';
|
import { ArrowBack } from '@openedx/paragon/icons';
|
||||||
import {
|
import {
|
||||||
selectCourseListStatus,
|
selectCourseListStatus,
|
||||||
selectCourse,
|
selectCourse,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Form } from '@edx/paragon';
|
import { Form } from '@openedx/paragon';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user