From 42fb2286ad28f44fed0059a3e44ffffed309dd71 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Tue, 20 Apr 2021 12:48:28 -0300 Subject: [PATCH] chore: Moves Dropdown to the components folder (#14126) --- superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx | 2 +- superset-frontend/src/common/components/common.stories.tsx | 2 +- .../src/{common => }/components/Dropdown/Dropdown.stories.tsx | 0 .../src/{common => }/components/Dropdown/index.tsx | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename superset-frontend/src/{common => }/components/Dropdown/Dropdown.stories.tsx (100%) rename superset-frontend/src/{common => }/components/Dropdown/index.tsx (100%) diff --git a/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx b/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx index 1bedafd211..47ae237cad 100644 --- a/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx +++ b/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx @@ -19,7 +19,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { EditableTabs } from 'src/common/components/Tabs'; -import { Dropdown } from 'src/common/components/Dropdown'; +import { Dropdown } from 'src/components/Dropdown'; import { Menu } from 'src/common/components'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; diff --git a/superset-frontend/src/common/components/common.stories.tsx b/superset-frontend/src/common/components/common.stories.tsx index 3ae33ee552..b4356d8b08 100644 --- a/superset-frontend/src/common/components/common.stories.tsx +++ b/superset-frontend/src/common/components/common.stories.tsx @@ -22,9 +22,9 @@ import { withKnobs, boolean } from '@storybook/addon-knobs'; import { CronPicker, CronError } from 'src/components/CronPicker'; import Modal from 'src/components/Modal'; import InfoTooltip from 'src/components/InfoTooltip'; +import { Dropdown } from 'src/components/Dropdown'; import Tabs, { EditableTabs } from './Tabs'; import { Menu, Input, Divider } from '.'; -import { Dropdown } from './Dropdown'; export default { title: 'Common components', diff --git a/superset-frontend/src/common/components/Dropdown/Dropdown.stories.tsx b/superset-frontend/src/components/Dropdown/Dropdown.stories.tsx similarity index 100% rename from superset-frontend/src/common/components/Dropdown/Dropdown.stories.tsx rename to superset-frontend/src/components/Dropdown/Dropdown.stories.tsx diff --git a/superset-frontend/src/common/components/Dropdown/index.tsx b/superset-frontend/src/components/Dropdown/index.tsx similarity index 100% rename from superset-frontend/src/common/components/Dropdown/index.tsx rename to superset-frontend/src/components/Dropdown/index.tsx