From 6c8ea5b3b59adeebc606123344d77d9340ba0c1c Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Thu, 7 Nov 2024 09:35:07 -0500 Subject: [PATCH] Moving `DateRangeInput` and `Multiselect` out of `core` and into `advanced` since that is where they're only used. --- .../{core => advanced}/components/DateRangeInput/index.js | 0 src/modules/advanced/components/FiltersContainer/index.js | 3 ++- .../{core => advanced}/components/Multiselect/index.js | 0 .../{core => advanced}/components/Multiselect/styles.css | 0 src/modules/core/index.js | 4 ---- 5 files changed, 2 insertions(+), 5 deletions(-) rename src/modules/{core => advanced}/components/DateRangeInput/index.js (100%) rename src/modules/{core => advanced}/components/Multiselect/index.js (100%) rename src/modules/{core => advanced}/components/Multiselect/styles.css (100%) diff --git a/src/modules/core/components/DateRangeInput/index.js b/src/modules/advanced/components/DateRangeInput/index.js similarity index 100% rename from src/modules/core/components/DateRangeInput/index.js rename to src/modules/advanced/components/DateRangeInput/index.js diff --git a/src/modules/advanced/components/FiltersContainer/index.js b/src/modules/advanced/components/FiltersContainer/index.js index d0dd52475..7b22d06d2 100644 --- a/src/modules/advanced/components/FiltersContainer/index.js +++ b/src/modules/advanced/components/FiltersContainer/index.js @@ -1,9 +1,10 @@ import { AdvancedSearchSubmit, setAdvancedFilter } from '../../../advanced'; -import { DateRangeInput, Multiselect } from '../../../core'; import { useDispatch, useSelector } from 'react-redux'; import ActiveAdvancedFilters from '../ActiveAdvancedFilters'; import AdvancedFilter from '../AdvancedFilter'; +import DateRangeInput from '../DateRangeInput'; import getFilters from './getFilters'; +import Multiselect from '../Multiselect'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/src/modules/core/components/Multiselect/index.js b/src/modules/advanced/components/Multiselect/index.js similarity index 100% rename from src/modules/core/components/Multiselect/index.js rename to src/modules/advanced/components/Multiselect/index.js diff --git a/src/modules/core/components/Multiselect/styles.css b/src/modules/advanced/components/Multiselect/styles.css similarity index 100% rename from src/modules/core/components/Multiselect/styles.css rename to src/modules/advanced/components/Multiselect/styles.css diff --git a/src/modules/core/index.js b/src/modules/core/index.js index 05a7ce7ef..9239af86d 100644 --- a/src/modules/core/index.js +++ b/src/modules/core/index.js @@ -1,14 +1,10 @@ -import DateRangeInput from './components/DateRangeInput'; import Footer from './components/Footer'; -import Multiselect from './components/Multiselect'; import ScrollToTop from './components/ScrollToTop'; import SearchHeader from './components/SearchHeader'; import TrimString from './components/TrimString'; export { - DateRangeInput, Footer, - Multiselect, ScrollToTop, SearchHeader, TrimString