@madebywild/sanity-quote-field 0.0.5 → 0.0.7

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 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../src/types.tsx","../src/index.tsx"],"sourcesContent":["import type { FieldOptions as RichtextOptions } from \"@madebywild/sanity-richtext-field\";\nimport type { ObjectDefinition, ObjectOptions, ReferenceDefinition } from \"sanity\";\n\n/** @public */\nexport const typeName = \"wild.quote\" as const;\n\n/** @public */\nexport type PluginConfig = {\n authorRef?: Omit<ReferenceDefinition, \"type\" | \"name\">;\n richtextOptions?: RichtextOptions;\n};\n\n/** @public */\nexport type FieldOptions = ObjectOptions;\n\n// Add the custom field definition to Sanity's intrinsic definitions\n// so that type checking works correctly when using this field type.\ndeclare module \"sanity\" {\n export interface IntrinsicDefinitions {\n [typeName]: Omit<ObjectDefinition, \"type\" | \"fields\" | \"options\"> & {\n type: typeof typeName;\n options?: FieldOptions;\n };\n }\n}\n","import { createExcerptFromPortableText } from \"@madebywild/sanity-utils\";\nimport { defineField, definePlugin, defineType } from \"sanity\";\nimport { type PluginConfig, typeName } from \"./types\";\n\n/** @public */\n// biome-ignore lint/suspicious/noConfusingVoidType: it can be void.\nconst wildSanityQuoteFieldPlugin = definePlugin<PluginConfig | void>((config) => {\n return {\n name: \"@madebywild/sanity-quote-field\",\n schema: {\n types: [\n defineType({\n name: typeName,\n type: \"object\",\n title: \"Quote\",\n description: \"A stylized quote with optional author.\",\n fields: [\n defineField({\n name: \"quote\",\n type: \"wild.richtext\",\n title: \"Quote\",\n description: \"The quote text.\",\n options: {\n // Disable all parts by default.\n allowedParts: [],\n ...config?.richtextOptions,\n },\n }),\n // Display a reference field if the user provided a author typeName.\n ...(config?.authorRef\n ? [\n defineField({\n name: \"author\",\n title: \"Author\",\n description: \"The author of the quote.\",\n type: \"reference\",\n weak: true,\n ...config.authorRef,\n }),\n ]\n : [\n defineField({\n type: \"string\",\n name: \"authorName\",\n title: \"Author Name\",\n description: \"The author name of the quote.\",\n }),\n defineField({\n type: \"text\",\n rows: 2,\n name: \"authorDescription\",\n title: \"Author Description\",\n description: \"The author description of the quote.\",\n }),\n ]),\n ],\n preview: {\n select: {\n quote: \"quote\",\n authorName: config?.authorRef?.to ? \"author.title\" : \"authorName\",\n },\n prepare({ quote, authorName }) {\n return {\n title: quote ? createExcerptFromPortableText(quote, 25) : \"No quote\",\n subtitle: authorName ? `— ${authorName}` : undefined,\n };\n },\n },\n }),\n ],\n },\n };\n});\n\nexport { wildSanityQuoteFieldPlugin, typeName };\n"],"names":["typeName","wildSanityQuoteFieldPlugin","definePlugin","config","name","schema","types","defineType","type","title","description","fields","defineField","options","allowedParts","richtextOptions","authorRef","weak","rows","preview","select","quote","authorName","to","prepare","createExcerptFromPortableText","subtitle","undefined"],"mappings":";;;AAIO,MAAMA,WAAW,cCElBC,6BAA6BC,OAAAA,aAAmCC,CAAAA,YAC7D;AAAA,EACLC,MAAM;AAAA,EACNC,QAAQ;AAAA,IACNC,OAAO,CACLC,OAAAA,WAAW;AAAA,MACTH,MAAMJ;AAAAA,MACNQ,MAAM;AAAA,MACNC,OAAO;AAAA,MACPC,aAAa;AAAA,MACbC,QAAQ;AAAA,QACNC,mBAAY;AAAA,UACVR,MAAM;AAAA,UACNI,MAAM;AAAA,UACNC,OAAO;AAAA,UACPC,aAAa;AAAA,UACbG,SAAS;AAAA;AAAA,YAEPC,cAAc,CAAA;AAAA,YACd,GAAGX,QAAQY;AAAAA,UAAAA;AAAAA,QACb,CACD;AAAA;AAAA,QAED,GAAIZ,QAAQa,YACR,CACEJ,mBAAY;AAAA,UACVR,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,UACbF,MAAM;AAAA,UACNS,MAAM;AAAA,UACN,GAAGd,OAAOa;AAAAA,QAAAA,CACX,CAAC,IAEJ,CACEJ,mBAAY;AAAA,UACVJ,MAAM;AAAA,UACNJ,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,GACDE,OAAAA,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNU,MAAM;AAAA,UACNd,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,CAAC;AAAA,MAAA;AAAA,MAGVS,SAAS;AAAA,QACPC,QAAQ;AAAA,UACNC,OAAO;AAAA,UACPC,YAAYnB,QAAQa,WAAWO,KAAK,iBAAiB;AAAA,QAAA;AAAA,QAEvDC,QAAQ;AAAA,UAAEH;AAAAA,UAAOC;AAAAA,QAAAA,GAAc;AAC7B,iBAAO;AAAA,YACLb,OAAOY,QAAQI,YAAAA,8BAA8BJ,OAAO,EAAE,IAAI;AAAA,YAC1DK,UAAUJ,aAAa,UAAKA,UAAU,KAAKK;AAAAA,UAAAA;AAAAA,QAE/C;AAAA,MAAA;AAAA,IACF,CACD,CAAC;AAAA,EAAA;AAGR,EACD;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../src/types.tsx","../src/index.tsx"],"sourcesContent":["import type { FieldOptions as RichtextOptions } from \"@madebywild/sanity-richtext-field\";\nimport type { ObjectDefinition, ObjectOptions, ReferenceDefinition } from \"sanity\";\n\n/** @public */\nexport const typeName = \"wild.quote\" as const;\n\n/** @public */\nexport type PluginConfig = {\n authorRef?: Omit<ReferenceDefinition, \"type\" | \"name\">;\n richtextOptions?: RichtextOptions;\n};\n\n/** @public */\nexport type FieldOptions = ObjectOptions;\n\n// Add the custom field definition to Sanity's intrinsic definitions\n// so that type checking works correctly when using this field type.\ndeclare module \"sanity\" {\n export interface IntrinsicDefinitions {\n [typeName]: Omit<ObjectDefinition, \"type\" | \"fields\" | \"options\"> & {\n type: typeof typeName;\n options?: FieldOptions;\n };\n }\n}\n","import { createExcerptFromPortableText } from \"@madebywild/sanity-utils\";\nimport { defineField, definePlugin, defineType } from \"sanity\";\nimport { type PluginConfig, typeName } from \"./types\";\n\n/** @public */\n// biome-ignore lint/suspicious/noConfusingVoidType: it can be void.\nconst wildSanityQuoteFieldPlugin = definePlugin<PluginConfig | void>((config) => {\n return {\n name: \"@madebywild/sanity-quote-field\",\n schema: {\n types: [\n defineType({\n name: typeName,\n type: \"object\",\n title: \"Quote\",\n description: \"A stylized quote with optional author.\",\n fields: [\n defineField({\n name: \"quote\",\n type: \"wild.richtext\",\n title: \"Quote\",\n description: \"The quote text.\",\n options: {\n // Disable all parts by default.\n allowedParts: [],\n ...config?.richtextOptions,\n },\n }),\n // Display a reference field if the user provided a author typeName.\n ...(config?.authorRef\n ? [\n defineField({\n name: \"author\",\n title: \"Author\",\n description: \"The author of the quote.\",\n type: \"reference\",\n weak: true,\n ...config.authorRef,\n }),\n ]\n : [\n defineField({\n type: \"string\",\n name: \"authorName\",\n title: \"Author Name\",\n description: \"The author name of the quote.\",\n }),\n defineField({\n type: \"text\",\n rows: 2,\n name: \"authorDescription\",\n title: \"Author Description\",\n description: \"The author description of the quote.\",\n }),\n ]),\n ],\n preview: {\n select: {\n quote: \"quote\",\n authorName: config?.authorRef?.to ? \"author.title\" : \"authorName\",\n },\n prepare({ quote, authorName }) {\n return {\n title: quote ? createExcerptFromPortableText(quote, 25) : \"No quote\",\n subtitle: authorName ? `— ${authorName}` : undefined,\n };\n },\n },\n }),\n ],\n },\n };\n});\n\nexport { wildSanityQuoteFieldPlugin, typeName, type PluginConfig };\n"],"names":["typeName","wildSanityQuoteFieldPlugin","definePlugin","config","name","schema","types","defineType","type","title","description","fields","defineField","options","allowedParts","richtextOptions","authorRef","weak","rows","preview","select","quote","authorName","to","prepare","createExcerptFromPortableText","subtitle","undefined"],"mappings":";;;AAIO,MAAMA,WAAW,cCElBC,6BAA6BC,OAAAA,aAAmCC,CAAAA,YAC7D;AAAA,EACLC,MAAM;AAAA,EACNC,QAAQ;AAAA,IACNC,OAAO,CACLC,OAAAA,WAAW;AAAA,MACTH,MAAMJ;AAAAA,MACNQ,MAAM;AAAA,MACNC,OAAO;AAAA,MACPC,aAAa;AAAA,MACbC,QAAQ;AAAA,QACNC,mBAAY;AAAA,UACVR,MAAM;AAAA,UACNI,MAAM;AAAA,UACNC,OAAO;AAAA,UACPC,aAAa;AAAA,UACbG,SAAS;AAAA;AAAA,YAEPC,cAAc,CAAA;AAAA,YACd,GAAGX,QAAQY;AAAAA,UAAAA;AAAAA,QACb,CACD;AAAA;AAAA,QAED,GAAIZ,QAAQa,YACR,CACEJ,mBAAY;AAAA,UACVR,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,UACbF,MAAM;AAAA,UACNS,MAAM;AAAA,UACN,GAAGd,OAAOa;AAAAA,QAAAA,CACX,CAAC,IAEJ,CACEJ,mBAAY;AAAA,UACVJ,MAAM;AAAA,UACNJ,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,GACDE,OAAAA,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNU,MAAM;AAAA,UACNd,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,CAAC;AAAA,MAAA;AAAA,MAGVS,SAAS;AAAA,QACPC,QAAQ;AAAA,UACNC,OAAO;AAAA,UACPC,YAAYnB,QAAQa,WAAWO,KAAK,iBAAiB;AAAA,QAAA;AAAA,QAEvDC,QAAQ;AAAA,UAAEH;AAAAA,UAAOC;AAAAA,QAAAA,GAAc;AAC7B,iBAAO;AAAA,YACLb,OAAOY,QAAQI,YAAAA,8BAA8BJ,OAAO,EAAE,IAAI;AAAA,YAC1DK,UAAUJ,aAAa,UAAKA,UAAU,KAAKK;AAAAA,UAAAA;AAAAA,QAE/C;AAAA,MAAA;AAAA,IACF,CACD,CAAC;AAAA,EAAA;AAGR,EACD;;;"}
package/dist/index.d.cts CHANGED
@@ -20,4 +20,4 @@ declare module "sanity" {
20
20
  }
21
21
  /** @public */
22
22
  declare const wildSanityQuoteFieldPlugin: sanity0.Plugin<void | PluginConfig>;
23
- export { typeName, wildSanityQuoteFieldPlugin };
23
+ export { type PluginConfig, typeName, wildSanityQuoteFieldPlugin };
package/dist/index.d.ts CHANGED
@@ -20,4 +20,4 @@ declare module "sanity" {
20
20
  }
21
21
  /** @public */
22
22
  declare const wildSanityQuoteFieldPlugin: sanity0.Plugin<void | PluginConfig>;
23
- export { typeName, wildSanityQuoteFieldPlugin };
23
+ export { type PluginConfig, typeName, wildSanityQuoteFieldPlugin };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/types.tsx","../src/index.tsx"],"sourcesContent":["import type { FieldOptions as RichtextOptions } from \"@madebywild/sanity-richtext-field\";\nimport type { ObjectDefinition, ObjectOptions, ReferenceDefinition } from \"sanity\";\n\n/** @public */\nexport const typeName = \"wild.quote\" as const;\n\n/** @public */\nexport type PluginConfig = {\n authorRef?: Omit<ReferenceDefinition, \"type\" | \"name\">;\n richtextOptions?: RichtextOptions;\n};\n\n/** @public */\nexport type FieldOptions = ObjectOptions;\n\n// Add the custom field definition to Sanity's intrinsic definitions\n// so that type checking works correctly when using this field type.\ndeclare module \"sanity\" {\n export interface IntrinsicDefinitions {\n [typeName]: Omit<ObjectDefinition, \"type\" | \"fields\" | \"options\"> & {\n type: typeof typeName;\n options?: FieldOptions;\n };\n }\n}\n","import { createExcerptFromPortableText } from \"@madebywild/sanity-utils\";\nimport { defineField, definePlugin, defineType } from \"sanity\";\nimport { type PluginConfig, typeName } from \"./types\";\n\n/** @public */\n// biome-ignore lint/suspicious/noConfusingVoidType: it can be void.\nconst wildSanityQuoteFieldPlugin = definePlugin<PluginConfig | void>((config) => {\n return {\n name: \"@madebywild/sanity-quote-field\",\n schema: {\n types: [\n defineType({\n name: typeName,\n type: \"object\",\n title: \"Quote\",\n description: \"A stylized quote with optional author.\",\n fields: [\n defineField({\n name: \"quote\",\n type: \"wild.richtext\",\n title: \"Quote\",\n description: \"The quote text.\",\n options: {\n // Disable all parts by default.\n allowedParts: [],\n ...config?.richtextOptions,\n },\n }),\n // Display a reference field if the user provided a author typeName.\n ...(config?.authorRef\n ? [\n defineField({\n name: \"author\",\n title: \"Author\",\n description: \"The author of the quote.\",\n type: \"reference\",\n weak: true,\n ...config.authorRef,\n }),\n ]\n : [\n defineField({\n type: \"string\",\n name: \"authorName\",\n title: \"Author Name\",\n description: \"The author name of the quote.\",\n }),\n defineField({\n type: \"text\",\n rows: 2,\n name: \"authorDescription\",\n title: \"Author Description\",\n description: \"The author description of the quote.\",\n }),\n ]),\n ],\n preview: {\n select: {\n quote: \"quote\",\n authorName: config?.authorRef?.to ? \"author.title\" : \"authorName\",\n },\n prepare({ quote, authorName }) {\n return {\n title: quote ? createExcerptFromPortableText(quote, 25) : \"No quote\",\n subtitle: authorName ? `— ${authorName}` : undefined,\n };\n },\n },\n }),\n ],\n },\n };\n});\n\nexport { wildSanityQuoteFieldPlugin, typeName };\n"],"names":["typeName","wildSanityQuoteFieldPlugin","definePlugin","config","name","schema","types","defineType","type","title","description","fields","defineField","options","allowedParts","richtextOptions","authorRef","weak","rows","preview","select","quote","authorName","to","prepare","createExcerptFromPortableText","subtitle","undefined"],"mappings":";;AAIO,MAAMA,WAAW,cCElBC,6BAA6BC,aAAmCC,CAAAA,YAC7D;AAAA,EACLC,MAAM;AAAA,EACNC,QAAQ;AAAA,IACNC,OAAO,CACLC,WAAW;AAAA,MACTH,MAAMJ;AAAAA,MACNQ,MAAM;AAAA,MACNC,OAAO;AAAA,MACPC,aAAa;AAAA,MACbC,QAAQ;AAAA,QACNC,YAAY;AAAA,UACVR,MAAM;AAAA,UACNI,MAAM;AAAA,UACNC,OAAO;AAAA,UACPC,aAAa;AAAA,UACbG,SAAS;AAAA;AAAA,YAEPC,cAAc,CAAA;AAAA,YACd,GAAGX,QAAQY;AAAAA,UAAAA;AAAAA,QACb,CACD;AAAA;AAAA,QAED,GAAIZ,QAAQa,YACR,CACEJ,YAAY;AAAA,UACVR,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,UACbF,MAAM;AAAA,UACNS,MAAM;AAAA,UACN,GAAGd,OAAOa;AAAAA,QAAAA,CACX,CAAC,IAEJ,CACEJ,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNJ,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,GACDE,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNU,MAAM;AAAA,UACNd,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,CAAC;AAAA,MAAA;AAAA,MAGVS,SAAS;AAAA,QACPC,QAAQ;AAAA,UACNC,OAAO;AAAA,UACPC,YAAYnB,QAAQa,WAAWO,KAAK,iBAAiB;AAAA,QAAA;AAAA,QAEvDC,QAAQ;AAAA,UAAEH;AAAAA,UAAOC;AAAAA,QAAAA,GAAc;AAC7B,iBAAO;AAAA,YACLb,OAAOY,QAAQI,8BAA8BJ,OAAO,EAAE,IAAI;AAAA,YAC1DK,UAAUJ,aAAa,UAAKA,UAAU,KAAKK;AAAAA,UAAAA;AAAAA,QAE/C;AAAA,MAAA;AAAA,IACF,CACD,CAAC;AAAA,EAAA;AAGR,EACD;"}
1
+ {"version":3,"file":"index.js","sources":["../src/types.tsx","../src/index.tsx"],"sourcesContent":["import type { FieldOptions as RichtextOptions } from \"@madebywild/sanity-richtext-field\";\nimport type { ObjectDefinition, ObjectOptions, ReferenceDefinition } from \"sanity\";\n\n/** @public */\nexport const typeName = \"wild.quote\" as const;\n\n/** @public */\nexport type PluginConfig = {\n authorRef?: Omit<ReferenceDefinition, \"type\" | \"name\">;\n richtextOptions?: RichtextOptions;\n};\n\n/** @public */\nexport type FieldOptions = ObjectOptions;\n\n// Add the custom field definition to Sanity's intrinsic definitions\n// so that type checking works correctly when using this field type.\ndeclare module \"sanity\" {\n export interface IntrinsicDefinitions {\n [typeName]: Omit<ObjectDefinition, \"type\" | \"fields\" | \"options\"> & {\n type: typeof typeName;\n options?: FieldOptions;\n };\n }\n}\n","import { createExcerptFromPortableText } from \"@madebywild/sanity-utils\";\nimport { defineField, definePlugin, defineType } from \"sanity\";\nimport { type PluginConfig, typeName } from \"./types\";\n\n/** @public */\n// biome-ignore lint/suspicious/noConfusingVoidType: it can be void.\nconst wildSanityQuoteFieldPlugin = definePlugin<PluginConfig | void>((config) => {\n return {\n name: \"@madebywild/sanity-quote-field\",\n schema: {\n types: [\n defineType({\n name: typeName,\n type: \"object\",\n title: \"Quote\",\n description: \"A stylized quote with optional author.\",\n fields: [\n defineField({\n name: \"quote\",\n type: \"wild.richtext\",\n title: \"Quote\",\n description: \"The quote text.\",\n options: {\n // Disable all parts by default.\n allowedParts: [],\n ...config?.richtextOptions,\n },\n }),\n // Display a reference field if the user provided a author typeName.\n ...(config?.authorRef\n ? [\n defineField({\n name: \"author\",\n title: \"Author\",\n description: \"The author of the quote.\",\n type: \"reference\",\n weak: true,\n ...config.authorRef,\n }),\n ]\n : [\n defineField({\n type: \"string\",\n name: \"authorName\",\n title: \"Author Name\",\n description: \"The author name of the quote.\",\n }),\n defineField({\n type: \"text\",\n rows: 2,\n name: \"authorDescription\",\n title: \"Author Description\",\n description: \"The author description of the quote.\",\n }),\n ]),\n ],\n preview: {\n select: {\n quote: \"quote\",\n authorName: config?.authorRef?.to ? \"author.title\" : \"authorName\",\n },\n prepare({ quote, authorName }) {\n return {\n title: quote ? createExcerptFromPortableText(quote, 25) : \"No quote\",\n subtitle: authorName ? `— ${authorName}` : undefined,\n };\n },\n },\n }),\n ],\n },\n };\n});\n\nexport { wildSanityQuoteFieldPlugin, typeName, type PluginConfig };\n"],"names":["typeName","wildSanityQuoteFieldPlugin","definePlugin","config","name","schema","types","defineType","type","title","description","fields","defineField","options","allowedParts","richtextOptions","authorRef","weak","rows","preview","select","quote","authorName","to","prepare","createExcerptFromPortableText","subtitle","undefined"],"mappings":";;AAIO,MAAMA,WAAW,cCElBC,6BAA6BC,aAAmCC,CAAAA,YAC7D;AAAA,EACLC,MAAM;AAAA,EACNC,QAAQ;AAAA,IACNC,OAAO,CACLC,WAAW;AAAA,MACTH,MAAMJ;AAAAA,MACNQ,MAAM;AAAA,MACNC,OAAO;AAAA,MACPC,aAAa;AAAA,MACbC,QAAQ;AAAA,QACNC,YAAY;AAAA,UACVR,MAAM;AAAA,UACNI,MAAM;AAAA,UACNC,OAAO;AAAA,UACPC,aAAa;AAAA,UACbG,SAAS;AAAA;AAAA,YAEPC,cAAc,CAAA;AAAA,YACd,GAAGX,QAAQY;AAAAA,UAAAA;AAAAA,QACb,CACD;AAAA;AAAA,QAED,GAAIZ,QAAQa,YACR,CACEJ,YAAY;AAAA,UACVR,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,UACbF,MAAM;AAAA,UACNS,MAAM;AAAA,UACN,GAAGd,OAAOa;AAAAA,QAAAA,CACX,CAAC,IAEJ,CACEJ,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNJ,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,GACDE,YAAY;AAAA,UACVJ,MAAM;AAAA,UACNU,MAAM;AAAA,UACNd,MAAM;AAAA,UACNK,OAAO;AAAA,UACPC,aAAa;AAAA,QAAA,CACd,CAAC;AAAA,MAAA;AAAA,MAGVS,SAAS;AAAA,QACPC,QAAQ;AAAA,UACNC,OAAO;AAAA,UACPC,YAAYnB,QAAQa,WAAWO,KAAK,iBAAiB;AAAA,QAAA;AAAA,QAEvDC,QAAQ;AAAA,UAAEH;AAAAA,UAAOC;AAAAA,QAAAA,GAAc;AAC7B,iBAAO;AAAA,YACLb,OAAOY,QAAQI,8BAA8BJ,OAAO,EAAE,IAAI;AAAA,YAC1DK,UAAUJ,aAAa,UAAKA,UAAU,KAAKK;AAAAA,UAAAA;AAAAA,QAE/C;AAAA,MAAA;AAAA,IACF,CACD,CAAC;AAAA,EAAA;AAGR,EACD;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madebywild/sanity-quote-field",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "UNLICENSED",
@@ -21,8 +21,8 @@
21
21
  "access": "restricted"
22
22
  },
23
23
  "dependencies": {
24
- "@madebywild/sanity-richtext-field": "0.1.26",
25
- "@madebywild/sanity-utils": "0.3.10"
24
+ "@madebywild/sanity-utils": "0.3.11",
25
+ "@madebywild/sanity-richtext-field": "0.1.27"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@sanity/ui": "^3.1",
package/src/index.tsx CHANGED
@@ -72,4 +72,4 @@ const wildSanityQuoteFieldPlugin = definePlugin<PluginConfig | void>((config) =>
72
72
  };
73
73
  });
74
74
 
75
- export { wildSanityQuoteFieldPlugin, typeName };
75
+ export { wildSanityQuoteFieldPlugin, typeName, type PluginConfig };