Skip to content

feat(docs): add core input component pages (batch A)#943

Draft
heatherbarranco wants to merge 1 commit into
UiPath:mainfrom
heatherbarranco:docs/component-pages-batch-a
Draft

feat(docs): add core input component pages (batch A)#943
heatherbarranco wants to merge 1 commit into
UiPath:mainfrom
heatherbarranco:docs/component-pages-batch-a

Conversation

@heatherbarranco

Copy link
Copy Markdown
Contributor

Summary

First of several small batches replacing the stale #766 (closed, unmerged — auto-closed for staleness, not rejected in review). Adds 6 of the 22 "exact match" components: ones documented in Zeroheight and already built in apollo-wind with matching names, so there's no open naming/scope question blocking them.

  • Button
  • Checkbox
  • Combobox
  • Date picker
  • Text input
  • Toggle switch

Page content is ported as-is from #766's feat/content-guidelines-docs branch (originally sourced from Zeroheight) — not rewritten. Registered in app/components/_meta.ts alongside the existing overview page.

Follow-up batches planned:

  • Feedback: Alert, Toast, Skeleton loader, Progress bar, Progress spinner
  • Overlays: Dropdown, Popover, Tooltip, Drawer
  • Data display / nav / UiPath: Accordion, Badge, Card, Breadcrumb, Tabs, Global header, Page header
  • A separate round for 7 components needing a naming/scope decision first (Modal vs. Dialog, Node vs. Flow Node, Panel vs. its 4 product variants, etc.)

Test plan

  • Verified all 6 pages return 200 and appear in the sidebar nav via local next dev
  • Content review against current Wind component behavior (props/variants may have drifted from the original Zeroheight spec)
  • Confirm deploy preview renders correctly

🤖 Generated with Claude Code

Ports Button, Checkbox, Combobox, Date picker, Text input, and Toggle
switch from the stale content-guidelines-docs branch (UiPath#766) as the
first of several small batches, since all six have exact-match
component coverage in both Zeroheight and apollo-wind already.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 21, 2026 18:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the first batch of component documentation pages to the apps/apollo-docs Next.js docs app, registering them in the Components sidebar navigation. This helps replace previously stalled Zeroheight-sourced documentation by incrementally porting “exact match” components that already exist in apollo-wind.

Changes:

  • Added 6 new component MDX pages: Button, Checkbox, Combobox, Date picker, Text input, Toggle switch
  • Registered the new component routes in apps/apollo-docs/app/components/_meta.ts for sidebar/nav visibility

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
apps/apollo-docs/app/components/button/page.mdx New Button documentation page content
apps/apollo-docs/app/components/checkbox/page.mdx New Checkbox documentation page content
apps/apollo-docs/app/components/combobox/page.mdx New Combobox documentation page content
apps/apollo-docs/app/components/date-picker/page.mdx New Date picker documentation page content
apps/apollo-docs/app/components/text-input/page.mdx New Text input documentation page content
apps/apollo-docs/app/components/toggle-switch/page.mdx New Toggle switch documentation page content
apps/apollo-docs/app/components/_meta.ts Adds nav entries for the new component pages

Comment on lines +75 to +76
- [Icon button](/components/icon-button)
- [Link](/components/link)

## Related

- [Radio button](/components/radio-button)
- There are only two mutually exclusive options
- The change should take effect immediately, without a separate submit action

For a set of mutually exclusive options that require an additional step to apply (e.g., pressing Save), use a [Radio button](/components/radio-button) instead. For multiple selections requiring additional steps, use a [Checkbox](/components/checkbox).
## Related

- [Checkbox](/components/checkbox)
- [Radio button](/components/radio-button)
## Accessibility

- Read-only components remain navigable by keyboard so users can review and copy values; disabled components are not keyboard-accessible
- Placeholder text must be associated with an `aria-label` for assistive technologies
Comment on lines +79 to +80
- [Dropdown](/components/dropdown)
- [Rich-text editor](/components/rich-text-editor)
Comment on lines +36 to +38
- [Dropdown](/components/dropdown)
- [List](/components/list)
- [Menu](/components/menu)
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