Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Dec 18, 2024
1 parent 797e233 commit 6e1c4e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/core/styles/theme/appearance/textfield.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// TODO: Remove tuiWrapper hack in v5
&:not([tuiWrapper])::before,
&:not([tuiWrapper])::after {
.transition(color);
.transition(~'color, transform');

color: var(--tui-text-tertiary);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
TuiAutoFocus,
tuiAutoFocusOptionsProvider,
} from '@taiga-ui/cdk/directives/auto-focus';
import {TUI_IS_IOS, tuiFallbackValueProvider} from '@taiga-ui/cdk/tokens';
import {tuiFallbackValueProvider} from '@taiga-ui/cdk/tokens';
import {tuiInjectElement, tuiIsInputEvent} from '@taiga-ui/cdk/utils/dom';
import {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/miscellaneous';
import {TuiButton} from '@taiga-ui/core/components/button';
Expand Down Expand Up @@ -94,7 +94,7 @@ const NOT_FORM_CONTROL_SYMBOLS = /[^+\d]/g;
],
hostDirectives: [MaskitoDirective, TuiWithTextfield],
host: {
'[attr.inputmode]': '!ios && open() ? "none" : "numeric"',
type: 'tel',
'[attr.readonly]': 'readOnly() || null',
'[disabled]': 'disabled()',
'[value]': 'masked()',
Expand All @@ -109,7 +109,6 @@ export class TuiInputPhoneInternational extends TuiControl<string> {
protected readonly list: QueryList<ElementRef<HTMLButtonElement>> = EMPTY_QUERY;

protected readonly el = tuiInjectElement<HTMLInputElement>();
protected readonly ios = inject(TUI_IS_IOS);
protected readonly icons = inject(TUI_COMMON_ICONS);
protected readonly options = inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS);
protected readonly countries = signal(this.options.countries);
Expand Down

0 comments on commit 6e1c4e6

Please sign in to comment.