Skip to content

Commit

Permalink
fix(cdk): add tuiControlValue to schematic (taiga-family#3137)
Browse files Browse the repository at this point in the history
vladimirpotekhin authored and oknimot committed Dec 1, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f7a4de8 commit ed47c46
Showing 4 changed files with 7 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion projects/cdk/observables/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './control-value';
export * from './drag-and-drop-from';
export * from './focus-visible-observable';
export * from './is-alive';
@@ -7,7 +8,6 @@ export * from './mouse-drag-finish-from';
export * from './must-be-present';
export * from './pressed-observable';
export * from './prevent-default';
export * from './replay-control-value-changes';
export * from './stop-propagation';
export * from './typed-from-event';
export * from './watch';
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import {AbstractControl, FormControl} from '@angular/forms';
import {tuiControlValue} from '@taiga-ui/cdk';
import {skip} from 'rxjs/operators';

describe(`tuiReplayedValueChangesFrom`, () => {
describe(`tuiControlValue`, () => {
it(`takes control and starts with its value`, fakeAsync(() => {
let actual = ``;
const control = new FormControl(`hello`);
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import {TypeToRename} from './types';

export const DEPRECATED_FUNCTIONS: readonly TypeToRename[] = [
{
from: 'tuiReplayedValueChangesFrom',
to: 'tuiControlValue',
moduleSpecifier: ['@taiga-ui/cdk'],
},
{
from: 'controlPoint',
to: 'tuiControlPoint',

0 comments on commit ed47c46

Please sign in to comment.