Skip to content

Commit

Permalink
28651 ssbd repository (#271)
Browse files Browse the repository at this point in the history
* refs #28651 - SSbD repository

* refs #28651 - SSbD repository

* refs #28651 - SSbD repository

* refs #28651 - work on ssbd

* refs #28651 - fix composer

* Rename deploy hook

* refs #28651 - work on accordion

* refs #28651 - SSbD accordion and title changes

---------

Co-authored-by: Stefan Butura <[email protected]>
  • Loading branch information
sosig132 and stefanbutura authored Feb 12, 2025
1 parent 43925a3 commit 9eabf2e
Show file tree
Hide file tree
Showing 44 changed files with 1,341 additions and 6 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"drupal/better_exposed_filters": "^6.0",
"drupal/block_class": "^3.0",
"drupal/ckeditor5_font": "^1.1@beta",
"drupal/ckeditor_accordion": "^2.2",
"drupal/ckeditor_bs_grid": "^2.0",
"drupal/color_field": "^3.0",
"drupal/conditional_fields": "^4.0@alpha",
Expand Down Expand Up @@ -75,6 +76,7 @@
"drupal/paragraphs": "^1.15",
"drupal/pathauto": "^1.11",
"drupal/publishcontent": "^1.6",
"drupal/quick_node_clone": "^1.20",
"drupal/rabbit_hole": "^1.0@beta",
"drupal/raven": "^4.0",
"drupal/search_api": "^1.29",
Expand Down Expand Up @@ -204,6 +206,9 @@
},
"drupal/conditional_fields": {
"#3344587 - Support for field hidden by condition loosing its required status": "https://www.drupal.org/files/issues/2024-03-27/3344587-required-fields-that-59-with-fix.patch"
},
"drupal/quick_node_clone": {
"#3100117 - Inline blocks from layout builder not cloned properly": "patches/quick_node_clone/22.diff"
}
},
"drupal-lenient" : {
Expand Down
116 changes: 113 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions config/sync/block_content.type.icon_banner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
uuid: bd475677-14f4-4785-b179-f4a5ba0f5994
langcode: en
status: true
dependencies: { }
id: icon_banner
label: 'Icon banner'
revision: false
description: null
4 changes: 4 additions & 0 deletions config/sync/ckeditor_accordion.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
collapse_all: 0
keep_rows_open: 1
animate_accordion_toggle: 1
open_tabs_with_hash: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
uuid: 7e4dcad7-575c-4d5c-bff4-e023cdff6551
langcode: en
status: true
dependencies:
config:
- block_content.type.icon_banner
- field.field.block_content.icon_banner.field_color
- field.field.block_content.icon_banner.field_icon
module:
- color_field
- media_library
id: block_content.icon_banner.default
targetEntityType: block_content
bundle: icon_banner
mode: default
content:
field_color:
type: color_field_widget_box
weight: 27
region: content
settings:
default_colors: '#aed3ff,#e0c7f5,#fbcdd5,#f4eaca'
third_party_settings: { }
field_icon:
type: media_library_widget
weight: 26
region: content
settings:
media_types: { }
third_party_settings: { }
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
uuid: a4e52c97-d1fd-42d2-aaf4-c3f4b11eed5b
langcode: en
status: true
dependencies:
config:
- block_content.type.icon_banner
- field.field.block_content.icon_banner.field_color
- field.field.block_content.icon_banner.field_icon
module:
- color_field
id: block_content.icon_banner.default
targetEntityType: block_content
bundle: icon_banner
mode: default
content:
field_color:
type: color_field_formatter_text
label: hidden
settings:
format: hex
opacity: true
third_party_settings: { }
weight: 1
region: content
field_icon:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: svg
link: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module:
breakpoint: 0
ckeditor5: 0
ckeditor5_font: 0
ckeditor_accordion: 0
ckeditor_bs_grid: 0
color_field: 0
comment: 0
Expand Down Expand Up @@ -88,6 +89,7 @@ module:
path_alias: 0
phpass: 0
publishcontent: 0
quick_node_clone: 0
rabbit_hole: 0
raven: 0
rh_node: 0
Expand Down
4 changes: 4 additions & 0 deletions config/sync/editor.editor.full_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ settings:
- '|'
- bulletedList
- numberedList
- Accordion
- '|'
- blockQuote
- drupalInsertImage
Expand Down Expand Up @@ -111,6 +112,9 @@ settings:
-
label: 'News blockquote'
element: '<blockquote class="news-blockquote">'
-
label: 'Caption text'
element: '<p class="text--caption">'
media_media:
allow_view_mode_override: false
image_upload:
Expand Down
4 changes: 2 additions & 2 deletions config/sync/extlink.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ extlink_use_external_js_file: false
extlink_exclude_admin_routes: false
extlink_target: true
extlink_target_no_override: true
extlink_title_no_override: false
extlink_nofollow: false
extlink_noreferrer: true
extlink_follow_no_override: false
Expand Down Expand Up @@ -32,5 +31,6 @@ extlink_font_awesome_classes:
links: 'fa fa-external-link'
mailto: 'fa fa-envelope-o'
extlink_icon_placement: append
extlink_prevent_orphan: false
whitelisted_domains: { }
extlink_title_no_override: false
extlink_prevent_orphan: false
22 changes: 22 additions & 0 deletions config/sync/field.field.block_content.icon_banner.field_color.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 6d429425-56fc-4403-b56e-85324584bf73
langcode: en
status: true
dependencies:
config:
- block_content.type.icon_banner
- field.storage.block_content.field_color
module:
- color_field
id: block_content.icon_banner.field_color
field_name: field_color
entity_type: block_content
bundle: icon_banner
label: Color
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
opacity: 0
field_type: color_field_type
29 changes: 29 additions & 0 deletions config/sync/field.field.block_content.icon_banner.field_icon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 1a31e467-db9f-4782-b4d0-278e7fa38dae
langcode: en
status: true
dependencies:
config:
- block_content.type.icon_banner
- field.storage.block_content.field_icon
- media.type.thematic_areas
id: block_content.icon_banner.field_icon
field_name: field_icon
entity_type: block_content
bundle: icon_banner
label: Icon
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
thematic_areas: thematic_areas
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
20 changes: 20 additions & 0 deletions config/sync/field.storage.block_content.field_color.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: fed50174-96f8-4003-a5e6-cea8306ec571
langcode: en
status: true
dependencies:
module:
- block_content
- color_field
id: block_content.field_color
field_name: field_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
Loading

0 comments on commit 9eabf2e

Please sign in to comment.