igloo-d2c-components 1.0.24 → 1.0.26
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 +114 -90
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +114 -90
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/DesktopHeaderMenuBar/styled.d.ts +18 -4
- package/package.json +1 -1
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Styled components for Desktop Header Menu Bar
|
|
3
3
|
* Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
|
|
4
|
+
*
|
|
5
|
+
* Design Specifications:
|
|
6
|
+
* - Header height: 80px
|
|
7
|
+
* - Background: white (#ffffff)
|
|
8
|
+
* - Content max-width: 1128px (equivalent to 156px padding on 1440px width)
|
|
9
|
+
* - Logo width: 126px
|
|
10
|
+
* - Gap between logo and menu items: 32px
|
|
11
|
+
* - Menu text: MetLife Circular Bold, 18px, #13131B
|
|
12
|
+
* - Login button: Text style, #0090da (teal/cyan)
|
|
4
13
|
*/
|
|
5
14
|
/// <reference types="react" />
|
|
6
15
|
/**
|
|
@@ -12,13 +21,14 @@ export declare const StyledAppBar: import("@emotion/styled").StyledComponent<imp
|
|
|
12
21
|
}, "children" | "style" | "className" | "classes" | "sx" | "color" | "position" | "variant" | "square" | "elevation" | "enableColorOnDark"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
22
|
/**
|
|
14
23
|
* Inner container with max-width constraint
|
|
15
|
-
* Max-width: 1128px, centered
|
|
24
|
+
* Max-width: 1128px, centered (equivalent to px-156 on 1440px viewport)
|
|
16
25
|
*/
|
|
17
26
|
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
27
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
19
28
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
20
29
|
/**
|
|
21
30
|
* Left section containing logo and menu items
|
|
31
|
+
* Gap: 32px between all children (logo and menu items)
|
|
22
32
|
*/
|
|
23
33
|
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
34
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
@@ -31,31 +41,34 @@ export declare const LogoContainer: import("@emotion/styled").StyledComponent<im
|
|
|
31
41
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
32
42
|
/**
|
|
33
43
|
* Logo image
|
|
34
|
-
* Width: 126px, height:
|
|
44
|
+
* Width: 126px, height: 16px (per Figma)
|
|
35
45
|
*/
|
|
36
46
|
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
47
|
/**
|
|
38
48
|
* Navigation menu container
|
|
49
|
+
* No additional gap - items are spaced by LeftSection's gap
|
|
39
50
|
*/
|
|
40
51
|
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
52
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
42
53
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
43
54
|
/**
|
|
44
55
|
* Individual menu item button
|
|
45
|
-
* Font: MetLife Circular Bold, 18px
|
|
56
|
+
* Font: MetLife Circular Bold, 18px, color: #13131B
|
|
57
|
+
* Padding: 10px horizontal (creates visual spacing between items)
|
|
46
58
|
*/
|
|
47
59
|
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
60
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
49
61
|
}, "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
62
|
/**
|
|
51
63
|
* Menu item text
|
|
64
|
+
* Font: MetLife Circular Bold, 18px
|
|
52
65
|
*/
|
|
53
66
|
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
67
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
55
68
|
}, "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
69
|
/**
|
|
57
70
|
* Dropdown arrow icon
|
|
58
|
-
* Size: 24px
|
|
71
|
+
* Size: 24px, color: #13131B
|
|
59
72
|
*/
|
|
60
73
|
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
74
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
@@ -69,6 +82,7 @@ export declare const RightSection: import("@emotion/styled").StyledComponent<imp
|
|
|
69
82
|
/**
|
|
70
83
|
* Login button (text style)
|
|
71
84
|
* Based on Figma: Style=Text, State=enabled, Show Icon=False
|
|
85
|
+
* Color: #0090da (primary blue/teal)
|
|
72
86
|
*/
|
|
73
87
|
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
88
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
package/package.json
CHANGED