@@ -261,7 +261,7 @@ Other button variants may be used as a trigger for a dropdown menu. Caution shou
Example of a "more options" dropdown menu.
@@ -280,14 +280,14 @@ Dropdowns are positioned relative to the trigger element that is clicked on to o
A dropdown is typically displayed below the trigger element, and the left edge of the dropdown is aligned with the left edge of the trigger element. To make sure dropdowns don’t become obscured by running off the edge of the browser, you may position the dropdown to the left, right, or above the trigger element. You may also change the alignment to the right, top, or bottom edges.
-
+
Dropdowns can be left or right aligned.
-
+
Dropdowns can be positioned above the trigger element. If using a button,
@@ -297,7 +297,7 @@ A dropdown is typically displayed below the trigger element, and the left edge o
-
+
Dropdowns can be positioned to the left or right of the trigger element.
@@ -315,7 +315,7 @@ Dropdowns are capable of displaying any kind of content, but great care should b
-
+
Small forms can be shown inside a dropdown instead of going to a new
@@ -326,7 +326,7 @@ Dropdowns are capable of displaying any kind of content, but great care should b
-
+
Menu items can be combined with custom content.
diff --git a/website/react-magma-docs/src/pages/design/header.mdx b/website/react-magma-docs/src/pages/design/header.mdx
index ef9e13d49a..a54c35d3be 100644
--- a/website/react-magma-docs/src/pages/design/header.mdx
+++ b/website/react-magma-docs/src/pages/design/header.mdx
@@ -33,13 +33,13 @@ The header component is designed to be extremely flexible allowing designers to
-
+
Header on small/mobile screen
-
+
Header on large/desktop screen
@@ -48,17 +48,17 @@ The header component is designed to be extremely flexible allowing designers to
Horizontal specifications are consistent across all “flavors” of the header (standard, compact, and responsive.)
-
+
Header on small/mobile screen
-
+
Header on large/desktop screen
-
+
Header with sidebar menu icon
@@ -67,7 +67,7 @@ Horizontal specifications are consistent across all “flavors” of the header
In certain circumstances, designers may need to left-justify header features. The component allows for this and uses the same basic rules of horizontal and vertical spacing.
-
+
Header with left justification
@@ -76,7 +76,7 @@ In certain circumstances, designers may need to left-justify header features. Th
The header should span the full width of the screen. On extra wide displays, the content may include expanded margins on each side, but the header logo should remain left-justfied to the edge of the screen, and (in most cases) the icons, features and inputs should remain right-justfied to the edge of the screen.
-
+
## Vertical Specifications
@@ -84,12 +84,12 @@ The header should span the full width of the screen. On extra wide displays, the
Vertical specifications vary between the standard and compact views.
-
+
Compact header
-
+
Standard header
@@ -124,7 +124,7 @@ Here are several examples of strategies that designers should avoid:
### Don't use too many icons
-
+
Incorrect
Incorrect: Too many icons create inbalance and clutter
@@ -136,7 +136,7 @@ Here are several examples of strategies that designers should avoid:
Don't duplicate items that already exist in the sidebar or elsewhere on the UI.
-
+
Incorrect
These already exist in the sidebar or are better suited there
@@ -146,7 +146,7 @@ Don't duplicate items that already exist in the sidebar or elsewhere on the UI.
### Don't use a collapsed sidebar and hamburger menu
-
+
Incorrect
Sidebar controls should never co-exist with the hamburger menu
diff --git a/website/react-magma-docs/src/pages/design/icon.mdx b/website/react-magma-docs/src/pages/design/icon.mdx
index 5d88a4ba5b..e555f6b1bd 100644
--- a/website/react-magma-docs/src/pages/design/icon.mdx
+++ b/website/react-magma-docs/src/pages/design/icon.mdx
@@ -40,7 +40,7 @@ This example illustrates how 12px, 14px, 16px, and 20px text strings are paired
-
+
Correct
@@ -52,7 +52,7 @@ This example illustrates how 12px, 14px, 16px, and 20px text strings are paired
-
+
Incorrect
@@ -77,7 +77,7 @@ The color of an icon needs to hit a minimum color contrast ratio of 3:1 with the
-
+
Correct
@@ -90,7 +90,7 @@ The color of an icon needs to hit a minimum color contrast ratio of 3:1 with the
-
+
Incorrect
@@ -105,7 +105,7 @@ The color of an icon needs to hit a minimum color contrast ratio of 3:1 with the
-
+
Incorrect
@@ -130,7 +130,7 @@ When positioning an icon next to text you should always center-align them.
-
+
Correct
@@ -141,7 +141,7 @@ When positioning an icon next to text you should always center-align them.
-
+
Incorrect
diff --git a/website/react-magma-docs/src/pages/design/indeterminate.mdx b/website/react-magma-docs/src/pages/design/indeterminate.mdx
index 7d685b6aed..71cea9f69d 100644
--- a/website/react-magma-docs/src/pages/design/indeterminate.mdx
+++ b/website/react-magma-docs/src/pages/design/indeterminate.mdx
@@ -24,7 +24,7 @@ View the documentation for checkboxes for
diff --git a/website/react-magma-docs/src/pages/design/input.mdx b/website/react-magma-docs/src/pages/design/input.mdx
index 4b3ff09e81..58b4a6e379 100644
--- a/website/react-magma-docs/src/pages/design/input.mdx
+++ b/website/react-magma-docs/src/pages/design/input.mdx
@@ -19,7 +19,7 @@ Inputs can be used alone or they can be combined with other types of inputs to c
-
+
@@ -53,7 +53,7 @@ View component API for text fields.
-
+
@@ -65,7 +65,7 @@ View component API for text areas.
-
+
@@ -77,7 +77,7 @@ View the password input documentation
-
+
@@ -89,7 +89,7 @@ View component API for number inputs.
-
+
@@ -101,7 +101,7 @@ View component API or
-
+
@@ -113,7 +113,7 @@ View component API for date inputs.
-
+
@@ -147,7 +147,7 @@ The field label tells the user what information they need to input. Using placeh
-
+
Incorrect
Do not truncate field labels.
@@ -156,7 +156,7 @@ The field label tells the user what information they need to input. Using placeh
-
+
Caution
@@ -178,7 +178,7 @@ Placeholder text provides hints or examples of what to enter. Placeholder text d
-
+
This example shows how the placeholder text provides a hint to the
@@ -199,7 +199,7 @@ Helper text is pertinent information that assists the user in completing a field
-
+
Example of input helper text
@@ -217,7 +217,7 @@ Required fields should be indicated by putting an asterisk (\*) at the end of th
-
+
Correct
@@ -230,7 +230,7 @@ Required fields should be indicated by putting an asterisk (\*) at the end of th
-
+
Correct
@@ -244,7 +244,7 @@ Required fields should be indicated by putting an asterisk (\*) at the end of th
-
+
Incorrect
@@ -274,7 +274,7 @@ Inputs have a 5px border radius to be consistent with buttons, which often accom
-
+
Examples of text fields on light and dark backgrounds.
@@ -294,7 +294,7 @@ Icons can be used to help provide clarity or functionality. Leading icons are ty
-
+
Example of input with leading icon. The Visa icon helps identify the
@@ -305,7 +305,7 @@ Icons can be used to help provide clarity or functionality. Leading icons are ty
-
+
Example of input with trailing icon. The calendar icon is a button
@@ -327,7 +327,7 @@ The icon can be configured to simply display a message within a tooltip or also
-
+
Example of input with Help icon
@@ -345,7 +345,7 @@ The icon can be configured to simply display a message within a tooltip or also
-
+
Inputs can display the following states: active, disabled, focused,
@@ -373,7 +373,7 @@ When the input provided is invalid, an error message should be used to provide i
-
+
Example of input with error message
diff --git a/website/react-magma-docs/src/pages/design/list.mdx b/website/react-magma-docs/src/pages/design/list.mdx
index adc8ff8938..3f2d0e870b 100644
--- a/website/react-magma-docs/src/pages/design/list.mdx
+++ b/website/react-magma-docs/src/pages/design/list.mdx
@@ -29,7 +29,7 @@ Use ordered (numbered) lists when you need to convey a sequence or hierarchy bet
-
+
The list in this image shows a list of grocery items in no particular
order.
@@ -38,7 +38,7 @@ Use ordered (numbered) lists when you need to convey a sequence or hierarchy bet
-
+
The list in this image shows a list of the top 7 best-selling car
brands.
@@ -78,12 +78,12 @@ You can use the spacing tokens in React Magma to increase the vertical space bet
@@ -97,7 +97,7 @@ The icon list is really just a variant of the Unordered List, but instead of bul
-
+
@@ -112,7 +112,7 @@ There are three icon size choices, including small, medium, and large. These siz
-
+
@@ -127,7 +127,7 @@ You can align the icon with the center or top of the associated content. This la
-
+
diff --git a/website/react-magma-docs/src/pages/design/loading-indicator.mdx b/website/react-magma-docs/src/pages/design/loading-indicator.mdx
index 759545e3dd..8c9b1b07c9 100644
--- a/website/react-magma-docs/src/pages/design/loading-indicator.mdx
+++ b/website/react-magma-docs/src/pages/design/loading-indicator.mdx
@@ -33,7 +33,7 @@ Circular spinners are used when the amount of time needed to run a process or lo
@@ -49,7 +49,7 @@ Progress bars should be used when real progress data can be fed to it, and you a
-
+
@@ -67,7 +67,7 @@ Many actions happen quickly, such as saving updates, submitting a form, or loadi
If you know that it will take less than a second to complete an action, then no loading indicator is necessary. If you know the action is going to take 1 - 5 seconds to complete, you should use a circular spinner.
-
+
Replace the label in the button with the circular spinner after clicking
@@ -82,7 +82,7 @@ If you know that it will take less than a second to complete an action, then no
If you are loading large amounts of data like an entire page or large areas of data, the amount of time it takes to load can vary greatly. We need to effectively communicate with the user what is happening, but that takes some informed decisions on our part.
-
+
In this example, we are using a loading indicator while the Learning Path
@@ -99,7 +99,7 @@ If there is no way of measuring how long it will take in real-time, but you know
Messaging should tell the user what is happening and what to expect.
@@ -116,7 +116,7 @@ If you know from testing that it typically takes more than 15 seconds to load, *
-
+
@@ -133,7 +133,7 @@ This component also allows for three messages, although at different intervals t
Messaging should tell the user what is happening and what to expect.
diff --git a/website/react-magma-docs/src/pages/design/modal.mdx b/website/react-magma-docs/src/pages/design/modal.mdx
index 109a0c1721..6e5c2a1971 100644
--- a/website/react-magma-docs/src/pages/design/modal.mdx
+++ b/website/react-magma-docs/src/pages/design/modal.mdx
@@ -28,13 +28,13 @@ A modal is intentionally interruptive and blocks the user from interacting with
Clearly describe the decision being made by the user, and explain any possible consequences it could cause. The primary button should also reinforce the action being taken. If the action being taken is irreversible, make that clear to the user as well. The user should also be able to cancel the action with a secondary button or closing the modal.
-
+
### Edit or Manage Tasks
It's very common to use a modal to quickly edit or manage one or more items on a page without going back and forth between multiple pages. The emphasis here is "quickly". If the settings or management of an item becomes relatively complex and requires many decisions or multiple steps, please consider using a separate page or something other than a modal. If a particular action is often done repeatedly, consider allowing the action to be done directly on the main page rather than in a modal.
-
+
---
@@ -42,7 +42,7 @@ It's very common to use a modal to quickly edit or manage one or more items on a
Modals come in three responsive sizes: small, medium, and large.
-
+
### Small
@@ -86,12 +86,12 @@ Modals should always contain a way to close them, and there are typically multip
When a modal is opened, the focus is automatically put on the title of the modal rather than the first actionable element. We intentionally do this to provide an optimal experience for both people using assistive technologies and those who don't.
-
+
### Validation
Always validate a user's input entries before a modal is closed. If there are any errors, an inline error alert should be displayed above the form, as well as error messages on any specific inputs that failed validation. The error messages should provide clear instructions on how to resolve the errors and complete the action.
-
+
diff --git a/website/react-magma-docs/src/pages/design/password-input.mdx b/website/react-magma-docs/src/pages/design/password-input.mdx
index f542227477..a47589ca58 100644
--- a/website/react-magma-docs/src/pages/design/password-input.mdx
+++ b/website/react-magma-docs/src/pages/design/password-input.mdx
@@ -15,7 +15,7 @@ import { Link } from 'gatsby';
-
+
diff --git a/website/react-magma-docs/src/pages/design/progress-bar.mdx b/website/react-magma-docs/src/pages/design/progress-bar.mdx
index 8d6cc04081..b1087ca599 100644
--- a/website/react-magma-docs/src/pages/design/progress-bar.mdx
+++ b/website/react-magma-docs/src/pages/design/progress-bar.mdx
@@ -25,7 +25,7 @@ To see how progress bars are used as loading indicators, view the [loading indic
-
+
@@ -35,7 +35,7 @@ To see how progress bars are used as loading indicators, view the [loading indic
-
+
@@ -58,7 +58,7 @@ The width of the progress bar is controlled by the container it is within. For m
When a static progress bar is used, it represents the progress of something at that point in time and does not change until an explicit action is performed that updates the progress bar.
-
+
Example of using progress bar to help communicate that the user is on step
@@ -67,7 +67,7 @@ When a static progress bar is used, it represents the progress of something at t
-
+
Progress bars can be used to visually display the same data point for
@@ -82,7 +82,7 @@ When a static progress bar is used, it represents the progress of something at t
When a dynamic progress bar is used, it means it's updating in real-time while you wait for a series of processes outside of your control to complete.
-
+
Example of using progress bar to help communicate that the data is loading
@@ -107,7 +107,7 @@ The track on the dark/inverse progress bar has a black background at 25% opacity
-
+
diff --git a/website/react-magma-docs/src/pages/design/radio.mdx b/website/react-magma-docs/src/pages/design/radio.mdx
index b0caab11eb..451812660b 100644
--- a/website/react-magma-docs/src/pages/design/radio.mdx
+++ b/website/react-magma-docs/src/pages/design/radio.mdx
@@ -21,7 +21,7 @@ Radio buttons should have the most commonly used option selected by default.
@@ -34,7 +34,7 @@ Radio buttons should have the most commonly used option selected by default.
Correct
@@ -48,7 +48,7 @@ Radio buttons should have the most commonly used option selected by default.
Incorrect
@@ -63,7 +63,7 @@ Radio buttons should have the most commonly used option selected by default.
-
+
Radio buttons - only one option can be selected at a time.
@@ -76,7 +76,7 @@ Radio buttons can be off or on. Radio buttons have enabled, focused and pressed
-
+
Radio states
@@ -89,7 +89,7 @@ Use the inverse version when using the radio buttons on a dark background.
-
+
Inverse colors
diff --git a/website/react-magma-docs/src/pages/design/search.mdx b/website/react-magma-docs/src/pages/design/search.mdx
index 28324a6fb6..40dcc7ae85 100644
--- a/website/react-magma-docs/src/pages/design/search.mdx
+++ b/website/react-magma-docs/src/pages/design/search.mdx
@@ -29,12 +29,12 @@ Set the user’s context for the search with helpful placeholder text within the
diff --git a/website/react-magma-docs/src/pages/design/stepper.mdx b/website/react-magma-docs/src/pages/design/stepper.mdx
index 3e5c15b6fb..fe71feeb97 100644
--- a/website/react-magma-docs/src/pages/design/stepper.mdx
+++ b/website/react-magma-docs/src/pages/design/stepper.mdx
@@ -18,7 +18,7 @@ import { LeadParagraph } from '../../components/LeadParagraph';
Steppers aid in guiding a user's expectations while navigating through a multistep process. They indicate the current step, the total number of steps, and the overall progress towards task completion.
-
+
### When to use
@@ -43,7 +43,7 @@ Steppers aid in guiding a user's expectations while navigating through a multist
-
+
@@ -65,7 +65,7 @@ Steppers aid in guiding a user's expectations while navigating through a multist
The default placement of the labels is under each status indicator on the line. This layout benefits from short labels, especially as the number of steps increases.
-
+
#### No Labels
@@ -73,7 +73,7 @@ The default placement of the labels is under each status indicator on the line.
If the nature of the labels would simply be too much text to reasonably fit, then it is acceptable to hide the labels on the stepper component. However, this means having clear titles within the content of the step itself is extremely important. It can be helpful to change to this layout on small screens.
-
+
#### Summary View
@@ -81,7 +81,7 @@ If the nature of the labels would simply be too much text to reasonably fit, the
The step summary layout shows the primary and secondary labels, but only for the step you are currently on. It also tells you what number step you are on, and how many steps there are in total. This layout can be a nice middle-point between showing all labels and not showing labels at all, and you can use it on large or small screens.
-
+
### Placement
@@ -89,15 +89,15 @@ The step summary layout shows the primary and secondary labels, but only for the
The stepper component can be placed on a full page, in a modal, or in a side panel.
-
+
-
+
-
+
---
@@ -114,7 +114,7 @@ The label should succinctly convey the user's objectives for each step in one or
-
+
@@ -130,7 +130,7 @@ Secondary labels are optional and should be used if some additional description
-
+
@@ -148,7 +148,7 @@ When there isn’t enough space, the labels will wrap to as many lines as necess
-
+
@@ -172,7 +172,7 @@ A step is complete when a user has filled out the required information within a
-
+
@@ -188,7 +188,7 @@ A step is current when a user is interacting with the information within that st
-
+
@@ -204,7 +204,7 @@ A step is not started when a user has not yet interacted with that step. Steps t
-
+
@@ -220,7 +220,7 @@ A step may be in error when a user has entered invalid or incomplete information
-
+
@@ -235,7 +235,7 @@ Currently, the stepper is not interactive, providing only a visual update of the
A common example includes buttons labeled as “Next” and “Back”, and often ending with a button labeled “Finish.” But the labels themselves need to make sense for the process being completed, so there isn’t any mandated language to use. You can also choose to not include a “Back” button if you don’t want the user to go back to previous steps. Whatever you do, we suggest conducting usability tests to ensure you have created the best experience possible.
-
+
### Validation
@@ -245,7 +245,7 @@ When possible, use validation to confirm that a step has been completed before t
If the user cannot proceed due to a server-side issue, then an inline alert should appear.
-
+
### Responsive Behavior
@@ -258,7 +258,7 @@ If you don’t have very many steps and the labels are short, it is very possibl
-
+
@@ -268,7 +268,7 @@ Hiding the labels on small screens is acceptable, but only if you are using very
-
+
@@ -278,7 +278,7 @@ This may be the most common format for small screens or zooming in. You only dis
-
+
diff --git a/website/react-magma-docs/src/pages/design/table.mdx b/website/react-magma-docs/src/pages/design/table.mdx
index 9f08602d4b..8d944b9bde 100644
--- a/website/react-magma-docs/src/pages/design/table.mdx
+++ b/website/react-magma-docs/src/pages/design/table.mdx
@@ -42,7 +42,7 @@ Tables display information in a grid-like format of rows and columns. They organ
## Anatomy
-
+
1. Table title
@@ -56,7 +56,7 @@ Tables display information in a grid-like format of rows and columns. They organ
Tables come in three different sizes or densities: compact, normal, and loose. This is applied to the entire table and not just a specific row or cell.
-
+
### Compact Density
@@ -64,7 +64,7 @@ Tables come in three different sizes or densities: compact, normal, and loose. T
The compact density can be useful for tables with a relatively large number of columns and rows by allowing you to simply fit more on the screen at once.
-
+
### Normal Density
@@ -72,7 +72,7 @@ The compact density can be useful for tables with a relatively large number of c
The default padding of tables is optimized for a nice balance between compact and loose densities.
-
+
### Loose Density
@@ -80,7 +80,7 @@ The default padding of tables is optimized for a nice balance between compact an
The loose density can be useful if you have a relatively small amount of data and if the user would benefit from the table having more white-space within it.
-
+
---
@@ -96,12 +96,12 @@ The loose density can be useful if you have a relatively small amount of data an
@@ -113,13 +113,13 @@ The loose density can be useful if you have a relatively small amount of data an
- In cases where a column title is too long, the text will wrap to two lines.
-
+