Skip to content

Commit aca423b

Browse files
authored
chore: fix typos detected by cspell (#3265)
1 parent 4edf0af commit aca423b

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

packages/crud/src/vaadin-crud.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ declare class Crud<Item> extends ElementMixin(ThemableMixin(HTMLElement)) {
335335
readonly size: number | null | undefined;
336336

337337
/**
338-
* Controls visiblity state of toolbar.
338+
* Controls visibility state of toolbar.
339339
* When set to false toolbar is hidden and shown when set to true.
340340
* @attr {boolean} no-toolbar
341341
*/

packages/grid/src/vaadin-grid-keyboard-navigation-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export const KeyboardNavigationMixin = (superClass) =>
359359

360360
/**
361361
* Returns the target row after navigating by the given dy offset.
362-
* Also returns infromation whether the details cell should be the target on the target row.
362+
* Also returns information whether the details cell should be the target on the target row.
363363
* If the row is not in the viewport, it is first scrolled to.
364364
* @private
365365
**/

packages/grid/src/vaadin-grid-selection-column.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class GridSelectionColumn extends GridColumn {
235235
}
236236

237237
/**
238-
* iOS needs indeterminated + checked at the same time
238+
* iOS needs indeterminate + checked at the same time
239239
* @private
240240
*/
241241
__isChecked(selectAll, indeterminate) {

packages/grid/test/scroll-to-index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe('scroll to index', () => {
227227
// Issue https://github.com/vaadin/vaadin-grid/issues/2107
228228
it('should display correctly when scrolled to bottom immediately after setting dataProvider', (done) => {
229229
grid.size = 1;
230-
const numberOfChidren = 250;
230+
const numberOfChildren = 250;
231231
grid.itemIdPath = 'name';
232232
const PARENT = { name: 'PARENT', hasChildren: true };
233233
grid.dataProvider = ({ page, parentItem }, cb) => {
@@ -242,7 +242,7 @@ describe('scroll to index', () => {
242242
[...new Array(grid.pageSize)].map((_, index) => {
243243
return { name: 'Child ' + (offset + index), hasChildren: false };
244244
}),
245-
numberOfChidren
245+
numberOfChildren
246246
);
247247
if (page > 0) {
248248
expect(getPhysicalItems(grid).length).to.be.above(10);

packages/polymer-legacy-adapter/src/template-renderer-templatizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class Templatizer extends PolymerElement {
5656
// The Polymer uses `===` to check whether a property is changed and should be re-rendered.
5757
// This means, object properties won't be re-rendered when mutated inside.
5858
// This workaround forces the `item` property to re-render even
59-
// the new item is stricly equal to the old item.
59+
// the new item is strictly equal to the old item.
6060
if (instance.item === properties.item) {
6161
instance._setPendingProperty('item');
6262
}

packages/vaadin-list-mixin/vaadin-list-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export const ListMixin = (superClass) =>
301301
}
302302

303303
focus() {
304-
// In initialisation (e.g vaadin-select) observer might not been run yet.
304+
// In initialization (e.g vaadin-select) observer might not been run yet.
305305
this._observer && this._observer.flush();
306306
const firstItem = this.querySelector('[tabindex="0"]') || (this.items ? this.items[0] : null);
307307
this._focusItem(firstItem);

packages/vaadin-overlay/src/vaadin-overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ class OverlayElement extends ThemableMixin(DirMixin(ControllerMixin(PolymerEleme
675675
if (this._placeholder) {
676676
this._exitModalState();
677677

678-
// Use this.restoreFocusNode if specified, othwerwise fallback to the node
678+
// Use this.restoreFocusNode if specified, otherwise fallback to the node
679679
// which was focused before opening the overlay.
680680
const restoreFocusNode = this.restoreFocusNode || this.__restoreFocusNode;
681681

packages/vaadin-themable-mixin/test/register-styles.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@ describe('registerStyles', () => {
182182
.map((sheet) => [...sheet.cssRules])
183183
.flat();
184184

185-
// Check the number of occurences of the style rule
185+
// Check the number of occurrences of the style rule
186186
const occurrences = rules.filter((rule) => rule.cssText === duplicateStyle).length;
187187

188-
// There should be only one occurence
188+
// There should be only one occurrence
189189
expect(occurrences).to.equal(1);
190190
});
191191

packages/vaadin-themable-mixin/vaadin-themable-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function registerStyles(themeFor, styles, options = {}) {
5858
}
5959

6060
/**
61-
* Returns all registered themes. By default the themeRegistry is returend as is.
61+
* Returns all registered themes. By default the themeRegistry is returned as is.
6262
* In case the style-modules adapter is imported, the themes are obtained from there instead
6363
* @returns {Theme[]}
6464
*/

0 commit comments

Comments
 (0)