diff --git a/package.json b/package.json index bc69065691b..2f1d2c66886 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "react-dom": "^17.0.2", "react-live": "^3.1.0", "use-media": "^1.4.0", - "webpack": "^5.59.0" + "webpack": "^5.76.0" }, "devDependencies": { "@loadable/babel-plugin": "^5.12.0", @@ -114,6 +114,7 @@ ] }, "resolutions": { - "webpack": "^5.59.0" + "webpack": "^5.59.0", + "@carbon/react": "1.23.0" } } diff --git a/src/components/TypesetStyle/TypesetExample.js b/src/components/TypesetStyle/TypesetExample.js index 0a75615d437..abff9982c65 100644 --- a/src/components/TypesetStyle/TypesetExample.js +++ b/src/components/TypesetStyle/TypesetExample.js @@ -5,7 +5,7 @@ import { baseFontSize, breakpoints as carbonBreakpoints, } from '@carbon/elements'; -import { CodeSnippet } from '@carbon/react'; +import { CodeSnippet, Layer } from '@carbon/react'; const breakpoints = { sm: Number(carbonBreakpoints.sm.width.replace('rem', '')) * baseFontSize, @@ -112,10 +112,10 @@ const TypesetExample = (props) => ( warning: currentBreakpointSpecs.warning, }; - const versionClassName = type.version ? `bx--type-${type.version}` : ''; + const versionClassName = type.version ? `cds--type-${type.version}` : ''; const versionClassNames = classnames( - `bx--type-${type.key}`, + `cds--type-${type.key}`, versionClassName ); @@ -132,39 +132,41 @@ const TypesetExample = (props) => (
- - {type.name} -
- Type: {displaySpecs.font} -
- Size: {displaySpecs.fontSize} -
- Line height: {displaySpecs.lineHeight} -
- Weight:{' '} - - {displaySpecs.fontWeight} - -
- Letter spacing: {displaySpecs.letterSpacing}px -
- Type set: {displaySpecs.typeSet} - {displaySpecs.warning != null ? ( - -
- warning: - {displaySpecs.warning} -
+ + + {type.name} +
+ Type: {displaySpecs.font} +
+ Size: {displaySpecs.fontSize} +
+ Line height: {displaySpecs.lineHeight} +
+ Weight:{' '} + + {displaySpecs.fontWeight} - ) : (
- )} -
- - ${type.name.split(' ')[0]} - -
-
+ Letter spacing: {displaySpecs.letterSpacing}px +
+ Type set: {displaySpecs.typeSet} + {displaySpecs.warning != null ? ( + +
+ warning: + {displaySpecs.warning} +
+
+ ) : ( +
+ )} +
+ + ${type.name.split(' ')[0]} + +
+
+
diff --git a/src/data/docgen/react-docgen.json b/src/data/docgen/react-docgen.json index f6b81c364d8..5ccf8707d3a 100644 --- a/src/data/docgen/react-docgen.json +++ b/src/data/docgen/react-docgen.json @@ -904,6 +904,46 @@ } } }, + "ContainedList": { + "description": "", + "displayName": "ContainedList", + "props": { + "kind": { + "defaultValue": { + "value": "'on-page'", + "computed": false + }, + "type": { + "name": "enum", + "value": [ + { "value": "'on-page'", "computed": false }, + { "value": "'disclosed'", "computed": false } + ] + }, + "required": false, + "description": "The kind of ContainedList you want to display." + }, + "size": { + "defaultValue": { "value": "'lg'", "computed": false }, + "type": { + "name": "enum", + "value": [ + { "value": "'sm'", "computed": false }, + { "value": "'md'", "computed": false }, + { "value": "'lg'", "computed": false }, + { "value": "'xl'", "computed": false } + ] + }, + "required": false, + "description": "Specify the size of the ContainedList." + }, + "isInset": { + "type": { "name": "bool" }, + "required": false, + "description": "Specify whether the dividing lines in between list items should be inset." + } + } + }, "ContentSwitcher": { "description": "", "displayName": "ContentSwitcher", diff --git a/src/data/guidelines/color-tokens.js b/src/data/guidelines/color-tokens.js index 39a3756af65..6e8aabbeb22 100644 --- a/src/data/guidelines/color-tokens.js +++ b/src/data/guidelines/color-tokens.js @@ -881,8 +881,8 @@ const colorTokens = { hex: '#e0e0e0', }, g10: { - name: 'Gray 20', - hex: '#e0e0e0', + name: 'Gray 30', + hex: '#c6c6c6', }, g90: { name: 'Gray 70', @@ -898,8 +898,8 @@ const colorTokens = { role: ['Subtle borders paired with $layer-01'], value: { white: { - name: 'Gray 20', - hex: '#e0e0e0', + name: 'Gray 30', + hex: '#c6c6c6', }, g10: { name: 'Gray 20', @@ -923,8 +923,8 @@ const colorTokens = { hex: '#e0e0e0', }, g10: { - name: 'Gray 20', - hex: '#e0e0e0', + name: 'Gray 30', + hex: '#c6c6c6', }, g90: { name: 'Gray 60', @@ -940,8 +940,8 @@ const colorTokens = { role: ['Subtle borders paired with $layer-03'], value: { white: { - name: 'Gray 20', - hex: '#e0e0e0', + name: 'Gray 30', + hex: '#c6c6c6', }, g10: { name: 'Gray 20', @@ -1095,6 +1095,69 @@ const colorTokens = { }, }, }, + '$border-tile-01': { + role: ['Operable tile indicator paired with $layer-01'], + value: { + white: { + name: 'Gray 30', + hex: '#c6c6c6', + }, + g10: { + name: 'Gray 40', + hex: '#a8a8a8', + }, + g90: { + name: 'Gray 60', + hex: '#6f6f6f', + }, + g100: { + name: 'Gray 70', + hex: '#525252', + }, + }, + }, + '$border-tile-02': { + role: ['Operable tile indicator paired with $layer-02'], + value: { + white: { + name: 'Gray 40', + hex: '#a8a8a8', + }, + g10: { + name: 'Gray 30', + hex: '#c6c6c6', + }, + g90: { + name: 'Gray 50', + hex: '#8d8d8d', + }, + g100: { + name: 'Gray 60', + hex: '#6f6f6f', + }, + }, + }, + '$border-tile-03': { + role: ['Operable tile indicator paired with $layer-03'], + value: { + white: { + name: 'Gray 30', + hex: '#c6c6c6', + }, + g10: { + name: 'Gray 40', + hex: '#a8a8a8', + }, + g90: { + name: 'Gray 40', + hex: '#a8a8a8', + }, + g100: { + name: 'Gray 50', + hex: '#8d8d8d', + }, + }, + }, '$border-inverse': { role: ['High contrast border', '4.5:1 AA non-text contrast'], value: { @@ -1526,6 +1589,27 @@ const colorTokens = { }, }, }, + '$icon-interactive': { + role: ['Icons that indicate operability'], + value: { + white: { + name: 'Blue 60', + hex: '#0f62fe', + }, + g10: { + name: 'Blue 60', + hex: '#0f62fe', + }, + g90: { + name: 'White', + hex: '#ffffff', + }, + g100: { + name: 'White', + hex: '#ffffff', + }, + }, + }, '$icon-inverse': { role: ['Inverse icon color'], value: { diff --git a/src/pages/components/UI-shell-header/usage.mdx b/src/pages/components/UI-shell-header/usage.mdx index ca47187ed76..72b0f33b153 100644 --- a/src/pages/components/UI-shell-header/usage.mdx +++ b/src/pages/components/UI-shell-header/usage.mdx @@ -77,7 +77,7 @@ independently, but the components were designed to work together. src="https://codesandbox.io/embed/header-with-actions-and-nav-m0lo2?fontsize=14&hidenavigation=1&view=preview" title="header-with-actions-and-nav" allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media" - sstyle={{ + style={{ width: '100%', height: '500px', border: '0', diff --git a/src/pages/components/accordion/code.mdx b/src/pages/components/accordion/code.mdx index b3a6959169d..d37bae103da 100755 --- a/src/pages/components/accordion/code.mdx +++ b/src/pages/components/accordion/code.mdx @@ -20,7 +20,7 @@ usage documentation, see the Storybooks for each framework below. diff --git a/src/pages/components/checkbox/images/checkbox-style-1.png b/src/pages/components/checkbox/images/checkbox-style-1.png index 7485b999a96..bddb1f6a8d7 100644 Binary files a/src/pages/components/checkbox/images/checkbox-style-1.png and b/src/pages/components/checkbox/images/checkbox-style-1.png differ diff --git a/src/pages/components/checkbox/images/checkbox-style-2.png b/src/pages/components/checkbox/images/checkbox-style-2.png index d2d0b66a7c8..2f7bd05f1b1 100644 Binary files a/src/pages/components/checkbox/images/checkbox-style-2.png and b/src/pages/components/checkbox/images/checkbox-style-2.png differ diff --git a/src/pages/components/checkbox/images/checkbox-usage-8.png b/src/pages/components/checkbox/images/checkbox-usage-8.png index dcbfc81b1bc..97b939cb83a 100644 Binary files a/src/pages/components/checkbox/images/checkbox-usage-8.png and b/src/pages/components/checkbox/images/checkbox-usage-8.png differ diff --git a/src/pages/components/checkbox/style.mdx b/src/pages/components/checkbox/style.mdx index b19447b45b9..4bb1d262c33 100755 --- a/src/pages/components/checkbox/style.mdx +++ b/src/pages/components/checkbox/style.mdx @@ -16,6 +16,7 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] | | background-color | transparent | | Checkbox:checked | background-color | `$icon-primary` | | | checkmark | `$icon-inverse` | +| Helper text | text color | `$text-secondary` | @@ -27,15 +28,27 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] ### Interactive states -| Element | Property | Color token | -| ----------------- | ---------- | ---------------- | -| Checkbox:focus | border | `$focus` | -| Label:disabled | text color | `$text-disabled` | -| Checkbox:disabled | border | `$icon-disabled` | -| | background | `$icon-disabled` | +| State | Element | Property | Color token | +| --------- | --------------- | ---------- | ------------------ | +| Focus | Checkbox | border | `$focus` | +| Disabled | Label | text color | `$text-disabled` | +| | Checkbox | border | `$icon-disabled` | +| | | background | `$icon-disabled` | +| Read-only | Label | text color | `$text-primary` | +| | Checkbox | border | `$icon-disabled` | +| | | inner fill | `$icon-primary` | +| Error | Label | text color | `$text-primary` | +| | Checkbox | border | `$support-error` | +| | Error message | text color | `$text-error` | +| | Error icon | svg | `$support-error` | +| Warning | Label | text color | `$text-primary` | +| | Checkbox | border | `$icon-primary` | +| | Warning message | text color | `$text-primary` | +| | Warning icon | svg | `$support-warning` | +| | | inner fill | `$black` | - + ![Checkbox interactive states](images/checkbox-style-2.png) @@ -48,10 +61,13 @@ Checkbox labels and group labels should be sentence case, with only the first word in a phrase and any proper nouns capitalized. Checkbox labels and group labels should not exceed three words. -| Element | Font-size (px/rem) | Font-weight | Type token | -| -------------- | ------------------ | ------------- | ------------------ | -| Group label | 12 / 0.75 | Regular / 400 | `$label-01` | -| Checkbox label | 14 / 0.875 | Regular / 400 | `$body-compact-01` | +| Element | Font-size (px/rem) | Font-weight | Type token | +| --------------- | ------------------ | ------------- | ------------------ | +| Group label | 12 / 0.75 | Regular / 400 | `$label-01` | +| Checkbox label | 14 / 0.875 | Regular / 400 | `$body-compact-01` | +| Helper text | 12 / 0.75 | Regular / 400 | `$helper-text-01` | +| Error message | 12 / 0.75 | Regular / 400 | `$label-01` | +| Warning message | 12 / 0.75 | Regular / 400 | `$label-01` | ## Structure diff --git a/src/pages/components/checkbox/usage.mdx b/src/pages/components/checkbox/usage.mdx index 2b509cf8748..9f572880506 100755 --- a/src/pages/components/checkbox/usage.mdx +++ b/src/pages/components/checkbox/usage.mdx @@ -261,20 +261,36 @@ option selected. -![Unselected, selected and indeterminate states of checkbox.](images/checkbox-usage-7.png) +![Unselected, selected, and indeterminate states of checkbox.](images/checkbox-usage-7.png) Use the indeterminate state when the checkbox contains a sublist of selections, some of which are selected, and some unselected. In addition to unselected, -selected, and indeterminate states, checkboxes also have states for focus and -disabled. +selected, and indeterminate states, checkboxes also have states for focus, +disabled, read-only, error, and warning. When deciding whether to use a disabled +or read-only state for checkboxes, see our +[Read-only states pattern](https://carbondesignsystem.com/patterns/read-only-states-pattern/) +guidance. - + + +![Focus, disabled, read-only, error, and warning states of checkbox](images/checkbox-style-2.png) + + + + +#### Group states + +Checkbox groups can receive the following states: read-only, disabled, error, +and warning, as well as the addition of helper text. + + + -![Focus and disabled states of checkbox.](images/checkbox-usage-8.png) +![Enabled, disabled, read-only, error, warning and helper text states for checkbox group](images/checkbox-usage-8.png) diff --git a/src/pages/components/contained-list/ComponentDemo.js b/src/pages/components/contained-list/ComponentDemo.js new file mode 100644 index 00000000000..eaf85815fe6 --- /dev/null +++ b/src/pages/components/contained-list/ComponentDemo.js @@ -0,0 +1,41 @@ +import React from 'react'; +import ComponentDemo from '../../../components/ComponentDemo'; +import ComponentVariant from '../../../components/ComponentDemo/ComponentVariant'; + +const components = [ + { + id: 'contained-list', + label: 'ContainedList', + }, +]; + + +const knobs = { + ContainedList: ['kind', 'size', 'isInset'], +}; + +const links = { + React: + 'https://react.carbondesignsystem.com/?path=/story/components-containedlist--default', +}; + +function ContainedListComponentDemo() { + return ( + + + {` +
+ + List item + List item + List item + List item + +
+ `} +
+
+ ); +} + +export default ContainedListComponentDemo; diff --git a/src/pages/components/contained-list/code.mdx b/src/pages/components/contained-list/code.mdx index a3a5baaa1a7..7c60ab339a7 100644 --- a/src/pages/components/contained-list/code.mdx +++ b/src/pages/components/contained-list/code.mdx @@ -6,6 +6,8 @@ description: tabs: ['Usage', 'Style', 'Code', 'Accessibility'] --- +import ContainedListComponentDemo from './ComponentDemo'; + Preview the contained list component with the React live demo. For detailed code @@ -15,18 +17,19 @@ usage documentation, see the Storybooks for each framework below. ## Documentation - + + + -**Coming soon:** The storybook code for contained list is underdevelopment and -will be available soon. + - +
+
+ ## Live demo - - -**Coming soon:** The live demo for contained list is underdevelopment and will -be available soon. - - + diff --git a/src/pages/components/contained-list/usage.mdx b/src/pages/components/contained-list/usage.mdx index 8869fea0eb1..d98885bca48 100644 --- a/src/pages/components/contained-list/usage.mdx +++ b/src/pages/components/contained-list/usage.mdx @@ -6,6 +6,8 @@ description: tabs: ['Usage', 'Style', 'Code', 'Accessibility'] --- +import ContainedListComponentDemo from './ComponentDemo'; + Contained lists group content that is similar or related and can contain @@ -69,12 +71,7 @@ actions and interactive elements. ## Live demo - - -**Coming soon:** The live demo for contained list is underdevelopment and will -be available soon. - - + ## Formatting diff --git a/src/pages/components/date-picker/images/date-picker-alignment-01.png b/src/pages/components/date-picker/images/date-picker-alignment-01.png index e535a7caa17..bbe14bae2c5 100644 Binary files a/src/pages/components/date-picker/images/date-picker-alignment-01.png and b/src/pages/components/date-picker/images/date-picker-alignment-01.png differ diff --git a/src/pages/components/date-picker/images/date-picker-anatomy-fluid.png b/src/pages/components/date-picker/images/date-picker-anatomy-fluid.png index d3944708ac7..cf0f8e11e0e 100644 Binary files a/src/pages/components/date-picker/images/date-picker-anatomy-fluid.png and b/src/pages/components/date-picker/images/date-picker-anatomy-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-anatomy.png b/src/pages/components/date-picker/images/date-picker-anatomy.png index f5c60c2f1c4..1df1a9daf58 100644 Binary files a/src/pages/components/date-picker/images/date-picker-anatomy.png and b/src/pages/components/date-picker/images/date-picker-anatomy.png differ diff --git a/src/pages/components/date-picker/images/date-picker-formatting-styling.png b/src/pages/components/date-picker/images/date-picker-formatting-styling.png index b9937a7c81c..9c5ce43d892 100644 Binary files a/src/pages/components/date-picker/images/date-picker-formatting-styling.png and b/src/pages/components/date-picker/images/date-picker-formatting-styling.png differ diff --git a/src/pages/components/date-picker/images/date-picker-sizes-fluid.png b/src/pages/components/date-picker/images/date-picker-sizes-fluid.png index 98beb11c954..cd27d014d19 100644 Binary files a/src/pages/components/date-picker/images/date-picker-sizes-fluid.png and b/src/pages/components/date-picker/images/date-picker-sizes-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-1.png b/src/pages/components/date-picker/images/date-picker-style-1.png index 09cf6257769..221d92d7fba 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-1.png and b/src/pages/components/date-picker/images/date-picker-style-1.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-4-fluid.png b/src/pages/components/date-picker/images/date-picker-style-4-fluid.png index 90f9751396f..8d3d3711dd1 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-4-fluid.png and b/src/pages/components/date-picker/images/date-picker-style-4-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-4.png b/src/pages/components/date-picker/images/date-picker-style-4.png index f19b0cbcd43..8ba350ee3b4 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-4.png and b/src/pages/components/date-picker/images/date-picker-style-4.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-6-fluid.png b/src/pages/components/date-picker/images/date-picker-style-6-fluid.png index e1fe52a4fee..ee2c460df8b 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-6-fluid.png and b/src/pages/components/date-picker/images/date-picker-style-6-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-7-fluid.png b/src/pages/components/date-picker/images/date-picker-style-7-fluid.png index 9f3ad428f72..e84fab525f4 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-7-fluid.png and b/src/pages/components/date-picker/images/date-picker-style-7-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-style-7.png b/src/pages/components/date-picker/images/date-picker-style-7.png index 0de6f1e7b31..114f075126a 100644 Binary files a/src/pages/components/date-picker/images/date-picker-style-7.png and b/src/pages/components/date-picker/images/date-picker-style-7.png differ diff --git a/src/pages/components/date-picker/images/date-picker-usage-states-fluid.png b/src/pages/components/date-picker/images/date-picker-usage-states-fluid.png index b829c147238..33902203b79 100644 Binary files a/src/pages/components/date-picker/images/date-picker-usage-states-fluid.png and b/src/pages/components/date-picker/images/date-picker-usage-states-fluid.png differ diff --git a/src/pages/components/date-picker/images/date-picker-usage-states.png b/src/pages/components/date-picker/images/date-picker-usage-states.png index cfba5bc4498..f25098e7cd0 100644 Binary files a/src/pages/components/date-picker/images/date-picker-usage-states.png and b/src/pages/components/date-picker/images/date-picker-usage-states.png differ diff --git a/src/pages/components/date-picker/images/time-picker-anatomy-fluid.png b/src/pages/components/date-picker/images/time-picker-anatomy-fluid.png index 181b61c22c3..9fc69202308 100644 Binary files a/src/pages/components/date-picker/images/time-picker-anatomy-fluid.png and b/src/pages/components/date-picker/images/time-picker-anatomy-fluid.png differ diff --git a/src/pages/components/date-picker/images/time-picker-anatomy.png b/src/pages/components/date-picker/images/time-picker-anatomy.png index 1e0aff8842c..5a066a19d3c 100644 Binary files a/src/pages/components/date-picker/images/time-picker-anatomy.png and b/src/pages/components/date-picker/images/time-picker-anatomy.png differ diff --git a/src/pages/components/date-picker/images/time-picker-style-1-fluid-a.png b/src/pages/components/date-picker/images/time-picker-style-1-fluid-a.png index e1127e3ea3e..8d6f9b6aba5 100644 Binary files a/src/pages/components/date-picker/images/time-picker-style-1-fluid-a.png and b/src/pages/components/date-picker/images/time-picker-style-1-fluid-a.png differ diff --git a/src/pages/components/date-picker/images/time-picker-style-1-fluid-b.png b/src/pages/components/date-picker/images/time-picker-style-1-fluid-b.png index d1e85a9ad85..ba0515f3101 100644 Binary files a/src/pages/components/date-picker/images/time-picker-style-1-fluid-b.png and b/src/pages/components/date-picker/images/time-picker-style-1-fluid-b.png differ diff --git a/src/pages/components/date-picker/images/time-picker-style-1.png b/src/pages/components/date-picker/images/time-picker-style-1.png index 0c7708c7784..1bf1e0243c3 100644 Binary files a/src/pages/components/date-picker/images/time-picker-style-1.png and b/src/pages/components/date-picker/images/time-picker-style-1.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-1.png b/src/pages/components/dropdown/images/dropdown-style-1.png index 551f15811e6..57cddb16053 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-1.png and b/src/pages/components/dropdown/images/dropdown-style-1.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-1b.png b/src/pages/components/dropdown/images/dropdown-style-1b.png index ba173149418..8f89945ce38 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-1b.png and b/src/pages/components/dropdown/images/dropdown-style-1b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-2.png b/src/pages/components/dropdown/images/dropdown-style-2.png index 41af7cba4e7..d39ccaf4ff1 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-2.png and b/src/pages/components/dropdown/images/dropdown-style-2.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-2b.png b/src/pages/components/dropdown/images/dropdown-style-2b.png index ab47cf4b04f..f2ed0a8b67b 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-2b.png and b/src/pages/components/dropdown/images/dropdown-style-2b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-3.png b/src/pages/components/dropdown/images/dropdown-style-3.png index 24f3cb0030c..6c89ad46b50 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-3.png and b/src/pages/components/dropdown/images/dropdown-style-3.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-3b.png b/src/pages/components/dropdown/images/dropdown-style-3b.png index 0e665aff0d3..2ba1518a63d 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-3b.png and b/src/pages/components/dropdown/images/dropdown-style-3b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-5.png b/src/pages/components/dropdown/images/dropdown-style-5.png index a7b6b8434a4..bc46e612ef5 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-5.png and b/src/pages/components/dropdown/images/dropdown-style-5.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-5b.png b/src/pages/components/dropdown/images/dropdown-style-5b.png index b60c652958e..0c3856fffc9 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-5b.png and b/src/pages/components/dropdown/images/dropdown-style-5b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-size-fixed.png b/src/pages/components/dropdown/images/dropdown-style-size-fixed.png index 69f31fc46cb..8392d2d39a4 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-size-fixed.png and b/src/pages/components/dropdown/images/dropdown-style-size-fixed.png differ diff --git a/src/pages/components/dropdown/images/dropdown-style-size-fluid.png b/src/pages/components/dropdown/images/dropdown-style-size-fluid.png index cf1b38e1e2e..98f01ed1a6b 100644 Binary files a/src/pages/components/dropdown/images/dropdown-style-size-fluid.png and b/src/pages/components/dropdown/images/dropdown-style-size-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-1-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-1-fluid.png index cb3d63a6e8c..93fe3d20535 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-1-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-1-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-1.png b/src/pages/components/dropdown/images/dropdown-usage-1.png index 279545445b6..4ddaaf95411 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-1.png and b/src/pages/components/dropdown/images/dropdown-usage-1.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10a-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-10a-fluid.png index 9c7c2c40370..6ea87cecc3b 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10a-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-10a-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10a.png b/src/pages/components/dropdown/images/dropdown-usage-10a.png index 92f8f2bb661..e9fa28f41d5 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10a.png and b/src/pages/components/dropdown/images/dropdown-usage-10a.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10b-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-10b-fluid.png index b36ed18e380..8ccca68cf58 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10b-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-10b-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10b.png b/src/pages/components/dropdown/images/dropdown-usage-10b.png index 044bdfdf1e2..c1a8f94661c 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10b.png and b/src/pages/components/dropdown/images/dropdown-usage-10b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10d-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-10d-fluid.png index 2e9a65a609a..b7991cd74ed 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10d-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-10d-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10d.png b/src/pages/components/dropdown/images/dropdown-usage-10d.png index 7c54ae28cb2..e6189fe9e96 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10d.png and b/src/pages/components/dropdown/images/dropdown-usage-10d.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10e.png b/src/pages/components/dropdown/images/dropdown-usage-10e.png index 537c4c89447..3e36cdbdd5a 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10e.png and b/src/pages/components/dropdown/images/dropdown-usage-10e.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10f-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-10f-fluid.png index c8b466aa726..2c097a5990d 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10f-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-10f-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-10f.png b/src/pages/components/dropdown/images/dropdown-usage-10f.png index aa8d791706a..8963d8b64ae 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-10f.png and b/src/pages/components/dropdown/images/dropdown-usage-10f.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-11c-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-11c-fluid.png index e0de1168b26..612663a4d14 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-11c-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-11c-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-11c.png b/src/pages/components/dropdown/images/dropdown-usage-11c.png index 75b46f1bc99..4073079c2e7 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-11c.png and b/src/pages/components/dropdown/images/dropdown-usage-11c.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-3-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-3-fluid.png index 8feb53349a6..ce608aecf12 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-3-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-3-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-4-do-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-4-do-fluid.png index 73b9f1c8c79..7f159326a8a 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-4-do-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-4-do-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-4-do.png b/src/pages/components/dropdown/images/dropdown-usage-4-do.png index fec753373c1..411afcc11d9 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-4-do.png and b/src/pages/components/dropdown/images/dropdown-usage-4-do.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-4-dont-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-4-dont-fluid.png index 01cfdb7ef5e..aec1bc4769b 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-4-dont-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-4-dont-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-4-dont.png b/src/pages/components/dropdown/images/dropdown-usage-4-dont.png index 61ef2d77937..a70abbb6c71 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-4-dont.png and b/src/pages/components/dropdown/images/dropdown-usage-4-dont.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-7a.png b/src/pages/components/dropdown/images/dropdown-usage-7a.png index 654fde6c396..b065e070957 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-7a.png and b/src/pages/components/dropdown/images/dropdown-usage-7a.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-8a-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-8a-fluid.png index 0f7961eed28..a924f7ecab2 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-8a-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-8a-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-8a.png b/src/pages/components/dropdown/images/dropdown-usage-8a.png index 8f078ff1d15..541221ef5b1 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-8a.png and b/src/pages/components/dropdown/images/dropdown-usage-8a.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-8b-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-8b-fluid.png index 59ba28b8fad..40fa8574b93 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-8b-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-8b-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-8b.png b/src/pages/components/dropdown/images/dropdown-usage-8b.png index 49e0fbc3541..d42c7adb5dd 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-8b.png and b/src/pages/components/dropdown/images/dropdown-usage-8b.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-9a-fluid.png b/src/pages/components/dropdown/images/dropdown-usage-9a-fluid.png index 69dd6a8b699..d3801b5b7d1 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-9a-fluid.png and b/src/pages/components/dropdown/images/dropdown-usage-9a-fluid.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-9a.png b/src/pages/components/dropdown/images/dropdown-usage-9a.png index bb52a96620e..9d815905165 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-9a.png and b/src/pages/components/dropdown/images/dropdown-usage-9a.png differ diff --git a/src/pages/components/dropdown/images/dropdown-usage-formatting-1.png b/src/pages/components/dropdown/images/dropdown-usage-formatting-1.png index 27690ac3dc6..2585ce3fa50 100644 Binary files a/src/pages/components/dropdown/images/dropdown-usage-formatting-1.png and b/src/pages/components/dropdown/images/dropdown-usage-formatting-1.png differ diff --git a/src/pages/components/form/images/form-style-1.png b/src/pages/components/form/images/form-style-1.png index 4e5eadbbee7..263ccc5e4a7 100644 Binary files a/src/pages/components/form/images/form-style-1.png and b/src/pages/components/form/images/form-style-1.png differ diff --git a/src/pages/components/form/images/form-style-4.png b/src/pages/components/form/images/form-style-4.png index 081ac4d5bf7..f16e59da70b 100644 Binary files a/src/pages/components/form/images/form-style-4.png and b/src/pages/components/form/images/form-style-4.png differ diff --git a/src/pages/components/form/images/form-usage-1-fluid.png b/src/pages/components/form/images/form-usage-1-fluid.png index 4c1cdb27432..88e3ed0ee7a 100644 Binary files a/src/pages/components/form/images/form-usage-1-fluid.png and b/src/pages/components/form/images/form-usage-1-fluid.png differ diff --git a/src/pages/components/form/images/form-usage-1.png b/src/pages/components/form/images/form-usage-1.png index e3a92071404..67c212074e7 100644 Binary files a/src/pages/components/form/images/form-usage-1.png and b/src/pages/components/form/images/form-usage-1.png differ diff --git a/src/pages/components/form/images/form-usage-2.png b/src/pages/components/form/images/form-usage-2.png index c1bcd1d7caa..e89004a749f 100644 Binary files a/src/pages/components/form/images/form-usage-2.png and b/src/pages/components/form/images/form-usage-2.png differ diff --git a/src/pages/components/form/images/form-usage-3-do.png b/src/pages/components/form/images/form-usage-3-do.png index 9d776c2f655..0329514c881 100644 Binary files a/src/pages/components/form/images/form-usage-3-do.png and b/src/pages/components/form/images/form-usage-3-do.png differ diff --git a/src/pages/components/form/images/form-usage-3-dont.png b/src/pages/components/form/images/form-usage-3-dont.png index 114cea29313..cc9b20fa2af 100644 Binary files a/src/pages/components/form/images/form-usage-3-dont.png and b/src/pages/components/form/images/form-usage-3-dont.png differ diff --git a/src/pages/components/form/images/form-usage-4-do.png b/src/pages/components/form/images/form-usage-4-do.png index 0f156f6e7c6..8f36a0ac238 100644 Binary files a/src/pages/components/form/images/form-usage-4-do.png and b/src/pages/components/form/images/form-usage-4-do.png differ diff --git a/src/pages/components/form/images/form-usage-4-dont.png b/src/pages/components/form/images/form-usage-4-dont.png index cbd8fb46b7c..cba18917f84 100644 Binary files a/src/pages/components/form/images/form-usage-4-dont.png and b/src/pages/components/form/images/form-usage-4-dont.png differ diff --git a/src/pages/components/form/images/form-usage-5.png b/src/pages/components/form/images/form-usage-5.png index 696f170bc47..6a3ded05343 100644 Binary files a/src/pages/components/form/images/form-usage-5.png and b/src/pages/components/form/images/form-usage-5.png differ diff --git a/src/pages/components/form/images/form-usage-5b.png b/src/pages/components/form/images/form-usage-5b.png index 8a0a4ab022a..aec1e4d65e5 100644 Binary files a/src/pages/components/form/images/form-usage-5b.png and b/src/pages/components/form/images/form-usage-5b.png differ diff --git a/src/pages/components/form/images/form-usage-6.png b/src/pages/components/form/images/form-usage-6.png index 7d0779c8db1..1e13fe7140a 100644 Binary files a/src/pages/components/form/images/form-usage-6.png and b/src/pages/components/form/images/form-usage-6.png differ diff --git a/src/pages/components/form/images/form-usage-7.png b/src/pages/components/form/images/form-usage-7.png index ef08bc75e88..f635eb71859 100644 Binary files a/src/pages/components/form/images/form-usage-7.png and b/src/pages/components/form/images/form-usage-7.png differ diff --git a/src/pages/components/form/images/form-usage-8.png b/src/pages/components/form/images/form-usage-8.png index d8efaa49a59..bdd265a65ae 100644 Binary files a/src/pages/components/form/images/form-usage-8.png and b/src/pages/components/form/images/form-usage-8.png differ diff --git a/src/pages/components/form/images/form-usage-optional.png b/src/pages/components/form/images/form-usage-optional.png index 76253041806..c7b435b6c6d 100644 Binary files a/src/pages/components/form/images/form-usage-optional.png and b/src/pages/components/form/images/form-usage-optional.png differ diff --git a/src/pages/components/form/images/form-usage-required.png b/src/pages/components/form/images/form-usage-required.png index 64aac910e0d..5d5e4896d9a 100644 Binary files a/src/pages/components/form/images/form-usage-required.png and b/src/pages/components/form/images/form-usage-required.png differ diff --git a/src/pages/components/form/images/form-usage-states-fixed.png b/src/pages/components/form/images/form-usage-states-fixed.png index 18834314a8b..b3ede3a1a98 100644 Binary files a/src/pages/components/form/images/form-usage-states-fixed.png and b/src/pages/components/form/images/form-usage-states-fixed.png differ diff --git a/src/pages/components/form/images/form-usage-states-fluid.png b/src/pages/components/form/images/form-usage-states-fluid.png index 5ea20720f3a..a57384aa3c6 100644 Binary files a/src/pages/components/form/images/form-usage-states-fluid.png and b/src/pages/components/form/images/form-usage-states-fluid.png differ diff --git a/src/pages/components/loading/images/loading-accessibility-1.png b/src/pages/components/loading/images/loading-accessibility-1.png index 4ea732e30c2..f831103c1f9 100644 Binary files a/src/pages/components/loading/images/loading-accessibility-1.png and b/src/pages/components/loading/images/loading-accessibility-1.png differ diff --git a/src/pages/components/loading/images/loading-accessibility-2.png b/src/pages/components/loading/images/loading-accessibility-2.png index d5b7f4084bc..7ab0a01657b 100644 Binary files a/src/pages/components/loading/images/loading-accessibility-2.png and b/src/pages/components/loading/images/loading-accessibility-2.png differ diff --git a/src/pages/components/loading/images/loading-accessibility-3.png b/src/pages/components/loading/images/loading-accessibility-3.png index 97313a1c209..4107203c55c 100644 Binary files a/src/pages/components/loading/images/loading-accessibility-3.png and b/src/pages/components/loading/images/loading-accessibility-3.png differ diff --git a/src/pages/components/notification/code.mdx b/src/pages/components/notification/code.mdx index 1123ae80aca..8f7596bc8b1 100755 --- a/src/pages/components/notification/code.mdx +++ b/src/pages/components/notification/code.mdx @@ -19,7 +19,7 @@ usage documentation, see the Storybooks for each framework below. @@ -79,7 +79,7 @@ usage documentation, see the Storybooks for each framework below. }} links={{ React: - 'https://react.carbondesignsystem.com/?path=/story/components-notifications--toast', + 'https://react.carbondesignsystem.com/?path=/story/components-notifications-toast--default', Angular: 'https://angular.carbondesignsystem.com/?path=/story/components-notification--toast', Vue: 'http://vue.carbondesignsystem.com/?path=/story/components-cvtoastnotification--default', @@ -106,7 +106,7 @@ usage documentation, see the Storybooks for each framework below. }} links={{ React: - 'https://react.carbondesignsystem.com/?path=/story/components-notifications--inline', + 'https://react.carbondesignsystem.com/?path=/story/components-notifications-inline--default', Angular: 'https://angular.carbondesignsystem.com/?path=/story/components-notification--basic', Vue: 'http://vue.carbondesignsystem.com/?path=/story/components-cvinlinenotification--default', diff --git a/src/pages/components/notification/usage.mdx b/src/pages/components/notification/usage.mdx index 66c15179f3f..3f9f7827f88 100755 --- a/src/pages/components/notification/usage.mdx +++ b/src/pages/components/notification/usage.mdx @@ -84,7 +84,7 @@ although some product teams also support banners and notification centers. }} links={{ React: - 'https://react.carbondesignsystem.com/?path=/story/components-notifications--toast', + 'https://react.carbondesignsystem.com/?path=/story/components-notifications-toast--default', Angular: 'https://angular.carbondesignsystem.com/?path=/story/components-notification--toast', Vue: 'http://vue.carbondesignsystem.com/?path=/story/components-cvtoastnotification--default', @@ -111,7 +111,7 @@ although some product teams also support banners and notification centers. }} links={{ React: - 'https://react.carbondesignsystem.com/?path=/story/components-notifications--inline', + 'https://react.carbondesignsystem.com/?path=/story/components-notifications-inline--default', Angular: 'https://angular.carbondesignsystem.com/?path=/story/components-notification--basic', Vue: 'http://vue.carbondesignsystem.com/?path=/story/components-cvinlinenotification--default', diff --git a/src/pages/components/number-input/images/number-input-accessibility-1.png b/src/pages/components/number-input/images/number-input-accessibility-1.png index ef6d88d2876..b4c3f43fe12 100644 Binary files a/src/pages/components/number-input/images/number-input-accessibility-1.png and b/src/pages/components/number-input/images/number-input-accessibility-1.png differ diff --git a/src/pages/components/number-input/images/number-input-accessibility-3.png b/src/pages/components/number-input/images/number-input-accessibility-3.png index 0a7d282ab34..35ffa64939a 100644 Binary files a/src/pages/components/number-input/images/number-input-accessibility-3.png and b/src/pages/components/number-input/images/number-input-accessibility-3.png differ diff --git a/src/pages/components/number-input/images/number-input-style-1-fluid.png b/src/pages/components/number-input/images/number-input-style-1-fluid.png index 0b54e89fab8..2c7da2b3a91 100644 Binary files a/src/pages/components/number-input/images/number-input-style-1-fluid.png and b/src/pages/components/number-input/images/number-input-style-1-fluid.png differ diff --git a/src/pages/components/number-input/images/number-input-style-1.png b/src/pages/components/number-input/images/number-input-style-1.png index aec4507033e..0f4af74efb7 100644 Binary files a/src/pages/components/number-input/images/number-input-style-1.png and b/src/pages/components/number-input/images/number-input-style-1.png differ diff --git a/src/pages/components/number-input/images/number-input-style-1b.png b/src/pages/components/number-input/images/number-input-style-1b.png index 4e2a81d95bf..f5fc73aa385 100644 Binary files a/src/pages/components/number-input/images/number-input-style-1b.png and b/src/pages/components/number-input/images/number-input-style-1b.png differ diff --git a/src/pages/components/number-input/images/number-input-style-2.png b/src/pages/components/number-input/images/number-input-style-2.png deleted file mode 100644 index a9f1ac010d1..00000000000 Binary files a/src/pages/components/number-input/images/number-input-style-2.png and /dev/null differ diff --git a/src/pages/components/number-input/images/number-input-style-3.png b/src/pages/components/number-input/images/number-input-style-3.png index dbe72e450ea..1c3deee3660 100644 Binary files a/src/pages/components/number-input/images/number-input-style-3.png and b/src/pages/components/number-input/images/number-input-style-3.png differ diff --git a/src/pages/components/number-input/images/number-input-style-size.png b/src/pages/components/number-input/images/number-input-style-size.png index 80fe4294c13..c2dd74c515f 100644 Binary files a/src/pages/components/number-input/images/number-input-style-size.png and b/src/pages/components/number-input/images/number-input-style-size.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-2-fluid.png b/src/pages/components/number-input/images/number-input-usage-2-fluid.png index 89a58aac4f8..072451a190d 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-2-fluid.png and b/src/pages/components/number-input/images/number-input-usage-2-fluid.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-3-fluid.png b/src/pages/components/number-input/images/number-input-usage-3-fluid.png index 6e97c8219c0..d413b0de2cb 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-3-fluid.png and b/src/pages/components/number-input/images/number-input-usage-3-fluid.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-6-fluid.png b/src/pages/components/number-input/images/number-input-usage-6-fluid.png index b00b3d6ad81..b1c11cc56fd 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-6-fluid.png and b/src/pages/components/number-input/images/number-input-usage-6-fluid.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-6.png b/src/pages/components/number-input/images/number-input-usage-6.png index d3b66eb2c39..efbadaac71c 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-6.png and b/src/pages/components/number-input/images/number-input-usage-6.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-7-fluid.png b/src/pages/components/number-input/images/number-input-usage-7-fluid.png index ca81c038181..50de1d3464e 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-7-fluid.png and b/src/pages/components/number-input/images/number-input-usage-7-fluid.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-7.png b/src/pages/components/number-input/images/number-input-usage-7.png index f98be0defe9..8b095e9a593 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-7.png and b/src/pages/components/number-input/images/number-input-usage-7.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-8.png b/src/pages/components/number-input/images/number-input-usage-8.png index a21989ad96f..02db098d061 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-8.png and b/src/pages/components/number-input/images/number-input-usage-8.png differ diff --git a/src/pages/components/number-input/images/number-input-usage-9.png b/src/pages/components/number-input/images/number-input-usage-9.png index b0614dc5b86..b33cea1756c 100644 Binary files a/src/pages/components/number-input/images/number-input-usage-9.png and b/src/pages/components/number-input/images/number-input-usage-9.png differ diff --git a/src/pages/components/number-input/style.mdx b/src/pages/components/number-input/style.mdx index 905c3f469a7..7b236e4da42 100755 --- a/src/pages/components/number-input/style.mdx +++ b/src/pages/components/number-input/style.mdx @@ -45,25 +45,31 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] ### Interactive states -| Element | Property | Color token | -| ----------------- | ----------------------- | ------------------- | -| Controls:hover | background-color | `field-hover` \* | -| Field:focus | border | `$focus` | -| Controls:focus | border | `$focus` | -| Field:invalid | border | `$support-error` | -| Error icon | svg | `$support-error` | -| Error message | text color | `$text-error` | -| Warning icon | svg | `support-warning` | -| Warning message | text color | `text-primary` | -| Label:disabled | text color | `$text-disabled` | -| Field:disabled | background-color | `$field` \* | -| | border-bottom (default) | transparent | -| | border-bottom (fluid) | `$border-subtle` \* | -| Number:disabled | text color | `$text-disabled` | -| Controls:disabled | svg color | `$icon-disabled` | +| State | Element | Property | Color token | +| --------- | --------------- | -------------------------- | ------------------- | +| Hover | Controls | background-color | `field-hover` \* | +| Focus | Field | border | `$focus` | +| | Controls | border | `$focus` | +| Invalid | Field | border | `$support-error` | +| | Error icon | svg | `$support-error` | +| | Error message | text color | `$text-error` | +| Warning | Warning icon | svg | `support-warning` | +| | Warning message | text color | `text-primary` | +| Disabled | Label | text color | `$text-disabled` | +| | Field | background-color | `$field` \* | +| | | border-bottom (default) | transparent | +| | | border-bottom (fluid) | `$border-subtle` \* | +| | Number | text color | `$text-disabled` | +| | Controls | svg color | `$icon-disabled` | +| Read-only | Field | background-color (default) | transparent | +| | | background-color (fluid) | `$field` \* | +| | | border-bottom | `$border-subtle` \* | +| | Number | text color (default) | `$text-primary` | +| | | text color (fluid) | `$text-secondary` | +| | Controls | svg color | `$icon-disabled` | - + diff --git a/src/pages/components/number-input/usage.mdx b/src/pages/components/number-input/usage.mdx index fd3b849df24..9500267b031 100755 --- a/src/pages/components/number-input/usage.mdx +++ b/src/pages/components/number-input/usage.mdx @@ -264,21 +264,22 @@ Label, numeric value, and helper text should be short and not exceed two lines. ### States The number input has a series of states for both field and controls elements: -**enabled**, **hover**, **focus**, **error**, **warning**, and **disabled**. - -| State | When to use | -| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| _Enabled_ | When the number input is live but a user is not directly interacting with it. This is commonly referred to as the default or normal state of the component. An enabled number input field should contain a default value. | -| _Hover_ | When a user's mouse cursor is hovering over the field or the button controls. | -| _Focus_ | When a user tabs to or clicks on the number input, the field or controls become focused, indicating the user has successfully navigated to the component. | -| _Error_ | When the required number input has not been filled in. It can also be triggered due to a system error. This state requires a user response before data can be submitted or saved. | -| _Warning_ | When you need to call the user's attention to an exception condition. The condition might not be an error but can cause problems if not resolved. | -| _Disabled_ | When the user is not allowed to interact with the number input due to either permissions, dependencies, or pre-requisites. The disabled state completely removes the interactive function from a component. The styling is not subject to WCAG contrast compliance. | -| _Skeleton_ | Use on an initial page load to indicate that the number input has not yet fully loaded. | -| _Read-only_ | _Coming soon!_ | +**enabled**, **hover**, **focus**, **error**, **warning**, **disabled**, and +**read-only**. + +| State | When to use | +| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| _Enabled_ | When the number input is live but a user is not directly interacting with it. This is commonly referred to as the default or normal state of the component. An enabled number input field should contain a default value. | +| _Hover_ | When a user's mouse cursor is hovering over the field or the button controls. | +| _Focus_ | When a user tabs to or clicks on the number input, the field or controls become focused, indicating the user has successfully navigated to the component. | +| _Error_ | When the required number input has not been filled in. It can also be triggered due to a system error. This state requires a user response before data can be submitted or saved. | +| _Warning_ | When you need to call the user's attention to an exception condition. The condition might not be an error but can cause problems if not resolved. | +| _Disabled_ | When the user cannot interact with a component and all interactive functions have been removed. Unlike read-only states, disabled states are not focusable, are not read by screen readers, and do not need to pass visual contrast, making them inaccessible if they need to be interpreted. | +| _Skeleton_ | Use on an initial page load to indicate that the number input has not yet fully loaded. | +| _Read-only_ | When the user can review but not modify the component. This state removes all interactive functions like the disabled state but can still be focusable, accessible by screen readers, and passes visual contrast for readability. | - + diff --git a/src/pages/components/radio-button/images/radio-button-style-2.png b/src/pages/components/radio-button/images/radio-button-style-2.png index e49ea70188e..19a3bc04c97 100644 Binary files a/src/pages/components/radio-button/images/radio-button-style-2.png and b/src/pages/components/radio-button/images/radio-button-style-2.png differ diff --git a/src/pages/components/radio-button/images/radio-button-usage-7.png b/src/pages/components/radio-button/images/radio-button-usage-7.png index 97e47b102f3..24f37387a0d 100644 Binary files a/src/pages/components/radio-button/images/radio-button-usage-7.png and b/src/pages/components/radio-button/images/radio-button-usage-7.png differ diff --git a/src/pages/components/radio-button/images/radio-button-usage-8.png b/src/pages/components/radio-button/images/radio-button-usage-8.png index e49ea70188e..d890c6f16fd 100644 Binary files a/src/pages/components/radio-button/images/radio-button-usage-8.png and b/src/pages/components/radio-button/images/radio-button-usage-8.png differ diff --git a/src/pages/components/radio-button/style.mdx b/src/pages/components/radio-button/style.mdx index 39200865737..70160bde701 100755 --- a/src/pages/components/radio-button/style.mdx +++ b/src/pages/components/radio-button/style.mdx @@ -16,28 +16,41 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] | | background-color | Transparent | | Radio button (selected) | border | `$icon-primary` | | | dot | `$icon-primary` | +| Helper text | text color | `$text-secondary` | -![Radiob button states](images/radio-button-style-1.png) +![Radio button states](images/radio-button-style-1.png) ### Interactive colors -| Element | Property | Color token | -| --------------------- | ---------- | ---------------- | -| Radio button:focus | border | `$focus` | -| Label:disabled | text color | `$text-disabled` | -| Label:disabled | text color | `$text-disabled` | -| Radio button:disabled | border | `$icon-disabled` | +| State | Element | Property | Color token | +| --------- | --------------- | ---------- | ------------------ | +| Focus | Radio button | border | `$focus` | +| Disabled | Label | text color | `$text-disabled` | +| | Radio button | border | `$icon-disabled` | +| | | inner fill | `$icon-disabled` | +| Read-only | Label | text color | `$text-primary` | +| | Radio button | border | `$icon-disabled` | +| | | inner fill | `$icon-primary` | +| Error | Label | text color | `$text-primary` | +| | Radio button | border | `$support-error` | +| | Error message | text color | `$text-error` | +| | Error icon | svg | `$support-error` | +| Warning | Label | text color | `$text-primary` | +| | Radio button | border | `$icon-primary` | +| | Warning message | text color | `$text-primary` | +| | Warning icon | svg | `$support-warning` | +| | | inner fill | `$black` | -![Radiob button interactive states](images/radio-button-style-2.png) +![Radio button interactive states](images/radio-button-style-2.png) @@ -51,6 +64,9 @@ a phrase and any proper nouns capitalized. | ------------------ | ------------------ | ------------- | ------------------ | | Group label | 12 / 0.75 | Regular / 400 | `$label-01` | | Radio button label | 14 / 0.875 | Regular / 400 | `$body-compact-01` | +| Helper text | 12 / 0.75 | Regular / 400 | `$helper-text-01` | +| Error message | 12 / 0.75 | Regular / 400 | `$label-01` | +| Warning message | 12 / 0.75 | Regular / 400 | `$label-01` | ## Structure diff --git a/src/pages/components/radio-button/usage.mdx b/src/pages/components/radio-button/usage.mdx index 02747fd2423..61561672b68 100755 --- a/src/pages/components/radio-button/usage.mdx +++ b/src/pages/components/radio-button/usage.mdx @@ -270,26 +270,42 @@ For further content guidance, see Carbon's ### States -The radio button input allows for two states: unselected and selected. The -default view of a radio button is having at least one radio button preselected. -Only one radio button should be selected at a time. When a user chooses a new -item, the previous choice is automatically deselected. +The radio button input allows for two states: **unselected** and **selected**. +The default view of a radio button is having at least one radio button +preselected. Only one radio button should be selected at a time. When a user +chooses a new item, the previous choice is automatically deselected. -![Examples of selected and unselected radio buttons](images/radio-button-usage-7.png) +![Examples of unselected and selected radio buttons](images/radio-button-usage-7.png) In addition to unselected and selected states, radio buttons also have states -for focus and disabled. +for focus, disabled, read-only, error, and warning. When deciding whether to use +a disabled or read-only state for radio buttons, see our +[Read-only states pattern](https://carbondesignsystem.com/patterns/read-only-states-pattern/) +guidance. -![Examples of focus states and disabled states](images/radio-button-usage-8.png) +![Examples of focus, disabled, read-only, error, and warning states](images/radio-button-style-2.png) + + + + +#### Group states + +Radio button groups can receive the following states: read-only, disabled, +error, and warning, as well as the addition of helper text. + + + + +![Examples of focus, disabled, read-only, error, and warning states](images/radio-button-usage-8.png) diff --git a/src/pages/components/search/images/search-anatomy-fixed.png b/src/pages/components/search/images/search-anatomy-fixed.png index 7cebfe3be61..e052acb5ec1 100644 Binary files a/src/pages/components/search/images/search-anatomy-fixed.png and b/src/pages/components/search/images/search-anatomy-fixed.png differ diff --git a/src/pages/components/search/images/search-anatomy-fluid.png b/src/pages/components/search/images/search-anatomy-fluid.png index ed09280271f..9c23b79649c 100644 Binary files a/src/pages/components/search/images/search-anatomy-fluid.png and b/src/pages/components/search/images/search-anatomy-fluid.png differ diff --git a/src/pages/components/search/images/search-click-area-fixed.png b/src/pages/components/search/images/search-click-area-fixed.png index 09346e73ac9..e55774db0bc 100644 Binary files a/src/pages/components/search/images/search-click-area-fixed.png and b/src/pages/components/search/images/search-click-area-fixed.png differ diff --git a/src/pages/components/search/images/search-click-area-fluid.png b/src/pages/components/search/images/search-click-area-fluid.png index 744ff7f0122..6237fd54b29 100644 Binary files a/src/pages/components/search/images/search-click-area-fluid.png and b/src/pages/components/search/images/search-click-area-fluid.png differ diff --git a/src/pages/components/search/images/search-sizes-fixed.png b/src/pages/components/search/images/search-sizes-fixed.png index 3fedd0fc85c..cd8cf491fa1 100644 Binary files a/src/pages/components/search/images/search-sizes-fixed.png and b/src/pages/components/search/images/search-sizes-fixed.png differ diff --git a/src/pages/components/search/images/search-sizes-fluid.png b/src/pages/components/search/images/search-sizes-fluid.png index 1b91e13cf14..57e2de5baf6 100644 Binary files a/src/pages/components/search/images/search-sizes-fluid.png and b/src/pages/components/search/images/search-sizes-fluid.png differ diff --git a/src/pages/components/search/images/search-style-1.png b/src/pages/components/search/images/search-style-1.png index 52a9296e7f9..030a54adcb1 100644 Binary files a/src/pages/components/search/images/search-style-1.png and b/src/pages/components/search/images/search-style-1.png differ diff --git a/src/pages/components/search/images/search-style-fixed-2.png b/src/pages/components/search/images/search-style-fixed-2.png index f2d0f60143c..60184dd959c 100644 Binary files a/src/pages/components/search/images/search-style-fixed-2.png and b/src/pages/components/search/images/search-style-fixed-2.png differ diff --git a/src/pages/components/search/images/search-style-fixed-3a.png b/src/pages/components/search/images/search-style-fixed-3a.png index 9744c11da3a..062d4003e94 100644 Binary files a/src/pages/components/search/images/search-style-fixed-3a.png and b/src/pages/components/search/images/search-style-fixed-3a.png differ diff --git a/src/pages/components/search/images/search-style-fixed-3b.png b/src/pages/components/search/images/search-style-fixed-3b.png index b3695423e32..fce7b5a27ee 100644 Binary files a/src/pages/components/search/images/search-style-fixed-3b.png and b/src/pages/components/search/images/search-style-fixed-3b.png differ diff --git a/src/pages/components/search/images/search-style-fixed-3c.png b/src/pages/components/search/images/search-style-fixed-3c.png index 782f5ed8f43..ef72210c7df 100644 Binary files a/src/pages/components/search/images/search-style-fixed-3c.png and b/src/pages/components/search/images/search-style-fixed-3c.png differ diff --git a/src/pages/components/search/images/search-style-fluid-2.png b/src/pages/components/search/images/search-style-fluid-2.png index c092e17445b..f02fec4cd2c 100644 Binary files a/src/pages/components/search/images/search-style-fluid-2.png and b/src/pages/components/search/images/search-style-fluid-2.png differ diff --git a/src/pages/components/search/images/search-style-fluid-3a.png b/src/pages/components/search/images/search-style-fluid-3a.png index 00165861ac7..8d0b28d0d22 100644 Binary files a/src/pages/components/search/images/search-style-fluid-3a.png and b/src/pages/components/search/images/search-style-fluid-3a.png differ diff --git a/src/pages/components/search/images/search-styles.png b/src/pages/components/search/images/search-styles.png index 15ba1278c3c..746ec4af9ef 100644 Binary files a/src/pages/components/search/images/search-styles.png and b/src/pages/components/search/images/search-styles.png differ diff --git a/src/pages/components/select/images/select-anatomy-fixed.png b/src/pages/components/select/images/select-anatomy-fixed.png index fad601b4981..295e9db3e48 100644 Binary files a/src/pages/components/select/images/select-anatomy-fixed.png and b/src/pages/components/select/images/select-anatomy-fixed.png differ diff --git a/src/pages/components/select/images/select-anatomy-fluid.png b/src/pages/components/select/images/select-anatomy-fluid.png index 09f7f9106e9..24be23031ef 100644 Binary files a/src/pages/components/select/images/select-anatomy-fluid.png and b/src/pages/components/select/images/select-anatomy-fluid.png differ diff --git a/src/pages/components/select/images/select-invalid-state-fixed.png b/src/pages/components/select/images/select-invalid-state-fixed.png index b24bd5875ac..0d34a5f0be8 100644 Binary files a/src/pages/components/select/images/select-invalid-state-fixed.png and b/src/pages/components/select/images/select-invalid-state-fixed.png differ diff --git a/src/pages/components/select/images/select-keyboard-interaction-fixed.png b/src/pages/components/select/images/select-keyboard-interaction-fixed.png index 780a8ed9abf..67aafe924af 100644 Binary files a/src/pages/components/select/images/select-keyboard-interaction-fixed.png and b/src/pages/components/select/images/select-keyboard-interaction-fixed.png differ diff --git a/src/pages/components/select/images/select-keyboard-interaction-fluid.png b/src/pages/components/select/images/select-keyboard-interaction-fluid.png index 19a2d64a1de..713ee791b86 100644 Binary files a/src/pages/components/select/images/select-keyboard-interaction-fluid.png and b/src/pages/components/select/images/select-keyboard-interaction-fluid.png differ diff --git a/src/pages/components/select/images/select-mouse-interaction-fixed.png b/src/pages/components/select/images/select-mouse-interaction-fixed.png index 62bb4ad4cf2..2fbc8cff146 100644 Binary files a/src/pages/components/select/images/select-mouse-interaction-fixed.png and b/src/pages/components/select/images/select-mouse-interaction-fixed.png differ diff --git a/src/pages/components/select/images/select-mouse-interaction-fluid.png b/src/pages/components/select/images/select-mouse-interaction-fluid.png index b2a76e50e19..e4899696cde 100644 Binary files a/src/pages/components/select/images/select-mouse-interaction-fluid.png and b/src/pages/components/select/images/select-mouse-interaction-fluid.png differ diff --git a/src/pages/components/select/images/select-sizes-fixed.png b/src/pages/components/select/images/select-sizes-fixed.png index 88bad92c2ea..49a3575d8bf 100644 Binary files a/src/pages/components/select/images/select-sizes-fixed.png and b/src/pages/components/select/images/select-sizes-fixed.png differ diff --git a/src/pages/components/select/images/select-sizes-fluid.png b/src/pages/components/select/images/select-sizes-fluid.png index 9856dc45312..e00df278881 100644 Binary files a/src/pages/components/select/images/select-sizes-fluid.png and b/src/pages/components/select/images/select-sizes-fluid.png differ diff --git a/src/pages/components/select/images/select-style-color-fixed.png b/src/pages/components/select/images/select-style-color-fixed.png index da3a4ebf5a4..90dea517b25 100644 Binary files a/src/pages/components/select/images/select-style-color-fixed.png and b/src/pages/components/select/images/select-style-color-fixed.png differ diff --git a/src/pages/components/select/images/select-style-color-fluid.png b/src/pages/components/select/images/select-style-color-fluid.png index 1e9a265e26d..20d34bcf8d1 100644 Binary files a/src/pages/components/select/images/select-style-color-fluid.png and b/src/pages/components/select/images/select-style-color-fluid.png differ diff --git a/src/pages/components/select/images/select-style-sizes-default-inline.png b/src/pages/components/select/images/select-style-sizes-default-inline.png new file mode 100644 index 00000000000..3f351e2230e Binary files /dev/null and b/src/pages/components/select/images/select-style-sizes-default-inline.png differ diff --git a/src/pages/components/select/images/select-style-sizes-default.png b/src/pages/components/select/images/select-style-sizes-default.png new file mode 100644 index 00000000000..47d5819c16b Binary files /dev/null and b/src/pages/components/select/images/select-style-sizes-default.png differ diff --git a/src/pages/components/select/images/select-style-sizes-fluid.png b/src/pages/components/select/images/select-style-sizes-fluid.png new file mode 100644 index 00000000000..4f95d6cb856 Binary files /dev/null and b/src/pages/components/select/images/select-style-sizes-fluid.png differ diff --git a/src/pages/components/select/images/select-style-structure-default-fixed.png b/src/pages/components/select/images/select-style-structure-default-fixed.png index 47d09d35a3b..ebb3f5ec01b 100644 Binary files a/src/pages/components/select/images/select-style-structure-default-fixed.png and b/src/pages/components/select/images/select-style-structure-default-fixed.png differ diff --git a/src/pages/components/select/images/select-style-structure-default-fluid.png b/src/pages/components/select/images/select-style-structure-default-fluid.png index 0fb836d7c38..b92fd4fdbf0 100644 Binary files a/src/pages/components/select/images/select-style-structure-default-fluid.png and b/src/pages/components/select/images/select-style-structure-default-fluid.png differ diff --git a/src/pages/components/select/images/select-style-structure-inline-fixed.png b/src/pages/components/select/images/select-style-structure-inline-fixed.png index 43a431aadac..42dc6516ede 100644 Binary files a/src/pages/components/select/images/select-style-structure-inline-fixed.png and b/src/pages/components/select/images/select-style-structure-inline-fixed.png differ diff --git a/src/pages/components/select/images/select-styles.png b/src/pages/components/select/images/select-styles.png index b37e8bb745a..89eed77ab09 100644 Binary files a/src/pages/components/select/images/select-styles.png and b/src/pages/components/select/images/select-styles.png differ diff --git a/src/pages/components/select/style.mdx b/src/pages/components/select/style.mdx index bf20c6a7c8b..7f7d2aac270 100755 --- a/src/pages/components/select/style.mdx +++ b/src/pages/components/select/style.mdx @@ -47,31 +47,26 @@ tabs: ['Usage', 'Style', 'Code', 'Accessibility'] ### Interactive states -| State | Element | Property | Color token | -| --------- | --------------- | -------------------------- | ------------------- | -| Hover | Field | background-color | `$field-hover` \* | -| Focus | Field | border | `$focus` | -| Invalid | Field | border | `$support-error` | -| | Error message | text-color | `$text-error` | -| | Error icon | fill | `$support-error` | -| Warning | Warning message | text-color | `$text-primary` | -| | Warning icon | fill | `$support-warning` | -| Disabled | Field | background-color | `$field` \* | -| | | border-bottom (default) | transparent | -| | | border-bottom (fluid) | `$border-subtle` \* | -| | Label | text-color | `$text-disabled` | -| | Input text | text-color | `$text-disabled | -| | Chevron icon | fill | `$icon-disabled` | -| Read-only | Field | background-color (default) | transparent | -| | | background-color (fluid) | `$layer` \* | -| | | border-bottom | `$border-subtle` \* | -| | Label | text-color | `$text-secondary` | -| | Input text | text-color (default) | `$text-primary` | -| | | text-color (fluid) | `$text-secondary` | -| | Chevron icon | fill | `$icon-disabled` | - -- Denotes a contextual color token that will change values based on the layer it - is placed on. +| State | Element | Property | Color token | +| -------- | --------------- | ---------------- | ------------------- | +| Hover | Field | background-color | `$field-hover` \* | +| Focus | Field | border | `$focus` | +| Invalid | Field | border | `$support-error` | +| | Error message | text-color | `$text-error` | +| | Error icon | fill | `$support-error` | +| Warning | Warning message | text-color | `$text-primary` | +| | Warning icon | fill | `$support-warning` | +| Disabled | Field | background-color | `$field` \* | +| | Input text | text-color | `$text-disabled | +| | Field | border-bottom | transparent | +| | Field (fluid) | border-bottom | `$border-subtle` \* | +| | Label | text-color | `$text-disabled` | +| | Chevron icon | fill | `$icon-disabled` | + + + * Denotes a contextual color token that will change values based on the layer + it is placed on. + @@ -112,10 +107,6 @@ and any proper nouns capitalized. Select text should be three words or less. ### Default select -#### Default - -
- | Element | Property | px / rem | Spacing token | | ------------ | --------------------------- | -------- | ------------- | | Label | margin-bottom | 8 / 0.5 | `$spacing-03` | @@ -137,9 +128,7 @@ and any proper nouns capitalized. Select text should be three words or less. Structure and spacing measurements for default select | px / rem -#### Inline - -
+### Default inline select | Element | Property | px / rem | Spacing token | | ------------ | ------------- | -------- | ------------- | @@ -160,10 +149,6 @@ and any proper nouns capitalized. Select text should be three words or less. ### Fluid select -#### Default - -
- | Element | Property | px / rem | Spacing token | | ------------ | --------------------------- | -------- | ------------- | | Label | margin-bottom | 4 / .25 | `$spacing-02` | @@ -185,17 +170,19 @@ and any proper nouns capitalized. Select text should be three words or less. Structure and spacing measurements for fluid select | px / rem -## Size +## Sizes + +### Default select | Element | Size | Height (px / rem) | | ------- | ----------- | ----------------- | -| Input | Small (sm) | 32 / 2 | +| Field | Small (sm) | 32 / 2 | | | Medium (md) | 40 / 2.5 | | | Large (lg) | 48 / 3 |
-![Sizes for select](images/select-style-default-size.png) +![Sizes for default select](images/select-style-sizes-default.png)
@@ -203,8 +190,22 @@ and any proper nouns capitalized. Select text should be three words or less.
-![Sizes for select](images/select-style-inline-size.png) +![Sizes for default inline select](images/select-style-sizes-default-inline.png) + +
+ +Sizes for default inline select | px / rem + +### Fluid select + +| Element | Size | Height (px / rem) | +| ------- | ------- | ----------------- | +| Field | Default | 64 / 4 | + +
+ +![Size for fluid select](images/select-style-sizes-fluid.png)
-Sizes for inline select | px / rem +Size for fluid select | px / rem diff --git a/src/pages/components/select/usage.mdx b/src/pages/components/select/usage.mdx index 030e0a41078..717abd0e047 100755 --- a/src/pages/components/select/usage.mdx +++ b/src/pages/components/select/usage.mdx @@ -60,8 +60,7 @@ look similar, they have different functions. - A select presents a list of options from which the users can select only one item from that list. It works best in forms when users choose an option from - the select list and submit data. It works best in forms when users choose an - option from the select list and submit data. + the select list and submit data. - A dropdown presents a list of options that users can select one or several options from that list. Dropdown options are used for taking an action, @@ -324,8 +323,8 @@ should be no longer than three words. ### States The select has multiple interactive states for both default and inline variants: -**enabled**, **hover**, **focus**, **open**, **error**, **warning**, and -**disabled**. +**enabled**, **hover**, **focus**, **open**, **error**, **warning**, +**disabled**, and **read-only**. | State | When to use | | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/src/pages/components/text-input/images/text-area-anatomy-fixed.png b/src/pages/components/text-input/images/text-area-anatomy-fixed.png index f4447800df1..d5f9bdd84b2 100644 Binary files a/src/pages/components/text-input/images/text-area-anatomy-fixed.png and b/src/pages/components/text-input/images/text-area-anatomy-fixed.png differ diff --git a/src/pages/components/text-input/images/text-area-anatomy-fluid.png b/src/pages/components/text-input/images/text-area-anatomy-fluid.png index fb72d10b7c8..9ecb0568be3 100644 Binary files a/src/pages/components/text-input/images/text-area-anatomy-fluid.png and b/src/pages/components/text-input/images/text-area-anatomy-fluid.png differ diff --git a/src/pages/components/text-input/images/text-area-counter.png b/src/pages/components/text-input/images/text-area-counter.png index 30212357b6d..72193f8b159 100644 Binary files a/src/pages/components/text-input/images/text-area-counter.png and b/src/pages/components/text-input/images/text-area-counter.png differ diff --git a/src/pages/components/text-input/images/text-area-style-structure-fixed.png b/src/pages/components/text-input/images/text-area-style-structure-fixed.png index 34027595ed7..5a3931d7fc2 100644 Binary files a/src/pages/components/text-input/images/text-area-style-structure-fixed.png and b/src/pages/components/text-input/images/text-area-style-structure-fixed.png differ diff --git a/src/pages/components/text-input/images/text-area-style-structure-fluid.png b/src/pages/components/text-input/images/text-area-style-structure-fluid.png index 9447713a094..9ea7bad300e 100644 Binary files a/src/pages/components/text-input/images/text-area-style-structure-fluid.png and b/src/pages/components/text-input/images/text-area-style-structure-fluid.png differ diff --git a/src/pages/components/text-input/images/text-area-usage-anatomy-fixed.png b/src/pages/components/text-input/images/text-area-usage-anatomy-fixed.png index f4447800df1..d5f9bdd84b2 100644 Binary files a/src/pages/components/text-input/images/text-area-usage-anatomy-fixed.png and b/src/pages/components/text-input/images/text-area-usage-anatomy-fixed.png differ diff --git a/src/pages/components/text-input/images/text-area-usage-anatomy-fluid.png b/src/pages/components/text-input/images/text-area-usage-anatomy-fluid.png index fb72d10b7c8..9ecb0568be3 100644 Binary files a/src/pages/components/text-input/images/text-area-usage-anatomy-fluid.png and b/src/pages/components/text-input/images/text-area-usage-anatomy-fluid.png differ diff --git a/src/pages/components/text-input/images/text-area-usage-counter.png b/src/pages/components/text-input/images/text-area-usage-counter.png index 1c9e0fe3f9a..b9299aafd76 100644 Binary files a/src/pages/components/text-input/images/text-area-usage-counter.png and b/src/pages/components/text-input/images/text-area-usage-counter.png differ diff --git a/src/pages/components/text-input/images/text-area-usage-resize.png b/src/pages/components/text-input/images/text-area-usage-resize.png index 6ba0cca1ce0..a17e9d365dd 100644 Binary files a/src/pages/components/text-input/images/text-area-usage-resize.png and b/src/pages/components/text-input/images/text-area-usage-resize.png differ diff --git a/src/pages/components/text-input/images/text-area-usage-size.png b/src/pages/components/text-input/images/text-area-usage-size.png index 1adcd560d40..c045a046ad2 100644 Binary files a/src/pages/components/text-input/images/text-area-usage-size.png and b/src/pages/components/text-input/images/text-area-usage-size.png differ diff --git a/src/pages/components/text-input/images/text-input-anatomy-fixed.png b/src/pages/components/text-input/images/text-input-anatomy-fixed.png index 9262d5d21b1..e850dfba67b 100644 Binary files a/src/pages/components/text-input/images/text-input-anatomy-fixed.png and b/src/pages/components/text-input/images/text-input-anatomy-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-anatomy-fluid.png b/src/pages/components/text-input/images/text-input-anatomy-fluid.png index 6f3931fd21d..c1459bf6541 100644 Binary files a/src/pages/components/text-input/images/text-input-anatomy-fluid.png and b/src/pages/components/text-input/images/text-input-anatomy-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-mouse-fixed.png b/src/pages/components/text-input/images/text-input-mouse-fixed.png index 8a46a6308e0..7bc091b9b05 100644 Binary files a/src/pages/components/text-input/images/text-input-mouse-fixed.png and b/src/pages/components/text-input/images/text-input-mouse-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-mouse-fluid.png b/src/pages/components/text-input/images/text-input-mouse-fluid.png index be4831d4666..ccd92853498 100644 Binary files a/src/pages/components/text-input/images/text-input-mouse-fluid.png and b/src/pages/components/text-input/images/text-input-mouse-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-style-color-fixed.png b/src/pages/components/text-input/images/text-input-style-color-fixed.png index 5fd90a78c2e..1f65f688945 100644 Binary files a/src/pages/components/text-input/images/text-input-style-color-fixed.png and b/src/pages/components/text-input/images/text-input-style-color-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-style-color-fluid.png b/src/pages/components/text-input/images/text-input-style-color-fluid.png index 7fa304be8eb..65c31ad3b8c 100644 Binary files a/src/pages/components/text-input/images/text-input-style-color-fluid.png and b/src/pages/components/text-input/images/text-input-style-color-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-style-size.png b/src/pages/components/text-input/images/text-input-style-size.png index 477347b01a1..c95fdc26eae 100644 Binary files a/src/pages/components/text-input/images/text-input-style-size.png and b/src/pages/components/text-input/images/text-input-style-size.png differ diff --git a/src/pages/components/text-input/images/text-input-style-states-fixed.png b/src/pages/components/text-input/images/text-input-style-states-fixed.png index b420319f037..4fcb3c52daa 100644 Binary files a/src/pages/components/text-input/images/text-input-style-states-fixed.png and b/src/pages/components/text-input/images/text-input-style-states-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-style-states-fluid.png b/src/pages/components/text-input/images/text-input-style-states-fluid.png index e6e0d092b0a..c4e9b144007 100644 Binary files a/src/pages/components/text-input/images/text-input-style-states-fluid.png and b/src/pages/components/text-input/images/text-input-style-states-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-style-structure-fixed.png b/src/pages/components/text-input/images/text-input-style-structure-fixed.png index 619ade3d4a1..99308ffe640 100644 Binary files a/src/pages/components/text-input/images/text-input-style-structure-fixed.png and b/src/pages/components/text-input/images/text-input-style-structure-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-style-structure-fluid.png b/src/pages/components/text-input/images/text-input-style-structure-fluid.png index f42f1bc703a..6f5a5c7504a 100644 Binary files a/src/pages/components/text-input/images/text-input-style-structure-fluid.png and b/src/pages/components/text-input/images/text-input-style-structure-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-1.png b/src/pages/components/text-input/images/text-input-usage-1.png index 7bbf6d5b7fc..f978f2eadb6 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-1.png and b/src/pages/components/text-input/images/text-input-usage-1.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-2.png b/src/pages/components/text-input/images/text-input-usage-2.png index 3b4b27d1a5c..09663095f6f 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-2.png and b/src/pages/components/text-input/images/text-input-usage-2.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-4-do-fluid.png b/src/pages/components/text-input/images/text-input-usage-4-do-fluid.png index a4cc4a060ea..aac5a0faecc 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-4-do-fluid.png and b/src/pages/components/text-input/images/text-input-usage-4-do-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-4-do.png b/src/pages/components/text-input/images/text-input-usage-4-do.png index 2fc120821ab..77a41150ebf 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-4-do.png and b/src/pages/components/text-input/images/text-input-usage-4-do.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-4-dont.png b/src/pages/components/text-input/images/text-input-usage-4-dont.png index 952706874c6..7e1a4254182 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-4-dont.png and b/src/pages/components/text-input/images/text-input-usage-4-dont.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-anatomy-fixed.png b/src/pages/components/text-input/images/text-input-usage-anatomy-fixed.png index 9262d5d21b1..e850dfba67b 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-anatomy-fixed.png and b/src/pages/components/text-input/images/text-input-usage-anatomy-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-anatomy-fluid.png b/src/pages/components/text-input/images/text-input-usage-anatomy-fluid.png index 6f3931fd21d..c1459bf6541 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-anatomy-fluid.png and b/src/pages/components/text-input/images/text-input-usage-anatomy-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-anatomy.png b/src/pages/components/text-input/images/text-input-usage-anatomy.png index fd14669db0a..24147819ead 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-anatomy.png and b/src/pages/components/text-input/images/text-input-usage-anatomy.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-mouse-fixed.png b/src/pages/components/text-input/images/text-input-usage-mouse-fixed.png index c29595157d2..23ecb4aa1cf 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-mouse-fixed.png and b/src/pages/components/text-input/images/text-input-usage-mouse-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-mouse-fluid.png b/src/pages/components/text-input/images/text-input-usage-mouse-fluid.png index d4c345e4dab..74fcbef7599 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-mouse-fluid.png and b/src/pages/components/text-input/images/text-input-usage-mouse-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-mouse.png b/src/pages/components/text-input/images/text-input-usage-mouse.png index 53174d8d98d..1de96bfa819 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-mouse.png and b/src/pages/components/text-input/images/text-input-usage-mouse.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-optional-do.png b/src/pages/components/text-input/images/text-input-usage-optional-do.png index 714a14f70a8..e570949e8a7 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-optional-do.png and b/src/pages/components/text-input/images/text-input-usage-optional-do.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-password.png b/src/pages/components/text-input/images/text-input-usage-password.png index fa9670caa48..dafe6aa826e 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-password.png and b/src/pages/components/text-input/images/text-input-usage-password.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-required-do.png b/src/pages/components/text-input/images/text-input-usage-required-do.png index 85a4a2c4dea..f1307b0e2a4 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-required-do.png and b/src/pages/components/text-input/images/text-input-usage-required-do.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-size-fluid.png b/src/pages/components/text-input/images/text-input-usage-size-fluid.png index d11f26ac30e..39ee0b2ffff 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-size-fluid.png and b/src/pages/components/text-input/images/text-input-usage-size-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-size.png b/src/pages/components/text-input/images/text-input-usage-size.png index fbe24481256..409765e752a 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-size.png and b/src/pages/components/text-input/images/text-input-usage-size.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-states-fixed.png b/src/pages/components/text-input/images/text-input-usage-states-fixed.png index 78213c996d9..d6fc73c4317 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-states-fixed.png and b/src/pages/components/text-input/images/text-input-usage-states-fixed.png differ diff --git a/src/pages/components/text-input/images/text-input-usage-states-fluid.png b/src/pages/components/text-input/images/text-input-usage-states-fluid.png index e96c9455fc6..e61cb387e9e 100644 Binary files a/src/pages/components/text-input/images/text-input-usage-states-fluid.png and b/src/pages/components/text-input/images/text-input-usage-states-fluid.png differ diff --git a/src/pages/components/text-input/images/text-input-width-do.png b/src/pages/components/text-input/images/text-input-width-do.png index b1cedc02aa1..fadd775823e 100644 Binary files a/src/pages/components/text-input/images/text-input-width-do.png and b/src/pages/components/text-input/images/text-input-width-do.png differ diff --git a/src/pages/components/text-input/images/text-input-width-dont.png b/src/pages/components/text-input/images/text-input-width-dont.png index 4ac0b6ec460..b581fb14e06 100644 Binary files a/src/pages/components/text-input/images/text-input-width-dont.png and b/src/pages/components/text-input/images/text-input-width-dont.png differ diff --git a/src/pages/components/tile/images/tile-style-1.png b/src/pages/components/tile/images/tile-style-1.png index c489f8e228c..02cfb406d41 100644 Binary files a/src/pages/components/tile/images/tile-style-1.png and b/src/pages/components/tile/images/tile-style-1.png differ diff --git a/src/pages/components/tile/images/tile-style-10.png b/src/pages/components/tile/images/tile-style-10.png new file mode 100644 index 00000000000..355cc399cf0 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-10.png differ diff --git a/src/pages/components/tile/images/tile-style-11.png b/src/pages/components/tile/images/tile-style-11.png new file mode 100644 index 00000000000..42ff41cdf09 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-11.png differ diff --git a/src/pages/components/tile/images/tile-style-12.png b/src/pages/components/tile/images/tile-style-12.png new file mode 100644 index 00000000000..27429db0aeb Binary files /dev/null and b/src/pages/components/tile/images/tile-style-12.png differ diff --git a/src/pages/components/tile/images/tile-style-2.png b/src/pages/components/tile/images/tile-style-2.png index 0f633be0703..2274513269a 100644 Binary files a/src/pages/components/tile/images/tile-style-2.png and b/src/pages/components/tile/images/tile-style-2.png differ diff --git a/src/pages/components/tile/images/tile-style-3.png b/src/pages/components/tile/images/tile-style-3.png new file mode 100644 index 00000000000..755448d5a65 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-3.png differ diff --git a/src/pages/components/tile/images/tile-style-4.png b/src/pages/components/tile/images/tile-style-4.png new file mode 100644 index 00000000000..4134bdb9e63 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-4.png differ diff --git a/src/pages/components/tile/images/tile-style-5.png b/src/pages/components/tile/images/tile-style-5.png new file mode 100644 index 00000000000..818974c79b4 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-5.png differ diff --git a/src/pages/components/tile/images/tile-style-6.png b/src/pages/components/tile/images/tile-style-6.png new file mode 100644 index 00000000000..e2ccecee0e7 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-6.png differ diff --git a/src/pages/components/tile/images/tile-style-7.png b/src/pages/components/tile/images/tile-style-7.png new file mode 100644 index 00000000000..a626ed3c4e9 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-7.png differ diff --git a/src/pages/components/tile/images/tile-style-8.png b/src/pages/components/tile/images/tile-style-8.png new file mode 100644 index 00000000000..fea0038918d Binary files /dev/null and b/src/pages/components/tile/images/tile-style-8.png differ diff --git a/src/pages/components/tile/images/tile-style-9.png b/src/pages/components/tile/images/tile-style-9.png new file mode 100644 index 00000000000..1a41f89cc91 Binary files /dev/null and b/src/pages/components/tile/images/tile-style-9.png differ diff --git a/src/pages/components/tile/images/tile-usage-1.png b/src/pages/components/tile/images/tile-usage-1.png index 81cb5915dde..335acf8442f 100644 Binary files a/src/pages/components/tile/images/tile-usage-1.png and b/src/pages/components/tile/images/tile-usage-1.png differ diff --git a/src/pages/components/tile/images/tile-usage-10.png b/src/pages/components/tile/images/tile-usage-10.png index a798f7ceba1..74e2bf1decf 100644 Binary files a/src/pages/components/tile/images/tile-usage-10.png and b/src/pages/components/tile/images/tile-usage-10.png differ diff --git a/src/pages/components/tile/images/tile-usage-11.png b/src/pages/components/tile/images/tile-usage-11.png index 1cbc89da662..eb4cb91f253 100644 Binary files a/src/pages/components/tile/images/tile-usage-11.png and b/src/pages/components/tile/images/tile-usage-11.png differ diff --git a/src/pages/components/tile/images/tile-usage-12.png b/src/pages/components/tile/images/tile-usage-12.png new file mode 100644 index 00000000000..32a0bf02833 Binary files /dev/null and b/src/pages/components/tile/images/tile-usage-12.png differ diff --git a/src/pages/components/tile/images/tile-usage-13.png b/src/pages/components/tile/images/tile-usage-13.png index da7e898ff04..ea5d314e7dd 100644 Binary files a/src/pages/components/tile/images/tile-usage-13.png and b/src/pages/components/tile/images/tile-usage-13.png differ diff --git a/src/pages/components/tile/images/tile-usage-14.png b/src/pages/components/tile/images/tile-usage-14.png index 38f0ad173d8..67407eb8854 100644 Binary files a/src/pages/components/tile/images/tile-usage-14.png and b/src/pages/components/tile/images/tile-usage-14.png differ diff --git a/src/pages/components/tile/images/tile-usage-15.png b/src/pages/components/tile/images/tile-usage-15.png index 99f2155a52b..fb72d6af99b 100644 Binary files a/src/pages/components/tile/images/tile-usage-15.png and b/src/pages/components/tile/images/tile-usage-15.png differ diff --git a/src/pages/components/tile/images/tile-usage-16.png b/src/pages/components/tile/images/tile-usage-16.png deleted file mode 100644 index a71b1bfbedd..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-16.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-17.png b/src/pages/components/tile/images/tile-usage-17.png deleted file mode 100644 index 77a9112ac17..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-17.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-18.png b/src/pages/components/tile/images/tile-usage-18.png index cf9a6fe8058..3860a060bf5 100644 Binary files a/src/pages/components/tile/images/tile-usage-18.png and b/src/pages/components/tile/images/tile-usage-18.png differ diff --git a/src/pages/components/tile/images/tile-usage-19.png b/src/pages/components/tile/images/tile-usage-19.png deleted file mode 100644 index 85415cee039..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-19.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-2.png b/src/pages/components/tile/images/tile-usage-2.png index ac438fe8900..f61776ac362 100644 Binary files a/src/pages/components/tile/images/tile-usage-2.png and b/src/pages/components/tile/images/tile-usage-2.png differ diff --git a/src/pages/components/tile/images/tile-usage-20.png b/src/pages/components/tile/images/tile-usage-20.png deleted file mode 100644 index cae705bb03d..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-20.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-21.png b/src/pages/components/tile/images/tile-usage-21.png deleted file mode 100644 index a93b6efd3f5..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-21.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-22.png b/src/pages/components/tile/images/tile-usage-22.png deleted file mode 100644 index 481e8617e80..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-22.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-23.png b/src/pages/components/tile/images/tile-usage-23.png deleted file mode 100644 index 47c89c20fbc..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-23.png and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-24.png b/src/pages/components/tile/images/tile-usage-24.png index a1c21c8c2b0..16dc3e987a9 100644 Binary files a/src/pages/components/tile/images/tile-usage-24.png and b/src/pages/components/tile/images/tile-usage-24.png differ diff --git a/src/pages/components/tile/images/tile-usage-25.png b/src/pages/components/tile/images/tile-usage-25.png index 057dd563e16..185718e17ef 100644 Binary files a/src/pages/components/tile/images/tile-usage-25.png and b/src/pages/components/tile/images/tile-usage-25.png differ diff --git a/src/pages/components/tile/images/tile-usage-26.png b/src/pages/components/tile/images/tile-usage-26.png index 89295e4cd88..a7d9cd21373 100644 Binary files a/src/pages/components/tile/images/tile-usage-26.png and b/src/pages/components/tile/images/tile-usage-26.png differ diff --git a/src/pages/components/tile/images/tile-usage-27.png b/src/pages/components/tile/images/tile-usage-27.png new file mode 100644 index 00000000000..1e9a6a5b968 Binary files /dev/null and b/src/pages/components/tile/images/tile-usage-27.png differ diff --git a/src/pages/components/tile/images/tile-usage-28.png b/src/pages/components/tile/images/tile-usage-28.png new file mode 100644 index 00000000000..d85a52bc58d Binary files /dev/null and b/src/pages/components/tile/images/tile-usage-28.png differ diff --git a/src/pages/components/tile/images/tile-usage-3.png b/src/pages/components/tile/images/tile-usage-3.png index d776cebf985..73ca737a1cf 100644 Binary files a/src/pages/components/tile/images/tile-usage-3.png and b/src/pages/components/tile/images/tile-usage-3.png differ diff --git a/src/pages/components/tile/images/tile-usage-4.png b/src/pages/components/tile/images/tile-usage-4.png index bac2232272f..d04c8987692 100644 Binary files a/src/pages/components/tile/images/tile-usage-4.png and b/src/pages/components/tile/images/tile-usage-4.png differ diff --git a/src/pages/components/tile/images/tile-usage-5.gif b/src/pages/components/tile/images/tile-usage-5.gif deleted file mode 100644 index de95ca76606..00000000000 Binary files a/src/pages/components/tile/images/tile-usage-5.gif and /dev/null differ diff --git a/src/pages/components/tile/images/tile-usage-5.png b/src/pages/components/tile/images/tile-usage-5.png index 34cbd085456..4a8bf578ab2 100644 Binary files a/src/pages/components/tile/images/tile-usage-5.png and b/src/pages/components/tile/images/tile-usage-5.png differ diff --git a/src/pages/components/tile/images/tile-usage-6.png b/src/pages/components/tile/images/tile-usage-6.png index aa38f42d7f3..e6215b4ab6e 100644 Binary files a/src/pages/components/tile/images/tile-usage-6.png and b/src/pages/components/tile/images/tile-usage-6.png differ diff --git a/src/pages/components/tile/images/tile-usage-7.png b/src/pages/components/tile/images/tile-usage-7.png index 2ed8b431e33..4231e7e57f4 100644 Binary files a/src/pages/components/tile/images/tile-usage-7.png and b/src/pages/components/tile/images/tile-usage-7.png differ diff --git a/src/pages/components/tile/images/tile-usage-8.png b/src/pages/components/tile/images/tile-usage-8.png index 136471c81d7..aa31cfbe335 100644 Binary files a/src/pages/components/tile/images/tile-usage-8.png and b/src/pages/components/tile/images/tile-usage-8.png differ diff --git a/src/pages/components/tile/images/tile-usage-9.png b/src/pages/components/tile/images/tile-usage-9.png index 35639dd962e..10fa285d43c 100644 Binary files a/src/pages/components/tile/images/tile-usage-9.png and b/src/pages/components/tile/images/tile-usage-9.png differ diff --git a/src/pages/components/tile/style.mdx b/src/pages/components/tile/style.mdx index 35308fd047a..e2627ae7300 100644 --- a/src/pages/components/tile/style.mdx +++ b/src/pages/components/tile/style.mdx @@ -11,19 +11,104 @@ import { white } from '@carbon/themes'; ## Color -| Element | Property | Color token | -| -------------- | ---------------- | ----------------- | -| Tile | background-color | `$layer` \* | -| Tile: focus | border | `$focus` | -| Tile: hover | background-color | `$layer-hover` \* | -| Tile: selected | border | `$border-inverse` | -| Chevron icon | svg | `$icon-primary` | -| Checkmark icon | svg | `$icon-primary` | - - - * Denotes a contextual color token that will change values based on the layer - it is placed on. - + + +The tile border applies to clickable, selectable and expandable tiles — not to +base tiles. + + + +| Element | Property | Color token | +| ---------------- | ---------------- | ------------------- | +| Tile: background | background-color | `$layer` \* | +| Tile border | border | `$border-tile` \* | +| Icon | svg | `$icon-interactive` | +| Checkbox icon | svg | `$icon-primary` | +| Checkmark icon | svg | `$icon-primary` | +| Chevron icon | svg | `$icon-primary` | + + + + +![States of the base tile](images/tile-style-3.png) + + + + +### Interactive states + +| Element | Property | Color token | +| ------------- | ---------------- | ----------------- | +| Tile: hover | background-color | `$layer-hover` \* | +| Tile: focus | border | `$focus` | +| Tile:selected | border | `$border-inverse` | + +#### Base tile + +Base tile doesn't have a border. It's not interactive, but can have interactive +elements. + + + + +![States of the base tile](images/tile-style-5.png) + + + +States of the base tile + +#### Clickable tile + +Clickable tile has states: enabled, hover, and focus. + + + + +![States of the clickable tile](images/tile-style-6.png) + + + +States of the clickable tile + +#### Selectable tiles + +Selectable tiles have four states: enabled, hover, focus, and selected. + + + + + +![States of the single-select tile](images/tile-style-7.png) + + + + + +![States of the multi-select tile](images/tile-style-8.png) + + + + + +#### Expandable tiles + +Expandable tiles have three states: enabled, hover, and focus. + + + + + +![States of the expandable tile](images/tile-style-9.png) + + + + + +![States of the expandable tile with interactive elements](images/tile-style-10.png) + + + + ## Structure @@ -33,11 +118,21 @@ import { white } from '@carbon/themes'; | | min-width | 128 / 8 | – | | | padding (minimum) | 16 / 1 | `$spacing-05` | -
+ + + +![Structure and measurements for tiles](images/tile-style-11.png) + + + + + + -![Structure and spacing measurements for tile](images/tile-style-1.png) +![Structure and measurements for single-select, multi-select, and expandable tiles](images/tile-style-12.png) -
+
+
Structure and spacing measurements for tile | px / rem diff --git a/src/pages/components/tile/usage.mdx b/src/pages/components/tile/usage.mdx index bcfb3886bbb..a93f1cfbe10 100755 --- a/src/pages/components/tile/usage.mdx +++ b/src/pages/components/tile/usage.mdx @@ -15,9 +15,11 @@ including information, getting started, how-to, next steps, and more. -Tile guidance has been recently updated but is not yet applicable for all -implementations. Please continue following the guidance and we'll work on fixing -the issues. +[Experimental tiles](https://react.carbondesignsystem.com/?path=/story/experimental-improved-contrast-tile--clickable) +are now available. This addition enhances accessibility and only applies to the +visual appearance, not the function of tiles. Though we are not deprecating the +current tiles, we encourage all design teams to use the new experimental tiles +in their products moving forward. @@ -27,7 +29,7 @@ the issues. Live demo Tile variants Formatting -Behaviors +Universal behaviors Related References Feedback @@ -36,20 +38,27 @@ the issues. ## Overview -Carbon ships a basic tile structure that responds to the grid. Based on the -layout structure, tiles can contain type, images and/or a block of color. As -tiles have no pre-set styles for the content within them, the tile component -usage guidance is purposefully high-level. It focuses specifically on the tile -itself, not the structure of the information or interactive elements that the -tile contains—that type of information will be found in the card pattern. +Carbon ships a basic tile structure that responds to the grid. Tiles can contain +type, images and/or blocks of color. However, Carbon tiles have no pre-set +styles for the content inside. Tile usage guidance focuses solely on basic tile +functions—not the information hierarchy within the tile or guidance around +additional interactive elements that the tile may contain. + + + + +![Example image of tiles on the dashboard](images/tile-usage-1.png) + + + #### Tiles versus Cards -Tiles are simple and foundational. Cards can be very complex. They are built -upon the tile foundation and have various patterns, multiple actions, overflow -menus, selectable features, etc. Carbon does not have a Card pattern yet, but we -link out to several card patterns within our pattern asset library (PAL) -ecosystem below: +Tiles are simple and foundational. Cards can be very complex. Cards are built +upon the tile foundation and have various patterns of information hierarchy, +multiple actions, overflow menus, selectable features, etc. Carbon does not have +a Card pattern yet, but we link out to several card patterns within our pattern +asset library (PAL) ecosystem below: - [Productive vs. Expressive cards](https://pages.github.ibm.com/cdai-design/pal/components/card/overview/) (Carbon for Cloud & Cognitive) @@ -61,13 +70,26 @@ ecosystem below: ### When to use Tiles are reusable components that provide shortcuts to building cards and other -modules. Here are some common use cases for when to use tiles: +modules. Use tiles to group related information in flexible containers. Here are +some common use cases for when to use tiles: - To contain related groupings of information or actions - To guide users to take actions or navigate - To present options for single or multiple selections - To hide or show large amounts of content +### When not to use + +Tiles reside in the same plane as the background layer—they do not have +**elevation**. Tiles organize essential information and have the same visual +hierarchy as content within the same page. + +Do not add a drop shadow to tiles and use them on the screen to reveal secondary +information, actions, or notifications. Use [modals](/components/modal/usage), +[popover](/components/popover/usage), and +[dialogs](https://carbondesignsystem.com/patterns/dialog-pattern/) which have +elevation and are appropriate for this function instead. + ## Live demo + +The experimental tiles are applicable to clickable, selectable and expandable +tiles — not to base tiles. + + + Tiles can function or be implemented in four ways—base, clickable, selectable, or expandable. These variations of tiles are flexible enough to support a -variety of different use cases when building more complicating card features. +variety of different use cases when building more complicated card features. | Variant | Purpose | | ------------------------- | -------------------------------------------------------------------------------------------------------- | | [Base](#base) | For high-level, short, and digestible content pieces such as features, plans, or services offered | | [Clickable](#clickable) | For prompting an action, navigating or directing to other pieces of information about the subject matter | | [Selectable](#selectable) | For presenting options to a user in a structured manner, such as a set of pricing plans | -| [Expandable](#expandable) | For hiding and revealing a large amount of content in order to focus on specific pieces of info | +| [Expandable](#expandable) | For hiding and revealing a large amount of content to focus on specific pieces of information | ### Base Base tiles are used to display information to the user, such as features or services offered. Base tiles are often seen on marketing pages to promote -content or on dashboards that are highly interactive. These tiles can have -internal calls-to-action (CTAs), such as a [button](/components/button/usage) or -a [link](/components/link/usage). +content or on highly-interactive dashboards. These tiles can have internal +calls-to-action (CTAs), such as a [button](/components/button/usage) or a +[link](/components/link/usage). - + -![Example image of base tiles.](images/tile-usage-1.png) +![Example image of base tiles](images/tile-usage-2.png) ### Clickable -Clickable tiles can be used as navigational items, where the entire tile is a -clickable state, which redirects the user to a new page. Clickable tiles cannot -contain separate internal CTAs but can contain pictograms, icons, or media such -as illustrations or images. +Clickable tiles can be used as navigational elements that redirect the user to a +new page. In these situations, the entire tile is in a clickable state. Due to +accessibility concerns, clickable tiles cannot contain separate internal CTAs +but can contain pictograms, icons, or media such as illustrations or images. - + -![Example image of clickable tiles](images/tile-usage-2.png) +![Example image of clickable tiles](images/tile-usage-3.png) @@ -324,20 +353,20 @@ Selectable tiles work well for presenting options to a user in a structured manner, such as a set of pricing plans. Selectable tiles may contain internal CTAs (like links to docs) if the internal CTA is given its own click target. -Selectable tiles can either have a single select state working like a +Selectable tiles can either have a single-select state working like a [radio button](/components/radio-button/usage), or multi-select state working as a [checkbox](/components/checkbox/usage). -![Selectable radio-button / single select tiles](images/tile-usage-3.png) +![Example image of radio-button/single-select tile](images/tile-usage-4.png) -Single select tiles work like radio-buttons +Single-select tiles -![Selectable checkbox / multi-select tiles](images/tile-usage-4.png) +![Example image of checkbox/multi-select tile](images/tile-usage-5.png) -Multi-select tiles work like checkboxes +Multi-select tiles @@ -348,13 +377,18 @@ Expandable tiles are helpful for hiding and showing large amounts of content to a user. When expanded, tiles push content down the page. They allow the user to specifically focus on featured content while having access to the rest of the information. Expandable tiles can contain internal CTAs (like links to docs) if -they are given their own click targets and the click target is reduced to only -the chevron icon. +they are given their own click targets. -![Example image of expandable tiles/ single select tiles](images/tile-usage-5.gif) +![Example image of expandable tile with interactive elements](images/tile-usage-6.png) + +Expandable tile with interactive elements + +![Example image of expandable tile without interactive elements](images/tile-usage-7.png) + +Expandable tile without interactive elements @@ -366,88 +400,95 @@ the chevron icon. -![Tile anatomy](images/tile-usage-6.png) +![Tile anatomy](images/tile-usage-8.png) -1. **Container**: Includes a title, optional label, and the close icon. +1. **Image (optional)** : The image size follows standard Carbon aspect ratios + (in this case, with a default size of 4:3) + +2. **Container**: Contains the content area -2. **Content area**: Contains the information and/or controls needed to complete +3. **Content area**: Contains the information and/or controls needed to complete the modal's task. It can include message text and components. ### Sizing The **width** varies depending on three basic grid modes: wide, narrow, and -condensed. The **height** varies depending on the amount of content placed -within it, but still follows the aspect ratio. +condensed. Tile **height** varies depending on the amount of content placed +within it, but applies the +[spacing](https://carbondesignsystem.com/guidelines/spacing/overview/) and +follows Carbon's standard +[aspect ratios](https://www.carbondesignsystem.com/guidelines/2x-grid/overview/#aspect-ratio). +The minimum height starts with 2:1 aspect ratio. As the content grows, set +vertical spacing between sections within the content area. -[Aspect ratios](https://www.carbondesignsystem.com/guidelines/2x-grid/overview/#aspect-ratio) -are written out as a formula of width to height, such as 3:2. It’s important to -remember that while two images can have the same aspect ratio, they can have -varying images sizes. +### Alignment - - +#### Icon and call-to-action button -![Example image of expandable tiles.](images/tile-usage-7.png) +On clickable tiles, use the arrow icon as default with the `$icon-interactive` +token. Place the icon at the bottom right to indicate navigation. Avoid +confusing the user with multiple click targets (like interactive links or +buttons) on clickable tiles. -Tiles get wider as the browser gets larger + + - - +![Example of "do" on clickable tile](images/tile-usage-9.png) -### Alignment + + + -Always strive for left alignment whenver possible. Type in tiles should always -be left aligned. Icons or icon buttons can be aligned to either left or right -edge depending on the tiles’ complexity. +![Example of "do" on clickable tile](images/tile-usage-10.png) -For example: In situations where there are both an icon or pictogram with an -icon button, place the icon or pictorgram in the lower left corner of the tile -and move the icon button (action) to the right corner. + + - -![Do left align icon, link, or text when it is by itself.](images/tile-usage-8.png) + + +![Example of "do" on clickable tile](images/tile-usage-11.png) - + -![Do not right align an icon, link, or text when it is by itself.](images/tile-usage-9.png) +![Example of "do not" on clickable tile](images/tile-usage-12.png) - +On base tiles, place the interactive link at the bottom left or the button at +the bottom to indicate call-to-action items. - + + -![Do move icon to the right when there is an icon or pictogram.](images/tile-usage-10.png) +![Example of "do" on base tile](images/tile-usage-13.png) - + -![Do move icon to the right when there is text or link.](images/tile-usage-11.png) +![Example of "do" on base tile](images/tile-usage-14.png) -### Placement - #### Tile groups -Tile groups are a useful way of aligning tiles that have a strong relationship. -Tile groups flow horizontally left to right usually and have similar -hierarchical importance like navigation or catalog tiles. +Tile groups are useful for aligning tiles that have a strong relationship. Tile +groups flow horizontally from left to right usually and have similar +hierarchical importance as with navigation or catalog tiles. -![Example image of how tiles are built on the wide grid.](images/tile-usage-13.png) +![Example image of how tiles are built on the wide grid.](images/tile-usage-15.png) Example image of how tiles are built on the wide grid. @@ -457,17 +498,24 @@ hierarchical importance like navigation or catalog tiles. -![Example image of how tiles are built on the narrow grid.](images/tile-usage-14.png) +![Example image of how tiles are built on the narrow grid.](images/tile-usage-27.png) Example image of how tiles are built on the narrow grid. + + +The image below should show the icons in blue color instead of gray. We will +update this soon. + + + -![Example image of how tiles are built on the condensed grid.](images/tile-usage-15.png) +![Example image of how tiles are built on the condensed grid.](images/tile-usage-28.png) Example image of how tiles are built on the condensed grid. @@ -480,98 +528,43 @@ There are three basic layouts for tiles: **standard**, **vertical masonry**, and **horizontal masonry**. The standard layout will be the most commonly used version. -- Standard layout tiles are the same in height and width as the rest of them in +- Standard layout tiles are the same in height and width as all other tiles in the group. -- A vertical masonry layout can vary in height, but is consistent in width. -- A horizontal masonry layout can vary in width. Rows of tiles may vary in - height, but the tiles within a row should be consistent in height. +- In a vertical masonry layout, tiles can vary in height, but are consistent in + width. +- In a horizontal masonry layout, tiles can vary in width; different rows of + tiles may vary in height, but tiles within a row should be consistent in + height. - - -![Standard layout for tiles](/images/tile-usage-16.png) - -Standard layout for tiles - - - - - -![An example of the standard layout](/images/tile-usage-17.png) - -An example of the standard layout - - - - - - - -![Vertical masonry layout for tiles](/images/tile-usage-18.png) - -Vertical masonry layout for tiles - - - - - -![An example of the vertical masonry layout](images/tile-usage-19.png) - -An example of the vertical masonry layout - - - - - - - -![Horizonal masonry layout for tiles](/images/tile-usage-20.png) - -Horizonal masonry layout for tiles - - - - + -![An example of the horizonal masonry layout](images/tile-usage-21.png) +![Layouts for tiles](/images/tile-usage-18.png) -An example of the horizonal masonry layout + + Examples of tile layouts: standard, vertical masonry, and horizontal masonry. + -### Elevation - -Tiles reside in the same plane as the background layer—they do not have -elevation. Do not add drop shadows to tiles. Tiles organize essential -information and have the same visual hierarchy as content within the same page. -Modals, popovers, and dialogs do have elevation but are not inherently part of -the user's main workstream and are invoked on screen to reveal secondary -information, actions, or notifications. - -### Call-to-actions - -For **base, selectable, and expandable tiles**, use `$link-01` when icon and -link are paired together or use `$interactive-04` when the icon stands alone. - -For **clickable tiles**, don’t highlight text or icons to avoid them being -confused as links or clickable. +## Universal behaviors - - - +The behaviors listed in this section are universal across all tile variants. For +behaviors that are unique to each variant, see each of the component variants +sections below. -![Do use text or icon for clickable tiles if needed.](images/tile-usage-22.png) +### States - - +For detailed visual information about the various states for this component, see +the [Style](https://carbondesignsystem.com/components/tile/style) tab. -![Do not use link or highlight the icon color for clickable tiles.](images/tile-usage-23.png) - - - - -## Behaviors +| State | When to use | +| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | +| _Enabled_ | When a tile is live but a user is not directly interacting with it. This is commonly referred to as the default or normal state of the component | +| _Hover_ | When a user is hovering over the tile with the mouse cursor to interact with it (except base tile) | +| _Focus_ | When a user `tabs` to or clicks on the tile, it becomes focused, indicating the user has successfully navigated to the component (except base tile) | +| _Selected_ | When a user `enters` or clicks on the single-select tile or the multi-select tile to select an option or multiple options | ### Interactions @@ -598,22 +591,14 @@ base tiles. ![Base tiles are static, except buttons or links .](images/tile-usage-25.png) -Base tiles are static, except buttons or links . +Base tiles are static, except buttons or links. -Expandable tiles can either be triggered as a whole or only contain internal -CTA's if they are given their own click targets and the tile’s click target is -reduced to only the chevron icon. - - - -**Note:** Clickable targets are currently not available in coding. Teams can -override the code to make smaller click targets while we're updating this in the -future. - - +Expandable tiles can either be triggered as a whole or contain internal CTAs +only if they are given their own click targets. In these cases, the tile’s click +target is reduced to only the icon button. @@ -628,12 +613,12 @@ future. Specific keyboard interactions will depend on the type of tile you are using and what content it contains but all types of tiles can take focus. -| Key | Interaction | -| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Tab | Move forward through tiles (if tiles themselves are clickable) and interactive elements within the tiles in a logical order | -| Shift + Tab | Move backward through tiles (if tiles themselves are clickable) and interactive elements within the tiles in a logical order | -| Return or Enter | Return or enter will open the tile (if the tile itself is clickable). If the tile is not clickable but has interactive elements, their corresponding actions are performed | -| Space | If the tile is selectable, the space bar will toggle tile selection | +| Key | Interaction | +| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Tab | Move forward through tiles (if tiles themselves are clickable) and interactive elements within the tiles in a logical order | +| Shift + Tab | Move backward through tiles (if tiles themselves are clickable) and interactive elements within the tiles in a logical order | +| Return or Enter | Return or enter will open the tile (if the tile itself is clickable). If the tile is not clickable but has interactive elements, their corresponding actions are performed. | +| Space | If the tile is selectable, the space bar will toggle tile selection. | ## Related @@ -644,21 +629,27 @@ To learn more about how to build tiles correctly on the grid, see Carbon’s #### Aspect ratio -Aspect ratio is important when building tiles and images. For further guidance, -see Carbon’s -[Aspect ratio](https://www.carbondesignsystem.com/guidelines/2x-grid/overview/#aspect-ratio) +The aspect ratio is important when building tiles and images. For further +guidance, see Carbon’s +[aspect ratio](https://www.carbondesignsystem.com/guidelines/2x-grid/overview/#aspect-ratio) and its [implementation](https://www.carbondesignsystem.com/guidelines/2x-grid/implementation#screen-regions). #### Buttons When in doubt, use full-span button alignment within tiles. For further -guidance, see Carbon’s [buttons](/components/buttons/usage). +guidance, see Carbon’s +[buttons](https://carbondesignsystem.com/components/button/usage/). #### Link Link has variants depending on the context. For further guidance, see Carbon’s -[link](/components/buttons/usage). +[link](https://carbondesignsystem.com/components/link/usage/). + +#### Spacing + +Spacing helps deliver clear and functional layouts. For further guidance, see +Carbon’s [spacing](https://carbondesignsystem.com/guidelines/spacing/overview/). ## References diff --git a/src/pages/components/tooltip/images/tooltip-accessibility-1.png b/src/pages/components/tooltip/images/tooltip-accessibility-1.png index 6ea0e0bb6ab..381b911a55c 100644 Binary files a/src/pages/components/tooltip/images/tooltip-accessibility-1.png and b/src/pages/components/tooltip/images/tooltip-accessibility-1.png differ diff --git a/src/pages/components/tooltip/images/tooltip-accessibility-2.png b/src/pages/components/tooltip/images/tooltip-accessibility-2.png index b9564c3ffcf..d67f16c3700 100644 Binary files a/src/pages/components/tooltip/images/tooltip-accessibility-2.png and b/src/pages/components/tooltip/images/tooltip-accessibility-2.png differ diff --git a/src/pages/components/tooltip/images/tooltip-accessibility-3-do.png b/src/pages/components/tooltip/images/tooltip-accessibility-3-do.png index b72b1636081..4d67732c89f 100644 Binary files a/src/pages/components/tooltip/images/tooltip-accessibility-3-do.png and b/src/pages/components/tooltip/images/tooltip-accessibility-3-do.png differ diff --git a/src/pages/components/tooltip/images/tooltip-accessibility-3-dont.png b/src/pages/components/tooltip/images/tooltip-accessibility-3-dont.png index e5713fe8211..0a062cec6dd 100644 Binary files a/src/pages/components/tooltip/images/tooltip-accessibility-3-dont.png and b/src/pages/components/tooltip/images/tooltip-accessibility-3-dont.png differ diff --git a/src/pages/developing/react-tutorial/overview.mdx b/src/pages/developing/react-tutorial/overview.mdx index 9d040077b64..95386037c65 100644 --- a/src/pages/developing/react-tutorial/overview.mdx +++ b/src/pages/developing/react-tutorial/overview.mdx @@ -34,13 +34,13 @@ components, while introducing web development best practices along the way. -Here's a [preview](https://react-step-6--carbon-tutorial.netlify.com) of what -you will build: +Here's a [preview](https://v11-react-step-5--carbon-tutorial.netlify.app) of +what you will build: Fork, clone and branch Install dependencies -Create access token -Connect to Apollo Fetch data Populate data table Add loading @@ -42,24 +40,21 @@ repository information in a data table. ### Preview -The [GitHub GraphQL API](https://docs.github.com/en/graphql) is very well -documented, and even though the focus of this tutorial isn't learning and using -GraphQL, it's a great opportunity to fetch Carbon-related data for this Carbon +The [Github REST API](https://docs.github.com/en/rest?apiVersion=2022-11-28) is +very well documented, we'll use it to fetch Carbon-related data for this Carbon tutorial. -To do so, we'll be using Apollo Client, the front-end component of the -[Apollo Platform](https://www.apollographql.com/docs/intro/platform/). Apollo -provides several open source tools for using GraphQL throughout your -application’s stack. Apollo Client is a sophisticated GraphQL client that -manages data and state in an application. +To do so, we'll be using +[Octokit Core](https://github.com/octokit/core.js/#readme), a client that makes +it easy to interact with Github's APIs. -A [preview](https://react-step-4--carbon-tutorial.netlify.com) of what you will -build (see repositories page): +A [preview](https://v11-react-step-4--carbon-tutorial.netlify.app) of what you +will build (see repositories page): - - -``` - -With: +Directly below all your imports, initialize an octokit client which we'll use to +query our `RepoTable` data: -```jsx path=src/index.js - - - - - +```javascript path=src/content/RepoPage/RepoPage.js +const octokitClient = new Octokit({}); ``` -## Fetch data +### API Request -### Imports +Next, we'll assemble our Github API request to fetch a list of repositories that +belong to the `carbon-design-system` Github organization. We'll do this by using +a `useEffect` hook that will use octokit to query Github's API +[repositories endpoint](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-organization-repositories). -Add the following imports below the react import in `RepoPage.js`: +Let's declare a `useEffect` hook immediately below the component definition. +We'll use this to query Github's API when the component first renders: ```javascript path=src/content/RepoPage/RepoPage.js -import { gql, useQuery } from '@apollo/client'; -``` - -### Query - -Next we'll assemble our GraphQL query to fetch only the data we need from the -GraphQL API. We'll do this using the `gql` helper we just imported. The `gql` -helper lets you write GraphQL queries using interpolated strings (backticks) in -JavaScript. In addition, we'll be using the `useQuery` component from -`@apollo/client` which gives us some great information about our query's loading -state in addition to the data. - -You can use GitHub's -[explorer](https://docs.github.com/en/graphql/overview/explorer) tool to write -and test your own queries. Try copying the query below and experiment with -changing the properties. You can also click the "Docs" button in the top right -of the explorer to view all of the available data and query parameters. - -If you'd like some more information regarding writing queries and using the -Query component, we recommend -[Apollo's documentation](https://www.apollographql.com/tutorials/fullstack-quickstart/fetching-data-with-queries) -on this topic. - -Add this after your imports: - -```graphql path=src/content/RepoPage/RepoPage.js -const REPO_QUERY = gql` - query REPO_QUERY { - # Let's use carbon as our organization - organization(login: "carbon-design-system") { - # We'll grab all the repositories in one go. To load more resources - # continuously, see the advanced topics. - repositories(first: 75, orderBy: { field: UPDATED_AT, direction: DESC }) { - totalCount - nodes { - url - homepageUrl - issues(filterBy: { states: OPEN }) { - totalCount - } - stargazers { - totalCount - } - releases(first: 1) { - totalCount - nodes { - name - } - } - name - updatedAt - createdAt - description - id - } +const RepoPage = () => { + useEffect(() => { + async function getCarbonRepos() { + const res = await octokitClient.request('GET /orgs/{org}/repos', { + org: 'carbon-design-system', + per_page: 75, + sort: 'updated', + direction: 'desc', + }); + + if (res.status === 200) { + console.log(res.data); + } else { + console.log('Error obtaining repository data'); } } - } -`; + + getCarbonRepos(); + }, []); +... ``` -### Helpers +At this point, if you navigate to the `Repositories` page in your running app +and view your browser's console (e.g. +[Chrome DevTools](https://developer.chrome.com/docs/devtools/)), you should see +the response from GitHub! -Below that, we should have our table headers set in a previous step that are -good to go. Let's also keep our example rows below that. +### Helpers Our last column in the data table will be a comma-separated list of repository and home page links, so let's create a component called `LinkList`. @@ -307,73 +221,88 @@ const getRowItems = (rows) => rows.map((row) => ({ ...row, key: row.id, - stars: row.stargazers.totalCount, - issueCount: row.issues.totalCount, - createdAt: new Date(row.createdAt).toLocaleDateString(), - updatedAt: new Date(row.updatedAt).toLocaleDateString(), - links: , + stars: row.stargazers_count, + issueCount: row.open_issues_count, + createdAt: new Date(row.created_at).toLocaleDateString(), + updatedAt: new Date(row.updated_at).toLocaleDateString(), + links: , })); ``` -### Query component +### Populate data table -At this point, we should run our query and `console.log()` the results to verify -that the request is working. +Now that we have our data, let's dispose of our dummy `rows` and populate the +data table with real data. -The `useQuery` component from `@apollo/client` lets us render different content -based on the state of our request. When `loading` is true, we'll render -`Loading...` for the time being. If there's an issue, we'll render the -corresponding error message using `error`. +First, towards the top of `RepoPage.js` delete the `rows` array because we no +longer need the example rows. -Finally, if neither of those are true, it means we have our data! One nice -advantage of GraphQL is that as long as there are no errors, we can be certain -the properties on the data we requested aren't `null`. +Next, let's add a couple variables that will help us store useful information +when fetching the data and keep track of the loading state. -We need to define the `loading`, `error`, and `data` using `useQuery`. We will -update the beginning of the `RepoPage` component with the following. +We'll be using [React Hooks](https://reactjs.org/docs/hooks-intro.html) again to +manage our state. + +Import React's [useState](https://reactjs.org/docs/hooks-state.html) by +modifying the `React` import. ```javascript path=src/content/RepoPage/RepoPage.js -const { loading, error, data } = useQuery(REPO_QUERY); +import React, { useEffect, useState } from 'react'; ``` -Notice how we're passing the `REPO_QUERY` that we previously defined into the -`useQuery` hook. +Then, inside the `RepoPage` component: ```javascript path=src/content/RepoPage/RepoPage.js -if (loading) { - return 'Loading...'; -} +const RepoPage = () => { + const [loading, setLoading] = useState(true); + const [error, setError] = useState(); + const [rows, setRows] = useState([]); +... +``` -if (error) { - return `Error! ${error.message}`; -} +Now, instead of using `console.log` to log the github data response, let's treat +the response data by passing it through our `getRowItems` helper and saving the +result in our new `rows` variable. Replace the `console.log(res.data);` line +inside `if (res.status === 200)` with: -if (data) { - // If we're here, we've got our data! - console.log(data.organization); -} +```javascript path=src/content/RepoPage/RepoPage.js +setRows(getRowItems(res.data)); ``` -The page will look the same as we're still rendering our static example rows, -but if you view your browser's console (e.g. -[Chrome DevTools](https://developer.chrome.com/docs/devtools/)), you should see -the response from GitHub! +Let's also replace our error log line inside the `else` statement with: -## Populate data table +```javascript path=src/content/RepoPage/RepoPage.js +setError('Error obtaining repository data'); +``` -Now that we have that data, let's populate the data table. Replace -`console.log(data.organization);` inside `if (data)` with the following that -destructures the `data.organization` object. Once we have the repositories, we -can call our `getRowItems()` helper to build the data table rows. +To complete our `getCarbonRepos` function, let's set the loading state to false +right after the `else` statement: + +```javascript path=src/content/RepoPage/RepoPage.js +... + if (res.status === 200) { + setRows(getRowItems(res.data)); + } else { + setError('Error obtaining repository data'); + } + setLoading(false); +... +``` -Here will will also add our grid we previously made. The `data` should now look -like this: +Finally, let's modify our component's `return()` statement to display different +information depending on the states of our request: loading, error or complete. +Replace the current return statement with: ```javascript path=src/content/RepoPage/RepoPage.js -// If we're here, we've got our data! -const { repositories } = data.organization; -const rows = getRowItems(repositories.nodes); +if (loading) { + return 'Loading...'; +} +if (error) { + return `Error! ${error}`; +} + +// If we're here, we've got our data! return ( @@ -383,9 +312,6 @@ return ( ); ``` -Then, towards the top of `RepoPage.js` delete the `rows` array because we no -longer need the example rows. - ### Render repository descriptions The data table component and its pieces use a common React pattern called @@ -437,7 +363,7 @@ component. We could stop here, but there's more to be done! Let's replace the [DataTableSkeleton component](https://react.carbondesignsystem.com/?path=/story/components-datatable--skeleton). To do so, back to `RepoPage.js`, add the `DataTableSkeleton` import by modifying -the existing `carbon-components-react` import. +the existing `@carbon/react` import. ```javascript path=src/content/RepoPage/RepoPage.js import { Link, DataTableSkeleton, Grid, Column } from '@carbon/react'; @@ -472,18 +398,8 @@ you may need to fetch new data each time that you interact with the pagination component, but for simplicity, we're going to make one request to fetch all data, and then paginate the in-memory row data. -We'll be using [React Hooks](https://reactjs.org/docs/hooks-intro.html) to -manage our state. - -Import React's [useState](https://reactjs.org/docs/hooks-state.html) by -modifying the `React` import. - -```javascript path=src/content/RepoPage/RepoPage.js -import React, { useState } from 'react'; -``` - -Then initialize the new state variables that we'll use for pagination as the -first lines inside the `RepoPage`. +Initialize the new state variables that we'll use for pagination as the first +lines inside the `RepoPage`. ```javascript path=src/content/RepoPage/RepoPage.js const RepoPage = () => { @@ -620,7 +536,7 @@ troubleshooting notes that may help. Finally, visit [carbon-tutorial](https://github.com/carbon-design-system/carbon-tutorial) to "Compare & pull request". In doing so, make sure that you are comparing to -`react-step-3` into `base: react-step-3`. +`v11-react-step-3` into `base: v11-react-step-3`. diff --git a/src/pages/developing/react-tutorial/step-4.mdx b/src/pages/developing/react-tutorial/step-4.mdx index 6996bfcd8c4..106c57e7010 100644 --- a/src/pages/developing/react-tutorial/step-4.mdx +++ b/src/pages/developing/react-tutorial/step-4.mdx @@ -49,13 +49,13 @@ Next, we're going to use Carbon assets to build application-specific components. We'll do so by including accessibility and responsive considerations all throughout. -A [preview](https://react-step-5--carbon-tutorial.netlify.com) of what you'll -build (see bottom of page): +A [preview](https://v11-react-step-5--carbon-tutorial.netlify.app) of what +you'll build (see bottom of page): Fork, clone and branch -Create IBM Cloud account Build for production -Create manifest file -Create static file -Deploy app +Deploying to Github Pages Submit pull request ## Preview -A [preview](https://react-step-6--carbon-tutorial.netlify.com) of what you'll -build (visually no different, but built for production): +A [preview](https://v11-react-step-5--carbon-tutorial.netlify.app) of what +you'll build (visually no different, but built for production): @@ -103,12 +100,6 @@ yarn start You should see something similar to where the [previous step](/developing/react-tutorial/step-4) left off. -## Create IBM Cloud account - -Before we get started, -[create an IBM Cloud account](https://cloud.ibm.com/registration) if you don't -already have one, as we'll be deploying there in a bit. - ## Build for production Before we deploy our app, we need to create an optimized production build with @@ -130,125 +121,46 @@ Create React App, go ahead and check out their [production build guidelines](https://facebook.github.io/create-react-app/docs/production-build) for a full description of what's happening. -## Create manifest file - -Now that we have a production build, let's get it on the cloud. We're going to -use -[staticfile-buildpack](https://github.com/cloudfoundry/staticfile-buildpack.git) -to deploy our webapp. Since this is a Cloud Foundry buildpack, we'll be using -the `cf` command line interface (CLI). If running `cf --help` doesn't work for -you, chances are you need to -[install the CLI](https://docs.cloudfoundry.org/cf-cli/install-go-cli.html). - - - -**Note:** If unfamiliar with buildpacks, the -[staticfile buildpack docs](https://docs.cloudfoundry.org/buildpacks/staticfile/index.html) -has good definitions and configuration documentation. - - - -With the Cloud Foundry CLI installed, next, we need to create a `manifest.yml` -file in the root of the project. To prevent multiple apps trying to use the -`carbon-tutorial` name, replace `USERNAME` with your GitHub username below to -make sure our apps are uniquely named. - -```bash path=manifest.yml ---- -applications: - - name: carbon-tutorial-USERNAME - memory: 64M - buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git -``` - - - -**Note:** With this set-up we're still using a GitHub personal access token -saved in `.env.local`. If you haven't created a GitHub access token yet, see -[step 3](/developing/react-tutorial/step-3#create-access-token). You can put the -environment variable in the manifest file, or manually add it in the IBM Cloud -dashboard, but since we're building off previous tutorial steps nothing more is -needed. - - - -## Create static file - -Create a new static file in the root of the project named `Staticfile`. This -tells the app to deploy from the `build` folder and not the root of the project. - -```bash path=Staticfile -root: build -``` - -### Cloud Foundry ignore - -After telling Cloud Foundry what to include, we can also specify what to ignore. -Create a top-level `.cfignore` file. Cloud Foundry doesn't let you push -read-only files (specifically, files with permissions < `400`), so to prevent -issues with the deploy, add: - -```bash path=.cfignore -node_modules/.cache -``` +## Deploying to Github Pages -You can speed up deploys by decreasing the files uploaded through cloud foundry. -To accomplish this, ignore any folder not required by the production application -on IBM Cloud. +Next we'll be deploying to +[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) +which allows you to host your files directly from your repository in GitHub. -In our case we can ignore everything except the `build/` directory and -`Staticfile`. To speed up our deploys change `.cfignore` to: +If you forked the tutorial earlier by copying only the `main` branch, you will +have to create a `gh-pages` branch with the following steps. Otherwise, if you +already have an existing `gh-pages` branch (you can easily check by going to +your repository on `github.com` and checking the existing branches), skip the +following `git` commands. -```bash path=.cfignore -* - -!Staticfile -!build -``` - -## Deploy app - -Login to IBM Cloud with: +To do this, we'll first commit our `build` folder so that git knows we have a +subtree (subfolder with our site). ```bash -cf login -a https://api.us-south.cf.cloud.ibm.com --sso +git add build && git commit -m "chore(deploy): publish build files" ``` -Deploy app using the `cf push` command. Since `manifest.yml` is in our root -directory, we don't need to specify it in the push command. But, if you have -multiple manifest files that target different environments, it's good practice -to specify the file. - - - -**Note:** This step assumes your spaces are in the US South region. To -successfully deploy, you might need to update the region code (e.g. -`api.[REGION].cf.cloud.ibm.com`) to the region where your spaces were created, -or create a space in the US South region. -[Learn more.](https://cloud.ibm.com/docs/overview?topic=overview-whatsnew&origin_team=T02M79KSB#new-cloud-foundry-api-endpoints) - - +Then we'll use `subtree push` to push to the `gh-pages` branch on Github. ```bash -cf push -f manifest.yml +git subtree push --prefix build origin gh-pages ``` -To make it easy on ourselves by not needing to remember that command, let's add -a script in `package.json`. We can combine the build and deploy steps to make -sure we only deploy immediately after running the build. In the `"scripts"` -object in `package.json`, add: +To have GitHub Pages point to the `gh-pages` branch, go to your forked Carbon +tutorial repository on `github.com`. Go to your "Settings" and under the "Pages" +tab, specify the branch, `gh-pages`, as your source. -```bash path=package.json -"deploy": "rm -rf ./build && yarn build && cf push -f manifest.yml" -``` +![Screenshot of Github settings dashboard](../shared/step-5/images/deploy-on-github-pages.png) -Next time you want to deploy, you can simply run `yarn deploy`. +Once you click save, you should be able to see your site published at the +`*.github.io/carbon-tutorial` link shown on the page. + +Congratulations! Your work is now hosted on GitHub Pages! ## Submit pull request That does it! We're going to submit a pull request to verify completion of this -tutorial step. In doing so, **please include the mybluemix.net URL for your -deployed app in your pull request description**. +tutorial step. ### Continuous integration (CI) check @@ -266,18 +178,12 @@ has troubleshooting notes that may help. -### Git commit and push - -Before we can create a pull request, stage and commit all of your changes: - -```bash -git add --all && git commit -m "feat(tutorial): complete step 5" -``` +### Git push -Then, push to your repository: +Push to your repository: ```bash -git push origin react-step-5 +git push origin v11-react-step-5 ``` @@ -293,7 +199,7 @@ troubleshooting notes that may help. Finally, visit [carbon-tutorial](https://github.com/carbon-design-system/carbon-tutorial) to "Compare & pull request". In doing so, make sure that you are comparing to -`react-step-5` into `base: react-step-5`. +`v11-react-step-5` into `base: v11-react-step-5`. diff --git a/src/pages/developing/shared/step-5/images/deploy-on-github-pages.png b/src/pages/developing/shared/step-5/images/deploy-on-github-pages.png new file mode 100644 index 00000000000..cf1472ea732 Binary files /dev/null and b/src/pages/developing/shared/step-5/images/deploy-on-github-pages.png differ diff --git a/src/pages/guidelines/content/writing-style.mdx b/src/pages/guidelines/content/writing-style.mdx index 84b054782e0..a11ce0040eb 100755 --- a/src/pages/guidelines/content/writing-style.mdx +++ b/src/pages/guidelines/content/writing-style.mdx @@ -421,7 +421,7 @@ offerings be inclusive in their language. IBMers who are unsure about a particular word can search the [IBM Terminology database](http://ibm.biz/termsearch), and can also -[submit a term for review](http://tlwi.w3-969.ibm.com/standards/terminology/feedbackform2.html). +[submit a term for review](https://w3.terminology.g11n.ibm.com/standards/terminology/feedback). For more information about this important work, see the [Inclusive IT Terminology](https://w3.ibm.com/w3publisher/inclusive-it-terminology/take-action) diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-button-2.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-button-2.png index a78c1fc9dba..4b8d81d56e4 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-button-2.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-button-2.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-buttons.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-buttons.png index f854b0c2aed..b9b8c8a16d1 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-buttons.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-buttons.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-form.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-form.png index fa7186a087c..92cbbe82936 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-form.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-form.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-1.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-1.png index 348cef7b252..4f52edc1866 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-1.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-1.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-2.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-2.png index 438bf58edd3..a90e777e033 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-2.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-inputs-2.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-overview.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-overview.png index cba1f67ca88..17f0b361f4a 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-overview.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-overview.png differ diff --git a/src/pages/patterns/fluid-styles/images/fluid-pattern-placement.png b/src/pages/patterns/fluid-styles/images/fluid-pattern-placement.png index 1956329bb20..4df5dbcc198 100644 Binary files a/src/pages/patterns/fluid-styles/images/fluid-pattern-placement.png and b/src/pages/patterns/fluid-styles/images/fluid-pattern-placement.png differ diff --git a/src/pages/patterns/fluid-styles/images/form-usage-4-do.png b/src/pages/patterns/fluid-styles/images/form-usage-4-do.png index 0f156f6e7c6..8f36a0ac238 100644 Binary files a/src/pages/patterns/fluid-styles/images/form-usage-4-do.png and b/src/pages/patterns/fluid-styles/images/form-usage-4-do.png differ diff --git a/src/pages/patterns/fluid-styles/images/form-usage-4-dont.png b/src/pages/patterns/fluid-styles/images/form-usage-4-dont.png index cbd8fb46b7c..cba18917f84 100644 Binary files a/src/pages/patterns/fluid-styles/images/form-usage-4-dont.png and b/src/pages/patterns/fluid-styles/images/form-usage-4-dont.png differ diff --git a/yarn.lock b/yarn.lock index 88177e145f3..d0f63fb758f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1195,11 +1195,6 @@ resolved "https://registry.yarnpkg.com/@carbon/feature-flags/-/feature-flags-0.12.0.tgz#5833161a4449541113d416708967eae4e12ce6cf" integrity sha512-7jspPbQNk//S787QDtDI/jAGEt2MKc0aHJEQ32UFXXNb8hIr/VpVQTTu7OZoUiSF23F3Dsnr4HcEXsj6Nq9Ikw== -"@carbon/feature-flags@^0.9.0": - version "0.9.0" - resolved "https://registry.yarnpkg.com/@carbon/feature-flags/-/feature-flags-0.9.0.tgz#13ad061bf7977d65326b35ff87d70419f6132587" - integrity sha512-uNCRkxsNwLdJVNwQ5S5vrLAm4yawWzhFBwyP9EgXVmRzJH85Aim+miC+QNjRXntJDYhZYDuLABTeb3VD692ypA== - "@carbon/grid@^11.11.0": version "11.11.0" resolved "https://registry.yarnpkg.com/@carbon/grid/-/grid-11.11.0.tgz#9cd04bb7627013c6e9a8d2db430dca75e8348c5b" @@ -1247,15 +1242,6 @@ "@carbon/telemetry" "0.1.0" prop-types "^15.7.2" -"@carbon/icons-react@^11.9.0": - version "11.9.0" - resolved "https://registry.yarnpkg.com/@carbon/icons-react/-/icons-react-11.9.0.tgz#9f74e041f3d5c0382ce35c43fa8b86d71db71484" - integrity sha512-T8itc4VMRPWeDjt48WXME63INhYswixMTFiJ+9qN95o2k/+L3/RCJeg1E5zUS2RXJXeZ+vqpEhNqhZ3uTmwB5g== - dependencies: - "@carbon/icon-helpers" "^10.34.0" - "@carbon/telemetry" "0.1.0" - prop-types "^15.7.2" - "@carbon/icons@^11.16.0": version "11.16.0" resolved "https://registry.yarnpkg.com/@carbon/icons/-/icons-11.16.0.tgz#a13f3b172c0da3be93d08a7458f31ab0d2e3575d" @@ -1309,34 +1295,7 @@ resolved "https://registry.yarnpkg.com/@carbon/pictograms/-/pictograms-12.13.0.tgz#b1cfa7b700bbc2a8288cd9da660d8eea8b5e8d4c" integrity sha512-qAiXxZn/QNfb6xN41TNcbWe5AB1VbXP8e7czkTqUrkHujkyDKcJBcpUlRL6R+ftki41HYoXosokQlr7PE43iUw== -"@carbon/react@^1.11.0": - version "1.14.0" - resolved "https://registry.yarnpkg.com/@carbon/react/-/react-1.14.0.tgz#9e61393aad05d465830d56a87b076555f760112a" - integrity sha512-pLJqayUDVFOGt8cYXaFcRKB9kouy6WKMb2cqx5divBsCiGXH0hM/pntjIc3DeI3PYIwWvYiSdcxrLLA9cwrZCg== - dependencies: - "@babel/runtime" "^7.18.3" - "@carbon/feature-flags" "^0.9.0" - "@carbon/icons-react" "^11.9.0" - "@carbon/layout" "^11.7.0" - "@carbon/styles" "^1.14.0" - "@carbon/telemetry" "0.1.0" - classnames "2.3.2" - copy-to-clipboard "^3.3.1" - downshift "5.2.1" - flatpickr "4.6.9" - invariant "^2.2.3" - lodash.debounce "^4.0.8" - lodash.findlast "^4.5.0" - lodash.isequal "^4.5.0" - lodash.omit "^4.5.0" - lodash.throttle "^4.1.1" - prop-types "^15.7.2" - react-is "^17.0.2" - use-resize-observer "^6.0.0" - wicg-inert "^3.1.1" - window-or-global "^1.0.1" - -"@carbon/react@^1.23.0": +"@carbon/react@1.23.0", "@carbon/react@^1.11.0", "@carbon/react@^1.23.0": version "1.23.0" resolved "https://registry.yarnpkg.com/@carbon/react/-/react-1.23.0.tgz#1f62cb852c581f63a9649f620ba74b621c77a144" integrity sha512-S3AkWdR3zD+1GZFOKxn0YnJZjlCjKYr3Ndtfi+zfnqBhTIiDtwQxsQMG3J5ZcLsiNgtb3y7xxxreQk87MiNFpg== @@ -1363,20 +1322,6 @@ wicg-inert "^3.1.1" window-or-global "^1.0.1" -"@carbon/styles@^1.14.0": - version "1.14.0" - resolved "https://registry.yarnpkg.com/@carbon/styles/-/styles-1.14.0.tgz#49da334671cf9b6ab9d466f7502182fc6cf27527" - integrity sha512-OotnJLQYDOM+Ap2G/NdF1xMXBHxT2mA688hYk8fKVXl9Ym+JuuVNcfi7nLfsdx4fwHCe4sT4M4aZNMpQThkP8w== - dependencies: - "@carbon/colors" "^11.6.0" - "@carbon/feature-flags" "^0.9.0" - "@carbon/grid" "^11.7.0" - "@carbon/layout" "^11.7.0" - "@carbon/motion" "^11.5.0" - "@carbon/themes" "^11.10.0" - "@carbon/type" "^11.10.0" - "@ibm/plex" "6.0.0-next.6" - "@carbon/styles@^1.23.0": version "1.23.0" resolved "https://registry.yarnpkg.com/@carbon/styles/-/styles-1.23.0.tgz#2774c53026b15d88bfb1d9b9ff7d8a497fe1b3e5" @@ -2736,9 +2681,9 @@ "@hapi/hoek" "^9.0.0" "@sideway/formula@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.0.tgz#fe158aee32e6bd5de85044be615bc08478a0a13c" - integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg== + version "3.0.1" + resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" + integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== "@sideway/pinpoint@^2.0.0": version "2.0.0" @@ -2887,10 +2832,10 @@ resolved "https://registry.yarnpkg.com/@types/debug/-/debug-0.0.30.tgz#dc1e40f7af3b9c815013a7860e6252f6352a84df" integrity sha512-orGL5LXERPYsLov6CWs3Fh6203+dXzJkR7OnddIr2514Hsecwc8xRpzCapshBbKFImCsvS/mk6+FWiN5LyZJAQ== -"@types/eslint-scope@^3.7.0": - version "3.7.1" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.1.tgz#8dc390a7b4f9dd9f1284629efce982e41612116e" - integrity sha512-SCFeogqiptms4Fg29WpOTk5nHIzfpKCemSN63ksBQYKTcXoJEmJagV+DhVmbapZzY4/5YaOV1nZwrsU79fFm1g== +"@types/eslint-scope@^3.7.3": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" + integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== dependencies: "@types/eslint" "*" "@types/estree" "*" @@ -2911,10 +2856,10 @@ "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@^0.0.50": - version "0.0.50" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.50.tgz#1e0caa9364d3fccd2931c3ed96fdbeaa5d4cca83" - integrity sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw== +"@types/estree@*", "@types/estree@^0.0.51": + version "0.0.51" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" + integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== "@types/get-port@^3.2.0": version "3.2.0" @@ -3474,10 +3419,10 @@ acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.4.1, acorn@^8.5.0: - version "8.7.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" - integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== +acorn@^8.5.0, acorn@^8.7.1: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== address@1.1.2, address@^1.0.1: version "1.1.2" @@ -4695,18 +4640,7 @@ browserslist@^3.2.6: caniuse-lite "^1.0.30000844" electron-to-chromium "^1.3.47" -browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.16.0, browserslist@^4.16.3, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.17.6: - version "4.17.6" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.6.tgz#c76be33e7786b497f66cad25a73756c8b938985d" - integrity sha512-uPgz3vyRTlEiCv4ee9KlsKgo2V6qPk7Jsn0KAn2OBqbqKo3iNcPEC1Ti6J4dwnz+aIRfEEEuOzC9IBk8tXUomw== - dependencies: - caniuse-lite "^1.0.30001274" - electron-to-chromium "^1.3.886" - escalade "^3.1.1" - node-releases "^2.0.1" - picocolors "^1.0.0" - -browserslist@^4.19.1, browserslist@^4.6.6: +browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.16.0, browserslist@^4.16.3, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.17.6, browserslist@^4.19.1, browserslist@^4.6.6: version "4.19.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.3.tgz#29b7caad327ecf2859485f696f9604214bedd383" integrity sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg== @@ -4933,7 +4867,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001274: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30001125: version "1.0.30001278" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz#51cafc858df77d966b17f59b5839250b24417fff" integrity sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg== @@ -6816,7 +6750,7 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.886: +electron-to-chromium@^1.3.47, electron-to-chromium@^1.3.564: version "1.3.889" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.889.tgz#0b7c6f7628559592d5406deda281788f37107790" integrity sha512-suEUoPTD1mExjL9TdmH7cvEiWJVM2oEiAi+Y1p0QKxI2HcRlT44qDTP2c1aZmVwRemIPYOpxmV7CxQCOWcm4XQ== @@ -6906,10 +6840,10 @@ engine.io@~4.1.0: engine.io-parser "~4.0.0" ws "~7.4.2" -enhanced-resolve@^5.8.3: - version "5.8.3" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz#6d552d465cce0423f5b3d718511ea53826a7b2f0" - integrity sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA== +enhanced-resolve@^5.10.0, enhanced-resolve@^5.8.3: + version "5.12.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634" + integrity sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -9425,10 +9359,10 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3, graceful-fs@^4.2.4: - version "4.2.8" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" - integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3, graceful-fs@^4.2.4, graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== graphql-compose@^9.0.7: version "9.0.7" @@ -10660,15 +10594,6 @@ jest-worker@^26.3.0: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.6: - version "27.3.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.3.1.tgz#0def7feae5b8042be38479799aeb7b5facac24b2" - integrity sha512-ks3WCzsiZaOPJl/oMsDjaf0TRiSv7ctNgs0FqRr2nARsovz6AWWy4oLElwcquGSz692DzgZQrCLScPNs5YlC4g== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - jest-worker@^27.3.1, jest-worker@^27.4.5: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" @@ -10768,12 +10693,12 @@ json-loader@^0.5.7: resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" integrity sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w== -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== -json-parse-even-better-errors@^2.3.0: +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== @@ -11679,24 +11604,17 @@ micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" -mime-db@1.50.0, "mime-db@>= 1.43.0 < 2": - version "1.50.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.50.0.tgz#abd4ac94e98d3c0e185016c67ab45d5fde40c11f" - integrity sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A== - mime-db@1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.30: - version "2.1.33" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.33.tgz#1fa12a904472fafd068e48d9e8401f74d3f70edb" - integrity sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g== - dependencies: - mime-db "1.50.0" +"mime-db@>= 1.43.0 < 2": + version "1.50.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.50.0.tgz#abd4ac94e98d3c0e185016c67ab45d5fde40c11f" + integrity sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A== -mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.30, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -12137,11 +12055,6 @@ node-releases@^1.1.61: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.77.tgz#50b0cfede855dd374e7585bf228ff34e57c1c32e" integrity sha512-rB1DUFUNAN4Gn9keO2K1efO35IDK7yKHCdCaIMvFO7yUYmmZYeDjnGKle26G4rwj+LKRQpjyUUvMkPglwGCYNQ== -node-releases@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5" - integrity sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA== - node-releases@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01" @@ -12495,7 +12408,7 @@ p-finally@^1.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= -p-limit@3.1.0, p-limit@^3.0.2, p-limit@^3.1.0: +p-limit@3.1.0, p-limit@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== @@ -15671,19 +15584,7 @@ term-size@^2.1.0: resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== -terser-webpack-plugin@^5.1.3: - version "5.2.4" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.2.4.tgz#ad1be7639b1cbe3ea49fab995cbe7224b31747a1" - integrity sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA== - dependencies: - jest-worker "^27.0.6" - p-limit "^3.1.0" - schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - source-map "^0.6.1" - terser "^5.7.2" - -terser-webpack-plugin@^5.2.4: +terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.2.4: version "5.3.1" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz#0320dcc270ad5372c1e8993fabbd927929773e54" integrity sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g== @@ -16686,10 +16587,10 @@ warning@^4.0.3: dependencies: loose-envify "^1.0.0" -watchpack@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce" - integrity sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA== +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -16750,10 +16651,10 @@ webpack-sources@^1.1.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack-sources@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.1.tgz#251a7d9720d75ada1469ca07dbb62f3641a05b6d" - integrity sha512-t6BMVLQ0AkjBOoRTZgqrWm7xbXMBzD+XDq2EZ96+vMfn3qKgsvdXZhbPZ4ElUOpdv4u+iiGe+w3+J75iy/bYGA== +webpack-sources@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" + integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack-stats-plugin@^1.0.3: version "1.0.3" @@ -16767,35 +16668,35 @@ webpack-virtual-modules@^0.3.2: dependencies: debug "^3.0.0" -webpack@^5.0.0, webpack@^5.59.0, webpack@^5.61.0: - version "5.62.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.62.1.tgz#06f09b56a7b1bb13ed5137ad4b118358a90c9505" - integrity sha512-jNLtnWChS2CMZ7vqWtztv0G6fYB5hz11Zsadp5tE7e4/66zVDj7/KUeQZOsOl8Hz5KrLJH1h2eIDl6AnlyE12Q== +webpack@^5.0.0, webpack@^5.59.0, webpack@^5.61.0, webpack@^5.76.0: + version "5.76.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.76.0.tgz#f9fb9fb8c4a7dbdcd0d56a98e56b8a942ee2692c" + integrity sha512-l5sOdYBDunyf72HW8dF23rFtWq/7Zgvt/9ftMof71E/yUb1YLOBmTgA2K4vQthB3kotMrSj609txVE0dnr2fjA== dependencies: - "@types/eslint-scope" "^3.7.0" - "@types/estree" "^0.0.50" + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^0.0.51" "@webassemblyjs/ast" "1.11.1" "@webassemblyjs/wasm-edit" "1.11.1" "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" + acorn "^8.7.1" acorn-import-assertions "^1.7.6" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.8.3" + enhanced-resolve "^5.10.0" es-module-lexer "^0.9.0" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" - graceful-fs "^4.2.4" - json-parse-better-errors "^1.0.2" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" schema-utils "^3.1.0" tapable "^2.1.1" terser-webpack-plugin "^5.1.3" - watchpack "^2.2.0" - webpack-sources "^3.2.0" + watchpack "^2.4.0" + webpack-sources "^3.2.3" whatwg-url@^5.0.0: version "5.0.0"