-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: correct resolve path to icons (#8510)
Co-authored-by: taiga-family-bot <[email protected]>
- Loading branch information
1 parent
2d8b6b4
commit 7e2ca6f
Showing
12,736 changed files
with
3,905 additions
and
149 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
```json | ||
{ | ||
"projects": { | ||
"demo": { | ||
"architect": { | ||
"build": { | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@taiga-ui/icons/src", | ||
"output": "assets/taiga-ui/icons/" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` |
15 changes: 15 additions & 0 deletions
15
projects/demo/src/modules/icons/icons/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,15 @@ | ||
<tui-icon icon="@tui.accessibility" /> | ||
|
||
<img | ||
alt="" | ||
[src]="'@tui.badge-pound-sterling' | tuiIcon" | ||
/> | ||
|
||
<tui-icon | ||
icon="@tui.twitter" | ||
[style.color]="'var(--tui-background-accent-1)'" | ||
/> | ||
|
||
<tui-icon icon="@tui.square-arrow-out-up-left" /> | ||
|
||
<tui-icon icon="@tui.gamepad-2" /> |
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 @@ | ||
:host { | ||
display: flex; | ||
gap: 0.625rem; | ||
} |
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,14 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {encapsulation} from '@demo/emulate/encapsulation'; | ||
import {TuiIcon, TuiIconPipe} from '@taiga-ui/core'; | ||
|
||
@Component({ | ||
standalone: true, | ||
imports: [TuiIcon, TuiIconPipe], | ||
templateUrl: './index.html', | ||
styleUrls: ['./index.less'], | ||
encapsulation, | ||
changeDetection, | ||
}) | ||
export default class Example {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<tui-doc-page | ||
header="Icons" | ||
package="icons" | ||
type="icons" | ||
> | ||
<ng-template pageTab="Overview"> | ||
<h2 class="title">Lucide (default) icons pack</h2> | ||
|
||
<p> | ||
Open source theme for Taiga UI uses processed | ||
<a | ||
href="https://lucide.dev/" | ||
rel="noreferrer" | ||
target="_blank" | ||
tuiLink | ||
> | ||
Lucide Icons | ||
</a> | ||
. You can browse all the icons from this pack and find the one that suits you | ||
<a | ||
href="https://lucide.dev/icons/" | ||
rel="noreferrer" | ||
target="_blank" | ||
tuiLink | ||
> | ||
here | ||
</a> | ||
. | ||
</p> | ||
|
||
<tui-doc-example | ||
id="basic" | ||
heading="Basic" | ||
[component]="1 | tuiComponent" | ||
[content]="1 | tuiExample" | ||
/> | ||
</ng-template> | ||
|
||
<ng-template pageTab="Setup"> | ||
<tui-doc-code code="npm i @taiga-ui/icons" /> | ||
|
||
<tui-doc-code | ||
filename="angular.json" | ||
[code]="assets" | ||
/> | ||
</ng-template> | ||
</tui-doc-page> |
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 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.