react-luminus-components 1.4.19 → 1.4.21

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.
@@ -71,6 +71,7 @@ export type { default as ApprovalTexts } from './texts/ApprovalTexts';
71
71
  export type { default as PromptOptions } from './types/PromptOptions';
72
72
  export type { default as UseGetApiDataOptions } from './types/UseGetApiDataOptions';
73
73
  export type { default as DropdownPickerOption } from './types/DropdownPickerOption';
74
+ export type { default as UseScrollSaveOptions } from './types/UseScrollSaveOptions';
74
75
  export type { default as UserModel } from './types/UserModel';
75
76
  export { default as LoginState } from './types/LoginState';
76
77
  export type { default as UserLoginState } from './types/UserLoginState';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Configuration options for the useScrollSave hook.
3
+ */
4
+ type UseScrollSaveOptions = {
5
+ /**
6
+ * Key used to store the scroll position in localStorage.
7
+ */
8
+ storageKey?: string;
9
+ /**
10
+ * Minimum height in pixels that the scrollable element must have before
11
+ * attempting to restore the scroll position.
12
+ */
13
+ requiredHeight?: number;
14
+ /**
15
+ * Interval in milliseconds between attempts to check if the scrollable element
16
+ * meets the required height condition.
17
+ */
18
+ retryInterval?: number;
19
+ };
20
+ export default UseScrollSaveOptions;
@@ -28035,8 +28035,8 @@ export {
28035
28035
  HA as a$,
28036
28036
  c7 as a0,
28037
28037
  zn as a1,
28038
- Jp as a2,
28039
- Dn as a3,
28038
+ Dn as a2,
28039
+ Jp as a3,
28040
28040
  S7 as a4,
28041
28041
  T7 as a5,
28042
28042
  C7 as a6,
@@ -1,4 +1,4 @@
1
- import { am as I, ao as v, b4 as E } from "./nivo-bar.es-Cr3RGn0C.js";
1
+ import { am as I, ao as v, b4 as E } from "./nivo-bar.es-CMdSkNQH.js";
2
2
  import { useState as A, useContext as F, useRef as G, useCallback as e, useEffect as U } from "react";
3
3
  import "react-router-dom";
4
4
  import "react-dom";
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { j as i, aC as f, V as g } from "./nivo-bar.es-Cr3RGn0C.js";
2
- import { ca as k, c8 as I, c9 as w, c7 as L, c6 as M, bQ as P, bR as E, bf as z, bY as B, bN as G, c0 as W, bk as A, c5 as U, cc as Y, bX as Z, bS as $, b8 as q, bU as H, b9 as Q, bT as X, bV as _, bW as J, c1 as K, bt as tt, bO as et, b$ as st, bP as rt, cd as at, bG as ot, b_ as it, c2 as nt, bZ as lt, be as ct, cf as mt, c3 as ft, ah as gt, c4 as ht, b7 as pt, cb as ut, ce as bt } from "./nivo-bar.es-Cr3RGn0C.js";
1
+ import { j as i, aC as f, V as g } from "./nivo-bar.es-CMdSkNQH.js";
2
+ import { ca as k, c8 as I, c9 as w, c7 as L, c6 as M, bQ as P, bR as E, bf as z, bY as B, bN as G, c0 as W, bk as A, c5 as U, cc as Y, bX as Z, bS as $, b8 as q, bU as H, b9 as Q, bT as X, bV as _, bW as J, c1 as K, bt as tt, bO as et, b$ as st, bP as rt, cd as at, bG as ot, b_ as it, c2 as nt, bZ as lt, be as ct, cf as mt, c3 as ft, ah as gt, c4 as ht, b7 as pt, cb as ut, ce as bt } from "./nivo-bar.es-CMdSkNQH.js";
3
3
  import "react";
4
4
  import "@azure/msal-browser";
5
5
  import "@azure/msal-react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "1.4.19",
3
+ "version": "1.4.21",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {