@hivcd-printshop/design-system 1.5.1 → 1.5.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.
package/dist/index.mjs CHANGED
@@ -2164,11 +2164,10 @@ var Toast = forwardRef7(function Toast2({ message, open, duration = 3e3, onClose
2164
2164
  role: "status",
2165
2165
  "aria-live": "polite",
2166
2166
  className: cn(
2167
- "w-full h-fit py-2.5 bg-gray08",
2168
- "mt-7 mx-8",
2167
+ "w-full h-fit py-2.5 px-4 bg-gray08",
2169
2168
  "text-white text-center text-body1-regular",
2170
2169
  "shadow-[0_2px_15px_rgba(0,0,0,0.18)]",
2171
- controlled && "transition-opacity duration-300",
2170
+ controlled && "transition-opacity",
2172
2171
  controlled && (visible ? "opacity-100" : "opacity-0"),
2173
2172
  className
2174
2173
  ),
@@ -2180,7 +2179,7 @@ var Toast = forwardRef7(function Toast2({ message, open, duration = 3e3, onClose
2180
2179
  "div",
2181
2180
  {
2182
2181
  className: cn(
2183
- "fixed inset-x-0 z-5000 pointer-events-none",
2182
+ "fixed inset-x-0 z-5000 pointer-events-none h-full my-7 mx-8",
2184
2183
  position === "top" ? "top-0" : "bottom-0"
2185
2184
  ),
2186
2185
  children: banner