@mixd-id/web-scaffold 0.1.240411032 → 0.1.240411033
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 +1 -1
- package/src/components/Button.vue +12 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button :class="compClass" @click="onClick" :style="computedStyle"
|
|
3
|
-
v-tooltip="disabledText" :disabled="isDisabled">
|
|
3
|
+
v-tooltip="disabledText" :disabled="isDisabled" :title="isLoading ? 1 : -1">
|
|
4
4
|
<slot>{{ text }}</slot>
|
|
5
5
|
<span v-if="isLoading" :class="$style.spinner">
|
|
6
6
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
@@ -191,16 +191,22 @@ export default{
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.button-outline{
|
|
194
|
-
@apply border-primary bg-transparent text-
|
|
194
|
+
@apply border-primary bg-transparent text-primary;
|
|
195
195
|
@apply hover:bg-transparent hover:border-primary-600;
|
|
196
196
|
}
|
|
197
|
+
.button-outline>*{
|
|
198
|
+
@apply text-primary fill-primary;
|
|
199
|
+
}
|
|
200
|
+
.button-outline:disabled>*{
|
|
201
|
+
@apply text-primary-300 fill-primary-300;
|
|
202
|
+
}
|
|
197
203
|
.button-outline .svgBg{
|
|
198
|
-
stroke:
|
|
199
|
-
stroke-opacity:
|
|
204
|
+
stroke: rgb(var(--primary-600));
|
|
205
|
+
stroke-opacity: 50%;
|
|
200
206
|
}
|
|
201
207
|
.button-outline .svgHg {
|
|
202
|
-
fill:
|
|
203
|
-
fill-opacity:
|
|
208
|
+
fill: rgb(var(--primary-500));
|
|
209
|
+
fill-opacity: 100%;
|
|
204
210
|
}
|
|
205
211
|
|
|
206
212
|
.button-minimal{
|