@prismicio/react 3.5.1-pr.290.89a8302 → 3.5.1-pr.291.ed4d57e
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/PrismicImage.d.ts +0 -2
- package/dist/PrismicImage.d.ts.map +1 -1
- package/dist/PrismicImage.js +1 -2
- package/dist/PrismicLink.d.ts +0 -2
- package/dist/PrismicLink.d.ts.map +1 -1
- package/dist/PrismicLink.js +1 -2
- package/dist/PrismicRichText.d.ts +0 -2
- package/dist/PrismicRichText.d.ts.map +1 -1
- package/dist/PrismicRichText.js +1 -2
- package/dist/PrismicTable.d.ts +0 -2
- package/dist/PrismicTable.d.ts.map +1 -1
- package/dist/PrismicTable.js +1 -2
- package/dist/PrismicText.d.ts +0 -2
- package/dist/PrismicText.d.ts.map +1 -1
- package/dist/PrismicText.js +1 -2
- package/dist/PrismicToolbar.d.ts +0 -2
- package/dist/PrismicToolbar.d.ts.map +1 -1
- package/dist/PrismicToolbar.js +1 -2
- package/dist/SliceBoundary.js +1 -2
- package/dist/SliceZone.d.ts +0 -2
- package/dist/SliceZone.d.ts.map +1 -1
- package/dist/SliceZone.js +1 -2
- package/dist/lib/devMsg.js +1 -2
- package/dist/package.js +2 -3
- package/package.json +2 -2
package/dist/PrismicImage.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ImageFieldImage, asImagePixelDensitySrcSet, asImageWidthSrcSet } from "@prismicio/client";
|
|
2
2
|
import { ComponentProps, FC, ReactNode } from "react";
|
|
3
|
-
//#region src/PrismicImage.d.ts
|
|
4
3
|
type ImgixURLParams = Omit<NonNullable<Parameters<typeof asImageWidthSrcSet>[1]>, "widths"> & Omit<NonNullable<Parameters<typeof asImagePixelDensitySrcSet>[1]>, "pixelDensities">;
|
|
5
4
|
/** Props for `<PrismicImage>`. */
|
|
6
5
|
export type PrismicImageProps = Omit<ComponentProps<"img">, "src" | "srcset" | "alt"> & {
|
|
@@ -65,6 +64,5 @@ export type PrismicImageProps = Omit<ComponentProps<"img">, "src" | "srcset" | "
|
|
|
65
64
|
* @see Learn how to optimize images with imgix, use responsive images, and use framework-specific image components: {@link https://prismic.io/docs/fields/image}
|
|
66
65
|
*/
|
|
67
66
|
export declare const PrismicImage: FC<PrismicImageProps>;
|
|
68
|
-
//#endregion
|
|
69
67
|
export {};
|
|
70
68
|
//# sourceMappingURL=PrismicImage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicImage.d.ts","names":[],"sources":["../src/PrismicImage.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicImage.d.ts","names":[],"sources":["../src/PrismicImage.tsx"],"mappings":";;KAWK,iBAAiB,KAAK,YAAY,kBAAkB,qCACxD,KAAK,YAAY,kBAAkB;;YAGxB,oBAAoB,KAAK;;EAEpC,OAAO;;;;;;EAOP,iBAAiB,WAAW,iBAAiB,eAAe;;;;;;EAO5D;;;;;;;EAQA;;;;;EAMA,WAAW;;;;;;;;;;;EAYR,SAAS,YAAY,kBAAkB;;EAEvC;;;EAIA;;;;;;;EAOA,gBACG,YAAY,kBAAkB;;;;;;;;;;;;qBAexB,cAAc,GAAG"}
|
package/dist/PrismicImage.js
CHANGED
|
@@ -3,7 +3,7 @@ import { asImagePixelDensitySrcSet, asImageWidthSrcSet, isFilled } from "@prismi
|
|
|
3
3
|
import { DEV } from "esm-env";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/PrismicImage.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Renders an optimized image from a Prismic image field.
|
|
9
9
|
*
|
|
@@ -49,7 +49,6 @@ const PrismicImage = forwardRef(function PrismicImage(props, ref) {
|
|
|
49
49
|
...restProps
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
|
-
//#endregion
|
|
53
52
|
export { PrismicImage };
|
|
54
53
|
|
|
55
54
|
//# sourceMappingURL=PrismicImage.js.map
|
package/dist/PrismicLink.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } from "@prismicio/client";
|
|
2
2
|
import { ComponentProps, ComponentType, ForwardedRef, HTMLAttributeAnchorTarget, ReactNode } from "react";
|
|
3
|
-
//#region src/PrismicLink.d.ts
|
|
4
3
|
/** The default component rendered for internal and external links. */
|
|
5
4
|
declare const defaultComponent = "a";
|
|
6
5
|
/** Props provided to a component when rendered with `<PrismicLink>`. */
|
|
@@ -76,6 +75,5 @@ export type PrismicLinkProps<InternalComponentProps = ComponentProps<typeof defa
|
|
|
76
75
|
export declare const PrismicLink: <InternalComponentProps = ComponentProps<typeof defaultComponent>, ExternalComponentProps = ComponentProps<typeof defaultComponent>>(props: PrismicLinkProps<InternalComponentProps, ExternalComponentProps> & {
|
|
77
76
|
ref?: ForwardedRef<Element>;
|
|
78
77
|
}) => ReactNode;
|
|
79
|
-
//#endregion
|
|
80
78
|
export {};
|
|
81
79
|
//# sourceMappingURL=PrismicLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicLink.d.ts","names":[],"sources":["../src/PrismicLink.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicLink.d.ts","names":[],"sources":["../src/PrismicLink.tsx"],"mappings":";;;cAoBM;;iBAGW;;EAEhB;;;;;EAMA,SAAS;;;;;EAMT;;EAGA,WAAW;;YAGA,iBACX,yBAAyB,sBAAsB,mBAC/C,yBAAyB,sBAAsB,qBAC5C,KAAK,yBAAyB;;;;;;EAMjC,eAAe;;;;;;;;;EAUf,eAAe;;;;;;;EAQf,oBAAoB,cAAc;;EAGlC,oBAAoB,cAAc;;;;;EAMlC,WAAW;;EAGR,UAAU;EACV;EACA;;EAGA,OAAO;EACP;EACA;;EAGA,MAAM;EACN,QAAQ;EACR;;;;;;;;;;;;qBAcS,cAkFZ,yBAAyB,sBAAsB,mBAC/C,yBAAyB,sBAAsB,mBAE/C,OAAO,iBAAiB,wBAAwB;EAC/C,MAAM,aAAa;MAEhB"}
|
package/dist/PrismicLink.js
CHANGED
|
@@ -3,7 +3,7 @@ import { asLinkAttrs } from "@prismicio/client";
|
|
|
3
3
|
import { DEV } from "esm-env";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/PrismicLink.tsx
|
|
7
7
|
/** The default component rendered for internal and external links. */
|
|
8
8
|
const defaultComponent = "a";
|
|
9
9
|
/**
|
|
@@ -58,7 +58,6 @@ function isInternalURL(url) {
|
|
|
58
58
|
const isSpecialLink = !isInternal && !/^https?:\/\//.test(url);
|
|
59
59
|
return isInternal && !isSpecialLink;
|
|
60
60
|
}
|
|
61
|
-
//#endregion
|
|
62
61
|
export { PrismicLink, isInternalURL };
|
|
63
62
|
|
|
64
63
|
//# sourceMappingURL=PrismicLink.js.map
|
|
@@ -2,7 +2,6 @@ import { LinkProps } from "./PrismicLink.js";
|
|
|
2
2
|
import { LinkResolverFunction, RichTextField } from "@prismicio/client";
|
|
3
3
|
import { ComponentType, FC, ReactNode } from "react";
|
|
4
4
|
import { RichTextFunctionSerializer, RichTextMapSerializer } from "@prismicio/client/richtext";
|
|
5
|
-
//#region src/PrismicRichText.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* A function mapping rich text block types to React Components. It is used to render rich text
|
|
8
7
|
* fields.
|
|
@@ -89,5 +88,4 @@ export type PrismicRichTextProps = {
|
|
|
89
88
|
* @see Learn how to style rich text, use custom components, and use labels for custom formatting: {@link https://prismic.io/docs/fields/rich-text}
|
|
90
89
|
*/
|
|
91
90
|
export declare const PrismicRichText: FC<PrismicRichTextProps>;
|
|
92
|
-
//#endregion
|
|
93
91
|
//# sourceMappingURL=PrismicRichText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.d.ts","names":[],"sources":["../src/PrismicRichText.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicRichText.d.ts","names":[],"sources":["../src/PrismicRichText.tsx"],"mappings":";;;;;;;;;;YAgCY,wBAAwB,2BAA2B;;;;;;YAOnD,qBAAqB,sBAAsB;;YAG3C,mBAAmB;;YAGnB;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf,aAAa,qBAAqB;;;;;;EAOlC,wBAAwB,cAAc;;;;;;EAOtC,wBAAwB,cAAc;;;;;EAMtC,WAAW;;;;;;;;;;;;qBAkJC,iBAAiB,GAAG"}
|
package/dist/PrismicRichText.js
CHANGED
|
@@ -5,7 +5,7 @@ import { DEV } from "esm-env";
|
|
|
5
5
|
import { Fragment, cloneElement, isValidElement } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
7
7
|
import { composeSerializers, serialize, wrapMapSerializer } from "@prismicio/client/richtext";
|
|
8
|
-
|
|
8
|
+
// src/PrismicRichText.tsx
|
|
9
9
|
const getDir = (node) => {
|
|
10
10
|
if ("direction" in node && node.direction === "rtl") return "rtl";
|
|
11
11
|
};
|
|
@@ -125,7 +125,6 @@ const PrismicRichText = (props) => {
|
|
|
125
125
|
if (!serialized) return fallback != null ? /* @__PURE__ */ jsx(Fragment$1, { children: fallback }) : null;
|
|
126
126
|
return /* @__PURE__ */ jsx(Fragment$1, { children: serialized });
|
|
127
127
|
};
|
|
128
|
-
//#endregion
|
|
129
128
|
export { PrismicRichText };
|
|
130
129
|
|
|
131
130
|
//# sourceMappingURL=PrismicRichText.js.map
|
package/dist/PrismicTable.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JSXMapSerializer } from "./PrismicRichText.js";
|
|
2
2
|
import { TableField, TableFieldBody, TableFieldBodyRow, TableFieldDataCell, TableFieldHead, TableFieldHeadRow, TableFieldHeaderCell } from "@prismicio/client";
|
|
3
3
|
import { ComponentType, FC, ReactNode } from "react";
|
|
4
|
-
//#region src/PrismicTable.d.ts
|
|
5
4
|
type TableComponents = {
|
|
6
5
|
table?: ComponentType<{
|
|
7
6
|
table: TableField<"filled">;
|
|
@@ -63,6 +62,5 @@ export type PrismicTableProps = {
|
|
|
63
62
|
* @see Learn how to style tables and customize table element components: {@link https://prismic.io/docs/fields/table}
|
|
64
63
|
*/
|
|
65
64
|
export declare const PrismicTable: FC<PrismicTableProps>;
|
|
66
|
-
//#endregion
|
|
67
65
|
export {};
|
|
68
66
|
//# sourceMappingURL=PrismicTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.d.ts","names":[],"sources":["../src/PrismicTable.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicTable.d.ts","names":[],"sources":["../src/PrismicTable.tsx"],"mappings":";;;KAcK;EACJ,QAAQ;IAAgB,OAAO;IAAsB,UAAU;;EAC/D,QAAQ;IAAgB,MAAM;IAAgB,UAAU;;EACxD,QAAQ;IAAgB,MAAM;IAAgB,UAAU;;EACxD,KAAK;IACJ,KAAK,oBAAoB;IACzB,UAAU;;EAEX,KAAK;IAAgB,MAAM;IAAsB,UAAU;;EAC3D,KAAK;IAAgB,MAAM;IAAoB,UAAU;;;;YAa9C;;EAEX,OAAO;;;;;;;;;;;;;;EAeP,aAAa,mBAAmB;;;;;EAMhC,WAAW;;;;;;;;;;;;qBAaC,cAAc,GAAG"}
|
package/dist/PrismicTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrismicRichText } from "./PrismicRichText.js";
|
|
2
2
|
import { isFilled } from "@prismicio/client";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/PrismicTable.tsx
|
|
5
5
|
const defaultComponents = {
|
|
6
6
|
table: ({ children }) => /* @__PURE__ */ jsx("table", { children }),
|
|
7
7
|
thead: ({ children }) => /* @__PURE__ */ jsx("thead", { children }),
|
|
@@ -67,7 +67,6 @@ function TableRow(props) {
|
|
|
67
67
|
}, cell.key))
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
//#endregion
|
|
71
70
|
export { PrismicTable };
|
|
72
71
|
|
|
73
72
|
//# sourceMappingURL=PrismicTable.js.map
|
package/dist/PrismicText.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RichTextField } from "@prismicio/client";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
//#region src/PrismicText.d.ts
|
|
4
3
|
/** Props for `<PrismicText>`. */
|
|
5
4
|
export type PrismicTextProps = {
|
|
6
5
|
/** The Prismic rich text field to render. */
|
|
@@ -24,5 +23,4 @@ export type PrismicTextProps = {
|
|
|
24
23
|
* @see Learn how to display rich text as plain text or React components: {@link https://prismic.io/docs/fields/rich-text}
|
|
25
24
|
*/
|
|
26
25
|
export declare const PrismicText: FC<PrismicTextProps>;
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=PrismicText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.d.ts","names":[],"sources":["../src/PrismicText.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicText.d.ts","names":[],"sources":["../src/PrismicText.tsx"],"mappings":";;;YAOY;;EAEX,OAAO;;;;;EAMP;;EAGA;;;;;;;;;;;;qBAaY,aAAa,GAAG"}
|
package/dist/PrismicText.js
CHANGED
|
@@ -2,7 +2,7 @@ import { devMsg } from "./lib/devMsg.js";
|
|
|
2
2
|
import { asText, isFilled } from "@prismicio/client";
|
|
3
3
|
import { DEV } from "esm-env";
|
|
4
4
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/PrismicText.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Renders content from a Prismic rich text field as plain text (no HTML).
|
|
8
8
|
*
|
|
@@ -25,7 +25,6 @@ const PrismicText = (props) => {
|
|
|
25
25
|
if (!isFilled.richText(field)) return fallback != null ? /* @__PURE__ */ jsx(Fragment, { children: fallback }) : null;
|
|
26
26
|
return /* @__PURE__ */ jsx(Fragment, { children: asText(field, { separator }) });
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { PrismicText };
|
|
30
29
|
|
|
31
30
|
//# sourceMappingURL=PrismicText.js.map
|
package/dist/PrismicToolbar.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
//#region src/PrismicToolbar.d.ts
|
|
3
2
|
/** Props for `<PrismicToolbar>`. */
|
|
4
3
|
export type PrismicToolbarProps = {
|
|
5
4
|
/**
|
|
@@ -37,5 +36,4 @@ export type PrismicToolbarProps = {
|
|
|
37
36
|
* @see Learn how to set up preview functionality and the toolbar's role in preview sessions: {@link https://prismic.io/docs/previews}
|
|
38
37
|
*/
|
|
39
38
|
export declare const PrismicToolbar: FC<PrismicToolbarProps>;
|
|
40
|
-
//#endregion
|
|
41
39
|
//# sourceMappingURL=PrismicToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicToolbar.d.ts","names":[],"sources":["../src/PrismicToolbar.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrismicToolbar.d.ts","names":[],"sources":["../src/PrismicToolbar.tsx"],"mappings":";;YAMY;;;;;EAKX;;;;;;;;;EAUA,mBAAmB,OAAO;IAAc;;;;;;;;EAQxC,gBAAgB,OAAO;;;;;;;;;;;;qBAaX,gBAAgB,GAAG"}
|
package/dist/PrismicToolbar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { getToolbarSrc } from "@prismicio/client";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
|
-
|
|
4
|
+
// src/PrismicToolbar.tsx
|
|
5
5
|
/**
|
|
6
6
|
* Renders the Prismic Toolbar script to support draft previews.
|
|
7
7
|
*
|
|
@@ -40,7 +40,6 @@ const PrismicToolbar = (props) => {
|
|
|
40
40
|
}, []);
|
|
41
41
|
return null;
|
|
42
42
|
};
|
|
43
|
-
//#endregion
|
|
44
43
|
export { PrismicToolbar };
|
|
45
44
|
|
|
46
45
|
//# sourceMappingURL=PrismicToolbar.js.map
|
package/dist/SliceBoundary.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useId, useLayoutEffect, useRef, useSyncExternalStore } from "react";
|
|
3
3
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/SliceBoundary.tsx
|
|
5
5
|
function SliceBoundary(props) {
|
|
6
6
|
const { children, sliceId } = props;
|
|
7
7
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -50,7 +50,6 @@ function findTextNode(value) {
|
|
|
50
50
|
}
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
|
-
//#endregion
|
|
54
53
|
export { SliceBoundary };
|
|
55
54
|
|
|
56
55
|
//# sourceMappingURL=SliceBoundary.js.map
|
package/dist/SliceZone.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Slice } from "@prismicio/client";
|
|
2
2
|
import { ComponentType, FC, ReactNode } from "react";
|
|
3
|
-
//#region src/SliceZone.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Returns the type of a `SliceLike` type.
|
|
6
5
|
*
|
|
@@ -120,6 +119,5 @@ export declare const TODOSliceComponent: <TSlice extends SliceLike>({ slice }: {
|
|
|
120
119
|
* @see Learn how to create slices, use slice variations, and display slices: {@link https://prismic.io/docs/slices}
|
|
121
120
|
*/
|
|
122
121
|
export declare const SliceZone: FC<SliceZoneProps>;
|
|
123
|
-
//#endregion
|
|
124
122
|
export {};
|
|
125
123
|
//# sourceMappingURL=SliceZone.d.ts.map
|
package/dist/SliceZone.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.d.ts","names":[],"sources":["../src/SliceZone.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SliceZone.d.ts","names":[],"sources":["../src/SliceZone.tsx"],"mappings":";;;;;;;KAWK,iBAAiB,eAAe,aAAa,eAAe,QAC9D,uBACA,eAAe,mBACd;;;;;;;YASQ,gBAAgB,sCAAsC,KACjE,MAAM;;;;;;;YAUK,iBAAiB;EAC5B,MAAM,MAAM;;;;;;;;;;YAWD,UAAU,uCACnB,gBAAgB,cAChB,iBAAiB;;;;;;;EAQnB;;;;;;;;;;YAWW,cAAc,eAAe,YAAY,sBAAsB;;;;;;;;;YAU/D,oBAAoB,eAAe,YAAY,WAAW;;EAErE,OAAO;;EAGP;;EAOA,QAAQ,cAAc,eAAe,mBAAmB,mBAAmB;;EAG3E,SAAS;;;;;;;;YASE,mBAEX,eAAe,iBACf,sBACG,cAAc,oBAAoB,QAAQ;;;;;;;;;;YAWlC,oBAAoB,eAAe,YAAY,WAAW,yBAWnE,aAAa,iBAAiB,UAAU,mBACxC,QAAQ,QAAQ,UAAU,4BACvB,YACA,QAAQ,QAAQ,UAAU,aAC7B;;;;;;;YAUS,eAAe;;EAE1B,SAAS;;EAIT,aAAa,eAAe;;EAI5B,mBAAmB,cAAc,yBAAyB;;EAG1D,UAAU;;;;;;;;qBASE,qBAAsB,eAAe,aAAS;EAG1D,OAAO;MACJ;;;;;;;;;;;qBA2BS,WAAW,GAAG"}
|
package/dist/SliceZone.js
CHANGED
|
@@ -2,7 +2,7 @@ import { SliceBoundary } from "./SliceBoundary.js";
|
|
|
2
2
|
import { DEV } from "esm-env";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/SliceZone.tsx
|
|
6
6
|
/**
|
|
7
7
|
* This slice component can be used as a reminder to provide a proper implementation.
|
|
8
8
|
*
|
|
@@ -58,7 +58,6 @@ const SliceZone = (props) => {
|
|
|
58
58
|
});
|
|
59
59
|
return /* @__PURE__ */ jsx(Fragment$1, { children: renderedSlices });
|
|
60
60
|
};
|
|
61
|
-
//#endregion
|
|
62
61
|
export { SliceZone, TODOSliceComponent };
|
|
63
62
|
|
|
64
63
|
//# sourceMappingURL=SliceZone.js.map
|
package/dist/lib/devMsg.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { version } from "../package.js";
|
|
2
|
-
|
|
2
|
+
// src/lib/devMsg.ts
|
|
3
3
|
/**
|
|
4
4
|
* Returns a `prismic.dev/msg` URL for a given message slug.
|
|
5
5
|
*
|
|
@@ -16,7 +16,6 @@ import { version } from "../package.js";
|
|
|
16
16
|
function devMsg(slug) {
|
|
17
17
|
return `https://prismic.dev/msg/react/v${version}/${slug}`;
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { devMsg };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=devMsg.js.map
|
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismicio/react",
|
|
3
|
-
"version": "3.5.1-pr.
|
|
3
|
+
"version": "3.5.1-pr.291.ed4d57e",
|
|
4
4
|
"description": "React components and hooks to fetch and present Prismic content",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prismic",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@prismicio/types-internal": "^3.17.2",
|
|
59
59
|
"@types/react": "^19.3.0",
|
|
60
60
|
"@types/react-dom": "^19.3.0",
|
|
61
|
-
"dotenv": "^18.0.
|
|
61
|
+
"dotenv": "^18.0.9",
|
|
62
62
|
"oxfmt": "^0.74.0",
|
|
63
63
|
"oxlint": "^1.89.0",
|
|
64
64
|
"playwright": "^1.64.1",
|