diff --git a/docgen/src/guides/v3-migration.md b/docgen/src/guides/v3-migration.md index c0e984c32f..207b5125a3 100644 --- a/docgen/src/guides/v3-migration.md +++ b/docgen/src/guides/v3-migration.md @@ -1111,6 +1111,10 @@ We've moved the `label` into the `templates.labelText` template to make it consi | --------------- | ----------- | | `attributeName` | `attribute` | +### connectRangeSlider + +Connector removed (use `connectRange` instead). + ### connectClearRefinements (formerly connectClearAll) #### Options diff --git a/src/connectors/index.js b/src/connectors/index.js index a6d55d1f54..a7b13043b0 100644 --- a/src/connectors/index.js +++ b/src/connectors/index.js @@ -21,9 +21,6 @@ export { export { default as connectPagination, } from './pagination/connectPagination.js'; -export { - default as connectRangeSlider, -} from './range-slider/connectRangeSlider.js'; export { default as connectRange } from './range/connectRange.js'; export { default as connectRefinementList, diff --git a/src/connectors/range-slider/connectRangeSlider.js b/src/connectors/range-slider/connectRangeSlider.js deleted file mode 100644 index bb2f36107a..0000000000 --- a/src/connectors/range-slider/connectRangeSlider.js +++ /dev/null @@ -1,8 +0,0 @@ -import { deprecate } from '../../lib/utils'; -import connectRange from '../range/connectRange'; - -export default deprecate( - connectRange, - `'connectRangeSlider' was replaced by 'connectRange'. - Please see https://community.algolia.com/instantsearch.js/v2/connectors/connectRange.html` -);