Skip to content

feat(progress-bar): add size variant prop (FlowwStar/FlowStar#382)#391

Open
jdjioe5-cpu wants to merge 1 commit into
FlowwStar:mainfrom
jdjioe5-cpu:feat/issue-382-progressbar-size
Open

feat(progress-bar): add size variant prop (FlowwStar/FlowStar#382)#391
jdjioe5-cpu wants to merge 1 commit into
FlowwStar:mainfrom
jdjioe5-cpu:feat/issue-382-progressbar-size

Conversation

@jdjioe5-cpu

Copy link
Copy Markdown

Closes #382. Adds optional size?: 'sm' | 'default' | 'lg' prop mapping to h-1/h-2/h-3. Default 'default' = h-2 preserves existing visual.

Closes FlowwStar#382.

Adds an optional `size?: 'sm' | 'default' | 'lg'` prop to ProgressBar, mapping to:
- sm: h-1
- default: h-2 (existing behavior preserved)
- lg: h-3

Default-preserving: existing callers without `size` are unaffected. No markup
changes outside the height class. Marker + indeterminateShimmer behavior
unchanged.
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.

good first issue: add a size/height variant prop to ProgressBar

1 participant