@lendi/navbar 7.40.11 → 7.41.0
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/declarations/src/Header/HeaderBase.d.ts +1 -1
- package/dist/declarations/src/Header/PrimaryCTA.d.ts +2 -1
- package/dist/declarations/src/Header/aussie/AccountMenu.d.ts +2 -2
- package/dist/declarations/src/Header/aussie/ApplyNow.d.ts +1 -1
- package/dist/declarations/src/Header/aussie/CtaNav.d.ts +2 -1
- package/dist/declarations/src/Header/aussie/TalkToExpert.d.ts +1 -2
- package/dist/declarations/src/Header/shared.styles.d.ts +1 -1
- package/dist/declarations/src/Header/util/index.d.ts +1 -0
- package/dist/navbar.cjs.dev.js +147 -114
- package/dist/navbar.cjs.prod.js +122 -95
- package/dist/navbar.esm.js +148 -115
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { GlobalProps } from '@lendi-ui/commons/utils';
|
|
3
3
|
export declare const HeaderPaddingSmall = 10;
|
|
4
|
-
export declare const HeaderPaddingLarge =
|
|
4
|
+
export declare const HeaderPaddingLarge = 16;
|
|
5
5
|
export interface HeaderBaseProps extends GlobalProps {
|
|
6
6
|
navSlot: React.ReactNode;
|
|
7
7
|
ctaSlot: React.ReactNode;
|
|
@@ -2,5 +2,6 @@ import { Application } from '../shared/hooks/useApplication';
|
|
|
2
2
|
export interface PrimaryCTAProps {
|
|
3
3
|
handleApplyNowClick: () => void;
|
|
4
4
|
application?: Application;
|
|
5
|
+
isAuthenticated?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare const PrimaryCTA: ({ application, handleApplyNowClick }: PrimaryCTAProps) => JSX.Element;
|
|
7
|
+
export declare const PrimaryCTA: ({ application, isAuthenticated, handleApplyNowClick, ...props }: PrimaryCTAProps) => JSX.Element | null;
|
|
@@ -8,6 +8,6 @@ interface SignOutProps {
|
|
|
8
8
|
onLogout: () => void;
|
|
9
9
|
}
|
|
10
10
|
export type AccountProps = AuthenticationProps & PrimaryCTAProps & TalkToExpertProps & SignOutProps;
|
|
11
|
-
export declare const AccountDropdown: ({ application, session, handleApplyNowClick, talkTo,
|
|
12
|
-
export declare const AccountSlideoutMenu: ({ session, application, talkTo, handleApplyNowClick,
|
|
11
|
+
export declare const AccountDropdown: ({ application, session, handleApplyNowClick, talkTo, onLogout }: AccountProps) => JSX.Element;
|
|
12
|
+
export declare const AccountSlideoutMenu: ({ session, application, talkTo, handleApplyNowClick, onLogout }: AccountProps) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -6,5 +6,5 @@ interface ApplyNowProps {
|
|
|
6
6
|
width?: string;
|
|
7
7
|
size?: 'lg' | 'md' | 'sm' | 'xs';
|
|
8
8
|
}
|
|
9
|
-
export declare const ApplyNowButton: ({ onClick, width, size }: ApplyNowProps) => JSX.Element;
|
|
9
|
+
export declare const ApplyNowButton: ({ onClick, width, size, ...props }: ApplyNowProps) => JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AccountProps } from './AccountMenu';
|
|
2
2
|
interface CtaNavProps extends AccountProps {
|
|
3
3
|
isExperiment?: boolean;
|
|
4
|
+
isAuthenticated?: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare const CtaNav: ({ handleApplyNowClick, session, application, talkTo,
|
|
6
|
+
export declare const CtaNav: ({ handleApplyNowClick, session, application, talkTo, onLogout, isExperiment, isAuthenticated, }: CtaNavProps) => JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CustomerChatState } from '@lendi/chat';
|
|
2
2
|
export interface TalkToExpertProps {
|
|
3
|
-
openCommPanel: () => void;
|
|
4
3
|
customerOwner?: CustomerChatState['customerOwner'];
|
|
5
4
|
storeName?: CustomerChatState['storeName'];
|
|
6
5
|
talkTo?: string;
|
|
7
6
|
}
|
|
8
|
-
export declare const TalkToExpertButton: ({
|
|
7
|
+
export declare const TalkToExpertButton: ({ talkTo, ...props }: TalkToExpertProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LargeTweakpoint = "
|
|
1
|
+
export declare const LargeTweakpoint = "65.825rem";
|
|
2
2
|
export declare const ExtraLargeTweakpoint = "82.5rem";
|
|
3
3
|
export declare const Px: import("styled-components").FlattenSimpleInterpolation;
|
|
4
4
|
export declare const Py: import("styled-components").FlattenSimpleInterpolation;
|