Skip to content

Commit 0f1e73e

Browse files
authored
docs: correct spelling issues throughout codebase (#18638)
* docs: correct spelling throughout codebase * refactor: format markdown
1 parent a8ac37a commit 0f1e73e

File tree

61 files changed

+97
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+97
-97
lines changed

docs/experimental-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ movement, it can be moved from "experimental" status to be "stable".
199199
- [ ] Snapshot every storybook story
200200
- [ ] Snapshot important discrete states (open, selected, enabled,
201201
autoAlign etc.) by setting controls/args on a story
202-
- [ ] Accessibility Verifiction Tests (AVT) are present in
202+
- [ ] Accessibility Verification Tests (AVT) are present in
203203
`e2e/components/ComponentName/ComponentName-test.avt.e2e.js` that:
204204
- [ ] Ensure every story `.toBeAccessible()`
205205
- [ ] Ensure important discrete states (open, selected, etc.) are covered

docs/release.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ categories:
267267

268268
### Manual Patch Release
269269

270-
Occassionaly we need to do an off-cycle patch release to fix some broken
271-
functionality that was inadvertedly published in a previous release. In such
270+
Occasionally we need to do an off-cycle patch release to fix some broken
271+
functionality that was inadvertently published in a previous release. In such
272272
cases, follow these steps below to ensure a proper patch release:
273273

274274
- [ ] Go to your local version of the monorepo
@@ -345,7 +345,7 @@ cases, follow these steps below to ensure a proper patch release:
345345
Note:
346346
347347
- Do NOT do this for the <kbd>carbon-components</kbd> package.
348-
- You need to use the individual generatied version number for the package
348+
- You need to use the individual generated version number for the package
349349
here, not the released github tag version.
350350
- Ensure you log into the npm cli as `carbon-bot` to avoid auth issues
351351
@@ -493,7 +493,7 @@ For instance:
493493

494494
- `eslint-config-carbon` needs a new major
495495
- All other packages should only be bumped as a new patch
496-
- The tag for the release should remain at the curent major `v11.x`, and not be
496+
- The tag for the release should remain at the current major `v11.x`, and not be
497497
bumped to `v12.x`
498498

499499
To do this, packages must be versioned manually.

docs/sprint-planning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Table of Contents
55

66
- [Overview](#overview)
7-
- [Dev Sprint Plannning](#dev-sprint-plannning)
7+
- [Dev Sprint Planning](#dev-sprint-planning)
88
- [Process](#process)
99
- [Dev Sprint Planning Meeting](#dev-sprint-planning-meeting)
1010
- [Previous to meeting](#previous-to-meeting)
@@ -22,7 +22,7 @@ the sprint in order to prepare for the next upcoming sprint. The purpose is to
2222
determine the work items that will be completed in the following sprint and who
2323
is responsible for each of these work items.
2424

25-
## Dev Sprint Plannning
25+
## Dev Sprint Planning
2626

2727
Participating developers in the Design System take turns leading the sprint
2828
planning sessions in a rotational matter per sprint as defined in the

docs/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ or animatable.
256256
Note that adding a forwarded ref to a component should be considered a breaking
257257
change. When creating a new component, even if you do not anticipate an explicit
258258
need to provide a forwarded ref, it's likely still worthwhile to include one to
259-
avoid unecessary breaking changes in the future.
259+
avoid unnecessary breaking changes in the future.
260260

261261
#### `className`, `data-testid`, and `...rest`
262262

packages/react/src/components/CheckboxGroup/CheckboxGroup-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe('CheckboxGroup', () => {
180180

181181
it('should render checkboxes horizontally', () => {
182182
const { container } = render(
183-
<CheckboxGroup orientation="horizontal" legendText="test-horizental-prop">
183+
<CheckboxGroup orientation="horizontal" legendText="test-horizontal-prop">
184184
<Checkbox labelText="Checkbox label 1" id="checkbox-label-1" />
185185
<Checkbox labelText="Checkbox label 2" id="checkbox-label-2" />
186186
<Checkbox labelText="Checkbox label 3" id="checkbox-label-3" />

packages/react/src/components/CodeSnippet/CodeSnippet.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type DeprecatedCodeSnippetAlignment =
4141
| 'right-bottom'
4242
| 'right-top';
4343

44-
export type NewCodeSnippetAlignmnet =
44+
export type NewCodeSnippetAlignment =
4545
| 'top'
4646
| 'bottom'
4747
| 'left'
@@ -57,7 +57,7 @@ export type NewCodeSnippetAlignmnet =
5757

5858
export type CodeSnippetAlignment =
5959
| DeprecatedCodeSnippetAlignment
60-
| NewCodeSnippetAlignmnet;
60+
| NewCodeSnippetAlignment;
6161
const propMappingFunction = (deprecatedValue) => {
6262
const mapping = {
6363
'top-left': 'top-start',

packages/react/src/components/CodeSnippet/__tests__/CodeSnippet-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe('CodeSnippet', () => {
115115
{inline}
116116
</CodeSnippet>
117117
);
118-
// note: outtermost component is a Tooltip
118+
// note: outermost component is a Tooltip
119119
expect(screen.getByTestId('code-5')).toHaveClass('custom-class');
120120
});
121121

packages/react/src/components/ComboBox/ComboBox-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ describe('ComboBox', () => {
821821

822822
expect(document.activeElement).not.toBe(input);
823823
});
824-
it('should suggest best matching typeahread suggestion and complete it in Tab key press', async () => {
824+
it('should suggest best matching typeahead suggestion and complete it in Tab key press', async () => {
825825
const user = userEvent.setup();
826826
render(<ComboBox {...mockProps} typeahead />);
827827

packages/react/src/components/ComboBox/ComboBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export interface ComboBoxProps<ItemType>
366366
titleText?: ReactNode;
367367

368368
/**
369-
* **Experimental**: will enable autcomplete and typeahead for the input field
369+
* **Experimental**: will enable autocomplete and typeahead for the input field
370370
*/
371371
typeahead?: boolean;
372372

@@ -1371,7 +1371,7 @@ ComboBox.propTypes = {
13711371
translateWithId: PropTypes.func,
13721372

13731373
/**
1374-
* **Experimental**: will enable autcomplete and typeahead for the input field
1374+
* **Experimental**: will enable autocomplete and typeahead for the input field
13751375
*/
13761376
typeahead: PropTypes.bool,
13771377

packages/react/src/components/ComboButton/ComboButton-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ describe('ComboButton', () => {
201201
spy.mockRestore();
202202
});
203203

204-
it('warns when MenuItemRadioGoup is used in children', async () => {
204+
it('warns when MenuItemRadioGroup is used in children', async () => {
205205
const spy = jest.spyOn(console, 'warn').mockImplementation(() => {});
206206

207207
render(

0 commit comments

Comments
 (0)