@versini/ui-liveregion 3.1.2 → 3.1.4
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/dist/index.js +6 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-liveregion v3.1.
|
|
2
|
+
@versini/ui-liveregion v3.1.4
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_LIVEREGION__) {
|
|
7
7
|
window.__VERSINI_UI_LIVEREGION__ = {
|
|
8
|
-
version: "3.1.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "3.1.4",
|
|
9
|
+
buildTime: "12/24/2025 09:19 AM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-liveregion",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -158,13 +158,13 @@ const reducer = (state, action)=>{
|
|
|
158
158
|
* Announce the content of "children".
|
|
159
159
|
*/ const announce = ({ children, clearAnnouncementDelay, clearAnnouncementTimeoutRef, onAnnouncementClear, dispatch })=>{
|
|
160
160
|
clearTimeout(clearAnnouncementTimeoutRef.current);
|
|
161
|
-
if (children !== null) {
|
|
161
|
+
/* v8 ignore start - null children edge case */ if (children !== null) {
|
|
162
162
|
dispatch({
|
|
163
163
|
type: ACTION_SET_ANNOUNCEMENT,
|
|
164
164
|
payload: children
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
if (clearAnnouncementDelay) {
|
|
167
|
+
/* v8 ignore stop */ if (clearAnnouncementDelay) {
|
|
168
168
|
clearAnnouncementTimeoutRef.current = setTimeout(()=>clearAnnouncement({
|
|
169
169
|
onAnnouncementClear,
|
|
170
170
|
dispatch
|
|
@@ -252,6 +252,6 @@ const reducer = (state, action)=>{
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
;// CONCATENATED MODULE: ./src/components/index.ts
|
|
255
|
-
/* v8 ignore
|
|
255
|
+
/* v8 ignore start */ /* v8 ignore stop */
|
|
256
256
|
|
|
257
257
|
export { LiveRegion };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-liveregion",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "6.9.1",
|
|
41
|
-
"@versini/ui-types": "
|
|
41
|
+
"@versini/ui-types": "8.0.0"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": [
|
|
44
44
|
"**/*.css"
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7b2640a0650a4c3aa6ca078888f765cb400f9f13"
|
|
47
47
|
}
|