Skip to content

Commit 4b84686

Browse files
authored
Typo correction (JedWatson#5261)
* Correct several typos * More typos * Language naming correction * Revert removed import by mistake * Revert customiz** changes * Revert customiz** changes * Extra revert
1 parent 56d2154 commit 4b84686

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ Check the docs for more information on:
151151
- [Advanced use-cases](https://www.react-select.com/advanced)
152152
- [TypeScript guide](https://www.react-select.com/typescript)
153153

154-
## Typescript
154+
## TypeScript
155155

156-
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.
156+
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.
157157

158158
# Thanks
159159

docs/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
### Minor Changes
4646

47-
- [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
47+
- [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
4848

4949
### Patch Changes
5050

docs/pages/advanced/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function Advanced() {
3535
3636
## Accessibility
3737
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
38-
a custom experience for all users. As such, we also provide an api to address internationalization or further customization.
38+
a custom experience for all users. As such, we also provide an api to address internationalization or further customisation.
3939
4040
${(
4141
<ExampleWrapper

docs/pages/typescript/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ declare module 'react-select/dist/declarations/src/Select' {
102102
}
103103
~~~
104104
105-
This will make the custom prop available both when using the \`Select\` component as well as when accessing \`selectProps\` when [customizing components](./components).
105+
This will make the custom prop available both when using the \`Select\` component as well as when accessing \`selectProps\` when [customising components](./components).
106106
`}
107107
</>
108108
);

packages/react-select/CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188
- [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`
189189

190-
- [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
190+
- [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
191191

192192
- [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
193193

@@ -207,7 +207,7 @@
207207

208208
### Minor Changes
209209

210-
- [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
210+
- [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
211211

212212
- [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)
213213

@@ -1616,7 +1616,7 @@ version; sorry about that!
16161616
[Kevin Burke](https://github.com/kembuco)
16171617
- added; Support for case-insensitive filtering when `matchPos="start"`, thanks
16181618
[wesrage](https://github.com/wesrage)
1619-
- added; Support for customizable background color, thanks
1619+
- added; Support for customisable background color, thanks
16201620
[John Morales](https://github.com/JohnMorales)
16211621
- fixed; Updated ESLint and cleared up warnings, thanks
16221622
[Alexander Shemetovsky](https://github.com/AlexKVal)

packages/react-select/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ Check the docs for more information on:
151151
- [Advanced use-cases](https://www.react-select.com/advanced)
152152
- [TypeScript guide](https://www.react-select.com/typescript)
153153

154-
## Typescript
154+
## TypeScript
155155

156-
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.
156+
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.
157157

158158
# Thanks
159159

packages/react-select/src/Select.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface Props<
8181
'aria-labelledby'?: AriaAttributes['aria-labelledby'];
8282
/** Used to set the priority with which screen reader should treat updates to live regions. The possible settings are: off, polite (default) or assertive */
8383
'aria-live'?: AriaAttributes['aria-live'];
84-
/** Customize the messages used by the aria-live component */
84+
/** Customise the messages used by the aria-live component */
8585
ariaLiveMessages?: AriaLiveMessages<Option, IsMulti, Group>;
8686
/** Focus the control when it is mounted */
8787
autoFocus?: boolean;
@@ -991,7 +991,7 @@ export default class Select<
991991
// ==============================
992992

993993
getTheme() {
994-
// Use the default theme if there are no customizations.
994+
// Use the default theme if there are no customisations.
995995
if (!this.props.theme) {
996996
return defaultTheme;
997997
}

0 commit comments

Comments
 (0)