From ad1483dab29c70edb061754a6105c0a3f772a769 Mon Sep 17 00:00:00 2001 From: jeripeierSBB Date: Wed, 10 Mar 2021 13:00:04 +0100 Subject: [PATCH 1/3] docs: replace programatically by programmatically Harmonize the use of the word programmatically like it is in dictionary. Also see https://en.wiktionary.org/wiki/programatically --- src/cdk-experimental/column-resize/column-resize-notifier.ts | 2 +- src/cdk/table/cell.ts | 4 ++-- .../tooltip/tooltip-disabled/tooltip-disabled-example.html | 2 +- src/material-experimental/mdc-autocomplete/autocomplete.scss | 4 ++-- src/material/menu/menu.ts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cdk-experimental/column-resize/column-resize-notifier.ts b/src/cdk-experimental/column-resize/column-resize-notifier.ts index 2fb07d249645..8c58d20168bd 100644 --- a/src/cdk-experimental/column-resize/column-resize-notifier.ts +++ b/src/cdk-experimental/column-resize/column-resize-notifier.ts @@ -26,7 +26,7 @@ export interface ColumnSizeAction extends ColumnSize { /** * Whether the resize action should be applied instantaneously. False for events triggered during * a UI-triggered resize (such as with the mouse) until the mouse button is released. True - * for all programatically triggered resizes. + * for all programmatically triggered resizes. */ readonly completeImmediately?: boolean; diff --git a/src/cdk/table/cell.ts b/src/cdk/table/cell.ts index e2ea1d3dbcec..540858827a1d 100644 --- a/src/cdk/table/cell.ts +++ b/src/cdk/table/cell.ts @@ -134,8 +134,8 @@ export class CdkColumnDef extends _CdkColumnDefBase implements CanStick { * @docs-private */ protected _setNameInput(value: string) { - // If the directive is set without a name (updated programatically), then this setter will - // trigger with an empty string and should not overwrite the programatically set value. + // If the directive is set without a name (updated programmatically), then this setter will + // trigger with an empty string and should not overwrite the programmatically set value. if (value) { this._name = value; this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/ig, '-'); diff --git a/src/components-examples/material/tooltip/tooltip-disabled/tooltip-disabled-example.html b/src/components-examples/material/tooltip/tooltip-disabled/tooltip-disabled-example.html index 449ca4401475..c2b7a15a326a 100644 --- a/src/components-examples/material/tooltip/tooltip-disabled/tooltip-disabled-example.html +++ b/src/components-examples/material/tooltip/tooltip-disabled/tooltip-disabled-example.html @@ -1,7 +1,7 @@ diff --git a/src/material-experimental/mdc-autocomplete/autocomplete.scss b/src/material-experimental/mdc-autocomplete/autocomplete.scss index 4b00d58101e6..510a3fd79c91 100644 --- a/src/material-experimental/mdc-autocomplete/autocomplete.scss +++ b/src/material-experimental/mdc-autocomplete/autocomplete.scss @@ -13,7 +13,7 @@ max-height: 256px; // Prevents lists with a lot of option from growing too high. position: static; // MDC uses `absolute` by default which will throw off our positioning. visibility: hidden; - // MDC sets the transform-origin programatically based on whether the dropdown is above or below + // MDC sets the transform-origin programmatically based on whether the dropdown is above or below // the input. We use our own positioning logic, so we need to set this ourselves. transform-origin: center top; @@ -32,7 +32,7 @@ .mat-mdc-autocomplete-panel-above & { border-bottom-left-radius: 0; border-bottom-right-radius: 0; - // MDC sets the transform-origin programatically based on whether the dropdown is above or below + // MDC sets the transform-origin programmatically based on whether the dropdown is above or below // the input. We use our own positioning logic, so we need to set this ourselves. transform-origin: center bottom; } diff --git a/src/material/menu/menu.ts b/src/material/menu/menu.ts index 1a0ded08d9d6..99c3f7ec935f 100644 --- a/src/material/menu/menu.ts +++ b/src/material/menu/menu.ts @@ -272,7 +272,7 @@ export class _MatMenuBase implements AfterContentInit, MatMenuPanel .withHomeAndEnd(); this._tabSubscription = this._keyManager.tabOut.subscribe(() => this.closed.emit('tab')); - // If a user manually (programatically) focuses a menu item, we need to reflect that focus + // If a user manually (programmatically) focuses a menu item, we need to reflect that focus // change back to the key manager. Note that we don't need to unsubscribe here because _focused // is internal and we know that it gets completed on destroy. this._directDescendantItems.changes.pipe( From 29334f685e6c32e8609ef26db42e16b5a264b6f2 Mon Sep 17 00:00:00 2001 From: jeripeierSBB Date: Wed, 10 Mar 2021 15:05:15 +0100 Subject: [PATCH 2/3] fixup! docs: replace programatically by programmatically --- src/material-experimental/mdc-autocomplete/autocomplete.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/material-experimental/mdc-autocomplete/autocomplete.scss b/src/material-experimental/mdc-autocomplete/autocomplete.scss index 510a3fd79c91..0472f8c70bf8 100644 --- a/src/material-experimental/mdc-autocomplete/autocomplete.scss +++ b/src/material-experimental/mdc-autocomplete/autocomplete.scss @@ -13,8 +13,8 @@ max-height: 256px; // Prevents lists with a lot of option from growing too high. position: static; // MDC uses `absolute` by default which will throw off our positioning. visibility: hidden; - // MDC sets the transform-origin programmatically based on whether the dropdown is above or below - // the input. We use our own positioning logic, so we need to set this ourselves. + // MDC sets the transform-origin programmatically based on whether the dropdown is above or + // below the input. We use our own positioning logic, so we need to set this ourselves. transform-origin: center top; // Note that we include this private mixin, because the public From 4879680ba51518ead2c4429980285d8cc596bef8 Mon Sep 17 00:00:00 2001 From: jeripeierSBB Date: Wed, 10 Mar 2021 15:57:34 +0100 Subject: [PATCH 3/3] fixup! docs: replace programatically by programmatically --- src/material-experimental/mdc-autocomplete/autocomplete.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/material-experimental/mdc-autocomplete/autocomplete.scss b/src/material-experimental/mdc-autocomplete/autocomplete.scss index 0472f8c70bf8..7fb3ad8bd539 100644 --- a/src/material-experimental/mdc-autocomplete/autocomplete.scss +++ b/src/material-experimental/mdc-autocomplete/autocomplete.scss @@ -32,8 +32,8 @@ .mat-mdc-autocomplete-panel-above & { border-bottom-left-radius: 0; border-bottom-right-radius: 0; - // MDC sets the transform-origin programmatically based on whether the dropdown is above or below - // the input. We use our own positioning logic, so we need to set this ourselves. + // MDC sets the transform-origin programmatically based on whether the dropdown is above or + // below the input. We use our own positioning logic, so we need to set this ourselves. transform-origin: center bottom; }