@slicemachine/adapter-sveltekit 0.3.50-beta.1 → 0.3.50-beta.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,17 +6,13 @@ const mocks = [
6
6
  __TYPE__: "SharedSliceContent",
7
7
  variation: "default",
8
8
  primary: {
9
- callToActionLabel: {
10
- __TYPE__: "FieldContent",
11
- type: "Text",
12
- value: "View customer stories"
13
- },
14
9
  callToActionLink: {
15
10
  __TYPE__: "LinkContent",
16
11
  value: {
17
12
  __TYPE__: "ExternalLink",
18
13
  url: "https://prismic.io",
19
- target: "_blank"
14
+ target: "_blank",
15
+ text: "View customer stories"
20
16
  }
21
17
  },
22
18
  eyebrowHeadline: {
@@ -273,19 +269,13 @@ const model = {
273
269
  single: "strong,em,rtl,heading2"
274
270
  }
275
271
  },
276
- callToActionLabel: {
277
- type: "Text",
278
- config: {
279
- label: "callToActionLabel",
280
- placeholder: ""
281
- }
282
- },
283
272
  callToActionLink: {
284
273
  type: "Link",
285
274
  config: {
286
275
  label: "callToActionLink",
287
276
  placeholder: "",
288
- select: null
277
+ select: null,
278
+ allowText: true
289
279
  }
290
280
  },
291
281
  logos: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CustomerLogos/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"View customer stories\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Trusted by\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \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gBACN,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,YAAY,CAAE;AAAA,kBACd,YAAY,CAAE;AAAA,gBACd;AAAA,cACD;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/CustomerLogos/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"CustomerLogos/screenshot-default.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\ttext: \"View customer stories\",\n\t\t\t\t},\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Trusted by\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tlogos: {\n\t\t\t\t__TYPE__: \"GroupContentType\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"main\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg\",\n\t\t\t\t\t\t\t\t\twidth: 2545,\n\t\t\t\t\t\t\t\t\theight: 2545,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"http://twitter.com\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"xnRg3xDcNnE\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 7173,\n\t\t\t\t\t\t\t\t\theight: 10041,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"U1iYwZ8Dx7k\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 3337,\n\t\t\t\t\t\t\t\t\theight: 4171,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nibgG33H0F8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 4000,\n\t\t\t\t\t\t\t\t\theight: 6000,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t__TYPE__: \"GroupItemContent\",\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"image\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\torigin: {\n\t\t\t\t\t\t\t\t\t\tid: \"nAOZCYcLND8\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg\",\n\t\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\twidth: 2749,\n\t\t\t\t\t\t\t\t\theight: 4124,\n\t\t\t\t\t\t\t\t\tedit: {\n\t\t\t\t\t\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\t\t\t\t\t\tzoom: 1,\n\t\t\t\t\t\t\t\t\t\tcrop: {\n\t\t\t\t\t\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tcredits: null,\n\t\t\t\t\t\t\t\t\talt: \"Customer Logo\",\n\t\t\t\t\t\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\t\t\t\t\t\tthumbnails: {},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\"link\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\t\t\t\t\t\tvalue: {\n\t\t\t\t\t\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\t\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\t\t\t\t\t\ttarget: \"\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"customer_logos\",\n\ttype: \"SharedSlice\",\n\tname: \"CustomerLogos\",\n\tdescription: \"CustomerLogos\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle: \"strong,em,rtl,heading2\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tlogos: {\n\t\t\t\t\ttype: \"Group\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"logos\",\n\t\t\t\t\t\tfields: {\n\t\t\t\t\t\t\timage: {\n\t\t\t\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlink: {\n\t\t\t\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\t\t\t\tconfig: {\n\t\t\t\t\t\t\t\t\tlabel: \"link\",\n\t\t\t\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;;AAGH,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,kBAAkB;AAAA,QACjB,UAAU;AAAA,QACV,OAAO;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,UACL,QAAQ;AAAA,UACR,MAAM;AAAA,QACN;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAA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ACR,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,QAAQ;AAAA,cACP,OAAO;AAAA,gBACN,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,YAAY,CAAE;AAAA,kBACd,YAAY,CAAE;AAAA,gBACd;AAAA,cACD;AAAA,cACD,MAAM;AAAA,gBACL,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACP,OAAO;AAAA,kBACP,aAAa;AAAA,kBACb,QAAQ;AAAA,gBACR;AAAA,cACD;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;;"}
@@ -63,17 +63,13 @@ const mocks = [
63
63
  __TYPE__: "ImageContent",
64
64
  thumbnails: {}
65
65
  },
66
- callToActionLabel: {
67
- __TYPE__: "FieldContent",
68
- type: "Text",
69
- value: "Call to Action"
70
- },
71
66
  callToActionLink: {
72
67
  __TYPE__: "LinkContent",
73
68
  value: {
74
69
  __TYPE__: "ExternalLink",
75
70
  url: "https://prismic.io",
76
- target: ""
71
+ target: "",
72
+ text: "Call to Action"
77
73
  }
78
74
  }
79
75
  },
@@ -145,17 +141,13 @@ const mocks = [
145
141
  __TYPE__: "ImageContent",
146
142
  thumbnails: {}
147
143
  },
148
- callToActionLabel: {
149
- __TYPE__: "FieldContent",
150
- type: "Text",
151
- value: "Call to Action"
152
- },
153
144
  callToActionLink: {
154
145
  __TYPE__: "LinkContent",
155
146
  value: {
156
147
  __TYPE__: "ExternalLink",
157
148
  url: "https://prismic.io",
158
- target: ""
149
+ target: "",
150
+ text: "Call to Action"
159
151
  }
160
152
  }
161
153
  },
@@ -209,19 +201,13 @@ const model = {
209
201
  thumbnails: []
210
202
  }
211
203
  },
212
- callToActionLabel: {
213
- type: "Text",
214
- config: {
215
- label: "callToActionLabel",
216
- placeholder: ""
217
- }
218
- },
219
204
  callToActionLink: {
220
205
  type: "Link",
221
206
  config: {
222
207
  label: "callToActionLink",
223
208
  placeholder: "",
224
- select: null
209
+ select: null,
210
+ allowText: true
225
211
  }
226
212
  }
227
213
  },
@@ -268,19 +254,13 @@ const model = {
268
254
  thumbnails: []
269
255
  }
270
256
  },
271
- callToActionLabel: {
272
- type: "Text",
273
- config: {
274
- label: "callToActionLabel",
275
- placeholder: ""
276
- }
277
- },
278
257
  callToActionLink: {
279
258
  type: "Link",
280
259
  config: {
281
260
  label: "callToActionLink",
282
261
  placeholder: "",
283
- select: null
262
+ select: null,
263
+ allowText: true
284
264
  }
285
265
  }
286
266
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QAC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AAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,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,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;;;;"}
@@ -61,17 +61,13 @@ const mocks = [
61
61
  __TYPE__: "ImageContent",
62
62
  thumbnails: {}
63
63
  },
64
- callToActionLabel: {
65
- __TYPE__: "FieldContent",
66
- type: "Text",
67
- value: "Call to Action"
68
- },
69
64
  callToActionLink: {
70
65
  __TYPE__: "LinkContent",
71
66
  value: {
72
67
  __TYPE__: "ExternalLink",
73
68
  url: "https://prismic.io",
74
- target: ""
69
+ target: "",
70
+ text: "Call to Action"
75
71
  }
76
72
  }
77
73
  },
@@ -143,17 +139,13 @@ const mocks = [
143
139
  __TYPE__: "ImageContent",
144
140
  thumbnails: {}
145
141
  },
146
- callToActionLabel: {
147
- __TYPE__: "FieldContent",
148
- type: "Text",
149
- value: "Call to Action"
150
- },
151
142
  callToActionLink: {
152
143
  __TYPE__: "LinkContent",
153
144
  value: {
154
145
  __TYPE__: "ExternalLink",
155
146
  url: "https://prismic.io",
156
- target: ""
147
+ target: "",
148
+ text: "Call to Action"
157
149
  }
158
150
  }
159
151
  },
@@ -207,19 +199,13 @@ const model = {
207
199
  thumbnails: []
208
200
  }
209
201
  },
210
- callToActionLabel: {
211
- type: "Text",
212
- config: {
213
- label: "callToActionLabel",
214
- placeholder: ""
215
- }
216
- },
217
202
  callToActionLink: {
218
203
  type: "Link",
219
204
  config: {
220
205
  label: "callToActionLink",
221
206
  placeholder: "",
222
- select: null
207
+ select: null,
208
+ allowText: true
223
209
  }
224
210
  }
225
211
  },
@@ -266,19 +252,13 @@ const model = {
266
252
  thumbnails: []
267
253
  }
268
254
  },
269
- callToActionLabel: {
270
- type: "Text",
271
- config: {
272
- label: "callToActionLabel",
273
- placeholder: ""
274
- }
275
- },
276
255
  callToActionLink: {
277
256
  type: "Link",
278
257
  config: {
279
258
  label: "callToActionLink",
280
259
  placeholder: "",
281
- select: null
260
+ select: null,
261
+ allowText: true
282
262
  }
283
263
  }
284
264
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLabel: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Call to Action\",\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLabel: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLabel\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAk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S;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,mBAAmB;AAAA,UAClB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/sliceTemplates/Hero/index.ts"],"sourcesContent":["import type { SharedSlice } from \"@prismicio/types-internal/lib/customtypes\";\nimport { SharedSliceContent } from \"@prismicio/types-internal/lib/content\";\n\nexport const screenshotPaths = {\n\tdefault: \"Hero/screenshot-default.png\",\n\timageRight: \"Hero/screenshot-imageRight.png\",\n};\n\nexport const mocks: SharedSliceContent[] = [\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"default\",\n\t\tprimary: {\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading2\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website that keeps getting better\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Hero\",\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"h5yMpgOI5nI\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1584559582128-b8be739912e1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHw5fHxmcnVpdHxlbnwwfHx8fDE2OTQ0NDI5NzZ8MA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 3710,\n\t\t\t\t\theight: 3710,\n\t\t\t\t},\n\t\t\t\twidth: 3710,\n\t\t\t\theight: 3710,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n\t{\n\t\t__TYPE__: \"SharedSliceContent\",\n\t\tvariation: \"imageRight\",\n\t\tprimary: {\n\t\t\teyebrowHeadline: {\n\t\t\t\t__TYPE__: \"FieldContent\",\n\t\t\t\ttype: \"Text\",\n\t\t\t\tvalue: \"Image Right\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"heading1\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Build a website\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\tdescription: {\n\t\t\t\t__TYPE__: \"StructuredTextContent\",\n\t\t\t\tvalue: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"Learn how prismic.io helps thousands of businesses around the world with some of our customers’ use-cases, including Image Right slice variations!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: \"paragraph\",\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\ttext: \"\\nBy the way: this RichText field supports multi-paragraph!\",\n\t\t\t\t\t\t\tspans: [],\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdirection: \"ltr\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t\timage: {\n\t\t\t\torigin: {\n\t\t\t\t\tid: \"euqiHwS38Rw\",\n\t\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\t\twidth: 2500,\n\t\t\t\t\theight: 2500,\n\t\t\t\t},\n\t\t\t\turl: \"https://images.unsplash.com/photo-1595475207225-428b62bda831?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMzc0NjN8MHwxfHNlYXJjaHwyMHx8ZnJ1aXR8ZW58MHx8fHwxNjk0NDQyOTc2fDA&ixlib=rb-4.0.3&q=85\",\n\t\t\t\twidth: 2500,\n\t\t\t\theight: 2500,\n\t\t\t\tedit: {\n\t\t\t\t\tbackground: \"transparent\",\n\t\t\t\t\tzoom: 1,\n\t\t\t\t\tcrop: {\n\t\t\t\t\t\tx: 0,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcredits: null,\n\t\t\t\talt: \"Image Content\",\n\t\t\t\t__TYPE__: \"ImageContent\",\n\t\t\t\tthumbnails: {},\n\t\t\t},\n\t\t\tcallToActionLink: {\n\t\t\t\t__TYPE__: \"LinkContent\",\n\t\t\t\tvalue: {\n\t\t\t\t\t__TYPE__: \"ExternalLink\",\n\t\t\t\t\turl: \"https://prismic.io\",\n\t\t\t\t\ttarget: \"\",\n\t\t\t\t\ttext: \"Call to Action\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\titems: [],\n\t},\n];\n\nexport const model: SharedSlice = {\n\tid: \"hero\",\n\ttype: \"SharedSlice\",\n\tname: \"Hero\",\n\tdescription: \"Hero\",\n\tvariations: [\n\t\t{\n\t\t\tid: \"default\",\n\t\t\tname: \"Default\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t\t{\n\t\t\tid: \"imageRight\",\n\t\t\tname: \"Image Right\",\n\t\t\tdocURL: \"...\",\n\t\t\tversion: \"initial\",\n\t\t\tdescription: \"Default\",\n\t\t\timageUrl: \"\",\n\t\t\tprimary: {\n\t\t\t\teyebrowHeadline: {\n\t\t\t\t\ttype: \"Text\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"eyebrowHeadline\",\n\t\t\t\t\t\tplaceholder: \"Eyebrow\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"title\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tsingle:\n\t\t\t\t\t\t\t\"heading1,heading2,heading3,heading4,heading5,heading6,strong,em\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"StructuredText\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"description\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tallowTargetBlank: true,\n\t\t\t\t\t\tmulti:\n\t\t\t\t\t\t\t\"paragraph,preformatted,hyperlink,embed,rtl,strong,em,list-item,o-list-item\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\timage: {\n\t\t\t\t\ttype: \"Image\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"image\",\n\t\t\t\t\t\tconstraint: {},\n\t\t\t\t\t\tthumbnails: [],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcallToActionLink: {\n\t\t\t\t\ttype: \"Link\",\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tlabel: \"callToActionLink\",\n\t\t\t\t\t\tplaceholder: \"\",\n\t\t\t\t\t\tselect: null,\n\t\t\t\t\t\tallowText: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\titems: {},\n\t\t},\n\t],\n};\n"],"names":[],"mappings":"AAGO,MAAM,kBAAkB;AAAA,EAC9B,SAAS;AAAA,EACT,YAAY;;AAGN,MAAM,QAA8B;AAAA,EAC1C;AAAA,IACC,UAAU;AAAA,IACV,WAAW;AAAA,IACX,SAAS;AAAA,MACR,OAAO;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,iBAAiB;AAAA,QAChB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,aAAa;AAAA,QACZ,UAAU;AAAA,QACV,OAAO;AAAA,UACN;AAAA,YACC,MAAM;AAAA,YACN,SAAS;AAAA,cACR,MAAM;AAAA,cACN,OAAO,CAAE;AAAA,YACT;AAAA,YACD,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO;AAAA,QACN,KAAK;AAAA,QACL,QAAQ;AAAA,UACP,IAAI;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QACR;AAAA,QACD,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,MAAM;AAAA,UACL,YAAY;AAAA,UACZ,MAAM;AAAA,UACN,MAAM;AAAA,YACL,GAAG;AAAA,YACH,GAAG;AAAA,UACH;AAAA,QACD;AAAA,QACD,SAAS;AAAA,QACT,KAAK;AAAA,QACL,UAAU;AAAA,QACV,YAAY,CAAE;A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AAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,MACV,SAAS;AAAA,QACR,iBAAiB;AAAA,UAChB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,UACb;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,QACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,aAAa;AAAA,UACZ,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,kBAAkB;AAAA,YAClB,OACC;AAAA,UACD;AAAA,QACD;AAAA,QACD,OAAO;AAAA,UACN,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,YAAY,CAAE;AAAA,YACd,YAAY,CAAE;AAAA,UACd;AAAA,QACD;AAAA,QACD,kBAAkB;AAAA,UACjB,MAAM;AAAA,UACN,QAAQ;AAAA,YACP,OAAO;AAAA,YACP,aAAa;AAAA,YACb,QAAQ;AAAA,YACR,WAAW;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACD,OAAO,CAAE;AAAA,IACT;AAAA,EACD;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/adapter-sveltekit",
3
- "version": "0.3.50-beta.1",
3
+ "version": "0.3.50-beta.3",
4
4
  "description": "Slice Machine adapter for SvelteKit.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -63,8 +63,8 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@prismicio/simulator": "^0.1.4",
66
- "@prismicio/types-internal": "^2.5.0",
67
- "@slicemachine/plugin-kit": "0.4.50-beta.1",
66
+ "@prismicio/types-internal": "^2.8.0",
67
+ "@slicemachine/plugin-kit": "0.4.50-beta.3",
68
68
  "common-tags": "^1.8.2",
69
69
  "fp-ts": "^2.13.1",
70
70
  "io-ts": "^2.2.20",
@@ -93,7 +93,7 @@
93
93
  "eslint-plugin-tsdoc": "0.2.17",
94
94
  "prettier": "3.0.3",
95
95
  "prettier-plugin-jsdoc": "1.1.1",
96
- "prismic-ts-codegen": "^0.1.21",
96
+ "prismic-ts-codegen": "^0.1.22",
97
97
  "size-limit": "8.2.4",
98
98
  "svelte": "4.2.0",
99
99
  "typescript": "4.9.5",
@@ -61,9 +61,13 @@ export const snippetRead: SnippetReadHook<PluginOptions> = async (
61
61
  label,
62
62
  language: "svelte",
63
63
  code: await format(
64
- stripIndent`
65
- <PrismicLink field={${dotPath(fieldPath)}}>Link</PrismicLink>
66
- `,
64
+ data.model.config?.allowText
65
+ ? stripIndent`
66
+ <PrismicLink field={${dotPath(fieldPath)}} />
67
+ `
68
+ : stripIndent`
69
+ <PrismicLink field={${dotPath(fieldPath)}}>Link</PrismicLink>
70
+ `,
67
71
  helpers,
68
72
  ),
69
73
  };
@@ -42,13 +42,9 @@ export const mocks: SharedSliceContent[] = [
42
42
  value: {
43
43
  __TYPE__: "ExternalLink",
44
44
  url: "https://twitter.com/prismicio",
45
+ text: "Learn more",
45
46
  },
46
47
  },
47
- buttonlabel: {
48
- __TYPE__: "FieldContent",
49
- type: "Text",
50
- value: "Click here",
51
- },
52
48
  image: {
53
49
  origin: {
54
50
  id: "9aOswReDKPo",
@@ -72,11 +68,6 @@ export const mocks: SharedSliceContent[] = [
72
68
  __TYPE__: "ImageContent",
73
69
  thumbnails: {},
74
70
  },
75
- buttonLabel: {
76
- __TYPE__: "FieldContent",
77
- type: "Text",
78
- value: "Learn more",
79
- },
80
71
  },
81
72
  items: [],
82
73
  },
@@ -138,13 +129,9 @@ export const mocks: SharedSliceContent[] = [
138
129
  value: {
139
130
  __TYPE__: "ExternalLink",
140
131
  url: "https://prismic.io",
132
+ text: "Learn more!",
141
133
  },
142
134
  },
143
- buttonLabel: {
144
- __TYPE__: "FieldContent",
145
- type: "Text",
146
- value: "Learn more!",
147
- },
148
135
  },
149
136
  items: [],
150
137
  },
@@ -194,13 +181,7 @@ export const model: SharedSlice = {
194
181
  placeholder: "Redirect URL for CTA button",
195
182
  allowTargetBlank: true,
196
183
  select: null,
197
- },
198
- },
199
- buttonLabel: {
200
- type: "Text",
201
- config: {
202
- label: "buttonLabel",
203
- placeholder: "Label for CTA button",
184
+ allowText: true,
204
185
  },
205
186
  },
206
187
  },
@@ -244,13 +225,7 @@ export const model: SharedSlice = {
244
225
  placeholder: "Redirect URL for CTA button",
245
226
  allowTargetBlank: true,
246
227
  select: null,
247
- },
248
- },
249
- buttonLabel: {
250
- type: "Text",
251
- config: {
252
- label: "buttonLabel",
253
- placeholder: "Label for CTA button",
228
+ allowText: true,
254
229
  },
255
230
  },
256
231
  },
@@ -10,17 +10,13 @@ export const mocks: SharedSliceContent[] = [
10
10
  __TYPE__: "SharedSliceContent",
11
11
  variation: "default",
12
12
  primary: {
13
- callToActionLabel: {
14
- __TYPE__: "FieldContent",
15
- type: "Text",
16
- value: "View customer stories",
17
- },
18
13
  callToActionLink: {
19
14
  __TYPE__: "LinkContent",
20
15
  value: {
21
16
  __TYPE__: "ExternalLink",
22
17
  url: "https://prismic.io",
23
18
  target: "_blank",
19
+ text: "View customer stories",
24
20
  },
25
21
  },
26
22
  eyebrowHeadline: {
@@ -278,19 +274,13 @@ export const model: SharedSlice = {
278
274
  single: "strong,em,rtl,heading2",
279
275
  },
280
276
  },
281
- callToActionLabel: {
282
- type: "Text",
283
- config: {
284
- label: "callToActionLabel",
285
- placeholder: "",
286
- },
287
- },
288
277
  callToActionLink: {
289
278
  type: "Link",
290
279
  config: {
291
280
  label: "callToActionLink",
292
281
  placeholder: "",
293
282
  select: null,
283
+ allowText: true,
294
284
  },
295
285
  },
296
286
  logos: {
@@ -65,17 +65,13 @@ export const mocks: SharedSliceContent[] = [
65
65
  __TYPE__: "ImageContent",
66
66
  thumbnails: {},
67
67
  },
68
- callToActionLabel: {
69
- __TYPE__: "FieldContent",
70
- type: "Text",
71
- value: "Call to Action",
72
- },
73
68
  callToActionLink: {
74
69
  __TYPE__: "LinkContent",
75
70
  value: {
76
71
  __TYPE__: "ExternalLink",
77
72
  url: "https://prismic.io",
78
73
  target: "",
74
+ text: "Call to Action",
79
75
  },
80
76
  },
81
77
  },
@@ -147,17 +143,13 @@ export const mocks: SharedSliceContent[] = [
147
143
  __TYPE__: "ImageContent",
148
144
  thumbnails: {},
149
145
  },
150
- callToActionLabel: {
151
- __TYPE__: "FieldContent",
152
- type: "Text",
153
- value: "Call to Action",
154
- },
155
146
  callToActionLink: {
156
147
  __TYPE__: "LinkContent",
157
148
  value: {
158
149
  __TYPE__: "ExternalLink",
159
150
  url: "https://prismic.io",
160
151
  target: "",
152
+ text: "Call to Action",
161
153
  },
162
154
  },
163
155
  },
@@ -214,19 +206,13 @@ export const model: SharedSlice = {
214
206
  thumbnails: [],
215
207
  },
216
208
  },
217
- callToActionLabel: {
218
- type: "Text",
219
- config: {
220
- label: "callToActionLabel",
221
- placeholder: "",
222
- },
223
- },
224
209
  callToActionLink: {
225
210
  type: "Link",
226
211
  config: {
227
212
  label: "callToActionLink",
228
213
  placeholder: "",
229
214
  select: null,
215
+ allowText: true,
230
216
  },
231
217
  },
232
218
  },
@@ -275,19 +261,13 @@ export const model: SharedSlice = {
275
261
  thumbnails: [],
276
262
  },
277
263
  },
278
- callToActionLabel: {
279
- type: "Text",
280
- config: {
281
- label: "callToActionLabel",
282
- placeholder: "",
283
- },
284
- },
285
264
  callToActionLink: {
286
265
  type: "Link",
287
266
  config: {
288
267
  label: "callToActionLink",
289
268
  placeholder: "",
290
269
  select: null,
270
+ allowText: true,
291
271
  },
292
272
  },
293
273
  },