-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c59300
commit d27927b
Showing
34 changed files
with
119 additions
and
119 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
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
27 changes: 0 additions & 27 deletions
27
projects/demo/src/modules/experimental/badge-alert/badge-alert.module.ts
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
projects/demo/src/modules/experimental/badge-alert/examples/1/index.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
projects/demo/src/modules/experimental/badge-alert/examples/1/index.less
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
projects/demo/src/modules/experimental/badge-alert/examples/2/index.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...ts/demo/src/modules/experimental/badge-alert/examples/import/insert-template.md
This file was deleted.
Oops, something went wrong.
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
27 changes: 27 additions & 0 deletions
27
projects/demo/src/modules/experimental/badge-notification/badge-notification.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,27 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import {NgModule} from '@angular/core'; | ||
import {tuiGetDocModules} from '@taiga-ui/addon-doc'; | ||
import {TuiPlatformModule} from '@taiga-ui/cdk'; | ||
import {TuiNotificationModule} from '@taiga-ui/core'; | ||
import {TuiBadgeNotificationModule} from '@taiga-ui/experimental'; | ||
|
||
import {ExampleTuiBadgeNotificationComponent} from './badge-notification.component'; | ||
import {TuiBadgeNotificationExample1} from './examples/1'; | ||
import {TuiBadgeNotificationExample2} from './examples/2'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
TuiBadgeNotificationModule, | ||
TuiNotificationModule, | ||
TuiPlatformModule, | ||
tuiGetDocModules(ExampleTuiBadgeNotificationComponent), | ||
], | ||
declarations: [ | ||
ExampleTuiBadgeNotificationComponent, | ||
TuiBadgeNotificationExample1, | ||
TuiBadgeNotificationExample2, | ||
], | ||
exports: [ExampleTuiBadgeNotificationComponent], | ||
}) | ||
export class ExampleTuiBadgeNotificationModule {} |
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
23 changes: 23 additions & 0 deletions
23
projects/demo/src/modules/experimental/badge-notification/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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<h4>Desktop</h4> | ||
<p tuiPlatform="web"> | ||
<tui-badge-notification>9</tui-badge-notification> | ||
<tui-badge-notification size="m">9</tui-badge-notification> | ||
<tui-badge-notification size="s">9</tui-badge-notification> | ||
<tui-badge-notification size="xs">9</tui-badge-notification> | ||
</p> | ||
|
||
<h4>Android</h4> | ||
<p tuiPlatform="android"> | ||
<tui-badge-notification>9</tui-badge-notification> | ||
<tui-badge-notification size="m">9</tui-badge-notification> | ||
<tui-badge-notification size="s">9</tui-badge-notification> | ||
<tui-badge-notification size="xs">9</tui-badge-notification> | ||
</p> | ||
|
||
<h4>IOS</h4> | ||
<p tuiPlatform="ios"> | ||
<tui-badge-notification>9</tui-badge-notification> | ||
<tui-badge-notification size="m">9</tui-badge-notification> | ||
<tui-badge-notification size="s">9</tui-badge-notification> | ||
<tui-badge-notification size="xs">9</tui-badge-notification> | ||
</p> |
3 changes: 3 additions & 0 deletions
3
projects/demo/src/modules/experimental/badge-notification/examples/1/index.less
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,3 @@ | ||
tui-badge-notification { | ||
margin: 0.2rem; | ||
} |
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: 4 additions & 0 deletions
4
projects/demo/src/modules/experimental/badge-notification/examples/2/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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<tui-badge-notification>10</tui-badge-notification> | ||
<tui-badge-notification size="m">11</tui-badge-notification> | ||
<tui-badge-notification size="s">12</tui-badge-notification> | ||
<tui-badge-notification size="xs"></tui-badge-notification> |
2 changes: 1 addition & 1 deletion
2
...imental/badge-alert/examples/2/index.less → .../badge-notification/examples/2/index.less
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,6 +1,6 @@ | ||
@import '@taiga-ui/core/styles/taiga-ui-local.less'; | ||
|
||
tui-badge-alert { | ||
tui-badge-notification { | ||
margin: 0.2rem; | ||
.gradient(#c86dd7, #3023ae); | ||
} |
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: 2 additions & 2 deletions
4
...ge-alert/examples/import/import-module.md → ...fication/examples/import/import-module.md
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: 3 additions & 0 deletions
3
.../src/modules/experimental/badge-notification/examples/import/insert-template.md
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,3 @@ | ||
```html | ||
<tui-badge-notification>10</tui-badge-notification> | ||
``` |
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
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
Oops, something went wrong.