Skip to content

Commit ce254fb

Browse files
authored
demo(accordions): add Figma designs for Timeline component (#1412)
1 parent 531defa commit ce254fb

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

packages/accordions/demo/stories/data.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -145,19 +145,19 @@ export const STEPPER_STEPS: IStepperStep[] = [
145145

146146
export const TIMELINE_ITEMS: ITimelineItem[] = [
147147
{
148-
title: 'Issue with order',
149-
description: 'Today 9:00 AM'
148+
title: 'Plant seed',
149+
description: 'Today, 9:00 AM'
150150
},
151151
{
152-
title: 'Ordered 3 items',
152+
title: 'Purchased seed',
153153
description: 'Feb 08, 9:05 AM'
154154
},
155155
{
156-
title: 'Added 3 items to cart',
156+
title: 'Arranged layout of garden',
157157
description: 'Jan 21, 9:13 AM'
158158
},
159159
{
160-
title: 'Viewed product page',
160+
title: 'Chose a gardening location',
161161
description: 'Jan 21, 9:21 AM'
162162
}
163163
];

packages/accordions/demo/timeline.stories.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ import { TIMELINE_ITEMS as ITEMS } from './stories/data';
3333
hasOppositeContent: { name: 'Timeline.OppositeContent', table: { category: 'Story' } },
3434
items: { name: 'Timeline.Item[]', table: { category: 'Story' } }
3535
}}
36+
parameters={{
37+
design: {
38+
allowFullscreen: true,
39+
type: 'figma',
40+
url: 'https://www.figma.com/file/6g87L4FdKZTA3knt3Rsfdx/Garden?node-id=9806%3A43467'
41+
}
42+
}}
3643
>
3744
{args => <TimelineStory {...args} />}
3845
</Story>

0 commit comments

Comments
 (0)