Skip to content

Commit

Permalink
Typo correction (#5261)
Browse files Browse the repository at this point in the history
* Correct several typos

* More typos

* Language naming correction

* Revert removed import by mistake

* Revert customiz** changes

* Revert customiz** changes

* Extra revert
  • Loading branch information
andrevitalb committed Jul 8, 2022
1 parent 56d2154 commit 4b84686
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ Check the docs for more information on:
- [Advanced use-cases](https://www.react-select.com/advanced)
- [TypeScript guide](https://www.react-select.com/typescript)

## Typescript
## TypeScript

The v5 release represents a rewrite from JavaScript to Typescript. The types for v4 and earlier releases are available at [@types](https://www.npmjs.com/package/@types/react-select). See the [TypeScript guide](https://www.react-select.com/typescript) for how to use the types starting with v5.
The v5 release represents a rewrite from JavaScript to TypeScript. The types for v4 and earlier releases are available at [@types](https://www.npmjs.com/package/@types/react-select). See the [TypeScript guide](https://www.react-select.com/typescript) for how to use the types starting with v5.

# Thanks

Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

### Minor Changes

- [2baf5a9d](https://github.com/JedWatson/react-select/commit/2baf5a9df2f4f56f9c9374fcb879cb5259a6d8d0) [#4414](https://github.com/JedWatson/react-select/pull/4414) Thanks [@ebonow](https://github.com/ebonow)! - Add ariaLiveMessages prop for internationalization and other customizations
- [2baf5a9d](https://github.com/JedWatson/react-select/commit/2baf5a9df2f4f56f9c9374fcb879cb5259a6d8d0) [#4414](https://github.com/JedWatson/react-select/pull/4414) Thanks [@ebonow](https://github.com/ebonow)! - Add ariaLiveMessages prop for internationalization and other customisations

### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/advanced/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Advanced() {
## Accessibility
Accessibility is important. React-select is committed to providing a custom experience to all users and relies heavily on the aria-live spec to provide
a custom experience for all users. As such, we also provide an api to address internationalization or further customization.
a custom experience for all users. As such, we also provide an api to address internationalization or further customisation.
${(
<ExampleWrapper
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/typescript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ declare module 'react-select/dist/declarations/src/Select' {
}
~~~
This will make the custom prop available both when using the \`Select\` component as well as when accessing \`selectProps\` when [customizing components](./components).
This will make the custom prop available both when using the \`Select\` component as well as when accessing \`selectProps\` when [customising components](./components).
`}
</>
);
Expand Down
6 changes: 3 additions & 3 deletions packages/react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@

- [2ffed9c6](https://github.com/JedWatson/react-select/commit/2ffed9c6c40c9d5b81d7c8faf7bfc995976299ec) [#4444](https://github.com/JedWatson/react-select/pull/4444) Thanks [@Rall3n](https://github.com/Rall3n)! - Use accessor props to get value and label in `compareOption`

- [2baf5a9d](https://github.com/JedWatson/react-select/commit/2baf5a9df2f4f56f9c9374fcb879cb5259a6d8d0) [#4414](https://github.com/JedWatson/react-select/pull/4414) Thanks [@ebonow](https://github.com/ebonow)! - Add ariaLiveMessages prop for internationalization and other customizations
- [2baf5a9d](https://github.com/JedWatson/react-select/commit/2baf5a9df2f4f56f9c9374fcb879cb5259a6d8d0) [#4414](https://github.com/JedWatson/react-select/pull/4414) Thanks [@ebonow](https://github.com/ebonow)! - Add ariaLiveMessages prop for internationalization and other customisations

- [7cdb8a6b](https://github.com/JedWatson/react-select/commit/7cdb8a6b4d9de89a599b3aee8b6d90a44a931ea6) [#4391](https://github.com/JedWatson/react-select/pull/4391) Thanks [@ebonow](https://github.com/ebonow)! - Pass and sanitize CommonProps passed to Group and Input components

Expand All @@ -207,7 +207,7 @@

### Minor Changes

- [b5f9b0c5](https://github.com/JedWatson/react-select/commit/b5f9b0c59d7ac8559f88287ba73f0495b4c8eed2) [#4342](https://github.com/JedWatson/react-select/pull/4342) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Standardized innerProps and className props on customizable components
- [b5f9b0c5](https://github.com/JedWatson/react-select/commit/b5f9b0c59d7ac8559f88287ba73f0495b4c8eed2) [#4342](https://github.com/JedWatson/react-select/pull/4342) Thanks [@Methuselah96](https://github.com/Methuselah96)! - Standardized innerProps and className props on customisable components

- [19b76342](https://github.com/JedWatson/react-select/commit/19b763428d6df254f0b9662f18a698dd3c59d83b) [#3911](https://github.com/JedWatson/react-select/pull/3911) Thanks [@eugenet8k](https://github.com/eugenet8k)! - Add `removedValues` to `onChange` event meta when the action is `clear` (when the user clears the value in the Select)

Expand Down Expand Up @@ -1616,7 +1616,7 @@ version; sorry about that!
[Kevin Burke](https://github.com/kembuco)
- added; Support for case-insensitive filtering when `matchPos="start"`, thanks
[wesrage](https://github.com/wesrage)
- added; Support for customizable background color, thanks
- added; Support for customisable background color, thanks
[John Morales](https://github.com/JohnMorales)
- fixed; Updated ESLint and cleared up warnings, thanks
[Alexander Shemetovsky](https://github.com/AlexKVal)
Expand Down
4 changes: 2 additions & 2 deletions packages/react-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ Check the docs for more information on:
- [Advanced use-cases](https://www.react-select.com/advanced)
- [TypeScript guide](https://www.react-select.com/typescript)

## Typescript
## TypeScript

The v5 release represents a rewrite from JavaScript to Typescript. The types for v4 and earlier releases are available at [@types](https://www.npmjs.com/package/@types/react-select). See the [TypeScript guide](https://www.react-select.com/typescript) for how to use the types starting with v5.
The v5 release represents a rewrite from JavaScript to TypeScript. The types for v4 and earlier releases are available at [@types](https://www.npmjs.com/package/@types/react-select). See the [TypeScript guide](https://www.react-select.com/typescript) for how to use the types starting with v5.

# Thanks

Expand Down
4 changes: 2 additions & 2 deletions packages/react-select/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface Props<
'aria-labelledby'?: AriaAttributes['aria-labelledby'];
/** Used to set the priority with which screen reader should treat updates to live regions. The possible settings are: off, polite (default) or assertive */
'aria-live'?: AriaAttributes['aria-live'];
/** Customize the messages used by the aria-live component */
/** Customise the messages used by the aria-live component */
ariaLiveMessages?: AriaLiveMessages<Option, IsMulti, Group>;
/** Focus the control when it is mounted */
autoFocus?: boolean;
Expand Down Expand Up @@ -991,7 +991,7 @@ export default class Select<
// ==============================

getTheme() {
// Use the default theme if there are no customizations.
// Use the default theme if there are no customisations.
if (!this.props.theme) {
return defaultTheme;
}
Expand Down

0 comments on commit 4b84686

Please sign in to comment.