@bynder/compact-view 3.3.1 → 3.3.2
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/components.js +2 -2
- package/index.d.ts +2 -0
- package/index.js +3 -3
- package/package.json +1 -1
package/components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* bynder-compactview v3.3.
|
|
4
|
-
* (c)
|
|
3
|
+
* bynder-compactview v3.3.2
|
|
4
|
+
* (c) 2023 Bynder
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import*as e from"react";import t,{useContext as n,useRef as r,useLayoutEffect as o,createElement as i,useState as a,useMemo as c,useEffect as l,useCallback as s,createContext as d,forwardRef as u,useReducer as p,cloneElement as f,Component as m}from"react";import h,{createPortal as g}from"react-dom";
|
package/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ interface Config {
|
|
|
56
56
|
getAccessToken: () => string;
|
|
57
57
|
hideLogout?: boolean;
|
|
58
58
|
};
|
|
59
|
+
onLogout?: () => void;
|
|
59
60
|
hideLimitedUse?: boolean;
|
|
60
61
|
modalStyles?: {
|
|
61
62
|
[key: string]: string;
|
|
@@ -87,6 +88,7 @@ interface Props$0 {
|
|
|
87
88
|
language?: string;
|
|
88
89
|
children: React.ReactNode;
|
|
89
90
|
authentication?: Config["authentication"];
|
|
91
|
+
onLogout?: Config["onLogout"];
|
|
90
92
|
}
|
|
91
93
|
// eslint-disable-next-line react/no-multi-comp
|
|
92
94
|
declare const LoginWithShield: (props: Props$0) => JSX.Element;
|