@helpwave/hightide 0.6.3 → 0.6.4

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.
@@ -820,22 +820,6 @@
820
820
  .transform {
821
821
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
822
822
  }
823
- .animate-wave-big-left-up {
824
- animation: bigLeftUp 1.7s ease-in infinite normal;
825
- -webkit-animation: bigLeftUp 1.7s ease-in infinite normal;
826
- }
827
- .animate-wave-big-right-down {
828
- animation: bigRightDown 1.7s ease-in infinite reverse;
829
- -webkit-animation: bigRightDown 1.7s ease-in infinite reverse;
830
- }
831
- .animate-wave-small-left-up {
832
- animation: smallLeftUp 1.7s ease-in infinite normal;
833
- -webkit-animation: smallLeftUp 1.7s ease-in infinite normal;
834
- }
835
- .animate-wave-small-right-down {
836
- animation: smallRightDown 1.7s ease-in infinite reverse;
837
- -webkit-animation: smallRightDown 1.7s ease-in infinite reverse;
838
- }
839
823
  .animate-bounce {
840
824
  animation: var(--animate-bounce);
841
825
  }
@@ -848,6 +832,18 @@
848
832
  .animate-pulse {
849
833
  animation: var(--animate-pulse);
850
834
  }
835
+ .animate-wave-big-left-up {
836
+ animation: bigLeftUp 1.7s ease-in infinite normal;
837
+ }
838
+ .animate-wave-big-right-down {
839
+ animation: bigRightDown 1.7s ease-in infinite reverse;
840
+ }
841
+ .animate-wave-small-left-up {
842
+ animation: smallLeftUp 1.7s ease-in infinite normal;
843
+ }
844
+ .animate-wave-small-right-down {
845
+ animation: smallRightDown 1.7s ease-in infinite reverse;
846
+ }
851
847
  .input-element {
852
848
  &:focus-visible {
853
849
  border-style: var(--tw-border-style);
@@ -1653,6 +1649,10 @@
1653
1649
  outline-color: color-mix(in oklab, var(--color-white) 20%, transparent);
1654
1650
  }
1655
1651
  }
1652
+ .blur {
1653
+ --tw-blur: blur(8px);
1654
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
1655
+ }
1656
1656
  .invert {
1657
1657
  --tw-invert: invert(100%);
1658
1658
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
@@ -2083,14 +2083,6 @@
2083
2083
  opacity: 1;
2084
2084
  }
2085
2085
  }
2086
- @-webkit-keyframes bigLeftUp {
2087
- 0%, 25% {
2088
- stroke-dashoffset: 1000;
2089
- }
2090
- 50%, 75%, 100% {
2091
- stroke-dashoffset: 0;
2092
- }
2093
- }
2094
2086
  @keyframes bigLeftUp {
2095
2087
  0%, 25% {
2096
2088
  stroke-dashoffset: 1000;
@@ -2099,14 +2091,6 @@
2099
2091
  stroke-dashoffset: 0;
2100
2092
  }
2101
2093
  }
2102
- @-webkit-keyframes bigRightDown {
2103
- 0%, 25%, 50% {
2104
- stroke-dashoffset: 0;
2105
- }
2106
- 75%, 100% {
2107
- stroke-dashoffset: -1000;
2108
- }
2109
- }
2110
2094
  @keyframes bigRightDown {
2111
2095
  0%, 25%, 50% {
2112
2096
  stroke-dashoffset: 0;
@@ -2115,14 +2099,6 @@
2115
2099
  stroke-dashoffset: -1000;
2116
2100
  }
2117
2101
  }
2118
- @-webkit-keyframes smallLeftUp {
2119
- 0%, 25%, 50% {
2120
- stroke-dashoffset: 1000;
2121
- }
2122
- 75%, 100% {
2123
- stroke-dashoffset: 0;
2124
- }
2125
- }
2126
2102
  @keyframes smallLeftUp {
2127
2103
  0%, 25%, 50% {
2128
2104
  stroke-dashoffset: 1000;
@@ -2131,14 +2107,6 @@
2131
2107
  stroke-dashoffset: 0;
2132
2108
  }
2133
2109
  }
2134
- @-webkit-keyframes smallRightDown {
2135
- 0%, 25% {
2136
- stroke-dashoffset: 0;
2137
- }
2138
- 50%, 75%, 100% {
2139
- stroke-dashoffset: -1000;
2140
- }
2141
- }
2142
2110
  @keyframes smallRightDown {
2143
2111
  0%, 25% {
2144
2112
  stroke-dashoffset: 0;
@@ -4062,14 +4030,10 @@
4062
4030
  font-weight: var(--font-weight-semibold);
4063
4031
  color: var(--color-tooltip-text);
4064
4032
  &[data-state="opening"] {
4065
- animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1 forwards;
4066
- -webkit-animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1 forwards;
4067
- opacity: 0%;
4033
+ animation: fade-in calc(var(--animation-duration-in, 250ms) * 2) ease-in-out 1 forwards;
4068
4034
  }
4069
4035
  &[data-state="closing"] {
4070
- animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1 reverse forwards;
4071
- -webkit-animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1 reverse forwards;
4072
- opacity: 0%;
4036
+ animation: fade-in var(--animation-duration-out, 170ms) ease-in-out 1 reverse forwards;
4073
4037
  }
4074
4038
  &[data-state="closed"] {
4075
4039
  opacity: 0%;
@@ -4081,14 +4045,10 @@
4081
4045
  width: calc(var(--spacing) * 0);
4082
4046
  --triangle-size: calc(1.5 * var(--spacing));
4083
4047
  &[data-state="opening"] {
4084
- animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1 forwards;
4085
- -webkit-animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1 forwards;
4086
- opacity: 0%;
4048
+ animation: fade-in calc(var(--animation-duration-in, 250ms) * 2) ease-in-out 1 forwards;
4087
4049
  }
4088
4050
  &[data-state="closing"] {
4089
- animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1 reverse forwards;
4090
- -webkit-animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1 reverse forwards;
4091
- opacity: 0%;
4051
+ animation: fade-in var(--animation-duration-out, 170ms) ease-in-out 1 reverse forwards;
4092
4052
  }
4093
4053
  &[data-state="closed"] {
4094
4054
  opacity: 0%;
@@ -1,13 +1,22 @@
1
+ @utility animate-tooltip-fade-in {
2
+ animation: fade-in calc(var(--animation-duration-in, 250ms) * 2) ease-in-out 1 forwards;
3
+ }
4
+
5
+ @utility animate-tooltip-fade-out {
6
+ animation: fade-in var(--animation-duration-out, 170ms) ease-in-out 1 reverse
7
+ forwards;
8
+ }
9
+
1
10
  @layer components {
2
11
  [data-name="tooltip"] {
3
12
  @apply absolute px-2 py-1 rounded shadow-around-md;
4
13
  @apply text-xs font-semibold text-tooltip-text bg-tooltip-background;
5
14
 
6
15
  &[data-state="opening"] {
7
- @apply opacity-0 animate-tooltip-fade-in;
16
+ @apply animate-tooltip-fade-in;
8
17
  }
9
18
  &[data-state="closing"] {
10
- @apply opacity-0 animate-tooltip-fade-out;
19
+ @apply animate-tooltip-fade-out;
11
20
  }
12
21
  &[data-state="closed"] {
13
22
  @apply opacity-0;
@@ -19,10 +28,10 @@
19
28
  --triangle-size: calc(1.5 * var(--spacing));
20
29
 
21
30
  &[data-state="opening"] {
22
- @apply opacity-0 animate-tooltip-fade-in;
31
+ @apply animate-tooltip-fade-in;
23
32
  }
24
33
  &[data-state="closing"] {
25
- @apply opacity-0 animate-tooltip-fade-out;
34
+ @apply animate-tooltip-fade-out;
26
35
  }
27
36
  &[data-state="closed"] {
28
37
  @apply opacity-0;
@@ -7,17 +7,6 @@
7
7
  }
8
8
  }
9
9
 
10
- @-webkit-keyframes bigLeftUp {
11
- 0%,
12
- 25% {
13
- stroke-dashoffset: 1000;
14
- }
15
- 50%,
16
- 75%,
17
- 100% {
18
- stroke-dashoffset: 0;
19
- }
20
- }
21
10
  @keyframes bigLeftUp {
22
11
  0%,
23
12
  25% {
@@ -30,17 +19,6 @@
30
19
  }
31
20
  }
32
21
 
33
- @-webkit-keyframes bigRightDown {
34
- 0%,
35
- 25%,
36
- 50% {
37
- stroke-dashoffset: 0;
38
- }
39
- 75%,
40
- 100% {
41
- stroke-dashoffset: -1000;
42
- }
43
- }
44
22
  @keyframes bigRightDown {
45
23
  0%,
46
24
  25%,
@@ -53,17 +31,6 @@
53
31
  }
54
32
  }
55
33
 
56
- @-webkit-keyframes smallLeftUp {
57
- 0%,
58
- 25%,
59
- 50% {
60
- stroke-dashoffset: 1000;
61
- }
62
- 75%,
63
- 100% {
64
- stroke-dashoffset: 0;
65
- }
66
- }
67
34
  @keyframes smallLeftUp {
68
35
  0%,
69
36
  25%,
@@ -76,17 +43,6 @@
76
43
  }
77
44
  }
78
45
 
79
- @-webkit-keyframes smallRightDown {
80
- 0%,
81
- 25% {
82
- stroke-dashoffset: 0;
83
- }
84
- 50%,
85
- 75%,
86
- 100% {
87
- stroke-dashoffset: -1000;
88
- }
89
- }
90
46
  @keyframes smallRightDown {
91
47
  0%,
92
48
  25% {
@@ -161,35 +117,18 @@
161
117
 
162
118
  @utility animate-wave-big-left-up {
163
119
  animation: bigLeftUp 1.7s ease-in infinite normal;
164
- -webkit-animation: bigLeftUp 1.7s ease-in infinite normal;
165
120
  }
166
121
 
167
122
  @utility animate-wave-big-right-down {
168
123
  animation: bigRightDown 1.7s ease-in infinite reverse;
169
- -webkit-animation: bigRightDown 1.7s ease-in infinite reverse;
170
124
  }
171
125
 
172
126
  @utility animate-wave-small-left-up {
173
127
  animation: smallLeftUp 1.7s ease-in infinite normal;
174
- -webkit-animation: smallLeftUp 1.7s ease-in infinite normal;
175
128
  }
176
129
 
177
130
  @utility animate-wave-small-right-down {
178
131
  animation: smallRightDown 1.7s ease-in infinite reverse;
179
- -webkit-animation: smallRightDown 1.7s ease-in infinite reverse;
180
- }
181
-
182
- @utility animate-tooltip-fade-in {
183
- animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1 forwards;
184
- -webkit-animation: fade-in var(--animation-duration-in, 250ms) ease-in-out 1
185
- forwards;
186
- }
187
-
188
- @utility animate-tooltip-fade-out {
189
- animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1 reverse
190
- forwards;
191
- -webkit-animation: fade-in var(--animation-duration-in, 170ms) ease-in-out 1
192
- reverse forwards;
193
132
  }
194
133
 
195
134
  @layer utilities {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/helpwave/hightide.git"
8
8
  },
9
9
  "license": "MPL-2.0",
10
- "version": "0.6.3",
10
+ "version": "0.6.4",
11
11
  "files": [
12
12
  "dist"
13
13
  ],