Skip to content

Commit

Permalink
v1.4.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cea2aj committed Sep 29, 2023
1 parent 77cdacf commit 38ec398
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 41 deletions.
6 changes: 3 additions & 3 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,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.5.0-beta.2
- @yext/search-core@2.5.0-beta.3

This package contains the following license and notice below:

Expand Down Expand Up @@ -1271,7 +1271,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.4.0-beta.2
- @yext/search-headless-react@2.4.0-beta.3

This package contains the following license and notice below:

Expand Down Expand Up @@ -1315,7 +1315,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.5.0-beta.2
- @yext/search-headless@2.5.0-beta.3

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.4.0-beta.2",
"version": "1.4.0-beta.3",
"description": "A library of React Components for powering Yext Search integrations",
"author": "slapshot@yext.com",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -83,7 +83,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.4.0-beta.2",
"@yext/search-headless-react": "^2.4.0-beta.3",
"axe-playwright": "^1.2.3",
"babel-jest": "^29.7.0",
"eslint": "^8.11.0",
Expand All @@ -103,7 +103,7 @@
"typescript": "^5.2.2"
},
"peerDependencies": {
"@yext/search-headless-react": "^2.4.0-beta.2",
"@yext/search-headless-react": "^2.4.0-beta.3",
"react": "^16.14 || ^17",
"react-dom": "^16.14 || ^17"
},
Expand Down
8 changes: 4 additions & 4 deletions test-site/package-lock.json

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

1 change: 0 additions & 1 deletion test-site/src/components/CustomCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export function CustomCard(props: CardProps<CustomRawDataType>): JSX.Element {
const onClick = useCallback(() => {
cardFeedbackCallback('THUMBS_UP');
}, [cardFeedbackCallback]);
if (Array.isArray(result.rawData)) { return <></> }

return (
<div className='flex flex-col justify-between border rounded-lg mb-4 p-4 shadow-sm'>
Expand Down
1 change: 0 additions & 1 deletion test-site/src/components/CustomCard2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ interface CustomRawDataType2 {

export function CustomCard2(props: CardProps<CustomRawDataType2>): JSX.Element {
const { result } = props;
if (Array.isArray(result.rawData)) { return <></> }

return (
<div className='flex flex-col justify-between border border-gray-200 rounded-lg mb-4 p-4 shadow-sm'>
Expand Down
1 change: 0 additions & 1 deletion test-site/src/components/HTMLExampleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export function HTMLExampleCard(props: CardProps<CustomRawDataType>): JSX.Elemen
const onClick = useCallback(() => {
cardFeedbackCallback('THUMBS_UP');
}, [cardFeedbackCallback]);
if (Array.isArray(result.rawData)) { return <></> }

const html: string = result.rawData?.[htmlFieldName]?.html;
const htmlContent = useMemo(() => { return { __html: html }; }, [html]);
Expand Down
1 change: 0 additions & 1 deletion test-site/src/components/MapPin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const transformToMapboxCoord = (coordinate: Coordinate): LngLatLike => ({

export const MapPin: PinComponent<Location> = props => {
const { mapbox, result } = props;
if (Array.isArray(result.rawData)) { return <></> }
const yextCoordinate = result.rawData.yextDisplayCoordinate;
const [active, setActive] = useState(false);
const popupRef = useRef(new Popup({ offset: 15 })
Expand Down
1 change: 0 additions & 1 deletion test-site/src/components/MarkdownExampleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ interface CustomRawDataType {

export function MarkdownExampleCard(props: CardProps<CustomRawDataType>): JSX.Element {
const { result } = props;
if (Array.isArray(result.rawData)) { return <></> }
const onClickTitle = useCardAnalyticsCallback(result, 'TITLE_CLICK');
const cardFeedbackCallback = useCardFeedbackCallback(result);
const onClick = useCallback(() => {
Expand Down

0 comments on commit 38ec398

Please sign in to comment.