diff --git a/packages/maps/src/components/basic/GeoDistanceDropdown.js b/packages/maps/src/components/basic/GeoDistanceDropdown.js index 09ecf9445b..34e751cb1f 100644 --- a/packages/maps/src/components/basic/GeoDistanceDropdown.js +++ b/packages/maps/src/components/basic/GeoDistanceDropdown.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import Downshift from 'downshift'; import { withTheme } from 'emotion-theming'; diff --git a/packages/maps/src/components/basic/GeoDistanceSlider.js b/packages/maps/src/components/basic/GeoDistanceSlider.js index c194a4bb12..a222c1b206 100644 --- a/packages/maps/src/components/basic/GeoDistanceSlider.js +++ b/packages/maps/src/components/basic/GeoDistanceSlider.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import Downshift from 'downshift'; import { withTheme } from 'emotion-theming'; diff --git a/packages/maps/src/components/result/GoogleMapMarker.js b/packages/maps/src/components/result/GoogleMapMarker.js index 3dbe840fd5..9573fc44f0 100644 --- a/packages/maps/src/components/result/GoogleMapMarker.js +++ b/packages/maps/src/components/result/GoogleMapMarker.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React from 'react'; diff --git a/packages/maps/src/components/result/ReactiveOpenStreetMap.js b/packages/maps/src/components/result/ReactiveOpenStreetMap.js index e9b9b8f31a..782081bc42 100644 --- a/packages/maps/src/components/result/ReactiveOpenStreetMap.js +++ b/packages/maps/src/components/result/ReactiveOpenStreetMap.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import { Component } from 'react'; import ReactDOMServer from 'react-dom/server'; diff --git a/packages/web/src/components/basic/NumberBox.js b/packages/web/src/components/basic/NumberBox.js index ad7c463496..4b029278d5 100644 --- a/packages/web/src/components/basic/NumberBox.js +++ b/packages/web/src/components/basic/NumberBox.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/basic/SelectedFilters.js b/packages/web/src/components/basic/SelectedFilters.js index fabc68c174..ec89c2cce4 100644 --- a/packages/web/src/components/basic/SelectedFilters.js +++ b/packages/web/src/components/basic/SelectedFilters.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/list/ToggleButton.js b/packages/web/src/components/list/ToggleButton.js index 24a67aae35..758322507d 100644 --- a/packages/web/src/components/list/ToggleButton.js +++ b/packages/web/src/components/list/ToggleButton.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/list/TreeList/index.js b/packages/web/src/components/list/TreeList/index.js index d7dd90026f..2ccf9b1f5f 100644 --- a/packages/web/src/components/list/TreeList/index.js +++ b/packages/web/src/components/list/TreeList/index.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import { componentTypes, diff --git a/packages/web/src/components/range/DynamicRangeSlider.js b/packages/web/src/components/range/DynamicRangeSlider.js index e912c0c3d2..53c038b0a8 100644 --- a/packages/web/src/components/range/DynamicRangeSlider.js +++ b/packages/web/src/components/range/DynamicRangeSlider.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/range/RangeSlider.js b/packages/web/src/components/range/RangeSlider.js index fe1ae78304..91c96430e1 100644 --- a/packages/web/src/components/range/RangeSlider.js +++ b/packages/web/src/components/range/RangeSlider.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/range/RatingsFilter.js b/packages/web/src/components/range/RatingsFilter.js index f15ebc40cf..29b09b7cff 100644 --- a/packages/web/src/components/range/RatingsFilter.js +++ b/packages/web/src/components/range/RatingsFilter.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/range/addons/HistogramContainer.js b/packages/web/src/components/range/addons/HistogramContainer.js index 1dcc37846a..96ba3341f7 100644 --- a/packages/web/src/components/range/addons/HistogramContainer.js +++ b/packages/web/src/components/range/addons/HistogramContainer.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import types from '@appbaseio/reactivecore/lib/utils/types'; diff --git a/packages/web/src/components/range/addons/StarRating.js b/packages/web/src/components/range/addons/StarRating.js index 494edd2bfd..78550b4eb2 100644 --- a/packages/web/src/components/range/addons/StarRating.js +++ b/packages/web/src/components/range/addons/StarRating.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React from 'react'; diff --git a/packages/web/src/components/result/ReactiveList.js b/packages/web/src/components/result/ReactiveList.js index 58a7b00ec3..3797c8494e 100644 --- a/packages/web/src/components/result/ReactiveList.js +++ b/packages/web/src/components/result/ReactiveList.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; diff --git a/packages/web/src/components/result/addons/Pagination.js b/packages/web/src/components/result/addons/Pagination.js index 739b8422e1..8364675e6c 100644 --- a/packages/web/src/components/result/addons/Pagination.js +++ b/packages/web/src/components/result/addons/Pagination.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React from 'react'; diff --git a/packages/web/src/components/search/CategorySearch.js b/packages/web/src/components/search/CategorySearch.js index efcebaafa7..3bf0c2a32e 100644 --- a/packages/web/src/components/search/CategorySearch.js +++ b/packages/web/src/components/search/CategorySearch.js @@ -1,5 +1,5 @@ -/** @jsxImportSource @emotion/react */ - +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; import Downshift from 'downshift'; diff --git a/packages/web/src/components/search/DataSearch.js b/packages/web/src/components/search/DataSearch.js index 000d06d430..aa80557431 100644 --- a/packages/web/src/components/search/DataSearch.js +++ b/packages/web/src/components/search/DataSearch.js @@ -1,7 +1,7 @@ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ /* eslint-disable jsx-a11y/click-events-have-key-events */ -/** @jsxImportSource @emotion/react */ - +// /** @jsx jsx */ +import { jsx } from '@emotion/core'; import React, { Component } from 'react'; import Downshift from 'downshift'; diff --git a/packages/web/src/components/search/SearchBox.js b/packages/web/src/components/search/SearchBox.js index 9e77d65f07..c3996d82c1 100644 --- a/packages/web/src/components/search/SearchBox.js +++ b/packages/web/src/components/search/SearchBox.js @@ -1,4 +1,5 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import { componentTypes, diff --git a/packages/web/src/components/search/addons/Highlight.js b/packages/web/src/components/search/addons/Highlight.js index acf091f142..52eb45b13d 100644 --- a/packages/web/src/components/search/addons/Highlight.js +++ b/packages/web/src/components/search/addons/Highlight.js @@ -1,4 +1,4 @@ -/** @jsxImportSource @emotion/react */ +/** @jsx jsx */ import { css, jsx } from '@emotion/core'; import PropTypes from 'prop-types'; diff --git a/packages/web/src/components/search/addons/Mic.js b/packages/web/src/components/search/addons/Mic.js index 7cdd67af39..6116282a58 100644 --- a/packages/web/src/components/search/addons/Mic.js +++ b/packages/web/src/components/search/addons/Mic.js @@ -1,3 +1,5 @@ +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import React from 'react'; import types from '@appbaseio/reactivecore/lib/utils/types'; import { diff --git a/packages/web/src/components/search/addons/SuggestionItem.js b/packages/web/src/components/search/addons/SuggestionItem.js index ed0cb65366..7ece562347 100644 --- a/packages/web/src/components/search/addons/SuggestionItem.js +++ b/packages/web/src/components/search/addons/SuggestionItem.js @@ -1,7 +1,5 @@ -/** @jsxImportSource @emotion/react */ - - - +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import Flex from '../../../styles/Flex'; import Highlight from './Highlight'; diff --git a/packages/web/src/components/search/addons/SuggestionWrapper.js b/packages/web/src/components/search/addons/SuggestionWrapper.js index bd774eedd4..3a362ed4bc 100644 --- a/packages/web/src/components/search/addons/SuggestionWrapper.js +++ b/packages/web/src/components/search/addons/SuggestionWrapper.js @@ -1,6 +1,5 @@ -/** @jsxImportSource @emotion/react */ - - +/** @jsx jsx */ +import { jsx } from '@emotion/core'; import { getClassName } from '@appbaseio/reactivecore/lib/utils/helper'; import types from '@appbaseio/reactivecore/lib/utils/types'; import { noSuggestions } from '../../../styles/Input'; @@ -10,10 +9,7 @@ const SuggestionWrapper = ({ }) => (