igloo-d2c-components 1.1.1 → 1.1.3-non-prod

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.
Files changed (28) hide show
  1. package/dist/assets/tenants/b2cid/logo.svg +22 -0
  2. package/dist/assets/tenants/b2cid/logo_white.svg +22 -0
  3. package/dist/cjs/index.js +1645 -37
  4. package/dist/esm/index.js +1642 -40
  5. package/dist/types/components/CoverageAmountSlider/styled.d.ts +1 -1
  6. package/dist/types/components/DesktopHeaderMenuBar/DesktopHeaderMenuBar.d.ts +1 -1
  7. package/dist/types/components/DesktopHeaderMenuBar/styled.d.ts +10 -7
  8. package/dist/types/components/DesktopHeaderMenuBar/types.d.ts +4 -0
  9. package/dist/types/components/FAQAccordion/styled.d.ts +2 -2
  10. package/dist/types/components/Footer/styled.d.ts +4 -4
  11. package/dist/types/components/Header/Header.d.ts +17 -1
  12. package/dist/types/components/Header/styled.d.ts +9 -9
  13. package/dist/types/components/NewHeader/styled.d.ts +2 -2
  14. package/dist/types/components/OptionButton/styled.d.ts +1 -1
  15. package/dist/types/components/RecommendationsDrawer/styled.d.ts +4 -4
  16. package/dist/types/components/ToggleGroup/styled.d.ts +1 -1
  17. package/dist/types/components/TravelCategoryCard/TravelCategoryCard.d.ts +36 -0
  18. package/dist/types/components/TravelCategoryCard/index.d.ts +2 -0
  19. package/dist/types/components/TravelCategoryCard/styled.d.ts +15 -0
  20. package/dist/types/components/TravelQuoteDrawer/TravelQuoteDrawer.d.ts +82 -0
  21. package/dist/types/components/TravelQuoteDrawer/index.d.ts +2 -0
  22. package/dist/types/components/TravelQuoteDrawer/styled.d.ts +46 -0
  23. package/dist/types/index.d.ts +6 -2
  24. package/dist/types/themes/index.d.ts +4 -0
  25. package/dist/types/themes/typography.d.ts +4 -0
  26. package/dist/types/types/tenant.d.ts +1 -1
  27. package/dist/types/utils/componentResolver.d.ts +1 -1
  28. package/package.json +5 -4
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Travel Quote Drawer Component
3
+ * Drawer form for collecting travel insurance search criteria.
4
+ * Supports Domestic and International travel categories.
5
+ */
6
+ type GroupSize = 'Individual' | 'Dual' | 'Couple' | 'Family';
7
+ export interface TravelQuoteFormValues {
8
+ category: 'Domestic' | 'International';
9
+ groupSize: GroupSize;
10
+ travelStartDate: string;
11
+ travelEndDate: string;
12
+ adultCount: number;
13
+ childCount: number;
14
+ destinations: string[];
15
+ countries?: Array<{
16
+ label: string;
17
+ value: string;
18
+ region?: string;
19
+ }>;
20
+ cities?: string;
21
+ }
22
+ export interface DestinationOption {
23
+ label: string;
24
+ value: string;
25
+ group?: string;
26
+ flag?: string;
27
+ region?: string;
28
+ }
29
+ export interface CityOption {
30
+ name: string;
31
+ province?: string;
32
+ }
33
+ export interface TravelQuoteDrawerProps {
34
+ /**
35
+ * Whether the drawer is open
36
+ */
37
+ open: boolean;
38
+ /**
39
+ * Travel category: 'Domestic' or 'International'
40
+ */
41
+ category: 'Domestic' | 'International' | null;
42
+ /**
43
+ * Callback when drawer should close
44
+ */
45
+ onClose: () => void;
46
+ /**
47
+ * Callback when form is submitted
48
+ */
49
+ onSubmit: (values: TravelQuoteFormValues) => void;
50
+ /**
51
+ * Country options for international travel
52
+ */
53
+ countryOptions?: DestinationOption[];
54
+ /**
55
+ * City options for domestic travel
56
+ */
57
+ cityOptions?: CityOption[];
58
+ /**
59
+ * Whether the form is in a loading/submitting state
60
+ */
61
+ loading?: boolean;
62
+ /**
63
+ * Label text overrides for i18n
64
+ */
65
+ labels?: Partial<{
66
+ title: string;
67
+ groupSizeLabel: string;
68
+ travelDatesLabel: string;
69
+ startDateLabel: string;
70
+ endDateLabel: string;
71
+ destinationLabel: string;
72
+ adultsLabel: string;
73
+ childrenLabel: string;
74
+ submitLabel: string;
75
+ individual: string;
76
+ dual: string;
77
+ couple: string;
78
+ family: string;
79
+ }>;
80
+ }
81
+ export declare function TravelQuoteDrawer({ open, category, onClose, onSubmit, countryOptions, cityOptions, loading, labels, }: TravelQuoteDrawerProps): import("react/jsx-runtime").JSX.Element;
82
+ export {};
@@ -0,0 +1,2 @@
1
+ export { TravelQuoteDrawer } from './TravelQuoteDrawer';
2
+ export type { CityOption, DestinationOption, TravelQuoteDrawerProps, TravelQuoteFormValues, } from './TravelQuoteDrawer';
@@ -0,0 +1,46 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledDrawer: import("@emotion/styled").StyledComponent<import("@mui/material").DrawerProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
+ export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
5
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
+ export declare const DrawerTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
7
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
8
+ }, "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "children" | "zIndex" | "typography" | "borderRadius" | "p" | "style" | "className" | "classes" | "sx" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "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" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
+ export declare const DrawerContent: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
12
+ export declare const FormSection: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
13
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
15
+ export declare const FormLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
16
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
17
+ }, "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "children" | "zIndex" | "typography" | "borderRadius" | "p" | "style" | "className" | "classes" | "sx" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "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" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
18
+ export declare const GroupSizeGrid: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
21
+ export declare const GroupSizeOption: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
22
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
23
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
24
+ selected?: boolean | undefined;
25
+ }, {}, {}>;
26
+ export declare const CounterContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
27
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
28
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
29
+ export declare const CounterLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
30
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
31
+ }, "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "children" | "zIndex" | "typography" | "borderRadius" | "p" | "style" | "className" | "classes" | "sx" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "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" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
32
+ export declare const CounterControls: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
33
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
34
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
35
+ export declare const CounterValue: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
36
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
37
+ }, "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "lineHeight" | "letterSpacing" | "border" | "children" | "zIndex" | "typography" | "borderRadius" | "p" | "style" | "className" | "classes" | "sx" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "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" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
38
+ export declare const DatePickerRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
39
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
40
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
41
+ export declare const SubmitButton: 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"> & {
42
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
43
+ }, "children" | "disabled" | "style" | "className" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
44
+ export declare const DestinationChipsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
45
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
46
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -5,8 +5,8 @@
5
5
  export { TenantThemeProvider, useIsTenant, useTenantId, useTenantTheme } from './context/TenantThemeContext';
6
6
  export type { TenantThemeProviderProps } from './context/TenantThemeContext';
7
7
  export type { ColorShade, TenantContextValue, TenantId, TenantPalette, TenantThemeConfig, TenantTypography } from './types/tenant';
8
- export { ammetlifeTheme, getAvailableTenants, getTenantTheme, iglooTheme, isValidTenantId, tenantThemes } from './themes';
9
- export { ammetlifeTypography, getTenantTypography, iglooTypography, tenantTypography, } from './themes/typography';
8
+ export { ammetlifeTheme, b2cidTheme, getAvailableTenants, getTenantTheme, iglooTheme, isValidTenantId, tenantThemes } from './themes';
9
+ export { ammetlifeTypography, b2cidTypography, getTenantTypography, iglooTypography, tenantTypography, } from './themes/typography';
10
10
  export type { TenantTypographyConfig, TypographyVariant, } from './themes/typography';
11
11
  export { Button } from './components/Button';
12
12
  export type { ButtonProps } from './components/Button';
@@ -69,4 +69,8 @@ export { isValidExternalUrl, safeWindowOpen, sanitizeUrl } from './utils/securit
69
69
  export { getImageSrc, isStaticImageData } from './utils/image';
70
70
  export type { StaticImageData } from './utils/image';
71
71
  export { resolveComponent, resolveReactComponent, resolveSvgIcon } from './utils/componentResolver';
72
+ export { TravelCategoryCard } from './components/TravelCategoryCard';
73
+ export type { TravelCategoryCardProps } from './components/TravelCategoryCard';
74
+ export { TravelQuoteDrawer } from './components/TravelQuoteDrawer';
75
+ export type { CityOption, DestinationOption, TravelQuoteDrawerProps, TravelQuoteFormValues, } from './components/TravelQuoteDrawer';
72
76
  export * from './assets';
@@ -11,6 +11,10 @@ export declare const iglooTheme: TenantThemeConfig;
11
11
  * Ammetlife Theme Configuration
12
12
  */
13
13
  export declare const ammetlifeTheme: TenantThemeConfig;
14
+ /**
15
+ * B2C ID Theme Configuration
16
+ */
17
+ export declare const b2cidTheme: TenantThemeConfig;
14
18
  /**
15
19
  * Theme Registry
16
20
  * Map of tenant IDs to their theme configurations
@@ -56,6 +56,10 @@ export declare const iglooTypography: TenantTypographyConfig;
56
56
  * AmmetLife Typography Configuration
57
57
  */
58
58
  export declare const ammetlifeTypography: TenantTypographyConfig;
59
+ /**
60
+ * B2C ID Typography Configuration
61
+ */
62
+ export declare const b2cidTypography: TenantTypographyConfig;
59
63
  /**
60
64
  * Typography Registry
61
65
  * Map of tenant IDs to their typography configurations
@@ -95,4 +95,4 @@ export interface TenantContextValue {
95
95
  /**
96
96
  * Supported Tenant IDs
97
97
  */
98
- export type TenantId = 'igloo' | 'ammetlife';
98
+ export type TenantId = 'igloo' | 'ammetlife' | 'b2cid';
@@ -39,5 +39,5 @@ export declare function resolveSvgIcon(icon: ModuleWithDefault<SvgIconComponent>
39
39
  * @param component - React component to resolve
40
40
  * @returns Resolved component
41
41
  */
42
- export declare function resolveReactComponent<P = any>(component: ModuleWithDefault<React.ComponentType<P>>): React.ComponentType<P>;
42
+ export declare function resolveReactComponent<P = Record<string, unknown>>(component: ModuleWithDefault<React.ComponentType<P>>): React.ComponentType<P>;
43
43
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igloo-d2c-components",
3
- "version": "1.1.1",
3
+ "version": "1.1.3-non-prod",
4
4
  "description": "Reusable component library with tenant-aware theming for B2C applications",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -37,7 +37,7 @@
37
37
  "release:beta": "bash scripts/release.sh beta",
38
38
  "npmPublish": "yarn prepublishOnly && npm publish --access public",
39
39
  "npmPublish:ci": "yarn prepublishOnly && npm publish --provenance --access public",
40
- "security:audit": "yarn audit --level moderate || true",
40
+ "security:audit": "yarn audit --level moderate",
41
41
  "security:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn registry.yarnpkg.com --validate-https",
42
42
  "security:check": "yarn security:audit && yarn security:lockfile",
43
43
  "ci:install": "yarn install --frozen-lockfile --ignore-scripts",
@@ -114,9 +114,10 @@
114
114
  "webpack-dev-middleware": "^5.3.4",
115
115
  "braces": "^3.0.3",
116
116
  "micromatch": "^4.0.8",
117
- "postcss": "^8.4.31",
117
+ "postcss": "^8.5.10",
118
118
  "serialize-javascript": "^7.0.5",
119
- "esbuild": "^0.25.0"
119
+ "esbuild": "^0.25.0",
120
+ "uuid": "^14.0.0"
120
121
  },
121
122
  "publishConfig": {
122
123
  "access": "public",