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

Feat/progress #2556

Merged
merged 23 commits into from
Mar 28, 2024
Merged

Feat/progress #2556

merged 23 commits into from
Mar 28, 2024

Conversation

Hugos68
Copy link
Contributor

@Hugos68 Hugos68 commented Mar 15, 2024

Closes: #2390

Copy link

changeset-bot bot commented Mar 15, 2024

⚠️ No Changeset found

Latest commit: 3d67114

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link

vercel bot commented Mar 15, 2024

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

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
skeleton-docs ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 8:23pm
skeleton-themes ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 8:23pm

Copy link

vercel bot commented Mar 15, 2024

@Hugos68 is attempting to deploy a commit to the Skeleton Labs Team on Vercel.

A member of the Team first needs to authorize it.

Mahmoud-zino

This comment was marked as resolved.

TazorDE

This comment was marked as resolved.

@endigo9740

This comment was marked as resolved.

}: ProgressProps) {
useEffect(() => {
if (min > max) {
console.error(
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI this does not appear to be triggering for me on either the Svelte or React components.

For Svelte I tested:

  1. Setting value: 150 and max: 100 in the preview page $state() rune
  2. Setting the same settings via the inputs on the page
  3. Manually passing the values via props

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Weird, using the playground and just entering any value where this condition would be true results in:
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you confirm this is working as intended?

packages/skeleton-react/src/components/Progress/types.ts Outdated Show resolved Hide resolved
@endigo9740

This comment was marked as resolved.

@endigo9740
Copy link
Contributor

endigo9740 commented Mar 28, 2024

@Hugos68 I've completed my review and implemented a few changes.

See all changes in the commit here:
be24ed7

  • Cleaned up the preview page styles (because I have OCD heh)
  • Removed any references to min
  • Setup RTL demos (I'll follow up regarding animations)
  • Extended Tailwind to include animate-indeterminatevia the Skeleton Tailwind plugin
  • Renamed meterIndeterminateAnim to meterAnimate to follow Tailwind convention

The only issue I could not resolve was why the validation error for a value that exceeds a max is not working for me. But if it's working for you I'm not going to stress about it.

I'll follow up in a moment to resolve the merge conflicts.

@endigo9740 endigo9740 marked this pull request as ready for review March 28, 2024 20:21
@endigo9740 endigo9740 self-requested a review March 28, 2024 20:24
@endigo9740 endigo9740 requested a review from Sarenor March 28, 2024 20:25
@endigo9740 endigo9740 merged commit 007f848 into skeletonlabs:next Mar 28, 2024
4 checks passed
@endigo9740 endigo9740 mentioned this pull request Mar 28, 2024
36 tasks
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.

None yet

5 participants