@sanity/form-toolkit 3.0.0 → 3.0.2

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/README.md CHANGED
@@ -205,7 +205,7 @@ export default defineType({
205
205
  Finally, pass a `form` document to the `FormRenderer` component
206
206
 
207
207
  ```tsx
208
- import React, {type FC} from 'react'
208
+ import {type FC} from 'react'
209
209
  import {FormRenderer, type FormDataProps} from '@sanity/form-toolkit/form-renderer'
210
210
 
211
211
  interface NativeFormExampleProps {
@@ -44,6 +44,7 @@ const detectFramework = () => {
44
44
  };
45
45
  if (framework === "nuxt")
46
46
  return defineEventHandler(async (event) => {
47
+ event.node.req;
47
48
  const res = event.node.res;
48
49
  return handlerLogic({
49
50
  res
@@ -1 +1 @@
1
- {"version":3,"file":"create-handler.js","sources":["../../src/shared/create-handler.ts"],"sourcesContent":["import type {IncomingMessage, ServerResponse} from 'node:http'\n\nimport {defineEventHandler, type H3Event} from 'h3' // For Nuxt.js/Nitro\n\n// Utility function to detect the framework at runtime\nconst detectFramework = (): string => {\n if (process.env['NEXT_RUNTIME']) {\n return 'nextjs'\n } else if (process.env['NUXT_ENV']) {\n return 'nuxt'\n } else if (process.env['SVELTEKIT_ENV']) {\n return 'sveltekit'\n } else if (process.env['REMIX_ENV']) {\n return 'remix'\n } else if (process.env['ASTRO_ENV']) {\n return 'astro'\n }\n throw new Error('Unable to detect framework.')\n}\n\n// Create a generic handler with predefined logic\nconst createHandler = (handlerFunc: () => Promise<unknown>) => {\n const framework = detectFramework()\n\n // Handler logic to fetch Mailchimp data\n const handlerLogic = async ({\n res,\n }: {\n req: IncomingMessage | Request\n res?: ServerResponse\n }): Promise<unknown> => {\n try {\n const data = await handlerFunc()\n\n if (res) {\n // Send response directly for frameworks like Next.js and Nuxt.js\n res.writeHead(200, {'Content-Type': 'application/json'})\n res.end(JSON.stringify(data))\n }\n\n // Return the response for frameworks like SvelteKit, Remix, and Astro\n return data\n } catch (error) {\n if (error instanceof Error) {\n if (res) {\n res.writeHead(500, {'Content-Type': 'application/json'})\n res.end(JSON.stringify({error: error.message}))\n }\n return {error: error.message}\n }\n // Handle non-Error types (e.g., strings, objects)\n if (res) {\n res.writeHead(500, {'Content-Type': 'application/json'})\n res.end(JSON.stringify({error: 'An unexpected error occurred'}))\n }\n return {error: 'An unexpected error occurred'}\n }\n }\n\n // Framework-specific implementations\n if (framework === 'nextjs') {\n return async (req: IncomingMessage, res: ServerResponse) => {\n // Set CORS headers\n res.setHeader('Access-Control-Allow-Origin', '*') // Allow all origins\n res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') // Allowed HTTP methods\n res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization') // Allowed headers\n\n await handlerLogic({req, res})\n }\n } else if (framework === 'nuxt') {\n return defineEventHandler(async (event: H3Event) => {\n const req = event.node.req\n const res = event.node.res\n return handlerLogic({req, res})\n })\n } else if (framework === 'sveltekit') {\n return {\n GET: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return new Response(JSON.stringify(result), {\n headers: {'Content-Type': 'application/json'},\n })\n },\n }\n } else if (framework === 'remix') {\n return {\n loader: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return new Response(JSON.stringify(result), {\n headers: {'Content-Type': 'application/json'},\n })\n },\n }\n } else if (framework === 'astro') {\n return {\n get: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return {\n body: JSON.stringify(result),\n headers: {'Content-Type': 'application/json'},\n }\n },\n }\n }\n throw new Error(`Unsupported framework: ${framework}`)\n}\n\nexport default createHandler\n"],"names":["detectFramework","process","env","Error","createHandler","handlerFunc","framework","handlerLogic","res","data","writeHead","end","JSON","stringify","error","message","req","setHeader","defineEventHandler","event","node","GET","request","result","Response","headers","loader","get","body"],"mappings":";AAKA,MAAMA,kBAAkBA,MAAc;AACpC,MAAIC,QAAQC,IAAI;AACd,WAAO;AACF,MAAID,QAAQC,IAAI;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C,KAAKZ;AACvB,aAAOD,aAAa;AAAA,QAAMC;AAAAA,MAAAA,CAAI;AAAA,IAChC,CAAC;AACI,MAAIF,cAAc;AACvB,WAAO;AAAA,MACLe,KAAK,OAAO;AAAA,QAACC;AAAAA,MAAAA,MAAiC;AAC5C,cAAMC,SAAS,MAAMhB,aAAa,CAAa,CAAC;AAChD,eAAO,IAAIiB,SAASZ,KAAKC,UAAUU,MAAM,GAAG;AAAA,UAC1CE,SAAS;AAAA,YAAC,gBAAgB;AAAA,UAAA;AAAA,QAAkB,CAC7C;AAAA,MACH;AAAA,IAAA;AAEG,MAAInB,cAAc;AACvB,WAAO;AAAA,MACLoB,QAAQ,OAAO;AAAA,QAACJ;AAAAA,MAAAA,MAAiC;AAC/C,cAAMC,SAAS,MAAMhB,aAAa,CAAa,CAAC;AAChD,eAAO,IAAIiB,SAASZ,KAAKC,UAAUU,MAAM,GAAG;AAAA,UAC1CE,SAAS;AAAA,YAAC,gBAAgB;AAAA,UAAA;AAAA,QAAkB,CAC7C;AAAA,MACH;AAAA,IAAA;AAEG,MAAInB,cAAc;AACvB,WAAO;AAAA,MACLqB,KAAK,OAAO;AAAA,QAACL;AAAAA,MAAAA,MAAiC;AAC5C,cAAMC,SAAS,MAAMhB,aAAa,CAAa,CAAC;AAChD,eAAO;AAAA,UACLqB,MAAMhB,KAAKC,UAAUU,MAAM;AAAA,UAC3BE,SAAS;AAAA,YAAC,gBAAgB;AAAA,UAAA;AAAA,QAAkB;AAAA,MAEhD;AAAA,IAAA;AAGJ,QAAM,IAAItB,MAAM,0BAA0BG,SAAS,EAAE;AACvD;"}
1
+ {"version":3,"file":"create-handler.js","sources":["../../src/shared/create-handler.ts"],"sourcesContent":["import type {IncomingMessage, ServerResponse} from 'node:http'\n\nimport {defineEventHandler, type H3Event} from 'h3' // For Nuxt.js/Nitro\n\n// Utility function to detect the framework at runtime\nconst detectFramework = (): string => {\n if (process.env['NEXT_RUNTIME']) {\n return 'nextjs'\n } else if (process.env['NUXT_ENV']) {\n return 'nuxt'\n } else if (process.env['SVELTEKIT_ENV']) {\n return 'sveltekit'\n } else if (process.env['REMIX_ENV']) {\n return 'remix'\n } else if (process.env['ASTRO_ENV']) {\n return 'astro'\n }\n throw new Error('Unable to detect framework.')\n}\n\n// Create a generic handler with predefined logic\nconst createHandler = (handlerFunc: () => Promise<unknown>) => {\n const framework = detectFramework()\n\n // Handler logic to fetch Mailchimp data\n const handlerLogic = async ({\n res,\n }: {\n req: IncomingMessage | Request\n res?: ServerResponse\n }): Promise<unknown> => {\n try {\n const data = await handlerFunc()\n\n if (res) {\n // Send response directly for frameworks like Next.js and Nuxt.js\n res.writeHead(200, {'Content-Type': 'application/json'})\n res.end(JSON.stringify(data))\n }\n\n // Return the response for frameworks like SvelteKit, Remix, and Astro\n return data\n } catch (error) {\n if (error instanceof Error) {\n if (res) {\n res.writeHead(500, {'Content-Type': 'application/json'})\n res.end(JSON.stringify({error: error.message}))\n }\n return {error: error.message}\n }\n // Handle non-Error types (e.g., strings, objects)\n if (res) {\n res.writeHead(500, {'Content-Type': 'application/json'})\n res.end(JSON.stringify({error: 'An unexpected error occurred'}))\n }\n return {error: 'An unexpected error occurred'}\n }\n }\n\n // Framework-specific implementations\n if (framework === 'nextjs') {\n return async (req: IncomingMessage, res: ServerResponse) => {\n // Set CORS headers\n res.setHeader('Access-Control-Allow-Origin', '*') // Allow all origins\n res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') // Allowed HTTP methods\n res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization') // Allowed headers\n\n await handlerLogic({req, res})\n }\n } else if (framework === 'nuxt') {\n return defineEventHandler(async (event: H3Event) => {\n const req = event.node.req\n const res = event.node.res\n return handlerLogic({req, res})\n })\n } else if (framework === 'sveltekit') {\n return {\n GET: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return new Response(JSON.stringify(result), {\n headers: {'Content-Type': 'application/json'},\n })\n },\n }\n } else if (framework === 'remix') {\n return {\n loader: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return new Response(JSON.stringify(result), {\n headers: {'Content-Type': 'application/json'},\n })\n },\n }\n } else if (framework === 'astro') {\n return {\n get: async ({request}: {request: Request}) => {\n const result = await handlerLogic({req: request})\n return {\n body: JSON.stringify(result),\n headers: {'Content-Type': 'application/json'},\n }\n },\n }\n }\n throw new Error(`Unsupported framework: ${framework}`)\n}\n\nexport default createHandler\n"],"names":["detectFramework","process","env","Error","createHandler","handlerFunc","framework","handlerLogic","res","data","writeHead","end","JSON","stringify","error","message","req","setHeader","defineEventHandler","event","node","GET","request","result","Response","headers","loader","get","body"],"mappings":";AAKA,MAAMA,kBAAkBA,MAAc;AACpC,MAAIC,QAAQC,IAAI;AACd,WAAO;AACF,MAAID,QAAQC,IAAI;AACrB,WAAO;AACF,MAAID,QAAQC,IAAI;AACrB,WAAO;AACF,MAAID,QAAQC,IAAI;AACrB,WAAO;AACF,MAAID,QAAQC,IAAI;AACrB,WAAO;AAET,QAAM,IAAIC,MAAM,6BAA6B;AAC/C,GAGMC,gBAAiBC,CAAAA,gBAAwC;AAC7D,QAAMC,YAAYN,mBAGZO,eAAe,OAAO;AAAA,IAC1BC;AAAAA,EAAAA,MAIsB;AACtB,QAAI;AACF,YAAMC,OAAO,MAAMJ,YAAAA;AAEnB,aAAIG,QAEFA,IAAIE,UAAU,KAAK;AAAA,QAAC,gBAAgB;AAAA,MAAA,CAAmB,GACvDF,IAAIG,IAAIC,KAAKC,UAAUJ,IAAI,CAAC,IAIvBA;AAAAA,IACT,SAASK,OAAO;AACd,aAAIA,iBAAiBX,SACfK,QACFA,IAAIE,UAAU,KAAK;AAAA,QAAC,gBAAgB;AAAA,MAAA,CAAmB,GACvDF,IAAIG,IAAIC,KAAKC,UAAU;AAAA,QAACC,OAAOA,MAAMC;AAAAA,MAAAA,CAAQ,CAAC,IAEzC;AAAA,QAACD,OAAOA,MAAMC;AAAAA,MAAAA,MAGnBP,QACFA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LqB,KAAK,OAAO;AAAA,QAACL;AAAAA,MAAAA,MAAiC;AAC5C,cAAMC,SAAS,MAAMhB,aAAa,CAAa,CAAC;AAChD,eAAO;AAAA,UACLqB,MAAMhB,KAAKC,UAAUU,MAAM;AAAA,UAC3BE,SAAS;AAAA,YAAC,gBAAgB;AAAA,UAAA;AAAA,QAAkB;AAAA,MAEhD;AAAA,IAAA;AAGJ,QAAM,IAAItB,MAAM,0BAA0BG,SAAS,EAAE;AACvD;"}
@@ -2,7 +2,7 @@ declare const hubSpotHandler: ({
2
2
  token
3
3
  }: {
4
4
  token: string;
5
- }) => ((req: import("http").IncomingMessage, res: import("http").ServerResponse) => Promise<void>) | import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<unknown>> | {
5
+ }) => ((req: IncomingMessage, res: ServerResponse) => Promise<void>) | import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<unknown>> | {
6
6
  GET: ({
7
7
  request
8
8
  }: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/hubspot/create-handler.ts","../../src/hubspot/fetch-hubspot-data.ts","../../src/hubspot/index.ts"],"mappings":"cAGa,cAAA;EAAkB;AAAA;EAAU,KAAA;AAAA,QAAc,GAAA,iBAAA,eAAA,EAAA,GAAA,iBAAA,cAAA,KAAA,OAAA,uBAAA,YAAA,cAAA,mBAAA,EAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCHlD,WAAA;EACH,EAAA;EACA,IAAA;EAAA,CACC,GAAA;AAAA;AAAA,KAGE,YAAA,GAAe,WAAW;EAC7B,KAAK;AAAA;AAAA,iBAEe,gBAAA;EAAkB;AAAA;EAAS,KAAA;AAAA,IAAiB,OAAA,CAAQ,YAAA;AAAA,UCHhE,kBAAA;EACR,GAAA,WAAc,GAAG;AAAA;AAAA,cAuBN,YAAA,mBAAY,MAAA,CAAA,kBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/hubspot/create-handler.ts","../../src/hubspot/fetch-hubspot-data.ts","../../src/hubspot/index.ts"],"mappings":"cAGa,cAAA;EAAkB;AAAA;EAAU,KAAA;AAAA,QAAc,GAAA,EAAA,eAAA,EAAA,GAAA,EAAA,cAAA,KAAA,OAAA,uBAAA,YAAA,cAAA,mBAAA,EAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCHlD,WAAA;EACH,EAAA;EACA,IAAA;EAAA,CACC,GAAA;AAAA;AAAA,KAGE,YAAA,GAAe,WAAW;EAC7B,KAAK;AAAA;AAAA,iBAEe,gBAAA;EAAkB;AAAA;EAAS,KAAA;AAAA,IAAiB,OAAA,CAAQ,YAAA;AAAA,UCHhE,kBAAA;EACR,GAAA,WAAc,GAAG;AAAA;AAAA,cAuBN,YAAA,mBAAY,MAAA,CAAA,kBAAA"}
@@ -1,8 +1,8 @@
1
1
  import { asyncList } from "@sanity/sanity-plugin-async-list";
2
2
  import { definePlugin } from "sanity";
3
- import { jsxs, jsx } from "react/jsx-runtime";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { c } from "react/compiler-runtime";
5
- import { Card, Text } from "@sanity/ui";
5
+ import { Text, Card } from "@sanity/ui";
6
6
  import { createHandler } from "../_chunks-es/create-handler.js";
7
7
  const Option = (option) => {
8
8
  const $ = c(8);
@@ -8,7 +8,7 @@ declare function fetchMailchimpData({
8
8
  declare const mailchimpHandler: (keys: {
9
9
  key: string;
10
10
  server: string;
11
- }) => ((req: import("http").IncomingMessage, res: import("http").ServerResponse) => Promise<void>) | import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<unknown>> | {
11
+ }) => ((req: IncomingMessage, res: ServerResponse) => Promise<void>) | import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<unknown>> | {
12
12
  GET: ({
13
13
  request
14
14
  }: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/mailchimp/create-handler.ts","../../src/mailchimp/index.ts"],"mappings":"iBAUsB,kBAAA;EACpB,GAAA;EACA;AAAA;EAEA,GAAA;EACA,MAAA;AAAA,IACE,OAAA;AAAA,cAyBS,gBAAA,GAAoB,IAAA;EAAO,GAAA;EAAa,MAAA;AAAA,QAAe,GAAA,iBAAA,eAAA,EAAA,GAAA,iBAAA,cAAA,KAAA,OAAA,uBAAA,YAAA,cAAA,mBAAA,EAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCnC1D,oBAAA;EACR,GAAA,WAAc,GAAG;AAAA;;;;;;;;;;;;ADSR;AAyBX;cCjBa,cAAA,mBAAc,MAAA,CAAA,oBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/mailchimp/create-handler.ts","../../src/mailchimp/index.ts"],"mappings":"iBAUsB,kBAAA;EACpB,GAAA;EACA;AAAA;EAEA,GAAA;EACA,MAAA;AAAA,IACE,OAAA;AAAA,cAyBS,gBAAA,GAAoB,IAAA;EAAO,GAAA;EAAa,MAAA;AAAA,QAAe,GAAA,EAAA,eAAA,EAAA,GAAA,EAAA,cAAA,KAAA,OAAA,uBAAA,YAAA,cAAA,mBAAA,EAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCnC1D,oBAAA;EACR,GAAA,WAAc,GAAG;AAAA;;;;;;;;;;;;ADSR;AAyBX;cCjBa,cAAA,mBAAc,MAAA,CAAA,oBAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/form-toolkit",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Tool kit for integrating forms with a Sanity Studio",
5
5
  "keywords": [
6
6
  "sanity",
@@ -32,13 +32,13 @@
32
32
  "dependencies": {
33
33
  "@formium/client": "^0.1.4",
34
34
  "@mailchimp/mailchimp_marketing": "^3.0.80",
35
- "@sanity/ui": "^3.2.0",
36
- "h3": "^1.13.0",
37
- "react-icons": "^5.4.0",
38
- "@sanity/sanity-plugin-async-list": "^2.0.1"
35
+ "@sanity/ui": "^3.3.0",
36
+ "h3": "^1.15.11",
37
+ "react-icons": "^5.6.0",
38
+ "@sanity/sanity-plugin-async-list": "^2.0.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@sanity/pkg-utils": "^10.5.7",
41
+ "@sanity/pkg-utils": "^10.8.2",
42
42
  "@types/mailchimp__mailchimp_marketing": "^3.0.22",
43
43
  "@types/node": "^24.13.2",
44
44
  "@types/react": "^19.2.17",
@@ -46,7 +46,7 @@
46
46
  "babel-plugin-react-compiler": "^1.0.0",
47
47
  "react": "^19.2.7",
48
48
  "react-dom": "^19.2.7",
49
- "sanity": "^6.1.0",
49
+ "sanity": "^6.3.0",
50
50
  "@repo/package.config": "0.0.0",
51
51
  "@repo/tsconfig": "0.0.0"
52
52
  },