@veritree/ui 0.64.3 → 0.64.5
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/mixins/form-control.js
CHANGED
|
@@ -73,7 +73,7 @@ export const formControlStyleMixin = {
|
|
|
73
73
|
return [
|
|
74
74
|
this.headless
|
|
75
75
|
? `${this.name}`
|
|
76
|
-
: 'leading-0 flex w-full max-w-full relative appearance-none placeholder:font-light placeholder:text-gray-500 items-center justify-between rounded border border-solid px-3 py-2 font-inherit text-sm text-inherit file:hidden focus:border-gray-600 focus:placeholder:text-gray-400',
|
|
76
|
+
: 'leading-0 bg-white disabled:bg-gray-200 flex w-full max-w-full relative appearance-none placeholder:font-light placeholder:text-gray-500 items-center justify-between rounded border border-solid px-3 py-2 font-inherit text-sm text-inherit file:hidden focus:border-gray-600 focus:placeholder:text-gray-400',
|
|
77
77
|
// variant styles
|
|
78
78
|
this.headless
|
|
79
79
|
? `${this.name}--${this.variant}`
|
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) {
|