Skip to content

Commit

Permalink
chore: fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Apr 2, 2024
1 parent d914cc7 commit d776386
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
6 changes: 4 additions & 2 deletions projects/addon-mobile/styles/common/button.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[tuiButton],
[tuiIconButton] {
[tuiButton] {
width: 100%;
}

[tuiButton],
[tuiIconButton] {
&[data-size='xs'],
&[data-size='s'],
&[data-size='l'] {
Expand Down
3 changes: 1 addition & 2 deletions projects/core/components/button/button.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@

tui-svg,
tui-icon,
&:not([tuiIconButton][data-appearance='icon']):before,
&:not([tuiIconButton][data-appearance='link']):before {
&:not([tuiIconButton][data-appearance='icon']):not([tuiIconButton][data-appearance='link']):before {
font-size: 1rem;
}
}
Expand Down
5 changes: 4 additions & 1 deletion projects/core/styles/theme/appearance/textfield.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
background: var(--tui-base-01);
color: var(--tui-text-01);
box-shadow: var(--t-shadow);
border: none;
outline: 1px solid var(--tui-base-03);
outline-offset: -1px;

Expand Down Expand Up @@ -36,3 +35,7 @@
outline-color: var(--tui-base-04) !important;
}
}

button[tuiAppearance][data-appearance='textfield'] {
border: none;
}
4 changes: 2 additions & 2 deletions projects/kit/components/arrow/arrow.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {TUI_ARROW_OPTIONS} from './arrow.options';
styleUrls: ['./arrow.style.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TuiArrowComponent {
export class TuiArrowOldComponent {
private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);
private readonly options = inject(TUI_ARROW_OPTIONS);
protected readonly directive = inject(TuiDropdownOpenDirective, {optional: true});
Expand All @@ -34,4 +34,4 @@ export class TuiArrowComponent {
}
}

export const TUI_ARROW = new PolymorpheusComponent(TuiArrowComponent);
export const TUI_ARROW = new PolymorpheusComponent(TuiArrowOldComponent);
6 changes: 3 additions & 3 deletions projects/kit/components/arrow/arrow.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import {NgModule} from '@angular/core';
import {TuiSvgModule} from '@taiga-ui/core';
import {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';

import {TuiArrowComponent} from './arrow.component';
import {TuiArrowOldComponent} from './arrow.component';

@NgModule({
imports: [CommonModule, TuiSvgModule, PolymorpheusModule],
declarations: [TuiArrowComponent],
exports: [TuiArrowComponent],
declarations: [TuiArrowOldComponent],
exports: [TuiArrowOldComponent],
})
export class TuiArrowModule {}

0 comments on commit d776386

Please sign in to comment.