Skip to content

Commit

Permalink
removed @elastic/react-search-ui-views dependency and storybook testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed May 31, 2024
1 parent 5b57d20 commit 44c9fc9
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 658 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"dependencies": {
"@eeacms/volto-eea-design-system": "*",
"@elastic/react-search-ui": "^1.9.0",
"@elastic/react-search-ui-views": "^1.9.0",
"@elastic/search-ui": "^1.9.0",
"@visx/group": "^1.7.0",
"@visx/responsive": "^1.10.1",
Expand Down
3 changes: 1 addition & 2 deletions searchlib/components/SearchBox/SearchBoxView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import PropTypes from 'prop-types';
import Downshift from 'downshift';
import cx from 'classnames';
import { Result } from '@elastic/react-search-ui-views';
import { useAppConfig } from '@eeacms/search/lib/hocs';
import Autocomplete from './Autocomplete';

Expand Down Expand Up @@ -143,7 +142,7 @@ function SearchBoxView(props) {
SearchBoxView.propTypes = {
// Provided by container
allAutocompletedItemsCount: PropTypes.number.isRequired,
autocompletedResults: PropTypes.arrayOf(Result).isRequired,
// autocompletedResults: PropTypes.arrayOf(Result).isRequired,
// autocompletedSuggestions: PropTypes.objectOf(PropTypes.arrayOf(Suggestion))
// .isRequired,
autocompletedSuggestionsCount: PropTypes.number.isRequired,
Expand Down
50 changes: 0 additions & 50 deletions searchlib/stories/Button.js

This file was deleted.

36 changes: 0 additions & 36 deletions searchlib/stories/Button.stories-.js

This file was deleted.

52 changes: 0 additions & 52 deletions searchlib/stories/Header.js

This file was deleted.

18 changes: 0 additions & 18 deletions searchlib/stories/Header.stories-.js

This file was deleted.

211 changes: 0 additions & 211 deletions searchlib/stories/Introduction.stories-.mdx

This file was deleted.

Loading

0 comments on commit 44c9fc9

Please sign in to comment.