Skip to content

Commit

Permalink
Universal behavior copy - consistent (#3969)
Browse files Browse the repository at this point in the history
* Universal behavior copy - consistent

* Copy update

* Copy update

---------

Co-authored-by: kritvi bhatia <kritvi.bhatia@ibm.com>
  • Loading branch information
Kritvi-bhatia17 and Kritvi-bhatia authored Mar 28, 2024
1 parent 01f95a9 commit 7394a05
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 26 deletions.
6 changes: 3 additions & 3 deletions src/pages/components/button/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ releasing this work in a future version of Carbon.
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Modifiers</AnchorLink>
<AnchorLink>Related</AnchorLink>
<AnchorLink>References</AnchorLink>
Expand Down Expand Up @@ -96,7 +96,7 @@ Do not use buttons as navigational elements. Instead, use
[links](https://www.carbondesignsystem.com/components/link/usage) when the
desired action is to take the user to a new page.

### Button variants
### Variants

Each button variant has a particular function and its design signals that
function to the user. It is therefore very important that the different variants
Expand Down Expand Up @@ -551,7 +551,7 @@ recommended action labels.
</DoDont>
</DoDontRow>

## Behaviors
## Universal behaviors

### Primary button

Expand Down
6 changes: 3 additions & 3 deletions src/pages/components/data-table/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ your product's users.
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Variants</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Modifiers</AnchorLink>
<AnchorLink>Related</AnchorLink>
<AnchorLink>Feedback</AnchorLink>
Expand Down Expand Up @@ -120,7 +120,7 @@ table display settings, and other utilities.
- When a more complex display of the data or interactions are required.
- As a replacement for a spreadsheet application.

### Data table variants
### Variants

| Variant | Purpose |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -386,7 +386,7 @@ The expandable icon always appears first and to the left of the selection icon.
</Column>
</Row>

## Behaviors
## Universal behaviors

### Interactions

Expand Down
11 changes: 5 additions & 6 deletions src/pages/components/list/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ number or a bullet.

<AnchorLink>Live demo</AnchorLink>
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Variants</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Feedback</AnchorLink>

Expand Down Expand Up @@ -63,12 +62,12 @@ bulleted lists when you don't need to convey a specific order for list items.
Use numbered lists when you need to convey a priority, hierarchy, or sequence
between list items.

## Variants
### Variants

| Variant | Purpose |
| --------------- | ---------------------------------------------------------------------------------- |
| Unordered lists | To present content of equal status or value. |
| Ordered lists | Imply sequence and order, and are commonly used when giving a set of instructions. |
| Variant | Purpose |
| ----------------- | ---------------------------------------------------------------------------------- |
| _Unordered lists_ | To present content of equal status or value. |
| _Ordered lists_ | Imply sequence and order, and are commonly used when giving a set of instructions. |

## Content

Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/menu/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ is only available in v11.
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Modifiers</AnchorLink>
<AnchorLink>Related</AnchorLink>
<AnchorLink>References</AnchorLink>
Expand Down Expand Up @@ -426,7 +426,7 @@ content and scan easily.
For further content guidance, see Carbon's
[content guidelines](/guidelines/content/overview).

## Universal behaviors
## Behaviors

### States

Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/modal/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ information via a window that sits on top of the page content.
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Modal variants</AnchorLink>
<AnchorLink>Related</AnchorLink>
<AnchorLink>Feedback</AnchorLink>
Expand Down Expand Up @@ -255,7 +255,7 @@ style, no other body copy may be included.
For further content guidance, see Carbon's
[content guidelines](/guidelines/content/overview).

## Behaviors
## Universal behaviors

### Trigger

Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/popover/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ only available in v11.

<AnchorLink>Live demo</AnchorLink>
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Variants</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
Expand Down Expand Up @@ -72,7 +71,7 @@ tooltips, overflow menus, and dropdown menus.
- Use when you need to display additional details for specific elements on a
page. If your popover exceeds four columns in width, use a modal instead.

## Variants
### Variants

By default, a popovers structure is made up of a container with no additional
tip. Depending on the use case, caret tips or tab tips can be added to the
Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/progress-bar/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ long a user will be waiting.

<AnchorLink>Live demo</AnchorLink>
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Variants</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
Expand Down Expand Up @@ -105,7 +104,7 @@ how long a process will take, or if a request is being executed.
- If the process takes less than 5 seconds to load, use
[loading](/components/loading/usage) instead.

## Variants
### Variants

A progress bar can either be determinate or indeterminate. The determinate
variant is visualized as a track on which a bar fills up from left to right
Expand Down
7 changes: 3 additions & 4 deletions src/pages/components/select/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ Select allows users to choose one option from a list of values.

<AnchorLink>Live demo</AnchorLink>
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Variants</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Feedback</AnchorLink>

</AnchorLinks>
Expand Down Expand Up @@ -108,7 +107,7 @@ the dropdown list can be styled as needed.
</Column>
</Row>

## Variants
### Variants

| Variant | Purpose |
| --------------- | ----------------------------------------------------------- |
Expand Down Expand Up @@ -278,7 +277,7 @@ on the frequency of use.
</Column>
</Row>

## Behaviors
## Universal behaviors

### States

Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/tree-view/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ navigation.
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Formatting</AnchorLink>
<AnchorLink>Content</AnchorLink>
<AnchorLink>Universal behaviors</AnchorLink>
<AnchorLink>Behaviors</AnchorLink>
<AnchorLink>Related</AnchorLink>
<AnchorLink>References</AnchorLink>
<AnchorLink>Feedback</AnchorLink>
Expand Down Expand Up @@ -202,7 +202,7 @@ is most useful to the user to keep persistent in the tree view.
For further content guidance, see Carbon's
[content guidelines](/guidelines/content/overview/).

## Universal behaviors
## Behaviors

### States

Expand Down

0 comments on commit 7394a05

Please sign in to comment.