@xyo-network/react-card 2.81.10 → 2.83.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.d.ts +52 -2
- package/dist/browser/index.mjs +278 -0
- package/dist/browser/index.mjs.map +1 -0
- package/package.json +14 -30
- package/src/components/CardContentEx.stories.tsx +8 -7
- package/src/components/CardContentEx.tsx +1 -1
- package/src/components/CardEx.tsx +7 -5
- package/src/components/FullWidthCard/FullWidthCard.stories.tsx +3 -3
- package/src/components/FullWidthCard/FullWidthCard.tsx +41 -32
- package/src/components/FullWidthCard/index.ts +1 -1
- package/src/components/PageCard.stories.tsx +6 -5
- package/src/components/PageCard.tsx +11 -9
- package/src/components/SimpleCard/SimpleCard.stories.tsx +4 -4
- package/src/components/SimpleCard/SimpleCard.tsx +65 -53
- package/src/components/SimpleCard/index.ts +1 -1
- package/src/components/SimpleCardGrid/SimpleCardGrid.stories.tsx +4 -4
- package/src/components/SimpleCardGrid/SimpleCardGrid.tsx +2 -1
- package/src/components/SimpleCardGrid/index.ts +1 -1
- package/src/components/index.ts +5 -5
- package/src/index.ts +1 -1
- package/xy.config.ts +12 -0
- package/dist/browser/components/CardContentEx.d.cts +0 -10
- package/dist/browser/components/CardContentEx.d.cts.map +0 -1
- package/dist/browser/components/CardContentEx.d.mts +0 -10
- package/dist/browser/components/CardContentEx.d.mts.map +0 -1
- package/dist/browser/components/CardContentEx.d.ts +0 -10
- package/dist/browser/components/CardContentEx.d.ts.map +0 -1
- package/dist/browser/components/CardEx.d.cts +0 -7
- package/dist/browser/components/CardEx.d.cts.map +0 -1
- package/dist/browser/components/CardEx.d.mts +0 -7
- package/dist/browser/components/CardEx.d.mts.map +0 -1
- package/dist/browser/components/CardEx.d.ts +0 -7
- package/dist/browser/components/CardEx.d.ts.map +0 -1
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts +0 -15
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts +0 -15
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts +0 -15
- package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
- package/dist/browser/components/FullWidthCard/index.d.cts +0 -2
- package/dist/browser/components/FullWidthCard/index.d.cts.map +0 -1
- package/dist/browser/components/FullWidthCard/index.d.mts +0 -2
- package/dist/browser/components/FullWidthCard/index.d.mts.map +0 -1
- package/dist/browser/components/FullWidthCard/index.d.ts +0 -2
- package/dist/browser/components/FullWidthCard/index.d.ts.map +0 -1
- package/dist/browser/components/PageCard.d.cts +0 -10
- package/dist/browser/components/PageCard.d.cts.map +0 -1
- package/dist/browser/components/PageCard.d.mts +0 -10
- package/dist/browser/components/PageCard.d.mts.map +0 -1
- package/dist/browser/components/PageCard.d.ts +0 -10
- package/dist/browser/components/PageCard.d.ts.map +0 -1
- package/dist/browser/components/SimpleCard/SimpleCard.d.cts +0 -16
- package/dist/browser/components/SimpleCard/SimpleCard.d.cts.map +0 -1
- package/dist/browser/components/SimpleCard/SimpleCard.d.mts +0 -16
- package/dist/browser/components/SimpleCard/SimpleCard.d.mts.map +0 -1
- package/dist/browser/components/SimpleCard/SimpleCard.d.ts +0 -16
- package/dist/browser/components/SimpleCard/SimpleCard.d.ts.map +0 -1
- package/dist/browser/components/SimpleCard/index.d.cts +0 -2
- package/dist/browser/components/SimpleCard/index.d.cts.map +0 -1
- package/dist/browser/components/SimpleCard/index.d.mts +0 -2
- package/dist/browser/components/SimpleCard/index.d.mts.map +0 -1
- package/dist/browser/components/SimpleCard/index.d.ts +0 -2
- package/dist/browser/components/SimpleCard/index.d.ts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
- package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/index.d.cts +0 -2
- package/dist/browser/components/SimpleCardGrid/index.d.cts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/index.d.mts +0 -2
- package/dist/browser/components/SimpleCardGrid/index.d.mts.map +0 -1
- package/dist/browser/components/SimpleCardGrid/index.d.ts +0 -2
- package/dist/browser/components/SimpleCardGrid/index.d.ts.map +0 -1
- package/dist/browser/components/index.d.cts +0 -6
- package/dist/browser/components/index.d.cts.map +0 -1
- package/dist/browser/components/index.d.mts +0 -6
- package/dist/browser/components/index.d.mts.map +0 -1
- package/dist/browser/components/index.d.ts +0 -6
- package/dist/browser/components/index.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -248
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -2
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -2
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js +0 -225
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/components/CardContentEx.d.cts +0 -10
- package/dist/neutral/components/CardContentEx.d.cts.map +0 -1
- package/dist/neutral/components/CardContentEx.d.mts +0 -10
- package/dist/neutral/components/CardContentEx.d.mts.map +0 -1
- package/dist/neutral/components/CardContentEx.d.ts +0 -10
- package/dist/neutral/components/CardContentEx.d.ts.map +0 -1
- package/dist/neutral/components/CardEx.d.cts +0 -7
- package/dist/neutral/components/CardEx.d.cts.map +0 -1
- package/dist/neutral/components/CardEx.d.mts +0 -7
- package/dist/neutral/components/CardEx.d.mts.map +0 -1
- package/dist/neutral/components/CardEx.d.ts +0 -7
- package/dist/neutral/components/CardEx.d.ts.map +0 -1
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts +0 -15
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts +0 -15
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts +0 -15
- package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
- package/dist/neutral/components/FullWidthCard/index.d.cts +0 -2
- package/dist/neutral/components/FullWidthCard/index.d.cts.map +0 -1
- package/dist/neutral/components/FullWidthCard/index.d.mts +0 -2
- package/dist/neutral/components/FullWidthCard/index.d.mts.map +0 -1
- package/dist/neutral/components/FullWidthCard/index.d.ts +0 -2
- package/dist/neutral/components/FullWidthCard/index.d.ts.map +0 -1
- package/dist/neutral/components/PageCard.d.cts +0 -10
- package/dist/neutral/components/PageCard.d.cts.map +0 -1
- package/dist/neutral/components/PageCard.d.mts +0 -10
- package/dist/neutral/components/PageCard.d.mts.map +0 -1
- package/dist/neutral/components/PageCard.d.ts +0 -10
- package/dist/neutral/components/PageCard.d.ts.map +0 -1
- package/dist/neutral/components/SimpleCard/SimpleCard.d.cts +0 -16
- package/dist/neutral/components/SimpleCard/SimpleCard.d.cts.map +0 -1
- package/dist/neutral/components/SimpleCard/SimpleCard.d.mts +0 -16
- package/dist/neutral/components/SimpleCard/SimpleCard.d.mts.map +0 -1
- package/dist/neutral/components/SimpleCard/SimpleCard.d.ts +0 -16
- package/dist/neutral/components/SimpleCard/SimpleCard.d.ts.map +0 -1
- package/dist/neutral/components/SimpleCard/index.d.cts +0 -2
- package/dist/neutral/components/SimpleCard/index.d.cts.map +0 -1
- package/dist/neutral/components/SimpleCard/index.d.mts +0 -2
- package/dist/neutral/components/SimpleCard/index.d.mts.map +0 -1
- package/dist/neutral/components/SimpleCard/index.d.ts +0 -2
- package/dist/neutral/components/SimpleCard/index.d.ts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
- package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/index.d.cts +0 -2
- package/dist/neutral/components/SimpleCardGrid/index.d.cts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/index.d.mts +0 -2
- package/dist/neutral/components/SimpleCardGrid/index.d.mts.map +0 -1
- package/dist/neutral/components/SimpleCardGrid/index.d.ts +0 -2
- package/dist/neutral/components/SimpleCardGrid/index.d.ts.map +0 -1
- package/dist/neutral/components/index.d.cts +0 -6
- package/dist/neutral/components/index.d.cts.map +0 -1
- package/dist/neutral/components/index.d.mts +0 -6
- package/dist/neutral/components/index.d.mts.map +0 -1
- package/dist/neutral/components/index.d.ts +0 -6
- package/dist/neutral/components/index.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -248
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -2
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -2
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts +0 -2
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/index.js +0 -225
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/components/CardContentEx.d.cts +0 -10
- package/dist/node/components/CardContentEx.d.cts.map +0 -1
- package/dist/node/components/CardContentEx.d.mts +0 -10
- package/dist/node/components/CardContentEx.d.mts.map +0 -1
- package/dist/node/components/CardContentEx.d.ts +0 -10
- package/dist/node/components/CardContentEx.d.ts.map +0 -1
- package/dist/node/components/CardEx.d.cts +0 -7
- package/dist/node/components/CardEx.d.cts.map +0 -1
- package/dist/node/components/CardEx.d.mts +0 -7
- package/dist/node/components/CardEx.d.mts.map +0 -1
- package/dist/node/components/CardEx.d.ts +0 -7
- package/dist/node/components/CardEx.d.ts.map +0 -1
- package/dist/node/components/FullWidthCard/FullWidthCard.d.cts +0 -15
- package/dist/node/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
- package/dist/node/components/FullWidthCard/FullWidthCard.d.mts +0 -15
- package/dist/node/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
- package/dist/node/components/FullWidthCard/FullWidthCard.d.ts +0 -15
- package/dist/node/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
- package/dist/node/components/FullWidthCard/index.d.cts +0 -2
- package/dist/node/components/FullWidthCard/index.d.cts.map +0 -1
- package/dist/node/components/FullWidthCard/index.d.mts +0 -2
- package/dist/node/components/FullWidthCard/index.d.mts.map +0 -1
- package/dist/node/components/FullWidthCard/index.d.ts +0 -2
- package/dist/node/components/FullWidthCard/index.d.ts.map +0 -1
- package/dist/node/components/PageCard.d.cts +0 -10
- package/dist/node/components/PageCard.d.cts.map +0 -1
- package/dist/node/components/PageCard.d.mts +0 -10
- package/dist/node/components/PageCard.d.mts.map +0 -1
- package/dist/node/components/PageCard.d.ts +0 -10
- package/dist/node/components/PageCard.d.ts.map +0 -1
- package/dist/node/components/SimpleCard/SimpleCard.d.cts +0 -16
- package/dist/node/components/SimpleCard/SimpleCard.d.cts.map +0 -1
- package/dist/node/components/SimpleCard/SimpleCard.d.mts +0 -16
- package/dist/node/components/SimpleCard/SimpleCard.d.mts.map +0 -1
- package/dist/node/components/SimpleCard/SimpleCard.d.ts +0 -16
- package/dist/node/components/SimpleCard/SimpleCard.d.ts.map +0 -1
- package/dist/node/components/SimpleCard/index.d.cts +0 -2
- package/dist/node/components/SimpleCard/index.d.cts.map +0 -1
- package/dist/node/components/SimpleCard/index.d.mts +0 -2
- package/dist/node/components/SimpleCard/index.d.mts.map +0 -1
- package/dist/node/components/SimpleCard/index.d.ts +0 -2
- package/dist/node/components/SimpleCard/index.d.ts.map +0 -1
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -7
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -7
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -7
- package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
- package/dist/node/components/SimpleCardGrid/index.d.cts +0 -2
- package/dist/node/components/SimpleCardGrid/index.d.cts.map +0 -1
- package/dist/node/components/SimpleCardGrid/index.d.mts +0 -2
- package/dist/node/components/SimpleCardGrid/index.d.mts.map +0 -1
- package/dist/node/components/SimpleCardGrid/index.d.ts +0 -2
- package/dist/node/components/SimpleCardGrid/index.d.ts.map +0 -1
- package/dist/node/components/index.d.cts +0 -6
- package/dist/node/components/index.d.cts.map +0 -1
- package/dist/node/components/index.d.mts +0 -6
- package/dist/node/components/index.d.mts.map +0 -1
- package/dist/node/components/index.d.ts +0 -6
- package/dist/node/components/index.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -259
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -2
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -2
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -2
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.js +0 -226
- package/dist/node/index.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/components/CardContentEx.tsx","../../src/components/CardEx.tsx","../../src/components/FullWidthCard/FullWidthCard.tsx","../../src/components/PageCard.tsx","../../src/components/SimpleCard/SimpleCard.tsx"],"sourcesContent":["import { CardContent, CardContentProps, styled } from '@mui/material'\nimport { useShareForwardedRef } from '@xyo-network/react-shared'\nimport { forwardRef, useEffect } from 'react'\n\nconst CardContentExRoot = styled(CardContent, {\n name: 'CardContentEx',\n shouldForwardProp: (prop: string) => !['variant', 'removePadding'].includes(prop),\n slot: 'Root',\n})<CardContentExProps>(({ variant, removePadding }) => ({\n ...((variant === 'scrollable' || removePadding) && {\n [':last-child']: {\n paddingBottom: 0,\n },\n overflow: 'auto',\n paddingTop: 0,\n ...(removePadding && { padding: 0 }),\n }),\n}))\n\nexport type CardContentExProps = CardContentProps & {\n refreshRef?: number\n removePadding?: boolean\n scrollToTop?: number\n variant?: 'scrollable' | 'normal'\n}\n\nexport const CardContentExWithRef = forwardRef<HTMLDivElement | null, CardContentExProps>(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {\n const sharedRef = useShareForwardedRef<HTMLDivElement>(ref, refreshRef)\n\n useEffect(() => {\n if (sharedRef && scrollToTop) {\n sharedRef.current?.scroll({ behavior: 'smooth', top: 0 })\n }\n }, [sharedRef, scrollToTop])\n\n return <CardContentExRoot ref={sharedRef} {...props} />\n})\n\nCardContentExWithRef.displayName = 'CardContentEx'\n\nexport const CardContentEx = CardContentExWithRef\n","import { Card, CardProps } from '@mui/material'\nimport { useGradientStyles } from '@xyo-network/react-shared'\nimport { forwardRef } from 'react'\n\nexport interface CardExProps extends CardProps {\n gradient?: 'border' | 'background'\n}\n\nexport const CardExWithRef = forwardRef<HTMLDivElement, CardExProps>(({ style, gradient, ...props }, ref) => {\n const { styles } = useGradientStyles()\n const gradientStyle =\n gradient === 'border' ? styles.border\n : gradient === 'background' ? styles.background\n : {}\n return (\n <Card\n style={{\n ...gradientStyle,\n ...style,\n }}\n ref={ref}\n {...props}\n />\n )\n})\n\nCardExWithRef.displayName = 'CardEx'\n\nexport const CardEx = CardExWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, Card, CardActions, CardContent, CardMedia, CardProps, Grid, IconButton, Typography, useTheme, Zoom } from '@mui/material'\nimport { FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nexport interface FullWidthCardProps extends CardProps {\n cardIsButton?: boolean\n desc?: ReactNode\n href?: string\n linkText?: string\n media?: string\n name: ReactNode\n small?: boolean\n to?: To\n}\n\nexport const FullWidthCard: React.FC<FullWidthCardProps> = ({ cardIsButton, desc, href, media, name, small, to, ...props }) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n\n const localRouteChange = (to: To | undefined) => {\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n href ? window.open(href) : navigate('/404')\n }\n\n return (\n <Card\n elevation={raised ? 3 : 0}\n style={{ height: '100%', width: '100%' }}\n {...props}\n sx={{\n '&:hover': {\n cursor: 'pointer',\n },\n backgroundColor: alpha(theme.palette.primary.light, 0.05),\n }}\n onMouseEnter={() =>\n isMobile ? null\n : cardIsButton ? setRaised(true)\n : null\n }\n onMouseLeave={() =>\n isMobile ? null\n : cardIsButton ? setRaised(false)\n : null\n }\n onClick={() =>\n cardIsButton ?\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n : null\n }\n >\n {media ?\n <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent>\n <Grid container alignItems=\"center\" paddingY={2} paddingX={2}>\n <Grid item xs={12} md={6}>\n {typeof name === 'string' ?\n <Typography fontWeight={700} variant=\"h2\" textAlign=\"left\" paddingBottom={1}>\n {name}\n </Typography>\n : name}\n </Grid>\n <Grid item xs={12} md={5}>\n <Typography variant=\"body1\" fontWeight={400} textAlign=\"left\">\n {desc}\n </Typography>\n </Grid>\n <Grid item xs={1} display={isMobile ? 'none' : 'flex'} justifyContent=\"center\">\n <Zoom in={raised}>\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </Zoom>\n </Grid>\n </Grid>\n </CardContent>\n <CardActions sx={{ display: { md: isMobile ? 'flex' : 'none' } }}>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n </Card>\n )\n}\n","import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { CardHeader, CardHeaderProps, IconButton } from '@mui/material'\nimport { TypographyEx } from '@xyo-network/react-shared'\nimport { forwardRef, ReactNode } from 'react'\n\nimport { CardEx, CardExProps } from './CardEx.js'\n\nexport interface PageCardProps extends CardExProps {\n action?: ReactNode\n onRefresh?: () => void\n subheader?: CardHeaderProps['subheader']\n}\n\nconst PageCardWithRef = forwardRef<HTMLDivElement, PageCardProps>(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {\n return (\n <CardEx style={{ backgroundColor: 'transparent', position: 'relative', ...style }} elevation={0} ref={ref} {...props}>\n <CardHeader\n title={\n <TypographyEx variant=\"h5\" gutterBottom>\n {title}\n </TypographyEx>\n }\n subheader={<TypographyEx variant=\"subtitle1\">{subheader}</TypographyEx>}\n action={\n action ?? (\n <>\n {onRefresh ?\n <IconButton onClick={() => onRefresh?.()}>\n <RefreshIcon />\n </IconButton>\n : null}\n </>\n )\n }\n />\n {children}\n </CardEx>\n )\n})\n\nPageCardWithRef.displayName = 'PageCard'\n\nexport const PageCard = PageCardWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, CardActions, CardContent, CardMedia, IconButton, Typography, useTheme } from '@mui/material'\nimport { FlexCol, FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nimport { CardEx, CardExProps } from '../CardEx.js'\n\nexport interface SimpleCardProps extends CardExProps {\n desc?: ReactNode\n headline?: ReactNode\n href?: string\n iconImage?: string\n interactionVariant?: 'button' | 'card'\n media?: string\n small?: boolean\n subtitle?: string\n to?: To\n}\n\nexport const SimpleCard: React.FC<SimpleCardProps> = ({\n desc,\n iconImage,\n interactionVariant = 'card',\n headline,\n href,\n media,\n small,\n subtitle,\n sx,\n to,\n ...props\n}) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n const localRouteChange = (to: To | undefined) => {\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n href ? window.open(href) : navigate('/404')\n }\n return (\n <CardEx\n elevation={raised ? 3 : 0}\n sx={{\n '&:hover': {\n cursor: interactionVariant == 'button' ? 'pointer' : null,\n },\n backgroundColor: alpha(theme.palette.primary.light, 0.05),\n ...sx,\n }}\n onMouseEnter={() =>\n isMobile ? null\n : interactionVariant == 'button' ? setRaised(true)\n : null\n }\n onMouseLeave={() =>\n isMobile ? null\n : interactionVariant == 'button' ? setRaised(false)\n : null\n }\n onClick={() =>\n interactionVariant == 'button' ?\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n : null\n }\n {...props}\n >\n {media ?\n <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent sx={{ height: '100%' }}>\n <FlexCol width=\"100%\" alignItems=\"flex-start\">\n {iconImage ?\n <img src={iconImage} height=\"40px\" style={{ paddingBottom: '8px' }} />\n : null}\n {typeof headline === 'string' ?\n <Typography variant={small ? 'body1' : 'h6'} textAlign=\"left\" gutterBottom>\n {headline}\n </Typography>\n : headline}\n {subtitle ?\n <Typography variant=\"subtitle2\" textAlign=\"left\" gutterBottom>\n {subtitle}\n </Typography>\n : null}\n <Typography variant={small ? 'caption' : 'body1'} textAlign=\"left\" gutterBottom>\n {desc}\n </Typography>\n </FlexCol>\n </CardContent>\n {interactionVariant == 'button' ?\n <CardActions>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color={raised ? 'secondary' : 'primary'}\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href ? externalRouteChange(href)\n : to ? localRouteChange(to)\n : navigate('/404')\n }\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n : null}\n </CardEx>\n )\n}\n"],"mappings":";AAAA,SAAS,aAA+B,cAAc;AACtD,SAAS,4BAA4B;AACrC,SAAS,YAAY,iBAAiB;AAiC7B;AA/BT,IAAM,oBAAoB,OAAO,aAAa;AAAA,EAC5C,MAAM;AAAA,EACN,mBAAmB,CAAC,SAAiB,CAAC,CAAC,WAAW,eAAe,EAAE,SAAS,IAAI;AAAA,EAChF,MAAM;AACR,CAAC,EAAsB,CAAC,EAAE,SAAS,cAAc,OAAO;AAAA,EACtD,IAAK,YAAY,gBAAgB,kBAAkB;AAAA,IACjD,CAAC,aAAa,GAAG;AAAA,MACf,eAAe;AAAA,IACjB;AAAA,IACA,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,GAAI,iBAAiB,EAAE,SAAS,EAAE;AAAA,EACpC;AACF,EAAE;AASK,IAAM,uBAAuB,WAAsD,CAAC,EAAE,cAAc,GAAG,aAAa,GAAG,GAAG,MAAM,GAAG,QAAQ;AAChJ,QAAM,YAAY,qBAAqC,KAAK,UAAU;AAEtE,YAAU,MAAM;AACd,QAAI,aAAa,aAAa;AAC5B,gBAAU,SAAS,OAAO,EAAE,UAAU,UAAU,KAAK,EAAE,CAAC;AAAA,IAC1D;AAAA,EACF,GAAG,CAAC,WAAW,WAAW,CAAC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eAAa;AAAA,YACb,oBAAkB;AAAA,YAElB,0BAAAd,KAACe,0BAAA,EAAwB,UAAU,QAAQ,UAAU,UAAU;AAAA;AAAA,QACjE,GACF,GACF,IACA;AAAA;AAAA;AAAA,EACJ;AAEJ;","names":["forwardRef","jsx","Card","CardContent","jsx","to","href","IconButton","forwardRef","jsx","jsxs","forwardRef","IconButton","ArrowForwardRoundedIcon","alpha","CardActions","CardContent","CardMedia","IconButton","Typography","useTheme","FlexGrowCol","useIsMobile","useState","useNavigate","jsx","jsxs","useTheme","useState","useNavigate","useIsMobile","to","href","alpha","CardMedia","CardContent","Typography","CardActions","FlexGrowCol","IconButton","ArrowForwardRoundedIcon"]}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardContentProps } from '@mui/material';
|
2
|
-
export type CardContentExProps = CardContentProps & {
|
3
|
-
refreshRef?: number;
|
4
|
-
removePadding?: boolean;
|
5
|
-
scrollToTop?: number;
|
6
|
-
variant?: 'scrollable' | 'normal';
|
7
|
-
};
|
8
|
-
export declare const CardContentExWithRef: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
9
|
-
export declare const CardContentEx: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
10
|
-
//# sourceMappingURL=CardContentEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAmBrE,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,mIAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,mIAAuB,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardContentProps } from '@mui/material';
|
2
|
-
export type CardContentExProps = CardContentProps & {
|
3
|
-
refreshRef?: number;
|
4
|
-
removePadding?: boolean;
|
5
|
-
scrollToTop?: number;
|
6
|
-
variant?: 'scrollable' | 'normal';
|
7
|
-
};
|
8
|
-
export declare const CardContentExWithRef: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
9
|
-
export declare const CardContentEx: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
10
|
-
//# sourceMappingURL=CardContentEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAmBrE,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,mIAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,mIAAuB,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardContentProps } from '@mui/material';
|
2
|
-
export type CardContentExProps = CardContentProps & {
|
3
|
-
refreshRef?: number;
|
4
|
-
removePadding?: boolean;
|
5
|
-
scrollToTop?: number;
|
6
|
-
variant?: 'scrollable' | 'normal';
|
7
|
-
};
|
8
|
-
export declare const CardContentExWithRef: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
9
|
-
export declare const CardContentEx: import("react").ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
10
|
-
//# sourceMappingURL=CardContentEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAmBrE,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,mIAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,mIAAuB,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
export interface CardExProps extends CardProps {
|
3
|
-
gradient?: 'border' | 'background';
|
4
|
-
}
|
5
|
-
export declare const CardExWithRef: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
-
export declare const CardEx: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
7
|
-
//# sourceMappingURL=CardEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAI/C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,qHAgBxB,CAAA;AAIF,eAAO,MAAM,MAAM,qHAAgB,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
export interface CardExProps extends CardProps {
|
3
|
-
gradient?: 'border' | 'background';
|
4
|
-
}
|
5
|
-
export declare const CardExWithRef: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
-
export declare const CardEx: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
7
|
-
//# sourceMappingURL=CardEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAI/C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,qHAgBxB,CAAA;AAIF,eAAO,MAAM,MAAM,qHAAgB,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
export interface CardExProps extends CardProps {
|
3
|
-
gradient?: 'border' | 'background';
|
4
|
-
}
|
5
|
-
export declare const CardExWithRef: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
-
export declare const CardEx: import("react").ForwardRefExoticComponent<Omit<CardExProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
7
|
-
//# sourceMappingURL=CardEx.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAI/C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,qHAgBxB,CAAA;AAIF,eAAO,MAAM,MAAM,qHAAgB,CAAA"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { To } from 'react-router-dom';
|
4
|
-
export interface FullWidthCardProps extends CardProps {
|
5
|
-
cardIsButton?: boolean;
|
6
|
-
desc?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
linkText?: string;
|
9
|
-
media?: string;
|
10
|
-
name: ReactNode;
|
11
|
-
small?: boolean;
|
12
|
-
to?: To;
|
13
|
-
}
|
14
|
-
export declare const FullWidthCard: React.FC<FullWidthCardProps>;
|
15
|
-
//# sourceMappingURL=FullWidthCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoGtD,CAAA"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { To } from 'react-router-dom';
|
4
|
-
export interface FullWidthCardProps extends CardProps {
|
5
|
-
cardIsButton?: boolean;
|
6
|
-
desc?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
linkText?: string;
|
9
|
-
media?: string;
|
10
|
-
name: ReactNode;
|
11
|
-
small?: boolean;
|
12
|
-
to?: To;
|
13
|
-
}
|
14
|
-
export declare const FullWidthCard: React.FC<FullWidthCardProps>;
|
15
|
-
//# sourceMappingURL=FullWidthCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoGtD,CAAA"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { CardProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { To } from 'react-router-dom';
|
4
|
-
export interface FullWidthCardProps extends CardProps {
|
5
|
-
cardIsButton?: boolean;
|
6
|
-
desc?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
linkText?: string;
|
9
|
-
media?: string;
|
10
|
-
name: ReactNode;
|
11
|
-
small?: boolean;
|
12
|
-
to?: To;
|
13
|
-
}
|
14
|
-
export declare const FullWidthCard: React.FC<FullWidthCardProps>;
|
15
|
-
//# sourceMappingURL=FullWidthCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoGtD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardHeaderProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { CardExProps } from './CardEx.js';
|
4
|
-
export interface PageCardProps extends CardExProps {
|
5
|
-
action?: ReactNode;
|
6
|
-
onRefresh?: () => void;
|
7
|
-
subheader?: CardHeaderProps['subheader'];
|
8
|
-
}
|
9
|
-
export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
10
|
-
//# sourceMappingURL=PageCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardHeaderProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { CardExProps } from './CardEx.js';
|
4
|
-
export interface PageCardProps extends CardExProps {
|
5
|
-
action?: ReactNode;
|
6
|
-
onRefresh?: () => void;
|
7
|
-
subheader?: CardHeaderProps['subheader'];
|
8
|
-
}
|
9
|
-
export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
10
|
-
//# sourceMappingURL=PageCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardHeaderProps } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
3
|
-
import { CardExProps } from './CardEx.js';
|
4
|
-
export interface PageCardProps extends CardExProps {
|
5
|
-
action?: ReactNode;
|
6
|
-
onRefresh?: () => void;
|
7
|
-
subheader?: CardHeaderProps['subheader'];
|
8
|
-
}
|
9
|
-
export declare const PageCard: import("react").ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
10
|
-
//# sourceMappingURL=PageCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AA+BD,eAAO,MAAM,QAAQ,uHAAkB,CAAA"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { To } from 'react-router-dom';
|
3
|
-
import { CardExProps } from '../CardEx.js';
|
4
|
-
export interface SimpleCardProps extends CardExProps {
|
5
|
-
desc?: ReactNode;
|
6
|
-
headline?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
iconImage?: string;
|
9
|
-
interactionVariant?: 'button' | 'card';
|
10
|
-
media?: string;
|
11
|
-
small?: boolean;
|
12
|
-
subtitle?: string;
|
13
|
-
to?: To;
|
14
|
-
}
|
15
|
-
export declare const SimpleCard: React.FC<SimpleCardProps>;
|
16
|
-
//# sourceMappingURL=SimpleCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { To } from 'react-router-dom';
|
3
|
-
import { CardExProps } from '../CardEx.js';
|
4
|
-
export interface SimpleCardProps extends CardExProps {
|
5
|
-
desc?: ReactNode;
|
6
|
-
headline?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
iconImage?: string;
|
9
|
-
interactionVariant?: 'button' | 'card';
|
10
|
-
media?: string;
|
11
|
-
small?: boolean;
|
12
|
-
subtitle?: string;
|
13
|
-
to?: To;
|
14
|
-
}
|
15
|
-
export declare const SimpleCard: React.FC<SimpleCardProps>;
|
16
|
-
//# sourceMappingURL=SimpleCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { To } from 'react-router-dom';
|
3
|
-
import { CardExProps } from '../CardEx.js';
|
4
|
-
export interface SimpleCardProps extends CardExProps {
|
5
|
-
desc?: ReactNode;
|
6
|
-
headline?: ReactNode;
|
7
|
-
href?: string;
|
8
|
-
iconImage?: string;
|
9
|
-
interactionVariant?: 'button' | 'card';
|
10
|
-
media?: string;
|
11
|
-
small?: boolean;
|
12
|
-
subtitle?: string;
|
13
|
-
to?: To;
|
14
|
-
}
|
15
|
-
export declare const SimpleCard: React.FC<SimpleCardProps>;
|
16
|
-
//# sourceMappingURL=SimpleCard.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkGhD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { GridProps } from '@mui/material';
|
2
|
-
import { SimpleCardProps } from '../SimpleCard/index.js';
|
3
|
-
export interface SimpleCardGridProps extends GridProps {
|
4
|
-
cards?: SimpleCardProps[];
|
5
|
-
}
|
6
|
-
export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
|
7
|
-
//# sourceMappingURL=SimpleCardGrid.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { GridProps } from '@mui/material';
|
2
|
-
import { SimpleCardProps } from '../SimpleCard/index.js';
|
3
|
-
export interface SimpleCardGridProps extends GridProps {
|
4
|
-
cards?: SimpleCardProps[];
|
5
|
-
}
|
6
|
-
export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
|
7
|
-
//# sourceMappingURL=SimpleCardGrid.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { GridProps } from '@mui/material';
|
2
|
-
import { SimpleCardProps } from '../SimpleCard/index.js';
|
3
|
-
export interface SimpleCardGridProps extends GridProps {
|
4
|
-
cards?: SimpleCardProps[];
|
5
|
-
}
|
6
|
-
export declare const SimpleCardGrid: React.FC<SimpleCardGridProps>;
|
7
|
-
//# sourceMappingURL=SimpleCardGrid.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SimpleCardGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/SimpleCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAc,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCardGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
|