Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!4652
Issue
#3347672
: Create new SDC component for Umami (card view mode)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3347672
: Create new SDC component for Umami (card view mode)
issue/drupal-3347672:3347672-sdc-umami-card-alt
into
11.x
Overview
7
Commits
4
Pipelines
0
Changes
15
2 unresolved threads
Hide all comments
Merged
Ivan Berdinsky
requested to merge
issue/drupal-3347672:3347672-sdc-umami-card-alt
into
11.x
1 year ago
Overview
7
Commits
4
Pipelines
0
Changes
15
2 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Compare
11.x
version 11
ed787357
1 year ago
version 10
0651cef6
1 year ago
version 9
118db78b
1 year ago
version 8
b8454f83
1 year ago
version 7
ccb42c2e
1 year ago
version 6
fb70f98f
1 year ago
version 5
fb70f98f
1 year ago
version 4
cb0da52b
1 year ago
version 3
43d3374c
1 year ago
version 2
c006944a
1 year ago
version 1
05e95eb4
1 year ago
11.x (base)
and
latest version
latest version
ac5ec4c2
4 commits,
1 year ago
version 11
ed787357
4 commits,
1 year ago
version 10
0651cef6
3 commits,
1 year ago
version 9
118db78b
3 commits,
1 year ago
version 8
b8454f83
2 commits,
1 year ago
version 7
ccb42c2e
1 commit,
1 year ago
version 6
fb70f98f
211 commits,
1 year ago
version 5
fb70f98f
1 commit,
1 year ago
version 4
cb0da52b
1 commit,
1 year ago
version 3
43d3374c
1 commit,
1 year ago
version 2
c006944a
1 commit,
1 year ago
version 1
05e95eb4
210 commits,
1 year ago
15 files
+
303
−
106
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
core/profiles/demo_umami/themes/umami/components/card/card.component.yml
0 → 100644
+
38
−
0
Options
# This is so your IDE knows about the syntax for fixes and autocomplete.
$schema
:
https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
# The human readable name.
name
:
Card
# Status can be: "experimental", "stable", "deprecated", "obsolete".
status
:
experimental
# Schema for the props. We support www.json-schema.org. Learn more about the
# syntax there.
props
:
type
:
object
properties
:
attributes
:
type
:
Drupal\Core\Template\Attribute
title
:
Attributes
description
:
Wrapper attributes.
html_tag
:
type
:
string
title
:
HTML tag for wrapper
# Limit the available options by using enums.
enum
:
-
article
-
div
# Provide a default value
default
:
article
# Slots always hold arbitrary markup. We know that beforehand, so no need for
# a schema for slots.
slots
:
# The key is the name of the slot. In your template you will use
# {% block content %}.
content
:
title
:
Content
required
:
true
description
:
The card content.
Loading