"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DEZRGktf.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const i=[{name:"Input",status:"complete",features:["label + htmlFor association","aria-required on required fields","aria-invalid on error","aria-describedby for helperText/error","Auto-generated IDs via useId()"]},{name:"Button",status:"complete",features:["aria-busy during loading","aria-label support","aria-describedby support","Loading visually hides text without removing DOM","Focus ring visible on all variants"]},{name:"Modal",status:"partial",features:['role="dialog" + aria-modal="true"',"aria-labelledby + aria-describedby","Escape key closes","Focus restore on close","⚠️ Missing: Focus trapping (Tab can escape)"]},{name:"Drawer",status:"complete",features:['role="dialog" + aria-modal="true"',"Full focus trap (Tab/Shift+Tab cycles)","Escape key closes","Focus first element on open","Focus restore on close"]},{name:"Alert",status:"complete",features:['role="alert"','aria-live="assertive" + aria-atomic',"Dismiss button with aria-label","Supports custom aria-label prop","Dismissible toggle via prop"]},{name:"Tabs",status:"complete",features:['role="tablist" / role="tab" / role="tabpanel"',"aria-selected on active tab","aria-controls linking tab↔panel","ArrowRight/Left + Home/End navigation","tabIndex roving (0 on active, -1 on others)"]},{name:"Select",status:"complete",features:['role="combobox" + aria-haspopup="listbox"','role="listbox" + role="option"',"aria-expanded + aria-activedescendant","Arrow/Enter/Space/Escape keyboard","Focus restore on close"]},{name:"Checkbox",status:"complete",features:["label + htmlFor association","aria-invalid on error","aria-describedby for helperText/error","Auto-generated IDs via useId()","Standard checkbox keyboard (Space)"]}],o=s=>s==="complete"?e.jsx(a.Badge,{variant:"soft",color:"success",size:"small",children:"Complete"}):e.jsx(a.Badge,{variant:"soft",color:"warning",size:"small",children:"Partial"});return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Component Status",description:"Detailed accessibility compliance status for each component — verified against the actual source code implementation.",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-indigo-500 via-blue-500 to-cyan-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.ListChecks,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(a.Typography,{tag:"h2",className:"mb-2",children:"Per-Component Breakdown"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"7 of 8 core components have full accessibility — Modal needs focus trapping"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:i.map(s=>e.jsx(a.CardContainer,{className:"group hover:shadow-large transition-all duration-300",children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(a.Typography,{tag:"h3",className:"font-semibold text-lg",children:s.name}),o(s.status)]}),e.jsx("div",{className:"space-y-1.5",children:s.features.map((r,l)=>e.jsxs("div",{className:"flex items-start gap-2",children:[r.startsWith("⚠️")?e.jsx(t.AlertTriangle,{className:"w-4 h-4 text-amber-500 shrink-0 mt-0.5"}):e.jsx(t.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(a.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:r.replace("⚠️ ","")})]},l))})]})},s.name))})]})]})};exports.default=n;
