Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Contao Component Style Manager Laravel Package

oveleon/contao-component-style-manager

Manage CSS classes in Contao as reusable style groups. Define, organize and apply component styles consistently in the backend, simplify editorial workflows, and keep templates clean by selecting predefined class sets for content elements and modules.

View on GitHub
Deep Wiki
Context7
3.12.1

What's Changed

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.12.0...3.12.1

3.11.3

Bugfix

  • Parse yaml configurations from vendor packages 40bc6a33ee831b962a917bb6301f5349bf9171f4
  • Search for modified rows when mapping groups to archives b93815d8cb2d3a99b3d80c1b697b6aa2e1f9ba3a
  • Fix the css class removal onload callback for bundle configurations 432a0f3b47c50b0ca4be1a36986178449365622a

Addition

  • Allow passing an array of stylemanager identifiers in the get function 7e97471afb1ff4fd26eb68772e398c9ae5a22b45

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.11.2...3.11.3

3.11.2

Bugfix

Allow merging yaml configuration files without a numeric id and pid into existing archives 34c6fbb3a0bc7ad00533dcc6aea8dafed5e24a8e


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.11.1...3.11.2

3.11.1

Bugfix

  • also consider the project template folder when reading yaml files

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.11.0...3.11.1

3.11.0

[!IMPORTANT] The XML Import and Export feature has been deprecated as of this version and will be removed in the future.

You should start using the bundle configuration instead: https://github.com/oveleon/contao-component-style-manager/blob/main/docs/BUNDLE_CONFIG.md The exported XML file can be named style-manager-whatever.xml and thrown in the templates folder to work

Features

  • Added experimental YAML configuration support ecc94753da0e592b38e6c3751ae73da03f2c1f4f

    # /templates/style-manager-custom.yaml
    
    my_archive_identifier:
        title: GroupTitle
        groupAlias: GroupAlias
        sorting: 100 #sorting in the widget
    
        children:
            my_child_alias:
                sorting: 100 # sorting in the widget
                title: Title in my widget
                description: My Description
                cssClasses:
                    color-red: Red # First is the class, second the label
                    color-blue: Blue
                    color-green: Green
                    color-yellow: Yellow
               cssClass: long # Backend widget class
               chosen: true # activates chosen
               blankOption: true # allow blank option
               passToTemplate: true # pass the value to the template
               extendFormFields: true # show in form fields
               formFields: ["fieldsetStart"] # form fields
               extendContentElement: true # show in content elements
               contentElements: ["headline", "text"] # content elements
               extendModule: true # show in modules
               modules: ["navigation", "customnav"] # modules
    

Changes

  • Map the internal StyleManager archives assignment to the alias c6a795dfed563c8ca97d0af07a98b4f7a05955dd
  • PHP ^8.3 af66a3a85c76d1d1d465e31e89d629414f6ba560
  • Mark the Listeners, Classes and more as [@internal](https://github.com/internal) afb5c29faab56c97e1f37b294ddf0edcd75ec84b 3fa65f25cb4dfac22050d81272ca4e0ea5557b6b

Deprecations

  • Deprecate the StyleManager Import 66eacb1a30cb00090dabce626be9c8a436d411a1
  • Deprecate the Sync class ca1feee464cafc55dc05709f5a304a9f1b7c97a2

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.10.0...3.11.0

3.10.0

Update

  • Forwards compatibility for Contao 5.6
  • Widget UI changes
  • New default width is now four columns instead of three
    • Can be changed with your own custom css using --sm-i: 3 or by using the widget classes .w33

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.5...3.10.0

3.9.6

Description


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.5...3.9.6

3.9.5

Description

  • Load the local bundle configuration last ec3a5947a508676052591791424deee3f37e5d92

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.4...3.9.5

3.9.4

Bugfix

  • Correctly attach the label to the select element 8a682aa2c2855752b2ec115d0aa5ef05684aa224

  • Initialize choices on the wrapper element contao/core-bundle ^5.5.12 - Bugfix for forwards compatibility b9dac43e79b3cb378355c374836fe01a195baae6


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.3...3.9.4

3.9.3

Compat

  • Forwards compatibility for Symfony 7.3

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.2...3.9.3

3.9.1

What's Changed

New Contributors


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.9.0...3.9.1

3.9.0

Changes

  • Rewrite the stylemanager widget to be rendered with twig fc21b823b04e7046890425b6811d0efb9c726e15

  • Use JavaScript instead of the checkbox hack f43ad8c919a0a478d09019320b104f926c0cf7cd

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

  • Using DI when possible 93638cbe337e49d024448dc6a02612570ddd4b5f

  • Using service tags when possible 307517ddeb20d7a5e8daf7d5be17ca86838eb551

  • Load the backend css via AddBackendAssetsListener 36c13754925f0b23d224af87e0a33fecb713e27a

  • Dropped Contao 4.13 and PHP 8.1 support 06f12fb672bbfc7e9ce4bc53eab85f4b2dd6a302

    forrest-gump-waving

Bugfixes

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

  • Fix many typos 062fc89bb4a67d8a7e009ff457fe7b73bcad8a9a 7c74ec6c4dfe6bd971799185a350e5953c92bd2a

New modifier classes

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

    image

3.8.0

Bugfix

  • Fix a PHP 8 warning 949cbaf46cb54088654725ec42944b04ca819b66

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: https://github.com/oveleon/contao-component-style-manager/compare/3.7.4...3.8.0

3.7.4
3.7.2

Bugfix

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

Bugfix

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

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.7.0...3.7.1

3.7.0

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
3.6.2

V3.6 introduced strict typing, the troublesome occurrences are now properly checked or casted

Bugfixes


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.6.1...3.6.2

3.6.0

Changes

  • PHP ^8.1 only

  • Unlock Symfony 7

  • Added missing shadow dependencies

  • Use PHP Attributes instead of annotations a9fccfefefeae12ec0d609b9bea7b02465e76ff6 43f733aefc3093182e96bae9b6b30509bb599833

  • Register routes directly to allow Symfony 5,6 and 7 simultaneously b19e8b215ccb2da2289d03ddf691b0ff340b2994

Bugfix

  • Type safety for PHP errors 9e463500604afec7fa9e034fad1e2277ffd61d47

  • Fix other PHP 8 warnings eb8bfd208dc45a70c3d1b842f31c981e676ddd95

  • Add forwards compatibility for edit and children icons a61cb2ff7a831ff4d36e418c1d666913879885e7

  • Hide the style manager widget legend again (^C5) eda7c41ee7a231c28b55549b85caf1ba29a475fe


Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.5.3...3.6.0

3.4.3

What's Changed

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.4.2...3.4.3

3.4.2

Full Changelog: https://github.com/oveleon/contao-component-style-manager/compare/3.4.1...3.4.2

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky