Skip to content

Commit 58c40d8

Browse files
committed
[CIVIC-2045] Updated Content message component.
1 parent d60f708 commit 58c40d8

4 files changed

+49
-10
lines changed

web/themes/contrib/civictheme/civictheme.info.yml

+1
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ config_devel:
558558
- field.storage.paragraph.field_c_p_list_topics
559559
- field.storage.paragraph.field_c_p_list_type
560560
- field.storage.paragraph.field_c_p_location
561+
- field.storage.paragraph.field_c_p_message_type
561562
- field.storage.paragraph.field_c_p_panels
562563
- field.storage.paragraph.field_c_p_reference
563564
- field.storage.paragraph.field_c_p_show_image_as_icon

web/themes/contrib/civictheme/config/install/field.field.node.civictheme_page.field_c_n_components.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ dependencies:
1010
- paragraphs.paragraphs_type.civictheme_callout
1111
- paragraphs.paragraphs_type.civictheme_campaign
1212
- paragraphs.paragraphs_type.civictheme_content
13+
- paragraphs.paragraphs_type.civictheme_content_message
1314
- paragraphs.paragraphs_type.civictheme_iframe
1415
- paragraphs.paragraphs_type.civictheme_manual_list
1516
- paragraphs.paragraphs_type.civictheme_map
16-
- paragraphs.paragraphs_type.civictheme_content_message
1717
- paragraphs.paragraphs_type.civictheme_next_step
1818
- paragraphs.paragraphs_type.civictheme_promo
1919
- paragraphs.paragraphs_type.civictheme_slider
@@ -40,10 +40,10 @@ settings:
4040
civictheme_automated_list: civictheme_automated_list
4141
civictheme_callout: civictheme_callout
4242
civictheme_campaign: civictheme_campaign
43+
civictheme_content_message: civictheme_content_message
4344
civictheme_iframe: civictheme_iframe
4445
civictheme_manual_list: civictheme_manual_list
4546
civictheme_map: civictheme_map
46-
civictheme_content_message: civictheme_content_message
4747
civictheme_next_step: civictheme_next_step
4848
civictheme_promo: civictheme_promo
4949
civictheme_slider: civictheme_slider
@@ -71,22 +71,22 @@ settings:
7171
civictheme_content:
7272
weight: -61
7373
enabled: true
74+
civictheme_content_message:
75+
weight: -55
76+
enabled: true
7477
civictheme_event_card:
7578
weight: -41
7679
enabled: false
7780
civictheme_event_card_ref:
7881
weight: -40
7982
enabled: false
8083
civictheme_iframe:
81-
weight: -55
82-
enabled: true
83-
civictheme_manual_list:
8484
weight: -54
8585
enabled: true
86-
civictheme_map:
86+
civictheme_manual_list:
8787
weight: -53
8888
enabled: true
89-
civictheme_content_message:
89+
civictheme_map:
9090
weight: -52
9191
enabled: true
9292
civictheme_navigation_card:
@@ -120,10 +120,16 @@ settings:
120120
weight: -47
121121
enabled: false
122122
civictheme_slider_slide_ref:
123+
weight: -34
124+
enabled: false
125+
civictheme_snippet:
126+
weight: -33
127+
enabled: false
128+
civictheme_snippet_ref:
123129
weight: -32
124130
enabled: false
125131
civictheme_social_icon:
126-
weight: -34
132+
weight: -35
127133
enabled: false
128134
civictheme_subject_card:
129135
weight: -38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
langcode: en
2+
status: true
3+
dependencies:
4+
module:
5+
- options
6+
- paragraphs
7+
id: paragraph.field_c_p_message_type
8+
field_name: field_c_p_message_type
9+
entity_type: paragraph
10+
type: list_string
11+
settings:
12+
allowed_values:
13+
-
14+
value: information
15+
label: Information
16+
-
17+
value: warning
18+
label: Warning
19+
-
20+
value: error
21+
label: Error
22+
-
23+
value: success
24+
label: Success
25+
allowed_values_function: ''
26+
module: options
27+
locked: false
28+
cardinality: 1
29+
translatable: true
30+
indexes: { }
31+
persist_with_no_fields: false
32+
custom_storage: false

web/themes/contrib/civictheme/config/install/paragraphs.paragraphs_type.civictheme_content_message.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ langcode: en
22
status: true
33
dependencies: { }
44
id: civictheme_content_message
5-
label: Content message
5+
label: 'Content message'
66
icon_uuid: null
77
icon_default: null
8-
description: ''
8+
description: 'A content message paragraph component.'
99
behavior_plugins: { }

0 commit comments

Comments
 (0)