diff --git a/projects/addon-table/components/table/td/td.style.less b/projects/addon-table/components/table/td/td.style.less index f21292954efb..0a075c54f262 100644 --- a/projects/addon-table/components/table/td/td.style.less +++ b/projects/addon-table/components/table/td/td.style.less @@ -7,9 +7,11 @@ border: 1px solid var(--tui-border-normal); border-block-start: none; box-sizing: border-box; + // TODO: Remove in v5 after we drop all legacy controls // Create new viewport for fixed positioning filter: opacity(1); + // TODO: Remove in v5 after we drop all legacy controls .safari-only({ transform: translate3d(0, 0, 0); }); diff --git a/projects/addon-table/components/table/th/th.style.less b/projects/addon-table/components/table/th/th.style.less index 8b8651f79ad1..45b2493b3e49 100644 --- a/projects/addon-table/components/table/th/th.style.less +++ b/projects/addon-table/components/table/th/th.style.less @@ -16,9 +16,11 @@ box-sizing: border-box; box-shadow: 0 0.3125rem rgba(237, 237, 237, 0); border: 1px solid var(--tui-border-normal); + // TODO: Remove in v5 after we drop all legacy controls // Create new viewport for fixed positioning filter: opacity(1); + // TODO: Remove in v5 after we drop all legacy controls .safari-only({ transform: translate3d(0, 0, 0); }); diff --git a/projects/cdk/date-time/day.ts b/projects/cdk/date-time/day.ts index ebe7a1b27e31..b9db44aeb6a7 100644 --- a/projects/cdk/date-time/day.ts +++ b/projects/cdk/date-time/day.ts @@ -14,6 +14,11 @@ import {TuiYear} from './year'; * Immutable date object, consisting of day, month and year */ export class TuiDay extends TuiMonth { + /** + * @param year + * @param month (starting with 0) + * @param day + */ constructor( year: number, month: number, diff --git a/projects/core/components/textfield/textfield.component.ts b/projects/core/components/textfield/textfield.component.ts index d72428928aae..2b77e8b03fd2 100644 --- a/projects/core/components/textfield/textfield.component.ts +++ b/projects/core/components/textfield/textfield.component.ts @@ -21,7 +21,7 @@ import type {TuiContext, TuiStringHandler} from '@taiga-ui/cdk/types'; import {tuiInjectElement} from '@taiga-ui/cdk/utils/dom'; import {tuiFocusedIn} from '@taiga-ui/cdk/utils/focus'; import {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous'; -import {TuiButton} from '@taiga-ui/core/components/button'; +import {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button'; import type {TuiDataListHost} from '@taiga-ui/core/components/data-list'; import {tuiAsDataListHost} from '@taiga-ui/core/components/data-list'; import {TuiLabel} from '@taiga-ui/core/components/label'; @@ -49,7 +49,10 @@ import {TuiWithTextfieldDropdown} from './textfield-dropdown.directive'; styles: ['@import "@taiga-ui/core/styles/components/textfield.less";'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - providers: [tuiAsDataListHost(TuiTextfieldComponent)], + providers: [ + tuiButtonOptionsProvider({size: 'xs', appearance: 'icon'}), + tuiAsDataListHost(TuiTextfieldComponent), + ], hostDirectives: [ TuiDropdownFixed, TuiDropdownDirective, diff --git a/projects/demo/src/modules/components/textfield/examples/5/index.html b/projects/demo/src/modules/components/textfield/examples/5/index.html index 1c3e24035341..2fc2bcaa166b 100644 --- a/projects/demo/src/modules/components/textfield/examples/5/index.html +++ b/projects/demo/src/modules/components/textfield/examples/5/index.html @@ -11,9 +11,7 @@