-
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
Showing
11 changed files
with
38 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
export * from './deprecated'; | ||
export * from './thumbnail-card.component'; | ||
export * from './thumbnail-card.directive'; | ||
export * from './thumbnail-card.module'; | ||
export * from './thumbnail-card.providers'; |
29 changes: 0 additions & 29 deletions
29
projects/addon-commerce/components/thumbnail-card/thumbnail-card.directive.ts
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
20 changes: 0 additions & 20 deletions
20
projects/addon-commerce/components/thumbnail-card/thumbnail-card.providers.ts
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
8 changes: 4 additions & 4 deletions
8
projects/demo/src/modules/components/thumbnail-card/examples/4/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,23 +1,23 @@ | ||
<tui-thumbnail-card | ||
cardNumber="1234" | ||
paymentSystem="visa" | ||
preset="star" | ||
class="star" | ||
></tui-thumbnail-card> | ||
|
||
<tui-thumbnail-card | ||
cardNumber="5678" | ||
paymentSystem="mastercard" | ||
preset="gradient" | ||
class="gradient" | ||
></tui-thumbnail-card> | ||
|
||
<tui-thumbnail-card | ||
cardNumber="9000" | ||
paymentSystem="dinersclub" | ||
preset="pink" | ||
class="pink" | ||
></tui-thumbnail-card> | ||
|
||
<tui-thumbnail-card | ||
cardNumber="9000" | ||
paymentSystem="amex" | ||
preset="radial" | ||
class="radial" | ||
></tui-thumbnail-card> |
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: 0 additions & 23 deletions
23
projects/demo/src/modules/components/thumbnail-card/examples/4/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,35 +1,12 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {encapsulation} from '@demo/emulate/encapsulation'; | ||
import {tuiThumbnailCardPresetsProvider} from '@taiga-ui/addon-commerce'; | ||
|
||
@Component({ | ||
selector: 'tui-thumbnail-card-example-4', | ||
templateUrl: './index.html', | ||
styleUrls: ['./index.less'], | ||
changeDetection, | ||
encapsulation, | ||
providers: [ | ||
tuiThumbnailCardPresetsProvider({ | ||
star: { | ||
color: 'black', | ||
background: | ||
'linear-gradient(45deg, #ffaa00d1, #ffaa00), url(/assets/taiga-ui/icons/tuiIconStarLarge.svg)', | ||
}, | ||
gradient: { | ||
color: 'white', | ||
background: | ||
'#2b9aff linear-gradient(110deg, transparent 70%, #0780ff 71%, #db028b 100%)', | ||
}, | ||
pink: { | ||
color: '#0079be', | ||
background: 'pink', | ||
}, | ||
radial: { | ||
color: 'white', | ||
background: 'radial-gradient(#c900ff, #0079be)', | ||
}, | ||
}), | ||
], | ||
}) | ||
export class TuiThumbnailCardExample4 {} |
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