@total_onion/onion-library 2.0.124 → 2.0.126
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-group-container-v3/group_6865578ada499.json +95 -1
- package/components/block-post-type-filter-grid-v3/group_64690c62487bc.json +2 -2
- package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.php +0 -31
- package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.twig +8 -1
- package/components/component-endpoints/endpoints.php +32 -0
- package/components/component-grid-layout-container-v3/group_6882282e65bf2.json +1523 -1495
- package/components/component-grid-layout-element-v3/group_68822860bda9f.json +8 -64
- package/components/component-social-networks-v3/social-networks-v3.twig +4 -11
- package/package.json +1 -1
- package/public/jsAssets.mjs +1 -0
|
@@ -471,73 +471,17 @@
|
|
|
471
471
|
"class": "",
|
|
472
472
|
"id": ""
|
|
473
473
|
},
|
|
474
|
-
"wpml_cf_preferences": 3,
|
|
475
|
-
"choices": {
|
|
476
|
-
"__flex-start": "Left",
|
|
477
|
-
"__center": "Center",
|
|
478
|
-
"__flex-end": "Right",
|
|
479
|
-
"__stretch": "Stretch"
|
|
480
|
-
},
|
|
481
|
-
"default_value": "__stretch",
|
|
482
|
-
"return_format": "value",
|
|
483
|
-
"allow_null": 0,
|
|
484
|
-
"other_choice": 0,
|
|
485
|
-
"layout": "horizontal",
|
|
486
|
-
"save_other_choice": 0
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"key": "field_68822860d0d3c",
|
|
490
|
-
"label": "Grid horizontal placement",
|
|
491
|
-
"name": "grid_horizontal_placement",
|
|
492
|
-
"aria-label": "",
|
|
493
|
-
"type": "radio",
|
|
494
|
-
"instructions": "",
|
|
495
|
-
"required": 0,
|
|
496
|
-
"conditional_logic": 0,
|
|
497
|
-
"wrapper": {
|
|
498
|
-
"width": "",
|
|
499
|
-
"class": "",
|
|
500
|
-
"id": ""
|
|
501
|
-
},
|
|
502
|
-
"wpml_cf_preferences": 3,
|
|
503
|
-
"choices": {
|
|
504
|
-
"__flex-start": "Left",
|
|
505
|
-
"__center": "Center",
|
|
506
|
-
"__flex-end": "Right",
|
|
507
|
-
"__stretch": "Stretch"
|
|
508
|
-
},
|
|
509
|
-
"default_value": "__stretch",
|
|
510
|
-
"return_format": "value",
|
|
511
|
-
"allow_null": 0,
|
|
512
|
-
"other_choice": 0,
|
|
513
|
-
"layout": "horizontal",
|
|
514
|
-
"save_other_choice": 0
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"key": "field_68822860d150c",
|
|
518
|
-
"label": "Grid vertical placement",
|
|
519
|
-
"name": "grid_vertical_placement",
|
|
520
|
-
"aria-label": "",
|
|
521
|
-
"type": "radio",
|
|
522
|
-
"instructions": "",
|
|
523
|
-
"required": 0,
|
|
524
|
-
"conditional_logic": 0,
|
|
525
|
-
"wrapper": {
|
|
526
|
-
"width": "",
|
|
527
|
-
"class": "",
|
|
528
|
-
"id": ""
|
|
529
|
-
},
|
|
530
|
-
"wpml_cf_preferences": 3,
|
|
531
474
|
"choices": {
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
475
|
+
"flex-start": "Left",
|
|
476
|
+
"center": "Center",
|
|
477
|
+
"flex-end": "Right",
|
|
478
|
+
"stretch": "Stretch"
|
|
536
479
|
},
|
|
537
|
-
"default_value": "
|
|
480
|
+
"default_value": "stretch",
|
|
538
481
|
"return_format": "value",
|
|
539
482
|
"allow_null": 0,
|
|
540
483
|
"other_choice": 0,
|
|
484
|
+
"allow_in_bindings": 1,
|
|
541
485
|
"layout": "horizontal",
|
|
542
486
|
"save_other_choice": 0
|
|
543
487
|
},
|
|
@@ -774,11 +718,11 @@
|
|
|
774
718
|
"active": false,
|
|
775
719
|
"description": "Library version - Do not modify in this project as any changes will be overwritten by future updates.",
|
|
776
720
|
"show_in_rest": 0,
|
|
721
|
+
"display_title": "",
|
|
777
722
|
"acfe_autosync": ["json"],
|
|
778
|
-
"acfml_field_group_mode": "localization",
|
|
779
723
|
"acfe_form": 0,
|
|
780
724
|
"acfe_display_title": "",
|
|
781
725
|
"acfe_meta": "",
|
|
782
726
|
"acfe_note": "",
|
|
783
|
-
"modified":
|
|
727
|
+
"modified": 1762784598
|
|
784
728
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
{# Do not edit this file outside of the component library as your changes will be lost with future updates. #}
|
|
2
1
|
{% set direction = '--direction-desktop: ' ~ fields.menu_direction|ru ~ ';' %}
|
|
3
2
|
{% set directionPortrait = '--direction-portrait: ' ~ fields.menu_direction_portrait|ru ~ ';' %}
|
|
4
3
|
{% set directionMobile = '--direction-mobile: ' ~ fields.menu_direction_mobile|ru ~ ';' %}
|
|
@@ -25,23 +24,17 @@
|
|
|
25
24
|
<div class="component-social-networks-v3__inner-container">
|
|
26
25
|
{% for social in options.social_networks.networks %}
|
|
27
26
|
{% if social.enabled %}
|
|
28
|
-
|
|
29
|
-
{# {% set image = get_image(social.social_icon) %} #}
|
|
30
27
|
{% set image = options.cta_icons[social.social_network] %}
|
|
31
|
-
|
|
32
|
-
|
|
33
28
|
{% set isSVG = image.post_mime_type == 'image/svg+xml' %}
|
|
34
|
-
|
|
35
29
|
{% set target = social.social_link.target is not empty ? social.social_link.target : "_self" %}
|
|
36
|
-
|
|
37
30
|
<a class="component-social-networks-v3__link-container" href="{{social.social_link.url}}" aria-label="social-network-link-{{social.social_network}}" target="{{target}}">
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
{% if showSocialName %}
|
|
32
|
+
<span class="component-social-networks-v3__social-name">{{social.social_network}}</span>
|
|
33
|
+
{% endif %}
|
|
41
34
|
{% if isSVG and false %}
|
|
42
35
|
{{get_raw_svg(image.id)}}
|
|
43
36
|
{% else %}
|
|
44
|
-
<img class="component-social-networks-v3__image
|
|
37
|
+
<img class="component-social-networks-v3__image" src="{{image.src}}" loading="lazy" width="30" height="30" alt="{{ image.alt }}">
|
|
45
38
|
{% endif %}
|
|
46
39
|
</a>
|
|
47
40
|
{% endif %}
|
package/package.json
CHANGED
package/public/jsAssets.mjs
CHANGED