{"version":3,"file":"GentleAsk.mjs","names":[],"sources":["../../../src/web/components/GentleAsk.tsx"],"sourcesContent":["import { Button, Panel } from '@agimon-ai/po-web-components';\nimport type { ReactNode } from 'react';\n\n/**\n * A Home card for something the person may want to do, whenever they are ready: rose, never\n * red, and never more than one action.\n */\nexport function GentleAsk({\n  icon,\n  title,\n  description,\n  action,\n  onAction,\n  testId,\n}: {\n  icon: ReactNode;\n  title: string;\n  description: string;\n  action: string;\n  onAction: () => void;\n  testId: string;\n}) {\n  return (\n    <Panel\n      data-testid={testId}\n      aria-label={title}\n      className=\"flex min-w-0 flex-col gap-3 border-po-edge-magenta bg-po-tint-magenta p-4\"\n    >\n      <div className=\"flex flex-col gap-1\">\n        <div className=\"flex items-center gap-2 text-po-magenta\">\n          {icon}\n          <h2 className=\"text-base font-semibold text-po-hi\">{title}</h2>\n        </div>\n        <p className=\"text-sm text-po-dim\">{description}</p>\n      </div>\n      <Button variant=\"secondary\" size=\"md\" className=\"self-start\" onClick={onAction}>\n        {action}\n      </Button>\n    </Panel>\n  );\n}\n"],"mappings":";;;;;;;AAOA,SAAgB,UAAU,EACxB,MACA,OACA,aACA,QACA,UACA,UAQC;CACD,OACE,qBAAC,OAAD;EACE,eAAa;EACb,cAAY;EACZ,WAAU;EAHZ,UAAA,CAKE,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACG,MACD,oBAAC,MAAD;KAAI,WAAU;KAAsC,UAAA;IAAU,CAAA,CAC3D;GACL,CAAA,GAAA,oBAAC,KAAD;IAAG,WAAU;IAAuB,UAAA;GAAe,CAAA,CAChD;EACL,CAAA,GAAA,oBAAC,QAAD;GAAQ,SAAQ;GAAY,MAAK;GAAK,WAAU;GAAa,SAAS;GACnE,UAAA;EACK,CAAA,CACH;;AAEX"}