{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "arrow-right-circle",
  "type": "registry:component",
  "title": "arrow-right-circle",
  "description": "Animated arrow-right-circle icon for Angular",
  "author": "Aniket Pawar <pawaraniket508@gmail.com>",
  "registryDependencies": [],
  "dependencies": [],
  "files": [
    {
      "path": "packages/angular/src/icons/arrow-right-circle.ts",
      "type": "registry:component",
      "target": "~/src/app/components/heroicons-animated/arrow-right-circle.ts",
      "content": "import {\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  input,\n  signal,\n} from \"@angular/core\";\n\n@Component({\n  selector: \"hi-arrow-right-circle\",\n  standalone: true,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  host: {\n    \"[attr.aria-label]\": \"'arrow-right-circle'\",\n    role: \"img\",\n    \"(mouseenter)\": \"onMouseEnter()\",\n    \"(mouseleave)\": \"onMouseLeave()\",\n  },\n  template: `<svg\n    xmlns=\"http://www.w3.org/2000/svg\"\n    [attr.width]=\"size()\"\n    [attr.height]=\"size()\"\n    viewBox=\"0 0 24 24\"\n    fill=\"none\"\n    [attr.stroke]=\"color()\"\n    [attr.stroke-width]=\"strokeWidth()\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n    class=\"icon-svg\"\n  >\n    <path d=\"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\" />\n    <g class=\"arrow-group\" [class.animate]=\"shouldAnimate()\">\n      <path d=\"m12.75 15 3-3m0 0-3-3m3 3h-7.5\" />\n    </g>\n  </svg>`,\n  styles: [\n    `\n      :host {\n        display: inline-block;\n      }\n\n      .icon-svg {\n        transform-box: fill-box;\n        transform-origin: center;\n      }\n\n      .arrow-group {\n        transform-box: fill-box;\n        transform-origin: center;\n        transition: transform 0.5s ease-in-out;\n      }\n\n      .arrow-group.animate {\n        animation: arrow-translate 0.5s ease-in-out forwards;\n      }\n\n      @keyframes arrow-translate {\n        0% {\n          transform: translateX(0);\n        }\n        40% {\n          transform: translateX(2px);\n        }\n        100% {\n          transform: translateX(0);\n        }\n      }\n    `,\n  ],\n})\nexport class ArrowRightCircleIcon {\n  readonly color = input(\"currentColor\");\n  readonly size = input(28);\n  readonly strokeWidth = input(1.5);\n  readonly animate = input(false);\n\n  protected isHovered = signal(false);\n  protected shouldAnimate = computed(() => this.animate() || this.isHovered());\n\n  onMouseEnter() {\n    this.isHovered.set(true);\n  }\n\n  onMouseLeave() {\n    this.isHovered.set(false);\n  }\n}\n"
    }
  ]
}
