Capgemini / dcx-react-library

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

Range - Design System #595

Closed jgonza16 closed 5 hours ago

jgonza16 commented 4 months ago

Range - Design System

1 - Prerequisites

2 - Overview

2.1 - Possible states

Name Description
Default Instance without specific properties defined
Disabled Instance with native input disabled
Focus Instance while receiving focus on native input
Hover Instance while receiving hover on native input

2.2 - Variants

2.3 - Structure

Element Description  Token Name
RangeBox Container native Input spacing-x-formcontrol
Range Native input itself  formcontrol
Prefix Prefix container element  formcontrol_prefix
Suffix Prefix container element  formcontrol_suffix

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/forminput-design-system'
Ahmet-K commented 1 month ago

The branch's name might be 'feature/form-range-design-system' instead of 'feature/forminput-design-system'

jgonza16 commented 5 hours ago

Close with https://github.com/Capgemini/dcx-react-library/pull/662