@sonordev/site-kit 8.8.1 → 8.10.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.
- package/CHANGELOG.md +22 -0
- package/README.md +9 -0
- package/agent-manifest.json +49 -42
- package/dist/AddressAutocomplete-LQS6GQ4R.js +241 -0
- package/dist/AnalyticsProvider-JWS7BLFY.js +19 -0
- package/dist/{ArticleViewTracker-PV2RD3P6.js → ArticleViewTracker-CDPVMUAO.js} +11 -10
- package/dist/{BlocksPopup-NEEFV2L3.js → BlocksPopup-C5PNJ7U6.js} +4 -5
- package/dist/ChatWidget-HEPOE3YC.js +30 -0
- package/dist/{FileField-MJ3RCNFJ.js → FileField-6R5LS5NU.js} +1 -3
- package/dist/{FormSpotlight-NQPQFZS7.js → FormSpotlight-2BSE7PD2.js} +5 -4
- package/dist/{FormStage-4T5PJR5K.js → FormStage-3G46OPPO.js} +5 -4
- package/dist/ManagedForm-LTXEU25N.js +29 -0
- package/dist/{ManagedNewsletterForm-TUYGN6O3.js → ManagedNewsletterForm-WE6P5DMV.js} +21 -11
- package/dist/{SignalCore-OW3YIH6M.js → SignalCore-IP7FE6SN.js} +90 -36
- package/dist/{SiteChat-XMKHBSEK.js → SiteChat-3FQYMHCP.js} +2 -2
- package/dist/{SiteDesignReporter-BRH7ORQS.js → SiteDesignReporter-HGTX4FX2.js} +5 -6
- package/dist/SitePopups-V7MCNSGE.js +19 -0
- package/dist/SitemapSync-OAJ7SIET.js +7 -0
- package/dist/SitemapSync.d.ts +1 -1
- package/dist/_client/booking-widget.d.ts +1 -1
- package/dist/_client/booking-widget.js +6 -7
- package/dist/_client/reviewed-signal-experiment.d.ts +9 -0
- package/dist/_client/reviewed-signal-experiment.js +89 -0
- package/dist/_client/testimonial-section.d.ts +1 -1
- package/dist/admin-auth/index.d.ts +3 -3
- package/dist/affiliates/AffiliatesWidget.d.ts +1 -1
- package/dist/affiliates/api.d.ts +1 -1
- package/dist/affiliates/index.d.ts +6 -6
- package/dist/affiliates/index.js +1 -3
- package/dist/affiliates/useAffiliates.d.ts +1 -1
- package/dist/analytics/AnalyticsProvider.d.ts +1 -1
- package/dist/analytics/dispatch.d.ts +1 -1
- package/dist/analytics/index.d.ts +6 -6
- package/dist/analytics/index.js +22 -12
- package/dist/analytics/publication-cta.d.ts +1 -1
- package/dist/analytics/send-gate.d.ts +8 -4
- package/dist/api-X6N6V2H3.js +5 -0
- package/dist/articles/Article.d.ts +1 -1
- package/dist/articles/ArticleFAQ.d.ts +1 -1
- package/dist/articles/ArticleFaqSection.d.ts +1 -1
- package/dist/articles/ArticleList.d.ts +1 -1
- package/dist/articles/ArticleViewTracker.d.ts +1 -1
- package/dist/articles/AuthorCard.d.ts +1 -1
- package/dist/articles/AuthorPage.d.ts +1 -1
- package/dist/articles/ClusterLandingPage.d.ts +1 -1
- package/dist/articles/ClusterNavigation.d.ts +1 -1
- package/dist/articles/ManagedNewsletterForm.d.ts +2 -2
- package/dist/articles/NewsletterShell.d.ts +1 -1
- package/dist/articles/NewsletterWidget.d.ts +1 -1
- package/dist/articles/PublicationLayout.d.ts +1 -1
- package/dist/articles/PublicationSidebar.d.ts +1 -1
- package/dist/articles/RelatedPosts.d.ts +1 -1
- package/dist/articles/ServiceCallout.d.ts +1 -1
- package/dist/articles/TableOfContents.d.ts +1 -1
- package/dist/articles/article-photos.d.ts +1 -1
- package/dist/articles/article-styles.d.ts +1 -1
- package/dist/articles/article-tables.d.ts +1 -1
- package/dist/articles/artwork.d.ts +1 -1
- package/dist/articles/author-schema.d.ts +1 -1
- package/dist/articles/author-social.d.ts +1 -1
- package/dist/articles/excerpt.d.ts +1 -1
- package/dist/articles/index.d.ts +1 -1
- package/dist/articles/index.js +3 -3
- package/dist/articles/news-sitemap.d.ts +1 -1
- package/dist/articles/processArticleHtml.d.ts +1 -1
- package/dist/articles/public-reads.d.ts +1 -1
- package/dist/articles/reading-time.d.ts +1 -1
- package/dist/articles/routes.d.ts +1 -1
- package/dist/articles/server-core.d.ts +1 -1
- package/dist/articles/server-ui.d.ts +1 -1
- package/dist/articles/server-ui.js +6 -6
- package/dist/articles/server.d.ts +1 -1
- package/dist/articles/server.js +5 -5
- package/dist/articles/types.d.ts +1 -1
- package/dist/articles/widget-styles.d.ts +1 -1
- package/dist/brand/extract-brand-profile.d.ts +1 -1
- package/dist/chat/ChatWidget.d.ts +1 -1
- package/dist/chat/EchoUiActions.d.ts +1 -1
- package/dist/chat/SiteChat.d.ts +2 -2
- package/dist/chat/chat-messages.d.ts +1 -1
- package/dist/chat/index.d.ts +7 -7
- package/dist/chat/index.js +17 -9
- package/dist/chat/launcher-placement.d.ts +1 -1
- package/dist/{chunk-OPUY4RS6.js → chunk-2LBKIE2K.js} +2 -1
- package/dist/chunk-3RBOES2C.js +36 -0
- package/dist/{chunk-XIDWNXZN.js → chunk-3W3MN6Z7.js} +2 -2
- package/dist/{chunk-CVADNHJ4.js → chunk-3WMNHFZH.js} +9 -0
- package/dist/chunk-533ZSRJF.js +147 -0
- package/dist/{chunk-UPFU63L4.js → chunk-55GFMOI6.js} +1 -1
- package/dist/chunk-5IVD6G77.js +37 -0
- package/dist/chunk-6CIO4X6P.js +77 -0
- package/dist/{chunk-G7BRCSV6.js → chunk-727353NY.js} +11 -7
- package/dist/{chunk-PSS6M4CG.js → chunk-75N2WALV.js} +2 -2
- package/dist/{chunk-ZQSCMYZO.js → chunk-7643MCD2.js} +6 -3
- package/dist/chunk-7IZUUXXO.js +1 -0
- package/dist/{chunk-GXWM5KNS.js → chunk-7PWXPN53.js} +40 -45
- package/dist/{chunk-C7TLGL3R.js → chunk-7VMA3KCN.js} +30 -4
- package/dist/{chunk-IDC5CVBR.js → chunk-A66TIJWU.js} +1 -1
- package/dist/chunk-ACZ5JNSL.js +78 -0
- package/dist/chunk-AG2RDHYZ.js +45 -0
- package/dist/{chunk-LNSNA3W4.js → chunk-C4XK472G.js} +4 -3
- package/dist/chunk-D4M5K6JN.js +25 -0
- package/dist/{chunk-F6WLHVMQ.js → chunk-D4R3FQED.js} +1 -1
- package/dist/{chunk-URLTBVRX.js → chunk-DW5X4BC7.js} +3 -3
- package/dist/chunk-FRY6PBT6.js +31 -0
- package/dist/{chunk-JYITKUUB.js → chunk-G5WUX7VE.js} +1 -1
- package/dist/{chunk-VPZJ7ZTL.js → chunk-HHEDRZOJ.js} +1 -1
- package/dist/{chunk-2WM4TNDF.js → chunk-HLN7A4GL.js} +1 -1
- package/dist/{chunk-DYROJGI2.js → chunk-HNVLINPI.js} +1 -1
- package/dist/{chunk-NFGAXWCN.js → chunk-J4R7MHV2.js} +31 -13
- package/dist/chunk-JT7GHHMV.js +56 -0
- package/dist/chunk-KMNHNCVG.js +20 -0
- package/dist/chunk-KQKUXIUD.js +25 -0
- package/dist/chunk-MDBXGN6W.js +13 -0
- package/dist/{chunk-IWNJCRXW.js → chunk-MIKVCYGX.js} +125 -118
- package/dist/{chunk-GQN4BGK6.js → chunk-MKU5ZORB.js} +2 -31
- package/dist/chunk-MOACHHOJ.js +20 -0
- package/dist/{chunk-M5JIHQ42.js → chunk-NBNDH2J6.js} +2 -2
- package/dist/{chunk-YRQS7VAH.js → chunk-NH7K252M.js} +6 -4
- package/dist/chunk-NHDRA4Y5.js +6 -0
- package/dist/{chunk-SLFYTELD.js → chunk-NWEIHCSE.js} +3 -1
- package/dist/{chunk-EATJPSTS.js → chunk-O5LQUBBN.js} +1 -1
- package/dist/chunk-OCNODBH4.js +2 -0
- package/dist/{chunk-TP32MRXV.js → chunk-OEHIXCYS.js} +2 -2
- package/dist/{chunk-Y6SHFILE.js → chunk-OEOSR5EG.js} +1 -1
- package/dist/{chunk-KG5IEV7I.js → chunk-ORSQKTMN.js} +1 -1
- package/dist/{chunk-SVHPILS3.js → chunk-P7S45DD7.js} +1 -1
- package/dist/chunk-PVY7X5UR.js +21 -0
- package/dist/{chunk-HN7GVGWC.js → chunk-Q2OE32TH.js} +3 -3
- package/dist/chunk-RMPXSEEU.js +62 -0
- package/dist/{chunk-THXELZTQ.js → chunk-RUV6DCKL.js} +1 -1
- package/dist/{chunk-2WDWQI7K.js → chunk-RYR6N4X4.js} +1 -1
- package/dist/{chunk-ODOV76VW.js → chunk-STIVFCWM.js} +1 -1
- package/dist/{chunk-6BFQI3ZE.js → chunk-TLKLHSRJ.js} +2 -2
- package/dist/chunk-TPHOIE4I.js +73 -0
- package/dist/{chunk-SBPUFTMP.js → chunk-UMF5OILQ.js} +2 -2
- package/dist/chunk-WYNDBJG7.js +66 -0
- package/dist/{chunk-OWZWRP7Y.js → chunk-XAPSYDVT.js} +2 -2
- package/dist/{chunk-PAYCK7FC.js → chunk-XJZLXUTG.js} +1 -1
- package/dist/{chunk-YEX5RAEU.js → chunk-Y7DZ2ND2.js} +38 -27
- package/dist/{chunk-AYQEIMGS.js → chunk-YJ6PRJ7Y.js} +103 -22
- package/dist/chunk-Z4XJOVQX.js +9 -0
- package/dist/{chunk-6DXQHNZK.js → chunk-Z62W7Q3T.js} +1 -1
- package/dist/client/index.d.ts +8 -8
- package/dist/client/index.js +9 -8
- package/dist/config/index.d.ts +1 -1
- package/dist/contracts/broadcast-layouts.d.ts +8 -0
- package/dist/contracts/crm-disposition.d.ts +87 -0
- package/dist/contracts/decision-roles.d.ts +39 -0
- package/dist/contracts/entries.d.ts +1 -1
- package/dist/contracts/funnels.d.ts +85 -2
- package/dist/contracts/portfolio.d.ts +1 -1
- package/dist/contracts/publication-branding.d.ts +3 -3
- package/dist/contracts/resonance-constants.d.ts +4 -0
- package/dist/contracts/resonance.d.ts +8461 -0
- package/dist/contracts/signal-experiments.d.ts +219 -0
- package/dist/contracts/site-edit.d.ts +2 -2
- package/dist/contracts/sites.d.ts +1 -1
- package/dist/contracts/slots.d.ts +2 -2
- package/dist/contracts/wire-schema.d.ts +36 -0
- package/dist/controls-KLG6VQLO.js +14 -0
- package/dist/cta-bar/CtaBar.d.ts +1 -1
- package/dist/cta-bar/client.js +3 -2
- package/dist/cta-bar/index.d.ts +4 -4
- package/dist/cta-bar/index.js +4 -3
- package/dist/fleet/FleetHeartbeat.d.ts +2 -2
- package/dist/fleet/contract.d.ts +1 -1
- package/dist/fleet/heartbeat.d.ts +2 -2
- package/dist/fleet/index.d.ts +6 -6
- package/dist/fleet/index.js +4 -5
- package/dist/forms/AddressAutocomplete.d.ts +20 -0
- package/dist/forms/FileField.d.ts +1 -1
- package/dist/forms/FormClient.d.ts +4 -3
- package/dist/forms/FormEnhancer.d.ts +3 -2
- package/dist/forms/FormField.d.ts +3 -1
- package/dist/forms/FormSpotlight.d.ts +2 -2
- package/dist/forms/FormStage.d.ts +2 -2
- package/dist/forms/ManagedForm.d.ts +2 -2
- package/dist/forms/PrivateFileField.d.ts +1 -1
- package/dist/forms/ServerForm.d.ts +5 -4
- package/dist/forms/StaticForm.d.ts +1 -1
- package/dist/forms/contract.d.ts +1 -1
- package/dist/forms/controls.d.ts +5 -0
- package/dist/forms/experience-plan.d.ts +1 -1
- package/dist/forms/field-autocomplete.d.ts +1 -1
- package/dist/forms/field-controls.d.ts +4 -2
- package/dist/forms/field-rules.d.ts +1 -1
- package/dist/forms/form-dom-values.d.ts +1 -1
- package/dist/forms/index.d.ts +18 -18
- package/dist/forms/index.js +21 -11
- package/dist/forms/normalize-config.d.ts +1 -1
- package/dist/forms/server.d.ts +4 -4
- package/dist/forms/server.js +5 -5
- package/dist/forms/static.d.ts +2 -2
- package/dist/forms/static.js +2 -2
- package/dist/forms/submitForm.d.ts +2 -2
- package/dist/forms/tracking-session.d.ts +1 -1
- package/dist/forms/types.d.ts +9 -0
- package/dist/forms/useForm.d.ts +2 -2
- package/dist/forms/webmcp.d.ts +2 -2
- package/dist/images/api.d.ts +1 -1
- package/dist/images/index.d.ts +6 -6
- package/dist/images/index.js +2 -4
- package/dist/images/server.d.ts +2 -2
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/landing/contract.d.ts +1 -1
- package/dist/landing/contract.js +2 -1
- package/dist/landing/index.d.ts +3 -3
- package/dist/landing/index.js +3 -2
- package/dist/landing/managed-server.d.ts +2 -2
- package/dist/landing/managed.d.ts +10 -2
- package/dist/landing/server.d.ts +7 -7
- package/dist/landing/server.js +13 -8
- package/dist/layout/AiDiscoveryLinks.d.ts +1 -1
- package/dist/layout/SiteKitClientProviders.d.ts +1 -1
- package/dist/layout/SiteKitLayout.d.ts +2 -2
- package/dist/layout/client.d.ts +1 -1
- package/dist/layout/client.js +15 -11
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/index.js +17 -13
- package/dist/layout/types.d.ts +2 -2
- package/dist/llms/AEOComponents.d.ts +1 -1
- package/dist/llms/SpeakableSchema.d.ts +1 -1
- package/dist/llms/api.d.ts +1 -1
- package/dist/llms/client.d.ts +3 -3
- package/dist/llms/contract.d.ts +1 -1
- package/dist/llms/generateLLMsTxt.d.ts +1 -1
- package/dist/llms/handlers.d.ts +1 -1
- package/dist/llms/index.d.ts +21 -21
- package/dist/llms/index.js +5 -5
- package/dist/llms/merge.d.ts +1 -1
- package/dist/llms/sourcedFacts.d.ts +1 -1
- package/dist/llms/types.d.ts +5 -5
- package/dist/llms/writeLLMsTxt.d.ts +3 -3
- package/dist/maps/GoogleMap.d.ts +1 -1
- package/dist/maps/NeighborhoodMap.d.ts +1 -1
- package/dist/maps/api.d.ts +1 -1
- package/dist/maps/index.d.ts +5 -5
- package/dist/maps/index.js +8 -80
- package/dist/maps/places-library.d.ts +34 -0
- package/dist/mcp/WebMcpTools.d.ts +1 -1
- package/dist/mcp/client.d.ts +2 -2
- package/dist/mcp/discovery.d.ts +2 -2
- package/dist/mcp/handlers.d.ts +4 -4
- package/dist/mcp/index.d.ts +12 -12
- package/dist/mcp/protocol.d.ts +1 -1
- package/dist/mcp/report.d.ts +1 -1
- package/dist/mcp/serverCard.d.ts +1 -1
- package/dist/mcp/sonor.d.ts +5 -5
- package/dist/mcp/sonor.js +12 -12
- package/dist/mcp/transport.d.ts +1 -1
- package/dist/motion/Parallax.d.ts +1 -1
- package/dist/motion/ScrollScene.d.ts +1 -1
- package/dist/motion/gsap.d.ts +2 -2
- package/dist/motion/index.d.ts +9 -9
- package/dist/motion/three.d.ts +1 -1
- package/dist/og/index.d.ts +5 -5
- package/dist/og/pages.d.ts +1 -1
- package/dist/og/route-fit.d.ts +17 -0
- package/dist/og/template.d.ts +1 -1
- package/dist/places-library-RU2YNKFK.js +54 -0
- package/dist/portfolio/contract.d.ts +1 -1
- package/dist/press-kit/articles/Article.d.ts +2 -2
- package/dist/press-kit/articles/ArticleFaqSection.d.ts +1 -1
- package/dist/press-kit/articles/ArticleList.d.ts +2 -2
- package/dist/press-kit/articles/AuthorCard.d.ts +1 -1
- package/dist/press-kit/articles/AuthorPage.d.ts +1 -1
- package/dist/press-kit/articles/ClusterLandingPage.d.ts +2 -2
- package/dist/press-kit/articles/ClusterNavigation.d.ts +2 -2
- package/dist/press-kit/articles/ManagedNewsletterForm.d.ts +2 -2
- package/dist/press-kit/articles/PublicationLayout.d.ts +2 -2
- package/dist/press-kit/articles/PublicationSidebar.d.ts +1 -1
- package/dist/press-kit/articles/RelatedPosts.d.ts +2 -2
- package/dist/press-kit/articles/TableOfContents.d.ts +1 -1
- package/dist/press-kit/articles/article-body.d.ts +1 -1
- package/dist/press-kit/articles/article-headings.d.ts +1 -1
- package/dist/press-kit/articles/article-photos.d.ts +1 -1
- package/dist/press-kit/articles/artwork.d.ts +2 -2
- package/dist/press-kit/articles/author-schema.d.ts +2 -2
- package/dist/press-kit/articles/author-social.d.ts +1 -1
- package/dist/press-kit/articles/index.d.ts +23 -23
- package/dist/press-kit/articles/news-sitemap.d.ts +2 -2
- package/dist/press-kit/articles/public-reads.d.ts +1 -1
- package/dist/press-kit/articles/publication-reads.d.ts +2 -2
- package/dist/press-kit/articles/reading-time.d.ts +1 -1
- package/dist/press-kit/articles/server-core.d.ts +20 -20
- package/dist/press-kit/articles/server-ui.d.ts +20 -20
- package/dist/press-kit/articles/types.d.ts +1 -1
- package/dist/proxy/index.d.ts +5 -5
- package/dist/proxy/index.js +1 -1
- package/dist/reputation/TestimonialSection.d.ts +1 -1
- package/dist/reputation/VisualReviewCard.d.ts +1 -1
- package/dist/reputation/api.d.ts +1 -1
- package/dist/reputation/index.d.ts +4 -4
- package/dist/reputation/server.d.ts +3 -3
- package/dist/resonance/ResonanceRuntime.d.ts +7 -0
- package/dist/resonance/bridge.d.ts +16 -0
- package/dist/resonance/consent-adapter.d.ts +26 -0
- package/dist/resonance/controller-registry.d.ts +14 -0
- package/dist/resonance/controller.d.ts +103 -0
- package/dist/resonance/form-context.d.ts +5 -0
- package/dist/resonance/index.d.ts +4 -0
- package/dist/resonance/index.js +9 -0
- package/dist/resonance/meta-pixel.d.ts +67 -0
- package/dist/resonance/providers.d.ts +32 -0
- package/dist/resonance/runtime-core.d.ts +5 -0
- package/dist/revalidate/index.d.ts +3 -3
- package/dist/revalidate/index.js +2 -2
- package/dist/robots/index.d.ts +3 -3
- package/dist/robots/indexnow.js +2 -2
- package/dist/runtime/index.d.ts +7 -7
- package/dist/runtime/index.js +4 -5
- package/dist/runtime-core-EU2RZMOL.js +2213 -0
- package/dist/seo/ManagedFAQ.d.ts +1 -1
- package/dist/seo/ManagedInternalLinks.d.ts +1 -1
- package/dist/seo/ManagedSchema.d.ts +1 -1
- package/dist/seo/ManagedScripts.d.ts +1 -1
- package/dist/seo/client.d.ts +1 -1
- package/dist/seo/client.js +3 -5
- package/dist/seo/entry-indexnow.d.ts +1 -1
- package/dist/seo/entry-llms-client.d.ts +1 -1
- package/dist/seo/entry-llms-contract.d.ts +1 -1
- package/dist/seo/entry-llms.d.ts +1 -1
- package/dist/seo/entry-meta-contract.d.ts +1 -1
- package/dist/seo/entry-og-route.d.ts +1 -1
- package/dist/seo/entry-og.d.ts +1 -1
- package/dist/seo/entry-pages-contract.d.ts +1 -1
- package/dist/seo/entry-redirects.d.ts +1 -1
- package/dist/seo/entry-robots.d.ts +1 -1
- package/dist/seo/entry-sitemap.d.ts +1 -1
- package/dist/seo/getManagedMetadata.d.ts +1 -1
- package/dist/seo/index.d.ts +12 -12
- package/dist/seo/index.js +9 -11
- package/dist/seo/indexnow.d.ts +1 -1
- package/dist/seo/indexnow.js +2 -2
- package/dist/seo/llms/client.d.ts +1 -1
- package/dist/seo/llms/contract.d.ts +1 -1
- package/dist/seo/llms.d.ts +1 -1
- package/dist/seo/llms.js +5 -5
- package/dist/seo/meta/contract.d.ts +1 -1
- package/dist/seo/og.d.ts +1 -1
- package/dist/seo/pages/contract.d.ts +1 -1
- package/dist/seo/redirects.d.ts +1 -1
- package/dist/seo/register-sitemap-cli-impl.d.ts +1 -1
- package/dist/seo/register-sitemap-cli.js +1 -1
- package/dist/seo/robots.d.ts +1 -1
- package/dist/seo/routing.d.ts +1 -1
- package/dist/seo/server.d.ts +4 -4
- package/dist/seo/server.js +3 -3
- package/dist/seo/sitemap.d.ts +1 -1
- package/dist/seo/sitemap.js +3 -3
- package/dist/seo/types.d.ts +1 -1
- package/dist/seo-meta/contract.d.ts +1 -1
- package/dist/seo-pages/contract.d.ts +1 -1
- package/dist/server/index.d.ts +5 -5
- package/dist/server/index.js +3 -3
- package/dist/server/mint-site-token.d.ts +1 -1
- package/dist/server/server-fetch.d.ts +8 -0
- package/dist/{server-api-XIKDWSNO.js → server-api-A34TABT2.js} +2 -2
- package/dist/shared/build-entries.d.ts +3 -1
- package/dist/shared/color.d.ts +1 -1
- package/dist/shared/fetchWithRetry.d.ts +6 -0
- package/dist/shared/frame.d.ts +1 -1
- package/dist/shared/identity-storage.d.ts +6 -4
- package/dist/shared/identity.d.ts +1 -3
- package/dist/shared/index.d.ts +5 -5
- package/dist/shared/index.js +1 -1
- package/dist/shared/measurement-analytics.d.ts +1 -0
- package/dist/shared/measurement-policy.d.ts +6 -0
- package/dist/shared/measurement-proof.d.ts +5 -0
- package/dist/shared/measurement-store.d.ts +34 -0
- package/dist/shared/measurement-writer.d.ts +6 -0
- package/dist/shared/publishCredential.d.ts +1 -1
- package/dist/shared/reporting-gate.d.ts +3 -1
- package/dist/shared/site-token-claims.d.ts +18 -0
- package/dist/shared/site-token-configuration.d.ts +9 -0
- package/dist/shared/site-token-refresh.d.ts +7 -0
- package/dist/shared/site-token-state.d.ts +23 -0
- package/dist/shared/siteToken.d.ts +5 -39
- package/dist/shared/sonor-auth-state.d.ts +3 -0
- package/dist/shared/sonor-beacon.d.ts +13 -0
- package/dist/shared/sonor-fetch-runtime.d.ts +2 -0
- package/dist/shared/sonor-fetch.d.ts +7 -0
- package/dist/shared/sonorFetch.d.ts +4 -49
- package/dist/shared/version.d.ts +1 -1
- package/dist/signal/ReviewedSignalExperiment.d.ts +9 -0
- package/dist/signal/SignalBridge.d.ts +4 -4
- package/dist/signal/SignalCore.d.ts +2 -1
- package/dist/signal/SignalExperiment.d.ts +13 -5
- package/dist/signal/index.d.ts +3 -3
- package/dist/signal/index.js +4 -73
- package/dist/signal/store.d.ts +10 -7
- package/dist/signal/types.d.ts +4 -0
- package/dist/sitemap/index.d.ts +5 -5
- package/dist/sitemap/index.js +3 -3
- package/dist/sites/contract.d.ts +1 -1
- package/dist/sites/normalize.d.ts +1 -1
- package/dist/slots/ManagedLink.d.ts +2 -2
- package/dist/slots/ManagedList.d.ts +2 -2
- package/dist/slots/ManagedRichText.d.ts +1 -1
- package/dist/slots/ManagedSlot.d.ts +1 -1
- package/dist/slots/contract.d.ts +1 -1
- package/dist/slots/edit/locate.d.ts +1 -1
- package/dist/slots/index.d.ts +14 -14
- package/dist/slots/index.js +2 -2
- package/dist/slots/server-api.d.ts +1 -1
- package/dist/{chunk-FLOJUMFR.js → sonor-fetch-runtime-SLPBNZY4.js} +27 -36
- package/dist/sync/AddToCalendar.d.ts +1 -1
- package/dist/sync/BookingWidget.d.ts +1 -1
- package/dist/sync/MeetingFormatStep.d.ts +1 -1
- package/dist/sync/api.d.ts +2 -2
- package/dist/sync/booking-flow.d.ts +1 -1
- package/dist/sync/index.d.ts +3 -3
- package/dist/sync/index.js +6 -7
- package/dist/types.d.ts +6 -6
- package/dist/website/BlocksPopup.d.ts +1 -1
- package/dist/website/PopupBlocks.d.ts +1 -1
- package/dist/website/SiteDesignReporter.d.ts +2 -2
- package/dist/website/SitePopups.d.ts +1 -1
- package/dist/website/contract.d.ts +1 -1
- package/dist/website/cta-bar.d.ts +1 -1
- package/dist/website/cta-bar.js +4 -3
- package/dist/website/design.d.ts +2 -2
- package/dist/website/images/server.d.ts +1 -1
- package/dist/website/images-server.d.ts +1 -1
- package/dist/website/images.d.ts +1 -1
- package/dist/website/images.js +2 -4
- package/dist/website/index.d.ts +4 -4
- package/dist/website/index.js +5 -6
- package/dist/website/landing/server.d.ts +1 -1
- package/dist/website/landing/server.js +13 -8
- package/dist/website/landing-server.d.ts +1 -1
- package/dist/website/landing.d.ts +1 -1
- package/dist/website/landing.js +3 -2
- package/dist/website/popup-rules.d.ts +2 -2
- package/dist/website/popup-types.d.ts +1 -1
- package/dist/website/popups.d.ts +4 -4
- package/dist/website/popups.js +14 -8
- package/dist/website/slots/contract.d.ts +1 -1
- package/dist/website/slots-contract.d.ts +1 -1
- package/dist/website/slots.d.ts +2 -2
- package/dist/website/slots.js +2 -2
- package/dist/{writeLLMsTxt-4HHUAOA6.js → writeLLMsTxt-2CBYGKZO.js} +2 -2
- package/docs.json +5 -0
- package/package.json +8 -2
- package/src/analytics/README.md +21 -0
- package/src/cta-bar/README.md +4 -0
- package/src/forms/README.md +76 -0
- package/src/landing/README.md +14 -0
- package/src/layout/README.md +3 -0
- package/src/resonance/README.md +273 -0
- package/src/runtime/README.md +6 -1
- package/src/signal/README.md +21 -0
- package/src/website/README.md +14 -2
- package/dist/AnalyticsProvider-7SBJ27SI.js +0 -13
- package/dist/ChatWidget-V46UBDOM.js +0 -20
- package/dist/ManagedForm-DDDVMKLJ.js +0 -19
- package/dist/SitePopups-VU2C3Z6B.js +0 -13
- package/dist/SitemapSync-C4H3HF3L.js +0 -9
- package/dist/chunk-5ROTTMBL.js +0 -19
- package/dist/chunk-5TM3WPCI.js +0 -7
- package/dist/chunk-7HW4TZB5.js +0 -148
- package/dist/chunk-IPQKQEWI.js +0 -52
- package/dist/chunk-LCDVPAMR.js +0 -24
- package/dist/chunk-LQJC5S2M.js +0 -236
- package/dist/chunk-SHAUX2MQ.js +0 -163
- /package/dist/{chunk-3MJNBOUO.js → chunk-2QPVU63T.js} +0 -0
package/dist/forms/index.d.ts
CHANGED
|
@@ -98,26 +98,26 @@
|
|
|
98
98
|
* --sk-btn-bg: #your-button-color;
|
|
99
99
|
* }
|
|
100
100
|
*/
|
|
101
|
-
export { formsApi, configureFormsApi, field, defineForm, initializeForms } from
|
|
102
|
-
export type { Form, FormField, FormStep, FormType, FieldType, CreateFormInput, UpdateFormInput, FormsListOptions, FormDefinition } from
|
|
103
|
-
export { useForm } from
|
|
104
|
-
export type { UseFormOptions, UseFormReturn } from
|
|
105
|
-
export { autocompleteFor } from
|
|
106
|
-
export type { AutocompleteField } from
|
|
107
|
-
export { ManagedForm } from
|
|
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
|
|
114
|
-
export type { FormEnhancerProps, FormEnterAnimation } from
|
|
115
|
-
export { FormClient } from
|
|
116
|
-
export { FormCelebration } from
|
|
117
|
-
export type { FormCelebrationProps } from
|
|
118
|
-
export { FormField as FormFieldComponent } from
|
|
119
|
-
export type { FormExperience } from
|
|
120
|
-
export { useFormTracking } from
|
|
121
|
-
export type { ManagedFormConfig, FormSubmission, FormSubmitResult, FormField as FormFieldConfig, } from
|
|
122
|
-
export { DEFAULT_FORM_SUCCESS_MESSAGE } from
|
|
123
|
-
export { DatePicker } from
|
|
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, AddressAutocompleteOptions } 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";
|
package/dist/forms/index.js
CHANGED
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { configureFormsApi, defineForm, field, formsApi, initializeForms } from '../chunk-
|
|
2
|
+
export { configureFormsApi, defineForm, field, formsApi, initializeForms } from '../chunk-HNVLINPI.js';
|
|
3
3
|
export { FormCelebration } from '../chunk-YGGDU6C3.js';
|
|
4
|
-
export { FormClient, ManagedForm } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
export { FormClient, ManagedForm } from '../chunk-727353NY.js';
|
|
5
|
+
import '../chunk-MKU5ZORB.js';
|
|
6
6
|
export { DatePicker } from '../chunk-SOD2F6C2.js';
|
|
7
|
-
export { useForm, useFormTracking } from '../chunk-
|
|
7
|
+
export { useForm, useFormTracking } from '../chunk-MIKVCYGX.js';
|
|
8
8
|
import '../chunk-Q6E4OPGG.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
|
|
9
|
+
import '../chunk-MDBXGN6W.js';
|
|
10
|
+
import '../chunk-PVY7X5UR.js';
|
|
11
|
+
export { FormEnhancer } from '../chunk-NWEIHCSE.js';
|
|
11
12
|
import '../chunk-C2FZBUSS.js';
|
|
12
13
|
import '../chunk-YC7ELZS3.js';
|
|
13
14
|
import '../chunk-DXO6SBMD.js';
|
|
14
|
-
export { FormField as FormFieldComponent, autocompleteFor } from '../chunk-
|
|
15
|
+
export { FormField as FormFieldComponent, autocompleteFor } from '../chunk-3WMNHFZH.js';
|
|
15
16
|
export { DEFAULT_FORM_SUCCESS_MESSAGE } from '../chunk-TYSIAWC3.js';
|
|
16
17
|
import '../chunk-HW7B43E5.js';
|
|
17
18
|
import '../chunk-NJCTQH2P.js';
|
|
18
19
|
import '../chunk-L2V5PUFN.js';
|
|
20
|
+
import '../chunk-ACZ5JNSL.js';
|
|
21
|
+
import '../chunk-NHDRA4Y5.js';
|
|
22
|
+
import '../chunk-D4M5K6JN.js';
|
|
19
23
|
import '../chunk-GJWI74ZZ.js';
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
22
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-NZOJHERI.js';
|
|
25
|
+
import '../chunk-KMNHNCVG.js';
|
|
26
|
+
import '../chunk-5IVD6G77.js';
|
|
27
|
+
import '../chunk-D4R3FQED.js';
|
|
28
|
+
import '../chunk-7643MCD2.js';
|
|
29
|
+
import '../chunk-64XODP7M.js';
|
|
30
|
+
import '../chunk-Z4XJOVQX.js';
|
|
23
31
|
import '../chunk-W7OPEMGJ.js';
|
|
24
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-A4CC4ZG3.js';
|
|
33
|
+
import '../chunk-MOACHHOJ.js';
|
|
34
|
+
import '../chunk-FRY6PBT6.js';
|
|
25
35
|
import '../chunk-PKBMQBKP.js';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* field order, step count and success copy or the swap visibly jumps, so
|
|
9
9
|
* there must never be a second copy of this.
|
|
10
10
|
*/
|
|
11
|
-
import type { ManagedFormConfig } from
|
|
11
|
+
import type { ManagedFormConfig } from "./types.js";
|
|
12
12
|
/**
|
|
13
13
|
* Normalize a raw /api/public/forms/config payload into ManagedFormConfig.
|
|
14
14
|
* Single source of truth — used for both the client fetch and server-provided
|
package/dist/forms/server.d.ts
CHANGED
|
@@ -30,8 +30,8 @@ export interface GetFormConfigOptions {
|
|
|
30
30
|
revalidate?: number;
|
|
31
31
|
}
|
|
32
32
|
export declare function getFormConfig(formIdOrSlug: string, options?: GetFormConfigOptions): Promise<Record<string, unknown> | null>;
|
|
33
|
-
export { ServerForm } from
|
|
34
|
-
export type { ServerFormProps } from
|
|
33
|
+
export { ServerForm } from "./ServerForm.js";
|
|
34
|
+
export type { ServerFormProps } from "./ServerForm.js";
|
|
35
35
|
/** The zero-JS form itself, if you want to compose the enhancement yourself. */
|
|
36
|
-
export { StaticForm } from
|
|
37
|
-
export type { StaticFormProps } from
|
|
36
|
+
export { StaticForm } from "./StaticForm.js";
|
|
37
|
+
export type { StaticFormProps } from "./StaticForm.js";
|
package/dist/forms/server.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ServerForm, getFormConfig } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ServerForm, getFormConfig } from '../chunk-NH7K252M.js';
|
|
2
|
+
import '../chunk-NWEIHCSE.js';
|
|
3
3
|
import '../chunk-C2FZBUSS.js';
|
|
4
4
|
import '../chunk-YC7ELZS3.js';
|
|
5
|
-
export { StaticForm } from '../chunk-
|
|
5
|
+
export { StaticForm } from '../chunk-HHEDRZOJ.js';
|
|
6
6
|
import '../chunk-DXO6SBMD.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3WMNHFZH.js';
|
|
8
8
|
import '../chunk-TYSIAWC3.js';
|
|
9
9
|
import '../chunk-HW7B43E5.js';
|
|
10
10
|
import '../chunk-NJCTQH2P.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-7VMA3KCN.js';
|
|
12
12
|
import '../chunk-MH2DSGC6.js';
|
|
13
13
|
import '../chunk-PKBMQBKP.js';
|
package/dist/forms/static.d.ts
CHANGED
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
* plane, so client code can import it freely. Server components can keep
|
|
13
13
|
* using `forms/server`, which re-exports the same component.
|
|
14
14
|
*/
|
|
15
|
-
export { StaticForm } from
|
|
16
|
-
export type { StaticFormProps } from
|
|
15
|
+
export { StaticForm } from "./StaticForm.js";
|
|
16
|
+
export type { StaticFormProps } from "./StaticForm.js";
|
package/dist/forms/static.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { StaticForm } from '../chunk-
|
|
1
|
+
export { StaticForm } from '../chunk-HHEDRZOJ.js';
|
|
2
2
|
import '../chunk-DXO6SBMD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-3WMNHFZH.js';
|
|
4
4
|
import '../chunk-TYSIAWC3.js';
|
|
5
5
|
import '../chunk-HW7B43E5.js';
|
|
6
6
|
import '../chunk-NJCTQH2P.js';
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* here, so the request shape, retry behaviour, reCAPTCHA handling, and error
|
|
7
7
|
* parsing can never drift between the two paths.
|
|
8
8
|
*/
|
|
9
|
-
import { DEFAULT_HONEYPOT_FIELD } from
|
|
10
|
-
import type { FormSubmitResult, ManagedFormConfig } from
|
|
9
|
+
import { DEFAULT_HONEYPOT_FIELD } from "./contract.js";
|
|
10
|
+
import type { FormSubmitResult, ManagedFormConfig } from "./types.js";
|
|
11
11
|
export { DEFAULT_HONEYPOT_FIELD };
|
|
12
12
|
/**
|
|
13
13
|
* The API origin and credential for a submission. On the server it honors
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* the per-field interaction log and the abandonment state. See
|
|
25
25
|
* {@link claimAbandon} for when a visit counts as abandoned.
|
|
26
26
|
*/
|
|
27
|
-
import { FieldInteractionLog } from
|
|
27
|
+
import { FieldInteractionLog } from "./field-interactions.js";
|
|
28
28
|
export interface TrackingSession {
|
|
29
29
|
/** The uuid reported to the API as this form visit's session. */
|
|
30
30
|
readonly sessionId: string;
|
package/dist/forms/types.d.ts
CHANGED
|
@@ -228,7 +228,15 @@ export type FormExperience = 'classic' | 'stage' | 'spotlight';
|
|
|
228
228
|
* stays the owner of values/errors/honeypot/submit so spam defense and
|
|
229
229
|
* validation are identical across experiences.
|
|
230
230
|
*/
|
|
231
|
+
/** Opt in existing text fields to Google address suggestions; manual entry stays available. */
|
|
232
|
+
export interface AddressAutocompleteOptions {
|
|
233
|
+
/** Exact Sonor field slugs. Only text fields are enhanced. */
|
|
234
|
+
fields: readonly string[];
|
|
235
|
+
/** Optional two-letter country codes, up to 15. Omit for unrestricted suggestions. */
|
|
236
|
+
includedRegionCodes?: readonly string[];
|
|
237
|
+
}
|
|
231
238
|
export interface ExperienceRenderProps {
|
|
239
|
+
addressAutocomplete?: AddressAutocompleteOptions;
|
|
232
240
|
config: ManagedFormConfig;
|
|
233
241
|
values: Record<string, unknown>;
|
|
234
242
|
errors: Record<string, string>;
|
|
@@ -254,6 +262,7 @@ export interface ExperienceRenderProps {
|
|
|
254
262
|
honeypot: React.ReactNode;
|
|
255
263
|
}
|
|
256
264
|
export interface ManagedFormProps {
|
|
265
|
+
addressAutocomplete?: AddressAutocompleteOptions;
|
|
257
266
|
/** Form key from Sonor */
|
|
258
267
|
formId: string;
|
|
259
268
|
/** @deprecated Project is resolved from API key by the backend. Omit this prop. */
|
package/dist/forms/useForm.d.ts
CHANGED
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
* )
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
import type { DeclarativeToolFormAttributes } from
|
|
27
|
+
import type { DeclarativeToolFormAttributes } from "../mcp/declarative.js";
|
|
28
28
|
import type { FormEvent } from 'react';
|
|
29
|
-
import type { ManagedFormConfig, FormField, FormSubmitOptions, FormSubmitOutcome, FormSubmitResult } from
|
|
29
|
+
import type { ManagedFormConfig, FormField, FormSubmitOptions, FormSubmitOutcome, FormSubmitResult } from "./types.js";
|
|
30
30
|
export interface UseFormOptions {
|
|
31
31
|
/** Project ID (defaults to SiteKitLayout config) */
|
|
32
32
|
projectId?: string;
|
package/dist/forms/webmcp.d.ts
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* for reading an agent's submit (`SubmitEvent.agentInvoked`, `respondWith`).
|
|
17
17
|
* FormClient, FormSpotlight, FormStage, StaticForm and useForm all use it.
|
|
18
18
|
*/
|
|
19
|
-
import { type DeclarativeToolFormAttributes } from
|
|
20
|
-
import type { ManagedFormConfig } from
|
|
19
|
+
import { type DeclarativeToolFormAttributes } from "../mcp/declarative.js";
|
|
20
|
+
import type { ManagedFormConfig } from "./types.js";
|
|
21
21
|
/** `contact-page` -> `submit_contact_page`. Stable, snake_case, unique per form. */
|
|
22
22
|
export declare function formToolName(config: Pick<ManagedFormConfig, 'slug'>): string;
|
|
23
23
|
/** The tool description an agent reads to decide whether this form is the one. */
|
package/dist/images/api.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* All functions use Sonor API with API key authentication.
|
|
5
5
|
* Never makes direct Supabase calls.
|
|
6
6
|
*/
|
|
7
|
-
import type { ManagedImageData, ImageFile } from
|
|
7
|
+
import type { ManagedImageData, ImageFile } from "./ManagedImage.js";
|
|
8
8
|
export interface ImageApiConfig {
|
|
9
9
|
apiUrl: string;
|
|
10
10
|
apiKey: string;
|
package/dist/images/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Provides managed image components for Sonor integration.
|
|
5
5
|
* All API calls go through Sonor API with API key auth.
|
|
6
6
|
*/
|
|
7
|
-
export { ManagedImage } from
|
|
8
|
-
export type { ManagedImageProps, ManagedImageData, ImageFile } from
|
|
9
|
-
export { ManagedFavicon, getManagedFaviconUrl } from
|
|
10
|
-
export type { ManagedFaviconProps } from
|
|
11
|
-
export { fetchManagedImage, fetchManagedImages, listImageFiles, uploadImage, assignImageToSlot, clearImageSlot, } from
|
|
12
|
-
export type { ImageApiConfig } from
|
|
7
|
+
export { ManagedImage } from "./ManagedImage.js";
|
|
8
|
+
export type { ManagedImageProps, ManagedImageData, ImageFile } from "./ManagedImage.js";
|
|
9
|
+
export { ManagedFavicon, getManagedFaviconUrl } from "./ManagedFavicon.js";
|
|
10
|
+
export type { ManagedFaviconProps } from "./ManagedFavicon.js";
|
|
11
|
+
export { fetchManagedImage, fetchManagedImages, listImageFiles, uploadImage, assignImageToSlot, clearImageSlot, } from "./api.js";
|
|
12
|
+
export type { ImageApiConfig } from "./api.js";
|
package/dist/images/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export { ManagedImage, assignImageToSlot, clearImageSlot, fetchManagedImage, fetchManagedImages, listImageFiles, uploadImage } from '../chunk-
|
|
1
|
+
export { ManagedImage, assignImageToSlot, clearImageSlot, fetchManagedImage, fetchManagedImages, listImageFiles, uploadImage } from '../chunk-P7S45DD7.js';
|
|
2
2
|
export { ManagedFavicon, getManagedFaviconUrl } from '../chunk-GW7GSBO7.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-7HW4TZB5.js';
|
|
5
|
-
import '../chunk-F6WLHVMQ.js';
|
|
3
|
+
import '../chunk-Z4XJOVQX.js';
|
|
6
4
|
import '../chunk-PKBMQBKP.js';
|
package/dist/images/server.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Importing from ./images (which includes ManagedImage) can cause Next.js 16/Turbopack
|
|
6
6
|
* to treat async components as Client Components when they share a bundle with client code.
|
|
7
7
|
*/
|
|
8
|
-
export { ManagedFavicon, getManagedFaviconUrl, fetchFaviconData } from
|
|
9
|
-
export type { ManagedFaviconProps } from
|
|
8
|
+
export { ManagedFavicon, getManagedFaviconUrl, fetchFaviconData } from "./ManagedFavicon.js";
|
|
9
|
+
export type { ManagedFaviconProps } from "./ManagedFavicon.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
* right entries (src/shared/module-map.json, `rootRuntime`, is the list).
|
|
13
13
|
* Start with `SiteKitLayout` from `@sonordev/site-kit/layout`.
|
|
14
14
|
*/
|
|
15
|
-
export { SITE_KIT_VERSION } from
|
|
16
|
-
export type { ManagedMetadataResult, ManagedSchemaProps, ManagedFAQData } from
|
|
17
|
-
export type { AnalyticsConfig, AnalyticsEvent, PageView } from
|
|
18
|
-
export type { ChatConfig } from
|
|
19
|
-
export type { SitePopup } from
|
|
20
|
-
export type { ManagedFormConfig, FormSubmission, FormSubmitResult, FormField } from
|
|
21
|
-
export type { Article as ArticleType, ArticleAuthor, ArticleCategory } from
|
|
22
|
-
export type { Affiliate, AffiliateOffer, AffiliateWithOffers, AffiliatesWidgetProps, AffiliateCardProps, UseAffiliatesResult, } from
|
|
23
|
-
export type { RedirectRule, RedirectConfig } from
|
|
24
|
-
export type { ManagedImageProps, ManagedImageData, ImageFile, ImageApiConfig, } from
|
|
25
|
-
export type { SignalConfig, SignalEvent, SignalOutcome, SignalContextValue, SignalBridgeProps, ExperimentConfig, ExperimentVariant, ExperimentAssignment, EngageOverride, MetaOverride, PriceOverride, } from
|
|
26
|
-
export type { Review, ReviewStats, TestimonialSectionProps, } from
|
|
27
|
-
export type { BookingType, TimeSlot, Host, SlotHold, BookingResult, BookingWidgetProps, GuestInfo, SyncWidgetConfig, } from
|
|
15
|
+
export { SITE_KIT_VERSION } from "./shared/version.js";
|
|
16
|
+
export type { ManagedMetadataResult, ManagedSchemaProps, ManagedFAQData } from "./seo/types.js";
|
|
17
|
+
export type { AnalyticsConfig, AnalyticsEvent, PageView } from "./analytics/types.js";
|
|
18
|
+
export type { ChatConfig } from "./chat/types.js";
|
|
19
|
+
export type { SitePopup } from "./website/popup-types.js";
|
|
20
|
+
export type { ManagedFormConfig, FormSubmission, FormSubmitResult, FormField } from "./forms/types.js";
|
|
21
|
+
export type { Article as ArticleType, ArticleAuthor, ArticleCategory } from "./articles/types.js";
|
|
22
|
+
export type { Affiliate, AffiliateOffer, AffiliateWithOffers, AffiliatesWidgetProps, AffiliateCardProps, UseAffiliatesResult, } from "./affiliates/index.js";
|
|
23
|
+
export type { RedirectRule, RedirectConfig } from "./redirects/index.js";
|
|
24
|
+
export type { ManagedImageProps, ManagedImageData, ImageFile, ImageApiConfig, } from "./images/index.js";
|
|
25
|
+
export type { SignalConfig, SignalEvent, SignalOutcome, SignalContextValue, SignalBridgeProps, ExperimentConfig, ExperimentVariant, ExperimentAssignment, EngageOverride, MetaOverride, PriceOverride, } from "./signal/index.js";
|
|
26
|
+
export type { Review, ReviewStats, TestimonialSectionProps, } from "./reputation/index.js";
|
|
27
|
+
export type { BookingType, TimeSlot, Host, SlotHold, BookingResult, BookingWidgetProps, GuestInfo, SyncWidgetConfig, } from "./sync/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SITE_KIT_VERSION } from './chunk-
|
|
1
|
+
export { SITE_KIT_VERSION } from './chunk-D4R3FQED.js';
|
|
2
2
|
import './chunk-PKBMQBKP.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Compatibility entry. The shared contract owns campaign normalization. */
|
|
2
|
-
export { normalizeCampaignSlug } from
|
|
2
|
+
export { normalizeCampaignSlug } from "../contracts/campaign-normalize.js";
|
package/dist/landing/contract.js
CHANGED
package/dist/landing/index.d.ts
CHANGED
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
* The re-exports below stay for backwards compatibility, but a route that
|
|
19
19
|
* uses them for metadata will not build.
|
|
20
20
|
*/
|
|
21
|
-
export { LandingPage, type LandingPageProps } from
|
|
22
|
-
export { landingPageMetadata } from
|
|
23
|
-
export { normalizeCampaignSlug } from
|
|
21
|
+
export { LandingPage, type LandingPageProps } from "./LandingPage.js";
|
|
22
|
+
export { landingPageMetadata } from "./metadata.js";
|
|
23
|
+
export { normalizeCampaignSlug } from "./contract.js";
|
package/dist/landing/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../chunk-BTHEQDN4.js';
|
|
2
|
-
export { LandingPage } from '../chunk-
|
|
3
|
-
|
|
2
|
+
export { LandingPage } from '../chunk-XJZLXUTG.js';
|
|
3
|
+
import '../chunk-7IZUUXXO.js';
|
|
4
|
+
export { normalizeCampaignSlug } from '../chunk-2QPVU63T.js';
|
|
4
5
|
export { landingPageMetadata } from '../chunk-JESLPEST.js';
|
|
5
6
|
import '../chunk-PKBMQBKP.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'server-only';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { Metadata } from 'next';
|
|
4
|
-
import { type ResolveServerApiConfigOptions } from
|
|
5
|
-
import { type PublishedFunnelPage } from
|
|
4
|
+
import { type ResolveServerApiConfigOptions } from "../server/server-fetch.js";
|
|
5
|
+
import { type PublishedFunnelPage } from "../contracts/funnels.js";
|
|
6
6
|
export interface GetPublishedFunnelPageOptions extends ResolveServerApiConfigOptions {
|
|
7
7
|
/** Explicit registered site host. No primary-domain or sibling-site fallback. */
|
|
8
8
|
site: string;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import { type PublishedFunnelPage } from
|
|
2
|
+
import { type PublishedFunnelPage } from "../contracts/funnels.js";
|
|
3
3
|
export interface FunnelPageContentProps {
|
|
4
4
|
page: PublishedFunnelPage;
|
|
5
5
|
/** A live managed form supplied by the server adapter. Never used in a preview. */
|
|
6
6
|
conversion?: ReactNode;
|
|
7
7
|
/** Private dashboard preview. All conversion controls are inert. */
|
|
8
8
|
preview?: boolean;
|
|
9
|
+
/** Internal reviewed-copy slot; the offer and live form stay outside it. */
|
|
10
|
+
copy?: ReactNode;
|
|
9
11
|
}
|
|
12
|
+
/** The existing bounded headline/body markup, shared by base and reviewed copies. */
|
|
13
|
+
export declare function FunnelPageCopy({ content, headingFamily, headingId }: {
|
|
14
|
+
content: Pick<PublishedFunnelPage['content'], 'headline' | 'body'>;
|
|
15
|
+
headingFamily: string;
|
|
16
|
+
headingId?: string;
|
|
17
|
+
}): React.JSX.Element;
|
|
10
18
|
/** Bounded SSR layout for newsletter, requested-guide and inquiry content. */
|
|
11
|
-
export declare function FunnelPageContent({ page: input, conversion, preview }: FunnelPageContentProps): React.JSX.Element;
|
|
19
|
+
export declare function FunnelPageContent({ page: input, conversion, preview, copy }: FunnelPageContentProps): React.JSX.Element;
|
package/dist/landing/server.d.ts
CHANGED
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
*
|
|
28
28
|
* The `landing` barrel keeps re-exporting both for backwards compatibility.
|
|
29
29
|
*/
|
|
30
|
-
export { landingPageMetadata } from
|
|
31
|
-
export { normalizeCampaignSlug } from
|
|
32
|
-
export { getPublishedFunnelPage, managedFunnelMetadata, ManagedFunnelPage } from
|
|
33
|
-
export type { GetPublishedFunnelPageOptions, ManagedFunnelPageProps } from
|
|
34
|
-
export { FunnelPageContent } from
|
|
35
|
-
export type { FunnelPageContentProps } from
|
|
36
|
-
export type { PublishedFunnelPage } from
|
|
30
|
+
export { landingPageMetadata } from "./metadata.js";
|
|
31
|
+
export { normalizeCampaignSlug } from "./contract.js";
|
|
32
|
+
export { getPublishedFunnelPage, managedFunnelMetadata, ManagedFunnelPage } from "./managed-server.js";
|
|
33
|
+
export type { GetPublishedFunnelPageOptions, ManagedFunnelPageProps } from "./managed-server.js";
|
|
34
|
+
export { FunnelPageContent } from "./managed.js";
|
|
35
|
+
export type { FunnelPageContentProps } from "./managed.js";
|
|
36
|
+
export type { PublishedFunnelPage } from "../contracts/funnels.js";
|
package/dist/landing/server.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
export { FunnelPageContent, ManagedFunnelPage, getPublishedFunnelPage, managedFunnelMetadata } from '../chunk-
|
|
1
|
+
export { FunnelPageContent, ManagedFunnelPage, getPublishedFunnelPage, managedFunnelMetadata } from '../chunk-YJ6PRJ7Y.js';
|
|
2
2
|
import '../chunk-XS2ORMUG.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
3
|
+
import '../chunk-XJZLXUTG.js';
|
|
4
|
+
import '../chunk-7IZUUXXO.js';
|
|
5
|
+
export { normalizeCampaignSlug } from '../chunk-2QPVU63T.js';
|
|
5
6
|
export { landingPageMetadata } from '../chunk-JESLPEST.js';
|
|
6
7
|
import '../chunk-XHYE24HU.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-NH7K252M.js';
|
|
9
|
+
import '../chunk-NWEIHCSE.js';
|
|
9
10
|
import '../chunk-C2FZBUSS.js';
|
|
10
11
|
import '../chunk-YC7ELZS3.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-HHEDRZOJ.js';
|
|
12
13
|
import '../chunk-DXO6SBMD.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-3WMNHFZH.js';
|
|
14
15
|
import '../chunk-TYSIAWC3.js';
|
|
15
16
|
import '../chunk-HW7B43E5.js';
|
|
16
17
|
import '../chunk-NJCTQH2P.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-7VMA3KCN.js';
|
|
18
19
|
import '../chunk-MH2DSGC6.js';
|
|
19
20
|
import '../chunk-S22FSH7C.js';
|
|
20
21
|
import '../chunk-A4CC4ZG3.js';
|
|
22
|
+
import '../chunk-OCNODBH4.js';
|
|
23
|
+
import '../chunk-533ZSRJF.js';
|
|
24
|
+
import '../chunk-MOACHHOJ.js';
|
|
25
|
+
import '../chunk-FRY6PBT6.js';
|
|
21
26
|
import '../chunk-PKBMQBKP.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type AiDiscoveryHeadersOptions } from
|
|
2
|
+
import { type AiDiscoveryHeadersOptions } from "../llms/discovery-headers.js";
|
|
3
3
|
/** Static public-resource links, hoisted into head by React; no request reads or client code. */
|
|
4
4
|
export declare function AiDiscoveryLinks(options: AiDiscoveryHeadersOptions): React.JSX.Element;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* which reads env vars at render time.
|
|
22
22
|
*/
|
|
23
23
|
import React, { type ReactNode } from 'react';
|
|
24
|
-
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from
|
|
24
|
+
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from "./types.js";
|
|
25
25
|
export interface SiteKitClientProvidersProps {
|
|
26
26
|
children: ReactNode;
|
|
27
27
|
apiKey: string;
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
import * as React from 'react';
|
|
46
|
-
import type { AiDiscoveryHeadersOptions } from
|
|
47
|
-
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from
|
|
46
|
+
import type { AiDiscoveryHeadersOptions } from "../llms/discovery-headers.js";
|
|
47
|
+
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from "./types.js";
|
|
48
48
|
export interface SiteKitLayoutProps {
|
|
49
49
|
children: React.ReactNode;
|
|
50
50
|
/** Sonor API key. Defaults to SONOR_API_KEY env var. */
|
package/dist/layout/client.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* which reads env vars at render time.
|
|
22
22
|
*/
|
|
23
23
|
import React, { type ReactNode } from 'react';
|
|
24
|
-
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from
|
|
24
|
+
import type { AnalyticsConfig, ChatLayoutConfig, DesignConfig, EngageConfig, SignalConfig } from "./types.js";
|
|
25
25
|
export interface SiteKitClientProvidersProps {
|
|
26
26
|
children: ReactNode;
|
|
27
27
|
apiKey: string;
|
package/dist/layout/client.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { SiteKitClientProviders } from '../chunk-
|
|
2
|
+
export { SiteKitClientProviders } from '../chunk-J4R7MHV2.js';
|
|
3
|
+
import '../chunk-KQKUXIUD.js';
|
|
3
4
|
import '../chunk-6G43IRWR.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-2LBKIE2K.js';
|
|
6
|
+
import '../chunk-TPHOIE4I.js';
|
|
7
|
+
import '../chunk-3RBOES2C.js';
|
|
8
|
+
import '../chunk-Q2OE32TH.js';
|
|
6
9
|
import '../chunk-ZTZQPYP6.js';
|
|
7
10
|
import '../chunk-YC7ELZS3.js';
|
|
8
11
|
import '../chunk-FESKKJAS.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-JT7GHHMV.js';
|
|
13
|
+
import '../chunk-D4M5K6JN.js';
|
|
11
14
|
import '../chunk-GJWI74ZZ.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-5IVD6G77.js';
|
|
16
|
+
import '../chunk-D4R3FQED.js';
|
|
17
|
+
import '../chunk-7643MCD2.js';
|
|
14
18
|
import '../chunk-64XODP7M.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-7HW4TZB5.js';
|
|
19
|
+
import '../chunk-Z4XJOVQX.js';
|
|
17
20
|
import '../chunk-W7OPEMGJ.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-A4CC4ZG3.js';
|
|
22
|
+
import '../chunk-533ZSRJF.js';
|
|
23
|
+
import '../chunk-FRY6PBT6.js';
|
|
20
24
|
import '../chunk-PKBMQBKP.js';
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @sonordev/site-kit/layout — barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { SiteKitLayout } from
|
|
5
|
-
export type { SiteKitLayoutProps } from
|
|
6
|
-
export type { AnalyticsConfig, EngageConfig, SignalConfig } from
|
|
7
|
-
export { SpeculationRules } from
|
|
8
|
-
export { AiDiscoveryLinks } from
|
|
4
|
+
export { SiteKitLayout } from "./SiteKitLayout.js";
|
|
5
|
+
export type { SiteKitLayoutProps } from "./SiteKitLayout.js";
|
|
6
|
+
export type { AnalyticsConfig, EngageConfig, SignalConfig } from "./types.js";
|
|
7
|
+
export { SpeculationRules } from "./SpeculationRules.js";
|
|
8
|
+
export { AiDiscoveryLinks } from "./AiDiscoveryLinks.js";
|
package/dist/layout/index.js
CHANGED
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { SiteKitClientProviders } from '../chunk-
|
|
1
|
+
import { SiteKitClientProviders } from '../chunk-J4R7MHV2.js';
|
|
2
|
+
import '../chunk-KQKUXIUD.js';
|
|
2
3
|
import '../chunk-6G43IRWR.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-2LBKIE2K.js';
|
|
5
|
+
import '../chunk-TPHOIE4I.js';
|
|
6
|
+
import '../chunk-3RBOES2C.js';
|
|
7
|
+
import '../chunk-Q2OE32TH.js';
|
|
5
8
|
import '../chunk-ZTZQPYP6.js';
|
|
6
9
|
import { aiDiscoveryLinks } from '../chunk-MTDVV5P3.js';
|
|
7
10
|
import { ManagedFavicon } from '../chunk-GW7GSBO7.js';
|
|
8
11
|
import '../chunk-YC7ELZS3.js';
|
|
9
|
-
import { resolveClientCredential } from '../chunk-
|
|
12
|
+
import { resolveClientCredential } from '../chunk-NBNDH2J6.js';
|
|
10
13
|
import '../chunk-UAYAJPEP.js';
|
|
11
14
|
import { ManagedScripts } from '../chunk-MVLMXC44.js';
|
|
12
|
-
import { resolveApiOrigin } from '../chunk-
|
|
15
|
+
import { resolveApiOrigin } from '../chunk-7VMA3KCN.js';
|
|
13
16
|
import '../chunk-MH2DSGC6.js';
|
|
14
17
|
import '../chunk-FESKKJAS.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-JT7GHHMV.js';
|
|
19
|
+
import '../chunk-D4M5K6JN.js';
|
|
17
20
|
import '../chunk-GJWI74ZZ.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-5IVD6G77.js';
|
|
22
|
+
import '../chunk-D4R3FQED.js';
|
|
23
|
+
import '../chunk-7643MCD2.js';
|
|
20
24
|
import '../chunk-64XODP7M.js';
|
|
21
|
-
import '../chunk-
|
|
22
|
-
import '../chunk-7HW4TZB5.js';
|
|
25
|
+
import '../chunk-Z4XJOVQX.js';
|
|
23
26
|
import '../chunk-W7OPEMGJ.js';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-A4CC4ZG3.js';
|
|
28
|
+
import '../chunk-533ZSRJF.js';
|
|
29
|
+
import '../chunk-FRY6PBT6.js';
|
|
26
30
|
import '../chunk-PKBMQBKP.js';
|
|
27
31
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
28
32
|
|
package/dist/layout/types.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Kept in a shared file so both server (SiteKitLayout) and client
|
|
4
4
|
* (SiteKitClientProviders) components can reference them.
|
|
5
5
|
*/
|
|
6
|
-
import type { ChatLauncherPlacement } from
|
|
7
|
-
import type { SiteDesignConfig } from
|
|
6
|
+
import type { ChatLauncherPlacement } from "../chat/types.js";
|
|
7
|
+
import type { SiteDesignConfig } from "../website/design.js";
|
|
8
8
|
/**
|
|
9
9
|
* The site's design, for popups (Website → Popups & Banners). site-kit
|
|
10
10
|
* measures it from the rendered page; anything declared here wins. Any CSS
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - AI retrieval and citation (Sonor AI Visibility)
|
|
12
12
|
*/
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import type { AEOBlockProps, AEOSummaryProps, AEODefinitionProps, AEOClaimProps } from
|
|
14
|
+
import type { AEOBlockProps, AEOSummaryProps, AEODefinitionProps, AEOClaimProps } from "./types.js";
|
|
15
15
|
/**
|
|
16
16
|
* AEOBlock - Generic content block optimized for AI extraction
|
|
17
17
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://developers.google.com/search/docs/appearance/structured-data/speakable
|
|
9
9
|
*/
|
|
10
10
|
import * as React from 'react';
|
|
11
|
-
import type { SpeakableSchemaProps, SpeakableConfig } from
|
|
11
|
+
import type { SpeakableSchemaProps, SpeakableConfig } from "./types.js";
|
|
12
12
|
/**
|
|
13
13
|
* Generate a WebPage or Article schema with speakable specification
|
|
14
14
|
*
|