{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "brand-wordpress-icon",
  "dependencies": ["motion"],
  "devDependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "icons/brand-wordpress-icon.tsx",
      "content": "import { forwardRef, useImperativeHandle, useCallback } from \"react\";\nimport type { AnimatedIconHandle, AnimatedIconProps } from \"./types\";\nimport { motion, useAnimate } from \"motion/react\";\n\nconst BrandWordPressIcon = forwardRef<AnimatedIconHandle, AnimatedIconProps>(\n  (\n    { size = 24, color = \"currentColor\", strokeWidth = 2, className = \"\" },\n    ref,\n  ) => {\n    const [scope, animate] = useAnimate();\n\n    const start = useCallback(() => {\n      // 1. Orbit Group Rotation: Rotate all internal elements together\n      animate(\n        \".wp-orbit-group\",\n        { rotate: 360 },\n        { duration: 1, ease: \"easeInOut\" },\n      );\n\n      // 2. Subtle pulse for the whole icon to feel alive\n      animate(\n        scope.current,\n        { scale: 1.02 },\n        { duration: 0.3, ease: \"easeOut\" },\n      );\n    }, [animate, scope]);\n\n    const stop = useCallback(() => {\n      animate(\n        \".wp-orbit-group\",\n        { rotate: 0 },\n        { duration: 0.5, ease: \"easeInOut\" },\n      );\n      animate(scope.current, { scale: 1 }, { duration: 0.3, ease: \"easeOut\" });\n    }, [animate, scope]);\n\n    useImperativeHandle(\n      ref,\n      () => ({\n        startAnimation: start,\n        stopAnimation: stop,\n      }),\n      [start, stop],\n    );\n\n    return (\n      <motion.svg\n        ref={scope}\n        onHoverStart={start}\n        onHoverEnd={stop}\n        xmlns=\"http://www.w3.org/2000/svg\"\n        width={size}\n        height={size}\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke={color}\n        strokeWidth={strokeWidth}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        className={`cursor-pointer ${className}`}\n        style={{ overflow: \"visible\" }}\n      >\n        {/* Orbit Group: Everything except the circle */}\n        <motion.g\n          className=\"wp-orbit-group\"\n          style={{ originX: \"7px\", originY: \"7px\" }}\n        >\n          {/* Horizontal Bars */}\n          <path d=\"M9.5 9h3\" />\n          <path d=\"M4 9h2.5\" />\n\n          {/* W Segments */}\n          <path d=\"M11 9l3 11l4 -9\" />\n          <path d=\"M5.5 9l3.5 11l3 -7\" />\n\n          {/* Ink Flourish */}\n          <path d=\"M18 11c.177 -.528 1 -1.364 1 -2.5c0 -1.78 -.776 -2.5 -1.875 -2.5c-.898 0 -1.125 .812 -1.125 1.429c0 1.83 2 2.058 2 3.571\" />\n        </motion.g>\n\n        {/* Outer Circle (Static Orbit Path) */}\n        <path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" />\n      </motion.svg>\n    );\n  },\n);\n\nBrandWordPressIcon.displayName = \"BrandWordPressIcon\";\nexport default BrandWordPressIcon;\n",
      "type": "registry:ui"
    },
    {
      "path": "icons/types.ts",
      "content": "import type { SVGProps } from \"react\";\n\n/** Standard stroke width for 24×24 outline icons */\nexport const DEFAULT_STROKE_WIDTH = 2;\n\n/** Scale stroke to match DEFAULT_STROKE_WIDTH on non-24 viewBoxes */\nexport function scaledStrokeWidth(\n  strokeWidth: number,\n  viewBoxSize: number,\n): number {\n  return strokeWidth * (viewBoxSize / 24);\n}\n\nexport type IconEasing =\n  | \"linear\"\n  | \"easeIn\"\n  | \"easeOut\"\n  | \"easeInOut\"\n  | \"circIn\"\n  | \"circOut\"\n  | \"circInOut\"\n  | \"backIn\"\n  | \"backOut\"\n  | \"backInOut\"\n  | \"anticipate\";\n\nexport interface AnimatedIconProps extends Omit<\n  SVGProps<SVGSVGElement>,\n  | \"ref\"\n  | \"onAnimationStart\"\n  | \"onAnimationEnd\"\n  | \"onAnimationIteration\"\n  | \"onDrag\"\n  | \"onDragEnd\"\n  | \"onDragEnter\"\n  | \"onDragExit\"\n  | \"onDragLeave\"\n  | \"onDragOver\"\n  | \"onDragStart\"\n  | \"onDrop\"\n  | \"values\"\n> {\n  /** Icon size in pixels or CSS string */\n  size?: number | string;\n  /** Icon color (defaults to currentColor) */\n  color?: string;\n  /** SVG stroke width */\n  strokeWidth?: number;\n  /** Additional CSS classes */\n  className?: string;\n}\n\nexport interface AnimatedIconHandle {\n  startAnimation: () => void;\n  stopAnimation: () => void;\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}
