infinity-ui-elements 1.9.0 → 1.9.1
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.css +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5166,7 +5166,7 @@ const ToastProvider = ({ children, maxToasts = 5, defaultDuration = 5000, }) =>
|
|
|
5166
5166
|
const positionToasts = toastsByPosition[position];
|
|
5167
5167
|
if (!positionToasts)
|
|
5168
5168
|
return null;
|
|
5169
|
-
return (jsxRuntime.jsx("div", { className: `fixed z-
|
|
5169
|
+
return (jsxRuntime.jsx("div", { className: `fixed z-10000 flex flex-col gap-3 ${positionClasses[position]}`, "aria-live": "polite", "aria-atomic": "false", children: positionToasts.map((toast) => {
|
|
5170
5170
|
const toastPosition = toast.position || getDefaultPosition(toast.type);
|
|
5171
5171
|
const animationClasses = getAnimationClasses(toastPosition, toast.isVisible);
|
|
5172
5172
|
return (jsxRuntime.jsx("div", { className: cn("will-change-transform transition-transform duration-200 ease-out", animationClasses), children: jsxRuntime.jsx(Toast, { ...toast, isVisible: toast.isVisible, onClose: () => {
|