From 7394a0580bb6ba124682ec838f19db0d90ab7afb Mon Sep 17 00:00:00 2001 From: Kritvi <158570656+Kritvi-bhatia17@users.noreply.github.com> Date: Thu, 28 Mar 2024 20:24:17 +0530 Subject: [PATCH] Universal behavior copy - consistent (#3969) * Universal behavior copy - consistent * Copy update * Copy update --------- Co-authored-by: kritvi bhatia --- src/pages/components/button/usage.mdx | 6 +++--- src/pages/components/data-table/usage.mdx | 6 +++--- src/pages/components/list/usage.mdx | 11 +++++------ src/pages/components/menu/usage.mdx | 4 ++-- src/pages/components/modal/usage.mdx | 4 ++-- src/pages/components/popover/usage.mdx | 3 +-- src/pages/components/progress-bar/usage.mdx | 3 +-- src/pages/components/select/usage.mdx | 7 +++---- src/pages/components/tree-view/usage.mdx | 4 ++-- 9 files changed, 22 insertions(+), 26 deletions(-) diff --git a/src/pages/components/button/usage.mdx b/src/pages/components/button/usage.mdx index fd1c3b3ef61..380b07afb86 100755 --- a/src/pages/components/button/usage.mdx +++ b/src/pages/components/button/usage.mdx @@ -30,7 +30,7 @@ releasing this work in a future version of Carbon. Overview Formatting Content -Behaviors +Universal behaviors Modifiers Related References @@ -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 @@ -551,7 +551,7 @@ recommended action labels. -## Behaviors +## Universal behaviors ### Primary button diff --git a/src/pages/components/data-table/usage.mdx b/src/pages/components/data-table/usage.mdx index 1f23b21fb3f..19e50c09e7f 100755 --- a/src/pages/components/data-table/usage.mdx +++ b/src/pages/components/data-table/usage.mdx @@ -23,7 +23,7 @@ your product's users. Formatting Content Variants -Behaviors +Universal behaviors Modifiers Related Feedback @@ -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 | | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -386,7 +386,7 @@ The expandable icon always appears first and to the left of the selection icon. -## Behaviors +## Universal behaviors ### Interactions diff --git a/src/pages/components/list/usage.mdx b/src/pages/components/list/usage.mdx index 7c8cd576900..876dd6b88af 100755 --- a/src/pages/components/list/usage.mdx +++ b/src/pages/components/list/usage.mdx @@ -19,7 +19,6 @@ number or a bullet. Live demo Overview -Variants Content Feedback @@ -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 diff --git a/src/pages/components/menu/usage.mdx b/src/pages/components/menu/usage.mdx index 21ccc3041ab..a4e3febf56d 100644 --- a/src/pages/components/menu/usage.mdx +++ b/src/pages/components/menu/usage.mdx @@ -28,7 +28,7 @@ is only available in v11. Overview Formatting Content -Universal behaviors +Behaviors Modifiers Related References @@ -426,7 +426,7 @@ content and scan easily. For further content guidance, see Carbon's [content guidelines](/guidelines/content/overview). -## Universal behaviors +## Behaviors ### States diff --git a/src/pages/components/modal/usage.mdx b/src/pages/components/modal/usage.mdx index 9b1423e29c1..fdc07e7efad 100755 --- a/src/pages/components/modal/usage.mdx +++ b/src/pages/components/modal/usage.mdx @@ -21,7 +21,7 @@ information via a window that sits on top of the page content. Overview Formatting Content -Behaviors +Universal behaviors Modal variants Related Feedback @@ -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 diff --git a/src/pages/components/popover/usage.mdx b/src/pages/components/popover/usage.mdx index f1e37f543be..86ee0180112 100644 --- a/src/pages/components/popover/usage.mdx +++ b/src/pages/components/popover/usage.mdx @@ -24,7 +24,6 @@ only available in v11. Live demo Overview -Variants Formatting Content Behaviors @@ -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 diff --git a/src/pages/components/progress-bar/usage.mdx b/src/pages/components/progress-bar/usage.mdx index 08d7bbc787b..750f7380ffe 100644 --- a/src/pages/components/progress-bar/usage.mdx +++ b/src/pages/components/progress-bar/usage.mdx @@ -34,7 +34,6 @@ long a user will be waiting. Live demo Overview -Variants Formatting Content Universal behaviors @@ -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 diff --git a/src/pages/components/select/usage.mdx b/src/pages/components/select/usage.mdx index c4f34156c4d..bbb9dce2c23 100755 --- a/src/pages/components/select/usage.mdx +++ b/src/pages/components/select/usage.mdx @@ -18,10 +18,9 @@ Select allows users to choose one option from a list of values. Live demo Overview -Variants Formatting Content -Behaviors +Universal behaviors Feedback @@ -108,7 +107,7 @@ the dropdown list can be styled as needed. -## Variants +### Variants | Variant | Purpose | | --------------- | ----------------------------------------------------------- | @@ -278,7 +277,7 @@ on the frequency of use. -## Behaviors +## Universal behaviors ### States diff --git a/src/pages/components/tree-view/usage.mdx b/src/pages/components/tree-view/usage.mdx index 372724620b4..388dedf74f8 100755 --- a/src/pages/components/tree-view/usage.mdx +++ b/src/pages/components/tree-view/usage.mdx @@ -21,7 +21,7 @@ navigation. Overview Formatting Content -Universal behaviors +Behaviors Related References Feedback @@ -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