vanilla-aria-modals 1.0.2 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -2,13 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.0.3] - 2026-01-23
6
+ ### Fixed
7
+ - Improved `README.md` format for usage section
8
+
5
9
  ## [1.0.2] - 2026-01-23
6
- ### Added
7
- - Updated `package.json` keywords to improve discoverability and better reflect modal and accessibility features.
10
+ ### Fixed
11
+ - Updated `package.json` keywords
8
12
 
9
13
  ## [1.0.1] - 2026-01-23
10
14
  ### Fixed
11
- - Updated installation instructions for README
15
+ - Updated installation instructions for `README.md`
12
16
 
13
17
  ## [1.0.0] - 2026-01-23
14
18
  ### Added
package/README.md CHANGED
@@ -28,6 +28,7 @@ TypeScript types are used in the **docs** and in the **.d.ts** file to indicate
28
28
  A fully detailed example including the necessary JavaScript, HTML, and CSS files, can be found [here](https://github.com/angelvalentino/vanilla-aria-modals/tree/main/example).
29
29
 
30
30
  **Note:** `lm` in the code stands for *HTMLElement*.
31
+
31
32
  **Note:** `e.stopPropagation()` prevents other click events (like overlay clicks) from triggering while opening a modal. This can happen because when adding the open modal event, the ARIA events are also added during propagation and can trigger the overlay click event. It is already managed via the class with a timeout, but it is better for robustness to stop propagation here as well if bubbling is not needed in that instance.
32
33
 
33
34
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-aria-modals",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Framework-agnostic utility for managing accessibility in modals or modal-like UIs, including modal stacking, focus management, and closing via Escape key or outside click.",
5
5
  "main": "src/ModalHandler.js",
6
6
  "scripts": {