Skip to content

Commit 45b070d

Browse files
authored
chore: spelling (#1072)
* spelling: appearance Signed-off-by: Josh Soref <[email protected]> * spelling: bootstrap Signed-off-by: Josh Soref <[email protected]> * spelling: breadcrumb Signed-off-by: Josh Soref <[email protected]> * spelling: carriage Signed-off-by: Josh Soref <[email protected]> * spelling: cypress Signed-off-by: Josh Soref <[email protected]> * spelling: docsearch Signed-off-by: Josh Soref <[email protected]> * spelling: firefox Signed-off-by: Josh Soref <[email protected]> * spelling: hitting Signed-off-by: Josh Soref <[email protected]> * spelling: mutable Signed-off-by: Josh Soref <[email protected]> * spelling: objects Signed-off-by: Josh Soref <[email protected]> * spelling: positioned Signed-off-by: Josh Soref <[email protected]> * spelling: results Signed-off-by: Josh Soref <[email protected]> * spelling: subscribe Signed-off-by: Josh Soref <[email protected]> * spelling: update Signed-off-by: Josh Soref <[email protected]> * spelling: viewed Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Josh Soref <[email protected]>
1 parent 4117f5c commit 45b070d

File tree

12 files changed

+22
-22
lines changed

12 files changed

+22
-22
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ This new version introduces breaking changes.
673673
### Bug Fixes
674674

675675
- **css:** don't display key shortcuts on mobile ([1adc418](https://github.com/francoischalifour/autocomplete.js/commit/1adc418722f0017b1d504e7d3f7dda8e8104a352))
676-
- **css:** firefox placeholder opacity ([49f7ac3](https://github.com/francoischalifour/autocomplete.js/commit/49f7ac3c9a7680a4e49593f278cb815d52d8d48b))
676+
- **css:** Firefox placeholder opacity ([49f7ac3](https://github.com/francoischalifour/autocomplete.js/commit/49f7ac3c9a7680a4e49593f278cb815d52d8d48b))
677677
- **docsearch:** remove theme media query ([a1030e4](https://github.com/francoischalifour/autocomplete.js/commit/a1030e493c22c5c615fa9c49e385030452b18729))
678678
- **test:** removed extra percy snapshot ([24e38b7](https://github.com/francoischalifour/autocomplete.js/commit/24e38b7771471609e190c5c1a61c57627126551a))
679679

@@ -705,10 +705,10 @@ This new version introduces breaking changes.
705705
- **cypress:** changed env var name for cypress key ([28307a8](https://github.com/francoischalifour/autocomplete.js/commit/28307a84c92b2fe79939cfa4e0755a44326de54c))
706706
- **docsearch:** hoist `transformItems` default value ([1e0ae9e](https://github.com/francoischalifour/autocomplete.js/commit/1e0ae9eefb5fc185cbf41e6ac5c876ed8be24075))
707707
- **lint:** Disable import/no-common for percy ([8af940d](https://github.com/francoischalifour/autocomplete.js/commit/8af940d69bf9eb35bcc70fbc533abdcf721ea209))
708-
- **lint:** set cariage return in prettier config ([3016601](https://github.com/francoischalifour/autocomplete.js/commit/3016601a47699a37e9fa30620e71eef3f30f8c6d))
708+
- **lint:** set carriage return in prettier config ([3016601](https://github.com/francoischalifour/autocomplete.js/commit/3016601a47699a37e9fa30620e71eef3f30f8c6d))
709709
- **lint:** set eol to auto ([e6db26e](https://github.com/francoischalifour/autocomplete.js/commit/e6db26e57aaf433b149dc16d9a846cdfa19c0314))
710710
- **test:** lint ([896ef59](https://github.com/francoischalifour/autocomplete.js/commit/896ef5959f06576f03d6ecd4ff7ee6ce96333a6d))
711-
- **ypress:** Record reuslts ([7dac93e](https://github.com/francoischalifour/autocomplete.js/commit/7dac93e6a538f69bfe44bfdfe0fbb939b0e241e1))
711+
- **Cypress:** Record results ([7dac93e](https://github.com/francoischalifour/autocomplete.js/commit/7dac93e6a538f69bfe44bfdfe0fbb939b0e241e1))
712712

713713
# [1.0.0-alpha.18](https://github.com/francoischalifour/autocomplete.js/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2020-06-11)
714714

@@ -731,7 +731,7 @@ This new version introduces breaking changes.
731731
### Bug Fixes
732732

733733
- **docsearch:** always use `aria-expanded` to `true` ([b89aeb5](https://github.com/francoischalifour/autocomplete.js/commit/b89aeb5c2eccb43b3657239c519caa34ed62299e))
734-
- **dosearch:** don't add `distinct` search parameter ([1c11457](https://github.com/francoischalifour/autocomplete.js/commit/1c1145768a74f372c683fbee9d0aaaf0dd3fb62a))
734+
- **docsearch:** don't add `distinct` search parameter ([1c11457](https://github.com/francoischalifour/autocomplete.js/commit/1c1145768a74f372c683fbee9d0aaaf0dd3fb62a))
735735
- **website:** don't pass default `appId` ([62e0609](https://github.com/francoischalifour/autocomplete.js/commit/62e060917b864e2a86328ea9816252d50c189654))
736736
- **website:** support missing `algolia` config ([4b30cdd](https://github.com/francoischalifour/autocomplete.js/commit/4b30cdd90bfb2226cfd5f34642ea1593a64f833b))
737737
- **website:** update netlify.com to netlify.app ([9cbb80b](https://github.com/francoischalifour/autocomplete.js/commit/9cbb80bb9078a7a19750e8f2bbef6e69ecce9cda))
@@ -906,7 +906,7 @@ This new version introduces breaking changes.
906906

907907
### Bug Fixes
908908

909-
- **dataset:** avoid to call the source when upadte is canceled ([a47696d](https://github.com/algolia/autocomplete.js/commit/a47696d))
909+
- **dataset:** avoid to call the source when update is canceled ([a47696d](https://github.com/algolia/autocomplete.js/commit/a47696d))
910910
- **dataset:** avoid usage of callNow for debounce ([1a0ce74](https://github.com/algolia/autocomplete.js/commit/1a0ce74))
911911
- Handle an odd case with the user agent ([#242](https://github.com/algolia/autocomplete.js/issues/242)) ([c194736](https://github.com/algolia/autocomplete.js/commit/c194736))
912912

examples/recently-viewed-items/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git clone [email protected]:algolia/autocomplete.git
2020

2121
```sh
2222
yarn
23-
yarn workspace @algolia/autocomplete-example-recently-viwed-items start
23+
yarn workspace @algolia/autocomplete-example-recently-viewed-items start
2424
```
2525

2626
Alternatively, you may use npm:

examples/starter-algolia/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Autocomplete starter with Algolia index
22

3-
This example helps you quickly boostrap a basic Autocomplete experience using Algolia.
3+
This example helps you quickly bootstrap a basic Autocomplete experience using Algolia.
44

55
<p align="center"><img src="capture.jpg" alt="A capture of the Autocomplete with Algolia" /></p>
66

examples/starter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Autocomplete starter with static data
22

3-
This example helps you quickly boostrap a basic Autocomplete using static data.
3+
This example helps you quickly bootstrap a basic Autocomplete using static data.
44

55
<p align="center"><img src="capture.jpg" alt="A capture of the Autocomplete starter using static data" /></p>
66

examples/two-column-layout/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ body {
106106
margin-left: calc(var(--aa-icon-size) + var(--aa-spacing));
107107
}
108108

109-
/* Breacrumb */
109+
/* Breadcrumb */
110110
.aa-Breadcrumb {
111111
color: rgb(var(--aa-muted-color-rgb));
112112
display: flex;

packages/autocomplete-js/src/__tests__/panelPlacement.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('panelPlacement', () => {
8686
});
8787
});
8888

89-
test('keeps the panel positionned after scrolling', async () => {
89+
test('keeps the panel positioned after scrolling', async () => {
9090
autocomplete({
9191
container,
9292
panelPlacement: 'input-wrapper-width',
@@ -143,7 +143,7 @@ describe('panelPlacement', () => {
143143
});
144144
});
145145

146-
test('keeps the panel positionned after scrolling', async () => {
146+
test('keeps the panel positioned after scrolling', async () => {
147147
autocomplete({
148148
container,
149149
panelPlacement: 'start',
@@ -197,7 +197,7 @@ describe('panelPlacement', () => {
197197
});
198198
});
199199

200-
test('keeps the panel positionned after scrolling', async () => {
200+
test('keeps the panel positioned after scrolling', async () => {
201201
autocomplete({
202202
container,
203203
panelPlacement: 'end',
@@ -254,7 +254,7 @@ describe('panelPlacement', () => {
254254
});
255255
});
256256

257-
test('keeps the panel positionned after scrolling', async () => {
257+
test('keeps the panel positioned after scrolling', async () => {
258258
autocomplete({
259259
container,
260260
panelPlacement: 'full-width',
@@ -340,7 +340,7 @@ describe('panelPlacement', () => {
340340
});
341341
});
342342

343-
test('default value keeps the panel positionned after scrolling', async () => {
343+
test('default value keeps the panel positioned after scrolling', async () => {
344344
autocomplete({
345345
container,
346346
initialState: {

packages/autocomplete-js/src/__tests__/positioning.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe('Panel positioning', () => {
130130
});
131131
});
132132

133-
test('keeps the panel positionned after scrolling', async () => {
133+
test('keeps the panel positioned after scrolling', async () => {
134134
const container = document.createElement('div');
135135
const panelContainer = document.body;
136136
document.body.appendChild(container);

packages/autocomplete-js/src/elements/Input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const Input: AutocompleteElement<InputProps, HTMLInputElement> = ({
4040
setProperties(element, {
4141
...inputProps,
4242
onKeyDown(event: KeyboardEvent) {
43-
// In detached mode we don't want to close the panel when hittin `Tab`.
43+
// In detached mode we don't want to close the panel when hitting `Tab`.
4444
if (isDetached && event.key === 'Tab') {
4545
return;
4646
}

packages/autocomplete-plugin-recent-searches/src/createRecentSearchesPlugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type CreateRecentSearchesPluginParams<
4747
subscribe?(params: PluginSubscribeParams<TItem>): void;
4848
};
4949

50-
function getDefaultSubcribe<TItem extends RecentSearchesItem>(
50+
function getDefaultSubscribe<TItem extends RecentSearchesItem>(
5151
store: StorageApi<TItem>
5252
) {
5353
return function subscribe({ onSelect }: PluginSubscribeParams<TItem>) {
@@ -75,7 +75,7 @@ export function createRecentSearchesPlugin<TItem extends RecentSearchesItem>(
7575

7676
return {
7777
name: 'aa.recentSearchesPlugin',
78-
subscribe: subscribe ?? getDefaultSubcribe(store),
78+
subscribe: subscribe ?? getDefaultSubscribe(store),
7979
onSubmit({ state }) {
8080
const { query } = state;
8181

packages/autocomplete-shared/src/__tests__/createRef.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('createRef', () => {
77
expect(ref).toEqual({ current: null });
88
});
99

10-
test('makes the current value mutabble', () => {
10+
test('makes the current value mutable', () => {
1111
const ref = createRef<string | null>(null);
1212
ref.current = 'updated';
1313

0 commit comments

Comments
 (0)