Standardize create-flow option steps on one question-and-options layout and Selection sizes.
Method cards, chips, and the right rail now share the two-column shell; last options clear the footer fade, See all stays under the stack, and the left heading no longer jumps when the list expands. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2fc7fbf818
commit
24a9615c0c
26 files changed
+354
-245
No files matched your search
@@ -203,6 +203,16 @@ export type ChipPaletteValue = (typeof CHIP_PALETTE_OPTIONS)[number];
|
||||
export const CHIP_SIZE_OPTIONS = ["s", "m"] as const;
|
||||
export type ChipSizeValue = (typeof CHIP_SIZE_OPTIONS)[number];
|
||||
|
||||
export const SELECTION_SIZE_OPTIONS = ["s", "m", "l"] as const;
|
||||
export type SelectionSizeValue = (typeof SELECTION_SIZE_OPTIONS)[number];
|
||||
|
||||
export const SELECTION_ORIENTATION_OPTIONS = [
|
||||
"horizontal",
|
||||
"vertical",
|
||||
] as const;
|
||||
export type SelectionOrientationValue =
|
||||
(typeof SELECTION_ORIENTATION_OPTIONS)[number];
|
||||
|
||||
export const MULTI_SELECT_SIZE_OPTIONS = ["s", "m"] as const;
|
||||
export type MultiSelectSizeValue = (typeof MULTI_SELECT_SIZE_OPTIONS)[number];
|
||||
|
||||
|
||||
Reference in new issue
Block a user