From 8721db35bd47777ad26da2a11756cf8b47ffcd4b Mon Sep 17 00:00:00 2001 From: Brian Cheung Date: Sat, 8 Nov 2025 14:14:03 -0600 Subject: [PATCH 1/9] docs: fix header blocking banner on mobile --- apps/docs/src/styles/custom.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/docs/src/styles/custom.css b/apps/docs/src/styles/custom.css index 5df0aed..52ea625 100644 --- a/apps/docs/src/styles/custom.css +++ b/apps/docs/src/styles/custom.css @@ -385,9 +385,3 @@ starlight-tabs .tab > [role="tab"] { li:has(> a:not([aria-current="page"]):is(:hover, :focus-visible)) { border-inline-start-color: var(--sl-color-gray-2); } - -/* Reduce top margin on splash template main content */ -.main-pane { - margin-top: 0 !important; - padding-top: 0 !important; -} From 354bb58f33f9d2903c9d0c8bf8495b370ca827f9 Mon Sep 17 00:00:00 2001 From: Brian Cheung Date: Wed, 4 Feb 2026 13:12:13 -0600 Subject: [PATCH 2/9] docs: wrap flow methods in event handlers --- README.md | 4 ++-- .../content/docs/api-reference/flow-component.mdx | 3 +-- .../content/docs/api-reference/use-flow-state.mdx | 6 +++--- .../src/content/docs/core-concepts/navigation.mdx | 15 ++++++++++++--- .../content/docs/getting-started/quick-start.mdx | 6 ++++++ .../content/docs/getting-started/why-useflow.mdx | 2 +- .../src/content/docs/guides/branching-flows.mdx | 3 +-- .../src/content/docs/guides/custom-layouts.mdx | 9 ++++----- .../docs/src/content/docs/guides/linear-flows.mdx | 4 ++-- apps/docs/src/content/docs/guides/testing.mdx | 2 +- .../src/content/docs/guides/troubleshooting.mdx | 2 +- apps/docs/src/content/docs/index.mdx | 4 ++-- apps/docs/src/content/docs/recipes/checkout.mdx | 7 +++---- apps/docs/src/content/docs/recipes/onboarding.mdx | 5 ++--- apps/docs/src/content/docs/recipes/survey.mdx | 5 ++--- packages/react/README.md | 4 ++-- 16 files changed, 45 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 0c24f7e..6a82f88 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,8 @@ function BusinessStep() { value={context.company || ""} // 💡 TypeScript knows this is a string onChange={(e) => setContext({ company: e.target.value })} /> - - + + ); } diff --git a/apps/docs/src/content/docs/api-reference/flow-component.mdx b/apps/docs/src/content/docs/api-reference/flow-component.mdx index d5aedb2..e03a39e 100644 --- a/apps/docs/src/content/docs/api-reference/flow-component.mdx +++ b/apps/docs/src/content/docs/api-reference/flow-component.mdx @@ -330,7 +330,7 @@ const persister = createPersister({ store });