Skip to content

Conversation

Achraf931
Copy link

@Achraf931 Achraf931 commented May 11, 2025 β€’

✨ feat(UProgress): add circular variant and statusPosition props

πŸ”— Linked issue

Resolves #3728

❓ Type of change

  • ✨ New feature (a non-breaking change that adds functionality)

πŸ“š Description

This PR introduces:

  • A new circular variant for the UProgress component, allowing a circular visual representation of progress.
  • A new statusPosition prop with the following options:
    • "inside": displays the status (label or percent) in the center of the circle
    • "outside": displays the status outside the circular progress (similar to the linear variant)

These changes provide more flexibility for visualizing progress in various use cases.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.
  • I have written unit or snapshot tests (if applicable).
  • I have manually tested the component with both variants.

Copy link

pkg-pr-new bot commented May 11, 2025 β€’

npm i https://pkg.pr.new/@nuxt/ui@4120

commit: 6b1e37a

@Achraf931 Achraf931 changed the title feat(Progress): add circular variant feat(UProgress): add circular variant May 11, 2025
Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

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

I'm aware it's still a draft, was just looking around 😊


### Status Position

Use the `statusPosition` prop to define where the status text is displayed. Defaults to `outside`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Use the `statusPosition` prop to define where the status text is displayed. Defaults to `outside`.
Use the `status-position` prop to define where the status text is displayed. Defaults to `outside`.

---
::

### Variant
Copy link
Member

Choose a reason for hiding this comment

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

You've added Variant twice.

@benjamincanac benjamincanac changed the title feat(UProgress): add circular variant feat(Progress): add circular variant May 22, 2025
@benjamincanac benjamincanac added the v3 #1289 label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UProgress]: Add variant and status-position props
2 participants