{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "call-volume-trends",
  "type": "registry:item",
  "title": "Call Volume Trends",
  "description": "A call-volume-trends block.",
  "dependencies": [
    "@mui/material",
    "@mui/x-charts",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "blocks/call-volume-trends/call-volume-trends.tsx",
      "target": "src/mui-treasury/blocks/call-volume-trends/call-volume-trends.tsx",
      "content": "'use client';\n\nimport { Box, Card, Stack, Typography } from '@mui/material';\nimport { LineChart } from '@mui/x-charts/LineChart';\n\nexport function CallVolumeTrends() {\n  const timePoints = [\n    '00:00',\n    '02:00',\n    '04:00',\n    '06:00',\n    '08:00',\n    '10:00',\n    '11:59',\n  ];\n\n  const todayData = [520, 510, 490, 510, 540, 580, 573];\n  const yesterdayData = [440, 430, 420, 430, 450, 470, 451];\n\n  return (\n    <Card\n      sx={{\n        p: 3,\n        borderRadius: 2,\n      }}\n    >\n      <Stack spacing={3}>\n        <Typography variant=\"h6\" sx={{ color: 'text.secondary' }}>\n          Call Volume Trends\n        </Typography>\n\n        <Box sx={{ display: 'flex', flexDirection: 'row', gap: 4 }}>\n          <Stack spacing={1.5}>\n            <Box>\n              <Stack\n                direction=\"row\"\n                spacing={1}\n                sx={{\n                  alignItems: 'center',\n                  mb: 0.5,\n                }}\n              >\n                <Box\n                  sx={{\n                    width: 14,\n                    height: 14,\n                    borderRadius: 0.5,\n                    bgcolor: '#2196f3',\n                  }}\n                />\n                <Typography variant=\"body2\" sx={{ color: 'text.primary' }}>\n                  Today\n                </Typography>\n              </Stack>\n              <Typography\n                variant=\"h3\"\n                sx={{\n                  fontWeight: 600,\n                  fontSize: '3rem',\n                  lineHeight: 1.2,\n                }}\n              >\n                573\n              </Typography>\n            </Box>\n\n            <Box>\n              <Stack\n                direction=\"row\"\n                spacing={1}\n                sx={{\n                  alignItems: 'center',\n                  mb: 0.5,\n                }}\n              >\n                <Box\n                  sx={{\n                    width: 14,\n                    height: 14,\n                    borderRadius: 0.5,\n                    bgcolor: 'grey.400',\n                  }}\n                />\n                <Typography variant=\"body2\" sx={{ color: 'text.primary' }}>\n                  Yesterday\n                </Typography>\n              </Stack>\n              <Typography\n                variant=\"h3\"\n                sx={{\n                  fontWeight: 600,\n                  fontSize: '3rem',\n                  lineHeight: 1.2,\n                }}\n              >\n                451\n              </Typography>\n            </Box>\n          </Stack>\n\n          <Box sx={{ position: 'relative', mt: 1, flex: 1, minWidth: 280 }}>\n            <LineChart\n              height={160}\n              series={[\n                {\n                  data: todayData,\n                  color: '#2196f3',\n                  curve: 'monotoneX',\n                  showMark: false,\n                },\n                {\n                  data: yesterdayData,\n                  color: '#9e9e9e',\n                  curve: 'monotoneX',\n                  showMark: false,\n                },\n              ]}\n              xAxis={[\n                {\n                  position: 'bottom',\n                  data: timePoints,\n                  scaleType: 'point',\n                  disableTicks: true,\n                  disableLine: true,\n                  tickLabelPlacement: 'middle',\n                },\n              ]}\n              yAxis={[\n                {\n                  position: 'none',\n                },\n              ]}\n              margin={{\n                left: 10,\n                right: 10,\n                top: 20,\n                bottom: 40,\n              }}\n              sx={{\n                '.MuiLineElement-root': {\n                  strokeWidth: 2.5,\n                },\n                '.MuiChartsAxis-tickLabel': {\n                  display: 'none',\n                },\n                '.MuiChartsAxis-line': {\n                  stroke: 'transparent',\n                },\n                '.MuiChartsAxis-tick': {\n                  display: 'none',\n                },\n              }}\n            />\n            <Stack\n              direction=\"row\"\n              sx={{\n                justifyContent: 'space-between',\n                position: 'absolute',\n                bottom: 10,\n                left: 10,\n                right: 10,\n              }}\n            >\n              <Typography\n                variant=\"body2\"\n                sx={{ color: 'text.secondary', fontSize: '0.875rem' }}\n              >\n                0:00 AM\n              </Typography>\n              <Typography\n                variant=\"body2\"\n                sx={{ color: 'text.secondary', fontSize: '0.875rem' }}\n              >\n                11:59 AM\n              </Typography>\n            </Stack>\n          </Box>\n        </Box>\n      </Stack>\n    </Card>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "blocks/call-volume-trends/index.ts",
      "target": "src/mui-treasury/blocks/call-volume-trends/index.ts",
      "content": "export * from './call-volume-trends';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "screenshot": "/og/call-volume-trends.png",
    "category": "block",
    "exportName": "CallVolumeTrends",
    "subcategory": "dashboard"
  }
}