@veritree/ui 0.64.3 → 0.64.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:class="[
|
|
4
4
|
headless
|
|
5
5
|
? 'progress-bar'
|
|
6
|
-
: 'relative min-h-[
|
|
6
|
+
: 'relative min-h-[12px] w-full overflow-hidden rounded bg-gray-200',
|
|
7
7
|
]"
|
|
8
8
|
role="progressbar"
|
|
9
9
|
aria-valuemin="0"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:class="[
|
|
16
16
|
headless
|
|
17
17
|
? 'progress-bar__indicator'
|
|
18
|
-
: 'bg-secondary-
|
|
18
|
+
: 'bg-secondary-300 absolute left-0 h-full transition-all duration-500',
|
|
19
19
|
]"
|
|
20
20
|
:style="{ width: `${percentageComputed}%` }"
|
|
21
21
|
></div>
|
|
@@ -45,7 +45,12 @@ export default {
|
|
|
45
45
|
type: [String, Number],
|
|
46
46
|
default: null,
|
|
47
47
|
},
|
|
48
|
+
rounded: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: 'rounded-full',
|
|
51
|
+
},
|
|
48
52
|
},
|
|
53
|
+
|
|
49
54
|
computed: {
|
|
50
55
|
percentageComputed() {
|
|
51
56
|
if (typeof this.percentage !== 'undefined' && this.percentage !== null) {
|