igloo-d2c-components 1.1.0 → 1.1.2-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.
- package/dist/cjs/index.js +56 -45
- package/dist/esm/index.js +56 -45
- package/dist/types/components/DesktopHeaderMenuBar/styled.d.ts +1 -1
- package/dist/types/components/Header/styled.d.ts +3 -3
- package/dist/types/types/tenant.d.ts +2 -0
- package/dist/types/utils/componentResolver.d.ts +1 -1
- package/package.json +6 -3
package/dist/cjs/index.js
CHANGED
|
@@ -504,6 +504,8 @@ const iglooTheme = {
|
|
|
504
504
|
calloutBorder: '#ffffff',
|
|
505
505
|
inputBackground: '#ffffff',
|
|
506
506
|
inputBorder: '#eeeeee',
|
|
507
|
+
buttonPrimary: '#5656F6',
|
|
508
|
+
buttonPrimaryHover: 'rgba(86, 86, 246, 0.7)',
|
|
507
509
|
},
|
|
508
510
|
motor: {
|
|
509
511
|
main: '#00CCFF',
|
|
@@ -545,11 +547,11 @@ const ammetlifeTheme = {
|
|
|
545
547
|
palette: {
|
|
546
548
|
primary: {
|
|
547
549
|
dark: '#2869a8',
|
|
548
|
-
main: '#
|
|
550
|
+
main: '#0090DA',
|
|
549
551
|
light: '#42A5F5',
|
|
550
552
|
bright: '#90CAF9',
|
|
551
553
|
plain: '#E3F2FD',
|
|
552
|
-
border: '#
|
|
554
|
+
border: '#0090DA',
|
|
553
555
|
},
|
|
554
556
|
secondary: {
|
|
555
557
|
dim: '#E65100',
|
|
@@ -580,13 +582,15 @@ const ammetlifeTheme = {
|
|
|
580
582
|
sliderActive: '#317abc',
|
|
581
583
|
sliderInactive: '#c8c5ca',
|
|
582
584
|
sliderBackground: '#f9f9f9',
|
|
583
|
-
toggleActive: '
|
|
585
|
+
toggleActive: 'rgb(0, 144, 218)',
|
|
584
586
|
toggleActiveText: '#fefbff',
|
|
585
|
-
toggleInactiveText: '#
|
|
587
|
+
toggleInactiveText: '#0090DA',
|
|
586
588
|
calloutBackground: '#f9f9f9',
|
|
587
589
|
calloutBorder: '#ffffff',
|
|
588
590
|
inputBackground: '#ffffff',
|
|
589
591
|
inputBorder: '#eeeeee',
|
|
592
|
+
buttonPrimary: '#0090da',
|
|
593
|
+
buttonPrimaryHover: 'rgba(0, 144, 218, 0.7)',
|
|
590
594
|
},
|
|
591
595
|
motor: {
|
|
592
596
|
main: '#1976D2',
|
|
@@ -718,6 +722,8 @@ function TenantThemeProvider({ children, tenantId, theme: tenantTheme, }) {
|
|
|
718
722
|
white: '#ffffff',
|
|
719
723
|
black: '#000000',
|
|
720
724
|
},
|
|
725
|
+
// Add tenant UI colors to MUI theme
|
|
726
|
+
ui: tenantTheme.palette.ui,
|
|
721
727
|
},
|
|
722
728
|
typography: {
|
|
723
729
|
fontFamily: tenantTheme.typography?.fontFamily || 'Roboto, sans-serif',
|
|
@@ -2425,9 +2431,9 @@ const BackArrowButton = styles.styled(material.IconButton)(() => ({
|
|
|
2425
2431
|
function RecommendationsDrawer({ open, onClose, children, headerIcon, title, subtitle, showBackButton = false, onBack, primaryButtonText, onPrimaryAction, primaryButtonDisabled = false, secondaryButtonText, onSecondaryAction, showFooter = true, customFooter, formatMessage = (descriptor) => descriptor.id, }) {
|
|
2426
2432
|
material.useTheme();
|
|
2427
2433
|
const tenantTheme = useTenantTheme();
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2434
|
+
const primaryColor = tenantTheme?.theme?.palette?.ui?.buttonPrimary
|
|
2435
|
+
|| tenantTheme?.theme?.palette?.primary?.main
|
|
2436
|
+
|| '#0090DA';
|
|
2431
2437
|
const hexToRgba = (hex, alpha) => {
|
|
2432
2438
|
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
2433
2439
|
if (result) {
|
|
@@ -2436,7 +2442,7 @@ function RecommendationsDrawer({ open, onClose, children, headerIcon, title, sub
|
|
|
2436
2442
|
const b = parseInt(result[3], 16);
|
|
2437
2443
|
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
2438
2444
|
}
|
|
2439
|
-
return `rgba(
|
|
2445
|
+
return `rgba(0, 144, 218, ${alpha})`;
|
|
2440
2446
|
};
|
|
2441
2447
|
const handleClose = () => {
|
|
2442
2448
|
onClose();
|
|
@@ -3208,7 +3214,7 @@ const ToggleButton = styles.styled(material.Box)(({ theme, active }) => ({
|
|
|
3208
3214
|
: 'transparent',
|
|
3209
3215
|
color: active
|
|
3210
3216
|
? theme?.palette?.ui?.toggleActiveText || '#fefbff'
|
|
3211
|
-
: theme?.palette?.ui?.toggleInactiveText || '#
|
|
3217
|
+
: theme?.palette?.ui?.toggleInactiveText || '#0090DA',
|
|
3212
3218
|
transition: 'all 0.2s ease',
|
|
3213
3219
|
'&:hover': {
|
|
3214
3220
|
opacity: 0.9,
|
|
@@ -3817,42 +3823,47 @@ const ButtonContainer = styles.styled(material.Box)(({ isFixed, desktopRightAlig
|
|
|
3817
3823
|
position: 'relative',
|
|
3818
3824
|
},
|
|
3819
3825
|
}));
|
|
3820
|
-
const StyledButton = styles.styled('button')(({ isDisabled, desktopWidth }) =>
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3826
|
+
const StyledButton = styles.styled('button')(({ theme, isDisabled, desktopWidth }) => {
|
|
3827
|
+
const extendedTheme = theme;
|
|
3828
|
+
const buttonPrimary = extendedTheme?.palette?.ui?.buttonPrimary || '#0090da';
|
|
3829
|
+
const buttonPrimaryHover = extendedTheme?.palette?.ui?.buttonPrimaryHover || 'rgba(0, 144, 218, 0.7)';
|
|
3830
|
+
return {
|
|
3831
|
+
width: '100%',
|
|
3832
|
+
minHeight: '48px',
|
|
3833
|
+
padding: '14px 32px',
|
|
3834
|
+
borderRadius: '100px',
|
|
3835
|
+
border: 'none',
|
|
3836
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimary,
|
|
3837
|
+
color: isDisabled ? '#75787b' : '#ffffff',
|
|
3838
|
+
fontFamily: '"MetLifeCircular", "Roboto", "Helvetica", "Arial", sans-serif',
|
|
3839
|
+
fontSize: '16px',
|
|
3840
|
+
fontWeight: 500,
|
|
3841
|
+
lineHeight: '20px',
|
|
3842
|
+
letterSpacing: 0,
|
|
3843
|
+
textTransform: 'none',
|
|
3844
|
+
wordSpacing: '0px',
|
|
3845
|
+
cursor: isDisabled ? 'not-allowed' : 'pointer',
|
|
3846
|
+
transition: 'all 0.2s ease-in-out',
|
|
3847
|
+
boxSizing: 'border-box',
|
|
3848
|
+
'&:hover': {
|
|
3849
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimaryHover,
|
|
3850
|
+
},
|
|
3851
|
+
'&:focus': {
|
|
3852
|
+
outline: isDisabled ? 'none' : `2px solid ${buttonPrimary}`,
|
|
3853
|
+
outlineOffset: '2px',
|
|
3854
|
+
},
|
|
3855
|
+
'&:active': {
|
|
3856
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimaryHover,
|
|
3857
|
+
},
|
|
3858
|
+
// Desktop styles for fixed width button
|
|
3859
|
+
'@media (min-width: 900px)': desktopWidth
|
|
3860
|
+
? {
|
|
3861
|
+
width: desktopWidth,
|
|
3862
|
+
minWidth: desktopWidth,
|
|
3863
|
+
}
|
|
3864
|
+
: {},
|
|
3865
|
+
};
|
|
3866
|
+
});
|
|
3856
3867
|
|
|
3857
3868
|
const CheckoutFormButton = ({ text = 'Next', disabled = false, onClick, fixed = true, type = 'button', sx, loading = false, desktopRightAligned = false, desktopWidth = '180px', }) => {
|
|
3858
3869
|
return (jsxRuntime.jsx(ButtonContainer, { isFixed: fixed, desktopRightAligned: desktopRightAligned, sx: sx, children: jsxRuntime.jsx(StyledButton, { type: type, disabled: disabled || loading, isDisabled: disabled || loading, desktopWidth: desktopWidth, onClick: onClick, children: loading ? 'Processing...' : text }) }));
|
package/dist/esm/index.js
CHANGED
|
@@ -471,6 +471,8 @@ const iglooTheme = {
|
|
|
471
471
|
calloutBorder: '#ffffff',
|
|
472
472
|
inputBackground: '#ffffff',
|
|
473
473
|
inputBorder: '#eeeeee',
|
|
474
|
+
buttonPrimary: '#5656F6',
|
|
475
|
+
buttonPrimaryHover: 'rgba(86, 86, 246, 0.7)',
|
|
474
476
|
},
|
|
475
477
|
motor: {
|
|
476
478
|
main: '#00CCFF',
|
|
@@ -512,11 +514,11 @@ const ammetlifeTheme = {
|
|
|
512
514
|
palette: {
|
|
513
515
|
primary: {
|
|
514
516
|
dark: '#2869a8',
|
|
515
|
-
main: '#
|
|
517
|
+
main: '#0090DA',
|
|
516
518
|
light: '#42A5F5',
|
|
517
519
|
bright: '#90CAF9',
|
|
518
520
|
plain: '#E3F2FD',
|
|
519
|
-
border: '#
|
|
521
|
+
border: '#0090DA',
|
|
520
522
|
},
|
|
521
523
|
secondary: {
|
|
522
524
|
dim: '#E65100',
|
|
@@ -547,13 +549,15 @@ const ammetlifeTheme = {
|
|
|
547
549
|
sliderActive: '#317abc',
|
|
548
550
|
sliderInactive: '#c8c5ca',
|
|
549
551
|
sliderBackground: '#f9f9f9',
|
|
550
|
-
toggleActive: '
|
|
552
|
+
toggleActive: 'rgb(0, 144, 218)',
|
|
551
553
|
toggleActiveText: '#fefbff',
|
|
552
|
-
toggleInactiveText: '#
|
|
554
|
+
toggleInactiveText: '#0090DA',
|
|
553
555
|
calloutBackground: '#f9f9f9',
|
|
554
556
|
calloutBorder: '#ffffff',
|
|
555
557
|
inputBackground: '#ffffff',
|
|
556
558
|
inputBorder: '#eeeeee',
|
|
559
|
+
buttonPrimary: '#0090da',
|
|
560
|
+
buttonPrimaryHover: 'rgba(0, 144, 218, 0.7)',
|
|
557
561
|
},
|
|
558
562
|
motor: {
|
|
559
563
|
main: '#1976D2',
|
|
@@ -685,6 +689,8 @@ function TenantThemeProvider({ children, tenantId, theme: tenantTheme, }) {
|
|
|
685
689
|
white: '#ffffff',
|
|
686
690
|
black: '#000000',
|
|
687
691
|
},
|
|
692
|
+
// Add tenant UI colors to MUI theme
|
|
693
|
+
ui: tenantTheme.palette.ui,
|
|
688
694
|
},
|
|
689
695
|
typography: {
|
|
690
696
|
fontFamily: tenantTheme.typography?.fontFamily || 'Roboto, sans-serif',
|
|
@@ -2392,9 +2398,9 @@ const BackArrowButton = styled(IconButton)(() => ({
|
|
|
2392
2398
|
function RecommendationsDrawer({ open, onClose, children, headerIcon, title, subtitle, showBackButton = false, onBack, primaryButtonText, onPrimaryAction, primaryButtonDisabled = false, secondaryButtonText, onSecondaryAction, showFooter = true, customFooter, formatMessage = (descriptor) => descriptor.id, }) {
|
|
2393
2399
|
useTheme();
|
|
2394
2400
|
const tenantTheme = useTenantTheme();
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2401
|
+
const primaryColor = tenantTheme?.theme?.palette?.ui?.buttonPrimary
|
|
2402
|
+
|| tenantTheme?.theme?.palette?.primary?.main
|
|
2403
|
+
|| '#0090DA';
|
|
2398
2404
|
const hexToRgba = (hex, alpha) => {
|
|
2399
2405
|
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
2400
2406
|
if (result) {
|
|
@@ -2403,7 +2409,7 @@ function RecommendationsDrawer({ open, onClose, children, headerIcon, title, sub
|
|
|
2403
2409
|
const b = parseInt(result[3], 16);
|
|
2404
2410
|
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
2405
2411
|
}
|
|
2406
|
-
return `rgba(
|
|
2412
|
+
return `rgba(0, 144, 218, ${alpha})`;
|
|
2407
2413
|
};
|
|
2408
2414
|
const handleClose = () => {
|
|
2409
2415
|
onClose();
|
|
@@ -3175,7 +3181,7 @@ const ToggleButton = styled(Box)(({ theme, active }) => ({
|
|
|
3175
3181
|
: 'transparent',
|
|
3176
3182
|
color: active
|
|
3177
3183
|
? theme?.palette?.ui?.toggleActiveText || '#fefbff'
|
|
3178
|
-
: theme?.palette?.ui?.toggleInactiveText || '#
|
|
3184
|
+
: theme?.palette?.ui?.toggleInactiveText || '#0090DA',
|
|
3179
3185
|
transition: 'all 0.2s ease',
|
|
3180
3186
|
'&:hover': {
|
|
3181
3187
|
opacity: 0.9,
|
|
@@ -3784,42 +3790,47 @@ const ButtonContainer = styled(Box)(({ isFixed, desktopRightAligned }) => ({
|
|
|
3784
3790
|
position: 'relative',
|
|
3785
3791
|
},
|
|
3786
3792
|
}));
|
|
3787
|
-
const StyledButton = styled('button')(({ isDisabled, desktopWidth }) =>
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3793
|
+
const StyledButton = styled('button')(({ theme, isDisabled, desktopWidth }) => {
|
|
3794
|
+
const extendedTheme = theme;
|
|
3795
|
+
const buttonPrimary = extendedTheme?.palette?.ui?.buttonPrimary || '#0090da';
|
|
3796
|
+
const buttonPrimaryHover = extendedTheme?.palette?.ui?.buttonPrimaryHover || 'rgba(0, 144, 218, 0.7)';
|
|
3797
|
+
return {
|
|
3798
|
+
width: '100%',
|
|
3799
|
+
minHeight: '48px',
|
|
3800
|
+
padding: '14px 32px',
|
|
3801
|
+
borderRadius: '100px',
|
|
3802
|
+
border: 'none',
|
|
3803
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimary,
|
|
3804
|
+
color: isDisabled ? '#75787b' : '#ffffff',
|
|
3805
|
+
fontFamily: '"MetLifeCircular", "Roboto", "Helvetica", "Arial", sans-serif',
|
|
3806
|
+
fontSize: '16px',
|
|
3807
|
+
fontWeight: 500,
|
|
3808
|
+
lineHeight: '20px',
|
|
3809
|
+
letterSpacing: 0,
|
|
3810
|
+
textTransform: 'none',
|
|
3811
|
+
wordSpacing: '0px',
|
|
3812
|
+
cursor: isDisabled ? 'not-allowed' : 'pointer',
|
|
3813
|
+
transition: 'all 0.2s ease-in-out',
|
|
3814
|
+
boxSizing: 'border-box',
|
|
3815
|
+
'&:hover': {
|
|
3816
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimaryHover,
|
|
3817
|
+
},
|
|
3818
|
+
'&:focus': {
|
|
3819
|
+
outline: isDisabled ? 'none' : `2px solid ${buttonPrimary}`,
|
|
3820
|
+
outlineOffset: '2px',
|
|
3821
|
+
},
|
|
3822
|
+
'&:active': {
|
|
3823
|
+
backgroundColor: isDisabled ? '#f2f2f2' : buttonPrimaryHover,
|
|
3824
|
+
},
|
|
3825
|
+
// Desktop styles for fixed width button
|
|
3826
|
+
'@media (min-width: 900px)': desktopWidth
|
|
3827
|
+
? {
|
|
3828
|
+
width: desktopWidth,
|
|
3829
|
+
minWidth: desktopWidth,
|
|
3830
|
+
}
|
|
3831
|
+
: {},
|
|
3832
|
+
};
|
|
3833
|
+
});
|
|
3823
3834
|
|
|
3824
3835
|
const CheckoutFormButton = ({ text = 'Next', disabled = false, onClick, fixed = true, type = 'button', sx, loading = false, desktopRightAligned = false, desktopWidth = '180px', }) => {
|
|
3825
3836
|
return (jsx(ButtonContainer, { isFixed: fixed, desktopRightAligned: desktopRightAligned, sx: sx, children: jsx(StyledButton, { type: type, disabled: disabled || loading, isDisabled: disabled || loading, desktopWidth: desktopWidth, onClick: onClick, children: loading ? 'Processing...' : text }) }));
|
|
@@ -125,7 +125,7 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
|
|
|
125
125
|
*/
|
|
126
126
|
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"> & {
|
|
127
127
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
128
|
-
}, "children" | "
|
|
128
|
+
}, "children" | "disabled" | "style" | "className" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
129
129
|
/**
|
|
130
130
|
* Menu item icon
|
|
131
131
|
*/
|
|
@@ -33,12 +33,12 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
|
|
|
33
33
|
export declare const DivProductListing: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
34
34
|
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"> & {
|
|
35
35
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
36
|
-
}, "children" | "
|
|
36
|
+
}, "children" | "disabled" | "style" | "className" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
37
37
|
export declare const SpanImageWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
38
38
|
export declare const ImageProductIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
39
39
|
export declare const StyledMenuItemDesktop: 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"> & {
|
|
40
40
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
41
|
-
}, "children" | "
|
|
41
|
+
}, "children" | "disabled" | "style" | "className" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
42
42
|
export declare const StyledCloseIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
43
43
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
44
44
|
}, "fontSize" | "children" | "style" | "className" | "classes" | "sx" | "color" | "shapeRendering" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -62,7 +62,7 @@ export declare const DivLoginActionContainer: import("@emotion/styled").StyledCo
|
|
|
62
62
|
export declare const DivCommonMenus: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
63
|
export declare const MenuItemOtherLinks: 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"> & {
|
|
64
64
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
65
|
-
}, "children" | "
|
|
65
|
+
}, "children" | "disabled" | "style" | "className" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
66
66
|
export declare const StyledFormControlLabel: import("@emotion/styled").StyledComponent<import("@mui/material").FormControlLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
67
67
|
export declare const ButtonLogout: 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"> & {
|
|
68
68
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
@@ -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 =
|
|
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.
|
|
3
|
+
"version": "1.1.2-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
|
|
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",
|
|
@@ -125,5 +125,8 @@
|
|
|
125
125
|
"bugs": {
|
|
126
126
|
"url": "https://gitlab.iglooinsure.com/axinan/fe/d2c-component-library/-/issues"
|
|
127
127
|
},
|
|
128
|
-
"homepage": "https://gitlab.iglooinsure.com/axinan/fe/d2c-component-library#readme"
|
|
128
|
+
"homepage": "https://gitlab.iglooinsure.com/axinan/fe/d2c-component-library#readme",
|
|
129
|
+
"dependencies": {
|
|
130
|
+
"process": "0.11.10"
|
|
131
|
+
}
|
|
129
132
|
}
|