raku-toast-react 1.0.2 → 1.0.4

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.
@@ -13,7 +13,7 @@ export const ToastProvider = () => {
13
13
  error: _jsx(XCircle, { size: 22, className: "text-white" }),
14
14
  info: _jsx(Info, { size: 22, className: "text-white" }),
15
15
  };
16
- return (_jsx("div", { className: "fixed top-1/2 -translate-y-1/2 right-4 z-50 max-w-[380px] sm:max-w-[360px] pointer-events-none", children: _jsx("div", { className: "relative h-[600px] w-full", children: toasts.map((t, index) => {
16
+ return (_jsx("div", { className: "fixed top-4 right-4 z-50 w-[250px] sm:w-[360px] pointer-events-none", children: _jsx("div", { className: "relative h-[600px]", children: toasts.map((t, index) => {
17
17
  const offset = index * 78;
18
18
  const scale = 1 - index * 0.03;
19
19
  const opacity = 1 - index * 0.12;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raku-toast-react",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A lightweight React toast library with gradient and animation",
5
5
  "private": false,
6
6
  "main": "dist/index.js",