igloo-d2c-components 1.0.20 → 1.0.22
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/cjs/index.js +557 -48
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +558 -50
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/CheckoutFormButton/CheckoutFormButton.d.ts +9 -0
- package/dist/types/components/CheckoutFormButton/styled.d.ts +2 -0
- package/dist/types/components/ChildInformationForm/ChildInformationForm.d.ts +4 -0
- package/dist/types/components/ChildInformationForm/styled.d.ts +18 -0
- package/dist/types/components/ContactDetailsForm/ContactDetailsForm.d.ts +4 -0
- package/dist/types/components/ContactDetailsForm/styled.d.ts +18 -0
- package/dist/types/components/CoverageAmountSlider/styled.d.ts +1 -1
- package/dist/types/components/DesktopHeaderMenuBar/DesktopHeaderMenuBar.d.ts +38 -0
- package/dist/types/components/DesktopHeaderMenuBar/index.d.ts +6 -0
- package/dist/types/components/DesktopHeaderMenuBar/styled.d.ts +89 -0
- package/dist/types/components/DesktopHeaderMenuBar/types.d.ts +92 -0
- package/dist/types/components/FAQAccordion/styled.d.ts +1 -1
- package/dist/types/components/Header/Header.d.ts +27 -1
- package/dist/types/components/Header/index.d.ts +1 -1
- package/dist/types/components/Header/styled.d.ts +2 -2
- package/dist/types/components/HealthInformationForm/HealthInformationForm.d.ts +4 -0
- package/dist/types/components/HealthInformationForm/styled.d.ts +12 -0
- package/dist/types/components/PersonalInformationForm/PersonalInformationForm.d.ts +4 -0
- package/dist/types/components/PersonalInformationForm/styled.d.ts +18 -0
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -35,5 +35,14 @@ export interface CheckoutFormButtonProps {
|
|
|
35
35
|
* Whether the button is in loading state
|
|
36
36
|
*/
|
|
37
37
|
loading?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Enable desktop right-aligned layout
|
|
40
|
+
* When true, button is right-aligned on desktop with specified width
|
|
41
|
+
*/
|
|
42
|
+
desktopRightAligned?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Desktop button width (default: '180px')
|
|
45
|
+
*/
|
|
46
|
+
desktopWidth?: string;
|
|
38
47
|
}
|
|
39
48
|
export declare const CheckoutFormButton: React.FC<CheckoutFormButtonProps>;
|
|
@@ -3,7 +3,9 @@ export declare const ButtonContainer: import("@emotion/styled").StyledComponent<
|
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
5
|
isFixed?: boolean | undefined;
|
|
6
|
+
desktopRightAligned?: boolean | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
9
|
isDisabled?: boolean | undefined;
|
|
10
|
+
desktopWidth?: string | undefined;
|
|
9
11
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -48,5 +48,9 @@ export interface ChildInformationFormProps {
|
|
|
48
48
|
* Optional custom styles
|
|
49
49
|
*/
|
|
50
50
|
sx?: any;
|
|
51
|
+
/**
|
|
52
|
+
* Enable desktop grid layout (2 columns, max-width 938px)
|
|
53
|
+
*/
|
|
54
|
+
desktopGridLayout?: boolean;
|
|
51
55
|
}
|
|
52
56
|
export declare const ChildInformationForm: React.FC<ChildInformationFormProps>;
|
|
@@ -2,3 +2,21 @@
|
|
|
2
2
|
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
/**
|
|
6
|
+
* Desktop form container - constrains content to 938px max-width and centers it
|
|
7
|
+
*/
|
|
8
|
+
export declare const DesktopFormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
/**
|
|
12
|
+
* Fields grid container - displays fields in 2-column grid on desktop
|
|
13
|
+
*/
|
|
14
|
+
export declare const FieldsGridContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
17
|
+
/**
|
|
18
|
+
* Full width field - spans both columns on desktop grid
|
|
19
|
+
*/
|
|
20
|
+
export declare const FullWidthField: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -70,5 +70,9 @@ export interface ContactDetailsFormProps {
|
|
|
70
70
|
* Optional custom styles
|
|
71
71
|
*/
|
|
72
72
|
sx?: any;
|
|
73
|
+
/**
|
|
74
|
+
* Enable desktop grid layout (2 columns, max-width 938px)
|
|
75
|
+
*/
|
|
76
|
+
desktopGridLayout?: boolean;
|
|
73
77
|
}
|
|
74
78
|
export declare const ContactDetailsForm: React.FC<ContactDetailsFormProps>;
|
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
/**
|
|
6
|
+
* Desktop form container - constrains content to 938px max-width and centers it
|
|
7
|
+
*/
|
|
8
|
+
export declare const DesktopFormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
/**
|
|
12
|
+
* Fields grid container - displays fields in 2-column grid on desktop
|
|
13
|
+
*/
|
|
14
|
+
export declare const FieldsGridContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
17
|
+
/**
|
|
18
|
+
* Full width field - spans both columns on desktop grid
|
|
19
|
+
*/
|
|
20
|
+
export declare const FullWidthField: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
23
|
export declare const CheckboxContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
24
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
25
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -41,7 +41,7 @@ export declare const RangeLabel: import("@emotion/styled").StyledComponent<impor
|
|
|
41
41
|
}, "fontFamily" | "children" | "p" | "style" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "border" | "className" | "classes" | "sx" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
42
42
|
export declare const StyledMuiSlider: import("@emotion/styled").StyledComponent<import("@mui/material").SliderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
43
43
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
44
|
-
}, "value" | "style" | "track" | "className" | "classes" | "disabled" | "sx" | "tabIndex" | "color" | "scale" | "size" | "name" | "defaultValue" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "max" | "min" | "orientation" | "step" | "components" | "
|
|
44
|
+
}, "value" | "style" | "track" | "className" | "classes" | "disabled" | "sx" | "tabIndex" | "color" | "scale" | "size" | "name" | "defaultValue" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "max" | "min" | "orientation" | "step" | "components" | "componentsProps" | "slots" | "slotProps" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
45
45
|
sliderActiveColor?: string | undefined;
|
|
46
46
|
sliderInactiveColor?: string | undefined;
|
|
47
47
|
}, {}, {}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop Header Menu Bar Component
|
|
3
|
+
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
|
+
*
|
|
5
|
+
* A desktop-only header menu bar with logo, navigation items with dropdowns,
|
|
6
|
+
* and a login button.
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <DesktopHeaderMenuBar
|
|
11
|
+
* logo={logoSrc}
|
|
12
|
+
* menuItems={[
|
|
13
|
+
* { key: 'family', label: 'Family', hasDropdown: true, subItems: [...] },
|
|
14
|
+
* { key: 'health', label: 'Health', hasDropdown: true, subItems: [...] },
|
|
15
|
+
* ]}
|
|
16
|
+
* onLogoClick={() => navigate('/')}
|
|
17
|
+
* onLoginClick={() => setShowLoginModal(true)}
|
|
18
|
+
* />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
import { DesktopHeaderMenuBarProps } from './types';
|
|
22
|
+
/**
|
|
23
|
+
* DesktopHeaderMenuBar Component
|
|
24
|
+
*
|
|
25
|
+
* A responsive desktop header with navigation menu items and dropdown support.
|
|
26
|
+
*
|
|
27
|
+
* @param logo - Logo image source URL
|
|
28
|
+
* @param logoAlt - Alt text for the logo image
|
|
29
|
+
* @param menuItems - Array of menu items to display
|
|
30
|
+
* @param showLoginButton - Whether to show the login button (default: true)
|
|
31
|
+
* @param loginButtonText - Text for the login button (default: 'Log in')
|
|
32
|
+
* @param onLogoClick - Handler for logo click
|
|
33
|
+
* @param onLoginClick - Handler for login button click
|
|
34
|
+
* @param formatMessage - i18n function for translations
|
|
35
|
+
*/
|
|
36
|
+
declare function DesktopHeaderMenuBar({ logo, logoAlt, menuItems, showLoginButton, loginButtonText, onLogoClick, onLoginClick, formatMessage, className, }: DesktopHeaderMenuBarProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export default DesktopHeaderMenuBar;
|
|
38
|
+
export { DesktopHeaderMenuBar };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop Header Menu Bar Component
|
|
3
|
+
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
|
+
*/
|
|
5
|
+
export { default, DesktopHeaderMenuBar } from './DesktopHeaderMenuBar';
|
|
6
|
+
export type { DesktopHeaderMenuBarProps, MenuItemWithDropdown, SubMenuItem, } from './types';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled components for Desktop Header Menu Bar
|
|
3
|
+
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
|
+
*/
|
|
5
|
+
/// <reference types="react" />
|
|
6
|
+
/**
|
|
7
|
+
* Main AppBar container
|
|
8
|
+
* Height: 80px, white background, centered content
|
|
9
|
+
*/
|
|
10
|
+
export declare const StyledAppBar: import("@emotion/styled").StyledComponent<import("@mui/material").AppBarOwnProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "color" | "position"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
12
|
+
}, "children" | "style" | "className" | "classes" | "sx" | "color" | "position" | "variant" | "square" | "elevation" | "enableColorOnDark"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
+
/**
|
|
14
|
+
* Inner container with max-width constraint
|
|
15
|
+
* Max-width: 1128px, centered
|
|
16
|
+
*/
|
|
17
|
+
export declare const HeaderContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
19
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
20
|
+
/**
|
|
21
|
+
* Left section containing logo and menu items
|
|
22
|
+
*/
|
|
23
|
+
export declare const LeftSection: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
25
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
26
|
+
/**
|
|
27
|
+
* Logo container
|
|
28
|
+
*/
|
|
29
|
+
export declare const LogoContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
30
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
31
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
32
|
+
/**
|
|
33
|
+
* Logo image
|
|
34
|
+
* Width: 126px, height: auto
|
|
35
|
+
*/
|
|
36
|
+
export declare const LogoImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
37
|
+
/**
|
|
38
|
+
* Navigation menu container
|
|
39
|
+
*/
|
|
40
|
+
export declare const NavMenu: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
41
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
42
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
43
|
+
/**
|
|
44
|
+
* Individual menu item button
|
|
45
|
+
* Font: MetLife Circular Bold, 18px
|
|
46
|
+
*/
|
|
47
|
+
export declare const MenuItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
48
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
49
|
+
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
50
|
+
/**
|
|
51
|
+
* Menu item text
|
|
52
|
+
*/
|
|
53
|
+
export declare const MenuItemText: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
54
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
55
|
+
}, "fontFamily" | "children" | "p" | "style" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "border" | "className" | "classes" | "sx" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
56
|
+
/**
|
|
57
|
+
* Dropdown arrow icon
|
|
58
|
+
* Size: 24px
|
|
59
|
+
*/
|
|
60
|
+
export declare const DropdownIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
61
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
62
|
+
}, "children" | "style" | "fontSize" | "className" | "classes" | "sx" | "color" | "shapeRendering" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
63
|
+
/**
|
|
64
|
+
* Right section containing login button
|
|
65
|
+
*/
|
|
66
|
+
export declare const RightSection: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
67
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
68
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
69
|
+
/**
|
|
70
|
+
* Login button (text style)
|
|
71
|
+
* Based on Figma: Style=Text, State=enabled, Show Icon=False
|
|
72
|
+
*/
|
|
73
|
+
export declare const LoginButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
74
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
75
|
+
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
76
|
+
/**
|
|
77
|
+
* Dropdown menu container
|
|
78
|
+
*/
|
|
79
|
+
export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
80
|
+
/**
|
|
81
|
+
* Dropdown menu item
|
|
82
|
+
*/
|
|
83
|
+
export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
84
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
85
|
+
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
86
|
+
/**
|
|
87
|
+
* Menu item icon
|
|
88
|
+
*/
|
|
89
|
+
export declare const MenuItemIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types for Desktop Header Menu Bar Component
|
|
3
|
+
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
|
+
*/
|
|
5
|
+
export interface MenuItemWithDropdown {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier for the menu item
|
|
8
|
+
*/
|
|
9
|
+
key: string;
|
|
10
|
+
/**
|
|
11
|
+
* Display label for the menu item
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Whether this item has a dropdown menu
|
|
16
|
+
*/
|
|
17
|
+
hasDropdown?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Sub-menu items (if hasDropdown is true)
|
|
20
|
+
*/
|
|
21
|
+
subItems?: SubMenuItem[];
|
|
22
|
+
/**
|
|
23
|
+
* Click handler for the menu item
|
|
24
|
+
*/
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
/**
|
|
27
|
+
* URL for navigation (optional)
|
|
28
|
+
*/
|
|
29
|
+
href?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface SubMenuItem {
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier for the sub-menu item
|
|
34
|
+
*/
|
|
35
|
+
key: string;
|
|
36
|
+
/**
|
|
37
|
+
* Display label for the sub-menu item
|
|
38
|
+
*/
|
|
39
|
+
label: string;
|
|
40
|
+
/**
|
|
41
|
+
* Icon source URL (optional)
|
|
42
|
+
*/
|
|
43
|
+
icon?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Click handler for the sub-menu item
|
|
46
|
+
*/
|
|
47
|
+
onClick?: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* URL for navigation (optional)
|
|
50
|
+
*/
|
|
51
|
+
href?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface DesktopHeaderMenuBarProps {
|
|
54
|
+
/**
|
|
55
|
+
* Logo image source
|
|
56
|
+
*/
|
|
57
|
+
logo: string;
|
|
58
|
+
/**
|
|
59
|
+
* Logo alt text
|
|
60
|
+
*/
|
|
61
|
+
logoAlt?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Menu items to display in the header
|
|
64
|
+
*/
|
|
65
|
+
menuItems: MenuItemWithDropdown[];
|
|
66
|
+
/**
|
|
67
|
+
* Whether to show the login button
|
|
68
|
+
*/
|
|
69
|
+
showLoginButton?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Login button text
|
|
72
|
+
*/
|
|
73
|
+
loginButtonText?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Logo click handler
|
|
76
|
+
*/
|
|
77
|
+
onLogoClick?: () => void;
|
|
78
|
+
/**
|
|
79
|
+
* Login button click handler
|
|
80
|
+
*/
|
|
81
|
+
onLoginClick?: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Format message function for i18n
|
|
84
|
+
*/
|
|
85
|
+
formatMessage?: (descriptor: {
|
|
86
|
+
id: string;
|
|
87
|
+
}) => string;
|
|
88
|
+
/**
|
|
89
|
+
* Custom class name for the container
|
|
90
|
+
*/
|
|
91
|
+
className?: string;
|
|
92
|
+
}
|
|
@@ -24,7 +24,7 @@ export declare const StyledAccordion: import("@emotion/styled").StyledComponent<
|
|
|
24
24
|
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
|
25
25
|
} & import("@mui/material").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
27
|
-
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "disabled" | "sx" | "variant" | "onChange" | "expanded" | "square" | "elevation" | "
|
|
27
|
+
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "disabled" | "sx" | "variant" | "onChange" | "expanded" | "square" | "elevation" | "TransitionComponent" | "TransitionProps" | "disableGutters" | "defaultExpanded" | keyof import("@mui/material").AccordionSlotsAndSlotProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
28
28
|
export declare const StyledAccordionSummary: import("@emotion/styled").StyledComponent<import("@mui/material").AccordionSummaryOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
29
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
30
30
|
}, "children" | "style" | "className" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -10,6 +10,22 @@ export interface NavigationLink {
|
|
|
10
10
|
link?: string;
|
|
11
11
|
badge?: string;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Desktop menu item with dropdown support
|
|
15
|
+
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
16
|
+
*/
|
|
17
|
+
export interface DesktopMenuItem {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string;
|
|
20
|
+
hasDropdown?: boolean;
|
|
21
|
+
subItems?: {
|
|
22
|
+
key: string;
|
|
23
|
+
label: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
}[];
|
|
27
|
+
onClick?: () => void;
|
|
28
|
+
}
|
|
13
29
|
export interface LanguageOption {
|
|
14
30
|
value: string;
|
|
15
31
|
locale: string;
|
|
@@ -140,6 +156,16 @@ export interface HeaderProps {
|
|
|
140
156
|
* User profile component
|
|
141
157
|
*/
|
|
142
158
|
userProfileComponent?: React.ReactNode;
|
|
159
|
+
/**
|
|
160
|
+
* Enable new desktop menu layout (based on Figma 1581-22604)
|
|
161
|
+
* When true, uses individual menu items instead of Products dropdown
|
|
162
|
+
*/
|
|
163
|
+
useNewDesktopLayout?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Desktop menu items for new layout
|
|
166
|
+
* Only used when useNewDesktopLayout is true
|
|
167
|
+
*/
|
|
168
|
+
desktopMenuItems?: DesktopMenuItem[];
|
|
143
169
|
}
|
|
144
170
|
/**
|
|
145
171
|
* Header component with tenant theme support and responsive navigation
|
|
@@ -156,4 +182,4 @@ export interface HeaderProps {
|
|
|
156
182
|
* />
|
|
157
183
|
* ```
|
|
158
184
|
*/
|
|
159
|
-
export declare function Header({ logo, alternateLogo, showAlternateLogo, navigationLinks, languages, currentLocale, currentLang, userToken, userFirstName, isMobile: propIsMobile, scrolled, isPartnershipPageMobileView, isPartnershipPagePCView, isSeoPageView, showGetQuoteButton, bannerData, ctaData, host, welcomeMessage, formatMessage, menuItems, userProfileComponent, onLogoClick, onProductMenuClick, onLanguageChange, onLoginClick, onSignupClick, onLogoutClick, onPartnershipClick, onAboutUsClick, onBlogClick, onMyProfileClick, onGetQuoteClick, onPartnershipCTAClick, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
185
|
+
export declare function Header({ logo, alternateLogo, showAlternateLogo, navigationLinks, languages, currentLocale, currentLang, userToken, userFirstName, isMobile: propIsMobile, scrolled, isPartnershipPageMobileView, isPartnershipPagePCView, isSeoPageView, showGetQuoteButton, bannerData, ctaData, host, welcomeMessage, formatMessage, menuItems, userProfileComponent, onLogoClick, onProductMenuClick, onLanguageChange, onLoginClick, onSignupClick, onLogoutClick, onPartnershipClick, onAboutUsClick, onBlogClick, onMyProfileClick, onGetQuoteClick, onPartnershipCTAClick, useNewDesktopLayout, desktopMenuItems, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,7 +21,7 @@ export declare const ButtonDesktopMenu: import("@emotion/styled").StyledComponen
|
|
|
21
21
|
export declare const AnchorLinks: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
22
22
|
export declare const StyledAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
24
|
-
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "sizes" | "alt" | "src" | "srcSet" | "
|
|
24
|
+
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "sizes" | "alt" | "src" | "srcSet" | "slots" | "slotProps" | "imgProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
25
25
|
export declare const DivButtonWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
export declare const ButtonAuth: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
27
27
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
@@ -44,7 +44,7 @@ export declare const StyledCloseIcon: import("@emotion/styled").StyledComponent<
|
|
|
44
44
|
}, "children" | "style" | "fontSize" | "className" | "classes" | "sx" | "color" | "shapeRendering" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
45
45
|
export declare const StyledAvatarUserIcon: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
46
46
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
47
|
-
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "sizes" | "alt" | "src" | "srcSet" | "
|
|
47
|
+
}, "children" | "style" | "className" | "classes" | "sx" | "variant" | "sizes" | "alt" | "src" | "srcSet" | "slots" | "slotProps" | "imgProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
48
48
|
export declare const StyledMenuIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
49
49
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
50
50
|
}, "children" | "style" | "fontSize" | "className" | "classes" | "sx" | "color" | "shapeRendering" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
@@ -77,5 +77,9 @@ export interface HealthInformationFormProps {
|
|
|
77
77
|
* Optional custom styles
|
|
78
78
|
*/
|
|
79
79
|
sx?: any;
|
|
80
|
+
/**
|
|
81
|
+
* Enable desktop grid layout (2 columns for measurements, max-width 938px)
|
|
82
|
+
*/
|
|
83
|
+
desktopGridLayout?: boolean;
|
|
80
84
|
}
|
|
81
85
|
export declare const HealthInformationForm: React.FC<HealthInformationFormProps>;
|
|
@@ -2,3 +2,15 @@
|
|
|
2
2
|
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
/**
|
|
6
|
+
* Desktop form container - constrains content to 938px max-width and centers it
|
|
7
|
+
*/
|
|
8
|
+
export declare const DesktopFormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
/**
|
|
12
|
+
* Measurement fields grid - displays weight and height side by side on desktop
|
|
13
|
+
*/
|
|
14
|
+
export declare const MeasurementFieldsGrid: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -71,5 +71,9 @@ export interface PersonalInformationFormProps {
|
|
|
71
71
|
* Optional custom styles
|
|
72
72
|
*/
|
|
73
73
|
sx?: any;
|
|
74
|
+
/**
|
|
75
|
+
* Enable desktop grid layout (2 columns, max-width 938px)
|
|
76
|
+
*/
|
|
77
|
+
desktopGridLayout?: boolean;
|
|
74
78
|
}
|
|
75
79
|
export declare const PersonalInformationForm: React.FC<PersonalInformationFormProps>;
|
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
/**
|
|
6
|
+
* Desktop form container - constrains content to 938px max-width and centers it
|
|
7
|
+
*/
|
|
8
|
+
export declare const DesktopFormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
/**
|
|
12
|
+
* Fields grid container - displays fields in 2-column grid on desktop
|
|
13
|
+
*/
|
|
14
|
+
export declare const FieldsGridContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
17
|
+
/**
|
|
18
|
+
* Full width field - spans both columns on desktop grid
|
|
19
|
+
*/
|
|
20
|
+
export declare const FullWidthField: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
23
|
export declare const CheckboxContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
24
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
25
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,9 +15,11 @@ export type { CardProps } from './components/Card';
|
|
|
15
15
|
export { Banner } from './components/Banner';
|
|
16
16
|
export type { BannerProps } from './components/Banner';
|
|
17
17
|
export { Header } from './components/Header';
|
|
18
|
-
export type { HeaderProps, LanguageOption, NavigationLink } from './components/Header';
|
|
18
|
+
export type { DesktopMenuItem, HeaderProps, LanguageOption, NavigationLink } from './components/Header';
|
|
19
19
|
export { NewHeader } from './components/NewHeader';
|
|
20
20
|
export type { NewHeaderNavigationLink, NewHeaderProps } from './components/NewHeader';
|
|
21
|
+
export { DesktopHeaderMenuBar } from './components/DesktopHeaderMenuBar';
|
|
22
|
+
export type { DesktopHeaderMenuBarProps, MenuItemWithDropdown, SubMenuItem, } from './components/DesktopHeaderMenuBar';
|
|
21
23
|
export { Footer } from './components/Footer';
|
|
22
24
|
export type { FooterLicenseImage, FooterNavigationLink, FooterProps, SocialLink } from './components/Footer';
|
|
23
25
|
export { RecommendationsDrawer } from './components/RecommendationsDrawer';
|
package/package.json
CHANGED