@versini/ui-liveregion 2.0.9 → 2.0.10

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
@@ -6,7 +6,6 @@
6
6
 
7
7
  The LiveRegion component provides ARIA live regions for announcing dynamic content changes to screen readers, essential for accessible web applications with real-time updates.
8
8
 
9
-
10
9
  ## Table of Contents
11
10
 
12
11
  - [Features](#features)
@@ -27,7 +26,7 @@ The LiveRegion component provides ARIA live regions for announcing dynamic conte
27
26
  npm install @versini/ui-liveregion
28
27
  ```
29
28
 
30
- > **Note**: This component requires TailwindCSS and the `@versini/ui-styles` plugin for proper styling. See the [root README](../../README.md#tailwindcss-setup) for complete setup instructions.
29
+ > **Note**: This component requires TailwindCSS and the `@versini/ui-styles` plugin for proper styling. See the [installation documentation](https://versini-org.github.io/ui-components/?path=/docs/getting-started-installation--docs) for complete setup instructions.
31
30
 
32
31
  ## Usage
33
32
 
@@ -38,7 +37,7 @@ import { LiveRegion } from "@versini/ui-liveregion";
38
37
 
39
38
  function App() {
40
39
  const [status, setStatus] = useState("");
41
-
40
+
42
41
  return (
43
42
  <>
44
43
  <button onClick={() => setStatus("Form saved successfully!")}>
@@ -57,12 +56,10 @@ import { LiveRegion } from "@versini/ui-liveregion";
57
56
 
58
57
  function App() {
59
58
  const [error, setError] = useState("");
60
-
59
+
61
60
  return (
62
61
  <>
63
- <form onSubmit={handleSubmit}>
64
- {/* form fields */}
65
- </form>
62
+ <form onSubmit={handleSubmit}>{/* form fields */}</form>
66
63
  <LiveRegion type="assertive">{error}</LiveRegion>
67
64
  </>
68
65
  );
@@ -84,7 +81,7 @@ function ContactForm() {
84
81
  e.preventDefault();
85
82
  setIsSubmitting(true);
86
83
  setStatus("Submitting form...");
87
-
84
+
88
85
  try {
89
86
  await submitForm();
90
87
  setStatus("Form submitted successfully!");
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { LiveRegion as o } from "./components/LiveRegion/LiveRegion.js";
2
2
  /*!
3
- @versini/ui-liveregion v2.0.9
3
+ @versini/ui-liveregion v2.0.10
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
8
- version: "2.0.9",
9
- buildTime: "08/23/2025 09:08 AM EDT",
8
+ version: "2.0.10",
9
+ buildTime: "08/23/2025 10:05 AM EDT",
10
10
  homepage: "https://github.com/aversini/ui-components",
11
11
  license: "MIT"
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-liveregion",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -47,5 +47,5 @@
47
47
  "sideEffects": [
48
48
  "**/*.css"
49
49
  ],
50
- "gitHead": "7bbfa99a4441ef5b0828a37d190f694e199b663d"
50
+ "gitHead": "a1afd6e4613b1da7abf61d10a72614611521fb39"
51
51
  }