mnfst 0.5.119 → 0.5.122

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.
@@ -2,29 +2,22 @@
2
2
 
3
3
  @layer base {
4
4
 
5
- /* Base popover styles */
6
- :where([popover]):not(.unstyle) {
7
- display: none;
8
- transition: opacity .15s ease-in, scale .15s ease-in, display .15s ease-in;
9
- transition-behavior: allow-discrete;
10
-
11
- &:popover-open {
12
- display: flex
5
+ @keyframes mnfst-popover-in {
6
+ from {
7
+ transform: scale(.9);
13
8
  }
14
9
 
15
- /* Opening state */
16
- @starting-style {
17
- scale: .9;
18
- opacity: 0
10
+ to {
11
+ transform: none;
19
12
  }
13
+ }
20
14
 
21
- /* Closing state */
22
- &:not(:popover-open) {
23
- display: none !important;
24
- scale: 1;
25
- opacity: 0;
26
- transition-duration: .15s;
27
- transition-timing-function: ease-out
15
+ :where([popover]):not(.unstyle) {
16
+ display: none;
17
+
18
+ &:popover-open {
19
+ display: flex;
20
+ animation: mnfst-popover-in .15s ease-in both;
28
21
  }
29
22
  }
30
23
  }
@@ -41,6 +34,8 @@
41
34
  overflow-y: auto;
42
35
  z-index: 200;
43
36
  background-color: var(--color-popover-surface, oklch(98.5% 0 0));
37
+ /* Opt out of the base scale-pop; sidebars slide instead. */
38
+ animation: none;
44
39
  transition: opacity .15s ease-in, transform .15s ease-in, display .15s ease-in;
45
40
  transition-behavior: allow-discrete;
46
41