@prezly/theme-kit-nextjs 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { NextSeoProps } from 'next-seo';
3
2
  type Props = NextSeoProps & {
4
3
  imageUrl?: string;
@@ -8,5 +7,5 @@ type Props = NextSeoProps & {
8
7
  * It depends on information from NewsroomContext, so the component should be placed inside the `NewsroomContextProvider`.
9
8
  * You can pass additional props expected by NextSeo component to override any info that is provided by the NewsroomContext.
10
9
  */
11
- export declare function PageSeo({ title, description, imageUrl, canonical, openGraph, twitter, ...nextSeoProps }: Props): JSX.Element;
10
+ export declare function PageSeo({ title, description, imageUrl, canonical, openGraph, twitter, ...nextSeoProps }: Props): import("react/jsx-runtime").JSX.Element;
12
11
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExtendedStory } from '@prezly/sdk';
3
2
  type Props = {
4
3
  story: Pick<ExtendedStory, 'seo_settings' | 'title' | 'subtitle' | 'published_at' | 'updated_at' | 'author' | 'oembed' | 'newsroom' | 'summary' | 'visibility'>;
@@ -8,5 +7,5 @@ type Props = {
8
7
  * This components provides additional page attributes for the Story page.
9
8
  * It works in conjunction with `PageSeo` component, overidding some of its attributes.
10
9
  */
11
- export declare function StorySeo({ story, noindex }: Props): JSX.Element;
10
+ export declare function StorySeo({ story, noindex }: Props): import("react/jsx-runtime").JSX.Element;
12
11
  export {};
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import Document from 'next/document';
3
2
  export declare class PrezlyThemeDocument extends Document {
4
3
  getLocaleCode(): string;
5
- render(): JSX.Element;
4
+ render(): import("react/jsx-runtime").JSX.Element;
6
5
  }
@@ -59,4 +59,4 @@ export declare const NewsroomContext: import("react").Context<NewsroomContextTyp
59
59
  * This context provides common Newsroom information retrieved by `getNewsroomServerSideProps` helper.
60
60
  * Please refer to the `NewsroomContextType` definition for more info on what's exposed from the context.
61
61
  */
62
- export declare function NewsroomContextProvider({ categories, contacts, newsroom, currentCategory, currentStory, companyInformation, languages, localeCode, notifications, themePreset, algoliaSettings, children, }: PropsWithChildren<NewsroomContextProps>): JSX.Element;
62
+ export declare function NewsroomContextProvider({ categories, contacts, newsroom, currentCategory, currentStory, companyInformation, languages, localeCode, notifications, themePreset, algoliaSettings, children, }: PropsWithChildren<NewsroomContextProps>): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-nextjs",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Data layer and utility library for developing Prezly themes with NextJS",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -67,15 +67,15 @@
67
67
  }
68
68
  },
69
69
  "dependencies": {
70
- "@prezly/theme-kit-core": "^5.2.0",
70
+ "@prezly/theme-kit-core": "^5.2.1",
71
71
  "next-seo": "^5.4.0"
72
72
  },
73
73
  "devDependencies": {
74
- "@sentry/nextjs": "7.51.0"
74
+ "@sentry/nextjs": "7.51.1"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
79
  "sideEffects": false,
80
- "gitHead": "239e468e0dffceb26b0f63d7ebbcec6af69d8a62"
80
+ "gitHead": "772054463e68dc999851ebe6525a3dfb4a4919b0"
81
81
  }