{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "left-to-right-list-bullet",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "left-to-right-list-bullet-icon.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport type { Variants } from \"motion/react\";\nimport {\n LazyMotion,\n domMin,\n m,\n useAnimation,\n useReducedMotion,\n} from \"motion/react\";\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useRef,\n type HTMLAttributes,\n} from \"react\";\nexport interface LeftToRightListBulletIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface LeftToRightListBulletIconProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n | \"color\"\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> {\n size?: number;\n duration?: number;\n isAnimated?: boolean;\n color?: string;\n}\n\nconst LeftToRightListBulletIcon = forwardRef<\n LeftToRightListBulletIconHandle,\n LeftToRightListBulletIconProps\n>(\n (\n  {\n   onMouseEnter,\n   onMouseLeave,\n   className,\n   size = 24,\n   duration = 1,\n   isAnimated = true,\n   color,\n   ...props\n  },\n  ref,\n ) => {\n  const controls = useAnimation();\n  const reduced = useReducedMotion();\n  const isControlled = useRef(false);\n\n  useImperativeHandle(ref, () => {\n   isControlled.current = true;\n   return {\n    startAnimation: () =>\n     reduced ? controls.start(\"normal\") : controls.start(\"animate\"),\n    stopAnimation: () => controls.start(\"normal\"),\n   };\n  });\n\n  const handleEnter = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isAnimated || reduced) return;\n    if (!isControlled.current) controls.start(\"animate\");\n    else onMouseEnter?.(e as any);\n   },\n   [controls, reduced, isAnimated, onMouseEnter],\n  );\n\n  const handleLeave = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isControlled.current) controls.start(\"normal\");\n    else onMouseLeave?.(e as any);\n   },\n   [controls, onMouseLeave],\n  );\n\n  const rowVariants = (delay: number): Variants => ({\n   normal: { scaleX: 1 },\n   animate: {\n    scaleX: [0.3, 1],\n    transition: {\n     duration: 0.4 * duration,\n     ease: \"easeOut\",\n     delay: delay * duration,\n    },\n   },\n  });\n\n  const markVariants = (delay: number): Variants => ({\n   normal: { scale: 1 },\n   animate: {\n    scale: [1, 1.8, 1],\n    transition: {\n     duration: 0.35 * duration,\n     ease: \"easeInOut\",\n     delay: delay * duration,\n    },\n   },\n  });\n\n  return (\n   <LazyMotion features={domMin} strict>\n    <m.div\n     className={cn(\"inline-flex items-center justify-center\", className)}\n     onMouseEnter={handleEnter}\n     onMouseLeave={handleLeave}\n     {...props}\n     style={{ color, ...props.style }}\n    >\n     <m.svg\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=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      animate={controls}\n      initial=\"normal\"\n     >\n      <m.path\n       d=\"M8 5.5L20 5.5\"\n       variants={rowVariants(0)}\n       style={{ transformBox: \"view-box\", originX: \"8px\", originY: \"5.5px\" }}\n      />\n      <m.path\n       d=\"M8 12.5L20 12.5\"\n       variants={rowVariants(0.12)}\n       style={{ transformBox: \"view-box\", originX: \"8px\", originY: \"12.5px\" }}\n      />\n      <m.path\n       d=\"M8 19.5L20 19.5\"\n       variants={rowVariants(0.24)}\n       style={{ transformBox: \"view-box\", originX: \"8px\", originY: \"19.5px\" }}\n      />\n      <m.path\n       d=\"M4.375 5.5H4.25M4.5 5.5C4.5 5.63807 4.38807 5.75 4.25 5.75C4.11193 5.75 4 5.63807 4 5.5C4 5.36193 4.11193 5.25 4.25 5.25C4.38807 5.25 4.5 5.36193 4.5 5.5Z\"\n       variants={markVariants(0)}\n       style={{ transformBox: \"view-box\", originX: \"4.25px\", originY: \"5.5px\" }}\n      />\n      <m.path\n       d=\"M4.375 12.5H4.25M4.5 12.5C4.5 12.6381 4.38807 12.75 4.25 12.75C4.11193 12.75 4 12.6381 4 12.5C4 12.3619 4.11193 12.25 4.25 12.25C4.38807 12.25 4.5 12.3619 4.5 12.5Z\"\n       variants={markVariants(0.12)}\n       style={{\n        transformBox: \"view-box\",\n        originX: \"4.25px\",\n        originY: \"12.5px\",\n       }}\n      />\n      <m.path\n       d=\"M4.375 19.5H4.25M4.5 19.5C4.5 19.6381 4.38807 19.75 4.25 19.75C4.11193 19.75 4 19.6381 4 19.5C4 19.3619 4.11193 19.25 4.25 19.25C4.38807 19.25 4.5 19.3619 4.5 19.5Z\"\n       variants={markVariants(0.24)}\n       style={{\n        transformBox: \"view-box\",\n        originX: \"4.25px\",\n        originY: \"19.5px\",\n       }}\n      />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nLeftToRightListBulletIcon.displayName = \"LeftToRightListBulletIcon\";\nexport { LeftToRightListBulletIcon };\n",
      "type": "registry:ui"
    }
  ]
}