Přeskočit na hlavní obsah

Component Inventory

1. Přehled

Katalog unikátních UI komponent potřebných pro aplikaci Colosseum MA. Každá komponenta je mapována na obrazovky kde se používá a na fázi projektu, ve které je poprvé potřeba.

Celkem: ~65 unikátních komponent (včetně variant a stavů)

2. Kategorie komponent

#KomponentaVariantyPoužitíFáze
1Bottom Tab Bar4 tabs, active/inactive, badgeP1, P7, P8, P9 (global)MVP
2App Bar / Top NavigationDefault, search, back, transparent (detail), modal closeMVP
3Back ButtonDefault, close (modal), transparent variantMVP
4Stepper / Progress Indicator3-5 steps, active/completed/upcomingMVP
5Breadcrumb / Location TrailText pathP2, S11MVP
6Tab Switch2-3 segment toggleMVP

2.2 Buttons (8 komponent)

#KomponentaVariantyPoužitíFáze
7Primary ButtonDefault, loading, disabledMVP
8Secondary ButtonDefault, disabledMVP
9Ghost/Text ButtonDefault, destructive (červená)MVP
10Icon ButtonShare, filter, close, settings, likeMVP
11FAB (Floating Action Button)Vyhledávání (optional)MVP
12CTA Sticky BarSingle CTA, price + CTA, countdown + CTAMVP
13OAuth ButtonApple, Google, FacebookMVP
14Chip / Filter ButtonSelected/unselected, dismissible, icon+textMVP

2.3 Inputs (10 komponent)

#KomponentaVariantyPoužitíFáze
15Text InputDefault, error, success, disabled, helper textMVP
16Search InputWith icon, clear button, auto-suggestMVP
17Password InputShow/hide toggle, strength indicatorMVP
18Select / DropdownSingle select, multi-selectMVP
19CheckboxDefault, with label, errorMVP
20Radio ButtonDefault, with descriptionP6 (platební metoda)MVP
21Toggle / SwitchOn/off, with labelMVP
22Counter (+/-)Numeric stepperMVP
23Range SliderSingle value, dual rangeMVP
24Date Range PickerCalendar picker, range selectionMVP

2.4 Cards (9 komponent)

#KomponentaVariantyPoužitíFáze
25Event Card (small)Horizontal, with thumbnail, status badgeMVP
26Event Card (large)Vertical, hero image, full infoMVP
27Ticket CardActive, used, expired, shared; QR previewMVP
28Order CardStatus badge (paid/reserved/cancelled)MVP
29Reward CardImage, points price, available/claimedP11F1
30Article CardFeatured (large), default (list)S20F2+
31Venue CardMini card with map previewMVP
32Organizer CardLogo + name + event countMVP
33Subscription CardGrouped by organizer, discount infoMVP

2.5 Lists (5 komponent)

#KomponentaVariantyPoužitíFáze
34List ItemIcon + text, chevron, toggle, destructiveMVP
35Accordion / ExpandableSingle expand, multi expandMVP
36Section HeaderTitle + "Zobrazit vše" linkMVP
37DividerFull width, insetMVP
38Date Group HeaderDate separator for chronological listsMVP

2.6 Feedback & Overlays (8 komponent)

#KomponentaVariantyPoužitíFáze
39Toast / SnackbarSuccess, error, info, with actionMVP
40Alert DialogConfirm/cancel, single action, destructiveMVP
41Bottom SheetScrollable, fixed, with header/handleS3, S1, seat detail, filterMVP
42Loading / SkeletonCard skeleton, list skeleton, screen skeletonMVP
43Empty StateIllustration + text + CTAMVP
44Error StateIllustration + retry CTAMVP
45Offline BannerPersistent top bannerMVP
46Permission DialogCustom pre-prompt (notifikace, poloha)MVP

2.7 Specialized (8 komponent)

#KomponentaVariantyPoužitíFáze
47Seat Map ViewportZoom/pan container, SVG rendererMVP
48Seat ChipFree, selected, sold, my-seatP4MVP
49Countdown TimerProgress bar, text, warning stateMVP
50Price SummaryLine items, subtotal, discount, totalMVP
51QR Code ViewerLarge display, brightness boostMVP
52Payment Method CardApple Pay, Google Pay, Card, CashMVP
53Notification ItemRead/unread, icon, timestamp, deep linkS19F1
54Watchdog ItemEvent info, status, delete CTAS10F1

2.8 Media (6 komponent)

#KomponentaVariantyPoužitíFáze
55Image GalleryHorizontal scroll, fullscreen viewerMVP
56Video PlayerInline, fullscreenMVP
57AvatarInitials, image, small/medium/largeMVP
58Badge / TagStatus (dostupné/málo/vyprodáno), genre, phaseMVP
59Hero BannerDark overlay, carousel, indicator dotsMVP
60Map ViewInline map with pin, tap-to-navigateMVP

2.9 Layout (5 komponent)

#KomponentaVariantyPoužitíFáze
61Carousel / Horizontal ScrollCards, banners, dot indicatorMVP
62Pull-to-RefreshStandard, custom animationMVP
63Welcome SlideImage + title + description, dots, skipMVP
64Onboarding StepMulti-select chips, progress, skipS6F1
65Category Seat LegendColor swatch + label + priceMVP

3. Souhrn per fáze

FázePočet komponentNovéRozšíření existujících
MVP5757
F144 (Reward Card, Notification Item, Watchdog Item, Onboarding Step)5 rozšíření (Tab Bar badge, List Item variants, Bottom Sheet variants, Event Card personalized, Price Summary + loyalty)
F2+11 (Article Card)3 rozšíření (Search + geo, Map View + navigation, Bottom Sheet variants)
TBD33 (Ticket Swap Card, Ticket Swap Detail, Swap Confirmation)
Celkem~65

4. Stavovost komponent

Každá komponenta by měla mít definované:

  • Default state
  • Hover/pressed state (pro všechny interaktivní)
  • Disabled state (pokud relevantní)
  • Loading state (pokud má async data)
  • Error state (pokud relevantní)
  • Empty state (pokud zobrazuje kolekci)

5. Token dependencies

Komponenty vyžadují tyto DS tokeny:

  • Barvy: primary, secondary, surface, error, success, warning, text (primary/secondary/disabled), border
  • Typografie: heading (H1-H4), body (default/small), caption, label, CTA
  • Spacing: 4px grid (4, 8, 12, 16, 20, 24, 32, 40, 48)
  • Border radius: small (4), medium (8), large (12), pill (9999)
  • Shadows: elevation-1 (cards), elevation-2 (modals), elevation-3 (FAB)
  • Breakpoints: phone portrait (default), phone landscape (seat map), tablet (TBD)

6. Doporučení pro DS tým

  1. Atomické komponenty nejdřív — Buttons, Inputs, Typography, Icons, Colors
  2. Karty jako druhý krok — Event Card (nejvíc variantní), Ticket Card
  3. Specialized jako třetí — Seat Map, QR Viewer, Payment Method
  4. Feedback/overlay na konec — Bottom Sheet, Toast, Dialog (potřebují kontext)
  5. Dodávat s dokumentací — název, varianty, props, usage guidelines