Skip to content
Snippets Groups Projects
Commit 20343e6b authored by John Ferris's avatar John Ferris
Browse files

Issue #3437333: Incompatible with latest versions of Drupal 10

parent 2c33d5e8
No related branches found
No related tags found
2 merge requests!18Resolve #3501850 "Sdc dependency no",!2Issue #3437333: Incompatible with latest versions of Drupal 10
# Mercury Layouts
This module provides a set of composable layouts intended for, but not exclusive to, the [Mercury Editor](https://www.drupal.org/project/mercury_editor) module. These layouts are based concepts described in [Every Layout](https://every-layout.dev/), a fantastic learning resource for creating accessible layouts using modern CSS. If you are not familiar with the concepts described in Every Layout, it's highly recommend you take the time to read it to gain a better understanding of some the configuration options available in these layouts.
The included layouts are created using the [Single Directory Components (sdc)](https://www.drupal.org/project/sdc) module which means the underlying components can be used in any Twig template regardless of your theme or module. They are not limited to modules using layout discovery such as Layout Builder or Layout Paragraphs.
The included layouts are created using the core [Single Directory Components (sdc)](https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components/about-single-directory-components) module which means the underlying components can be used in any Twig template regardless of your theme or module. They are not limited to modules using layout discovery such as Layout Builder or Layout Paragraphs.
## Table of contents
......@@ -16,8 +16,8 @@ The included layouts are created using the [Single Directory Components (sdc)](h
This module requires the following modules:
- [Layout Discovery](https://www.drupal.org/project/drupal)
- [Single Directory Components (sdc)](https://www.drupal.org/project/sdc)
- [Drupal Core - Layout Discovery](https://www.drupal.org/project/drupal)
- [Drupal Core - Single Directory Components (sdc)](https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components/about-single-directory-components)
- [Style Options](https://www.drupal.org/project/style_options)
## Recommended modules (optional)
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Cluster
description: A simple layout container that lays content out horizontally.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Columns 2
description: A 2 column layout that breaks to 1 column.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Columns 3
description: A 3 column layout that breaks to 1 column.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Columns 4
description: A 4 column layout that breaks to 1 column.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Columns 5
description: A 5 column layout that breaks to 1 column.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Container
description: A simple layout container.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Skeleton
description: A layout placeholder used to visualize layout structure or as a placeholder for lazy loaded content.
props:
......
$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Stack
description: A simple layout container that lays content out verticaly.
props:
......
name: 'Mercury Layouts'
type: module
description: 'Provides composable layouts for Mercury Editor'
core_version_requirement: ^9 || 10.0
core_version_requirement: ^10.1 || ^11
package: 'Mercury Editor'
dependencies:
- drupal:layout_discovery
- drupal:sdc
- style_options:style_options
- sdc:sdc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment