@total_onion/onion-library 2.0.188 → 2.0.190
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.
|
@@ -111,15 +111,17 @@ function scrollingbannerJs(block) {
|
|
|
111
111
|
const anim2 = containers[1].animate(animation2, timing2);
|
|
112
112
|
|
|
113
113
|
initializedBanners.set(bannerElement, {anim1, anim2});
|
|
114
|
+
function pauseAnimations() {
|
|
115
|
+
containers[0].pause();
|
|
116
|
+
containers[1].pause();
|
|
117
|
+
}
|
|
118
|
+
function resumeAnimations() {
|
|
119
|
+
containers[0].play();
|
|
120
|
+
containers[1].play();
|
|
121
|
+
}
|
|
114
122
|
if (bannerElement.querySelector('a')) {
|
|
115
|
-
block.addEventListener('mouseover',
|
|
116
|
-
|
|
117
|
-
anim2.pause();
|
|
118
|
-
});
|
|
119
|
-
block.addEventListener('mouseleave', () => {
|
|
120
|
-
anim1.play();
|
|
121
|
-
anim2.play();
|
|
122
|
-
});
|
|
123
|
+
block.addEventListener('mouseover', pauseAnimations);
|
|
124
|
+
block.addEventListener('mouseleave', resumeAnimations);
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
127
|
|
|
@@ -401,6 +401,29 @@
|
|
|
401
401
|
"button_label": "Add Row",
|
|
402
402
|
"rows_per_page": 20,
|
|
403
403
|
"sub_fields": [
|
|
404
|
+
{
|
|
405
|
+
"key": "field_6957f5abf3029",
|
|
406
|
+
"label": "Instruction Label",
|
|
407
|
+
"name": "instruction_label",
|
|
408
|
+
"aria-label": "",
|
|
409
|
+
"type": "text",
|
|
410
|
+
"instructions": "",
|
|
411
|
+
"required": 0,
|
|
412
|
+
"conditional_logic": 0,
|
|
413
|
+
"wrapper": {
|
|
414
|
+
"width": "30",
|
|
415
|
+
"class": "",
|
|
416
|
+
"id": ""
|
|
417
|
+
},
|
|
418
|
+
"wpml_cf_preferences": 0,
|
|
419
|
+
"default_value": "",
|
|
420
|
+
"maxlength": "",
|
|
421
|
+
"allow_in_bindings": 0,
|
|
422
|
+
"placeholder": "",
|
|
423
|
+
"prepend": "",
|
|
424
|
+
"append": "",
|
|
425
|
+
"parent_repeater": "field_68ffeea1ee9f4"
|
|
426
|
+
},
|
|
404
427
|
{
|
|
405
428
|
"key": "field_68ffeec3ee9f5",
|
|
406
429
|
"label": "Instruction",
|
|
@@ -411,13 +434,14 @@
|
|
|
411
434
|
"required": 0,
|
|
412
435
|
"conditional_logic": 0,
|
|
413
436
|
"wrapper": {
|
|
414
|
-
"width": "",
|
|
437
|
+
"width": "70",
|
|
415
438
|
"class": "",
|
|
416
439
|
"id": ""
|
|
417
440
|
},
|
|
418
441
|
"wpml_cf_preferences": 2,
|
|
419
442
|
"default_value": "",
|
|
420
443
|
"maxlength": "",
|
|
444
|
+
"allow_in_bindings": 1,
|
|
421
445
|
"placeholder": "",
|
|
422
446
|
"prepend": "",
|
|
423
447
|
"append": "",
|
|
@@ -459,7 +483,7 @@
|
|
|
459
483
|
"class": "",
|
|
460
484
|
"id": ""
|
|
461
485
|
},
|
|
462
|
-
"wpml_cf_preferences":
|
|
486
|
+
"wpml_cf_preferences": 3,
|
|
463
487
|
"post_type": [
|
|
464
488
|
"product"
|
|
465
489
|
],
|
|
@@ -571,5 +595,5 @@
|
|
|
571
595
|
"acfe_display_title": "",
|
|
572
596
|
"acfe_meta": "",
|
|
573
597
|
"acfe_note": "",
|
|
574
|
-
"modified":
|
|
598
|
+
"modified": 1767372238
|
|
575
599
|
}
|