@pantoia/ui 0.11.0 → 0.11.2

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.
@@ -3,7 +3,7 @@
3
3
 
4
4
  .panel { overflow: hidden; }
5
5
  .panel[data-open] { animation: acc-open var(--dur-enter) var(--ease-enter); }
6
- .panel[data-closed] { animation: acc-close var(--dur-exit) var(--ease-exit); }
6
+ .panel[data-closed] { animation: acc-close var(--dur-exit) var(--ease-exit) forwards; }
7
7
 
8
8
  @media (prefers-reduced-motion: reduce) {
9
9
  .panel { animation: none; }
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .panel[data-open] { animation: slide-in var(--dur-enter) var(--ease-enter); }
11
- .panel[data-closed] { animation: slide-out var(--dur-exit) var(--ease-exit); }
11
+ .panel[data-closed] { animation: slide-out var(--dur-exit) var(--ease-exit) forwards; }
12
12
  .panel[data-swiping] { transition-duration: 0ms; }
13
13
 
14
14
  @media (prefers-reduced-motion: reduce) {
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .panel[data-open] { animation: slide-in var(--dur-enter) var(--ease-enter); }
11
- .panel[data-closed] { animation: slide-out var(--dur-exit) var(--ease-exit); }
11
+ .panel[data-closed] { animation: slide-out var(--dur-exit) var(--ease-exit) forwards; }
12
12
  .panel[data-swiping] { transition-duration: 0ms; }
13
13
  .panel-right { --drawer-slide: 100%; }
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantoia/ui",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Pantoia Design System",
5
5
  "homepage": "https://design.pantoia.com",
6
6
  "repository": {
package/utilities.css CHANGED
@@ -59,7 +59,7 @@
59
59
  @keyframes exit { to { opacity: 0; scale: var(--enter-scale); } }
60
60
 
61
61
  @utility animate-enter { animation: enter var(--dur-enter) var(--ease-enter); }
62
- @utility animate-exit { animation: exit var(--dur-exit) var(--ease-exit); }
62
+ @utility animate-exit { animation: exit var(--dur-exit) var(--ease-exit) forwards; }
63
63
 
64
64
  @keyframes draw { from { stroke-dashoffset: var(--draw-len); } }
65
65
 
@@ -72,7 +72,7 @@
72
72
  @keyframes fade-out { to { opacity: 0; } }
73
73
 
74
74
  @utility animate-fade-in { animation: fade-in var(--dur-enter) var(--ease-enter); }
75
- @utility animate-fade-out { animation: fade-out var(--dur-exit) var(--ease-exit); }
75
+ @utility animate-fade-out { animation: fade-out var(--dur-exit) var(--ease-exit) forwards; }
76
76
 
77
77
  @utility z-sticky { z-index: 10; }
78
78
  @utility z-overlay { z-index: 50; }