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

[#1985] Fix VaProgressBar slot position #2027

Merged
merged 7 commits into from
Jun 30, 2022

Conversation

RVitaly1978
Copy link
Member

@RVitaly1978 RVitaly1978 commented Jun 30, 2022

Description

close #1985

changes:

  • add boolean content-inside prop
  • add boolean show-percent prop
  • update examples and locales

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

@RVitaly1978 RVitaly1978 added the feature Something useful to end user label Jun 30, 2022
@RVitaly1978 RVitaly1978 added this to the 1.4.5 (current) milestone Jun 30, 2022
@RVitaly1978 RVitaly1978 self-assigned this Jun 30, 2022
Comment on lines 77 to 80
rooStyle: computed(() => ({
'--va-progress-bar-background-color': getColor(props.color),
}) as StyleValue),

Copy link
Contributor

Choose a reason for hiding this comment

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

Just an example of useCSSVariables. You can skip it.

Suggested change
rooStyle: computed(() => ({
'--va-progress-bar-background-color': getColor(props.color),
}) as StyleValue),
rooStyle: useCSSVariables('va-progress-bar', () => ({
'background-color': getColor(props.color)
}))

@RVitaly1978 RVitaly1978 merged commit 96ffc71 into epicmaxco:develop Jun 30, 2022
@RVitaly1978 RVitaly1978 deleted the fix/progress-bar-slot branch June 30, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something useful to end user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

va-progress-bar won't locate the default slot inside itself even if there's enough space for it
4 participants