@ramstack/alpinegear-destroy 1.2.4 → 1.4.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.
package/README.md CHANGED
@@ -99,6 +99,11 @@ Provides the `x-hotkey` directive, which allows you to easily handle keyboard sh
99
99
  **[@ramstack/alpinegear-router](https://www.npmjs.com/package/@ramstack/alpinegear-router)** ([README](https://github.com/rameel/ramstack.alpinegear.js/tree/main/src/plugins/router))<br>
100
100
  Provides the `x-router` and `x-route` directives, which enable client-side navigation and routing functionality within your Alpine.js application.
101
101
 
102
+ **[@ramstack/alpinegear-dialog](https://www.npmjs.com/package/@ramstack/alpinegear-dialog)** ([README](https://github.com/rameel/ramstack.alpinegear.js/tree/main/src/plugins/dialog))<br>
103
+ Provides a headless dialog directive for Alpine.js based on the native HTML `<dialog>` element.
104
+ It supports declarative composition, value-based close semantics, and both modal and non-modal dialogs,
105
+ with optional Promise-based imperative control.
106
+
102
107
 
103
108
  ## Contributions
104
109
  Bug reports and contributions are welcome.
@@ -4,4 +4,4 @@ function plugin(alpine) {
4
4
  });
5
5
  }
6
6
 
7
- export { plugin as destroy };
7
+ export { plugin as destroy };
@@ -9,4 +9,4 @@
9
9
 
10
10
  document.addEventListener("alpine:init", () => { Alpine.plugin(plugin); });
11
11
 
12
- })();
12
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramstack/alpinegear-destroy",
3
- "version": "1.2.4",
3
+ "version": "1.4.0",
4
4
  "description": "@ramstack/alpinegear-destroy provides 'x-destroy' Alpine.js directive, which is the opposite of 'x-init' and allows you to execute code when an element is removed from the DOM.",
5
5
  "author": "Rameel Burhan",
6
6
  "license": "MIT",