Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
107 stars 7 forks source link

Card - Design System #601

Closed jgonza16 closed 4 weeks ago

jgonza16 commented 4 months ago

Card - Design System

1 - Prerequisites

2 - Overview

2.1 - Possible states

Name Description
Default Instance without specific properties defined
Focus Interact variant instance while receiving focus on main container
Hover Interact variant instance while receiving focus on main container
Selected Interact variant instance while receiving focus on main container

2.2 - Variants

Name Description
Default Default look & feel
interact Interactionable look & feel
vertical Vertical layout look & feel
horizontal Horizontal layout look & feel

2.3 - Structure

Element Description  Token Name
Box The card container article itself card_box

2.4 - Tokens definition

Considerations:

Possible tokens:

Follow the naming pattern

3 - Storybook

Create the pages for:

On each MDX page make examples for each possible variant

4 - Initial setup

Please follow these steps to create your branch:

git checkout release/1.1.0
git pull
git checkout -b 'feature/card-design-system'
daniele-zurico commented 4 weeks ago

closed by #562