From e4f3a3c7c23587000d0122b5a7b74dcb9dfa526e Mon Sep 17 00:00:00 2001 From: Ivan Ramljak Date: Thu, 5 Dec 2024 10:21:44 +0100 Subject: [PATCH 1/2] Add "Auto" width to wrapperContent and set is as default --- blocks/init/src/Blocks/wrapper/manifest.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/blocks/init/src/Blocks/wrapper/manifest.json b/blocks/init/src/Blocks/wrapper/manifest.json index 4b81806..2241f14 100644 --- a/blocks/init/src/Blocks/wrapper/manifest.json +++ b/blocks/init/src/Blocks/wrapper/manifest.json @@ -90,7 +90,7 @@ "wrapperContentWidth": { "type": "object", "default": { - "_default": "full", + "_default": "auto", "_desktopFirst": true } }, @@ -289,6 +289,11 @@ } ], "wrapperContentWidth": [ + { + "label": "Auto", + "value": "auto", + "separator": "below" + }, { "label": "Full", "value": "full", @@ -439,6 +444,7 @@ "wrapperContentWidth": { "responsive": true, "twClasses": { + "auto": "w-auto", "full": "w-full", "half": "w-1/2", "one-third": "w-1/3", From 1877c1eb842bfb4470d39efec70b6063ccb2dddb Mon Sep 17 00:00:00 2001 From: Ivan Ramljak Date: Thu, 5 Dec 2024 10:59:19 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a52deb..db0169a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a ### Changed - Fixed Image component "image" part tailwind class output if not set. - Fix Image component responsive output Co-authored-by: goran.alkovic@infinum.com +- Add "Auto" width to wrapperContent and set is as defaults - Updated dependencies. ## [1.4.6]