vanilla-aria-modals 1.1.2 → 1.1.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
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Dates use I
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/).
6
6
 
7
+ ## [1.1.3] - 2026-02-16
8
+ ### Fixed
9
+ - Add missing parameter titles to `README.md`.
10
+
7
11
  ## [1.1.2] - 2026-02-15
8
12
  ### Fixed
9
13
  - Unify `README.md` formatting for all bullet points. Previously, in some Markdown views, the bullet points format from the `addA11yEvents` method was broken due to a code block. This has been corrected so everything now displays consistently.
package/README.md CHANGED
@@ -210,6 +210,8 @@ Returns `void`
210
210
  ### generateKey()
211
211
  Generates a unique identifier for the modal.
212
212
 
213
+ #### Parameters
214
+
213
215
  - **`prefix?: string;`** Optional prefix to modify the generated modal key.
214
216
 
215
217
  Returns `string`. The generated modal key to be used later in the code.
@@ -224,6 +226,8 @@ Returns `void`
224
226
 
225
227
  Re-attaches the focus-trapping event listener for a specific modal. The internal **trapFocus** method already queries the DOM on each keyboard event, so in most cases, manually rebinding is not necessary.
226
228
 
229
+ #### Parameters
230
+
227
231
  - **`modalKey: string;`** The unique key of the modal whose focus trap should be rebound.
228
232
 
229
- returns `void`
233
+ Returns `void`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-aria-modals",
3
- "version": "1.1.2",
3
+ "version": "1.1.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": {