@kajoo-ai/sitecore-nextjs 20.0.2 → 20.0.3
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.
- package/dist/cjs/components/button.d.ts +1 -0
- package/dist/cjs/components/kajoo-component/services.d.ts +1 -1
- package/dist/cjs/components/type-form/type-form.d.ts +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/button.d.ts +1 -0
- package/dist/esm/components/kajoo-component/services.d.ts +1 -1
- package/dist/esm/components/type-form/type-form.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentProps, FC, ComponentType, ReactNode } from 'react';
|
|
1
|
+
import React$1, { ComponentProps, FC, ComponentType, ReactNode } from 'react';
|
|
2
2
|
import { Text as Text$1, Link as Link$1, RouteData, LayoutServiceData } from '@sitecore-jss/sitecore-jss-nextjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { JsonObject } from 'type-fest';
|
|
@@ -8,6 +8,7 @@ type TextField = ComponentProps<typeof Text$1>["field"];
|
|
|
8
8
|
interface IButton {
|
|
9
9
|
text: TextField | string;
|
|
10
10
|
[key: string]: unknown;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
}
|
|
12
13
|
declare const Button: FC<IButton>;
|
|
13
14
|
|
|
@@ -111,7 +112,7 @@ declare const RichText: FC<IProps$1>;
|
|
|
111
112
|
declare const Repeater: FC<any>;
|
|
112
113
|
|
|
113
114
|
interface IProps {
|
|
114
|
-
component: ({ fields, children }: React.PropsWithChildren<{
|
|
115
|
+
component: ({ fields, children }: React$1.PropsWithChildren<{
|
|
115
116
|
fields: JsonObject;
|
|
116
117
|
}>) => JSX.Element;
|
|
117
118
|
datasource: IConsciaIntegration | IContentstackIntegration | IKontentAiIntegration;
|
|
@@ -150,7 +151,7 @@ declare const KajooComponent: (props: IProps) => react_jsx_runtime.JSX.Element;
|
|
|
150
151
|
interface ILayoutProps extends RouteData {
|
|
151
152
|
layoutData: LayoutServiceData;
|
|
152
153
|
}
|
|
153
|
-
type ILayout = React.FC<ILayoutProps>;
|
|
154
|
+
type ILayout = React$1.FC<ILayoutProps>;
|
|
154
155
|
declare class KajooLayoutFactory {
|
|
155
156
|
private static readonly layoutsByName;
|
|
156
157
|
static getLayout: (route: RouteData) => ILayout;
|