Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor stepper input #3976

Merged
merged 11 commits into from
Sep 30, 2024
Merged

Refactor stepper input #3976

merged 11 commits into from
Sep 30, 2024

Conversation

origami-z
Copy link
Contributor

@origami-z origami-z commented Aug 12, 2024

No site doc in this PR, will be in #3586


  • Refactored stepper input to not use Input component, which causes the props to be inconsistent (e.g. needing InputProps.inputProps)
  • Added full border examples, supports theme next rounded corner styling options
  • Updated increment / decrement button gap to be border-strong (suggested in Stepper Input theme next style #3878)
  • Added more keyboard interactions, suggested by APG spinbutton, i.e., home/end, page up/down

to do ..

  • rewrite changeset, API props change, & design change
  • add more test
  • add more visual snapshot, e.g., status, bordered, readonly, disabled

#1855, #3878

Copy link

changeset-bot bot commented Aug 12, 2024

🦋 Changeset detected

Latest commit: 24257eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@salt-ds/lab Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 9:22am

@origami-z
Copy link
Contributor Author

@navkaur76 need some design reviews on stepper input. See PR description for more detail

@origami-z
Copy link
Contributor Author

@navkaur76 any review feedback?

navkaur76
navkaur76 previously approved these changes Sep 27, 2024
Fercas123
Fercas123 previously approved these changes Sep 27, 2024
packages/lab/src/stepper-input/StepperInput.tsx Outdated Show resolved Hide resolved
packages/lab/src/stepper-input/StepperInput.tsx Outdated Show resolved Hide resolved
packages/lab/src/stepper-input/StepperInput.tsx Outdated Show resolved Hide resolved
@origami-z origami-z added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Sep 30, 2024
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Sep 30, 2024
@origami-z origami-z merged commit 91639ec into main Sep 30, 2024
16 checks passed
@origami-z origami-z deleted the refactor-stepper-input branch September 30, 2024 10:10
@origami-z origami-z mentioned this pull request Sep 30, 2024
1 task
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