mirror of https://github.com/apache/superset.git
chore: Moves Radio to the components folder (#14133)
This commit is contained in:
parent
8441590812
commit
d1b458c4c5
|
@ -21,7 +21,7 @@ import { shallow } from 'enzyme';
|
|||
import configureStore from 'redux-mock-store';
|
||||
import fetchMock from 'fetch-mock';
|
||||
import thunk from 'redux-thunk';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
|
||||
import Icon from 'src/components/Icon';
|
||||
import Tabs from 'src/common/components/Tabs';
|
||||
|
|
|
@ -25,7 +25,7 @@ import { Provider } from 'react-redux';
|
|||
import { shallow } from 'enzyme';
|
||||
import { styledMount as mount } from 'spec/helpers/theming';
|
||||
import { FormControl } from 'react-bootstrap';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import Button from 'src/components/Button';
|
||||
import sinon from 'sinon';
|
||||
import fetchMock from 'fetch-mock';
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
import React from 'react';
|
||||
import { shallow } from 'enzyme';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { AutoComplete, Input } from 'src/common/components';
|
||||
import { SaveDatasetModal } from 'src/SqlLab/components/SaveDatasetModal';
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ import { act } from 'react-dom/test-utils';
|
|||
import AlertReportModal from 'src/views/CRUD/alert/AlertReportModal';
|
||||
import Modal from 'src/components/Modal';
|
||||
import { AsyncSelect, NativeGraySelect as Select } from 'src/components/Select';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Switch } from 'src/components/Switch';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import TextAreaControl from 'src/explore/components/controls/TextAreaControl';
|
||||
import waitForComponentToPaint from 'spec/helpers/waitForComponentToPaint';
|
||||
import { styledMount as mount } from 'spec/helpers/theming';
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import { AutoCompleteProps } from 'antd/lib/auto-complete';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { AutoComplete, Input } from 'src/common/components';
|
||||
import StyledModal from 'src/components/Modal';
|
||||
import Button from 'src/components/Button';
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
import React from 'react';
|
||||
import { FormControl, FormGroup } from 'react-bootstrap';
|
||||
import { RadioChangeEvent } from 'src/common/components';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import Button from 'src/components/Button';
|
||||
import { t, CategoricalColorNamespace, JsonResponse } from '@superset-ui/core';
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
import React, { FC } from 'react';
|
||||
import { t, styled } from '@superset-ui/core';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { Form, Typography } from 'src/common/components';
|
||||
import { Scope } from '../../../types';
|
||||
import { Scoping } from './types';
|
||||
|
|
|
@ -20,7 +20,7 @@ import React from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
import { Col } from 'react-bootstrap';
|
||||
import Card from 'src/common/components/Card';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import Alert from 'src/components/Alert';
|
||||
import Badge from 'src/components/Badge';
|
||||
import shortid from 'shortid';
|
||||
|
|
|
@ -22,8 +22,8 @@ import { FormControl, FormGroup } from 'react-bootstrap';
|
|||
import Alert from 'src/components/Alert';
|
||||
import { JsonObject, t, styled } from '@superset-ui/core';
|
||||
import ReactMarkdown from 'react-markdown';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import Modal from 'src/components/Modal';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import Button from 'src/components/Button';
|
||||
import FormLabel from 'src/components/FormLabel';
|
||||
import { CreatableSelect } from 'src/components/Select';
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
import React from 'react';
|
||||
import { t } from '@superset-ui/core';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import {
|
||||
CALENDAR_RANGE_OPTIONS,
|
||||
CALENDAR_RANGE_SET,
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
import React from 'react';
|
||||
import { t } from '@superset-ui/core';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import {
|
||||
COMMON_RANGE_OPTIONS,
|
||||
COMMON_RANGE_SET,
|
||||
|
|
|
@ -22,7 +22,7 @@ import { Moment } from 'moment';
|
|||
import { isInteger } from 'lodash';
|
||||
import { Col, InputNumber, Row } from 'src/common/components';
|
||||
import { DatePicker } from 'src/components/DatePicker';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { Select } from 'src/components/Select';
|
||||
import { InfoTooltipWithTrigger } from '@superset-ui/chart-controls';
|
||||
import {
|
||||
|
|
|
@ -24,7 +24,7 @@ import { useSingleViewResource } from 'src/views/CRUD/hooks';
|
|||
import Icon from 'src/components/Icon';
|
||||
import { Switch } from 'src/components/Switch';
|
||||
import Modal from 'src/components/Modal';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { AsyncSelect, NativeGraySelect as Select } from 'src/components/Select';
|
||||
import { FeatureFlag, isFeatureEnabled } from 'src/featureFlags';
|
||||
import withToasts from 'src/messageToasts/enhancers/withToasts';
|
||||
|
|
|
@ -20,7 +20,7 @@ import React, { useState, useCallback, useRef, FunctionComponent } from 'react';
|
|||
import { t, useTheme } from '@superset-ui/core';
|
||||
|
||||
import { Input, AntdInput } from 'src/common/components';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { Radio } from 'src/components/Radio';
|
||||
import { CronPicker, CronError } from 'src/components/CronPicker';
|
||||
import { StyledInputContainer } from 'src/views/CRUD/alert/AlertReportModal';
|
||||
|
||||
|
|
Loading…
Reference in New Issue