@re-venue/ui-core-react 0.3.1 → 0.3.3
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.d.ts +2 -1
- package/dist/ui-core-react.js +1914 -1879
- package/dist/ui-core-react.umd.cjs +14 -14
- package/package.json +1 -1
- package/src/components/AppShell.tsx +55 -13
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<Al
|
|
|
54
54
|
|
|
55
55
|
export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
56
56
|
|
|
57
|
-
export declare function AppShell({ user, isAdmin, venues, activeVenueId, navItems, cookieDomain, onSwitchVenue, onSwitchWorkspace, onLogout, accountSettingsUrl, headerSlot, headerActions, sidebarPanel, scrollable, inlineVenueSwitch, children, }: Props): JSX_2.Element;
|
|
57
|
+
export declare function AppShell({ user, isAdmin, venues, activeVenueId, navItems, cookieDomain, onSwitchVenue, onSwitchWorkspace, onLogout, accountSettingsUrl, headerSlot, headerActions, sidebarPanel, scrollable, inlineVenueSwitch, onBeforeNavigate, children, }: Props): JSX_2.Element;
|
|
58
58
|
|
|
59
59
|
export declare interface AuthUser {
|
|
60
60
|
id: string;
|
|
@@ -302,6 +302,7 @@ declare interface Props {
|
|
|
302
302
|
* reload (rather than reactively) should leave this off.
|
|
303
303
|
*/
|
|
304
304
|
inlineVenueSwitch?: boolean;
|
|
305
|
+
onBeforeNavigate?: (proceed: () => void) => void;
|
|
305
306
|
children: ReactNode;
|
|
306
307
|
}
|
|
307
308
|
|