@mptw/skylens-ui 1.4.29 → 1.4.31
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/components/SLInfoTip.vue
CHANGED
|
@@ -104,6 +104,12 @@ export default defineComponent({
|
|
|
104
104
|
offset: [0, 0],
|
|
105
105
|
},
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
name: 'preventOverflow',
|
|
109
|
+
options: {
|
|
110
|
+
altAxis: true,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
107
113
|
{ name: "eventListeners", enabled: true },
|
|
108
114
|
],
|
|
109
115
|
});
|
|
@@ -112,7 +118,7 @@ export default defineComponent({
|
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
function hide() {
|
|
115
|
-
if (!popupEl.value || popupEl.value.getAttribute("data-show") === null)
|
|
121
|
+
if (!popupEl.value || popupEl.value.getAttribute("data-show") === null || isPinned.value)
|
|
116
122
|
return;
|
|
117
123
|
popupEl.value.removeAttribute("data-show");
|
|
118
124
|
popperInstance.setOptions({
|
|
@@ -145,7 +151,7 @@ export default defineComponent({
|
|
|
145
151
|
});
|
|
146
152
|
}
|
|
147
153
|
|
|
148
|
-
subscribeResize();
|
|
154
|
+
// subscribeResize();
|
|
149
155
|
});
|
|
150
156
|
|
|
151
157
|
onBeforeUnmount(() => {
|
package/components/SLTabs.vue
CHANGED
|
@@ -416,7 +416,7 @@ export default defineComponent({
|
|
|
416
416
|
|
|
417
417
|
&.disabled
|
|
418
418
|
.tab-nav-item-link
|
|
419
|
-
@apply
|
|
419
|
+
@apply text-gray-4 cursor-default
|
|
420
420
|
|
|
421
421
|
&-link
|
|
422
422
|
@apply relative block px-4 pb-2 text-lg text-gray-2
|
|
@@ -438,7 +438,7 @@ export default defineComponent({
|
|
|
438
438
|
.tabs-nav-left
|
|
439
439
|
&:before
|
|
440
440
|
content ""
|
|
441
|
-
@apply absolute right-0 bottom-0 left-0 h-1
|
|
441
|
+
@apply absolute right-0 bottom-0 left-0 h-1 bg-gray-5
|
|
442
442
|
|
|
443
443
|
.tabs-nav-left
|
|
444
444
|
@apply relative flex-grow-0 flex-shrink-0
|
|
@@ -460,8 +460,12 @@ export default defineComponent({
|
|
|
460
460
|
.tab-nav-item-link
|
|
461
461
|
@apply text-blue-1 cursor-default
|
|
462
462
|
|
|
463
|
+
&.disabled
|
|
464
|
+
.tab-nav-item-link
|
|
465
|
+
@apply text-gray-4 cursor-default
|
|
466
|
+
|
|
463
467
|
&-link
|
|
464
|
-
@apply relative block pt-1 px-6 pb-2 text-base
|
|
468
|
+
@apply relative block pt-1 px-6 pb-2 text-base text-secondary-500
|
|
465
469
|
|
|
466
470
|
&-title
|
|
467
471
|
@apply truncate
|