Skip to content

Commit 70f528b

Browse files
authored
Merge pull request #2531 from hashicorp/alex-ju/fix-typos
Fix few typos in docs
2 parents 4ebb8c7 + a06e494 commit 70f528b

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

website/docs/components/app-header/partials/specifications/anatomy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| **Global** | |
1010
| Home link | Required; supports multiple product logos |
1111
| Context switcher | Optional |
12-
| **Utilies** | |
12+
| **Utilities** | |
1313
| Help dropdown | Optional, but highly recommend ([WCAG guidelines](https://www.w3.org/WAI/WCAG22/Understanding/consistent-help.html)) |
1414
| User dropdown | Required |
1515
| Search | Optional |

website/docs/components/app-side-nav/partials/code/how-to-use.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The `Hds::AppSideNav` component provides a set of advanced features out of the b
2121

2222
The App Side Nav component provides a top-level layout for the sidebar navigation.
2323

24-
Cnsumers can yield the navigation content and add business logic to control the content within it.
24+
Consumers can yield the navigation content and add business logic to control the content within it.
2525

2626
<!-- ```handlebars
2727
<div class="doc-app-sidenav-demo">

website/docs/components/application-state/partials/code/how-to-use.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ The `@titleTag` argument changes the HTML element that wraps the `[A].Header` ti
181181
</div>
182182
<Hds::ApplicationState as |A|>
183183
<A.Header @title="No templates have been created yet" @titleTag="h2" />
184-
<A.Body @text="Make a template to easily provision infrastructure for any Waypoint application. Youll need a Terraform co-node module and instructions for your application developers." />
184+
<A.Body @text="Make a template to easily provision infrastructure for any Waypoint application. You’ll need a Terraform co-node module and instructions for your application developers." />
185185
<A.Footer as |F|>
186186
<F.Button @icon="plus" @text="Create a template" />
187187
<F.Button @icon="upload" @text="Import" @color="secondary" />

website/docs/components/application-state/partials/guidelines/guidelines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ When there is an empty state that occupies the majority of the page, do not disp
8787

8888
Instead, use the Application State as the only means of drawing attention to the primary action.
8989

90-
![Showing an empty state with a primary button with a page header with out a primay button](/assets/components/application-state/application-state-empty-state-do-keep-one-primary-cta.png)
90+
![Showing an empty state with a primary button with a page header with out a primary button](/assets/components/application-state/application-state-empty-state-do-keep-one-primary-cta.png)
9191

9292
!!!
9393

website/docs/components/code-block/partials/guidelines/guidelines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Use a `title` and/or `description` in the header to provide additional informati
4444

4545
There can be an overlap between content that you may choose to include in the header as a `title` or `description`, and content that is part of the normal layout flow in a headline or paragraph. If it is necessary to elevate this content in the hierarchy of the page, we recommend including it in the normal layout flow, rather than as a `title` or `description` within the Code Block.
4646

47-
![An example showcasing the Code Block paired with content in the nautral flow](/assets/components/code-block/code-block-dont-use-metadata.png)
47+
![An example showcasing the Code Block paired with content in the natural flow](/assets/components/code-block/code-block-dont-use-metadata.png)
4848

4949
## CopyButton
5050

website/docs/components/form/masked-input/partials/code/component-api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ The Masked Input component has two different variants with their own APIs:
2424
Applies an “invalid” appearance to the control but doesn’t modify its logical validity.
2525
</C.Property>
2626
<C.Property @name="visibilityToggleAriaLabel" @type="string" @default="Show masked content">
27-
Override this value to provide a meaninful `aria-label` for the visibility toggle button.
27+
Override this value to provide a meaningful `aria-label` for the visibility toggle button.
2828
</C.Property>
2929
<C.Property @name="visibilityToggleAriaMessageText" @type="string" @default="Input content is hidden">
30-
Override this value to provide a meaninful `aria-live` message when the visibility toggle button is pressed.
30+
Override this value to provide a meaningful `aria-live` message when the visibility toggle button is pressed.
3131
</C.Property>
3232
<C.Property @name="hasCopyButton" @type="boolean" @default="false">
3333
If set to `true`, it renders a [`Copy::Button`](/components/copy/button) next to the form control allowing the value of the input to be copied to the clipboard.
@@ -77,10 +77,10 @@ The Masked Input component has two different variants with their own APIs:
7777
Appends an `Optional` indicator next to the label text when user input is optional.
7878
</C.Property>
7979
<C.Property @name="visibilityToggleAriaLabel" @type="string" @default="Show masked content">
80-
Override this value to provide a meaninful `aria-label` for the visibility toggle button.
80+
Override this value to provide a meaningful `aria-label` for the visibility toggle button.
8181
</C.Property>
8282
<C.Property @name="visibilityToggleAriaMessageText" @type="string" @default="Input content is hidden">
83-
Override this value to provide a meaninful `aria-live` message when the visibility toggle button is pressed.
83+
Override this value to provide a meaningful `aria-live` message when the visibility toggle button is pressed.
8484
</C.Property>
8585
<C.Property @name="hasCopyButton" @type="boolean" @default="false">
8686
If set to `true`, it renders a [`Copy::Button`](/components/copy/button) next to the form control allowing the value of the input to be copied to the clipboard.

website/docs/components/form/primitives/partials/guidelines/guidelines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The default messages provide a consistent messaging pattern for the component by
3737

3838
#### Usage in Figma
3939

40-
For representative consistenty, the Figma component mirrors the default messages that are rendered in the Ember component and are labelled as such; `currentLength` (the default variant), `maxLength`, `minLength`, and `custom`.
40+
For representative consistency, the Figma component mirrors the default messages that are rendered in the Ember component and are labelled as such; `currentLength` (the default variant), `maxLength`, `minLength`, and `custom`.
4141

4242
In all variants except the `custom` variant, we recommend _only_ overriding the numerical value (e.g., "{numerical value} characters is allowed"). Overriding the text in these variants will require a custom implementation on the engineering side, instead, the `custom` variant should be used.
4343

website/docs/components/form/text-input/partials/code/component-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ The Text Input component has two different variants with their own APIs:
7070
Adds a visibility toggle button if `@type` is set to `password`.
7171
</C.Property>
7272
<C.Property @name="visibilityToggleAriaLabel" @type="string" @default="Show masked content">
73-
Override this value to provide a meaninful `aria-label` for the visibility toggle button.
73+
Override this value to provide a meaningful `aria-label` for the visibility toggle button.
7474
</C.Property>
7575
<C.Property @name="visibilityToggleAriaMessageText" @type="string" @default="Input content is hidden">
76-
Override this value to provide a meaninful `aria-live` message when the visibility toggle button is pressed.
76+
Override this value to provide a meaningful `aria-live` message when the visibility toggle button is pressed.
7777
</C.Property>
7878
<C.Property @name="...attributes">
7979
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).

website/docs/components/side-nav/partials/code/how-to-use.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ If you find yourself in the situation of wanting/needing to customize or change
467467

468468
#### `ember-a11y-refocus`
469469

470-
By default, the component uses the [ember-a11y-refocus](https://github.com/ember-a11y/ember-a11y-refocus) addon to provide a "navigator narrator" and a "Skip Link" to the navigation (see [the addon documentation for details)](https://github.com/ember-a11y/ember-a11y-refocus#what-this-addon-does).
470+
By default, the component uses the [ember-a11y-refocus](https://github.com/ember-a11y/ember-a11y-refocus) addon to provide a "navigator narrator" and a "Skip Link" to the navigation (see [the addon documentation for details](https://github.com/ember-a11y/ember-a11y-refocus#what-this-addon-does)).
471471

472472
!!! Info
473473

website/docs/patterns/form-patterns/partials/validation/validation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Display server-side errors using a Critical Inline [Alert](/components/alert) ab
100100

101101
## Validation interaction
102102

103-
If a validation error occurs in a field outside of the viewport, scroll the user to the error. If there are multiple fields in error, scroll the user to the first (or topmost) error in the form. Form-level validation errors should be scrolled to first and take precendence over individual fields in error. This commonly occurs in long, complex forms when a form-level error occurs.
103+
If a validation error occurs in a field outside of the viewport, scroll the user to the error. If there are multiple fields in error, scroll the user to the first (or topmost) error in the form. Form-level validation errors should be scrolled to first and take precedence over individual fields in error. This commonly occurs in long, complex forms when a form-level error occurs.
104104

105105
<video controls loop width="100%">
106106
<source src="/assets/patterns/form-patterns/validation-scroll.mp4" />

website/docs/utilities/disclosure-primitive/partials/code/component-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<C.Property @name="[T].onClickToggle" @type="function">
88
A function to be called by the interactive element to toggle visibility of the content.
99
</C.Property>
10-
<C.Property @name="[T].isOpen" @type="boolead">
10+
<C.Property @name="[T].isOpen" @type="boolean">
1111
Hook into this property to access the state of the internal `isOpen` tracked variable.
1212
</C.Property>
1313
</Doc::ComponentApi>

0 commit comments

Comments
 (0)