Skip to content

feat: export StateTaxesList and StateTaxesForm from Company API#1083

Merged
hukid merged 4 commits intomainfrom
xh/feat/SDK-343-state-taxes-export
Feb 13, 2026
Merged

feat: export StateTaxesList and StateTaxesForm from Company API#1083
hukid merged 4 commits intomainfrom
xh/feat/SDK-343-state-taxes-export

Conversation

@hukid
Copy link
Contributor

@hukid hukid commented Feb 13, 2026

Summary

Export StateTaxesList and StateTaxesForm as standalone components from the Company namespace, giving consumers granular control over state tax workflows instead of only the orchestrated StateTaxes component.

Changes

  • Export StateTaxesList and StateTaxesForm from Company with new barrel index.ts files
  • Document both components in the company onboarding workflow docs with props, events, and usage examples
  • Clarify the existing StateTaxes description to reference the new lower-level building blocks

Related

Testing

  • Verify imports resolve correctly:
    import { Company } from '@gusto/embedded-react-sdk'
    // Company.StateTaxesList and Company.StateTaxesForm should be available
  • Review updated docs at docs/workflows-overview/company-onboarding.md

Made with Cursor

hukid and others added 2 commits February 12, 2026 16:13
Expose the lower-level building blocks of the StateTaxes flow so
partners can import Company.StateTaxesList and Company.StateTaxesForm
directly, matching the existing pattern used by DocumentList/SignatureForm.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@hukid hukid requested a review from jeffredodd as a code owner February 13, 2026 00:21
Copilot AI review requested due to automatic review settings February 13, 2026 00:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR exposes StateTaxesList and StateTaxesForm as standalone components from the Company API, enabling developers to have more granular control over state tax workflows. Previously, only the orchestrated StateTaxes component was available, which internally uses a state machine to coordinate between these two views. Now developers can use the list and form components independently for custom workflows.

Changes:

  • Export StateTaxesList and StateTaxesForm from the Company namespace with new barrel index.ts files
  • Document both components with comprehensive props, events, and usage examples
  • Update the StateTaxes component description to reference the newly exposed building blocks

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/components/Company/index.tsx Added exports for StateTaxesList and StateTaxesForm to the Company namespace
src/components/Company/StateTaxes/StateTaxesList/index.ts Created barrel file to export StateTaxesList component
src/components/Company/StateTaxes/StateTaxesForm/index.ts Created barrel file to export StateTaxesForm component
docs/workflows-overview/company-onboarding.md Added documentation for both components including props tables, events tables, and usage examples; updated StateTaxes description to reference the new components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@jeffredodd jeffredodd left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@hukid hukid enabled auto-merge (squash) February 13, 2026 22:09
@hukid hukid merged commit 7e81eed into main Feb 13, 2026
13 checks passed
@hukid hukid deleted the xh/feat/SDK-343-state-taxes-export branch February 13, 2026 22:11
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.

4 participants