3.11.2 |
|
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 ```yaml # /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` 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
* Add forwards compatibility for `Contao 5.6` by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/123 * improves the template for the partial import and export f4c1298545583d17018e99617cb3fab477f32726
___
**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.2 |
## What's Changed * Fix missing semicolon by @fritzmg in https://github.com/oveleon/contao-component-style-manager/pull/119
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.9.1...3.9.2 |
3.9.1 |
## What's Changed
* Fix TypeError in StyleManager by replacing stdClass with DC_Table (PHP 8.3+) by @eiswurm in https://github.com/oveleon/contao-component-style-manager/pull/118
## New Contributors * @eiswurm made their first contribution in https://github.com/oveleon/contao-component-style-manager/pull/118
____
**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

### 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

|
add Zeige mehr Versionen an |
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 |
### Bugfix
* Add the possibility to read junctioned bundle configuration files by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/115
___
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.7.3...3.7.4 |
3.7.3 |
### Bugfix
* Remove `switchToEdit` for style manager items by @fritzmg in https://github.com/oveleon/contao-component-style-manager/pull/114
___
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.7.2...3.7.3 |
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.3 |
## What's Changed
* Add cut operation by @fritzmg in https://github.com/oveleon/contao-component-style-manager/pull/112
___
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.6.2...3.6.3 |
3.6.2 |
> V3.6 introduced strict typing, the troublesome occurrences are now properly checked or casted
### Bugfixes
* Handle multiple (existing and potential) strict type errors by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/110
____
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.6.1...3.6.2 |
3.6.1 |
### Bugfix
* Do not use `$dc->id` for slug generator by @fritzmg in https://github.com/oveleon/contao-component-style-manager/pull/107 (fixes #106)
___
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.6.0...3.6.1 |
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.5.3 |
## What's Changed * Skip migration if field does not exist by @fritzmg in https://github.com/oveleon/contao-component-style-manager/pull/101
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.5.2...3.5.3 |
3.5.2 |
## What's Changed
* Correctly override bundle-configuration by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/100
____
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.5.1...3.5.2 |
3.5.1 |
## What's Changed
* Reset excluded groups when calling prepare method by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/98
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.5.0...3.5.1 |
3.5.0 |
## What's Changed * Twig support by @doishub in https://github.com/oveleon/contao-component-style-manager/pull/97
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.4.3...3.5.0 |
3.4.3 |
## What's Changed * Skip migrations for non-existing style-manager groups (#84) by @zoglo in https://github.com/oveleon/contao-component-style-manager/pull/96
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.4.2...3.4.3 |
3.4.2 |
Bugfix
- Fixed an issue where stylemanager widget would not remember the state in Contao 5.x https://github.com/oveleon/contao-component-style-manager/issues/93
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.4.1...3.4.2 |
3.4.1 |
Bugfix
- Fixed an issue with overriding values from bundle configs through the style manager archive https://github.com/oveleon/contao-component-style-manager/pull/90/commits/0bf720b66bf36c25a199e5e7089679851d3d945c > if an option was not found, the first value has been overwritten due to array_search returning false, hence searching for the first key '0' within the classes array |
3.4.0 |
Addition
- added Dark-Mode for Contao ^5 5469b5f0128fa0ee588ca6fab3ca551c5fa29636 - rework partial import aded55f70af84b96aac6c7cff8ede8e4fd4d3381
Bugfixes
- Set timestamp when importing stylemanager configurations bd5f31dee82d854b8a31ecd22f3a60219c21532a |
3.3.0 |
Update
- drop support for PHP 7 - enable style manager bundle configurations within subfolders in templates https://github.com/oveleon/contao-component-style-manager/pull/88/commits/f28ddb820ba31160d60ef30e2944acc97c353686
|
3.2.0 |
Addition
- added Contao ^5.1 support #80 @Tastaturberuf
> **Known Limitation** As of now, template variables do not work within Twig-Templates, please check: https://github.com/Tastaturberuf/contao-component-style-manager/blob/contao-5/docs/TEMPLATE_VARIABLES.md on how to bypass it. |
3.1.2 |
## What's Changed - Fix migration
**Full Changelog**: https://github.com/oveleon/contao-component-style-manager/compare/3.1.1...3.1.2 |
3.1.1 |
|
3.1.0 |
|
3.0.3 |
|
3.0.2 |
|
3.0.1 |
|
3.0.0 |
|
2.6.5 |
|
2.6.4 |
|
2.6.3 |
|
2.6.2 |
|
2.6.1 |
|
2.6.0 |
|
2.5.0 |
|
2.4.4 |
|
2.4.3 |
|
2.4.2 |
|
2.4.1 |
|
2.4.0 |
|
2.3.4 |
|
2.3.3 |
|
2.3.2 |
|
2.3.1 |
|
2.3.0 |
|
2.2.0 |
|
2.1.3 |
|
2.1.2 |
|
2.1.1 |
|
2.1.0 |
|
2.0.1 |
|
2.0.0 |
|
1.2.1 |
|
1.2.0 |
|
1.1.2 |
|
1.1.1 |
|
1.1.0 |
|
1.0.2 |
|
1.0.1 |
|
1.0.0 |
|
v4.x-dev |
|
dev-main |
|
2.x-dev |
|
dev-feat/yaml |
|
dev-dev |
|