Skip to content

Commit

Permalink
storis : rename checkbox guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMarcMilletScality committed Apr 3, 2024
1 parent 42b5480 commit 02ca676
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 44 deletions.
44 changes: 0 additions & 44 deletions stories/Checkbox/Guideline.mdx

This file was deleted.

55 changes: 55 additions & 0 deletions stories/Checkbox/checkbox.guideline.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import {
Meta,
Story,
Canvas,
Primary,
Controls,
Unstyled,
Source,
} from '@storybook/blocks';
import { Checkbox } from '../../src/lib/components/checkbox/Checkbox.component';

import * as CheckboxStories from './checkbox.stories';

<Meta of={CheckboxStories} name="Guideline" />

# Checkbox

Checkboxes are used to select one or multiple options in a list.

## Size & style

### Style

### Padding

### Checkbox spacing

## Usage

<Canvas of={CheckboxStories.DefaultCheckbox} layout="fullscreen" />

## State Variations

### Checked State

<Canvas of={CheckboxStories.CheckedCheckbox} layout="fullscreen" />

### Disabled state

<Canvas
of={CheckboxStories.DisabledCheckboxes}

layout="fullscreen"
/>

### Indeterminate State

Usecase ?

<Canvas of={CheckboxStories.IndeterminateCheckbox} layout="fullscreen" />

### Playground

<Canvas of={CheckboxStories.Playground} layout="fullscreen" />
<Controls of={CheckboxStories.Playground} />

0 comments on commit 02ca676

Please sign in to comment.