daisyui 2.18.2 → 2.19.0

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/styled.css CHANGED
@@ -1136,6 +1136,12 @@
1136
1136
  line-height: 2;
1137
1137
  min-height: 3rem
1138
1138
  }
1139
+ .toast {
1140
+ position: fixed;
1141
+ display: flex;
1142
+ min-width: fit-content;
1143
+ flex-direction: column
1144
+ }
1139
1145
  .toggle {
1140
1146
  flex-shrink: 0
1141
1147
  }
@@ -3822,6 +3828,24 @@ body[dir="rtl"] .checkbox:checked,
3822
3828
  color: hsl(var(--bc) / var(--tw-placeholder-opacity));
3823
3829
  --tw-placeholder-opacity: 0.2;
3824
3830
  }
3831
+ .toast{
3832
+ gap: 0.5rem;
3833
+ padding: 1rem;
3834
+ }
3835
+ .toast>*{
3836
+ animation: toast-pop 0.25s ease-out;
3837
+ }
3838
+
3839
+ @keyframes toast-pop {
3840
+ 0% {
3841
+ transform: scale(0.9);
3842
+ opacity: 0;
3843
+ }
3844
+ 100% {
3845
+ transform: scale(1);
3846
+ opacity: 1;
3847
+ }
3848
+ }
3825
3849
  .toggle {
3826
3850
  --chkbg: hsla(var(--bc) / 0.2);
3827
3851
  --handleoffset: 1.5rem;