REmoving things.
This commit is contained in:
parent
63bbb46715
commit
780d95a712
BIN
web/db/db.sqlite
BIN
web/db/db.sqlite
Binary file not shown.
@ -1 +0,0 @@
|
||||
.DS_STORE
|
||||
@ -1,21 +0,0 @@
|
||||
name: Accordion
|
||||
props:
|
||||
type: object
|
||||
properties:
|
||||
accordionType:
|
||||
type: string
|
||||
title: Accordion Type
|
||||
description: 'The type of accordion.'
|
||||
slots:
|
||||
headline:
|
||||
title: Headline
|
||||
required: true
|
||||
description: This is the headline for an accordion.
|
||||
body:
|
||||
title: Body
|
||||
required: true
|
||||
description: This is the body for an accordion.
|
||||
libraryOverrides:
|
||||
dependencies:
|
||||
- core/drupal
|
||||
- core/once
|
||||
@ -1,59 +0,0 @@
|
||||
.ib-accordion {
|
||||
|
||||
&__item {
|
||||
margin: 10px 0;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
&__headline {
|
||||
background-color: #EFEFEF;
|
||||
padding: 20px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 18px !important;
|
||||
margin: 0 !important;
|
||||
color: #3272b3;
|
||||
--bs-heading-color: #3272b3;
|
||||
}
|
||||
|
||||
&::before {
|
||||
display: flex;
|
||||
float: left;
|
||||
content: "\002B";
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: var(--site-primary);
|
||||
border-radius: 100%;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
color: #fff;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
&__body {
|
||||
padding: 0 20px;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
will-change: max-height;
|
||||
transition: all 0.25s ease-out;
|
||||
align-items: center;
|
||||
|
||||
> :first-child {
|
||||
margin: 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__active {
|
||||
.ib-accordion__headline::before {
|
||||
content: "\2212";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
{% set classes = [
|
||||
'ib-accordion__item',
|
||||
'ib-accordion__' ~ type|clean_class,
|
||||
] %}
|
||||
|
||||
{% set ariaLabel = 'accordion-' ~ random(0, 10000) %}
|
||||
<div class="{{ classes|join(" ") }}">
|
||||
<div class="ib-accordion__headline">
|
||||
{% block headline %}{% endblock %}
|
||||
</div>
|
||||
<div class="ib-accordion__body" aria-labelledby="{{ ariaLabel }}" aria-expanded="false">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
@ -1,21 +0,0 @@
|
||||
name: Banner
|
||||
props:
|
||||
type: object
|
||||
properties:
|
||||
bannerText:
|
||||
type: string
|
||||
title: Banner Text
|
||||
description: This is the text for the banner.
|
||||
bannerImage:
|
||||
type: string
|
||||
title: Banner Image
|
||||
description: This is the image for the banner.
|
||||
bannerType:
|
||||
type: string
|
||||
title: Banner Type
|
||||
description: The type of banner.
|
||||
enum: ["full", "thin"]
|
||||
addClasses:
|
||||
type: string
|
||||
title: Additonal Classes
|
||||
description: String of additional classses to add to the banner.
|
||||
@ -1 +0,0 @@
|
||||
.banner__thin{height:192px}.banner__thin .banner__text{position:relative;top:50%;transform:translateY(-50%)}.banner-image{background-size:cover;background-position:center;background-repeat:no-repeat}
|
||||
@ -1,21 +0,0 @@
|
||||
.banner {
|
||||
|
||||
&__thin {
|
||||
height: 192px;
|
||||
|
||||
.banner__text {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
&-image {
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -1,16 +0,0 @@
|
||||
{%
|
||||
set classes = [
|
||||
'banner',
|
||||
'banner__' ~ bannerType|clean_class,
|
||||
]
|
||||
%}
|
||||
|
||||
{% if addClasses %}
|
||||
{% set classes = classes|merge([addClasses]) %}
|
||||
{% endif %}
|
||||
|
||||
<div class="{{ classes|join(" ") }}" style="background-image: url({{ bannerImage }})">
|
||||
<div class="banner__text container">
|
||||
{{ include('lawa:heading', { level: '1', headingText: bannerText, color: textColor }, with_context = false) }}
|
||||
</div>
|
||||
</div>
|
||||
@ -1,28 +0,0 @@
|
||||
name: Heading
|
||||
props:
|
||||
type: object
|
||||
required:
|
||||
- level
|
||||
properties:
|
||||
level:
|
||||
type: string
|
||||
title: Heading Level
|
||||
description: 'The level of the heading, i.e. h1'
|
||||
enum: ['1', '2', '3', '4', '5', '6']
|
||||
headingText:
|
||||
type: string
|
||||
title: Heading Text
|
||||
description: 'The text within the heading.'
|
||||
color:
|
||||
type: string
|
||||
title: Heading Text Color
|
||||
description: The color of the text for the heading.
|
||||
enum: ['primary', 'secondary', 'white', 'black', 'neutral', 'teal']
|
||||
addClasses:
|
||||
type: string
|
||||
title: Classes
|
||||
description: Additional classes for the heading.
|
||||
subheading:
|
||||
type: string
|
||||
title: Subheading
|
||||
description: Text that can appear under the heading.
|
||||
@ -1 +0,0 @@
|
||||
.heading{margin:0}.heading__primary{color:#1d53a3}.heading__white{color:#fff}.heading__black{color:#000}.heading__neutral{color:#121212}.heading__teal{color:#01b9b6}
|
||||
@ -1,27 +0,0 @@
|
||||
@import 'src/sass/partials/variables';
|
||||
|
||||
.heading {
|
||||
|
||||
margin: 0;
|
||||
|
||||
&__primary {
|
||||
color: $primary_navy;
|
||||
}
|
||||
|
||||
&__white {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&__black {
|
||||
color: $black;
|
||||
}
|
||||
|
||||
&__neutral {
|
||||
color: $neutrals;
|
||||
}
|
||||
|
||||
&__teal {
|
||||
color: $teal;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
{% set classes = ['heading'] %}
|
||||
|
||||
{% if color %}
|
||||
{% set classes = classes|merge(['heading__' ~ color|clean_class]) %}
|
||||
{% endif %}
|
||||
|
||||
{% if addClasses %}
|
||||
{% set classes = classes|merge([addClasses])%}
|
||||
{% endif %}
|
||||
|
||||
{% set heading = headingText.0['#context']['value']|default(headingText) %}
|
||||
|
||||
{% if ariaLabel %}
|
||||
<h{{ level }} id="{{ ariaLabel }}" class="{{ classes|join(" ")}}">{{ heading }}</h{{ level}}>
|
||||
{% else %}
|
||||
<h{{ level }} class="{{ classes|join(" ")}}">
|
||||
{{ heading }}
|
||||
{% if subheading %}
|
||||
<br><em>{{ subheading }}</em>
|
||||
{% endif %}
|
||||
</h{{ level}}>
|
||||
{% endif %}
|
||||
@ -1,8 +0,0 @@
|
||||
uuid: 62221ff8-bff9-4615-b8b1-b5387c5c5fb8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: ping_pong
|
||||
label: 'Ping Pong'
|
||||
revision: false
|
||||
description: 'A ping pong component.'
|
||||
@ -1,66 +0,0 @@
|
||||
uuid: cec1a040-81f5-465e-93b0-7f8c1b329a3b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.field.block_content.ping_pong.field_ping_pong_background_color
|
||||
- field.field.block_content.ping_pong.field_ping_pong_body
|
||||
- field.field.block_content.ping_pong.field_ping_pong_cta
|
||||
- field.field.block_content.ping_pong.field_ping_pong_layout
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_items
|
||||
module:
|
||||
- color_field
|
||||
- link
|
||||
- media_library
|
||||
- text
|
||||
id: block_content.ping_pong.default
|
||||
targetEntityType: block_content
|
||||
bundle: ping_pong
|
||||
mode: default
|
||||
content:
|
||||
field_ping_pong_background_color:
|
||||
type: color_field_widget_box
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
default_colors: '#ac725e,#d06b64,#f83a22,#fa573c,#ff7537,#ffad46,#42d692,#16a765,#7bd148,#b3dc6c,#fbe983'
|
||||
third_party_settings: { }
|
||||
field_ping_pong_body:
|
||||
type: text_textarea
|
||||
weight: 5
|
||||
region: content
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_ping_pong_cta:
|
||||
type: link_default
|
||||
weight: 26
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
field_ping_pong_layout:
|
||||
type: options_select
|
||||
weight: 2
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_ping_pong_media_alignment:
|
||||
type: options_select
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_ping_pong_media_items:
|
||||
type: media_library_widget
|
||||
weight: 4
|
||||
region: content
|
||||
settings:
|
||||
media_types: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
info: true
|
||||
@ -1,75 +0,0 @@
|
||||
uuid: ed5314c0-a437-46a6-8f0a-8a09370c01b2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.field.block_content.ping_pong.field_ping_pong_background_color
|
||||
- field.field.block_content.ping_pong.field_ping_pong_body
|
||||
- field.field.block_content.ping_pong.field_ping_pong_cta
|
||||
- field.field.block_content.ping_pong.field_ping_pong_layout
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
|
||||
- field.field.block_content.ping_pong.field_ping_pong_media_items
|
||||
module:
|
||||
- color_field
|
||||
- link
|
||||
- options
|
||||
- text
|
||||
id: block_content.ping_pong.default
|
||||
targetEntityType: block_content
|
||||
bundle: ping_pong
|
||||
mode: default
|
||||
content:
|
||||
field_ping_pong_background_color:
|
||||
type: color_field_formatter_text
|
||||
label: hidden
|
||||
settings:
|
||||
format: hex
|
||||
opacity: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
region: content
|
||||
field_ping_pong_body:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 6
|
||||
region: content
|
||||
field_ping_pong_cta:
|
||||
type: link
|
||||
label: hidden
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 11
|
||||
region: content
|
||||
field_ping_pong_layout:
|
||||
type: list_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 8
|
||||
region: content
|
||||
field_ping_pong_media_alignment:
|
||||
type: list_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 9
|
||||
region: content
|
||||
field_ping_pong_media_items:
|
||||
type: entity_reference_entity_view
|
||||
label: hidden
|
||||
settings:
|
||||
view_mode: ping_pong
|
||||
link: false
|
||||
third_party_settings: { }
|
||||
weight: 10
|
||||
region: content
|
||||
hidden:
|
||||
search_api_excerpt: true
|
||||
@ -1,40 +0,0 @@
|
||||
uuid: ad80e641-9853-4131-9802-0394aa966e30
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.media.ping_pong
|
||||
- field.field.media.image.field_media_image
|
||||
- image.style.large
|
||||
- media.type.image
|
||||
module:
|
||||
- image
|
||||
- layout_builder
|
||||
third_party_settings:
|
||||
layout_builder:
|
||||
enabled: false
|
||||
allow_custom: false
|
||||
_core:
|
||||
default_config_hash: 73xaTNkI5J6sfFcBmNYeuk070X3mQS_iwwWaPYyfG2M
|
||||
id: media.image.ping_pong
|
||||
targetEntityType: media
|
||||
bundle: image
|
||||
mode: ping_pong
|
||||
content:
|
||||
field_media_image:
|
||||
type: image
|
||||
label: visually_hidden
|
||||
settings:
|
||||
image_link: ''
|
||||
image_style: large
|
||||
image_loading:
|
||||
attribute: lazy
|
||||
third_party_settings: { }
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
search_api_excerpt: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
@ -1,42 +0,0 @@
|
||||
uuid: fd852e6e-b857-45f5-9ff9-125ab5611d51
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.media.ping_pong
|
||||
- field.field.media.video.field_media_video_file
|
||||
- media.type.video
|
||||
module:
|
||||
- file
|
||||
- layout_builder
|
||||
third_party_settings:
|
||||
layout_builder:
|
||||
enabled: false
|
||||
allow_custom: false
|
||||
_core:
|
||||
default_config_hash: SxvbuGh-6cQMxl9bBV27-hGI46u7ZvwlMm5ObaJMNnw
|
||||
id: media.video.ping_pong
|
||||
targetEntityType: media
|
||||
bundle: video
|
||||
mode: ping_pong
|
||||
content:
|
||||
field_media_video_file:
|
||||
type: file_video
|
||||
label: visually_hidden
|
||||
settings:
|
||||
controls: true
|
||||
autoplay: false
|
||||
loop: false
|
||||
multiple_file_display_type: tags
|
||||
muted: false
|
||||
width: 640
|
||||
height: 480
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
search_api_excerpt: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
@ -1,11 +0,0 @@
|
||||
uuid: 3907b7a9-1d74-4907-bcd5-ec4cc1071ed2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- media
|
||||
id: media.ping_pong
|
||||
label: 'Ping Pong'
|
||||
description: ''
|
||||
targetEntityType: media
|
||||
cache: true
|
||||
@ -1,22 +0,0 @@
|
||||
uuid: 31cd8a2a-3bdf-43cd-9a64-43282c7e94be
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_background_color
|
||||
module:
|
||||
- color_field
|
||||
id: block_content.ping_pong.field_ping_pong_background_color
|
||||
field_name: field_ping_pong_background_color
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Background Color'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
opacity: 0
|
||||
field_type: color_field_type
|
||||
@ -1,22 +0,0 @@
|
||||
uuid: 943e8d34-238f-4de9-9196-87ed7785bf74
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_body
|
||||
module:
|
||||
- text
|
||||
id: block_content.ping_pong.field_ping_pong_body
|
||||
field_name: field_ping_pong_body
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Body'
|
||||
description: 'The body text of the ping pong.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
allowed_formats: { }
|
||||
field_type: text_long
|
||||
@ -1,23 +0,0 @@
|
||||
uuid: 03279c7a-a355-4a6e-b9ad-b6c051d97963
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_cta
|
||||
module:
|
||||
- link
|
||||
id: block_content.ping_pong.field_ping_pong_cta
|
||||
field_name: field_ping_pong_cta
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong CTA'
|
||||
description: 'CTA Link for the ping pong item.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 1
|
||||
link_type: 17
|
||||
field_type: link
|
||||
@ -1,21 +0,0 @@
|
||||
uuid: 71d04346-f3b6-4b11-ac4f-98cd5ad14b35
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_layout
|
||||
module:
|
||||
- options
|
||||
id: block_content.ping_pong.field_ping_pong_layout
|
||||
field_name: field_ping_pong_layout
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Layout'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
||||
@ -1,21 +0,0 @@
|
||||
uuid: 00c6c95a-5f80-45c8-ab83-deecd252ce32
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_media_alignment
|
||||
module:
|
||||
- options
|
||||
id: block_content.ping_pong.field_ping_pong_media_alignment
|
||||
field_name: field_ping_pong_media_alignment
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Media Alignment'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
||||
@ -1,31 +0,0 @@
|
||||
uuid: 207b28f1-37af-4c91-9cb1-d75d76ab2277
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- block_content.type.ping_pong
|
||||
- field.storage.block_content.field_ping_pong_media_items
|
||||
- media.type.image
|
||||
- media.type.video
|
||||
id: block_content.ping_pong.field_ping_pong_media_items
|
||||
field_name: field_ping_pong_media_items
|
||||
entity_type: block_content
|
||||
bundle: ping_pong
|
||||
label: 'Ping Pong Media Items'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:media'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
image: image
|
||||
video: video
|
||||
sort:
|
||||
field: _none
|
||||
direction: ASC
|
||||
auto_create: false
|
||||
auto_create_bundle: image
|
||||
field_type: entity_reference
|
||||
@ -1,20 +0,0 @@
|
||||
uuid: 2c91aadc-de94-4014-80b0-0165cb294d7e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- color_field
|
||||
id: block_content.field_ping_pong_background_color
|
||||
field_name: field_ping_pong_background_color
|
||||
entity_type: block_content
|
||||
type: color_field_type
|
||||
settings:
|
||||
format: '#HEXHEX'
|
||||
module: color_field
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,19 +0,0 @@
|
||||
uuid: 251a77bd-a105-4525-b528-0d1acdb5dea0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- text
|
||||
id: block_content.field_ping_pong_body
|
||||
field_name: field_ping_pong_body
|
||||
entity_type: block_content
|
||||
type: text_long
|
||||
settings: { }
|
||||
module: text
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,19 +0,0 @@
|
||||
uuid: 5f9b0f7a-f3ed-4b92-9558-d02846914aff
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- link
|
||||
id: block_content.field_ping_pong_cta
|
||||
field_name: field_ping_pong_cta
|
||||
entity_type: block_content
|
||||
type: link
|
||||
settings: { }
|
||||
module: link
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,36 +0,0 @@
|
||||
uuid: cb0cf63f-b12d-42a4-9ad8-151a6b45e5c4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- options
|
||||
id: block_content.field_ping_pong_layout
|
||||
field_name: field_ping_pong_layout
|
||||
entity_type: block_content
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: '50_50'
|
||||
label: 50-50
|
||||
-
|
||||
value: '67_33'
|
||||
label: 67-33
|
||||
-
|
||||
value: '33_67'
|
||||
label: 33-67
|
||||
-
|
||||
value: '25_75'
|
||||
label: 25-75
|
||||
-
|
||||
value: '75_25'
|
||||
label: 75-25
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,27 +0,0 @@
|
||||
uuid: 5aad3453-4210-45e5-a891-949efed0792c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- options
|
||||
id: block_content.field_ping_pong_media_alignment
|
||||
field_name: field_ping_pong_media_alignment
|
||||
entity_type: block_content
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: left
|
||||
label: Left
|
||||
-
|
||||
value: right
|
||||
label: Right
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,20 +0,0 @@
|
||||
uuid: ced369f0-c81f-44c2-9715-c80f73ba58ae
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_content
|
||||
- media
|
||||
id: block_content.field_ping_pong_media_items
|
||||
field_name: field_ping_pong_media_items
|
||||
entity_type: block_content
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: media
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@ -1,5 +0,0 @@
|
||||
name: DC Component Library
|
||||
description: 'Components for use on a site.'
|
||||
type: module
|
||||
package: custom
|
||||
core_version_requirement: ^10.3 || ^11
|
||||
@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_theme().
|
||||
*/
|
||||
function dc_components_theme() {
|
||||
return [
|
||||
'block__inline_block__ping_pong' => [
|
||||
'render element' => 'elements',
|
||||
'base hook' => 'block',
|
||||
],
|
||||
'field__block_content__field_ping_pong_media_items__ping_pong' => [
|
||||
'render element' => 'elements',
|
||||
'base hook' => 'field'
|
||||
]
|
||||
];
|
||||
}
|
||||
@ -1,12 +1,21 @@
|
||||
name: Accordion
|
||||
props:
|
||||
type: object
|
||||
properties: { }
|
||||
properties:
|
||||
accordionType:
|
||||
type: string
|
||||
title: Accordion Type
|
||||
description: 'The type of accordion.'
|
||||
slots:
|
||||
# Content.
|
||||
accordion_headline:
|
||||
title: Accordion Title
|
||||
description: "The accordion title."
|
||||
accordion_content:
|
||||
title: Accordion Content
|
||||
description: "The accordion content."
|
||||
headline:
|
||||
title: Headline
|
||||
required: true
|
||||
description: This is the headline for an accordion.
|
||||
body:
|
||||
title: Body
|
||||
required: true
|
||||
description: This is the body for an accordion.
|
||||
libraryOverrides:
|
||||
dependencies:
|
||||
- core/drupal
|
||||
- core/once
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
{% set classes = [
|
||||
'accordion',
|
||||
'ib-accordion__item',
|
||||
'ib-accordion__' ~ type|clean_class,
|
||||
] %}
|
||||
|
||||
<div class="accordion">
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
{% block accordion_title %}{% endblock %}
|
||||
</h2>
|
||||
{% set ariaLabel = 'accordion-' ~ random(0, 10000) %}
|
||||
<div class="{{ classes|join(" ") }}">
|
||||
<div class="ib-accordion__headline">
|
||||
{% block headline %}{% endblock %}
|
||||
</div>
|
||||
<div class="accordion-body">
|
||||
{% block accordion_content %}{% endblock %}
|
||||
<div class="ib-accordion__body" aria-labelledby="{{ ariaLabel }}" aria-expanded="false">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -32,11 +32,10 @@ slots:
|
||||
libraryOverrides:
|
||||
css:
|
||||
theme:
|
||||
../../libraries/swiper-bundle.min.css: { minified: true }
|
||||
ping-pong.css: { }
|
||||
js:
|
||||
../../libraries/swiper-bundle.min.js: { minified: true }
|
||||
ping-pong.js: { }
|
||||
dependencies:
|
||||
- core/drupal
|
||||
- core/once
|
||||
- dchadwick/swiper
|
||||
@ -44,3 +44,10 @@ tabbed-content:
|
||||
dependencies:
|
||||
- core/drupal
|
||||
- core/once
|
||||
|
||||
swiper:
|
||||
css:
|
||||
theme:
|
||||
libraries/swiper-bundle.min.css: { minified: true }
|
||||
js:
|
||||
libraries/swiper-bundle.min.js: { minified: true }
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
{{ title_prefix }}
|
||||
{{ title_suffix }}
|
||||
|
||||
{% embed 'dc_components:ping-pong' with {
|
||||
{% embed 'dchadwick:ping-pong' with {
|
||||
mediaAlign: align,
|
||||
bgColor: bgColor,
|
||||
}%}
|
||||
Loading…
x
Reference in New Issue
Block a user