{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "event-card-fixtures",
  "title": "Event Card — fixtures",
  "author": "ilinxa",
  "description": "Event Card plus the dummy-data fixtures used by the docs-site demo.",
  "registryDependencies": [
    "@ilinxa/event-card"
  ],
  "files": [
    {
      "path": "src/registry/components/data/event-card/dummy-data.ts",
      "content": "import type { EventCardLabels, EventCardItem } from \"./types\";\n\n/**\n * Fixed reference date used by every demo card via the `now` prop.\n * Without this, demo statuses depend on the real wall clock — events that were\n * \"upcoming\" at build time silently become \"expired\" months later.\n *\n * 2026-06-01 12:00 UTC was chosen because all dummy event dates are relative to it.\n */\nexport const dummyNow = new Date(\"2026-06-01T12:00:00Z\");\n\n/** 8 events covering all 6 statuses + featured + capacity-less. */\nexport const dummyEvents: EventCardItem[] = [\n  {\n    id: \"evt-open\",\n    title: \"Future of Open Source: Annual Summit\",\n    type: \"Conference\",\n    date: \"2026-07-01\",\n    endDate: \"2026-07-02\",\n    time: \"09:00 - 18:00\",\n    location: \"Istanbul Conference Center\",\n    image:\n      \"https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=800&auto=format&fit=crop\",\n    description:\n      \"Two days of talks, workshops, and hallway conversations with maintainers from across the open-source ecosystem.\",\n    capacity: 200,\n    registered: 50,\n  },\n  {\n    id: \"evt-upcoming\",\n    title: \"Tailwind v4 Deep-Dive Workshop\",\n    type: \"Workshop\",\n    date: \"2026-06-06\",\n    time: \"14:00 - 17:00\",\n    location: \"Online (Zoom)\",\n    image:\n      \"https://images.unsplash.com/photo-1517048676732-d65bc937f952?w=800&auto=format&fit=crop\",\n    description:\n      \"Hands-on workshop covering Tailwind v4's new theme system, container queries, and OKLCH color migration.\",\n    capacity: 100,\n    registered: 60,\n  },\n  {\n    id: \"evt-lastspots\",\n    title: \"Designing for Accessibility: Component Audit\",\n    type: \"Webinar\",\n    date: \"2026-06-15\",\n    time: \"10:00 - 11:30\",\n    location: \"Online\",\n    image:\n      \"https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?w=800&auto=format&fit=crop\",\n    description:\n      \"Walk through a real WCAG 2.1 AA audit on a production component library and the fixes that followed.\",\n    capacity: 100,\n    registered: 85,\n  },\n  {\n    id: \"evt-ongoing\",\n    title: \"Live Build: Knowledge Graph Editor\",\n    type: \"Webinar\",\n    date: \"2026-06-01\",\n    endDate: \"2026-06-01\",\n    time: \"16:00 - 18:00\",\n    location: \"Online (Streaming)\",\n    image:\n      \"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=800&auto=format&fit=crop\",\n    description:\n      \"Live coding session — building a force-directed knowledge graph editor on top of Sigma.js v3 and React 19.\",\n    capacity: 500,\n    registered: 312,\n  },\n  {\n    id: \"evt-full\",\n    title: \"Founders' Roundtable: Hiring in 2026\",\n    type: \"Panel\",\n    date: \"2026-06-11\",\n    time: \"18:30 - 20:00\",\n    location: \"Galata Hub, Istanbul\",\n    image:\n      \"https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=800&auto=format&fit=crop\",\n    description:\n      \"Five founders share what's working and what's not in technical hiring this year. Off the record.\",\n    capacity: 50,\n    registered: 50,\n  },\n  {\n    id: \"evt-expired\",\n    title: \"GraphQL Federation in Practice\",\n    type: \"Training\",\n    date: \"2026-05-23\",\n    endDate: \"2026-05-24\",\n    time: \"09:00 - 17:00\",\n    location: \"Atlas Plaza, Ankara\",\n    image:\n      \"https://images.unsplash.com/photo-1591115765373-5207764f72e7?w=800&auto=format&fit=crop\",\n    description:\n      \"Two-day hands-on training on GraphQL federation v2 — from subgraph composition through production rollout.\",\n    capacity: 30,\n    registered: 28,\n  },\n  {\n    id: \"evt-featured\",\n    title: \"Knowledge Day 2026: Annual Member Gathering\",\n    type: \"Conference\",\n    date: \"2026-08-15\",\n    time: \"10:00 - 22:00\",\n    location: \"Istanbul Conference Center + Online\",\n    image:\n      \"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?w=800&auto=format&fit=crop\",\n    description:\n      \"Full-day flagship event — keynotes, breakout tracks, networking, and the annual Knowledge Day awards ceremony.\",\n    capacity: 300,\n    registered: 100,\n    featured: true,\n  },\n  {\n    id: \"evt-capacityless\",\n    title: \"Open Office Hours (Drop-In)\",\n    type: \"Webinar\",\n    date: \"2026-09-01\",\n    time: \"16:00 - 17:00\",\n    location: \"Online (Drop-in link emailed week-of)\",\n    image:\n      \"https://images.unsplash.com/photo-1497366216548-37526070297c?w=800&auto=format&fit=crop\",\n    description:\n      \"Casual drop-in office hours — no registration needed, no cap. Bring your questions about anything we ship.\",\n  },\n];\n\nexport const dummyTypeStyles: Record<string, { className: string }> = {\n  Conference: {\n    className: \"bg-primary/10 text-primary border-primary/20\",\n  },\n  Webinar: {\n    className: \"bg-chart-3/10 text-chart-3 border-chart-3/20\",\n  },\n  Workshop: {\n    className: \"bg-chart-2/10 text-chart-2 border-chart-2/20\",\n  },\n  Panel: {\n    className: \"bg-secondary text-secondary-foreground border-secondary\",\n  },\n  Training: {\n    className: \"bg-chart-4/10 text-chart-4 border-chart-4/20\",\n  },\n};\n\n/** 5 fully custom OKLCH-tinted entries — same English keys, different visuals. */\nexport const dummyCustomTypeStyles: Record<string, { className: string }> = {\n  Conference: {\n    className:\n      \"bg-[oklch(0.95_0.04_310)] text-[oklch(0.4_0.18_310)] border-[oklch(0.85_0.08_310)] dark:bg-[oklch(0.25_0.06_310)] dark:text-[oklch(0.85_0.16_310)]\",\n  },\n  Webinar: {\n    className:\n      \"bg-[oklch(0.95_0.04_220)] text-[oklch(0.4_0.18_220)] border-[oklch(0.85_0.08_220)] dark:bg-[oklch(0.25_0.06_220)] dark:text-[oklch(0.85_0.16_220)]\",\n  },\n  Workshop: {\n    className:\n      \"bg-[oklch(0.95_0.04_45)] text-[oklch(0.45_0.18_45)] border-[oklch(0.85_0.08_45)] dark:bg-[oklch(0.25_0.06_45)] dark:text-[oklch(0.85_0.16_45)]\",\n  },\n  Panel: {\n    className:\n      \"bg-[oklch(0.95_0.04_180)] text-[oklch(0.4_0.16_180)] border-[oklch(0.85_0.08_180)] dark:bg-[oklch(0.25_0.06_180)] dark:text-[oklch(0.85_0.14_180)]\",\n  },\n  Training: {\n    className:\n      \"bg-[oklch(0.95_0.04_355)] text-[oklch(0.45_0.18_355)] border-[oklch(0.85_0.08_355)] dark:bg-[oklch(0.25_0.06_355)] dark:text-[oklch(0.85_0.16_355)]\",\n  },\n};\n\n/** Turkish-localized event array — same dates / capacities, Turkish strings. */\nexport const dummyTrEvents: EventCardItem[] = dummyEvents.map((event) => {\n  const trMap: Record<\n    string,\n    {\n      title: string;\n      description?: string;\n      location?: string;\n      type: string;\n    }\n  > = {\n    \"evt-open\": {\n      title: \"Açık Kaynağın Geleceği: Yıllık Zirve\",\n      description:\n        \"Açık kaynak ekosisteminden bakım üstlenenlerle iki gün dolu konuşma, atölye ve koridor sohbeti.\",\n      location: \"İstanbul Kongre Merkezi\",\n      type: \"Konferans\",\n    },\n    \"evt-upcoming\": {\n      title: \"Tailwind v4 Derinlemesine Atölye\",\n      description:\n        \"Tailwind v4'ün yeni tema sistemi, container query'leri ve OKLCH renk geçişini ele alan uygulamalı atölye.\",\n      location: \"Çevrimiçi (Zoom)\",\n      type: \"Çalıştay\",\n    },\n    \"evt-lastspots\": {\n      title: \"Erişilebilirlik Tasarımı: Bileşen Denetimi\",\n      description:\n        \"Üretimdeki bir bileşen kütüphanesinde gerçek bir WCAG 2.1 AA denetimini ve sonrasındaki düzeltmeleri inceliyoruz.\",\n      location: \"Çevrimiçi\",\n      type: \"Seminer\",\n    },\n    \"evt-ongoing\": {\n      title: \"Canlı Yayın: Bilgi Grafiği Editörü\",\n      description:\n        \"Canlı kodlama oturumu — Sigma.js v3 ve React 19 üzerine kuvvet yönlendirmeli bilgi grafiği editörü.\",\n      location: \"Çevrimiçi (Yayın)\",\n      type: \"Seminer\",\n    },\n    \"evt-full\": {\n      title: \"Kurucular Yuvarlak Masası: 2026'da İşe Alım\",\n      description:\n        \"Beş kurucu, bu yıl teknik işe alımda neyin işe yaradığını ve neyin yaramadığını paylaşıyor.\",\n      location: \"Galata Hub, İstanbul\",\n      type: \"Panel\",\n    },\n    \"evt-expired\": {\n      title: \"Pratikte GraphQL Federation\",\n      description:\n        \"GraphQL federation v2 üzerine iki günlük uygulamalı eğitim — alt graf kompozisyonundan üretim devreye alımına.\",\n      location: \"Atlas Plaza, Ankara\",\n      type: \"Eğitim\",\n    },\n    \"evt-featured\": {\n      title: \"Bilgi Günü 2026: Yıllık Üye Buluşması\",\n      description:\n        \"Tüm gün süren amiral etkinlik — açılış konuşmaları, paralel oturumlar, network ve yıllık Bilgi Günü ödül töreni.\",\n      location: \"İstanbul Kongre Merkezi + Çevrimiçi\",\n      type: \"Konferans\",\n    },\n    \"evt-capacityless\": {\n      title: \"Açık Ofis Saatleri (Önkayıtsız)\",\n      description:\n        \"Rahat ortamda, önkayıtsız ofis saatleri — kayıt gerekmiyor, kontenjan yok. Soru ve konularınızı getirin.\",\n      location: \"Çevrimiçi (Bağlantı etkinlik haftasında e-posta ile)\",\n      type: \"Seminer\",\n    },\n  };\n\n  const tr = trMap[event.id];\n  return tr ? { ...event, ...tr } : event;\n});\n\nexport const dummyTrTypeStyles: Record<string, { className: string }> = {\n  Konferans: {\n    className: \"bg-primary/10 text-primary border-primary/20\",\n  },\n  Seminer: {\n    className: \"bg-chart-3/10 text-chart-3 border-chart-3/20\",\n  },\n  Çalıştay: {\n    className: \"bg-chart-2/10 text-chart-2 border-chart-2/20\",\n  },\n  Panel: {\n    className: \"bg-secondary text-secondary-foreground border-secondary\",\n  },\n  Eğitim: {\n    className: \"bg-chart-4/10 text-chart-4 border-chart-4/20\",\n  },\n};\n\nexport const dummyTrLabels: EventCardLabels = {\n  expired: \"Sona Erdi\",\n  ongoing: \"Devam Ediyor\",\n  upcoming: \"Yaklaşıyor\",\n  open: \"Kayıt Açık\",\n  full: \"Kontenjan Dolu\",\n  lastSpots: \"Son Yerler\",\n  daysUntilSuffix: \"gün kaldı\",\n  ongoingIndicator: \"Şu an devam ediyor\",\n  spotsLeftSuffix: \"yer kaldı\",\n  spotsLeftFull: \"Dolu\",\n  capacityAriaPrefix: \"Kayıtlı\",\n  capacityAriaSeparator: \"/\",\n  ctaRegister: \"Kayıt Ol\",\n  ctaJoin: \"Katıl\",\n  ctaViewDetails: \"Detayları Gör\",\n  ctaSoldOut: \"Kontenjan Dolu\",\n  featuredAriaLabel: \"Öne çıkan etkinlik\",\n};\n\n/** Turkish formatter convenience — pass to `formatDate` prop on the Localized demo. */\nexport const formatDateTr = (dateString: string): string =>\n  new Date(dateString).toLocaleDateString(\"tr-TR\", {\n    day: \"numeric\",\n    month: \"long\",\n    year: \"numeric\",\n  });\n\n// @ilinxa/event-card-fixtures 0.2.1\n",
      "type": "registry:component",
      "target": "components/event-card/dummy-data.ts"
    }
  ],
  "meta": {
    "version": "0.2.1",
    "status": "alpha"
  },
  "categories": [
    "data",
    "events",
    "fixtures"
  ],
  "type": "registry:block"
}