Skip to main content
Glama

@depthark/css-first

CHANGELOG.mdโ€ข10.2 kB
# Changelog All notable changes to this project will be documented in this file. ## [1.3.2] - 2025-10-20 ### ๐ŸŽฌ CSS View Transitions Support #### **Complete View Transitions API Integration** - **NEW**: Added comprehensive CSS View Transitions API support - **NEW**: `view-transition-name` property for tagging transition elements - **NEW**: `::view-transition` root pseudo-element styling - **NEW**: `::view-transition-group()` for position/size morphing animations - **NEW**: `::view-transition-old()` & `::view-transition-new()` snapshot pseudo-elements - **NEW**: `::view-transition-image-pair()` for isolation control #### **Scoped View Transitions (Chrome 140+)** - **NEW**: Element-scoped transitions with `contain: layout` - **NEW**: Multiple concurrent transitions on different subtrees - **NEW**: Localized pointer event blocking for better performance - **ADDED**: Implementation guidance for subtree-level animations #### **Production-Ready Examples** - **NEW**: Card expansion with morph effects - **NEW**: Image gallery smooth transitions - **NEW**: Modal/dialog entry animations - **NEW**: Navigation state changes - **NEW**: Entry animations with `@starting-style` - **NEW**: Wildcard selectors for universal transitions #### **Accessibility & Progressive Enhancement** - **ADDED**: `prefers-reduced-motion` support for all view transition examples - **ADDED**: Progressive enhancement with `@supports` feature detection - **ADDED**: Custom timing and easing functions - **ADDED**: Z-index layering control for complex transitions ### ๐Ÿ”ง Technical Improvements - **ENHANCED**: Semantic scoring algorithm with +200 points for view transitions - **ADDED**: Keywords: `view-transition`, `morph`, `crossfade`, `scoped`, `state-change`, `snapshot` - **IMPROVED**: Pattern recognition for "page transition" and "state change" queries - **ADDED**: Browser support data (Chrome 111+, Edge 111+ for document-scoped; Chrome 140+ for scoped) ### ๐Ÿ“š Documentation Updates - **ADDED**: CSS View Transitions section in README with comprehensive feature list - **ADDED**: Modern CSS Carousel section in README highlighting `::scroll-marker` and `::scroll-button` pseudo-elements - **ADDED**: Links to MDN documentation, W3C specification, and Chrome blog resources - **ADDED**: Link to CSS Carousel Deep Dive article for comprehensive carousel implementation guide - **ADDED**: Example prompts: "Add view transitions to my page", "Create smooth state transitions", "Create a CSS-only carousel" - **ENHANCED**: Feature showcase highlighting scoped transitions capability - **IMPROVED**: README structure with prominent modern CSS features at the top ### ๐ŸŒ Browser Support - **Document-scoped transitions**: Chrome 111+, Edge 111+ (35% global support) - **Scoped transitions**: Chrome 140+ (experimental flag required) - **Status**: Firefox and Safari support pending --- ## [1.3.1] - 2025-10-20 ### ๐Ÿ“š Documentation Simplification #### **README Streamlining** - **SIMPLIFIED**: Removed version-specific update notices from README - **CLEANED**: Removed redundant "Latest Version" and "What's New" sections - **IMPROVED**: Streamlined setup instructions for better clarity - **REMOVED**: Alternative HTTP transport instructions (moved to dedicated docs if needed) - **ENHANCED**: More concise and focused documentation structure #### **Configuration Updates** - **SIMPLIFIED**: Claude Code CLI setup instructions - **IMPROVED**: Codex configuration section clarity - **STANDARDIZED**: JSON formatting across all setup examples ### ๐Ÿ”ง Technical Improvements - **UPDATED**: `.gitignore` to use `.env` instead of `.env.local` - **CLEANED**: Project documentation structure --- ## [1.3.0] - 2025-09-09 ### ๐Ÿ“ฆ Version Bump - **UPDATED**: Minor version increment for internal improvements - **MAINTAINED**: All existing features and functionality - **PREPARED**: Foundation for upcoming features --- ## [1.2.1] - 2025-01-09 ### ๐ŸŽจ New CSS Features #### **Corner Shape Property Support** - **NEW**: Added experimental `corner-shape` CSS property with comprehensive documentation - **NEW**: Superellipse curve support for organic, Apple-like rounded corners - **NEW**: Static content integration for cutting-edge CSS features not yet on MDN - **ADDED**: Complete implementation guidance with fallback strategies #### **Enhanced Visual Features** - **NEW**: Corner shape values: `round` (superellipse) and `angle` (geometric) - **NEW**: Comprehensive examples for organic design patterns - **NEW**: Integration with existing border-radius properties - **ADDED**: Browser support information for experimental features #### **Static Content System** - **ENHANCED**: MDN client now supports static content for experimental CSS features - **NEW**: Comprehensive corner-shape documentation with syntax, examples, and fallbacks - **IMPROVED**: Better handling of experimental CSS properties in suggestions - **ADDED**: Future-proof CSS property definitions ### ๐Ÿ”ง Technical Improvements - **ENHANCED**: Visual features module with corner-shape integration - **IMPROVED**: MDN client fallback mechanisms for experimental properties - **ADDED**: Static content simulation for development and testing - **UPDATED**: Browser support data for experimental features ### ๐Ÿ“š Documentation Updates - **ADDED**: Codex configuration support (`mcp_servers.toml`) - **IMPROVED**: Claude Code CLI setup instructions with stdio transport alternative - **ENHANCED**: Usage examples including corner-shape demonstrations - **UPDATED**: Version information and upgrade instructions ### ๐Ÿงช Testing & Examples - **NEW**: Interactive HTML demo for corner-shape property - **NEW**: Test cases for corner-shape MCP functionality - **ADDED**: Visual examples of superellipse vs traditional border-radius - **CREATED**: Comprehensive fallback strategy demonstrations --- ## [1.2.0] - 2025-01-27 ### ๐Ÿ›ก๏ธ Accessibility & Best Practices #### **Enhanced Accessibility Support** - **NEW**: Comprehensive `prefers-reduced-motion` support across all animation examples - **NEW**: Hover media query guidance (`@media (hover: hover)`) to prevent touch device issues - **NEW**: Mobile-specific interaction patterns with proper touch alternatives - **IMPROVED**: All animation properties now include accessibility-first examples #### **Mobile-First Design Improvements** - **NEW**: Guidance against full-height sticky headers on mobile devices - **NEW**: Responsive sticky positioning with proper mobile constraints - **NEW**: Touch-friendly interaction patterns with `@media (pointer: coarse)` - **ADDED**: Safe area inset support for mobile sticky elements #### **Modern Theming Best Practices** - **WARNING**: Added guidance against combining `light-dark()` with `prefers-color-scheme` - **NEW**: Comprehensive `light-dark()` function implementation examples - **NEW**: Anti-pattern documentation for theme conflicts - **ADDED**: CSS-only theme system with proper color-scheme declaration #### **Code Quality & Standards** - **ENHANCED**: All animation guidance includes motion accessibility - **STANDARDIZED**: Hover effects properly wrapped in media queries - **IMPROVED**: Touch device alternatives for all interactive elements - **ENFORCED**: Accessibility-first approach across all CSS examples ### ๐Ÿ”ง Technical Improvements - **ADDED**: Position sticky guidance with mobile best practices - **ENHANCED**: Animation timing functions with reduced motion support - **IMPROVED**: Interaction guidance with comprehensive hover/touch patterns - **UPDATED**: Modern CSS guidance with proper fallback strategies --- ## [1.1.0] - 2025-01-27 ### ๐Ÿš€ Major Improvements #### **Enhanced Search Algorithm** - **NEW**: Semantic understanding of developer intent - **NEW**: Intelligent relevance scoring (up to 200 points for semantic matches) - **NEW**: Pattern recognition for common CSS tasks - **IMPROVED**: Search results now actually useful for real development scenarios #### **Mobile-First CSS Support** - **NEW**: Proper mobile viewport height units (`dvh`, `svh`, `lvh`) - **NEW**: Dynamic viewport handling for mobile browser UI - **NEW**: Mobile-specific keyword detection and suggestions - **EXAMPLE**: "header full height mobile" โ†’ suggests `height: 100dvh` #### **Modern CSS Features** - **NEW**: CSS Carousel with `::scroll-marker` and `::scroll-button` pseudo-elements - **NEW**: `light-dark()` function support for CSS-only theming - **NEW**: Form validation with `:user-valid`/`:user-invalid` pseudo-classes - **NEW**: Modern positioning with logical properties (`inset-inline`, `inset-block`) #### **Developer Experience** - **IMPROVED**: 10x better suggestion relevance - **FIXED**: Now suggests modern CSS instead of outdated patterns - **ADDED**: Comprehensive CSS properties database - **ADDED**: Context-aware property recommendations ### ๐Ÿ”ง Technical Improvements #### **Code Quality** - **REMOVED**: Hardcoded syntax examples (now uses MDN data) - **REMOVED**: Inconsistent suggestion files across feature folders - **STANDARDIZED**: All features now use `properties.ts` + `guidance.ts` structure - **ENFORCED**: HSL colors only (no hex), separate `rotate` property (no `transform: rotate()`) #### **Architecture** - **REFACTORED**: Clean, consistent feature structure - **IMPROVED**: Enhanced keyword extraction with semantic patterns - **OPTIMIZED**: Better search performance with intelligent scoring ### ๐Ÿ› Bug Fixes - **FIXED**: Unused variable warnings in TypeScript - **FIXED**: Search algorithm missing modern CSS features - **FIXED**: Poor relevance scoring producing irrelevant results ### ๐Ÿ”„ Upgrade Guide ```bash # Update to latest version npm update @depthark/css-first # Or install specific version npm install @depthark/css-first@1.1.0 ``` **Note**: This is a backward-compatible update. Existing integrations will continue to work, but with much better suggestion quality. --- ## [1.0.0] - 2025-01-26 ### Initial Release - Basic CSS suggestion engine - MDN integration - Simple keyword matching - Foundation for CSS-first development approach

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Luko248/css-first'

If you have feedback or need assistance with the MCP directory API, please join our Discord server