Show a footer Remove on selected create-flow modules so removal is not kebab-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-09-02 14:45:56 -06:00
co-authored by Cursor
parent df7051f33a
commit 84ef943df4
23 changed files with 251 additions and 16 deletions
+25
View File
@@ -29,6 +29,9 @@ export default {
showNextButton: {
control: { type: "boolean" },
},
showRemoveButton: {
control: { type: "boolean" },
},
nextButtonDisabled: {
control: { type: "boolean" },
},
@@ -196,6 +199,28 @@ export const LoginYellowBackdrop = {
},
render: Template,
};
export const SelectedModuleRemove = {
args: {
isOpen: true,
title: "Lazy Consensus",
description:
"A decision is assumed approved unless objections are raised within a specified timeframe.",
backdropVariant: "blurredYellow",
children: (
<div className="space-y-4">
<p className="text-[var(--color-content-default-primary)]">
Selected module: danger Remove on the left, Save on the right.
</p>
</div>
),
showBackButton: false,
showRemoveButton: true,
showNextButton: true,
nextButtonText: "Save",
nextButtonDisabled: false,
},
render: Template,
};
export const NextButtonDisabled = {
args: {
isOpen: true,