From 53de65bba9915e3dedc6a18bfa89238c5142d8d7 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:16:36 +0000 Subject: [PATCH] Switch to version 1: remove registry/components/FeatureCardMedia.json --- registry/components/FeatureCardMedia.json | 96 ----------------------- 1 file changed, 96 deletions(-) delete mode 100644 registry/components/FeatureCardMedia.json diff --git a/registry/components/FeatureCardMedia.json b/registry/components/FeatureCardMedia.json deleted file mode 100644 index 2acd443..0000000 --- a/registry/components/FeatureCardMedia.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "FeatureCardMedia", - "description": "Feature section with media cards displaying tag overlay, title, description, and optional buttons.", - "details": "Displays feature cards in a responsive grid or carousel layout. Each card shows media (image/video) with required tag overlay positioned top-right, followed by title, description, and optional action buttons. Uses CardStack for layout management with grid (1-4 items) and carousel (5+ items) modes.", - "constraints": { - "textRules": { - "title": { - "required": true, - "example": "From concept to launch, we've got you covered", - "minChars": 10, - "maxChars": 100 - }, - "description": { - "required": true, - "example": "Discover how we bring ideas to life through a proven methodology", - "minChars": 20, - "maxChars": 300 - }, - "tag": { - "required": false, - "example": "Our Process", - "minChars": 2, - "maxChars": 30 - } - }, - "featuresRules": { - "minItems": 2, - "recommendedItems": 3, - "maxItems": 6, - "structure": { - "id": "string - Unique identifier (required)", - "title": "string - Card title (required)", - "description": "string - Card description (required)", - "tag": "string - Tag displayed on media top-right (required)", - "imageSrc": "string - Image source URL (optional) Image is recommended if no videoSrc.", - "videoSrc": "string - Video source URL (optional)", - "buttons": "ButtonConfig[] - Optional action buttons for the card" - }, - "note": "Each card requires id, title, description, and tag. Media (imageSrc or videoSrc) recommended. Buttons are optional per card." - } - }, - "propsSchema": { - "features": "Array<{ id: string, title: string, description: string, tag: string, imageSrc?: string, videoSrc?: string, imageAlt?: string, videoAriaLabel?: string, buttons?: ButtonConfig[], onCardClick?: () => void }>", - "animationType": "'none' | 'opacity' | 'slide-up' | 'scale-rotate' | 'blur-reveal'", - "title": "string", - "description": "string", - "textboxLayout": "'default' | 'split' | 'split-actions' | 'split-description' | 'inline-image'", - "useInvertedBackground": "boolean", - "titleSegments?": "Array<{ type: 'text', content: string } | { type: 'image', src: string, alt?: string }>", - "tag?": "string", - "tagIcon?": "LucideIcon", - "tagAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "buttons?": "ButtonConfig[]", - "buttonAnimation?": "'none' | 'opacity' | 'slide-up' | 'blur-reveal'", - "carouselMode?": "'auto' | 'buttons' (default: 'buttons')", - "uniformGridCustomHeightClasses?": "string", - "ariaLabel?": "string (default: 'Features section')", - "className?": "string", - "containerClassName?": "string", - "itemClassName?": "string", - "mediaWrapperClassName?": "string", - "mediaClassName?": "string", - "tagClassName?": "string", - "contentClassName?": "string", - "cardTitleClassName?": "string", - "cardDescriptionClassName?": "string", - "cardButtonContainerClassName?": "string", - "cardButtonClassName?": "string", - "cardButtonTextClassName?": "string", - "textBoxTitleClassName?": "string", - "textBoxTitleImageWrapperClassName?": "string", - "textBoxTitleImageClassName?": "string", - "textBoxDescriptionClassName?": "string", - "gridClassName?": "string", - "carouselClassName?": "string", - "controlsClassName?": "string", - "textBoxClassName?": "string", - "textBoxTagClassName?": "string", - "textBoxButtonContainerClassName?": "string", - "textBoxButtonClassName?": "string", - "textBoxButtonTextClassName?": "string" - }, - "usageExample": "", - "do": [ - "Use for feature showcases", - "Use for capability displays", - "Requires features[]", - "Requires titleSegments?[]" - ], - "dont": [], - "editRules": { - "textOnly": true, - "layoutLocked": true, - "styleLocked": true - } -}