{"version":3,"sources":["../src/components/NoSearchResult/NoSearchResult.tsx"],"sourcesContent":["import Text from '../Text/Text';\n\nexport interface NoSearchResultProps {\n  /**\n   * Image source for the illustration\n   */\n  image: string;\n  /**\n   * Title text to display\n   * @default \"Nenhum resultado encontrado\"\n   */\n  title?: string;\n  /**\n   * Description text to display below the title\n   * @default \"Não encontramos nenhum resultado com esse nome. Tente revisar a busca ou usar outra palavra-chave.\"\n   */\n  description?: string;\n}\n\n/**\n * Component displayed when no search results are found\n * Shows an illustration with customizable title and description in horizontal layout\n *\n * @example\n * ```tsx\n * import { NoSearchResult } from 'analytica-frontend-lib';\n * import noSearchImage from './assets/no-search.png';\n *\n * <NoSearchResult\n *   image={noSearchImage}\n *   title=\"Nenhum resultado encontrado\"\n *   description=\"Tente usar outros filtros\"\n * />\n * ```\n */\nconst NoSearchResult = ({ image, title, description }: NoSearchResultProps) => {\n  const displayTitle = title || 'Nenhum resultado encontrado';\n  const displayDescription =\n    description ||\n    'Não encontramos nenhum resultado com esse nome. Tente revisar a busca ou usar outra palavra-chave.';\n\n  return (\n    <div className=\"flex flex-col lg:flex-row justify-center items-center gap-6 lg:gap-8 w-full max-w-4xl min-h-96 px-4 lg:px-0\">\n      {/* Illustration */}\n      <div className=\"w-48 h-48 lg:w-72 lg:h-72 flex-shrink-0 relative max-w-full\">\n        <img\n          src={image}\n          alt=\"No search results\"\n          className=\"w-full h-full object-contain\"\n        />\n      </div>\n\n      {/* Text Content */}\n      <div className=\"flex flex-col items-center lg:items-start w-full max-w-md min-w-0\">\n        {/* Header Container */}\n        <div className=\"flex flex-row justify-center lg:justify-between items-end px-6 pt-6 pb-4 w-full rounded-t-xl\">\n          {/* Title */}\n          <Text\n            as=\"h2\"\n            className=\"text-text-950 font-semibold text-xl lg:text-3xl leading-tight w-full flex items-center justify-center lg:justify-start text-center lg:text-left\"\n          >\n            {displayTitle}\n          </Text>\n        </div>\n\n        {/* Description Container */}\n        <div className=\"flex flex-row justify-center items-center px-6 gap-2 w-full\">\n          {/* Description */}\n          <Text className=\"text-text-600 font-normal text-base lg:text-lg leading-relaxed w-full text-center lg:text-justify\">\n            {displayDescription}\n          </Text>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default NoSearchResult;\n"],"mappings":";;;;;AA6CQ,cAQF,YARE;AAVR,IAAM,iBAAiB,CAAC,EAAE,OAAO,OAAO,YAAY,MAA2B;AAC7E,QAAM,eAAe,SAAS;AAC9B,QAAM,qBACJ,eACA;AAEF,SACE,qBAAC,SAAI,WAAU,+GAEb;AAAA,wBAAC,SAAI,WAAU,+DACb;AAAA,MAAC;AAAA;AAAA,QACC,KAAK;AAAA,QACL,KAAI;AAAA,QACJ,WAAU;AAAA;AAAA,IACZ,GACF;AAAA,IAGA,qBAAC,SAAI,WAAU,qEAEb;AAAA,0BAAC,SAAI,WAAU,gGAEb;AAAA,QAAC;AAAA;AAAA,UACC,IAAG;AAAA,UACH,WAAU;AAAA,UAET;AAAA;AAAA,MACH,GACF;AAAA,MAGA,oBAAC,SAAI,WAAU,+DAEb,8BAAC,gBAAK,WAAU,qGACb,8BACH,GACF;AAAA,OACF;AAAA,KACF;AAEJ;AAEA,IAAO,yBAAQ;","names":[]}