Skip to content

Commit 168b89e

Browse files
Fix indefinite articles (angular#29091)
1 parent 9938d24 commit 168b89e

File tree

10 files changed

+11
-9
lines changed

10 files changed

+11
-9
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Example:
196196
fix(material/button): unable to disable button through binding
197197
198198
Fixes a bug in the Angular Material `button` component where buttons
199-
cannot be disabled through an binding. This is because the `disabled`
199+
cannot be disabled through a binding. This is because the `disabled`
200200
input did not set the `.mat-button-disabled` class on the host element.
201201
202202
Fixes #1234

src/cdk/accordion/accordion-item.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {Subscription} from 'rxjs';
2626
let nextId = 0;
2727

2828
/**
29-
* An basic directive expected to be extended and decorated as a component. Sets up all
29+
* A basic directive expected to be extended and decorated as a component. Sets up all
3030
* events and attributes needed to be managed by a CdkAccordion parent.
3131
*/
3232
@Directive({

src/cdk/portal/portal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class DomPortal<T = HTMLElement> extends Portal<T> {
174174
}
175175
}
176176

177-
/** A `PortalOutlet` is an space that can contain a single `Portal`. */
177+
/** A `PortalOutlet` is a space that can contain a single `Portal`. */
178178
export interface PortalOutlet {
179179
/** Attaches a portal to this outlet. */
180180
attach(portal: Portal<any>): any;

src/cdk/text-field/_index.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
// Core styles that enable monitoring autofill state of text fields.
3131
@mixin text-field-autofill() {
32-
// Keyframes that apply no styles, but allow us to monitor when an text field becomes autofilled
32+
// Keyframes that apply no styles, but allow us to monitor when a text field becomes autofilled
3333
// by watching for the animation events that are fired when they start. Note: the /*!*/ comment is
3434
// needed to prevent LibSass from stripping the keyframes out.
3535
// Based on: https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7

src/material/core/datetime/native-date-adapter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {DateAdapter, MAT_DATE_LOCALE} from './date-adapter';
1212
/**
1313
* Matches strings that have the form of a valid RFC 3339 string
1414
* (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
15-
* because the regex will match strings an with out of bounds month, date, etc.
15+
* because the regex will match strings with an out of bounds month, date, etc.
1616
*/
1717
const ISO_8601_REGEX =
1818
/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;

src/material/core/tokens/m2/mat/_standard-button-toggle.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $prefix: (mat, standard-button-toggle);
2424

2525
// By default the theme usually has an rgba color for the dividers, which can
2626
// stack up with the background of a button toggle. This can cause the border
27-
// of a selected toggle to look different from an deselected one. We use a solid
27+
// of a selected toggle to look different from an unselected one. We use a solid
2828
// color to ensure that the border always stays the same.
2929
$divider-color: if(
3030
meta.type-of($theme-divider-color) == color,

src/material/core/tokens/m2/mdc/_checkbox.scss

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ $prefix: (mdc, checkbox);
8181
selected-hover-icon-color: $palette-selected,
8282
// The color of the checkbox fill when the checkbox is selected.
8383
selected-icon-color: $palette-selected,
84+
// The color of the checkbox fill when the checkbox is selected and pressed.
85+
selected-pressed-icon-color: $palette-selected,
8486
// The color of the checkbox border when the checkbox is unselected and focused.
8587
unselected-focus-icon-color: $active-border-color,
8688
// The color of the checkbox border when the checkbox is unselected and hovered.

src/material/expansion/expansion-animations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const EXPANSION_PANEL_ANIMATION_TIMING = '225ms cubic-bezier(0.4,0.0,0.2,
2323
*
2424
* A bug in angular animation's `state` when ViewContainers are moved using ViewContainerRef.move()
2525
* causes the animation state of moved components to become `void` upon exit, and not update again
26-
* upon reentry into the DOM. This can lead a to situation for the expansion panel where the state
26+
* upon reentry into the DOM. This can lead a to situation for the expansion panel where the state
2727
* of the panel is `expanded` or `collapsed` but the animation state is `void`.
2828
*
2929
* To correctly handle animating to the next state, we animate between `void` and `collapsed` which

src/material/form-field/_form-field-native-select.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$mat-form-field-select-arrow-width: 10px;
77
// Height of the Material Design form-field select arrow.
88
$mat-form-field-select-arrow-height: 5px;
9-
// Horizontal padding that needs to be applied to the native select in an form-field so
9+
// Horizontal padding that needs to be applied to the native select in a form-field so
1010
// that the absolute positioned arrow does not overlap the select content.
1111
$mat-form-field-select-horizontal-end-padding: $mat-form-field-select-arrow-width + 5px;
1212

src/material/list/list-option.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {CdkObserveContent} from '@angular/cdk/observers';
4444
export const SELECTION_LIST = new InjectionToken<SelectionList>('SelectionList');
4545

4646
/**
47-
* Interface describing the containing list of an list option. This is used to avoid
47+
* Interface describing the containing list of a list option. This is used to avoid
4848
* circular dependencies between the list-option and the selection list.
4949
* @docs-private
5050
*/

0 commit comments

Comments
 (0)