Skip to content

Commit 1f38caf

Browse files
Merge release/2.0.0-rc1 into main branch (#935)
* fix bad merge that included old SB6 duplicate docs (#934)
1 parent 0fe3524 commit 1f38caf

File tree

8 files changed

+3
-119
lines changed

8 files changed

+3
-119
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@user-interviews/ui-design-system",
3-
"version": "2.0.0-rc",
3+
"version": "2.0.0-rc1",
44
"dependencies": {
55
"react-bootstrap": "^2.5.0",
66
"react-loading-skeleton": "^3.1.0",

src/Card/Card.mdx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ import * as ComponentStories from './Card.stories';
1212

1313
<Canvas of={ComponentStories.Default} />
1414

15-
## Props
16-
1715
<ArgTypes of={Card} />
1816

19-
## Stories
2017

2118
### Default
2219

@@ -46,35 +43,6 @@ Pass a custom LoadingSkeleton to `loadingSkeleton`. Use only when a custom skele
4643

4744
<Canvas of={ComponentStories.LoadingCustom} />
4845

49-
### Sizes
50-
51-
<Canvas>
52-
<Story id="components-card--sizes" />
53-
</Canvas>
54-
55-
### Loading Default
56-
57-
Default LoadingSkeleton when `isLoading` is set.
58-
59-
<Canvas>
60-
<Story id="components-card--loading" />
61-
</Canvas>
62-
63-
### Loading Paragraph Count
64-
65-
Adjust `loadingSkeletonParagraphCount` for representing additional content space.
66-
67-
<Canvas>
68-
<Story id="components-card--loading-paragraph-count" />
69-
</Canvas>
70-
71-
### Loading Custom
72-
73-
Pass a custom LoadingSkeleton to `loadingSkeleton`. Use only when a custom skeleton better suits the rendered content.
74-
75-
<Canvas>
76-
<Story id="components-card--loading-custom" />
77-
</Canvas>
7846

7947
## Formatting
8048

src/CheckboxButtonGroup/CheckboxButtonGroup.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ import * as ComponentStories from './CheckboxButtonGroup.stories';
5151

5252
### Bordered Column Full Width
5353

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

5856
## Formatting
5957

src/Pill/Pill.mdx

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -60,40 +60,6 @@ Use the appropriate color to indicate the status of an object
6060

6161
<Canvas of={ComponentStories.WithContainer} />
6262

63-
### Statuses
64-
65-
Use the appropriate color to indicate the status of an object
66-
67-
**Informational**
68-
- blue: neutral information ("Verified")
69-
- silver: typically represents project type info ("1-on-1 Interview", "Online")
70-
71-
**Partially complete**
72-
- orange: ("Pending review", "Under investigation")
73-
74-
**Incomplete**
75-
- yellow: ("Draft")
76-
77-
**Attention**
78-
- red: ("Action required", "Missing field")
79-
80-
**Active**
81-
- green: ("Active", "Confirmed")
82-
83-
**Inactive**
84-
- gray: ("Completed", "Expired")
85-
86-
<Canvas>
87-
<Story id="components-pill--statuses" />
88-
</Canvas>
89-
90-
### With Container
91-
- The `Pills` container should be used when a collection of `Pill` components are displayed
92-
93-
<Canvas>
94-
<Story id="components-pill--with-container" />
95-
</Canvas>
96-
9763
### With Leading Icon
9864
- Import an icon that is most relevant to the text
9965

src/ProfileCell/ProfileCell.mdx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,6 @@ Use the `isLoading` prop on `ProfileCell` to create a low fidelity representatio
4646

4747
<Canvas of={ComponentStories.Loading} />
4848

49-
### With Trailing Icon
50-
51-
<Canvas>
52-
<Story id="components-profile-cell--with-trailing-icon" />
53-
</Canvas>
54-
55-
### Loading
56-
57-
Use the `isLoading` prop on `ProfileCell` to create a low fidelity representation of the ProfileCell.
58-
59-
`ProfileCellSkeleton` is also available for use.
60-
61-
<Canvas>
62-
<Story id="components-profile-cell--loading" />
63-
</Canvas>
64-
6549

6650
## Formatting
6751

src/RadioButtonGroup/RadioButtonGroup.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ Single-selection button. Includes helper text and/or a description in addition t
5050

5151
<Canvas of={ComponentStories.BorderedColumnFullWidth} />
5252

53-
### Bordered Column Full Width
54-
55-
Single-selection button. Includes helper text and/or a description in addition to the default label.
56-
57-
<Canvas>
58-
<Story id="components-form-elements-radiobuttongroup--bordered-column-full-width"/>
59-
</Canvas>
60-
6153

6254
## Formatting
6355

src/Select/SingleSelect.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ A base select input. Flexible and comes with multiselect, clearable, searchable,
4242

4343
<Canvas of={ComponentStories.CustomOptionWithIndeterminateCheckbox} />
4444

45-
### Custom Option With Indeterminate Checkbox
46-
47-
<Preview>
48-
<Story id="components-selects-single--custom-option-with-indeterminate-checkbox" />
49-
</Preview>
50-
5145
### Custom Value Container
5246

5347
<Canvas of={ComponentStories.CustomValueContainer} />

src/Table/Table.mdx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,7 @@ import * as ComponentStories from './Table.stories';
4545
### Table No Hover State
4646
- Set `removeHover` on a `TableRow` component to remove the default hover state.
4747

48-
<Canvas>
49-
<Story id="components-table--table-no-hover-state" />
50-
</Canvas>
51-
52-
### Loading Default
53-
- Set `isLoading` on the `<Table>` component to render the default `<TableLoadingSkeleton>`
54-
55-
<Canvas>
56-
<Story id="components-table--loading-default" />
57-
</Canvas>
58-
59-
### Loading Custom Columns
60-
- Adjust the column count and widths of the `<TableLoadingSkeleton>` by giving `loadingColumns` an array of widths (e.g. `[75, 100, 250, 250, 100]`)
61-
- Adjust the row count of the `<TableLoadingSkeleton>` by giving `loadingRows` a number
62-
- The loading skeleton does not need to perfectly match the Table that is eventually rendered.
63-
64-
<Canvas>
65-
<Story id="components-table--loading-custom-columns" />
66-
</Canvas>
48+
<Canvas of={ComponentStories.TableNoHoverState} />
6749

6850
### Table With Fixed Column Widths
6951
- Create a column with a fixed width

0 commit comments

Comments
 (0)