Skip to content

Commit

Permalink
fix bad merge that included old SB6 duplicate docs (#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbasuil authored May 17, 2023
1 parent 6e56ca5 commit 3f292ff
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 115 deletions.
30 changes: 0 additions & 30 deletions src/Card/Card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,36 +46,6 @@ Pass a custom LoadingSkeleton to `loadingSkeleton`. Use only when a custom skele

<Canvas of={ComponentStories.LoadingCustom} />

### Sizes

<Canvas>
<Story id="components-card--sizes" />
</Canvas>

### Loading Default

Default LoadingSkeleton when `isLoading` is set.

<Canvas>
<Story id="components-card--loading" />
</Canvas>

### Loading Paragraph Count

Adjust `loadingSkeletonParagraphCount` for representing additional content space.

<Canvas>
<Story id="components-card--loading-paragraph-count" />
</Canvas>

### Loading Custom

Pass a custom LoadingSkeleton to `loadingSkeleton`. Use only when a custom skeleton better suits the rendered content.

<Canvas>
<Story id="components-card--loading-custom" />
</Canvas>

## Formatting

### States
Expand Down
4 changes: 1 addition & 3 deletions src/CheckboxButtonGroup/CheckboxButtonGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ import * as ComponentStories from './CheckboxButtonGroup.stories';

### Bordered Column Full Width

<Canvas>
<Story id="components-form-elements-checkboxbuttongroup--bordered-column-full-width"/>
</Canvas>
<Canvas of={ComponentStories.BorderedColumnFullWidth} />

## Formatting

Expand Down
33 changes: 0 additions & 33 deletions src/Pill/Pill.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,39 +60,6 @@ Use the appropriate color to indicate the status of an object

<Canvas of={ComponentStories.WithContainer} />

### Statuses

Use the appropriate color to indicate the status of an object

**Informational**
- blue: neutral information ("Verified")
- silver: typically represents project type info ("1-on-1 Interview", "Online")

**Partially complete**
- orange: ("Pending review", "Under investigation")

**Incomplete**
- yellow: ("Draft")

**Attention**
- red: ("Action required", "Missing field")

**Active**
- green: ("Active", "Confirmed")

**Inactive**
- gray: ("Completed", "Expired")

<Canvas>
<Story id="components-pill--statuses" />
</Canvas>

### With Container
- The `Pills` container should be used when a collection of `Pill` components are displayed

<Canvas>
<Story id="components-pill--with-container" />
</Canvas>

### With Leading Icon
- Import an icon that is most relevant to the text
Expand Down
16 changes: 0 additions & 16 deletions src/ProfileCell/ProfileCell.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,6 @@ Use the `isLoading` prop on `ProfileCell` to create a low fidelity representatio

<Canvas of={ComponentStories.Loading} />

### With Trailing Icon

<Canvas>
<Story id="components-profile-cell--with-trailing-icon" />
</Canvas>

### Loading

Use the `isLoading` prop on `ProfileCell` to create a low fidelity representation of the ProfileCell.

`ProfileCellSkeleton` is also available for use.

<Canvas>
<Story id="components-profile-cell--loading" />
</Canvas>


## Formatting

Expand Down
1 change: 0 additions & 1 deletion src/ProfileCell/ProfileCell.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import mdx from './ProfileCell.mdx';
export default {
title: 'Components/Profile Cell',
component: ProfileCell,
subcomponents: { ProfileCellSkeleton },
decorators: [withKnobs],
parameters: {
docs: {
Expand Down
8 changes: 0 additions & 8 deletions src/RadioButtonGroup/RadioButtonGroup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ Single-selection button. Includes helper text and/or a description in addition t

<Canvas of={ComponentStories.BorderedColumnFullWidth} />

### Bordered Column Full Width

Single-selection button. Includes helper text and/or a description in addition to the default label.

<Canvas>
<Story id="components-form-elements-radiobuttongroup--bordered-column-full-width"/>
</Canvas>


## Formatting

Expand Down
6 changes: 0 additions & 6 deletions src/Select/SingleSelect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ A base select input. Flexible and comes with multiselect, clearable, searchable,

<Canvas of={ComponentStories.CustomOptionWithIndeterminateCheckbox} />

### Custom Option With Indeterminate Checkbox

<Preview>
<Story id="components-selects-single--custom-option-with-indeterminate-checkbox" />
</Preview>

### Custom Value Container

<Canvas of={ComponentStories.CustomValueContainer} />
19 changes: 1 addition & 18 deletions src/Table/Table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,8 @@ import * as ComponentStories from './Table.stories';
### Table No Hover State
- Set `removeHover` on a `TableRow` component to remove the default hover state.

<Canvas>
<Story id="components-table--table-no-hover-state" />
</Canvas>
<Canvas of={ComponentStories.TableNoHoverState} />

### Loading Default
- Set `isLoading` on the `<Table>` component to render the default `<TableLoadingSkeleton>`

<Canvas>
<Story id="components-table--loading-default" />
</Canvas>

### Loading Custom Columns
- Adjust the column count and widths of the `<TableLoadingSkeleton>` by giving `loadingColumns` an array of widths (e.g. `[75, 100, 250, 250, 100]`)
- Adjust the row count of the `<TableLoadingSkeleton>` by giving `loadingRows` a number
- The loading skeleton does not need to perfectly match the Table that is eventually rendered.

<Canvas>
<Story id="components-table--loading-custom-columns" />
</Canvas>

### Table With Fixed Column Widths
- Create a column with a fixed width
Expand Down

0 comments on commit 3f292ff

Please sign in to comment.