@marianmeres/stuic 1.86.0 → 1.88.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.
@@ -104,6 +104,7 @@ const onKeyDown = (e) => {
104
104
  return;
105
105
  if (e.key === "Escape") {
106
106
  e.stopPropagation();
107
+ e.stopImmediatePropagation();
107
108
  if (!isPending)
108
109
  return acp.escape();
109
110
  }
@@ -7,7 +7,7 @@ import { notificationsDefaultIcons } from "./notifications-icons.js";
7
7
  const X_POSITIONS = ["left", "center", "right"];
8
8
  const Y_POSITIONS = ["top", "center", "bottom"];
9
9
  const DEFAULT = {
10
- posX: "center",
10
+ posX: "right",
11
11
  posXMobile: "center",
12
12
  posY: "top",
13
13
  posYMobile: "bottom"
@@ -28,7 +28,7 @@ export class NotificationsConfig {
28
28
  box: `
29
29
  relative flex
30
30
  pointer-events-auto
31
- w-full max-w-lg
31
+ w-full max-w-sm
32
32
  rounded-md
33
33
  shadow-lg
34
34
  bg-gray-700 text-white
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.86.0",
3
+ "version": "1.88.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",