@slicemachine/adapter-nuxt 0.3.18-dev-slice-templates-svelte-nuxt.6 → 0.3.18-dev-slice-templates-svelte-nuxt.8

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,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { Content, isFilled } from "@prismicio/client";
2
+ import { type Content, isFilled } from "@prismicio/client";
3
3
 
4
4
  defineProps(
5
5
  getSliceComponentProps<Content.PascalNameToReplaceSlice>([
@@ -23,12 +23,12 @@ const alignment = computed(() => {
23
23
  class="es-call-to-action__image"
24
24
  />
25
25
  <div class="es-call-to-action__content">
26
- <h2
26
+ <div
27
27
  v-if="isFilled.richText(slice.primary.title)"
28
28
  class="es-call-to-action__content__heading"
29
29
  >
30
30
  <PrismicRichText :field="slice.primary.title" />
31
- </h2>
31
+ </div>
32
32
  <div
33
33
  v-if="isFilled.richText(slice.primary.paragraph)"
34
34
  class="es-call-to-action__content__paragraph"
@@ -99,6 +99,10 @@ const alignment = computed(() => {
99
99
  text-align: v-bind(alignment);
100
100
  }
101
101
 
102
+ .es-call-to-action__content__heading > * {
103
+ margin: 0;
104
+ }
105
+
102
106
  .es-call-to-action__content__paragraph {
103
107
  font-size: 1.15rem;
104
108
  max-width: 38rem;
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { Content, isFilled } from "@prismicio/client";
2
+ import { type Content, isFilled } from "@prismicio/client";
3
3
 
4
4
  const props = defineProps(
5
5
  getSliceComponentProps<Content.PascalNameToReplaceSlice>([
@@ -28,12 +28,12 @@ const alignment = computed(() => {
28
28
  class="es-call-to-action__image"
29
29
  />
30
30
  <div class="es-call-to-action__content">
31
- <h2
31
+ <div
32
32
  v-if="isFilled.richText(slice.primary.title)"
33
33
  class="es-call-to-action__content__heading"
34
34
  >
35
35
  <PrismicRichText :field="slice.primary.title" />
36
- </h2>
36
+ </div>
37
37
  <div
38
38
  v-if="isFilled.richText(slice.primary.paragraph)"
39
39
  class="es-call-to-action__content__paragraph"
@@ -104,6 +104,10 @@ const alignment = computed(() => {
104
104
  text-align: v-bind(alignment);
105
105
  }
106
106
 
107
+ .es-call-to-action__content__heading > * {
108
+ margin: 0;
109
+ }
110
+
107
111
  .es-call-to-action__content__paragraph {
108
112
  font-size: 1.15rem;
109
113
  max-width: 38rem;
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { Content, isFilled } from "@prismicio/client";
2
+ import { type Content, isFilled } from "@prismicio/client";
3
3
 
4
4
  defineProps(
5
5
  getSliceComponentProps<Content.PascalNameToReplaceSlice>([
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { Content, isFilled } from "@prismicio/client";
2
+ import { type Content, isFilled } from "@prismicio/client";
3
3
 
4
4
  defineProps(
5
5
  getSliceComponentProps<Content.PascalNameToReplaceSlice>([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/adapter-nuxt",
3
- "version": "0.3.18-dev-slice-templates-svelte-nuxt.6",
3
+ "version": "0.3.18-dev-slice-templates-svelte-nuxt.8",
4
4
  "description": "Slice Machine adapter for Nuxt 3.",
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.6",
64
+ "@slicemachine/plugin-kit": "^0.4.18-dev-slice-templates-svelte-nuxt.8",
65
65
  "common-tags": "^1.8.2",
66
66
  "fp-ts": "^2.13.1",
67
67
  "io-ts": "^2.2.20",
@@ -103,5 +103,5 @@
103
103
  "engines": {
104
104
  "node": ">=14.15.0"
105
105
  },
106
- "gitHead": "ee69b9ae053e83a9ae774804cf2b4420d34be7dc"
106
+ "gitHead": "9f175e43fd17b23185eda38003b463d6beb6761e"
107
107
  }