This repository was archived by the owner on Jan 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 387
Expand file tree
/
Copy pathtoken-table.html
More file actions
53 lines (49 loc) · 1.43 KB
/
token-table.html
File metadata and controls
53 lines (49 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="filters">
<mat-form-field class="name-field" subscriptSizing="dynamic" appearance="outline">
<mat-label>Filter by name</mat-label>
<input
#nameInput
matInput
[value]="nameFilter()"
(input)="nameFilter.set(nameInput.value)"/>
</mat-form-field>
<mat-form-field subscriptSizing="dynamic" appearance="outline">
<mat-label>Filter by type</mat-label>
<mat-select [value]="typeFilter()" (selectionChange)="typeFilter.set($event.value)">
@for (type of types; track $index) {
<mat-option [value]="type">{{type | titlecase}}</mat-option>
}
</mat-select>
</mat-form-field>
<button mat-button (click)="reset()">Reset filters</button>
</div>
<div class="docs-markdown">
<table>
<thead>
<tr>
<th>Name</th>
<th class="type-header">Type</th>
<th class="system-header">Based on system token</th>
</tr>
</thead>
<tbody>
@for (token of filteredTokens(); track token.overridesName) {
<tr>
<td><token-name [name]="token.overridesName"/></td>
<td>{{token.type | titlecase}}</td>
<td>
@if (token.derivedFrom) {
<token-name [name]="token.derivedFrom"/>
} @else {
None
}
</td>
</tr>
} @empty {
<tr>
<td>No tokens match the current set of filters</td>
</tr>
}
</tbody>
</table>
</div>