-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!:
Icon
component move to core, make standalone
- Loading branch information
1 parent
63ed8a3
commit 945a1b6
Showing
179 changed files
with
538 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...imental/components/icon/icon.component.ts → ...ts/core/components/icon/icon.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...cts/experimental/components/icon/index.ts → projects/core/components/icon/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export * from './icon.component'; | ||
export * from './icon.module'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
projects/demo/src/modules/charts/arc-chart/examples/1/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
</div> | ||
|
||
<tui-select | ||
class="select" | ||
class="b-form" | ||
[(ngModel)]="appearance" | ||
> | ||
Hint appearance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,3 @@ | |
display: flex; | ||
min-width: 31.25rem; | ||
} | ||
|
||
.select { | ||
max-width: 20rem; | ||
} |
2 changes: 1 addition & 1 deletion
2
projects/demo/src/modules/charts/line-days-chart/examples/1/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<p> | ||
<p class="b-form"> | ||
<tui-input-date-range | ||
[maxLength]="maxLength" | ||
[(ngModel)]="range" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
.controls { | ||
display: flex; | ||
|
||
tui-input-date-range { | ||
.b-form { | ||
flex: 1; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
projects/demo/src/modules/components/alert/alert.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import {NgModule} from '@angular/core'; | ||
import {FormsModule} from '@angular/forms'; | ||
import {RouterModule} from '@angular/router'; | ||
import {TuiAmountPipe} from '@taiga-ui/addon-commerce'; | ||
import { | ||
TuiAddonDocModule, | ||
tuiGenerateRoutes, | ||
TuiTextCodeModule, | ||
} from '@taiga-ui/addon-doc'; | ||
import { | ||
TuiAlertModule, | ||
TuiButtonModule, | ||
TuiLinkModule, | ||
TuiModeModule, | ||
} from '@taiga-ui/core'; | ||
import {TuiInputModule, TuiRadioListModule} from '@taiga-ui/kit'; | ||
import {PolymorpheusModule} from '@tinkoff/ng-polymorpheus'; | ||
|
||
import {ExampleTuiAlertComponent} from './alert.component'; | ||
import {TuiAlertExampleComponent1} from './examples/1'; | ||
import {TuiAlertExampleComponent2} from './examples/2'; | ||
import {TuiAlertExampleComponent3} from './examples/3'; | ||
import {AlertExampleModule} from './examples/3/alert-example/alert-example.module'; | ||
import {TuiAlertExampleComponent4} from './examples/4'; | ||
import {AlertExampleWithDataModule} from './examples/4/alert-example-with-data/alert-example-with-data.module'; | ||
import {TuiAlertExampleComponent5} from './examples/5'; | ||
import {AlertExampleWithCustomLabelModule} from './examples/5/alert-example-with-custom-label/alert-example-with-custom-label.module'; | ||
import {CustomLabelModule} from './examples/5/custom-label/custom-label.module'; | ||
import {TuiAlertExampleComponent6} from './examples/6'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
PolymorpheusModule, | ||
TuiTextCodeModule, | ||
TuiAlertModule, | ||
TuiButtonModule, | ||
TuiModeModule, | ||
TuiAmountPipe, | ||
AlertExampleWithCustomLabelModule, | ||
AlertExampleWithDataModule, | ||
AlertExampleModule, | ||
CustomLabelModule, | ||
TuiRadioListModule, | ||
TuiInputModule, | ||
TuiLinkModule, | ||
TuiAddonDocModule, | ||
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiAlertComponent)), | ||
], | ||
declarations: [ | ||
ExampleTuiAlertComponent, | ||
TuiAlertExampleComponent1, | ||
TuiAlertExampleComponent2, | ||
TuiAlertExampleComponent3, | ||
TuiAlertExampleComponent4, | ||
TuiAlertExampleComponent5, | ||
TuiAlertExampleComponent6, | ||
], | ||
exports: [ExampleTuiAlertComponent], | ||
}) | ||
export class ExampleTuiAlertModule {} |
4 changes: 1 addition & 3 deletions
4
projects/demo/src/modules/components/alert/examples/1/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
projects/demo/src/modules/components/alert/examples/2/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...cts/demo/src/modules/components/alert/examples/3/alert-example/alert-example.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
projects/demo/src/modules/components/alert/examples/3/alert-example/alert-example.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import {NgModule} from '@angular/core'; | ||
import {FormsModule} from '@angular/forms'; | ||
import {TuiAmountPipe} from '@taiga-ui/addon-commerce'; | ||
import {TuiButtonModule, TuiModeModule} from '@taiga-ui/core'; | ||
import {TuiSelectModule} from '@taiga-ui/kit'; | ||
|
||
import {AlertExampleComponent} from './alert-example.component'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
TuiButtonModule, | ||
TuiModeModule, | ||
TuiSelectModule, | ||
TuiAmountPipe, | ||
], | ||
declarations: [AlertExampleComponent], | ||
exports: [AlertExampleComponent], | ||
}) | ||
export class AlertExampleModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.