@total_onion/onion-library 2.0.108 → 2.0.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
|
|
2
|
+
{% set textEditorStyleVars = include('components/text-editor-settings-variables-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
|
|
3
|
+
{% set textEditorContainerClasses = include('components/text-editor-settings-container-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
|
|
4
|
+
{% set textEditorElementClasses = include('components/text-editor-settings-element-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
|
|
5
|
+
{% set elementType = field.element_type|ru %}
|
|
6
|
+
|
|
7
|
+
<style>
|
|
8
|
+
.{{blockClassName}}__post-title.{{block.id}}, .{{blockClassName}}__content-container.{{block.id}}{
|
|
9
|
+
{{textEditorStyleVars}}
|
|
10
|
+
{{gridLayoutElement}}
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
<div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}} {{blockClassName}}__info-item">
|
|
15
|
+
<span class="{{blockClassName}}__post-author-label" data-pattern-post-info="label_text">{{field.label_text}}</span>
|
|
16
|
+
<{{elementType|default('p')}} data-pattern-post-info="post_author" class="{{blockClassName}}__post-author {{textEditorElementClasses}} {{block.id}}">{{post.author.name}}</{{elementType|default('p')}}>
|
|
17
|
+
</div>
|
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
object-fit: var(--image-fit-style);
|
|
141
141
|
margin: auto;
|
|
142
142
|
}
|
|
143
|
+
&__post-author-label {
|
|
144
|
+
display: flex;
|
|
145
|
+
}
|
|
143
146
|
&__global-image {
|
|
144
147
|
z-index: var(--global-image-zindex);
|
|
145
148
|
max-width: var(--global-image-max-width);
|
|
@@ -166,24 +169,6 @@
|
|
|
166
169
|
);
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
|
-
&__person-rating {
|
|
170
|
-
display: flex;
|
|
171
|
-
gap: 1em;
|
|
172
|
-
}
|
|
173
|
-
&__person-rating-star {
|
|
174
|
-
--rating-star-colour: gold;
|
|
175
|
-
width: core-functions-v3.fluidSize(20, 'static');
|
|
176
|
-
}
|
|
177
|
-
&__person-questionaire-list {
|
|
178
|
-
list-style-type: none;
|
|
179
|
-
}
|
|
180
|
-
&__person-email {
|
|
181
|
-
display: flex;
|
|
182
|
-
gap: 1em;
|
|
183
|
-
}
|
|
184
|
-
&__person-email-icon {
|
|
185
|
-
width: 1em;
|
|
186
|
-
}
|
|
187
172
|
&__post-text-alternative-style {
|
|
188
173
|
width: auto;
|
|
189
174
|
@include grid-layout-element-v3.gridLayoutElement();
|
package/package.json
CHANGED