Skip to content

Commit

Permalink
feat(layout): integrate tuiContainer layout component in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv9604 committed Dec 13, 2024
1 parent 15d0d5b commit dd0ac5c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#template
let-data="data"
>
<div class="tui-container_fullwidth">
<div tuiContainer="fullwidth">
<div class="tui-row tui-form__row_multi-fields tui-row_adaptive">
<label class="tui-col_md-12">
Star Wars persons
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {encapsulation} from '@demo/emulate/encapsulation';
import type {TuiDialogContext, TuiSizeL, TuiSizeS} from '@taiga-ui/core';
import {TuiButton, TuiDataList, TuiDialogService} from '@taiga-ui/core';
import {TuiDataListWrapper} from '@taiga-ui/kit';
import {TuiContainer} from '@taiga-ui/layout';
import {TuiMultiSelectModule, TuiTextfieldControllerModule} from '@taiga-ui/legacy';
import type {PolymorpheusContent} from '@taiga-ui/polymorpheus';

Expand All @@ -13,6 +14,7 @@ import type {PolymorpheusContent} from '@taiga-ui/polymorpheus';
imports: [
ReactiveFormsModule,
TuiButton,
TuiContainer,
TuiDataList,
TuiDataListWrapper,
TuiMultiSelectModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="tui-container">
<div tuiContainer>
<div class="stepper">
<tui-stepper [activeItemIndex]="0">
<button
Expand Down
2 changes: 2 additions & 0 deletions projects/demo/src/modules/markup/form/examples/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
TuiRadio,
TuiStepper,
} from '@taiga-ui/kit';
import {TuiContainer} from '@taiga-ui/layout';
import {
TuiInputDateModule,
TuiInputModule,
Expand Down Expand Up @@ -55,6 +56,7 @@ class Account {
TuiBlock,
TuiButton,
TuiCheckbox,
TuiContainer,
TuiCurrencyPipe,
TuiDataListWrapper,
TuiError,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '@angular/core';
import {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';

type ContainerType = 'adaptive' | 'fixed' | 'fullWidth' | 'menu';
type ContainerType = '' | 'adaptive' | 'fixed' | 'fullwidth' | 'menu';

@Component({
standalone: true,
Expand Down

0 comments on commit dd0ac5c

Please sign in to comment.