diff --git a/web/db/db.sqlite b/web/db/db.sqlite index d4ceb97..f674f4d 100644 Binary files a/web/db/db.sqlite and b/web/db/db.sqlite differ diff --git a/web/modules/custom/dc_core/modules/dc_components/.gitignore b/web/modules/custom/dc_core/modules/dc_components/.gitignore deleted file mode 100644 index fd5106f..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.DS_STORE diff --git a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.component.yml b/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.component.yml deleted file mode 100644 index 20f034e..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.component.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.scss b/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.scss deleted file mode 100644 index f5c1f18..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.scss +++ /dev/null @@ -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"; - } - } -} - diff --git a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.twig b/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.twig deleted file mode 100644 index 5003e2b..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.twig +++ /dev/null @@ -1,14 +0,0 @@ -{% set classes = [ - 'ib-accordion__item', - 'ib-accordion__' ~ type|clean_class, -] %} - -{% set ariaLabel = 'accordion-' ~ random(0, 10000) %} -
-
- {% block headline %}{% endblock %} -
- -
diff --git a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.component.yml b/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.component.yml deleted file mode 100644 index 13ef740..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.component.yml +++ /dev/null @@ -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. diff --git a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.css b/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.css deleted file mode 100644 index ae221fc..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.css +++ /dev/null @@ -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} \ No newline at end of file diff --git a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.scss b/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.scss deleted file mode 100644 index 1a407c1..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.scss +++ /dev/null @@ -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; - } - - - -} diff --git a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.twig b/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.twig deleted file mode 100644 index e75d456..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/banner/banner.twig +++ /dev/null @@ -1,16 +0,0 @@ -{% -set classes = [ - 'banner', - 'banner__' ~ bannerType|clean_class, -] -%} - -{% if addClasses %} - {% set classes = classes|merge([addClasses]) %} -{% endif %} - -
- -
diff --git a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.component.yml b/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.component.yml deleted file mode 100644 index 0385b02..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.component.yml +++ /dev/null @@ -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. diff --git a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.css b/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.css deleted file mode 100644 index 26a5826..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.css +++ /dev/null @@ -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} \ No newline at end of file diff --git a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.scss b/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.scss deleted file mode 100644 index b7a89c5..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.scss +++ /dev/null @@ -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; - } - -} diff --git a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.twig b/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.twig deleted file mode 100644 index 620dd84..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/components/heading/heading.twig +++ /dev/null @@ -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 %} - {{ heading }} -{% else %} - - {{ heading }} - {% if subheading %} -
{{ subheading }} - {% endif %} -
-{% endif %} diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/block_content.type.ping_pong.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/block_content.type.ping_pong.yml deleted file mode 100644 index f5a91da..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/block_content.type.ping_pong.yml +++ /dev/null @@ -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.' diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_form_display.block_content.ping_pong.default.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_form_display.block_content.ping_pong.default.yml deleted file mode 100644 index 213cd43..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_form_display.block_content.ping_pong.default.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.block_content.ping_pong.default.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.block_content.ping_pong.default.yml deleted file mode 100644 index 1623603..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.block_content.ping_pong.default.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.image.ping_pong.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.image.ping_pong.yml deleted file mode 100644 index a1c40e4..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.image.ping_pong.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.video.ping_pong.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.video.ping_pong.yml deleted file mode 100644 index 9af3993..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_display.media.video.ping_pong.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_mode.media.ping_pong.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_mode.media.ping_pong.yml deleted file mode 100644 index fcadce4..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/core.entity_view_mode.media.ping_pong.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_background_color.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_background_color.yml deleted file mode 100644 index eeab7c8..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_background_color.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_body.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_body.yml deleted file mode 100644 index 1ce59d1..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_body.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_cta.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_cta.yml deleted file mode 100644 index d7e3e65..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_cta.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_layout.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_layout.yml deleted file mode 100644 index d51e8d1..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_layout.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_alignment.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_alignment.yml deleted file mode 100644 index b072e75..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_alignment.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_items.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_items.yml deleted file mode 100644 index 49449cb..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.field.block_content.ping_pong.field_ping_pong_media_items.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_background_color.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_background_color.yml deleted file mode 100644 index 8e2a1e9..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_background_color.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_body.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_body.yml deleted file mode 100644 index 0d9882c..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_body.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_cta.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_cta.yml deleted file mode 100644 index 2572b8b..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_cta.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_layout.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_layout.yml deleted file mode 100644 index 09538d0..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_layout.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_alignment.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_alignment.yml deleted file mode 100644 index 88cf565..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_alignment.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_items.yml b/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_items.yml deleted file mode 100644 index 1def439..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/config/install/field.storage.block_content.field_ping_pong_media_items.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/dc_components.info.yml b/web/modules/custom/dc_core/modules/dc_components/dc_components.info.yml deleted file mode 100644 index 7c56f85..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/dc_components.info.yml +++ /dev/null @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/dc_components.module b/web/modules/custom/dc_core/modules/dc_components/dc_components.module deleted file mode 100644 index 7ac9c67..0000000 --- a/web/modules/custom/dc_core/modules/dc_components/dc_components.module +++ /dev/null @@ -1,17 +0,0 @@ - [ - 'render element' => 'elements', - 'base hook' => 'block', - ], - 'field__block_content__field_ping_pong_media_items__ping_pong' => [ - 'render element' => 'elements', - 'base hook' => 'field' - ] - ]; -} diff --git a/web/themes/custom/dchadwick/components/accordion/accordion.component.yml b/web/themes/custom/dchadwick/components/accordion/accordion.component.yml index e3a48a9..20f034e 100644 --- a/web/themes/custom/dchadwick/components/accordion/accordion.component.yml +++ b/web/themes/custom/dchadwick/components/accordion/accordion.component.yml @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.css b/web/themes/custom/dchadwick/components/accordion/accordion.css similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.css rename to web/themes/custom/dchadwick/components/accordion/accordion.css diff --git a/web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.js b/web/themes/custom/dchadwick/components/accordion/accordion.js similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/components/accordion/accordion.js rename to web/themes/custom/dchadwick/components/accordion/accordion.js diff --git a/web/themes/custom/dchadwick/components/accordion/accordion.twig b/web/themes/custom/dchadwick/components/accordion/accordion.twig index 88cb127..5003e2b 100644 --- a/web/themes/custom/dchadwick/components/accordion/accordion.twig +++ b/web/themes/custom/dchadwick/components/accordion/accordion.twig @@ -1,14 +1,14 @@ {% set classes = [ - 'accordion', + 'ib-accordion__item', + 'ib-accordion__' ~ type|clean_class, ] %} -
-
-

- {% block accordion_title %}{% endblock %} -

+{% set ariaLabel = 'accordion-' ~ random(0, 10000) %} +
+
+ {% block headline %}{% endblock %}
-
- {% block accordion_content %}{% endblock %} +
diff --git a/web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.component.yml b/web/themes/custom/dchadwick/components/ping-pong/ping-pong.component.yml similarity index 87% rename from web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.component.yml rename to web/themes/custom/dchadwick/components/ping-pong/ping-pong.component.yml index b1b40c6..4c26561 100644 --- a/web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.component.yml +++ b/web/themes/custom/dchadwick/components/ping-pong/ping-pong.component.yml @@ -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 diff --git a/web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.css b/web/themes/custom/dchadwick/components/ping-pong/ping-pong.css similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.css rename to web/themes/custom/dchadwick/components/ping-pong/ping-pong.css diff --git a/web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.twig b/web/themes/custom/dchadwick/components/ping-pong/ping-pong.html.twig similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.twig rename to web/themes/custom/dchadwick/components/ping-pong/ping-pong.html.twig diff --git a/web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.js b/web/themes/custom/dchadwick/components/ping-pong/ping-pong.js similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/components/ping-pong/ping-pong.js rename to web/themes/custom/dchadwick/components/ping-pong/ping-pong.js diff --git a/web/themes/custom/dchadwick/dchadwick.libraries.yml b/web/themes/custom/dchadwick/dchadwick.libraries.yml index 8142bea..9e268a4 100644 --- a/web/themes/custom/dchadwick/dchadwick.libraries.yml +++ b/web/themes/custom/dchadwick/dchadwick.libraries.yml @@ -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 } diff --git a/web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.css b/web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.css similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.css rename to web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.css diff --git a/web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.js b/web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.js similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.js rename to web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.js diff --git a/web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.js.map b/web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.js.map similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/libraries/swiper-bundle.min.js.map rename to web/themes/custom/dchadwick/libraries/swiper/swiper-bundle.min.js.map diff --git a/web/modules/custom/dc_core/modules/dc_components/templates/block--inline-block--ping-pong.html.twig b/web/themes/custom/dchadwick/templates/blocks/block--inline-block--ping-pong.html.twig similarity index 94% rename from web/modules/custom/dc_core/modules/dc_components/templates/block--inline-block--ping-pong.html.twig rename to web/themes/custom/dchadwick/templates/blocks/block--inline-block--ping-pong.html.twig index d175565..1d166ba 100644 --- a/web/modules/custom/dc_core/modules/dc_components/templates/block--inline-block--ping-pong.html.twig +++ b/web/themes/custom/dchadwick/templates/blocks/block--inline-block--ping-pong.html.twig @@ -19,7 +19,7 @@ {{ title_prefix }} {{ title_suffix }} - {% embed 'dc_components:ping-pong' with { + {% embed 'dchadwick:ping-pong' with { mediaAlign: align, bgColor: bgColor, }%} diff --git a/web/modules/custom/dc_core/modules/dc_components/templates/field--block-content--field-ping-pong-media-items--ping-pong.html.twig b/web/themes/custom/dchadwick/templates/field/field--block-content--field-ping-pong-media-items--ping-pong.html.twig similarity index 100% rename from web/modules/custom/dc_core/modules/dc_components/templates/field--block-content--field-ping-pong-media-items--ping-pong.html.twig rename to web/themes/custom/dchadwick/templates/field/field--block-content--field-ping-pong-media-items--ping-pong.html.twig