Install
Works with Drupal: ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Canvas Studio 1.0.0-beta1 is the first public beta of the framework-agnostic base: the Canvas Studio engine, Canvas Studio Props, and the default prop-UI skin. Release it together with Canvas Studio Tailwind 1.0.0-beta1.
Requirements: Drupal core ^11, drupal/canvas ^1.9, PHP 8.3+.
Canvas Studio turns Drupal Canvas into a design-system editor built on a four-layer model: neutral tokens, token-to-class mappings, an editor skin, and SDC components. Stored component data holds neutral tokens only, so the framework layer is swappable without touching content.
Added
- Two-project architecture: this agnostic base (engine plus default skin) is separate from the Tailwind framework bundle, so other framework bundles and skins can live in their own projects.
- Quality gates: PHPStan level 6 with no baseline, PHPCS clean, a Kernel and JS test suite, and a GitLab CI pipeline.
Fixed
- Effects, transition timing: the duration is emitted as an inline style for both the preset and custom value-types, so a chosen duration wins over a component-baked duration class. (The matching mapping change lives in Canvas Studio Tailwind.)
- The responsive "Inherit" option is injected consistently into inherit-enabled prop widgets, so responsive props no longer fall back to the first enum value.
- Color-picker (Pickr) panels are reclaimed on editor re-render, fixing a leak of orphaned panel nodes.
Upgrading to 1.0.0-beta1
This upgrade is render-neutral; no stored data is lost. Back up your database first.
- Update the code:
composer update drupal/canvas_studio drupal/canvas_studio_tailwind(ensure drupal/canvas is ^1.9). - Run database updates:
drush updatedb -ythendrush cr. This enables the default prop-UI skin so the editor look is preserved. - Reconcile component versions:
drush cs-syncthendrush cs:cv(the gate; it must report no orphaned version references), thendrush cr.
If you use the Tailwind bundle, follow the Canvas Studio Tailwind 1.0.0-beta1 release notes for the data-migration and theme-rebuild steps. Do not drush config:import Canvas versioned config across environments; use drush cs-sync to reconcile instead.
Note: this is a beta. APIs may still change before 1.0.0, and only stable releases are covered by Drupal's security advisory policy.