Install

Works with Drupal: ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 329.64 KB
MD5: 44b026b523defe6e084f8f11e217d234
SHA-1: 169415ff443d9cf8ccdb701f8d2248397a424ed4
SHA-256: 71288a20a01110ea1a5a82101c7ad7ffdc842d29f90ce24b16d2c1e3fae5f966
Download zip 812.66 KB
MD5: 42914abf85530b27d21d14492015671b
SHA-1: e0ecf515175e1619cf908b3dd64902ceeef3f847
SHA-256: 614b8fa2754488cfcb0dd308b8d51206231f04a9d7a4e4e2cc2e64a3099c0b3c

Release notes

Regenerates the module from Cordwainer Elements (@cordwainer/cw-elements) 1.6.0 with the latest CEM SDC Generator. It adds five components and stops elements from flashing unstyled while a page loads.

New components

  • cw-grid: lays its children out in columns that respond to the grid's own width, not the viewport's.
  • cw-stack: stacks its children top to bottom with one consistent gap.
  • cw-section: a full-width band of page content, with a maximum content width, spacing options and a background surface.
  • cw-picture: a responsive image built on the native picture element, with art direction and reserved layout space.
  • cw-video-embed: a lazy-loading facade for YouTube, Vimeo and similar videos that loads nothing until it's clicked.

Each new component comes with a kernel render test.

Fixes

  • The element library now loads in the page header instead of the footer, so components no longer flash unstyled before they're defined (CEM SDC Generator #3618759).

Upgrading

No props or slots were renamed or removed, so templates and Canvas pages that use the existing components keep working, and Cordwainer Theme 1.0.x works with this release unchanged. Rebuild caches after updating (drush cr), since the library now points at the 1.6.0 assets.

Issue: #9 Regenerate the module from cw-elements 1.6.0 and the latest cem_sdc_generator

Created by: matthand
Created on: 22 Oct 2026 at 12:50 UTC
Last updated: 22 Oct 2026 at 12:50 UTC
Bug fixes
New features
Unsupported

Other releases