import { jsxs as i, Fragment as o, jsx as e } from "react/jsx-runtime";
import { H as c, C as s, a as l, T as n, af as r, P as m, A as d, c as t } from "../index-sdOMz8GW.js";
import { RefreshCw as p } from "lucide-react";
import "react-router-dom";
import "react";
import "react-dom";
const w = () => /* @__PURE__ */ i(o, { children: [
  /* @__PURE__ */ e(
    c,
    {
      title: "Spinner",
      description: `A simple spinning loader component for indicating loading states with
          customizable sizes and colors.`,
      icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-indigo-600 to-violet-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(p, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
    }
  ),
  /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ i("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
    /* @__PURE__ */ i(s, { className: "p-4", children: [
      /* @__PURE__ */ e(n, { tag: "h5", className: "mb-3", children: "Default Spinner" }),
      /* @__PURE__ */ e(r, {})
    ] }),
    /* @__PURE__ */ i(s, { className: "p-4", children: [
      /* @__PURE__ */ e(n, { tag: "h5", className: "mb-3", children: "Small Spinner" }),
      /* @__PURE__ */ e(r, { size: "sm" })
    ] }),
    /* @__PURE__ */ i(s, { className: "p-4", children: [
      /* @__PURE__ */ e(n, { tag: "h5", className: "mb-3", children: "Large Spinner" }),
      /* @__PURE__ */ e(r, { size: "lg" })
    ] })
  ] }) }) }) }),
  /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "space-y-4", children: /* @__PURE__ */ i("div", { children: [
    /* @__PURE__ */ e(n, { tag: "h5", className: "mb-3", children: "Colors" }),
    /* @__PURE__ */ i("div", { className: "flex items-center gap-4", children: [
      /* @__PURE__ */ e(r, { color: "primary" }),
      /* @__PURE__ */ e(r, { color: "success" }),
      /* @__PURE__ */ e(r, { color: "danger" }),
      /* @__PURE__ */ e(r, { color: "info" }),
      /* @__PURE__ */ e(r, { color: "warning" }),
      /* @__PURE__ */ e(r, { color: "gray" })
    ] })
  ] }) }) }) }) }),
  /* @__PURE__ */ e(
    m,
    {
      componentName: "Spinner",
      defaultValues: { size: "md", color: "primary" },
      excludeProps: [],
      children: (a) => /* @__PURE__ */ e(r, { ...a })
    }
  ),
  /* @__PURE__ */ e(d, { componentName: "Spinner" }),
  /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
    t,
    {
      language: "tsx",
      code: `import { Spinner } from '@e-burgos/tucu-ui';

// Basic usage
<Spinner />

// Different sizes
<Spinner size="sm" />
<Spinner size="md" />
<Spinner size="lg" />

// Different colors
<Spinner color="primary" />
<Spinner color="success" />
<Spinner color="danger" />
<Spinner color="info" />
<Spinner color="warning" />
<Spinner color="gray" />`
    }
  ) }) }) })
] });
export {
  w as default
};
