Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 86160de

Browse files
kfranqueirolynnmercier
authored andcommitted
docs: Fix various typos (#854)
1 parent d570a36 commit 86160de

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

packages/mdc-base/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mdc-base exposes two classes: `MDCComponent` (the default export) which all comp
5656

5757
### MDCFoundation
5858

59-
MDCFoundation provides the basic mechanisms for implementing a foundation classes. Subclasses are expected to:
59+
MDCFoundation provides the basic mechanisms for implementing foundation classes. Subclasses are expected to:
6060

6161
- Provide implementations of the proper static getters where necessary.
6262
- Provide `init()` and `destroy()` lifecycle methods

packages/mdc-checkbox/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The adapter for checkboxes must provide the following functions, with correct si
210210
| `deregisterChangeHandler(handler: EventListener) => void` | Deregisters an event handler that was previously passed to `registerChangeHandler`. |
211211
| `getNativeControl() => HTMLInputElement?` | Returns the native checkbox control, if available. Note that if this control is not available, the methods that rely on it will exit gracefully.|
212212
| `forceLayout() => void` | Force-trigger a layout on the root element. This is needed to restart animations correctly. If you find that you do not need to do this, you can simply make it a no-op. |
213-
| `isAttachedToDOM() => boolean` | Returns true if the component is currently attached to the DOM, false otherwise.` |
213+
| `isAttachedToDOM() => boolean` | Returns true if the component is currently attached to the DOM, false otherwise. |
214214

215215

216216
#### MDCCheckboxFoundation API

packages/mdc-list/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path: /catalog/lists/
1818

1919
MDC List provides styles which implement [Material Design Lists](https://material.io/guidelines/components/lists.html) - "A single continuous column of tessellated subdivisions of equal width." Both single-line and two-line lists are supported (with
2020
three-line lists [coming soon](https://github.com/material-components/material-components-web/issues/31)). MDC
21-
Lists are design to be accessible and RTL aware.
21+
Lists are designed to be accessible and RTL aware.
2222

2323
## Design & API Documentation
2424

@@ -41,7 +41,7 @@ npm install --save @material/list
4141

4242
### Basic Lists
4343

44-
A basic lists consists simply of the list itself, and list items taking up one line.
44+
A basic list consists simply of the list itself, and list items taking up one line.
4545

4646
```html
4747
<ul class="mdc-list">

packages/mdc-ripple/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ argument, with which you can specify the following parameters:
112112

113113
| Parameter | Description | Default |
114114
| --- | --- | --- |
115-
| `pseudo` | The name of the pseudo-element you want to use to style the ripple. Using pseudo-elements to style ripples obviates the need for any extra DOM and is recommended. However,
116-
if given `null` it will style the element directly, rather than attaching styles to the pseudo element. | `null` |
115+
| `pseudo` | The name of the pseudo-element you want to use to style the ripple. Using pseudo-elements to style ripples obviates the need for any extra DOM and is recommended. However, if given `null` it will style the element directly, rather than attaching styles to the pseudo element. | `null` |
117116
| `radius` | For _bounded_ ripples, specifies radii of the ripple circles. Can be any valid numeric CSS unit. | `100%` |
118117
| `theme-style` | When provided, will use a style specified by `mdc-theme` to provide colors to the ripple. For example, passing `(theme-style: primary)` would make the ripples the color of the theme's primary color. Note that there are some current limitations here. See [below](#caveat-theme-custom-variables) | `null` |
119118
| `base-color` | The RGB color (_without_ an alpha component) of the ripple. This will only be used if `theme-style` isn't specified. | `black` |

packages/mdc-rtl/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ will emit the following css:
9696
padding-right: 4px;
9797
}
9898
```
99-
*N.B.**: checking for `[dir="rtl"]` on an ancestor element works in most cases, it will sometimes
99+
**N.B.**: checking for `[dir="rtl"]` on an ancestor element works in most cases, it will sometimes
100100
lead to false negatives for more complex layouts, e.g.
101101

102102
```html

packages/mdc-textfield/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ information to users, as well for validation messages (covered below).
110110
</p>
111111
```
112112

113-
Help text appears on input field focus and disappear on input field blur by default when using
113+
Help text appears on input field focus and disappears on input field blur by default when using
114114
the textfield JS component.
115115

116116
#### Persistent help text
@@ -331,7 +331,7 @@ initializes when given an `mdc-textfield--box` root element. Otherwise, the fiel
331331

332332
### Using the foundation class
333333

334-
Because MDC Textfield is a feature-rich and relatively complex component, it's adapter is a bit more
334+
Because MDC Textfield is a feature-rich and relatively complex component, its adapter is a bit more
335335
complicated.
336336

337337
| Method Signature | Description |

packages/mdc-toolbar/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path: /catalog/toolbar/
1818

1919
MDC Toolbar acts as a container for multiple rows containing items such as
2020
application title, navigation menu, and tabs, among other things. Toolbars
21-
scroll with content by default, but supports fixed behavior as well.
21+
scroll with content by default, but support fixed behavior as well.
2222

2323
When using the **fixed** pattern, a persistent elevation is added to toolbar.
2424
When using the **waterfall** pattern, a toolbar will have no elevation when the
@@ -52,7 +52,7 @@ npm install --save @material/toolbar
5252

5353
## Usage
5454

55-
Wrap the items with `mdc-toolbar` class in following way:
55+
Wrap the items with `mdc-toolbar` class in the following way:
5656

5757
```html
5858
<header class="mdc-toolbar">

0 commit comments

Comments
 (0)