Skip to content

docs: add InputArea documentation page#247

Merged
mattrothenberg merged 3 commits intomainfrom
docs/add-input-area-page
Mar 18, 2026
Merged

docs: add InputArea documentation page#247
mattrothenberg merged 3 commits intomainfrom
docs/add-input-area-page

Conversation

@mattrothenberg
Copy link
Collaborator

@mattrothenberg mattrothenberg commented Mar 17, 2026

Summary

InputArea was missing its own documentation page — the home grid was incorrectly linking it to the Input component page.

Screenshot 2026-03-17 at 5 03 35 PM

Changes:

  • Create /components/input-area doc page with full examples (sizes, errors, rows, labels, tooltips)
  • Add InputAreaDemo.tsx with 11 demo functions
  • Fix HomeGrid route: input-area/components/input-area (was /components/input)
  • Add InputArea to sidebar navigation (between Input and Label)
  • Enable InputArea in command palette search with description

Files changed:

  • src/pages/components/input-area.astro (new)
  • src/components/demos/InputAreaDemo.tsx (new)
  • src/components/demos/HomeGrid.tsx (route fix)
  • src/components/SidebarNav.tsx (nav entry)
  • src/components/SearchDialog.tsx (search enablement)

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2026

npm i https://pkg.pr.new/@cloudflare/kumo@247

commit: 7473394

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2026

Docs Preview

View docs preview

Commit: 7207477

- Create dedicated doc page for InputArea component
- Add InputAreaDemo.tsx with 11 demo examples
- Fix HomeGrid route (was incorrectly linking to /input)
- Add InputArea to sidebar navigation
- Enable InputArea in command palette search
Converts input-area.astro to input-area.mdx to match the new docs site
format from the MDX migration. Adds accessibility section.
@mattrothenberg mattrothenberg force-pushed the docs/add-input-area-page branch from bf9b0bd to 7d3ee5b Compare March 18, 2026 15:02
Use FieldBase.Control with render callback to properly connect the
textarea to the Field context. Clicking the label now focuses the
textarea as expected.
@mattrothenberg mattrothenberg merged commit db91f50 into main Mar 18, 2026
11 checks passed
@mattrothenberg mattrothenberg deleted the docs/add-input-area-page branch March 18, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants