Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(demo): replaced global b-demo-steps class with tui-setup component #7280

Merged
merged 86 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
66f5ad2
chore(demo): chagned b-demo-steps in arc char to tui-setup
KrollikRoddzer Apr 12, 2024
e79f238
chore(demo): chagned b-demo-steps in axes to tui-setup
KrollikRoddzer Apr 12, 2024
c291ce5
chore(demo): chagned b-demo-steps in bar to tui-setup
KrollikRoddzer Apr 12, 2024
d122fb8
chore(demo): chagned b-demo-steps in bar-set to tui-setup
KrollikRoddzer Apr 12, 2024
4441f12
chore(demo): chagned b-demo-steps in bar-chart to tui-setup
KrollikRoddzer Apr 12, 2024
6184342
chore(demo): chagned b-demo-steps in legend-imte to tui-setup
KrollikRoddzer Apr 12, 2024
a6768dc
chore(demo): chagned b-demo-steps in line-chart to tui-setup
KrollikRoddzer Apr 12, 2024
d18dd80
chore(demo): chagned b-demo-steps in line-days-chart to tui-setup
KrollikRoddzer Apr 12, 2024
f92950a
chore(demo): chagned b-demo-steps in pie-chart to tui-setup
KrollikRoddzer Apr 12, 2024
34cd792
chore(demo): chagned b-demo-steps in ring-chart to tui-setup
KrollikRoddzer Apr 12, 2024
8a58a4d
chore(demo): chagned b-demo-steps in accordion to tui-setup
KrollikRoddzer Apr 12, 2024
31ec186
chore(demo): chagned b-demo-steps to tui-list in alert
KrollikRoddzer Apr 12, 2024
d7f662e
chore(demo): chagned b-demo-steps in badge to tui-setup
KrollikRoddzer Apr 12, 2024
439056a
chore(demo): chagned b-demo-steps in badge-notification to tui-setup
KrollikRoddzer Apr 12, 2024
026e1ce
chore(demo): chagned b-demo-steps to tui-list in calendar-rane
KrollikRoddzer Apr 12, 2024
218d769
chore(demo): chagned b-demo-steps in carousel to tui-setup
KrollikRoddzer Apr 12, 2024
823e885
chore(demo): chagned b-demo-steps to tui-list in combo-box
KrollikRoddzer Apr 12, 2024
46cccd2
chore(demo): chagned b-demo-steps to tui-list in confirm
KrollikRoddzer Apr 12, 2024
b13c515
chore(demo): chagned b-demo-steps in data-list to tui-setup
KrollikRoddzer Apr 12, 2024
d2f4366
chore(demo): chagned b-demo-steps in data-list-wrapper to tui-setup
KrollikRoddzer Apr 12, 2024
ea9b3c9
chore(demo): chagned b-demo-steps to tui-list in dialog
KrollikRoddzer Apr 12, 2024
ae3f47b
chore(demo): chagned b-demo-steps in elasric-container to tui-setup
KrollikRoddzer Apr 12, 2024
3bec2b4
chore(demo): chagned b-demo-steps in error to tui-setup
KrollikRoddzer Apr 12, 2024
f068080
chore(demo): chagned b-demo-steps in expand to tui-setup
KrollikRoddzer Apr 12, 2024
99d0d2f
chore(demo): chagned b-demo-steps in filter to tui-setup
KrollikRoddzer Apr 12, 2024
dde4995
chore(demo): chagned b-demo-steps in group to tui-setup
KrollikRoddzer Apr 12, 2024
33d2add
chore(demo): chagned b-demo-steps in hosted dropdawn to tui-setup
KrollikRoddzer Apr 12, 2024
1c6cae3
chore(demo): chagned b-demo-steps in icon to tui-setup
KrollikRoddzer Apr 12, 2024
570597d
chore(demo): chagned b-demo-steps in input card to tui-setup
KrollikRoddzer Apr 12, 2024
832eaa5
chore(demo): chagned b-demo-steps in input card grouped to tui-setup
KrollikRoddzer Apr 12, 2024
11646c7
chore(demo): chagned b-demo-steps in input files to tui-setup
KrollikRoddzer Apr 12, 2024
cb7bb23
chore(demo): chagned b-demo-steps in input inline to tui-setup
KrollikRoddzer Apr 12, 2024
cf72cb0
chore(demo): chagned b-demo-steps in input range to tui-setup
KrollikRoddzer Apr 12, 2024
777a28e
chore(demo): chagned b-demo-steps in input slider to tui-setup
KrollikRoddzer Apr 12, 2024
5e0b055
chore(demo): chagned b-demo-steps in input tag to tui-setup
KrollikRoddzer Apr 12, 2024
b41ff12
chore(demo): chagned b-demo-steps in islabd to tui-setup
KrollikRoddzer Apr 12, 2024
b990dd8
chore(demo): chagned b-demo-steps in items with more to tui-setup
KrollikRoddzer Apr 12, 2024
2dc42db
chore(demo): chagned b-demo-steps in label to tui-setup
KrollikRoddzer Apr 12, 2024
02e2dde
chore(demo): chagned b-demo-steps in line clamp to tui-setup
KrollikRoddzer Apr 12, 2024
9bf7afa
chore(demo): chagned b-demo-steps in pagination to tui-setup
KrollikRoddzer Apr 12, 2024
792c1fe
chore(demo): chagned b-demo-steps in primitive textfield to tui-setup
KrollikRoddzer Apr 12, 2024
957345f
chore(demo): chagned b-demo-steps in progress bar to tui-setup
KrollikRoddzer Apr 12, 2024
6637214
chore(demo): chagned b-demo-steps in circle bar to tui-setup
KrollikRoddzer Apr 12, 2024
e41cc85
chore(demo): chagned b-demo-steps in pull to refresh to tui-setup
KrollikRoddzer Apr 12, 2024
c0ea52c
chore(demo): chagned b-demo-steps in scrollbar to tui-setup
KrollikRoddzer Apr 12, 2024
436798a
chore(demo): chagned b-demo-steps in swipe actions to tui-setup
KrollikRoddzer Apr 12, 2024
3493eb7
chore(demo): chagned b-demo-steps in tooltip to tui-setup
KrollikRoddzer Apr 12, 2024
190267b
chore(demo): chagned b-demo-steps in tree to tui-setup
KrollikRoddzer Apr 12, 2024
2b4b097
chore(demo): chagned b-demo-steps in appearence to tui-setup
KrollikRoddzer Apr 12, 2024
7e30981
chore(demo): chagned b-demo-steps in dropdown to tui-setup
KrollikRoddzer Apr 12, 2024
1c2b85a
chore(demo): chagned b-demo-steps in dropdown context to tui-setup
KrollikRoddzer Apr 12, 2024
c0f9be0
chore(demo): chagned b-demo-steps in dropdown hover to tui-setup
KrollikRoddzer Apr 12, 2024
c482d28
chore(demo): chagned b-demo-steps in dropdown selection to tui-setup
KrollikRoddzer Apr 12, 2024
c5fefc4
chore(demo): chagned b-demo-steps in element to tui-setup
KrollikRoddzer Apr 12, 2024
aaeb3dd
chore(demo): chagned b-demo-steps in fade to tui-setup
KrollikRoddzer Apr 12, 2024
853127e
chore(demo): chagned b-demo-steps in for to tui-setup
KrollikRoddzer Apr 12, 2024
bc441b9
chore(demo): chagned b-demo-steps in highlight to tui-setup
KrollikRoddzer Apr 12, 2024
bab77fd
chore(demo): chagned b-demo-steps in hint to tui-setup
KrollikRoddzer Apr 12, 2024
7ae5425
chore(demo): chagned b-demo-steps in hint describe to tui-setup
KrollikRoddzer Apr 12, 2024
cdfa40e
chore(demo): chagned b-demo-steps in hint manual to tui-setup
KrollikRoddzer Apr 12, 2024
12785b4
chore(demo): chagned b-demo-steps in hint pointer to tui-setup
KrollikRoddzer Apr 12, 2024
582483e
chore(demo): chagned b-demo-steps in hovered change to tui-setup
KrollikRoddzer Apr 12, 2024
588fa91
chore(demo): chagned b-demo-steps in let to tui-setup
KrollikRoddzer Apr 12, 2024
1f029fc
chore(demo): chagned b-demo-steps in media to tui-setup
KrollikRoddzer Apr 12, 2024
1b5f76b
chore(demo): chagned b-demo-steps in overscroll to tui-setup
KrollikRoddzer Apr 12, 2024
7df302f
chore(demo): chagned b-demo-steps in pan to tui-setup
KrollikRoddzer Apr 12, 2024
e3a08bf
chore(demo): chagned b-demo-steps in present to tui-setup
KrollikRoddzer Apr 12, 2024
93241df
chore(demo): chagned b-demo-steps in resizer to tui-setup
KrollikRoddzer Apr 12, 2024
d9a13d7
chore(demo): chagned b-demo-steps in sensitive to tui-setup
KrollikRoddzer Apr 12, 2024
0f7204f
chore(demo): chagned b-demo-steps in swipe to tui-setup
KrollikRoddzer Apr 12, 2024
ab7d683
chore(demo): chagned b-demo-steps in validator to tui-setup
KrollikRoddzer Apr 12, 2024
f9f9008
chore(demo): chagned b-demo-steps in value changes to tui-setup
KrollikRoddzer Apr 12, 2024
e44ec7e
chore(demo): chagned b-demo-steps in navigation to tui-setup
KrollikRoddzer Apr 12, 2024
f15ca20
chore(demo): chagned b-demo-steps in textfield to tui-setup
KrollikRoddzer Apr 12, 2024
42185d7
chore(demo): chagned b-demo-steps in tooltip to tui-setup
KrollikRoddzer Apr 12, 2024
61f9f2b
chore(demo): chagned b-demo-steps in icons to tui-setup
KrollikRoddzer Apr 12, 2024
075232a
chore(demo): chagned b-demo-steps in amount to tui-setup
KrollikRoddzer Apr 12, 2024
fb41a75
chore(demo): chagned b-demo-steps in field-error to tui-setup
KrollikRoddzer Apr 12, 2024
276b020
chore(demo): changed b-demo-steps in stringify pipe
KrollikRoddzer Apr 22, 2024
ee81a18
chore(demo): changed b-demo-steps in stringify-content pipe
KrollikRoddzer Apr 22, 2024
4a5a4df
chore(demo): changed b-demo-steps in reorder component
KrollikRoddzer Apr 22, 2024
d428177
chore(demo): changed b-demo-steps in table component
KrollikRoddzer Apr 22, 2024
8166e56
chore(demo): changed b-demo-steps in table-pagination component
KrollikRoddzer Apr 22, 2024
1c186a8
chore(demo): changed b-demo-steps in tui-setup component
KrollikRoddzer Apr 22, 2024
452e450
chore(demo): added tui-list to reorder
KrollikRoddzer Apr 23, 2024
76f8af2
chore(demo): added tui-list to table-pagination
KrollikRoddzer Apr 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiArcChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
Expand All @@ -19,6 +20,7 @@ import {TuiArcChartExample2} from './examples/2';
TuiAmountPipe,
TuiArcChartModule,
TuiAddonDocModule,
TuiSetupComponent,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiArcChartComponent)),
TuiInputNumberModule,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,28 +89,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiArcChartModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
2 changes: 2 additions & 0 deletions projects/demo/src/modules/charts/axes/axes.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiBarChartModule, TuiBarModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
Expand All @@ -25,6 +26,7 @@ import {TuiAxesExample3} from './examples/3';
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiAxesComponent)),
TuiNotificationModule,
TuiSetupComponent,
],
declarations: [
ExampleTuiAxesComponent,
Expand Down
27 changes: 4 additions & 23 deletions projects/demo/src/modules/charts/axes/axes.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,28 +173,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiAxesModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiBarChartModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHintModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
Expand All @@ -24,6 +25,7 @@ import {TuiBarChartExample2} from './examples/2';
TuiDataListWrapperModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarChartComponent)),
TuiSetupComponent,
],
declarations: [ExampleTuiBarChartComponent, TuiBarChartExample1, TuiBarChartExample2],
exports: [ExampleTuiBarChartComponent],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,28 +94,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiBarChartModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
2 changes: 2 additions & 0 deletions projects/demo/src/modules/charts/bar-set/bar-set.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiBarSetModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiFormatNumberPipeModule} from '@taiga-ui/core';
Expand All @@ -20,6 +21,7 @@ import {TuiBarSetExample5} from './examples/5';
TuiFormatNumberPipeModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarSetComponent)),
TuiSetupComponent,
],
declarations: [
ExampleTuiBarSetComponent,
Expand Down
27 changes: 4 additions & 23 deletions projects/demo/src/modules/charts/bar-set/bar-set.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,28 +90,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiBarSetModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
2 changes: 2 additions & 0 deletions projects/demo/src/modules/charts/bar/bar.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiBarModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';

Expand All @@ -15,6 +16,7 @@ import {TuiBarExample2} from './examples/2';
TuiBarModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiBarComponent)),
TuiSetupComponent,
],
declarations: [ExampleTuiBarComponent, TuiBarExample1, TuiBarExample2],
exports: [ExampleTuiBarComponent],
Expand Down
27 changes: 4 additions & 23 deletions projects/demo/src/modules/charts/bar/bar.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiBarModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiLegendItemModule, TuiRingChartModule} from '@taiga-ui/addon-charts';
import {TuiAmountPipe} from '@taiga-ui/addon-commerce';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
Expand All @@ -26,6 +27,7 @@ import {ExampleTuiLegendItemComponent} from './legend-item.component';
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLegendItemComponent)),
TuiAmountPipe,
TuiCheckboxComponent,
TuiSetupComponent,
],
declarations: [
ExampleTuiLegendItemComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiBarModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {TuiAxesModule, TuiLineChartModule} from '@taiga-ui/addon-charts';
import {TuiAddonDocModule, tuiGenerateRoutes} from '@taiga-ui/addon-doc';
import {TuiHintModule, TuiLinkDirective, TuiNotificationModule} from '@taiga-ui/core';
Expand All @@ -24,6 +25,7 @@ import {ExampleTuiLineChartComponent} from './line-chart.component';
TuiLineChartModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLineChartComponent)),
TuiSetupComponent,
],
declarations: [
ExampleTuiLineChartComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,28 +163,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiLineChartModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {TuiSetupComponent} from '@demo/utils';
import {
TuiAxesModule,
TuiLineChartModule,
Expand Down Expand Up @@ -31,6 +32,7 @@ import {ExampleTuiLineDaysChartComponent} from './line-days-chart.component';
TuiInputDateRangeModule,
TuiAddonDocModule,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiLineDaysChartComponent)),
TuiSetupComponent,
],
declarations: [
ExampleTuiLineDaysChartComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,28 +120,9 @@
</ng-template>

<ng-template pageTab>
<ol class="b-demo-steps">
<li>
<p>
Import
<code>TuiLineDaysChartModule</code>
into a module where you want to use our component
</p>

<tui-doc-code
filename="my.module.ts"
[code]="exampleModule"
/>
</li>

<li>
<p>Add to the template:</p>

<tui-doc-code
filename="my.component.html"
[code]="exampleHtml"
/>
</li>
</ol>
<tui-setup
[import]="exampleModule"
[template]="exampleHtml"
/>
</ng-template>
</tui-doc-page>
Loading
Loading