<?php

namespace YOOtheme;

return [
    '1.20.0-beta.1.1' => function ($node) {
        Arr::updateKeys($node->props, ['maxwidth_align' => 'block_align']);
    },

    '1.18.0' => function ($node) {
        if (
            !isset($node->props['video_box_decoration']) &&
            Arr::get($node->props, 'video_box_shadow_bottom') === true
        ) {
            $node->props['video_box_decoration'] = 'shadow';
        }
    },
];
