@total_onion/onion-library 1.0.35 → 1.0.37
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.
- package/components/block-post-info-v3/group_6866429531436.json +17 -14
- package/components/component-text-editor-settings-v3/group_687a4e2334e37.json +66 -66
- package/components/component-wysiwyg-editor-v3/wysiwyg-editor-v3.twig +8 -2
- package/components/fields-core-mixins-v3/core-mixins-v3.scss +1930 -0
- package/components/fields-core-typography-v3/core-typography-v3.scss +44 -45
- package/components/fields-post-info-v3/group_6867bbe167dd2.json +1 -123
- package/package.json +1 -1
|
@@ -33,9 +33,8 @@
|
|
|
33
33
|
"conditional_logic": [
|
|
34
34
|
[
|
|
35
35
|
{
|
|
36
|
-
"field": "
|
|
37
|
-
"operator": "
|
|
38
|
-
"value": "__post"
|
|
36
|
+
"field": "field_686642953fa84",
|
|
37
|
+
"operator": "!=empty"
|
|
39
38
|
}
|
|
40
39
|
]
|
|
41
40
|
],
|
|
@@ -45,26 +44,30 @@
|
|
|
45
44
|
"id": ""
|
|
46
45
|
},
|
|
47
46
|
"wpml_cf_preferences": 3,
|
|
48
|
-
"user_roles": [
|
|
49
|
-
"all"
|
|
50
|
-
],
|
|
51
47
|
"post_type": [
|
|
52
|
-
"post"
|
|
48
|
+
"post",
|
|
49
|
+
"page",
|
|
50
|
+
"product",
|
|
51
|
+
"cocktail"
|
|
53
52
|
],
|
|
54
53
|
"post_status": "",
|
|
55
54
|
"taxonomy": "",
|
|
56
55
|
"return_format": "id",
|
|
57
56
|
"multiple": 0,
|
|
57
|
+
"max": "",
|
|
58
|
+
"save_custom": 0,
|
|
59
|
+
"save_post_status": "publish",
|
|
60
|
+
"acfe_add_post": 0,
|
|
61
|
+
"acfe_edit_post": 0,
|
|
62
|
+
"acfe_bidirectional": {
|
|
63
|
+
"acfe_bidirectional_enabled": "0"
|
|
64
|
+
},
|
|
58
65
|
"allow_null": 0,
|
|
66
|
+
"bidirectional": 0,
|
|
59
67
|
"ui": 1,
|
|
60
68
|
"bidirectional_target": [],
|
|
61
|
-
"save_custom": 0,
|
|
62
69
|
"save_post_type": "",
|
|
63
|
-
"
|
|
64
|
-
"acfe_add_post": 0,
|
|
65
|
-
"acfe_edit_post": 0,
|
|
66
|
-
"min": "",
|
|
67
|
-
"max": ""
|
|
70
|
+
"min": ""
|
|
68
71
|
},
|
|
69
72
|
{
|
|
70
73
|
"key": "field_686642953fa84",
|
|
@@ -1966,5 +1969,5 @@
|
|
|
1966
1969
|
"acfe_display_title": "",
|
|
1967
1970
|
"acfe_meta": "",
|
|
1968
1971
|
"acfe_note": "",
|
|
1969
|
-
"modified":
|
|
1972
|
+
"modified": 1752860070
|
|
1970
1973
|
}
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
"no_preference": 0
|
|
506
506
|
},
|
|
507
507
|
{
|
|
508
|
-
"key": "
|
|
508
|
+
"key": "field_687a624a6e353",
|
|
509
509
|
"label": "Typographic style desktop",
|
|
510
510
|
"name": "typographic_style_desktop",
|
|
511
511
|
"aria-label": "",
|
|
@@ -521,29 +521,30 @@
|
|
|
521
521
|
"wpml_cf_preferences": 3,
|
|
522
522
|
"choices": {
|
|
523
523
|
"__inherit": "Use responsive bundle",
|
|
524
|
-
"
|
|
525
|
-
"
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"__p-l-sizing": "P large",
|
|
538
|
-
"__p-sizing": "P",
|
|
539
|
-
"__p-s-sizing": "P small",
|
|
540
|
-
"__p-xs-sizing": "P extra small",
|
|
541
|
-
"__p-xxs-sizing": "P xx small",
|
|
542
|
-
"__p-xxxs-sizing": "P xxx small"
|
|
524
|
+
"__h-extra-large-desktop": "H extra large",
|
|
525
|
+
"__h-large-desktop": "H large",
|
|
526
|
+
"__h-medium-desktop": "H medium",
|
|
527
|
+
"__h-small-desktop": "H small",
|
|
528
|
+
"__h-xsmall-desktop": "H extra small",
|
|
529
|
+
"__h-xxsmall-desktop": "H xx smal",
|
|
530
|
+
"__h-xxxsmall-desktop": "H xxx small",
|
|
531
|
+
"__sh-extra-large-desktop": "SH extra large",
|
|
532
|
+
"__sh-large-desktop": "SH large",
|
|
533
|
+
"__sh-medium-desktop": "SH medium",
|
|
534
|
+
"__sh-small-desktop": "SH small",
|
|
535
|
+
"__sh-xsmall-desktop": "SH x small",
|
|
536
|
+
"__sh-xxsmall-desktop": "SH xx small",
|
|
537
|
+
"__p-l-sizing-desktop": "P large",
|
|
538
|
+
"__p-sizing-desktop": "P",
|
|
539
|
+
"__p-s-sizing-desktop": "P small",
|
|
540
|
+
"__p-xs-sizing-desktop": "P extra small",
|
|
541
|
+
"__p-xxs-sizing-desktop": "P xx small",
|
|
542
|
+
"__p-xxxs-sizing-desktop": "P xxx small"
|
|
543
543
|
},
|
|
544
544
|
"default_value": "__inherit",
|
|
545
545
|
"return_format": "value",
|
|
546
546
|
"multiple": 0,
|
|
547
|
+
"max": "",
|
|
547
548
|
"allow_custom": 0,
|
|
548
549
|
"search_placeholder": "",
|
|
549
550
|
"prepend": "",
|
|
@@ -552,8 +553,7 @@
|
|
|
552
553
|
"ui": 1,
|
|
553
554
|
"ajax": 0,
|
|
554
555
|
"placeholder": "",
|
|
555
|
-
"min": ""
|
|
556
|
-
"max": ""
|
|
556
|
+
"min": ""
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
559
|
"key": "field_687a4e2343e5f",
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
"no_preference": 0
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
|
-
"key": "
|
|
780
|
+
"key": "field_687a621c6e352",
|
|
781
781
|
"label": "Typographic style portrait",
|
|
782
782
|
"name": "typographic_style_portrait",
|
|
783
783
|
"aria-label": "",
|
|
@@ -793,29 +793,30 @@
|
|
|
793
793
|
"wpml_cf_preferences": 3,
|
|
794
794
|
"choices": {
|
|
795
795
|
"__inherit": "Use responsive bundle",
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"
|
|
802
|
-
"
|
|
803
|
-
"
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"__p-l-sizing": "P large",
|
|
810
|
-
"__p-sizing": "P",
|
|
811
|
-
"__p-s-sizing": "P small",
|
|
812
|
-
"__p-xs-sizing": "P extra small",
|
|
813
|
-
"__p-xxs-sizing": "P xx small",
|
|
814
|
-
"__p-xxxs-sizing": "P xxx small"
|
|
796
|
+
"__h-extra-large-portrait": "H extra large",
|
|
797
|
+
"__h-large-portrait": "H large",
|
|
798
|
+
"__h-medium-portrait": "H medium",
|
|
799
|
+
"__h-small-portrait": "H small",
|
|
800
|
+
"__h-xsmall-portrait": "H extra small",
|
|
801
|
+
"__h-xxsmall-portrait": "H xx smal",
|
|
802
|
+
"__h-xxxsmall-portrait": "H xxx small",
|
|
803
|
+
"__sh-extra-large-portrait": "SH extra large",
|
|
804
|
+
"__sh-large-portrait": "SH large",
|
|
805
|
+
"__sh-medium-portrait": "SH medium",
|
|
806
|
+
"__sh-small-portrait": "SH small",
|
|
807
|
+
"__sh-xsmall-portrait": "SH x small",
|
|
808
|
+
"__sh-xxsmall-portrait": "SH xx small",
|
|
809
|
+
"__p-l-sizing-portrait": "P large",
|
|
810
|
+
"__p-sizing-portrait": "P",
|
|
811
|
+
"__p-s-sizing-portrait": "P small",
|
|
812
|
+
"__p-xs-sizing-portrait": "P extra small",
|
|
813
|
+
"__p-xxs-sizing-portrait": "P xx small",
|
|
814
|
+
"__p-xxxs-sizing-portrait": "P xxx small"
|
|
815
815
|
},
|
|
816
816
|
"default_value": "__inherit",
|
|
817
817
|
"return_format": "value",
|
|
818
818
|
"multiple": 0,
|
|
819
|
+
"max": "",
|
|
819
820
|
"allow_custom": 0,
|
|
820
821
|
"search_placeholder": "",
|
|
821
822
|
"prepend": "",
|
|
@@ -824,8 +825,7 @@
|
|
|
824
825
|
"ui": 1,
|
|
825
826
|
"ajax": 0,
|
|
826
827
|
"placeholder": "",
|
|
827
|
-
"min": ""
|
|
828
|
-
"max": ""
|
|
828
|
+
"min": ""
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
831
|
"key": "field_687a4e23459ba",
|
|
@@ -1053,29 +1053,30 @@
|
|
|
1053
1053
|
"wpml_cf_preferences": 3,
|
|
1054
1054
|
"choices": {
|
|
1055
1055
|
"__inherit": "Use responsive bundle",
|
|
1056
|
-
"
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1065
|
-
"
|
|
1066
|
-
"
|
|
1067
|
-
"
|
|
1068
|
-
"
|
|
1069
|
-
"__p-l-sizing": "P large",
|
|
1070
|
-
"__p-sizing": "P",
|
|
1071
|
-
"__p-s-sizing": "P small",
|
|
1072
|
-
"__p-xs-sizing": "P extra small",
|
|
1073
|
-
"__p-xxs-sizing": "P xx small",
|
|
1074
|
-
"__p-xxxs-sizing": "P xxx small"
|
|
1056
|
+
"__h-extra-large-mobile": "H extra large",
|
|
1057
|
+
"__h-large-mobile": "H large",
|
|
1058
|
+
"__h-medium-mobile": "H medium",
|
|
1059
|
+
"__h-small-mobile": "H small",
|
|
1060
|
+
"__h-xsmall-mobile": "H extra small",
|
|
1061
|
+
"__h-xxsmall-mobile": "H xx smal",
|
|
1062
|
+
"__h-xxxsmall-mobile": "H xxx small",
|
|
1063
|
+
"__sh-extra-large-mobile": "SH extra large",
|
|
1064
|
+
"__sh-large-mobile": "SH large",
|
|
1065
|
+
"__sh-medium-mobile": "SH medium",
|
|
1066
|
+
"__sh-small-mobile": "SH small",
|
|
1067
|
+
"__sh-xsmall-mobile": "SH x small",
|
|
1068
|
+
"__sh-xxsmall-mobile": "SH xx small",
|
|
1069
|
+
"__p-l-sizing-mobile": "P large",
|
|
1070
|
+
"__p-sizing-mobile": "P",
|
|
1071
|
+
"__p-s-sizing-mobile": "P small",
|
|
1072
|
+
"__p-xs-sizing-mobile": "P extra small",
|
|
1073
|
+
"__p-xxs-sizing-mobile": "P xx small",
|
|
1074
|
+
"__p-xxxs-sizing-mobile": "P xxx small"
|
|
1075
1075
|
},
|
|
1076
1076
|
"default_value": "__inherit",
|
|
1077
1077
|
"return_format": "value",
|
|
1078
1078
|
"multiple": 0,
|
|
1079
|
+
"max": "",
|
|
1079
1080
|
"allow_custom": 0,
|
|
1080
1081
|
"search_placeholder": "",
|
|
1081
1082
|
"prepend": "",
|
|
@@ -1084,8 +1085,7 @@
|
|
|
1084
1085
|
"ui": 1,
|
|
1085
1086
|
"ajax": 0,
|
|
1086
1087
|
"placeholder": "",
|
|
1087
|
-
"min": ""
|
|
1088
|
-
"max": ""
|
|
1088
|
+
"min": ""
|
|
1089
1089
|
},
|
|
1090
1090
|
{
|
|
1091
1091
|
"key": "field_687a4e234750f",
|
|
@@ -1385,5 +1385,5 @@
|
|
|
1385
1385
|
"acfe_display_title": "",
|
|
1386
1386
|
"acfe_meta": "",
|
|
1387
1387
|
"acfe_note": "",
|
|
1388
|
-
"modified":
|
|
1388
|
+
"modified": 1752851122
|
|
1389
1389
|
}
|
|
@@ -57,6 +57,12 @@
|
|
|
57
57
|
{% set textStrokeWidth = '--text-stroke-width: ' ~ fields.text_outline_width ~ ';' %}
|
|
58
58
|
{% set textStrokeColour = '--text-stroke-colour: ' ~ fields.text_outline_colour ~ ';' %}
|
|
59
59
|
{% endif %}
|
|
60
|
+
{% set elementType = fields.element_type|ru %}
|
|
61
|
+
{% set typographicStyle = fields.typographic_style|ru %}
|
|
62
|
+
{% set typographicStyleDesktop = fields.typographic_style_desktop|ru %}
|
|
63
|
+
{% set typographicStylePortrait = fields.typographic_style_portrait|ru %}
|
|
64
|
+
{% set typographicStyleMobile = fields.typographic_style_mobile|ru %}
|
|
65
|
+
|
|
60
66
|
{% set wysiwygMaxWidth = '--wysiwyg-max-width: ' ~ fields.wysiwyg_max_width ~ '%;' %}
|
|
61
67
|
{% set wysiwygMaxWidthPortrait = '--wysiwyg-max-width-portrait: ' ~ fields.wysiwyg_max_width_portrait ~ '%;' %}
|
|
62
68
|
{% set wysiwygMaxWidthMobile = '--wysiwyg-max-width-mobile: ' ~ fields.wysiwyg_max_width_mobile ~ '%;' %}
|
|
@@ -69,9 +75,9 @@
|
|
|
69
75
|
{% if fields.wysiwyg_editor %}
|
|
70
76
|
<div class="{{blockClassName|default('default-class')}}__content-container {{textShadowClass}} {{blockClassName|default('default-class')}}__{{wysiwygDecorationStyle}} standard-content-box-wysiwyg-editor {{block.id}}">
|
|
71
77
|
{% if fields.wysiwyg_editor is not empty %}
|
|
72
|
-
<{{
|
|
78
|
+
<{{elementType}} class="{{typographicStyle}} {{typographicStyleDesktop}} {{typographicStylePortrait}} {{typographicStyleMobile}}">
|
|
73
79
|
{{fields.wysiwyg_editor|striptags('<br>, <a>, <em>, <i>, <span>, <strong>')|raw}}
|
|
74
|
-
</{{
|
|
80
|
+
</{{elementType}}>
|
|
75
81
|
{% endif %}
|
|
76
82
|
</div>
|
|
77
83
|
{% endif %}
|