Skip to content

Releases: oveleon/contao-component-style-manager

3.9.3

03 Jun 09:42
Compare
Choose a tag to compare

Compat

  • Forwards compatibility for Symfony 7.3

Full Changelog: 3.9.2...3.9.3

3.9.2

15 May 07:52
10483de
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.9.1...3.9.2

3.9.1

14 May 17:00
3134c3f
Compare
Choose a tag to compare

What's Changed

  • Fix TypeError in StyleManager by replacing stdClass with DC_Table (PHP 8.3+) by @eiswurm in #118

New Contributors


Full Changelog: 3.9.0...3.9.1

3.9.0

12 May 11:46
Compare
Choose a tag to compare

Changes

  • Rewrite the stylemanager widget to be rendered with twig fc21b82

  • Use JavaScript instead of the checkbox hack f43ad8c

  • Allow the style manager groups to be keyboard focusable (buttons instead of an inaccessible checkbox hack)

  • Using DI when possible 93638cb

  • Using service tags when possible 307517d

  • Load the backend css via AddBackendAssetsListener 36c1375

  • Dropped Contao 4.13 and PHP 8.1 support 06f12fb

    forrest-gump-waving

Bugfixes

  • Allow undefined stylemanager titles within the import controller (bundle configuration files don't need one) 2393783

  • Fix many typos 062fc89 7c74ec6

New modifier classes

  • Added w16, w25, w33, w50, w100 for modifying the width on desktop devices 46b7db0 a6b688c

    image

3.8.0

07 May 11:58
Compare
Choose a tag to compare

Bugfix

Addition

  • Added a AddStyleManagerPaletteEvent with skipPalette to not render the StyleManager Widget at all

Example:

<?php

namespace App\EventListener;

use Oveleon\ContaoComponentStyleManager\Event\AddStyleManagerPaletteEvent;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;
use Symfony\Contracts\EventDispatcher\Event;

#[AsEventListener(AddStyleManagerPaletteEvent::class)]
class AddStyleManagerPaletteEventListener extends Event
{
    public function __invoke(AddStyleManagerPaletteEvent $event): void
    {
        $table = $event->dc->table;
        $palette = $event->palette;

        if (
            'tl_module' === $table && in_array($palette, ['root_page_dependent_modules', 'unfiltered_html', 'html'])
            || 'tl_content' === $table && in_array($palette, ['unfiltered_html', 'html', 'accordionStop', 'sliderStop'])
            || 'tl_form_field' === $table && in_array($palette, ['html', 'fieldsetStop', 'hidden', 'hiddencustom'])
        ) {
            $event->skipPalette();
        }
    }
}

Full Changelog: 3.7.4...3.8.0

3.7.4

06 May 15:01
7d2d7e9
Compare
Choose a tag to compare

Bugfix

  • Add the possibility to read junctioned bundle configuration files by @zoglo in #115

Full Changelog: 3.7.3...3.7.4

3.7.3

29 Apr 15:47
61d0f11
Compare
Choose a tag to compare

Bugfix

  • Remove switchToEdit for style manager items by @fritzmg in #114

Full Changelog: 3.7.2...3.7.3

3.7.2

24 Feb 08:35
Compare
Choose a tag to compare

Bugfix

  • Only add the data-controller attribute once within the style-manager widget

3.7.1

20 Feb 09:42
Compare
Choose a tag to compare

Bugfix

  • Disable turbo on the stylemanager import and export feature 77cc4f6

Full Changelog: 3.7.0...3.7.1

3.7.0

18 Feb 14:32
57ca66b
Compare
Choose a tag to compare

Description

This release provides forwards compatibility for the latest Contao 5.5 version

  • ^4.13 and ^5.3 only

Contao 5.5 FC

  • set primary operations
  • enable choices within the stylemanager dropdown fields