{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ai-actions",
  "type": "registry:item",
  "title": "AI Actions",
  "description": "Interactive AI action components",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "components/ai-actions/ai-actions.tsx",
      "target": "src/mui-treasury/components/ai-actions/ai-actions.tsx",
      "content": "'use client';\n\nimport { type ComponentProps, memo } from 'react';\n\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport Tooltip from '@mui/material/Tooltip';\n\nexport type ActionsProps = ComponentProps<typeof Box>;\n\nexport const Actions = ({ children, sx, ...props }: ActionsProps) => (\n  <Box\n    sx={{\n      display: 'flex',\n      alignItems: 'center',\n      gap: 0.5,\n      ...sx,\n    }}\n    {...props}\n  >\n    {children}\n  </Box>\n);\n\nexport type ActionProps = ComponentProps<typeof IconButton> & {\n  tooltip?: string;\n  label?: string;\n};\n\nexport const Action = memo(\n  ({ tooltip, children, label, size = 'small', sx, ...props }: ActionProps) => {\n    const button = (\n      <IconButton\n        size={size}\n        type=\"button\"\n        sx={{\n          position: 'relative',\n          width: 36,\n          height: 36,\n          p: 0.75,\n          color: 'text.secondary',\n          '&:hover': {\n            color: 'text.primary',\n            bgcolor: 'action.hover',\n          },\n          ...sx,\n        }}\n        aria-label={label || tooltip}\n        {...props}\n      >\n        {children}\n      </IconButton>\n    );\n\n    if (tooltip) {\n      return (\n        <Tooltip title={tooltip} arrow>\n          {button}\n        </Tooltip>\n      );\n    }\n\n    return button;\n  },\n);\n\nAction.displayName = 'Action';\n",
      "type": "registry:item"
    },
    {
      "path": "components/ai-actions/index.ts",
      "target": "src/mui-treasury/components/ai-actions/index.ts",
      "content": "export * from './ai-actions';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "ai",
    "subcategory": "elements"
  }
}