From 467a2e1dc106b4af953da5a8f53c4981ecbcdb8f Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Mon, 6 Apr 2026 18:06:24 +0300 Subject: [PATCH] Unify size input with inline sizing dropdown Replace the separate ScrubInput + AppSelect pair with a single combined control: the sizing mode (Hug/Fill) shows as an inline label inside the scrub input, swapping to a chevron on hover. - ScrubInput: add group class and #suffix slot (stays generic) - LayoutSection: embed reka-ui Select in the suffix slot with group-hover toggle between label and chevron --- src/components/ScrubInput.vue | 8 +- src/components/properties/LayoutSection.vue | 136 +++++++++++++++----- 2 files changed, 110 insertions(+), 34 deletions(-) diff --git a/src/components/ScrubInput.vue b/src/components/ScrubInput.vue index 6a1a40806..708359642 100644 --- a/src/components/ScrubInput.vue +++ b/src/components/ScrubInput.vue @@ -33,7 +33,7 @@ const emit = defineEmits<{ >
@@ -53,14 +53,16 @@ const emit = defineEmits<{ :step="step" />
diff --git a/src/components/properties/LayoutSection.vue b/src/components/properties/LayoutSection.vue index 005b8a4a3..d06f95d06 100644 --- a/src/components/properties/LayoutSection.vue +++ b/src/components/properties/LayoutSection.vue @@ -1,12 +1,34 @@