Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare version 1.2.0 #365

Merged
merged 4 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @yext/slapshot
* @yext/backfire
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ lib/
.env
test-site/.env

.idea/
.idea/
6 changes: 3 additions & 3 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The following NPM package may be included in this product:

- @yext/search-core@2.3.0-beta.1
- @yext/search-core@2.3.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -1064,7 +1064,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The following NPM package may be included in this product:

- @yext/search-headless-react@2.2.0-beta.0
- @yext/search-headless-react@2.2.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -1108,7 +1108,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The following NPM package may be included in this product:

- @yext/search-headless@2.2.1-beta.0
- @yext/search-headless@2.3.0

This package contains the following license and notice below:

Expand Down
52 changes: 26 additions & 26 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yext/search-ui-react",
"version": "1.2.0-beta.0",
"version": "1.2.0",
"description": "A library of React Components for powering Yext Search integrations",
"author": "slapshot@yext.com",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -76,7 +76,7 @@
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@yext/eslint-config-slapshot": "^0.5.0",
"@yext/search-headless-react": "^2.2.0-beta.0",
"@yext/search-headless-react": "^2.2.0",
"axe-playwright": "^1.1.11",
"babel-jest": "^27.0.6",
"eslint": "^8.11.0",
Expand All @@ -93,7 +93,7 @@
"typescript": "~4.5.5"
},
"peerDependencies": {
"@yext/search-headless-react": "^2.2.0-beta.0",
"@yext/search-headless-react": "^2.2.0",
"react": "^16.14 || ^17 || ^18",
"react-dom": "^16.14 || ^17 || ^18"
},
Expand Down
11 changes: 10 additions & 1 deletion tests/components/Facets.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { generateMockedHeadless } from '../__fixtures__/search-headless';
import { RecursivePartial } from '../__utils__/mocks';
import { DisplayableFacets } from '../__fixtures__/data/filters';
import { Facets, FacetsProps } from '../../src';
import { createHierarchicalFacet } from '../__utils__/hierarchicalfacets';

const meta: ComponentMeta<typeof Facets> = {
title: 'Facets',
Expand All @@ -13,7 +14,15 @@ export default meta;

const mockedHeadlessState: RecursivePartial<State> = {
filters: {
facets: DisplayableFacets
facets: [
...DisplayableFacets,
createHierarchicalFacet([
'food',
'food > fruit',
{ value: 'food > fruit > banana', selected: true },
'food > fruit > apple',
])
]
}
};

Expand Down