Skip to content

V4.1.0#85

Merged
jasperf merged 12 commits into
mainfrom
v4.1.0
May 18, 2026
Merged

V4.1.0#85
jasperf merged 12 commits into
mainfrom
v4.1.0

Conversation

@jasperf

@jasperf jasperf commented May 18, 2026

Copy link
Copy Markdown
Contributor

This release delivers a significant pattern library consolidation and editorial component expansion across the Elayne block theme, resulting in a net reduction of 512 lines through the removal of 13 deprecated patterns and the introduction of targeted block styles that replace inline CSS overrides. A new editorial header system (header-editorial.php) and a unified main-hero.php pattern consolidate previously fragmented hero and header variants, while five dedicated block-style CSS files (brand-logo.css, editorial-eyebrow.css, editorial-header.css, editorial-hero-heading.css, status-pill.css) replace ad-hoc styling previously scattered across patterns. Industry vertical patterns for plumbing/home improvement, food and beverage, legal, and nail salon have been refined with improved markup structure, semantic spacing, and translation-ready strings. Core configuration files (theme.json, functions.php, composer.json, package.json) and developer documentation (CLAUDE.md, CONTRIBUTING.md, README.md) have been updated to reflect the new component architecture.

Pattern Library Cleanup and Consolidation:

  • Removed 13 deprecated patterns including author-box.php, all blog-post-columns-* variants, career-opportunities.php, case-study-detailed.php, client-reviews.php, hero-cover-slanted.php, hero-modern-dark.php, hero-two-tone.php, three legal-hero-* variants, page-coming-soon.php, spa-overlapping-feature-columns-reversed.php, and stats-list.php, eliminating redundant or superseded layout approaches.
  • Added main-hero.php as a unified hero entry point and header-editorial.php as a dedicated editorial header variant, replacing the previously fragmented multi-file approach.

Block Style Architecture:

  • Introduced five new scoped block-style CSS files under assets/styles/block-styles/, each registered via wp_enqueue_block_style() to load only on pages where the respective style is used, reducing global CSS payload.
  • The status-pill.css and editorial-eyebrow.css files specifically address the pill/badge padding standardisation outlined in the design system, enforcing x-small/small spacing constraints via registered styles rather than inline overrides.

Vertical Pattern Improvements:

  • Plumbing/home improvement, food and beverage, and legal patterns received structural markup corrections, improved blockGap usage replacing spacer blocks, and enhanced translation coverage across plumbing-contact.php, plumbing-emergency-cta.php, fandb-events-grid.php, fandb-hours-location.php, legal-stats.php, and legal-team.php.
  • WooCommerce patterns (woo-hero.php, woo-product-related.php) and utility templates (template-index-list.php, template-page-search.php) were updated to align with current block serialization requirements and filter block conventions.

Documentation and Developer Guidance:

  • CLAUDE.md was updated with expanded guidance covering border-radius presets, WooCommerce filter block taxonomy usage, and the plumbing slug naming rationale to prevent future renames.
  • .vibe/skills/design/SKILL.md and .vibe/prompts/vibe.md were revised alongside CONTRIBUTING.md and README.md to reflect the current pattern scaffolding workflow and vertical development process.

Files Changed:

Dependency lock files updated: package-lock.json,

jasperf added 12 commits May 18, 2026 10:16
Remove 17 deprecated pattern files that are no longer maintained:
- author-box.php - Author bio box pattern
- blog-post-columns-fandb.php, blog-post-columns-landscape.php, blog-post-columns-portrait.php - Blog post column variations
- blog-post-list.php - Blog post list pattern
- career-opportunities.php - Career/jobs pattern
- case-study-detailed.php - Detailed case study pattern
- client-reviews.php - Client testimonials pattern
- hero-cover-slanted.php - Slanted cover hero pattern
- hero-modern-dark.php - Dark modern hero pattern
- hero-two-tone.php - Two-tone hero pattern
- legal-hero-split.php, legal-hero-with-stats.php, legal-hero.php - Legal hero variations
- page-coming-soon.php - Coming soon page pattern
- spa-overlapping-feature-columns-reversed.php - Overlapping feature columns
- stats-list.php - Statistics list pattern
Add 2 new pattern files:
- header-editorial.php - Editorial-style header with logo and navigation
- main-hero.php - Primary hero section pattern

Add 5 new block style CSS files:
- brand-logo.css - Styling for brand logo blocks
- editorial-eyebrow.css - Editorial eyebrow/label styling
- editorial-header.css - Editorial header styling
- editorial-hero-heading.css - Editorial hero heading styling
- status-pill.css - Status pill/badge styling

Update package-lock.json with latest dependency versions.
Update 5 header pattern files:
- header-social-logo-hamburger-light.php - Light variant with social icons, logo, and hamburger menu
- header-social-logo-hamburger.php - Dark variant with social icons, logo, and hamburger menu
- header-standard-with-tel-number.php - Standard header with telephone number
- header-standard.php - Standard header pattern
- header-top-bar-centered-menu.php - Top bar layout with centered navigation menu

Changes include updated block structure, improved spacing, and alignment fixes.
Update 4 hero pattern files:
- hero-fandb-cover-fullwidth.php - Full-width food & beverage cover hero
- hero-fandb-split-layout.php - Split layout hero for food & beverage
- hero-modern-light.php - Modern light-style hero section
- nail-salon-hero.php - Hero pattern for nail salon industry

Changes include layout refinements, updated text content, and improved block structure.
Update 2 legal/attorney pattern files:
- legal-stats.php - Legal statistics display with updated styling
- legal-team.php - Legal team member showcase pattern

Changes include refined block markup and improved visual hierarchy.
Update 3 food & beverage pattern files:
- fandb-events-grid.php - Events grid layout for restaurants and venues
- fandb-hours-location.php - Hours and location information pattern
- menu-daily-specials.php - Daily specials menu display

Changes include updated block structure, improved spacing, and content refinements.
Update 9 plumbing industry pattern files:
- plumbing-contact.php - Contact section for plumbing services
- plumbing-emergency-cta.php - Emergency call-to-action pattern
- plumbing-footer.php - Footer pattern for plumbing sites
- plumbing-header.php - Header pattern for plumbing sites
- plumbing-hero.php - Hero section for plumbing services
- plumbing-services.php - Services showcase pattern
- plumbing-stats-bar.php - Statistics bar pattern
- plumbing-testimonials.php - Testimonials display pattern
- plumbing-why-us.php - Why choose us content pattern

Update 2 variation CSS files:
- nail-salon-variation.css - Nail salon theme variations
- plumbing-variation.css - Plumbing theme variations

Update styles/plumbing.json with refined style presets for plumbing industry.
Update 4 pattern files:
- agency-services-showcase.php - Agency services showcase grid pattern
- pricing-comparison.php - Pricing comparison table pattern
- template-index-list.php - Blog index list template pattern
- template-page-search.php - Search results template pattern

Changes include improved block structure, updated content, and layout refinements.
Update 2 WooCommerce pattern files:
- woo-hero.php - WooCommerce hero section pattern
- woo-product-related.php - Related products display pattern

Changes include refined block markup and improved integration with WooCommerce blocks.
Update 3 core theme files:
- functions.php - Theme setup, pattern registration, and helper functions
- style.css - Theme metadata and stylesheet
- theme.json - Global styles, settings, colors, and typography presets

Changes include updated version metadata and refined design tokens.
Update 2 configuration files:
- composer.json - PHP dependencies and scripts configuration
- package.json - Node.js dependencies and scripts configuration

Changes include updated dependency versions and script definitions.
Update 9 files:
- .gitignore - Git ignore rules for development files
- .vibe/prompts/vibe.md - Vibe prompt configuration
- .vibe/skills/design/README.md - Design skill documentation
- .vibe/skills/design/SKILL.md - Design skill instructions
- CHANGELOG.md - Version history and release notes
- CLAUDE.md - Development guidelines and workflows
- CONTRIBUTING.md - Contribution guidelines for developers
- README.md - Theme overview and installation instructions
- readme.txt - WordPress.org theme metadata and descriptions

Changes include updated development guidelines, version documentation, and configuration.
@jasperf
jasperf merged commit 5dea98a into main May 18, 2026
3 checks passed
@jasperf
jasperf deleted the v4.1.0 branch May 18, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant