@ship-ui/core 0.15.25 → 0.15.26
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/index.d.ts
CHANGED
|
@@ -843,7 +843,7 @@ declare class ShipTooltipWrapper {
|
|
|
843
843
|
readonly SUPPORTS_ANCHOR: boolean;
|
|
844
844
|
isBelow: _angular_core.WritableSignal<boolean>;
|
|
845
845
|
openEffect: _angular_core.EffectRef;
|
|
846
|
-
|
|
846
|
+
ngAfterViewInit(): void;
|
|
847
847
|
ngOnDestroy(): void;
|
|
848
848
|
private calculateTooltipPosition;
|
|
849
849
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipTooltipWrapper, never>;
|
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ $shipTooltip: true !default;
|
|
|
7
7
|
z-index: 0;
|
|
8
8
|
visibility: visible;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
@if $shipTooltip == true {
|
|
11
12
|
.tooltip {
|
|
12
13
|
position: relative;
|
|
@@ -52,7 +53,10 @@ $shipTooltip: true !default;
|
|
|
52
53
|
|
|
53
54
|
+ ship-tooltip-wrapper {
|
|
54
55
|
z-index: 1;
|
|
55
|
-
|
|
56
|
+
|
|
57
|
+
@supports (anchor-name: --anchor) {
|
|
58
|
+
transform: translateY(0) scaleY(1) scaleX(1);
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
}
|
|
@@ -65,7 +69,6 @@ $shipTooltip: true !default;
|
|
|
65
69
|
|
|
66
70
|
position: fixed;
|
|
67
71
|
padding: p2r(0 0 12);
|
|
68
|
-
transform: translateY(50%) scaleY(0) scaleX(0.8);
|
|
69
72
|
|
|
70
73
|
font: var(--paragraph-30);
|
|
71
74
|
width: max-content;
|
|
@@ -74,9 +77,10 @@ $shipTooltip: true !default;
|
|
|
74
77
|
margin: initial;
|
|
75
78
|
background: transparent;
|
|
76
79
|
border: 0;
|
|
77
|
-
transition: transform 125ms linear;
|
|
78
80
|
|
|
79
81
|
@supports (anchor-name: --anchor) {
|
|
82
|
+
transform: translateY(50%) scaleY(0) scaleX(0.8);
|
|
83
|
+
transition: transform 125ms linear;
|
|
80
84
|
inset: unset;
|
|
81
85
|
justify-self: anchor-center;
|
|
82
86
|
bottom: anchor(top);
|