diff --git a/components/smart/DeletableChip.vue b/components/smart/DeletableChip.vue
index b789916a4..a0c072ddd 100644
--- a/components/smart/DeletableChip.vue
+++ b/components/smart/DeletableChip.vue
@@ -21,8 +21,6 @@
@apply text-secondary;
@apply font-mono;
- @apply ease-in-out;
- @apply duration-150;
@apply border border-divider;
}
diff --git a/components/smart/Item.vue b/components/smart/Item.vue
index 321d233ca..d7f50f4a3 100644
--- a/components/smart/Item.vue
+++ b/components/smart/Item.vue
@@ -16,24 +16,29 @@
"
:class="[
{ 'opacity-50 cursor-not-allowed': disabled },
+ { 'pointer-events-none': loading },
{ 'flex-1': label },
{ 'flex-row-reverse justify-end': reverse },
]"
:disabled="disabled"
+ :tabindex="loading ? '-1' : '0'"
>
-
{{ label }}
@@ -42,6 +47,9 @@
{{ description }}
+
+ {{ infoIcon }}
+
@@ -80,14 +88,18 @@ export default {
type: Boolean,
default: false,
},
- infoIcon: {
- type: String,
- default: "",
+ loading: {
+ type: Boolean,
+ default: false,
},
reverse: {
type: Boolean,
default: false,
},
+ infoIcon: {
+ type: String,
+ default: "",
+ },
},
}
diff --git a/components/smart/Modal.vue b/components/smart/Modal.vue
index cb16dcaec..1686e514b 100644
--- a/components/smart/Modal.vue
+++ b/components/smart/Modal.vue
@@ -123,8 +123,8 @@ export default {
@apply flex;
@apply items-center;
@apply justify-center;
- @apply ease-in-out;
- @apply duration-150;
+ @apply transition;
+
@apply bg-primaryLight;
}
@@ -133,13 +133,11 @@ export default {
@apply flex flex-1 flex-col;
@apply m-2;
@apply p-4;
- @apply ease-in-out;
- @apply duration-150;
+ @apply transition;
@apply bg-primary;
@apply rounded-lg;
@apply shadow-xl;
@apply max-w-md;
- @apply max-h-xl;
}
.modal-header {
@@ -149,6 +147,7 @@ export default {
.modal-body {
@apply my-4;
@apply overflow-auto;
+ @apply max-h-xl;
}
.modal-footer {
@@ -164,7 +163,6 @@ export default {
.modal-leave-active .modal-container {
@apply transform;
@apply scale-90;
- @apply ease-in-out;
- @apply duration-150;
+ @apply transition;
}
diff --git a/components/smart/Spinner.vue b/components/smart/Spinner.vue
index b981726e8..c06ced862 100644
--- a/components/smart/Spinner.vue
+++ b/components/smart/Spinner.vue
@@ -1,7 +1,6 @@
-
-
diff --git a/components/smart/Toggle.vue b/components/smart/Toggle.vue
index 98b55bace..989cb4945 100644
--- a/components/smart/Toggle.vue
+++ b/components/smart/Toggle.vue
@@ -45,7 +45,7 @@ $transition: all 0.2s ease-in-out;
@apply align-middle;
@apply rounded-full;
@apply p-0;
- @apply m-4;
+ @apply mr-4;
@apply cursor-pointer;
@apply flex-shrink-0;
diff --git a/components/teams/index.vue b/components/teams/index.vue
index e0f1878ca..4adcd789c 100644
--- a/components/teams/index.vue
+++ b/components/teams/index.vue
@@ -6,7 +6,11 @@
-
+