diff --git a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.html b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.html index 88e1cb336f1d..4035be85b505 100644 --- a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.html +++ b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.html @@ -1,25 +1,26 @@

Right-click any table row.

- - - +
+ + + + diff --git a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.less b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.less index fac266c52119..75e6b0db266b 100644 --- a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.less +++ b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.less @@ -1,3 +1,5 @@ +@import '@taiga-ui/core/styles/taiga-ui-local'; + .context-menu { inline-size: 8rem; } @@ -5,3 +7,21 @@ .icon { border-width: 0.25rem; } + +[tuiTable] { + inline-size: 100%; +} + +[tuiTh], +[tuiTd] { + border-inline-start: none; + border-inline-end: none; +} + +[tuiTh] { + border-block-start: none; +} + +[tuiTd] { + font: var(--tui-font-text-m) !important; +} diff --git a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.ts b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.ts index 19a5220b6816..d4352a96416a 100644 --- a/projects/demo/src/modules/directives/dropdown-context/examples/2/index.ts +++ b/projects/demo/src/modules/directives/dropdown-context/examples/2/index.ts @@ -2,12 +2,20 @@ import {NgForOf} from '@angular/common'; import {Component, inject} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; +import {TuiTable} from '@taiga-ui/addon-table'; import {TuiDataList, TuiDialogService, TuiDropdown, TuiIcon} from '@taiga-ui/core'; import {TuiDataListDropdownManager} from '@taiga-ui/kit'; @Component({ standalone: true, - imports: [NgForOf, TuiDataList, TuiDataListDropdownManager, TuiDropdown, TuiIcon], + imports: [ + NgForOf, + TuiDataList, + TuiDataListDropdownManager, + TuiDropdown, + TuiIcon, + TuiTable, + ], templateUrl: './index.html', styleUrls: ['./index.less'], encapsulation, diff --git a/projects/demo/src/modules/info/browsers/index.html b/projects/demo/src/modules/info/browsers/index.html index 4e0f51203525..0c1ca11ceda4 100644 --- a/projects/demo/src/modules/info/browsers/index.html +++ b/projects/demo/src/modules/info/browsers/index.html @@ -1,17 +1,16 @@

Desktop

-
{{ column }}
{{ value }}
- - - - +
BrowserVersion
+ + + + - - - + + + +
BrowserVersion
{{ browser.name }} +
{{ browser.name }} {{ browser.version }} @@ -20,18 +19,17 @@

Desktop

Mobile

- - - - - +
BrowserVersion
+ + + + - - - + + + + +
BrowserVersion
{{ browser.name }}{{ browser.version }}
{{ browser.name }}{{ browser.version }}
diff --git a/projects/demo/src/modules/info/browsers/index.less b/projects/demo/src/modules/info/browsers/index.less new file mode 100644 index 000000000000..e6d1dfd32698 --- /dev/null +++ b/projects/demo/src/modules/info/browsers/index.less @@ -0,0 +1,20 @@ +@import '@taiga-ui/core/styles/taiga-ui-local'; + +[tuiTable] { + inline-size: 100%; +} + +[tuiTh], +[tuiTd] { + border-inline-start: none; + border-inline-end: none; +} + +[tuiTh] { + border-block-start: none; +} + +[tuiTd] { + font: var(--tui-font-text-m) !important; + inline-size: 18.75rem; +} diff --git a/projects/demo/src/modules/info/browsers/index.ts b/projects/demo/src/modules/info/browsers/index.ts index 0bd97c8ba63f..b7974a63c70a 100644 --- a/projects/demo/src/modules/info/browsers/index.ts +++ b/projects/demo/src/modules/info/browsers/index.ts @@ -1,11 +1,12 @@ import {ChangeDetectionStrategy, Component} from '@angular/core'; import {TuiDemo} from '@demo/utils'; +import {TuiTable} from '@taiga-ui/addon-table'; @Component({ standalone: true, - imports: [TuiDemo], + imports: [TuiDemo, TuiTable], templateUrl: './index.html', - styles: ['td {width: 18.75rem}'], + styleUrls: ['./index.less'], changeDetection: ChangeDetectionStrategy.OnPush, }) export default class Page { diff --git a/projects/demo/src/modules/pipes/filter/examples/1/index.html b/projects/demo/src/modules/pipes/filter/examples/1/index.html index 3209a154fb81..3b499fc07cf9 100644 --- a/projects/demo/src/modules/pipes/filter/examples/1/index.html +++ b/projects/demo/src/modules/pipes/filter/examples/1/index.html @@ -1,12 +1,17 @@ - - - - - +
NameSum, $
+ + + + + + - - + + - +
NameSum, $
{{ item.name }}{{ item.price }}{{ item.name }}{{ item.price }}
diff --git a/projects/demo/src/modules/pipes/filter/examples/1/index.less b/projects/demo/src/modules/pipes/filter/examples/1/index.less new file mode 100644 index 000000000000..47ef92e0b10c --- /dev/null +++ b/projects/demo/src/modules/pipes/filter/examples/1/index.less @@ -0,0 +1,10 @@ +@import '@taiga-ui/core/styles/taiga-ui-local'; + +[tuiTh], +[tuiTd] { + border: none; +} + +[tuiTd] { + font: var(--tui-font-text-m) !important; +} diff --git a/projects/demo/src/modules/pipes/filter/examples/1/index.ts b/projects/demo/src/modules/pipes/filter/examples/1/index.ts index 32adb9852178..631897265307 100644 --- a/projects/demo/src/modules/pipes/filter/examples/1/index.ts +++ b/projects/demo/src/modules/pipes/filter/examples/1/index.ts @@ -2,6 +2,7 @@ import {NgForOf} from '@angular/common'; import {Component} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; +import {TuiTable} from '@taiga-ui/addon-table'; import {TuiFilterPipe} from '@taiga-ui/cdk'; export interface Item { @@ -11,8 +12,9 @@ export interface Item { @Component({ standalone: true, - imports: [NgForOf, TuiFilterPipe], + imports: [NgForOf, TuiFilterPipe, TuiTable], templateUrl: './index.html', + styleUrls: ['./index.less'], encapsulation, changeDetection, })