Skip to content

Commit dbd1f26

Browse files
jayvdbandrewseguin
authored andcommitted
docs: fix spelling (#25296)
(cherry picked from commit df2eb8b)
1 parent 1dfa40b commit dbd1f26

File tree

55 files changed

+84
-84
lines changed

Some content is hidden

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

55 files changed

+84
-84
lines changed

guides/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Angular Material supports rendering highly visible outlines on focused elements.
385385
enable these strong focus indicators via two Sass mixins:
386386
`strong-focus-indicators` and `strong-focus-indicators-theme`.
387387

388-
The `strong-focus-indicators` mixin emits structal indicator styles for all components. This mixin
388+
The `strong-focus-indicators` mixin emits structural indicator styles for all components. This mixin
389389
should be included exactly once in an application, similar to the `core` mixin described above.
390390

391391
The `strong-focus-indicators-theme` mixin emits only the indicator's color styles. This mixin should

guides/typography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ for the library's components. Additionally, Angular Material provides APIs for a
88
styles to elements in your own application.
99

1010
Angular Material's theming APIs are built with [Sass](https://sass-lang.com). This document assumes
11-
familiary with CSS and Sass basics, including variables, functions, and mixins.
11+
familiarity with CSS and Sass basics, including variables, functions, and mixins.
1212

1313
[theming-system]: https://material.angular.io/guide/theming
1414

scripts/check-mdc-tests-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const config = {
175175
// The MDC slide toggle uses a `button` which isn't able to block form submission.
176176
'should prevent the form from submit when being required',
177177

178-
// TODO: the focus origin functionality has to be implemeted for the MDC slide toggle.
178+
// TODO: the focus origin functionality has to be implemented for the MDC slide toggle.
179179
'should not change focus origin if origin not specified',
180180
],
181181
'mdc-snack-bar': [

src/cdk-experimental/column-resize/resize-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export abstract class ResizeStrategy {
6969
}
7070

7171
/**
72-
* The optimially performing resize strategy for <table> elements with table-layout: fixed.
72+
* The optimally performing resize strategy for <table> elements with table-layout: fixed.
7373
* Tested against and outperformed:
7474
* CSS selector
7575
* CSS selector w/ CSS variable

src/cdk-experimental/popover-edit/edit-event-dispatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class EditEventDispatcher<R> {
191191
this._editRef = ref;
192192
}
193193

194-
/** Unsets the currently active EditRef, if the specified editRef is active. */
194+
/** Unset the currently active EditRef, if the specified editRef is active. */
195195
unsetActiveEditRef(ref: R) {
196196
if (this._editRef !== ref) {
197197
return;

src/cdk-experimental/popover-edit/table-directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class CdkEditable implements AfterViewInit, OnDestroy {
145145
)
146146
.subscribe(this.editEventDispatcher.editing);
147147

148-
// Keydown must be used here or else key autorepeat does not work properly on some platforms.
148+
// Keydown must be used here or else key auto-repeat does not work properly on some platforms.
149149
fromEvent<KeyboardEvent>(element, 'keydown')
150150
.pipe(takeUntil(this.destroyed))
151151
.subscribe(this.focusDispatcher.keyObserver);

src/cdk-experimental/scrolling/auto-size-virtual-scroll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class AutoSizeVirtualScrollStrategy implements VirtualScrollStrategy {
210210
if (scrollDelta < 0) {
211211
// The content offset we would expect based on the average item size.
212212
const predictedOffset = renderedRange.start * this._averager.getAverageItemSize();
213-
// The difference between the predicted size of the unrendered content at the beginning and
213+
// The difference between the predicted size of the un-rendered content at the beginning and
214214
// the actual available space to scroll over. We need to reduce this to zero by the time the
215215
// user scrolls to the top.
216216
// - 0 indicates that the predicted size and available space are the same.

src/cdk/a11y/live-announcer/live-announcer.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,23 @@ export class LiveAnnouncer implements OnDestroy {
5050
}
5151

5252
/**
53-
* Announces a message to screenreaders.
54-
* @param message Message to be announced to the screenreader.
53+
* Announces a message to screen readers.
54+
* @param message Message to be announced to the screen reader.
5555
* @returns Promise that will be resolved when the message is added to the DOM.
5656
*/
5757
announce(message: string): Promise<void>;
5858

5959
/**
60-
* Announces a message to screenreaders.
61-
* @param message Message to be announced to the screenreader.
60+
* Announces a message to screen readers.
61+
* @param message Message to be announced to the screen reader.
6262
* @param politeness The politeness of the announcer element.
6363
* @returns Promise that will be resolved when the message is added to the DOM.
6464
*/
6565
announce(message: string, politeness?: AriaLivePoliteness): Promise<void>;
6666

6767
/**
68-
* Announces a message to screenreaders.
69-
* @param message Message to be announced to the screenreader.
68+
* Announces a message to screen readers.
69+
* @param message Message to be announced to the screen reader.
7070
* @param duration Time in milliseconds after which to clear out the announcer element. Note
7171
* that this takes effect after the message has been added to the DOM, which can be up to
7272
* 100ms after `announce` has been called.
@@ -75,8 +75,8 @@ export class LiveAnnouncer implements OnDestroy {
7575
announce(message: string, duration?: number): Promise<void>;
7676

7777
/**
78-
* Announces a message to screenreaders.
79-
* @param message Message to be announced to the screenreader.
78+
* Announces a message to screen readers.
79+
* @param message Message to be announced to the screen reader.
8080
* @param politeness The politeness of the announcer element.
8181
* @param duration Time in milliseconds after which to clear out the announcer element. Note
8282
* that this takes effect after the message has been added to the DOM, which can be up to

src/cdk/bidi/dir-document-token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {inject, InjectionToken} from '@angular/core';
1616
* We can't use the real document in tests because changing the real `dir` causes geometry-based
1717
* tests in Safari to fail.
1818
*
19-
* We also can't re-provide the DOCUMENT token from platform-brower because the unit tests
19+
* We also can't re-provide the DOCUMENT token from platform-browser because the unit tests
2020
* themselves use things like `querySelector` in test code.
2121
*
2222
* This token is defined in a separate file from Directionality as a workaround for

src/cdk/clipboard/pending-copy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* A pending copy-to-clipboard operation.
1111
*
1212
* The implementation of copying text to the clipboard modifies the DOM and
13-
* forces a relayout. This relayout can take too long if the string is large,
13+
* forces a re-layout. This re-layout can take too long if the string is large,
1414
* causing the execCommand('copy') to happen too long after the user clicked.
1515
* This results in the browser refusing to copy. This object lets the
16-
* relayout happen in a separate tick from copying by providing a copy function
16+
* re-layout happen in a separate tick from copying by providing a copy function
1717
* that can be called later.
1818
*
1919
* Destroy must be called when no longer in use, regardless of whether `copy` is

0 commit comments

Comments
 (0)