@sonordev/site-kit 8.8.1 → 8.9.0

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.
Files changed (456) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +9 -0
  3. package/agent-manifest.json +49 -42
  4. package/dist/AnalyticsProvider-X7JJN3QL.js +19 -0
  5. package/dist/{ArticleViewTracker-PV2RD3P6.js → ArticleViewTracker-7Q6AMCKX.js} +11 -10
  6. package/dist/{BlocksPopup-NEEFV2L3.js → BlocksPopup-U5VIYEBA.js} +4 -5
  7. package/dist/ChatWidget-EAATOFCT.js +30 -0
  8. package/dist/{FileField-MJ3RCNFJ.js → FileField-YWMSK7RF.js} +1 -3
  9. package/dist/{FormSpotlight-NQPQFZS7.js → FormSpotlight-MAXDW3TK.js} +1 -1
  10. package/dist/{FormStage-4T5PJR5K.js → FormStage-VAHRVOIZ.js} +1 -1
  11. package/dist/ManagedForm-7IZT7ZII.js +29 -0
  12. package/dist/{ManagedNewsletterForm-TUYGN6O3.js → ManagedNewsletterForm-VVXZSEAL.js} +21 -11
  13. package/dist/{SignalCore-OW3YIH6M.js → SignalCore-HAN4O7QG.js} +90 -36
  14. package/dist/{SiteChat-XMKHBSEK.js → SiteChat-3JLCEL2N.js} +2 -2
  15. package/dist/{SiteDesignReporter-BRH7ORQS.js → SiteDesignReporter-6CCO645E.js} +5 -6
  16. package/dist/SitePopups-ZGHQNGGH.js +19 -0
  17. package/dist/SitemapSync-5LSYCBKS.js +7 -0
  18. package/dist/SitemapSync.d.ts +1 -1
  19. package/dist/_client/booking-widget.d.ts +1 -1
  20. package/dist/_client/booking-widget.js +6 -7
  21. package/dist/_client/reviewed-signal-experiment.d.ts +9 -0
  22. package/dist/_client/reviewed-signal-experiment.js +89 -0
  23. package/dist/_client/testimonial-section.d.ts +1 -1
  24. package/dist/admin-auth/index.d.ts +3 -3
  25. package/dist/affiliates/AffiliatesWidget.d.ts +1 -1
  26. package/dist/affiliates/api.d.ts +1 -1
  27. package/dist/affiliates/index.d.ts +6 -6
  28. package/dist/affiliates/index.js +1 -3
  29. package/dist/affiliates/useAffiliates.d.ts +1 -1
  30. package/dist/analytics/AnalyticsProvider.d.ts +1 -1
  31. package/dist/analytics/dispatch.d.ts +1 -1
  32. package/dist/analytics/index.d.ts +6 -6
  33. package/dist/analytics/index.js +22 -12
  34. package/dist/analytics/publication-cta.d.ts +1 -1
  35. package/dist/analytics/send-gate.d.ts +8 -4
  36. package/dist/articles/Article.d.ts +1 -1
  37. package/dist/articles/ArticleFAQ.d.ts +1 -1
  38. package/dist/articles/ArticleFaqSection.d.ts +1 -1
  39. package/dist/articles/ArticleList.d.ts +1 -1
  40. package/dist/articles/ArticleViewTracker.d.ts +1 -1
  41. package/dist/articles/AuthorCard.d.ts +1 -1
  42. package/dist/articles/AuthorPage.d.ts +1 -1
  43. package/dist/articles/ClusterLandingPage.d.ts +1 -1
  44. package/dist/articles/ClusterNavigation.d.ts +1 -1
  45. package/dist/articles/ManagedNewsletterForm.d.ts +2 -2
  46. package/dist/articles/NewsletterShell.d.ts +1 -1
  47. package/dist/articles/NewsletterWidget.d.ts +1 -1
  48. package/dist/articles/PublicationLayout.d.ts +1 -1
  49. package/dist/articles/PublicationSidebar.d.ts +1 -1
  50. package/dist/articles/RelatedPosts.d.ts +1 -1
  51. package/dist/articles/ServiceCallout.d.ts +1 -1
  52. package/dist/articles/TableOfContents.d.ts +1 -1
  53. package/dist/articles/article-photos.d.ts +1 -1
  54. package/dist/articles/article-styles.d.ts +1 -1
  55. package/dist/articles/article-tables.d.ts +1 -1
  56. package/dist/articles/artwork.d.ts +1 -1
  57. package/dist/articles/author-schema.d.ts +1 -1
  58. package/dist/articles/author-social.d.ts +1 -1
  59. package/dist/articles/excerpt.d.ts +1 -1
  60. package/dist/articles/index.d.ts +1 -1
  61. package/dist/articles/index.js +3 -3
  62. package/dist/articles/news-sitemap.d.ts +1 -1
  63. package/dist/articles/processArticleHtml.d.ts +1 -1
  64. package/dist/articles/public-reads.d.ts +1 -1
  65. package/dist/articles/reading-time.d.ts +1 -1
  66. package/dist/articles/routes.d.ts +1 -1
  67. package/dist/articles/server-core.d.ts +1 -1
  68. package/dist/articles/server-ui.d.ts +1 -1
  69. package/dist/articles/server-ui.js +6 -6
  70. package/dist/articles/server.d.ts +1 -1
  71. package/dist/articles/server.js +5 -5
  72. package/dist/articles/types.d.ts +1 -1
  73. package/dist/articles/widget-styles.d.ts +1 -1
  74. package/dist/brand/extract-brand-profile.d.ts +1 -1
  75. package/dist/chat/ChatWidget.d.ts +1 -1
  76. package/dist/chat/EchoUiActions.d.ts +1 -1
  77. package/dist/chat/SiteChat.d.ts +2 -2
  78. package/dist/chat/chat-messages.d.ts +1 -1
  79. package/dist/chat/index.d.ts +7 -7
  80. package/dist/chat/index.js +17 -9
  81. package/dist/chat/launcher-placement.d.ts +1 -1
  82. package/dist/{chunk-OPUY4RS6.js → chunk-2LBKIE2K.js} +2 -1
  83. package/dist/{chunk-XIDWNXZN.js → chunk-3W3MN6Z7.js} +2 -2
  84. package/dist/{chunk-UPFU63L4.js → chunk-55GFMOI6.js} +1 -1
  85. package/dist/chunk-5IVD6G77.js +37 -0
  86. package/dist/{chunk-URLTBVRX.js → chunk-6EDE7BOE.js} +3 -3
  87. package/dist/{chunk-DYROJGI2.js → chunk-6NLVHTYY.js} +1 -1
  88. package/dist/{chunk-ZQSCMYZO.js → chunk-7643MCD2.js} +6 -3
  89. package/dist/chunk-7IZUUXXO.js +1 -0
  90. package/dist/{chunk-C7TLGL3R.js → chunk-7VMA3KCN.js} +30 -4
  91. package/dist/{chunk-OWZWRP7Y.js → chunk-ADQ3VCKK.js} +2 -2
  92. package/dist/chunk-AG2RDHYZ.js +45 -0
  93. package/dist/chunk-AWLPFFPO.js +36 -0
  94. package/dist/{chunk-LNSNA3W4.js → chunk-C4XK472G.js} +4 -3
  95. package/dist/{chunk-TP32MRXV.js → chunk-CJ43K7RA.js} +2 -2
  96. package/dist/chunk-D4M5K6JN.js +25 -0
  97. package/dist/{chunk-F6WLHVMQ.js → chunk-DXE6SXWW.js} +1 -1
  98. package/dist/{chunk-YEX5RAEU.js → chunk-EBEM5BI5.js} +38 -27
  99. package/dist/chunk-F3RKFGRW.js +2 -0
  100. package/dist/chunk-FAY6MOLL.js +62 -0
  101. package/dist/chunk-FRY6PBT6.js +31 -0
  102. package/dist/{chunk-JYITKUUB.js → chunk-G5WUX7VE.js} +1 -1
  103. package/dist/chunk-HJD6KXKH.js +147 -0
  104. package/dist/{chunk-6BFQI3ZE.js → chunk-IO6BWRZ5.js} +2 -2
  105. package/dist/{chunk-THXELZTQ.js → chunk-ISMHDUBW.js} +1 -1
  106. package/dist/{chunk-SLFYTELD.js → chunk-J4LJE4NB.js} +1 -1
  107. package/dist/chunk-JT7GHHMV.js +56 -0
  108. package/dist/{chunk-NFGAXWCN.js → chunk-KGIQYVQ2.js} +31 -13
  109. package/dist/chunk-KMNHNCVG.js +20 -0
  110. package/dist/chunk-KQKUXIUD.js +25 -0
  111. package/dist/{chunk-M5JIHQ42.js → chunk-L3S5WH4C.js} +2 -2
  112. package/dist/chunk-MDBXGN6W.js +13 -0
  113. package/dist/chunk-MOACHHOJ.js +20 -0
  114. package/dist/{chunk-6DXQHNZK.js → chunk-MP35JETP.js} +1 -1
  115. package/dist/chunk-NHDRA4Y5.js +6 -0
  116. package/dist/{chunk-AYQEIMGS.js → chunk-NZHECYLF.js} +103 -22
  117. package/dist/{chunk-EATJPSTS.js → chunk-O5LQUBBN.js} +1 -1
  118. package/dist/{chunk-Y6SHFILE.js → chunk-OEOSR5EG.js} +1 -1
  119. package/dist/{chunk-GQN4BGK6.js → chunk-OUD4RTBD.js} +1 -1
  120. package/dist/chunk-PMXQPO5Q.js +78 -0
  121. package/dist/chunk-PVY7X5UR.js +21 -0
  122. package/dist/{chunk-KG5IEV7I.js → chunk-QLJ2SC3T.js} +1 -1
  123. package/dist/{chunk-2WM4TNDF.js → chunk-QXAJPB6O.js} +1 -1
  124. package/dist/{chunk-2WDWQI7K.js → chunk-RYR6N4X4.js} +1 -1
  125. package/dist/{chunk-G7BRCSV6.js → chunk-S33CUULL.js} +3 -3
  126. package/dist/{chunk-YRQS7VAH.js → chunk-S63QY5XW.js} +2 -2
  127. package/dist/{chunk-GXWM5KNS.js → chunk-SO6RSRUP.js} +40 -45
  128. package/dist/{chunk-ODOV76VW.js → chunk-STIVFCWM.js} +1 -1
  129. package/dist/{chunk-SVHPILS3.js → chunk-T4A5J6SJ.js} +1 -1
  130. package/dist/chunk-TPHOIE4I.js +73 -0
  131. package/dist/{chunk-IWNJCRXW.js → chunk-UG53ZW7S.js} +125 -118
  132. package/dist/chunk-VXCUXHZO.js +9 -0
  133. package/dist/{chunk-SBPUFTMP.js → chunk-WHFWDK2H.js} +2 -2
  134. package/dist/chunk-WYNDBJG7.js +66 -0
  135. package/dist/{chunk-HN7GVGWC.js → chunk-XDH5B3PR.js} +3 -3
  136. package/dist/{chunk-PAYCK7FC.js → chunk-XJZLXUTG.js} +1 -1
  137. package/dist/{chunk-IDC5CVBR.js → chunk-YVEYO3OD.js} +1 -1
  138. package/dist/{chunk-PSS6M4CG.js → chunk-ZRSXCT4O.js} +2 -2
  139. package/dist/client/index.d.ts +8 -8
  140. package/dist/client/index.js +9 -8
  141. package/dist/config/index.d.ts +1 -1
  142. package/dist/contracts/broadcast-layouts.d.ts +8 -0
  143. package/dist/contracts/crm-disposition.d.ts +87 -0
  144. package/dist/contracts/decision-roles.d.ts +39 -0
  145. package/dist/contracts/entries.d.ts +1 -1
  146. package/dist/contracts/funnels.d.ts +85 -2
  147. package/dist/contracts/portfolio.d.ts +1 -1
  148. package/dist/contracts/publication-branding.d.ts +3 -3
  149. package/dist/contracts/resonance-constants.d.ts +4 -0
  150. package/dist/contracts/resonance.d.ts +8461 -0
  151. package/dist/contracts/signal-experiments.d.ts +219 -0
  152. package/dist/contracts/site-edit.d.ts +2 -2
  153. package/dist/contracts/sites.d.ts +1 -1
  154. package/dist/contracts/slots.d.ts +2 -2
  155. package/dist/contracts/wire-schema.d.ts +36 -0
  156. package/dist/cta-bar/CtaBar.d.ts +1 -1
  157. package/dist/cta-bar/client.js +3 -2
  158. package/dist/cta-bar/index.d.ts +4 -4
  159. package/dist/cta-bar/index.js +4 -3
  160. package/dist/fleet/FleetHeartbeat.d.ts +2 -2
  161. package/dist/fleet/contract.d.ts +1 -1
  162. package/dist/fleet/heartbeat.d.ts +2 -2
  163. package/dist/fleet/index.d.ts +6 -6
  164. package/dist/fleet/index.js +4 -5
  165. package/dist/forms/FileField.d.ts +1 -1
  166. package/dist/forms/FormClient.d.ts +2 -2
  167. package/dist/forms/FormEnhancer.d.ts +1 -1
  168. package/dist/forms/FormField.d.ts +1 -1
  169. package/dist/forms/FormSpotlight.d.ts +1 -1
  170. package/dist/forms/FormStage.d.ts +1 -1
  171. package/dist/forms/ManagedForm.d.ts +1 -1
  172. package/dist/forms/PrivateFileField.d.ts +1 -1
  173. package/dist/forms/ServerForm.d.ts +3 -3
  174. package/dist/forms/StaticForm.d.ts +1 -1
  175. package/dist/forms/contract.d.ts +1 -1
  176. package/dist/forms/experience-plan.d.ts +1 -1
  177. package/dist/forms/field-autocomplete.d.ts +1 -1
  178. package/dist/forms/field-controls.d.ts +1 -1
  179. package/dist/forms/field-rules.d.ts +1 -1
  180. package/dist/forms/form-dom-values.d.ts +1 -1
  181. package/dist/forms/index.d.ts +18 -18
  182. package/dist/forms/index.js +21 -11
  183. package/dist/forms/normalize-config.d.ts +1 -1
  184. package/dist/forms/server.d.ts +4 -4
  185. package/dist/forms/server.js +3 -3
  186. package/dist/forms/static.d.ts +2 -2
  187. package/dist/forms/submitForm.d.ts +2 -2
  188. package/dist/forms/tracking-session.d.ts +1 -1
  189. package/dist/forms/useForm.d.ts +2 -2
  190. package/dist/forms/webmcp.d.ts +2 -2
  191. package/dist/images/api.d.ts +1 -1
  192. package/dist/images/index.d.ts +6 -6
  193. package/dist/images/index.js +2 -4
  194. package/dist/images/server.d.ts +2 -2
  195. package/dist/index.d.ts +13 -13
  196. package/dist/index.js +1 -1
  197. package/dist/landing/contract.d.ts +1 -1
  198. package/dist/landing/contract.js +2 -1
  199. package/dist/landing/index.d.ts +3 -3
  200. package/dist/landing/index.js +3 -2
  201. package/dist/landing/managed-server.d.ts +2 -2
  202. package/dist/landing/managed.d.ts +10 -2
  203. package/dist/landing/server.d.ts +7 -7
  204. package/dist/landing/server.js +11 -6
  205. package/dist/layout/AiDiscoveryLinks.d.ts +1 -1
  206. package/dist/layout/SiteKitClientProviders.d.ts +1 -1
  207. package/dist/layout/SiteKitLayout.d.ts +2 -2
  208. package/dist/layout/client.d.ts +1 -1
  209. package/dist/layout/client.js +15 -11
  210. package/dist/layout/index.d.ts +5 -5
  211. package/dist/layout/index.js +17 -13
  212. package/dist/layout/types.d.ts +2 -2
  213. package/dist/llms/AEOComponents.d.ts +1 -1
  214. package/dist/llms/SpeakableSchema.d.ts +1 -1
  215. package/dist/llms/api.d.ts +1 -1
  216. package/dist/llms/client.d.ts +3 -3
  217. package/dist/llms/contract.d.ts +1 -1
  218. package/dist/llms/generateLLMsTxt.d.ts +1 -1
  219. package/dist/llms/handlers.d.ts +1 -1
  220. package/dist/llms/index.d.ts +21 -21
  221. package/dist/llms/index.js +5 -5
  222. package/dist/llms/merge.d.ts +1 -1
  223. package/dist/llms/sourcedFacts.d.ts +1 -1
  224. package/dist/llms/types.d.ts +5 -5
  225. package/dist/llms/writeLLMsTxt.d.ts +3 -3
  226. package/dist/maps/GoogleMap.d.ts +1 -1
  227. package/dist/maps/NeighborhoodMap.d.ts +1 -1
  228. package/dist/maps/api.d.ts +1 -1
  229. package/dist/maps/index.d.ts +5 -5
  230. package/dist/maps/index.js +1 -3
  231. package/dist/mcp/WebMcpTools.d.ts +1 -1
  232. package/dist/mcp/client.d.ts +2 -2
  233. package/dist/mcp/discovery.d.ts +2 -2
  234. package/dist/mcp/handlers.d.ts +4 -4
  235. package/dist/mcp/index.d.ts +12 -12
  236. package/dist/mcp/protocol.d.ts +1 -1
  237. package/dist/mcp/report.d.ts +1 -1
  238. package/dist/mcp/serverCard.d.ts +1 -1
  239. package/dist/mcp/sonor.d.ts +5 -5
  240. package/dist/mcp/sonor.js +10 -10
  241. package/dist/mcp/transport.d.ts +1 -1
  242. package/dist/motion/Parallax.d.ts +1 -1
  243. package/dist/motion/ScrollScene.d.ts +1 -1
  244. package/dist/motion/gsap.d.ts +2 -2
  245. package/dist/motion/index.d.ts +9 -9
  246. package/dist/motion/three.d.ts +1 -1
  247. package/dist/og/index.d.ts +5 -5
  248. package/dist/og/pages.d.ts +1 -1
  249. package/dist/og/route-fit.d.ts +17 -0
  250. package/dist/og/template.d.ts +1 -1
  251. package/dist/portfolio/contract.d.ts +1 -1
  252. package/dist/press-kit/articles/Article.d.ts +2 -2
  253. package/dist/press-kit/articles/ArticleFaqSection.d.ts +1 -1
  254. package/dist/press-kit/articles/ArticleList.d.ts +2 -2
  255. package/dist/press-kit/articles/AuthorCard.d.ts +1 -1
  256. package/dist/press-kit/articles/AuthorPage.d.ts +1 -1
  257. package/dist/press-kit/articles/ClusterLandingPage.d.ts +2 -2
  258. package/dist/press-kit/articles/ClusterNavigation.d.ts +2 -2
  259. package/dist/press-kit/articles/ManagedNewsletterForm.d.ts +2 -2
  260. package/dist/press-kit/articles/PublicationLayout.d.ts +2 -2
  261. package/dist/press-kit/articles/PublicationSidebar.d.ts +1 -1
  262. package/dist/press-kit/articles/RelatedPosts.d.ts +2 -2
  263. package/dist/press-kit/articles/TableOfContents.d.ts +1 -1
  264. package/dist/press-kit/articles/article-body.d.ts +1 -1
  265. package/dist/press-kit/articles/article-headings.d.ts +1 -1
  266. package/dist/press-kit/articles/article-photos.d.ts +1 -1
  267. package/dist/press-kit/articles/artwork.d.ts +2 -2
  268. package/dist/press-kit/articles/author-schema.d.ts +2 -2
  269. package/dist/press-kit/articles/author-social.d.ts +1 -1
  270. package/dist/press-kit/articles/index.d.ts +23 -23
  271. package/dist/press-kit/articles/news-sitemap.d.ts +2 -2
  272. package/dist/press-kit/articles/public-reads.d.ts +1 -1
  273. package/dist/press-kit/articles/publication-reads.d.ts +2 -2
  274. package/dist/press-kit/articles/reading-time.d.ts +1 -1
  275. package/dist/press-kit/articles/server-core.d.ts +20 -20
  276. package/dist/press-kit/articles/server-ui.d.ts +20 -20
  277. package/dist/press-kit/articles/types.d.ts +1 -1
  278. package/dist/proxy/index.d.ts +5 -5
  279. package/dist/proxy/index.js +1 -1
  280. package/dist/reputation/TestimonialSection.d.ts +1 -1
  281. package/dist/reputation/VisualReviewCard.d.ts +1 -1
  282. package/dist/reputation/api.d.ts +1 -1
  283. package/dist/reputation/index.d.ts +4 -4
  284. package/dist/reputation/server.d.ts +3 -3
  285. package/dist/resonance/ResonanceRuntime.d.ts +7 -0
  286. package/dist/resonance/bridge.d.ts +16 -0
  287. package/dist/resonance/consent-adapter.d.ts +26 -0
  288. package/dist/resonance/controller-registry.d.ts +14 -0
  289. package/dist/resonance/controller.d.ts +103 -0
  290. package/dist/resonance/form-context.d.ts +5 -0
  291. package/dist/resonance/index.d.ts +4 -0
  292. package/dist/resonance/index.js +9 -0
  293. package/dist/resonance/meta-pixel.d.ts +67 -0
  294. package/dist/resonance/providers.d.ts +32 -0
  295. package/dist/resonance/runtime-core.d.ts +5 -0
  296. package/dist/revalidate/index.d.ts +3 -3
  297. package/dist/revalidate/index.js +2 -2
  298. package/dist/robots/index.d.ts +3 -3
  299. package/dist/robots/indexnow.js +2 -2
  300. package/dist/runtime/index.d.ts +7 -7
  301. package/dist/runtime/index.js +4 -5
  302. package/dist/runtime-core-WT7KKLWQ.js +2213 -0
  303. package/dist/seo/ManagedFAQ.d.ts +1 -1
  304. package/dist/seo/ManagedInternalLinks.d.ts +1 -1
  305. package/dist/seo/ManagedSchema.d.ts +1 -1
  306. package/dist/seo/ManagedScripts.d.ts +1 -1
  307. package/dist/seo/client.d.ts +1 -1
  308. package/dist/seo/client.js +3 -5
  309. package/dist/seo/entry-indexnow.d.ts +1 -1
  310. package/dist/seo/entry-llms-client.d.ts +1 -1
  311. package/dist/seo/entry-llms-contract.d.ts +1 -1
  312. package/dist/seo/entry-llms.d.ts +1 -1
  313. package/dist/seo/entry-meta-contract.d.ts +1 -1
  314. package/dist/seo/entry-og-route.d.ts +1 -1
  315. package/dist/seo/entry-og.d.ts +1 -1
  316. package/dist/seo/entry-pages-contract.d.ts +1 -1
  317. package/dist/seo/entry-redirects.d.ts +1 -1
  318. package/dist/seo/entry-robots.d.ts +1 -1
  319. package/dist/seo/entry-sitemap.d.ts +1 -1
  320. package/dist/seo/getManagedMetadata.d.ts +1 -1
  321. package/dist/seo/index.d.ts +12 -12
  322. package/dist/seo/index.js +9 -11
  323. package/dist/seo/indexnow.d.ts +1 -1
  324. package/dist/seo/indexnow.js +2 -2
  325. package/dist/seo/llms/client.d.ts +1 -1
  326. package/dist/seo/llms/contract.d.ts +1 -1
  327. package/dist/seo/llms.d.ts +1 -1
  328. package/dist/seo/llms.js +5 -5
  329. package/dist/seo/meta/contract.d.ts +1 -1
  330. package/dist/seo/og.d.ts +1 -1
  331. package/dist/seo/pages/contract.d.ts +1 -1
  332. package/dist/seo/redirects.d.ts +1 -1
  333. package/dist/seo/register-sitemap-cli-impl.d.ts +1 -1
  334. package/dist/seo/register-sitemap-cli.js +1 -1
  335. package/dist/seo/robots.d.ts +1 -1
  336. package/dist/seo/routing.d.ts +1 -1
  337. package/dist/seo/server.d.ts +4 -4
  338. package/dist/seo/server.js +3 -3
  339. package/dist/seo/sitemap.d.ts +1 -1
  340. package/dist/seo/sitemap.js +3 -3
  341. package/dist/seo/types.d.ts +1 -1
  342. package/dist/seo-meta/contract.d.ts +1 -1
  343. package/dist/seo-pages/contract.d.ts +1 -1
  344. package/dist/server/index.d.ts +5 -5
  345. package/dist/server/index.js +3 -3
  346. package/dist/server/mint-site-token.d.ts +1 -1
  347. package/dist/server/server-fetch.d.ts +8 -0
  348. package/dist/{server-api-XIKDWSNO.js → server-api-A34TABT2.js} +2 -2
  349. package/dist/shared/build-entries.d.ts +3 -1
  350. package/dist/shared/color.d.ts +1 -1
  351. package/dist/shared/fetchWithRetry.d.ts +6 -0
  352. package/dist/shared/frame.d.ts +1 -1
  353. package/dist/shared/identity-storage.d.ts +6 -4
  354. package/dist/shared/identity.d.ts +1 -3
  355. package/dist/shared/index.d.ts +5 -5
  356. package/dist/shared/index.js +1 -1
  357. package/dist/shared/measurement-analytics.d.ts +1 -0
  358. package/dist/shared/measurement-policy.d.ts +6 -0
  359. package/dist/shared/measurement-proof.d.ts +5 -0
  360. package/dist/shared/measurement-store.d.ts +34 -0
  361. package/dist/shared/measurement-writer.d.ts +6 -0
  362. package/dist/shared/publishCredential.d.ts +1 -1
  363. package/dist/shared/reporting-gate.d.ts +3 -1
  364. package/dist/shared/site-token-claims.d.ts +18 -0
  365. package/dist/shared/site-token-configuration.d.ts +9 -0
  366. package/dist/shared/site-token-refresh.d.ts +7 -0
  367. package/dist/shared/site-token-state.d.ts +23 -0
  368. package/dist/shared/siteToken.d.ts +5 -39
  369. package/dist/shared/sonor-auth-state.d.ts +3 -0
  370. package/dist/shared/sonor-beacon.d.ts +13 -0
  371. package/dist/shared/sonor-fetch-runtime.d.ts +2 -0
  372. package/dist/shared/sonor-fetch.d.ts +7 -0
  373. package/dist/shared/sonorFetch.d.ts +4 -49
  374. package/dist/shared/version.d.ts +1 -1
  375. package/dist/signal/ReviewedSignalExperiment.d.ts +9 -0
  376. package/dist/signal/SignalBridge.d.ts +4 -4
  377. package/dist/signal/SignalCore.d.ts +2 -1
  378. package/dist/signal/SignalExperiment.d.ts +13 -5
  379. package/dist/signal/index.d.ts +3 -3
  380. package/dist/signal/index.js +4 -73
  381. package/dist/signal/store.d.ts +10 -7
  382. package/dist/signal/types.d.ts +4 -0
  383. package/dist/sitemap/index.d.ts +5 -5
  384. package/dist/sitemap/index.js +3 -3
  385. package/dist/sites/contract.d.ts +1 -1
  386. package/dist/sites/normalize.d.ts +1 -1
  387. package/dist/slots/ManagedLink.d.ts +2 -2
  388. package/dist/slots/ManagedList.d.ts +2 -2
  389. package/dist/slots/ManagedRichText.d.ts +1 -1
  390. package/dist/slots/ManagedSlot.d.ts +1 -1
  391. package/dist/slots/contract.d.ts +1 -1
  392. package/dist/slots/edit/locate.d.ts +1 -1
  393. package/dist/slots/index.d.ts +14 -14
  394. package/dist/slots/index.js +2 -2
  395. package/dist/slots/server-api.d.ts +1 -1
  396. package/dist/{chunk-FLOJUMFR.js → sonor-fetch-runtime-3PFGUXMF.js} +27 -36
  397. package/dist/sync/AddToCalendar.d.ts +1 -1
  398. package/dist/sync/BookingWidget.d.ts +1 -1
  399. package/dist/sync/MeetingFormatStep.d.ts +1 -1
  400. package/dist/sync/api.d.ts +2 -2
  401. package/dist/sync/booking-flow.d.ts +1 -1
  402. package/dist/sync/index.d.ts +3 -3
  403. package/dist/sync/index.js +6 -7
  404. package/dist/types.d.ts +6 -6
  405. package/dist/website/BlocksPopup.d.ts +1 -1
  406. package/dist/website/PopupBlocks.d.ts +1 -1
  407. package/dist/website/SiteDesignReporter.d.ts +2 -2
  408. package/dist/website/SitePopups.d.ts +1 -1
  409. package/dist/website/contract.d.ts +1 -1
  410. package/dist/website/cta-bar.d.ts +1 -1
  411. package/dist/website/cta-bar.js +4 -3
  412. package/dist/website/design.d.ts +2 -2
  413. package/dist/website/images/server.d.ts +1 -1
  414. package/dist/website/images-server.d.ts +1 -1
  415. package/dist/website/images.d.ts +1 -1
  416. package/dist/website/images.js +2 -4
  417. package/dist/website/index.d.ts +4 -4
  418. package/dist/website/index.js +5 -6
  419. package/dist/website/landing/server.d.ts +1 -1
  420. package/dist/website/landing/server.js +11 -6
  421. package/dist/website/landing-server.d.ts +1 -1
  422. package/dist/website/landing.d.ts +1 -1
  423. package/dist/website/landing.js +3 -2
  424. package/dist/website/popup-rules.d.ts +2 -2
  425. package/dist/website/popup-types.d.ts +1 -1
  426. package/dist/website/popups.d.ts +4 -4
  427. package/dist/website/popups.js +14 -8
  428. package/dist/website/slots/contract.d.ts +1 -1
  429. package/dist/website/slots-contract.d.ts +1 -1
  430. package/dist/website/slots.d.ts +2 -2
  431. package/dist/website/slots.js +2 -2
  432. package/dist/{writeLLMsTxt-4HHUAOA6.js → writeLLMsTxt-JUACXQKP.js} +2 -2
  433. package/docs.json +5 -0
  434. package/package.json +8 -2
  435. package/src/analytics/README.md +21 -0
  436. package/src/cta-bar/README.md +4 -0
  437. package/src/forms/README.md +29 -0
  438. package/src/landing/README.md +14 -0
  439. package/src/layout/README.md +3 -0
  440. package/src/resonance/README.md +273 -0
  441. package/src/runtime/README.md +6 -1
  442. package/src/signal/README.md +21 -0
  443. package/src/website/README.md +14 -2
  444. package/dist/AnalyticsProvider-7SBJ27SI.js +0 -13
  445. package/dist/ChatWidget-V46UBDOM.js +0 -20
  446. package/dist/ManagedForm-DDDVMKLJ.js +0 -19
  447. package/dist/SitePopups-VU2C3Z6B.js +0 -13
  448. package/dist/SitemapSync-C4H3HF3L.js +0 -9
  449. package/dist/chunk-5ROTTMBL.js +0 -19
  450. package/dist/chunk-5TM3WPCI.js +0 -7
  451. package/dist/chunk-7HW4TZB5.js +0 -148
  452. package/dist/chunk-IPQKQEWI.js +0 -52
  453. package/dist/chunk-LCDVPAMR.js +0 -24
  454. package/dist/chunk-LQJC5S2M.js +0 -236
  455. package/dist/chunk-SHAUX2MQ.js +0 -163
  456. /package/dist/{chunk-3MJNBOUO.js → chunk-2QPVU63T.js} +0 -0
@@ -0,0 +1,219 @@
1
+ /** Existing Signal experiment management semantics. No assignment or inference engine. */
2
+ import { type Field, type Value } from "./wire-schema.js";
3
+ export declare class SignalExperimentValidationError extends Error {
4
+ readonly path: string;
5
+ constructor(path: string, reason: string);
6
+ }
7
+ declare const variant: Field<{
8
+ key: string;
9
+ name: string;
10
+ weight: number;
11
+ } & {
12
+ description?: string | undefined;
13
+ }>;
14
+ declare const targeting: Field<{} & {
15
+ pages?: string[] | undefined;
16
+ segments?: string[] | undefined;
17
+ devices?: ("desktop" | "mobile" | "tablet")[] | undefined;
18
+ geo?: string[] | undefined;
19
+ }>;
20
+ declare const create: Field<{
21
+ name: string;
22
+ variants: ({
23
+ key: string;
24
+ name: string;
25
+ weight: number;
26
+ } & {
27
+ description?: string | undefined;
28
+ })[];
29
+ } & {
30
+ description?: string | undefined;
31
+ traffic_allocation?: number | undefined;
32
+ targeting_rules?: ({} & {
33
+ pages?: string[] | undefined;
34
+ segments?: string[] | undefined;
35
+ devices?: ("desktop" | "mobile" | "tablet")[] | undefined;
36
+ geo?: string[] | undefined;
37
+ }) | undefined;
38
+ }>;
39
+ declare const update: Field<{} & {
40
+ name?: string | undefined;
41
+ description?: string | undefined;
42
+ variants?: ({
43
+ key: string;
44
+ name: string;
45
+ weight: number;
46
+ } & {
47
+ description?: string | undefined;
48
+ })[] | undefined;
49
+ traffic_allocation?: number | undefined;
50
+ targeting_rules?: ({} & {
51
+ pages?: string[] | undefined;
52
+ segments?: string[] | undefined;
53
+ devices?: ("desktop" | "mobile" | "tablet")[] | undefined;
54
+ geo?: string[] | undefined;
55
+ }) | undefined;
56
+ }>;
57
+ export type SignalExperimentVariant = Value<typeof variant>;
58
+ export type SignalExperimentTargetingRules = Value<typeof targeting>;
59
+ export type SignalExperimentCreate = Value<typeof create>;
60
+ export type SignalExperimentUpdate = Value<typeof update>;
61
+ /** Leaves defaults to the existing service; parsing never grants Full-plan access. */
62
+ export declare const parseSignalExperimentCreate: (v: unknown) => SignalExperimentCreate;
63
+ export declare const parseSignalExperimentUpdate: (v: unknown) => SignalExperimentUpdate;
64
+ export declare const SIGNAL_EXPERIMENT_CREATE_JSON_SCHEMA: import("./wire-schema.js").JsonSchema;
65
+ export declare const SIGNAL_EXPERIMENT_UPDATE_JSON_SCHEMA: import("./wire-schema.js").JsonSchema;
66
+ declare const measurement: Field<({
67
+ schemaVersion: 1;
68
+ mode: "trusted_source";
69
+ state: "observed";
70
+ observedAt: string;
71
+ scope: {
72
+ projectId: string;
73
+ experimentId: string;
74
+ site: string;
75
+ experimentRevision: number;
76
+ goalRevision: string;
77
+ campaignId: string;
78
+ campaignVersionId: string;
79
+ assignedFrom: string;
80
+ assignedTo: string;
81
+ } & {};
82
+ countingUnit: "consent_subject";
83
+ coverage: "assigned_population_only";
84
+ semanticRole: "accepted_form_diagnostic";
85
+ businessMetrics: {
86
+ uniqueQualifiedContacts: {
87
+ state: "unavailable";
88
+ reasonCode: "original_qualified_lineage_not_bound";
89
+ } & {};
90
+ wonValue: {
91
+ state: "unavailable";
92
+ reasonCode: "original_deal_lineage_not_bound";
93
+ } & {};
94
+ paidRevenue: {
95
+ state: "unavailable";
96
+ reasonCode: "original_paid_source_lineage_not_bound";
97
+ } & {};
98
+ } & {};
99
+ originalGoal: {
100
+ sourceId: string;
101
+ sourceRevision: string;
102
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
103
+ sourceKind: "accepted_form" | "qualified_lead";
104
+ } & {};
105
+ diagnosticType: "accepted_form";
106
+ diagnosticState: "available";
107
+ variants: ({
108
+ variantKey: string;
109
+ assignedUnits: string;
110
+ exposureEvents: string;
111
+ exposedUnits: string;
112
+ matureAssignedUnits: string;
113
+ immatureAssignedUnits: string;
114
+ assignmentsWithoutExposure: string;
115
+ acceptedFormEvents: string;
116
+ acceptedFormUnits: string;
117
+ matureAcceptedFormUnits: string;
118
+ } & {})[];
119
+ } & {}) | ({
120
+ schemaVersion: 1;
121
+ mode: "trusted_source";
122
+ state: "observed";
123
+ observedAt: string;
124
+ scope: {
125
+ projectId: string;
126
+ experimentId: string;
127
+ site: string;
128
+ experimentRevision: number;
129
+ goalRevision: string;
130
+ campaignId: string;
131
+ campaignVersionId: string;
132
+ assignedFrom: string;
133
+ assignedTo: string;
134
+ } & {};
135
+ countingUnit: "consent_subject";
136
+ coverage: "assigned_population_only";
137
+ semanticRole: "accepted_form_diagnostic";
138
+ businessMetrics: {
139
+ uniqueQualifiedContacts: {
140
+ state: "unavailable";
141
+ reasonCode: "original_qualified_lineage_not_bound";
142
+ } & {};
143
+ wonValue: {
144
+ state: "unavailable";
145
+ reasonCode: "original_deal_lineage_not_bound";
146
+ } & {};
147
+ paidRevenue: {
148
+ state: "unavailable";
149
+ reasonCode: "original_paid_source_lineage_not_bound";
150
+ } & {};
151
+ } & {};
152
+ originalGoal: {
153
+ sourceId: string;
154
+ sourceRevision: string;
155
+ countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
156
+ sourceKind: "approved_application" | "completed_booking" | "net_paid_order";
157
+ } & {};
158
+ diagnosticType: null;
159
+ diagnosticState: "unsupported_original_source";
160
+ variants: ({
161
+ variantKey: string;
162
+ assignedUnits: string;
163
+ exposureEvents: string;
164
+ exposedUnits: string;
165
+ matureAssignedUnits: string;
166
+ immatureAssignedUnits: string;
167
+ assignmentsWithoutExposure: string;
168
+ acceptedFormEvents: null;
169
+ acceptedFormUnits: null;
170
+ matureAcceptedFormUnits: null;
171
+ } & {})[];
172
+ } & {}) | ({
173
+ schemaVersion: 1;
174
+ mode: "legacy";
175
+ state: "unavailable";
176
+ reasonCode: "legacy_assignment_outcome_events_only";
177
+ } & {}) | ({
178
+ schemaVersion: 1;
179
+ mode: "trusted_source";
180
+ state: "unavailable";
181
+ reasonCode: "measurement_scope_required";
182
+ } & {})>;
183
+ export type SignalExperimentMeasurement = Value<typeof measurement>;
184
+ /** Decodes only the additive measurement block. Native scope, source facts and
185
+ * statement time must be authenticated by the existing results owner. Structural
186
+ * JSON Schema is shared; BigInt algebra and interval checks run in this parser. */
187
+ export declare const parseSignalExperimentMeasurement: (v: unknown) => SignalExperimentMeasurement;
188
+ export declare const SIGNAL_EXPERIMENT_MEASUREMENT_JSON_SCHEMA: import("./wire-schema.js").JsonSchema;
189
+ declare const scopeOptions: Field<{
190
+ observedAt: string;
191
+ items: ({
192
+ campaignId: string;
193
+ campaignVersionId: string;
194
+ campaignDefinitionRevision: number;
195
+ acceptedAt: string;
196
+ site: string;
197
+ experimentId: string;
198
+ experimentRevision: number;
199
+ goalRevision: string;
200
+ goalLabel: string | null;
201
+ assignmentExtent: ({
202
+ firstAssignedAt: string;
203
+ lastAssignedAt: string;
204
+ } & {}) | null;
205
+ suggestedCohort: ({
206
+ assignedFrom: string;
207
+ assignedTo: string;
208
+ } & {}) | null;
209
+ } & {})[];
210
+ nextCursor: string | null;
211
+ } & {}>;
212
+ export type SignalExperimentScopeOptions = Value<typeof scopeOptions>;
213
+ /** Structural decoding and internal time/tuple invariants only. Native scope,
214
+ * membership, acceptance and statement time remain the existing owner's facts.
215
+ * A shaped opaque cursor grants no read authority. JSON Schema documents the
216
+ * structural subset; cross-field ordering and tuple checks run in this parser. */
217
+ export declare const parseSignalExperimentScopeOptions: (v: unknown) => SignalExperimentScopeOptions;
218
+ export declare const SIGNAL_EXPERIMENT_SCOPE_OPTIONS_JSON_SCHEMA: import("./wire-schema.js").JsonSchema;
219
+ export {};
@@ -11,8 +11,8 @@
11
11
  * site-kit's overlay (`slots/edit`) and the dashboard's visual editor both
12
12
  * read this file. Pure: no DOM, no network.
13
13
  */
14
- import { type SlotContentType, type SlotValue } from './slot-content';
15
- export { SITE_EDIT_PARAM } from './site-edit-param';
14
+ import { type SlotContentType, type SlotValue } from "./slot-content.js";
15
+ export { SITE_EDIT_PARAM } from "./site-edit-param.js";
16
16
  /** Protocol version, sent in `ready` so the dashboard can tell an old overlay. */
17
17
  export declare const SITE_EDIT_VERSION = 1;
18
18
  /** The dashboard's production origin. */
@@ -16,7 +16,7 @@ export declare const SITE_HOST_CONTRACT_VERSION: 1;
16
16
  * — JSON schema included — into client bundles. Re-exported here so the public
17
17
  * contract surface is unchanged.
18
18
  */
19
- export { normalizeSiteHost } from './sites-normalize';
19
+ export { normalizeSiteHost } from "./sites-normalize.js";
20
20
  /** Strip a leading `www.` from a host ("www.tps.com" → "tps.com"). */
21
21
  export declare function stripWww(host: string): string;
22
22
  /**
@@ -15,8 +15,8 @@
15
15
  * and signs the structured value too. Sonor serves both: a v1 request gets
16
16
  * text slots signed the v1 way and null for everything else.
17
17
  */
18
- import { type SlotContentType, type SlotValue } from './slot-content';
19
- export * from './slot-content';
18
+ import { type SlotContentType, type SlotValue } from "./slot-content.js";
19
+ export * from "./slot-content.js";
20
20
  /** The version this package speaks. Bump on breaking payload changes. */
21
21
  export declare const SLOTS_CONTRACT_VERSION = 2;
22
22
  /** Versions Sonor still serves. */
@@ -0,0 +1,36 @@
1
+ /** Internal shared wire-schema primitives. Parser and JSON Schema share one field definition. */
2
+ export type JsonSchema = {
3
+ [key: string]: unknown;
4
+ };
5
+ export interface Field<T> {
6
+ schema: JsonSchema;
7
+ read(value: unknown, path: string): T;
8
+ }
9
+ export type Value<F> = F extends Field<infer T> ? T : never;
10
+ type Fields = Record<string, Field<unknown>>;
11
+ type ObjectValue<S extends Fields> = {
12
+ [K in keyof S as S[K] extends {
13
+ optional: true;
14
+ } ? never : K]: Value<S[K]>;
15
+ } & {
16
+ [K in keyof S as S[K] extends {
17
+ optional: true;
18
+ } ? K : never]?: Value<S[K]>;
19
+ };
20
+ export declare function createWireSchema(fail: (path: string, reason: string) => never, isValidationError: (error: unknown) => boolean): {
21
+ field: <T>(schema: JsonSchema, read: Field<T>['read']) => Field<T>;
22
+ text: (max?: number, pattern?: RegExp, min?: number) => Field<string>;
23
+ choice: <const T extends readonly string[]>(...values: T) => Field<T[number]>;
24
+ literal: <T extends string | number | boolean | null>(value: T) => Field<T>;
25
+ integer: (min?: number, max?: number) => Field<number>;
26
+ bool: Field<boolean>;
27
+ optional: <T>(f: Field<T>) => Field<T> & {
28
+ optional: true;
29
+ };
30
+ nullable: <T>(f: Field<T>) => Field<T | null>;
31
+ list: <T>(f: Field<T>, max?: number, min?: number) => Field<T[]>;
32
+ object: <S extends Fields>(fields: S) => Field<ObjectValue<S>>;
33
+ union: <const F extends readonly Field<unknown>[]>(...fields: F) => Field<Value<F[number]>>;
34
+ refine: <T>(f: Field<T>, check: (v: T, p: string) => void) => Field<T>;
35
+ };
36
+ export {};
@@ -23,7 +23,7 @@
23
23
  * containing block for this fixed bar.
24
24
  */
25
25
  import * as React from 'react';
26
- import { type CtaBarBreakpoint } from './styles';
26
+ import { type CtaBarBreakpoint } from "./styles.js";
27
27
  export interface CtaBarProps {
28
28
  children: React.ReactNode;
29
29
  /** Accessible name of the bar's landmark. Default "Quick actions". */
@@ -1,4 +1,5 @@
1
1
  'use client';
2
- export { CtaBarBehavior, isTextEntry, nextCompactState } from '../chunk-UPFU63L4.js';
3
- import '../chunk-LCDVPAMR.js';
2
+ export { CtaBarBehavior, isTextEntry, nextCompactState } from '../chunk-55GFMOI6.js';
3
+ import '../chunk-AG2RDHYZ.js';
4
+ import '../chunk-FRY6PBT6.js';
4
5
  import '../chunk-PKBMQBKP.js';
@@ -5,7 +5,7 @@
5
5
  * can be rendered from a server layout. The only client code is the
6
6
  * behaviour island they mount, which ships as its own chunk.
7
7
  */
8
- export { CtaBar, CtaBarAction } from './CtaBar';
9
- export type { CtaBarProps, CtaBarActionProps } from './CtaBar';
10
- export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, ECHO_CLEARANCE } from './styles';
11
- export type { CtaBarBreakpoint } from './styles';
8
+ export { CtaBar, CtaBarAction } from "./CtaBar.js";
9
+ export type { CtaBarProps, CtaBarActionProps } from "./CtaBar.js";
10
+ export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, ECHO_CLEARANCE } from "./styles.js";
11
+ export type { CtaBarBreakpoint } from "./styles.js";
@@ -1,5 +1,6 @@
1
- export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, CtaBar, CtaBarAction, ECHO_CLEARANCE } from '../chunk-LNSNA3W4.js';
2
- import '../chunk-UPFU63L4.js';
1
+ export { CTA_BAR_BREAKPOINTS, CTA_BAR_SPACE, CtaBar, CtaBarAction, ECHO_CLEARANCE } from '../chunk-C4XK472G.js';
2
+ import '../chunk-55GFMOI6.js';
3
3
  import '../chunk-JE4A5S4F.js';
4
- import '../chunk-LCDVPAMR.js';
4
+ import '../chunk-AG2RDHYZ.js';
5
+ import '../chunk-FRY6PBT6.js';
5
6
  import '../chunk-PKBMQBKP.js';
@@ -13,8 +13,8 @@
13
13
  * page must server-render). It renders null and carries no
14
14
  * visitor data.
15
15
  */
16
- import { type AnalyticsGateOptions } from '../shared/reporting-gate';
17
- import type { FleetModule } from './contract';
16
+ import { type AnalyticsGateOptions } from "../shared/reporting-gate.js";
17
+ import type { FleetModule } from "./contract.js";
18
18
  export interface FleetHeartbeatProps extends AnalyticsGateOptions {
19
19
  /** Sonor API origin. Falls back to `window.__SITE_KIT_API_URL__` then api.sonor.io. */
20
20
  apiUrl?: string;
@@ -1 +1 @@
1
- export * from '../contracts/fleet';
1
+ export * from "../contracts/fleet.js";
@@ -9,8 +9,8 @@
9
9
  * the x-sitekit-version header, attaches x-api-key, and honors the auth
10
10
  * circuit breaker — a site on a stale/canceled key will not spam the API.
11
11
  */
12
- import { type AnalyticsGateOptions } from '../shared/reporting-gate';
13
- import { type FleetHeartbeatSource, type FleetModule } from './contract';
12
+ import { type AnalyticsGateOptions } from "../shared/reporting-gate.js";
13
+ import { type FleetHeartbeatSource, type FleetModule } from "./contract.js";
14
14
  /** Canonical ingest path — resolved against the site's Sonor API origin. */
15
15
  export declare const FLEET_HEARTBEAT_PATH = "/api/public/fleet/heartbeat";
16
16
  export interface SendFleetHeartbeatOptions extends AnalyticsGateOptions {
@@ -9,9 +9,9 @@
9
9
  * `@sonordev/site-kit/fleet/contract`, never this barrel (it pulls in the
10
10
  * client component).
11
11
  */
12
- export { FleetHeartbeat } from './FleetHeartbeat';
13
- export type { FleetHeartbeatProps } from './FleetHeartbeat';
14
- export { sendFleetHeartbeat, detectNextVersion, FLEET_HEARTBEAT_PATH } from './heartbeat';
15
- export type { SendFleetHeartbeatOptions } from './heartbeat';
16
- export { FLEET_CONTRACT_VERSION, FLEET_MODULES, FLEET_MODULES_MAX, FLEET_VERSION_MAX_LENGTH, FLEET_VERSION_PATTERN, FLEET_SITE_MAX_LENGTH, isFleetModule, normalizeFleetModules, sanitizeFleetVersion, normalizeFleetSite, buildFleetHeartbeatPayload, } from './contract';
17
- export type { FleetModule, FleetHeartbeatSource, FleetHeartbeatPayload, FleetHeartbeatResponse, } from './contract';
12
+ export { FleetHeartbeat } from "./FleetHeartbeat.js";
13
+ export type { FleetHeartbeatProps } from "./FleetHeartbeat.js";
14
+ export { sendFleetHeartbeat, detectNextVersion, FLEET_HEARTBEAT_PATH } from "./heartbeat.js";
15
+ export type { SendFleetHeartbeatOptions } from "./heartbeat.js";
16
+ export { FLEET_CONTRACT_VERSION, FLEET_MODULES, FLEET_MODULES_MAX, FLEET_VERSION_MAX_LENGTH, FLEET_VERSION_PATTERN, FLEET_SITE_MAX_LENGTH, isFleetModule, normalizeFleetModules, sanitizeFleetVersion, normalizeFleetSite, buildFleetHeartbeatPayload, } from "./contract.js";
17
+ export type { FleetModule, FleetHeartbeatSource, FleetHeartbeatPayload, FleetHeartbeatResponse, } from "./contract.js";
@@ -1,11 +1,10 @@
1
1
  'use client';
2
- export { FLEET_HEARTBEAT_PATH, FleetHeartbeat, detectNextVersion, sendFleetHeartbeat } from '../chunk-HN7GVGWC.js';
2
+ export { FLEET_HEARTBEAT_PATH, FleetHeartbeat, detectNextVersion, sendFleetHeartbeat } from '../chunk-XDH5B3PR.js';
3
3
  export { FLEET_CONTRACT_VERSION, FLEET_MODULES, FLEET_MODULES_MAX, FLEET_SITE_MAX_LENGTH, FLEET_VERSION_MAX_LENGTH, FLEET_VERSION_PATTERN, buildFleetHeartbeatPayload, isFleetModule, normalizeFleetModules, normalizeFleetSite, sanitizeFleetVersion } from '../chunk-ZTZQPYP6.js';
4
4
  import '../chunk-YC7ELZS3.js';
5
- import '../chunk-ZQSCMYZO.js';
5
+ import '../chunk-DXE6SXWW.js';
6
+ import '../chunk-7643MCD2.js';
6
7
  import '../chunk-64XODP7M.js';
7
- import '../chunk-FLOJUMFR.js';
8
- import '../chunk-7HW4TZB5.js';
8
+ import '../chunk-VXCUXHZO.js';
9
9
  import '../chunk-W7OPEMGJ.js';
10
- import '../chunk-F6WLHVMQ.js';
11
10
  import '../chunk-PKBMQBKP.js';
@@ -17,7 +17,7 @@
17
17
  * with the enhancement.
18
18
  */
19
19
  import React from 'react';
20
- import type { FormField as FormFieldType } from './types';
20
+ import type { FormField as FormFieldType } from "./types.js";
21
21
  export interface FileFieldProps {
22
22
  field: FormFieldType;
23
23
  inputId: string;
@@ -4,8 +4,8 @@
4
4
  * Handles form state, validation, and submission
5
5
  */
6
6
  import React from 'react';
7
- import type { ManagedFormConfig, FormRenderProps, FormSubmitResult } from './types';
8
- import type { FormExperience } from './types';
7
+ import type { ManagedFormConfig, FormRenderProps, FormSubmitResult } from "./types.js";
8
+ import type { FormExperience } from "./types.js";
9
9
  interface FormClientProps {
10
10
  config: ManagedFormConfig;
11
11
  className?: string;
@@ -54,7 +54,7 @@
54
54
  * Every default is collapsed by prefers-reduced-motion.
55
55
  */
56
56
  import React from 'react';
57
- import type { FormExperience, FormSubmitResult } from './types';
57
+ import type { FormExperience, FormSubmitResult } from "./types.js";
58
58
  export type FormEnterAnimation = 'fade' | 'none' | 'custom';
59
59
  export interface FormEnhancerProps {
60
60
  formId: string;
@@ -25,7 +25,7 @@
25
25
  * --sk-font-size: 16px
26
26
  */
27
27
  import React from 'react';
28
- import type { FormField as FormFieldType } from './types';
28
+ import type { FormField as FormFieldType } from "./types.js";
29
29
  interface FormFieldProps {
30
30
  /** Render the valid-state tick (touched + validated). Text-like fields only. */
31
31
  showValid?: boolean;
@@ -32,7 +32,7 @@
32
32
  * the plain expanded form — the choreography arms only after interaction.
33
33
  */
34
34
  import React from 'react';
35
- import type { ExperienceRenderProps, FormField as FormFieldType } from './types';
35
+ import type { ExperienceRenderProps, FormField as FormFieldType } from "./types.js";
36
36
  /** Render a configured completion message: {value}, {label}, {first_name},
37
37
  and {any_field_slug}. Unknown tokens resolve to '' rather than printing
38
38
  braces at the visitor. */
@@ -18,5 +18,5 @@
18
18
  * Loaded lazily by FormClient — classic-form sites never download it.
19
19
  */
20
20
  import React from 'react';
21
- import type { ExperienceRenderProps } from './types';
21
+ import type { ExperienceRenderProps } from "./types.js";
22
22
  export declare function FormStage({ config, values, errors, touched, isSubmitting, submitError, momentum, className, setFieldValue, validateField, isFieldVisible, fieldIsComplete, applyFieldError, submit, trackStepChange, trackFieldFocus, trackFieldBlur, honeypot, }: ExperienceRenderProps): React.JSX.Element;
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Fetches form config from Sonor API and renders fields with validation
5
5
  */
6
- import type { ManagedFormProps } from './types';
6
+ import type { ManagedFormProps } from "./types.js";
7
7
  export declare function ManagedForm({ formId, projectId, className, onSuccess, onError, initialConfig, experience, defaultValues, children, }: ManagedFormProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import type { FileFieldProps } from './FileField';
2
+ import type { FileFieldProps } from "./FileField.js";
3
3
  export declare function PrivateFileField({ field, inputId, onChange, ariaInvalid, describedBy }: Pick<FileFieldProps, 'field' | 'inputId' | 'onChange' | 'ariaInvalid' | 'describedBy'>): React.JSX.Element;
@@ -31,9 +31,9 @@
31
31
  * client component (a modal, a chat panel) where a Server Component cannot go.
32
32
  */
33
33
  import React from 'react';
34
- import { type FormEnterAnimation } from './FormEnhancer';
35
- import { type GetFormConfigOptions } from './server';
36
- import type { FormExperience } from './types';
34
+ import { type FormEnterAnimation } from "./FormEnhancer.js";
35
+ import { type GetFormConfigOptions } from "./server.js";
36
+ import type { FormExperience } from "./types.js";
37
37
  export interface ServerFormProps {
38
38
  /** Form slug or id from Sonor. */
39
39
  formId: string;
@@ -30,7 +30,7 @@
30
30
  * file `'use client'`, and never import a hook into it.
31
31
  */
32
32
  import React from 'react';
33
- import type { ManagedFormConfig } from './types';
33
+ import type { ManagedFormConfig } from "./types.js";
34
34
  export interface StaticFormProps {
35
35
  /**
36
36
  * RAW /api/public/forms/config payload from `getFormConfig`, or an
@@ -1 +1 @@
1
- export * from '../contracts/forms';
1
+ export * from "../contracts/forms.js";
@@ -5,7 +5,7 @@
5
5
  * its stylesheet) into every site's forms bundle. The components themselves
6
6
  * are lazy-loaded; this module is the only part that ships eagerly.
7
7
  */
8
- import type { FormField as FormFieldType, FormStep, ManagedFormConfig } from './types';
8
+ import type { FormField as FormFieldType, FormStep, ManagedFormConfig } from "./types.js";
9
9
  export interface StageQuestion {
10
10
  field: FormFieldType;
11
11
  /** The step (chapter) this question belongs to, when the form is multi-step. */
@@ -18,7 +18,7 @@
18
18
  * deliberately narrow: exact keys only, plus Sonor's random slug suffixes
19
19
  * (`email_k3x9pq2m`).
20
20
  */
21
- import type { FormField } from './types';
21
+ import type { FormField } from "./types.js";
22
22
  /**
23
23
  * What `autocompleteFor` reads from a managed field. Any field `useForm`
24
24
  * returns fits, and so does an object literal with these keys (`field_type`
@@ -1,4 +1,4 @@
1
- import type { FormField as FormFieldType } from './types';
1
+ import type { FormField as FormFieldType } from "./types.js";
2
2
  export interface FieldControls {
3
3
  Date?: React.ComponentType<any>;
4
4
  File?: React.ComponentType<any>;
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * Pure: no React, no DOM.
15
15
  */
16
- import type { FormField } from './types';
16
+ import type { FormField } from "./types.js";
17
17
  /** Field types that render content but take no answer. */
18
18
  export declare const DISPLAY_ONLY_FIELD_TYPES: readonly string[];
19
19
  export declare function isDisplayOnly(field: FormField): boolean;
@@ -17,7 +17,7 @@
17
17
  * typed the way FormClient stores them (checkbox groups and multi-selects as
18
18
  * arrays, a lone checkbox as a boolean, ratings and sliders as numbers).
19
19
  */
20
- import type { FormField } from './types';
20
+ import type { FormField } from "./types.js";
21
21
  /**
22
22
  * Nothing worth seeding or adopting: an empty value (field-rules.ts), an
23
23
  * unticked lone checkbox, or whitespace.
@@ -98,26 +98,26 @@
98
98
  * --sk-btn-bg: #your-button-color;
99
99
  * }
100
100
  */
101
- export { formsApi, configureFormsApi, field, defineForm, initializeForms } from './formsApi';
102
- export type { Form, FormField, FormStep, FormType, FieldType, CreateFormInput, UpdateFormInput, FormsListOptions, FormDefinition } from './formsApi';
103
- export { useForm } from './useForm';
104
- export type { UseFormOptions, UseFormReturn } from './useForm';
105
- export { autocompleteFor } from './field-autocomplete';
106
- export type { AutocompleteField } from './field-autocomplete';
107
- export { ManagedForm } from './ManagedForm';
101
+ export { formsApi, configureFormsApi, field, defineForm, initializeForms } from "./formsApi.js";
102
+ export type { Form, FormField, FormStep, FormType, FieldType, CreateFormInput, UpdateFormInput, FormsListOptions, FormDefinition } from "./formsApi.js";
103
+ export { useForm } from "./useForm.js";
104
+ export type { UseFormOptions, UseFormReturn } from "./useForm.js";
105
+ export { autocompleteFor } from "./field-autocomplete.js";
106
+ export type { AutocompleteField } from "./field-autocomplete.js";
107
+ export { ManagedForm } from "./ManagedForm.js";
108
108
  /**
109
109
  * Client boundary that upgrades a server-rendered <StaticForm> at idle.
110
110
  * Most sites want ServerForm from '@sonordev/site-kit/forms/server' instead,
111
111
  * which wires this up for them.
112
112
  */
113
- export { FormEnhancer } from './FormEnhancer';
114
- export type { FormEnhancerProps, FormEnterAnimation } from './FormEnhancer';
115
- export { FormClient } from './FormClient';
116
- export { FormCelebration } from './FormCelebration';
117
- export type { FormCelebrationProps } from './FormCelebration';
118
- export { FormField as FormFieldComponent } from './FormField';
119
- export type { FormExperience } from './types';
120
- export { useFormTracking } from './useFormTracking';
121
- export type { ManagedFormConfig, FormSubmission, FormSubmitResult, FormField as FormFieldConfig, } from './types';
122
- export { DEFAULT_FORM_SUCCESS_MESSAGE } from './defaultSuccessMessage';
123
- export { DatePicker } from './DatePicker';
113
+ export { FormEnhancer } from "./FormEnhancer.js";
114
+ export type { FormEnhancerProps, FormEnterAnimation } from "./FormEnhancer.js";
115
+ export { FormClient } from "./FormClient.js";
116
+ export { FormCelebration } from "./FormCelebration.js";
117
+ export type { FormCelebrationProps } from "./FormCelebration.js";
118
+ export { FormField as FormFieldComponent } from "./FormField.js";
119
+ export type { FormExperience } from "./types.js";
120
+ export { useFormTracking } from "./useFormTracking.js";
121
+ export type { ManagedFormConfig, FormSubmission, FormSubmitResult, FormField as FormFieldConfig, } from "./types.js";
122
+ export { DEFAULT_FORM_SUCCESS_MESSAGE } from "./defaultSuccessMessage.js";
123
+ export { DatePicker } from "./DatePicker.js";