Skip to content

Commit

Permalink
chore: remove deprecated selects and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Nov 23, 2021
1 parent bc855f4 commit a8a270c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 73 deletions.
62 changes: 0 additions & 62 deletions superset-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@
"react-router-dom": "^5.1.2",
"react-search-input": "^0.11.3",
"react-select": "^3.1.0",
"react-select-async-paginate": "^0.4.1",
"react-sortable-hoc": "^1.11.0",
"react-split": "^2.0.9",
"react-sticky": "^6.0.3",
Expand Down
8 changes: 0 additions & 8 deletions superset-frontend/src/components/Select/DeprecatedSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import BasicSelect, {
import Async from 'react-select/async';
import Creatable from 'react-select/creatable';
import AsyncCreatable from 'react-select/async-creatable';
import { withAsyncPaginate } from 'react-select-async-paginate';

import { SelectComponents } from 'react-select/src/components';
import {
Expand All @@ -45,7 +44,6 @@ import {
WindowedSelectComponentType,
WindowedSelectProps,
WindowedSelect,
WindowedAsyncSelect,
WindowedCreatableSelect,
WindowedAsyncCreatableSelect,
} from './WindowedSelect';
Expand Down Expand Up @@ -319,12 +317,6 @@ function styled<
}

export const Select = styled(WindowedSelect);
export const AsyncSelect = styled(WindowedAsyncSelect);
export const CreatableSelect = styled(WindowedCreatableSelect);
export const AsyncCreatableSelect = styled(WindowedAsyncCreatableSelect);
export const PaginatedSelect = withAsyncPaginate(
styled<OptionTypeBase, ComponentType<SelectProps<OptionTypeBase>>>(
BasicSelect,
),
);
export default Select;
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@
* under the License.
*/
import Select from 'react-select';
import Async from 'react-select/async';
import Creatable from 'react-select/creatable';
import AsyncCreatable from 'react-select/async-creatable';
import windowed from './windowed';

export * from './windowed';

export const WindowedSelect = windowed(Select);
export const WindowedAsyncSelect = windowed(Async);
export const WindowedCreatableSelect = windowed(Creatable);
export const WindowedAsyncCreatableSelect = windowed(AsyncCreatable);
export default WindowedSelect;

0 comments on commit a8a270c

Please sign in to comment.