From f1fdd59ba5a0c1b5de088f1545500a5a640a9fe7 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Thu, 15 Jan 2026 14:49:51 -0500 Subject: [PATCH 1/3] add prop to forcefully avoid wrapping slot --- resources/js/components/ui/Stack/Stack.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/js/components/ui/Stack/Stack.vue b/resources/js/components/ui/Stack/Stack.vue index de237b344a..2bdcd223df 100644 --- a/resources/js/components/ui/Stack/Stack.vue +++ b/resources/js/components/ui/Stack/Stack.vue @@ -37,6 +37,8 @@ const props = defineProps({ inset: { type: Boolean, default: false }, /** When `true`, the close button is shown in the top-right corner of the stack. */ showCloseButton: { type: Boolean, default: true }, + /** When `false`, the logic for wrapping the slot in a Content component is ignored and the slot will not be wrapped. */ + wrapSlot: { type: Boolean, default: true }, }); const stack = ref(null); @@ -59,7 +61,7 @@ const depth = computed(() => stacks.stacks().findIndex(s => s.id === stack.value const isTopStack = computed(() => stacks.count() === depth.value); const shouldAddHeader = computed(() => !!(props.title || props.icon) && !hasStackHeaderComponent.value); -const shouldWrapSlot = computed(() => !hasStackContentComponent.value); +const shouldWrapSlot = computed(() => props.wrapSlot && !hasStackContentComponent.value); const shouldShowFloatingCloseButton = computed(() => props.showCloseButton && !shouldAddHeader.value && !hasStackHeaderComponent.value); const offset = computed(() => { From decac76ab9cef55e49825969dd8ae1aef63499d6 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Thu, 15 Jan 2026 14:50:16 -0500 Subject: [PATCH 2/3] make field settings use standard stack header --- resources/js/components/blueprints/Fields.vue | 2 + .../js/components/blueprints/RegularField.vue | 2 +- resources/js/components/fields/Settings.vue | 38 +++++++++---------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/resources/js/components/blueprints/Fields.vue b/resources/js/components/blueprints/Fields.vue index ca71ac08c1..36c8d5378c 100644 --- a/resources/js/components/blueprints/Fields.vue +++ b/resources/js/components/blueprints/Fields.vue @@ -50,6 +50,8 @@ @closed="pendingCreatedField = null" v-slot="{ close }" inset + :show-close-button="false" + :wrap-slot="false" > - + -
-
- -
- -
- -
-
-
- -
+
+ +
+ + + + + + +
@@ -57,16 +55,18 @@
- +