Add circular variant to progress component#2461
Closed
jdc1898 wants to merge 1 commit intolivewire:mainfrom
Closed
Add circular variant to progress component#2461jdc1898 wants to merge 1 commit intolivewire:mainfrom
jdc1898 wants to merge 1 commit intolivewire:mainfrom
Conversation
Restructures the progress component to use the variants pattern (matching checkbox, radio, and select). Caleb's existing linear progress is moved to variants/default.blade.php with zero changes. Adds a new circular variant with SVG-based circular progress, supporting all color variants, five size presets (xs, sm, base, lg, xl), and an optional label overlay. Usage: <flux:progress value="75" circular /> <flux:progress value="75" variant="circular" />
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a circular variant to the progress component using the existing variants pattern (matching checkbox, radio, and select).
progress.blade.phpintoprogress/index.blade.php+progress/variants/default.blade.php(100% rename, zero changes to existing code)progress/variants/circular.blade.php— SVG-based circular progress indicatorxs,sm,base,lg,xl), and an optional label overlayUsage
Files
progress/index.blade.phpprogress/variants/default.blade.phpprogress/variants/circular.blade.php