ece-docs-components 1.0.15 → 1.0.16
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcknowledgementBox.js","sources":["../../../../src/components/AcknowledgementBox.tsx"],"sourcesContent":["\n\nimport React from 'react';\nimport { Box, styled, SxProps, Theme, Typography } from '@mui/material';\nimport { InfoOutlineRounded } from '@mui/icons-material';\ninterface AcknowledgementProps {\n children: React.
|
|
1
|
+
{"version":3,"file":"AcknowledgementBox.js","sources":["../../../../src/components/AcknowledgementBox.tsx"],"sourcesContent":["\n\nimport React from 'react';\nimport { Box, styled, SxProps, Theme, Typography } from '@mui/material';\nimport { InfoOutlineRounded } from '@mui/icons-material';\ninterface AcknowledgementProps {\n children: React.ReactNode | React.ReactNode[];\n sx?: SxProps<Theme>;\n}\n\nconst StyledAcknowledgementBox = styled(Box)(({ theme }) => ({\n marginTop: theme.spacing(2), // mt-4\n padding: theme.spacing(2), // p-4\n borderRadius: (typeof theme.shape.borderRadius === 'string'\n ? parseInt(theme.shape.borderRadius, 10)\n : theme.shape.borderRadius || 4) * 2,\n border: `1px solid ${theme.palette.dark.main}1A`,\n backgroundColor: theme.palette.background.default,\n}));\n\n\nexport const AcknowledgementBox: React.FC<AcknowledgementProps> = ({\n children,\n sx,\n}) => {\n return (\n <StyledAcknowledgementBox\n sx={sx}\n >\n <Box display='flex' flexDirection='row'>\n <Box display='flex' flexDirection='column'>\n <InfoOutlineRounded sx={{ mr: 1, color: 'black' }} />\n </Box>\n <Box flex='1'>\n <Typography variant='h6'>Hei mihi | Acknowledgement</Typography>\n {children}\n </Box>\n </Box>\n </StyledAcknowledgementBox>\n );\n};"],"names":["styled","Box","_jsx","_jsxs","InfoOutlineRounded","Typography"],"mappings":";;;;;;AAUA,MAAM,wBAAwB,GAAGA,eAAM,CAACC,YAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM;I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Props, Theme } from '@mui/material';
|
|
3
3
|
interface AcknowledgementProps {
|
|
4
|
-
children: React.
|
|
4
|
+
children: React.ReactNode | React.ReactNode[];
|
|
5
5
|
sx?: SxProps<Theme>;
|
|
6
6
|
}
|
|
7
7
|
export declare const AcknowledgementBox: React.FC<AcknowledgementProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcknowledgementBox.js","sources":["../../../../src/components/AcknowledgementBox.tsx"],"sourcesContent":["\n\nimport React from 'react';\nimport { Box, styled, SxProps, Theme, Typography } from '@mui/material';\nimport { InfoOutlineRounded } from '@mui/icons-material';\ninterface AcknowledgementProps {\n children: React.
|
|
1
|
+
{"version":3,"file":"AcknowledgementBox.js","sources":["../../../../src/components/AcknowledgementBox.tsx"],"sourcesContent":["\n\nimport React from 'react';\nimport { Box, styled, SxProps, Theme, Typography } from '@mui/material';\nimport { InfoOutlineRounded } from '@mui/icons-material';\ninterface AcknowledgementProps {\n children: React.ReactNode | React.ReactNode[];\n sx?: SxProps<Theme>;\n}\n\nconst StyledAcknowledgementBox = styled(Box)(({ theme }) => ({\n marginTop: theme.spacing(2), // mt-4\n padding: theme.spacing(2), // p-4\n borderRadius: (typeof theme.shape.borderRadius === 'string'\n ? parseInt(theme.shape.borderRadius, 10)\n : theme.shape.borderRadius || 4) * 2,\n border: `1px solid ${theme.palette.dark.main}1A`,\n backgroundColor: theme.palette.background.default,\n}));\n\n\nexport const AcknowledgementBox: React.FC<AcknowledgementProps> = ({\n children,\n sx,\n}) => {\n return (\n <StyledAcknowledgementBox\n sx={sx}\n >\n <Box display='flex' flexDirection='row'>\n <Box display='flex' flexDirection='column'>\n <InfoOutlineRounded sx={{ mr: 1, color: 'black' }} />\n </Box>\n <Box flex='1'>\n <Typography variant='h6'>Hei mihi | Acknowledgement</Typography>\n {children}\n </Box>\n </Box>\n </StyledAcknowledgementBox>\n );\n};"],"names":["_jsx","_jsxs"],"mappings":";;;;AAUA,MAAM,wBAAwB,GAAG,MA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