@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.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2236,11 +2236,10 @@ var Toast = (0, import_react12.forwardRef)(function Toast2({ message, open, dura
|
|
|
2236
2236
|
role: "status",
|
|
2237
2237
|
"aria-live": "polite",
|
|
2238
2238
|
className: cn(
|
|
2239
|
-
"w-full h-fit py-2.5 bg-gray08",
|
|
2240
|
-
"mt-7 mx-8",
|
|
2239
|
+
"w-full h-fit py-2.5 px-4 bg-gray08",
|
|
2241
2240
|
"text-white text-center text-body1-regular",
|
|
2242
2241
|
"shadow-[0_2px_15px_rgba(0,0,0,0.18)]",
|
|
2243
|
-
controlled && "transition-opacity
|
|
2242
|
+
controlled && "transition-opacity",
|
|
2244
2243
|
controlled && (visible ? "opacity-100" : "opacity-0"),
|
|
2245
2244
|
className
|
|
2246
2245
|
),
|
|
@@ -2252,7 +2251,7 @@ var Toast = (0, import_react12.forwardRef)(function Toast2({ message, open, dura
|
|
|
2252
2251
|
"div",
|
|
2253
2252
|
{
|
|
2254
2253
|
className: cn(
|
|
2255
|
-
"fixed inset-x-0 z-5000 pointer-events-none",
|
|
2254
|
+
"fixed inset-x-0 z-5000 pointer-events-none h-full my-7 mx-8",
|
|
2256
2255
|
position === "top" ? "top-0" : "bottom-0"
|
|
2257
2256
|
),
|
|
2258
2257
|
children: banner
|