@me1a/ui 1.2.7 → 1.2.8
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.
|
@@ -12619,51 +12619,6 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes
|
|
|
12619
12619
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
12620
12620
|
} : void 0;
|
|
12621
12621
|
|
|
12622
|
-
// ----------------------------------------------------------------------
|
|
12623
|
-
const StyledNotistack = styled(MaterialDesignContent$1)(({
|
|
12624
|
-
theme
|
|
12625
|
-
}) => {
|
|
12626
|
-
const isLight = theme.palette.mode === 'light';
|
|
12627
|
-
return {
|
|
12628
|
-
'& #notistack-snackbar': {
|
|
12629
|
-
...theme.typography.subtitle2,
|
|
12630
|
-
padding: 0,
|
|
12631
|
-
flexGrow: 1
|
|
12632
|
-
},
|
|
12633
|
-
'&.notistack-MuiContent': {
|
|
12634
|
-
padding: theme.spacing(0.5),
|
|
12635
|
-
paddingRight: theme.spacing(2),
|
|
12636
|
-
color: theme.palette.text.primary,
|
|
12637
|
-
boxShadow: theme.customShadows.z8,
|
|
12638
|
-
borderRadius: theme.shape.borderRadius,
|
|
12639
|
-
backgroundColor: theme.palette.background.paper
|
|
12640
|
-
},
|
|
12641
|
-
'&.notistack-MuiContent-default': {
|
|
12642
|
-
padding: theme.spacing(1),
|
|
12643
|
-
color: isLight ? theme.palette.common.white : theme.palette.grey[800],
|
|
12644
|
-
backgroundColor: isLight ? theme.palette.grey[800] : theme.palette.common.white
|
|
12645
|
-
}
|
|
12646
|
-
// '&.notistack-MuiContent-info': {},
|
|
12647
|
-
// '&.notistack-MuiContent-success': {},
|
|
12648
|
-
// '&.notistack-MuiContent-warning': {},
|
|
12649
|
-
// '&.notistack-MuiContent-error': {},
|
|
12650
|
-
};
|
|
12651
|
-
});
|
|
12652
|
-
const StyledIcon = styled('span')(({
|
|
12653
|
-
color,
|
|
12654
|
-
theme
|
|
12655
|
-
}) => ({
|
|
12656
|
-
width: 44,
|
|
12657
|
-
height: 44,
|
|
12658
|
-
display: 'flex',
|
|
12659
|
-
alignItems: 'center',
|
|
12660
|
-
justifyContent: 'center',
|
|
12661
|
-
marginRight: theme.spacing(1.5),
|
|
12662
|
-
color: theme.palette[color].main,
|
|
12663
|
-
borderRadius: theme.shape.borderRadius,
|
|
12664
|
-
backgroundColor: alpha(theme.palette[color].main, 0.16)
|
|
12665
|
-
}));
|
|
12666
|
-
|
|
12667
12622
|
function SnackbarProvider({
|
|
12668
12623
|
children
|
|
12669
12624
|
}) {
|
|
@@ -12679,43 +12634,6 @@ function SnackbarProvider({
|
|
|
12679
12634
|
vertical: "top",
|
|
12680
12635
|
horizontal: "right"
|
|
12681
12636
|
},
|
|
12682
|
-
iconVariant: {
|
|
12683
|
-
info: jsxRuntimeExports.jsx(StyledIcon, {
|
|
12684
|
-
color: "info",
|
|
12685
|
-
children: jsxRuntimeExports.jsx(Iconify, {
|
|
12686
|
-
icon: "eva:info-fill",
|
|
12687
|
-
width: 24
|
|
12688
|
-
})
|
|
12689
|
-
}),
|
|
12690
|
-
success: jsxRuntimeExports.jsx(StyledIcon, {
|
|
12691
|
-
color: "success",
|
|
12692
|
-
children: jsxRuntimeExports.jsx(Iconify, {
|
|
12693
|
-
icon: "eva:checkmark-circle-2-fill",
|
|
12694
|
-
width: 24
|
|
12695
|
-
})
|
|
12696
|
-
}),
|
|
12697
|
-
warning: jsxRuntimeExports.jsx(StyledIcon, {
|
|
12698
|
-
color: "warning",
|
|
12699
|
-
children: jsxRuntimeExports.jsx(Iconify, {
|
|
12700
|
-
icon: "eva:alert-triangle-fill",
|
|
12701
|
-
width: 24
|
|
12702
|
-
})
|
|
12703
|
-
}),
|
|
12704
|
-
error: jsxRuntimeExports.jsx(StyledIcon, {
|
|
12705
|
-
color: "error",
|
|
12706
|
-
children: jsxRuntimeExports.jsx(Iconify, {
|
|
12707
|
-
icon: "solar:danger-bold",
|
|
12708
|
-
width: 24
|
|
12709
|
-
})
|
|
12710
|
-
})
|
|
12711
|
-
},
|
|
12712
|
-
Components: {
|
|
12713
|
-
default: StyledNotistack,
|
|
12714
|
-
info: StyledNotistack,
|
|
12715
|
-
success: StyledNotistack,
|
|
12716
|
-
warning: StyledNotistack,
|
|
12717
|
-
error: StyledNotistack
|
|
12718
|
-
},
|
|
12719
12637
|
// with close as default
|
|
12720
12638
|
action: snackbarId => jsxRuntimeExports.jsx(IconButton, {
|
|
12721
12639
|
size: "small",
|