Create Community stage implemented

This commit is contained in:
adilallo
2026-04-14 09:22:03 -06:00
parent a0de78c020
commit f8255bc2c7
73 changed files with 1105 additions and 392 deletions
+27
View File
@@ -13,6 +13,12 @@ export default {
},
},
argTypes: {
variant: {
control: { type: "select" },
options: ["default", "segmented", "Default", "Segmented"],
description:
"Segmented: pill-shaped partial fills (create-flow footer / Figma).",
},
progress: {
control: { type: "select" },
options: [
@@ -46,6 +52,27 @@ export const Default = {
),
};
export const SegmentedCreateFlow = {
args: {
progress: "1-1",
variant: "segmented",
},
render: (args) => (
<div className="w-full max-w-[640px] bg-black p-4">
<ProportionBar {...args} />
</div>
),
parameters: {
docs: {
description: {
story:
"Matches the create-flow footer: three segments with partial fill in the first segment (`1-1` on community name).",
},
},
backgrounds: { default: "dark" },
},
};
export const AllStates = {
args: {},
render: (_args) => (