@slicemachine/adapter-next 0.3.18-dev-slice-templates-svelte-nuxt.2 → 0.3.18-dev-slice-templates-svelte-nuxt.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/Hero/javascript.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isFilled } from "@prismicio/client";
|
|
2
2
|
import { PrismicNextLink, PrismicNextImage } from "@prismicio/next";
|
|
3
|
-
import { PrismicRichText
|
|
3
|
+
import { PrismicRichText } from "@prismicio/react";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @typedef {import("@prismicio/client").Content.PascalNameToReplaceSlice} PascalNameToReplaceSlice
|
|
@@ -40,7 +40,7 @@ const PascalNameToReplace = ({ slice }) => {
|
|
|
40
40
|
<div className="es-fullpage-hero__content__intro">
|
|
41
41
|
{isFilled.keyText(slice.primary.eyebrowHeadline) && (
|
|
42
42
|
<p className="es-fullpage-hero__content__intro__eyebrow">
|
|
43
|
-
|
|
43
|
+
{slice.primary.eyebrowHeadline}
|
|
44
44
|
</p>
|
|
45
45
|
)}
|
|
46
46
|
{isFilled.richText(slice.primary.title) && (
|
package/dist/Hero/typescript.tsx
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Content, isFilled } from "@prismicio/client";
|
|
2
2
|
import { PrismicNextLink, PrismicNextImage } from "@prismicio/next";
|
|
3
|
-
import {
|
|
4
|
-
SliceComponentProps,
|
|
5
|
-
PrismicRichText,
|
|
6
|
-
PrismicText,
|
|
7
|
-
} from "@prismicio/react";
|
|
3
|
+
import { SliceComponentProps, PrismicRichText } from "@prismicio/react";
|
|
8
4
|
|
|
9
5
|
export type PascalNameToReplaceProps =
|
|
10
6
|
SliceComponentProps<Content.PascalNameToReplaceSlice>;
|
|
@@ -41,7 +37,7 @@ const PascalNameToReplace = ({
|
|
|
41
37
|
<div className="es-fullpage-hero__content__intro">
|
|
42
38
|
{isFilled.keyText(slice.primary.eyebrowHeadline) && (
|
|
43
39
|
<p className="es-fullpage-hero__content__intro__eyebrow">
|
|
44
|
-
|
|
40
|
+
{slice.primary.eyebrowHeadline}
|
|
45
41
|
</p>
|
|
46
42
|
)}
|
|
47
43
|
{isFilled.richText(slice.primary.title) && (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/adapter-next",
|
|
3
|
-
"version": "0.3.18-dev-slice-templates-svelte-nuxt.
|
|
3
|
+
"version": "0.3.18-dev-slice-templates-svelte-nuxt.3",
|
|
4
4
|
"description": "Slice Machine adapter for Next.js.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@prismicio/simulator": "^0.1.4",
|
|
63
63
|
"@prismicio/types-internal": "^2.0.0",
|
|
64
|
-
"@slicemachine/plugin-kit": "^0.4.18-dev-slice-templates-svelte-nuxt.
|
|
64
|
+
"@slicemachine/plugin-kit": "^0.4.18-dev-slice-templates-svelte-nuxt.3",
|
|
65
65
|
"common-tags": "^1.8.2",
|
|
66
66
|
"fp-ts": "^2.13.1",
|
|
67
67
|
"io-ts": "^2.2.20",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"engines": {
|
|
105
105
|
"node": ">=14.15.0"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "b26332fb655a9289121dc24c8d7a4ed2bd1da453"
|
|
108
108
|
}
|