"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DEZRGktf.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Widget",description:"Glass-material widget cards in four fixed sizes, matching Apple HIG widget dimensions. Includes an optional header with icon, title, subtitle, and actions.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-violet-500 via-purple-500 to-fuchsia-600 rounded-full flex items-center justify-center shadow-lg border border-violet-500/50",children:e.jsx(a.LayoutDashboard,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsxs("div",{className:"flex flex-wrap gap-5 items-end",children:[e.jsxs(t.MacOSTahoeWidget,{size:"sm",children:[e.jsx(t.MacOSTahoeWidgetHeader,{title:"Weather",icon:e.jsx(a.CloudSun,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex flex-1 items-center justify-center",children:e.jsx("span",{className:"text-3xl font-light text-[var(--macos-tahoe-text)]",children:"24°"})})]}),e.jsxs(t.MacOSTahoeWidget,{size:"md",children:[e.jsx(t.MacOSTahoeWidgetHeader,{title:"Calendar",subtitle:"Today",icon:e.jsx(a.Calendar,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex flex-1 items-center px-4",children:e.jsxs("div",{className:"text-[var(--macos-tahoe-text)]",children:[e.jsx("p",{className:"text-[20px] font-semibold",children:"December 15"}),e.jsx("p",{className:"text-[13px] text-[var(--macos-tahoe-text-muted)]",children:"3 upcoming events"})]})})]})]})})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Large & Extra Large",className:"mt-2 mb-2",children:e.jsxs("div",{className:"flex flex-wrap gap-5 items-end",children:[e.jsxs(t.MacOSTahoeWidget,{size:"lg",children:[e.jsx(t.MacOSTahoeWidgetHeader,{title:"Activity",icon:e.jsx(a.Activity,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex flex-1 items-center justify-center p-3",children:e.jsxs("div",{className:"text-center text-[var(--macos-tahoe-text)]",children:[e.jsx("p",{className:"text-[36px] font-light",children:"520"}),e.jsx("p",{className:"text-[11px] uppercase tracking-wider text-[var(--macos-tahoe-text-muted)]",children:"calories"})]})})]}),e.jsxs(t.MacOSTahoeWidget,{size:"xl",children:[e.jsx(t.MacOSTahoeWidgetHeader,{title:"Notes",subtitle:"3 notes",icon:e.jsx(a.StickyNote,{className:"h-4 w-4"}),actions:e.jsx("button",{className:"text-[12px] text-[var(--macos-tahoe-accent)]",children:"View All"})}),e.jsx("div",{className:"flex-1 space-y-2 overflow-auto p-3.5 pt-2",children:["Meeting notes","Shopping list","Ideas for project"].map(s=>e.jsx("div",{className:"rounded-lg bg-[var(--macos-glass-clear-bg)] p-2.5 text-[13px] text-[var(--macos-tahoe-text)] backdrop-blur-sm border border-[var(--macos-glass-border-subtle)]",children:s},s))})]})]})})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx(t.CodeBlock,{code:`import { MacOSTahoeWidget, MacOSTahoeWidgetHeader } from '@e-burgos/tucu-ui';

<MacOSTahoeWidget size="md">
  <MacOSTahoeWidgetHeader
    title="Calendar"
    subtitle="Today"
    icon={<CalendarIcon />}
    actions={<button>View All</button>}
  />
  <div className="p-4">Widget content</div>
</MacOSTahoeWidget>

// Sizes: 'sm' (170×170), 'md' (364×170), 'lg' (170×364), 'xl' (364×364)`,language:"tsx"})})}),e.jsx(t.PropPlayground,{componentName:"MacOSTahoeWidget",defaultValues:{size:"md"},includeProps:["size"],excludeProps:["className"],children:s=>e.jsx("div",{className:"flex justify-center p-4",children:e.jsxs(t.MacOSTahoeWidget,{...s,children:[e.jsx(t.MacOSTahoeWidgetHeader,{title:"Preview",icon:e.jsx(a.LayoutDashboard,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex flex-1 items-center justify-center",children:e.jsx("span",{className:"text-2xl font-light text-[var(--macos-tahoe-text)]",children:"Content"})})]})})}),e.jsx(t.AutoPropsTable,{componentName:"MacOSTahoeWidget"})]});exports.TahoeWidgetSection=i;exports.default=i;
