diff --git a/packages/propel/src/components/dropdown/dropdown.stories.tsx b/packages/propel/src/components/dropdown/dropdown.stories.tsx index dce11668..9fb70620 100644 --- a/packages/propel/src/components/dropdown/dropdown.stories.tsx +++ b/packages/propel/src/components/dropdown/dropdown.stories.tsx @@ -210,7 +210,7 @@ export const Status: Story = { } + inlineStartNode={} label={`Add label "${trimmed}"`} closeOnClick={false} /> @@ -271,7 +271,7 @@ export const Labels: Story = { {visible.map((l) => ( } + inlineStartNode={} label={l.label} checked={Boolean(checked[l.key])} onCheckedChange={(next) => setChecked((c) => ({ ...c, [l.key]: next }))} @@ -312,13 +312,22 @@ export const ActionMenu: Story = { Actions - } label="Edit" /> - } label="Make a copy" /> - } label="Open in new tab" /> - } label="Copy link" value="⌘L" /> + } label="Edit" /> + } label="Make a copy" /> + } + label="Open in new tab" + /> + } + label="Copy link" + inlineEndNode={⌘L} + /> } + inlineStartNode={} label="Archive" variant="with-description" description="Only completed or cancelled work items can be archived" @@ -327,7 +336,7 @@ export const ActionMenu: Story = { } + inlineStartNode={} label={Delete} /> @@ -394,7 +403,7 @@ export const Description: Story = { } + inlineStartNode={} label="Private" variant="with-description" description="Accessible only by invite" @@ -403,7 +412,7 @@ export const Description: Story = { onClick={() => setSelected("private")} /> } + inlineStartNode={} label="Public" variant="with-description" description="Anyone in the workspace except Guests can join" @@ -448,7 +457,7 @@ export const Assignees: Story = { {visible.map((a) => ( } + inlineStartNode={} label={a.name} checked={Boolean(checked[a.key])} disabled={a.disabled} @@ -547,7 +556,7 @@ export const Priority: Story = { {visible.map((p) => ( setChecked((c) => ({ ...c, [p.key]: next }))} @@ -592,7 +601,7 @@ export const CheckedFillVisible: Story = { {PRIORITIES.map((p) => ( setChecked((c) => ({ ...c, [p.key]: next }))} @@ -701,12 +710,13 @@ export const Filters: Story = { {/* The category heading is itself a menuitem (valid `role="menu"` child) so its collapse chevron stays interactive without breaking - ARIA. The label is the section title; the chevron is the endIcon. */} + ARIA. The label is the section title; the chevron is the + inlineEndNode. */}