@ship-ui/core 0.15.24 → 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
- constructor();
846
+ ngAfterViewInit(): void;
847
847
  ngOnDestroy(): void;
848
848
  private calculateTooltipPosition;
849
849
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipTooltipWrapper, never>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.15.24",
4
+ "version": "0.15.26",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19",
7
7
  "@angular/core": ">=19"
@@ -47,6 +47,7 @@ $shipCard: true !default;
47
47
  }
48
48
 
49
49
  &.type-c {
50
+ --card-bg: transparent;
50
51
  --card-ibg: var(--card-bg);
51
52
  --card-p: 0;
52
53
  }
@@ -181,7 +181,7 @@ $shipFormFieldShadow: false !default;
181
181
  overflow: hidden;
182
182
  transition:
183
183
  border-color 125ms linear,
184
- box-shadow 75ms linear;
184
+ box-shadow 95ms linear;
185
185
  min-width: var(--ff-mw);
186
186
  width: 100%;
187
187
 
@@ -56,10 +56,13 @@ $shipList: true !default;
56
56
  background-color: transparent;
57
57
  text-decoration: none;
58
58
 
59
- transition: transform 125ms linear;
59
+ transition:
60
+ transform 125ms linear,
61
+ box-shadow 125ms linear;
60
62
  transform: scale(1);
61
63
 
62
64
  &:active {
65
+ --list-active-bs: var(--box-shadow-10);
63
66
  transform: scale(0.98);
64
67
  }
65
68
 
@@ -135,6 +135,7 @@ $shipSheet: true !default;
135
135
  &.simple.success {
136
136
  --sheet-bc: var(--sheet-bg);
137
137
  }
138
+
138
139
  &.outlined,
139
140
  &.outlined.primary,
140
141
  &.outlined.accent,
@@ -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
- transform: translateY(0) scaleY(1) scaleX(1);
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);
@@ -62,7 +62,7 @@ html body {
62
62
  --accent-2: light-dark(hsl(258, 90%, 91.5%), hsl(258, 90%, 16.5%));
63
63
  --accent-3: light-dark(hsl(258, 90%, 87.25%), hsl(258, 90%, 24.75%));
64
64
  --accent-4: light-dark(hsl(258, 90%, 83%), hsl(258, 90%, 33%));
65
- --accent-5: light-dark(hsl(258, 89%, 57%), hsl(258, 90%, 41.25%));
65
+ --accent-5: light-dark(hsl(258, 89%, 78%), hsl(258, 90%, 41.25%));
66
66
  --accent-6: light-dark(hsl(258, 90%, 74.5%), hsl(258, 90%, 49.5%));
67
67
  --accent-7: light-dark(hsl(258, 90%, 70.25%), hsl(258, 90%, 57.75%));
68
68
  --accent-8: light-dark(hsl(258, 90%, 66%), hsl(258, 90%, 66%));
@@ -123,7 +123,7 @@ html body {
123
123
  --base-2: light-dark(hsl(0, 0%, 98.05%), hsl(0, 0%, 8.75%));
124
124
  --base-3: light-dark(hsl(0, 0%, 94.5%), hsl(0, 0%, 11.5%));
125
125
  --base-4: light-dark(hsl(0, 0%, 84.75%), hsl(0, 0%, 17.25%));
126
- --base-5: light-dark(hsl(0, 0%, 79.75%), hsl(0, 0%, 17.25%));
126
+ --base-5: light-dark(hsl(0, 0%, 79.75%), hsl(0, 0%, 21%));
127
127
  --base-6: light-dark(hsl(0, 0%, 66.25%), hsl(0, 0%, 28.75%));
128
128
  --base-7: light-dark(hsl(0, 0%, 54.5%), hsl(0, 0%, 34.5%));
129
129
  --base-8: light-dark(hsl(0, 0%, 46%), hsl(0, 0%, 54%));