A Vue.js component to create beautiful animated circular progress bars
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/setaman/vue-ellipse-progress/compare/v1.3.0...v1.3.1
Published by setaman 12 months ago
Full Changelog: https://github.com/setaman/vue-ellipse-progress/compare/v2.1.1...v2.1.2
Published by setaman over 2 years ago
Published by setaman almost 3 years ago
Published by setaman over 3 years ago
Vue 3 compatible release with new features, fixes, a lot of internal code refactorings and usability improvements. Following the current state of the Vue 3 ecosystem, the v2 is released under the next tag and will become latest with the next minor release. Until then, this version lives in the v2-dev branch. The release contains several breaking changes, introduces new options to provide more customization possibilities and makes with 150+ new tests the code base more reliable.
npm i vue-ellipse-progress@next
docs
changelog
build with Vue 3, release is not compatible wit Vue 2.6 and down. The initialization process has changed
You have to import and initialize the component in Vue 3 manner:
import { createApp } from "vue";
import veProgress from "vue-ellipse-progress";
createApp(App).use(veProgress);
Please note that the default plugin name has changed and you use the component like follows:
<ve-progress />
You will find more details in the installation guide
removed legendValue
option, it is legend
now
The option legendValue
just has to be renamed in legend
. The old usage of legend
must be renamed to hideLegend
. The following
code from v1:
<vue-ellipse-progress :legend="true" :legendValue="123.56" />
should look like follows:
<ve-progress :hideLegend="false" :legend="123.56" />
old legend
option renamed to hideLegend
Just rename legend
to hideLegend
. Also note that you have to revert the Boolean value
lineMode
default mode normal
renamed to center
slot legend-value
renamed to legend
added options linePosition
, emptyLinePosition
, loader
improved simple legend formatting with legend
improved animated counter properties that can be used in legendFormatter
and default slot
component can be imported directly, no more restricted to the usage as a plugin
A well tested Vue 3 compatible beta release with stable interface. This release introduces new features, patches, some breaking changes and a lot of internal code improvements. All previous releases are not compatible with this version. The stable v2 version is a few tests away and is actually only blocked by the vue-test-utils@beta
issues. Furthermore I need to ensure the backward compatibility with Vue 2.6.
At this point this version is feature complete and no more breaking changes will be introduced. Please read the documentation to learn more details about changes. Below is an overview of important breaking changes. A detailed upgrade guide will be available later.
Component is build with Vue 3
Component initialization changed due to Vue 3 specifics, also changed the usage over CDN
Slots usage changed
The release contains important fixes concerning compatibility with IOS ans MacOS and adds the possibility to format the legend of the circle.
legendFormatter
(#80)default scoped slot
(#80)After the request in #73 reverse mode was added
The reverse
property lets the progress circle fill counterclockwise:
<vue-ellipse-progress reverse />
progress
now accepts also negative values in the range [-100, 100]
added support for usage over CDN
This release replaces count-up.js
with own implementation. The library is now dependency-free!
count-up.js
(#67)legendValue
decimals handling and ,
as delimiter (#67)Published by setaman over 4 years ago
This is an important update to the previous version. This version adds dot
feature and several important fixes, some of which are listed below. A lot of time has been invested in testing and improvements.
adds dot
The dot
property lets you define a point indicator at the end of the progress line:
dot="10 white"
Published by setaman over 4 years ago
This release contains all features I wanted to see in the first major version and introduces breaking changes to previous versions. The next major update is planned with the release of Vue 3.0.
New features can be added if I need them. But currently I am satisfied with the available capabilities of the library.
Descriptive Interface (#43)
After using the library for some time, I decided to simplify the interface with descriptive strings. Instead of
specifying objects that are verbose for some props, they can be described using a string with a predefined
structure.
We take animation
prop as example. In previous version we specified it as follows:
:animation="{ type: 'rs', duration: 1000, delay: 500 }"
🔥 Now we can just describe the animation config with a string:
animation="rs 1000 500"
animation="rs 1000"
animation="rs"
data
prop (#36)determinate
prop (#37)Vue.use(VueEllipseProgress, "my-name")
Contains the most recent features. Supposed for testing.