@astralui/core 0.1.9 → 0.1.10

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/dist/styles.css CHANGED
@@ -555,6 +555,18 @@ button, input, optgroup, select, textarea { font-family: inherit; font-size: 100
555
555
  animation: au-toast-in .18s ease;
556
556
  }
557
557
 
558
+ /* Fade + collapse on dismiss (auto-close or manual). Duration must match EXIT_MS
559
+ in Toast.tsx so the element is unmounted only after the animation completes. */
560
+ @keyframes au-toast-out{
561
+ from{ opacity: 1; transform: translateX(0) scale(1); max-height: 200px; margin-bottom: 0; }
562
+ to{ opacity: 0; transform: translateX(16px) scale(.98); max-height: 0; margin-bottom: -10px; }
563
+ }
564
+ .au-toast-out{
565
+ animation: au-toast-out .22s ease forwards;
566
+ overflow: hidden;
567
+ pointer-events: none;
568
+ }
569
+
558
570
  .au-toast-lead{
559
571
  flex: 0 0 auto;
560
572
  display: grid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astralui/core",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "AstralUI - a self-contained, dependency-free React design system: theme engine (light/dark + per-brand theming), design tokens, and components (Modal, Drawer, Select, Menu, Toast, DateInput, PinInput, Spinner).",
5
5
  "license": "MIT",
6
6
  "author": "Unbounded Technologies",