Skip to content

Commit cb3e130

Browse files
svdimitrjivanova
authored andcommitted
docs(icons): chunk of files
1 parent e7524a0 commit cb3e130

File tree

31 files changed

+187
-194
lines changed

31 files changed

+187
-194
lines changed

_contentTemplates/grid/export.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
<TelerikGrid Data="@GridData" AutoGenerateColumns="true" Pageable="true">
2828
<GridToolBarTemplate>
29-
<GridCommandButton OnClick="@ShowLoadingSign" Command="ExcelExport" Icon="file-excel">Export to Excel</GridCommandButton>
30-
<GridCommandButton OnClick="@ShowLoadingSign" Command="CsvExport" Icon="file-csv">Export to CSV</GridCommandButton>
29+
<GridCommandButton OnClick="@ShowLoadingSign" Command="ExcelExport" Icon=FontIcon.FileExcel>Export to Excel</GridCommandButton>
30+
<GridCommandButton OnClick="@ShowLoadingSign" Command="CsvExport" Icon=FontIcon.FileCsv>Export to CSV</GridCommandButton>
3131
</GridToolBarTemplate>
3232
<GridExport>
3333
<GridExcelExport AllPages="true" FileName="telerik-grid-export" />

common-features/loading-sign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This sample shows only an indicator for the initial data load, only the DELETE o
9898
OnDelete="@DeleteHandlerWithDelay">
9999
<GridColumns>
100100
<GridCommandColumn>
101-
<GridCommandButton Command="Delete" Icon="delete">Delete</GridCommandButton>
101+
<GridCommandButton Command="Delete" Icon=FontIcon.Trash>Delete</GridCommandButton>
102102
</GridCommandColumn>
103103
</GridColumns>
104104
</TelerikGrid>

components/autocomplete/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The AutoComplete component allows you to change what is rendered in its items, h
6060
</FooterTemplate>
6161
<NoDataTemplate>
6262
<div class="no-data-template">
63-
<TelerikIcon Class="k-icon k-icon-lg" Icon="files-error"></TelerikIcon>
63+
<TelerikFontIcon Class="k-icon k-icon-lg" Icon=FontIcon.FilesError></TelerikFontIcon>
6464
<p>No items available</p>
6565
</div>
6666
</NoDataTemplate>

components/avatar/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If the `Type` parameter value is not matching the type of the content, you will
4141
4242
<TelerikAvatar Type="AvatarType.Icon">
4343
44-
<TelerikIcon Icon="user"></TelerikIcon>
44+
<TelerikIcon Icon="FontIcon.User"></TelerikIcon>
4545
4646
</TelerikAvatar>
4747
````

components/breadcrumb/separator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ position: 15
1212

1313
The Breadcrumb component renders a [Telerik font icon]({%slug general-information/font-icons%}) as a separator between its items. By default the separator icon is `chevron-right`.
1414

15-
You can define a separator icon of your choice through the `SeparatorIcon` attribute of the `TelerikBreadcrumb`. It accepts a `string` with the [Telerik icon]({%slug general-information/font-icons%}) name.
15+
You can define a separator icon of your choice through the `SeparatorIcon` attribute of the `TelerikBreadcrumb`. It accepts an `object` with the [Telerik icon]({%slug general-information/font-icons%}) name.
1616

1717
Furthermore, you can take full control over the Separator rendering with the [SeparatorTemplate]({%slug breadcrumb-templates%}#separatortemplate) the Breadcrumb component provides.
1818

@@ -23,7 +23,7 @@ Furthermore, you can take full control over the Separator rendering with the [Se
2323
````CSHTML
2424
@* This example demonstrates how to change the default Telerik icon used as a Breadcrumb Separator*@
2525
26-
<TelerikBreadcrumb SeparatorIcon="caret-double-alt-right"
26+
<TelerikBreadcrumb SeparatorIcon="FontIcon.CaretDoubleAltRight"
2727
Data="@Items">
2828
</TelerikBreadcrumb>
2929

components/calendar/templates/decade-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The template receives the `DateTime` corresponding to its cell.
2525
<DecadeCellTemplate>
2626
@if (yearsWithEvents.Contains(context.Year))
2727
{
28-
<TelerikIcon Icon="warning"></TelerikIcon>
28+
<TelerikFontIcon Icon="FontIcon.ExclamationCircle"></TelerikFontIcon>
2929
}
3030
@context.Year
3131
</DecadeCellTemplate>

components/calendar/templates/header-template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ The example below is using a [Calendar reference and methods]({%slug components/
2020
<TelerikCalendar @bind-Value="@CalendarValue" @bind-Date="@CalendarDate">
2121
<HeaderTemplate>
2222
23-
<TelerikButton OnClick="@GoToPrevious" Icon="arrow-60-left" Title="Go to Previous Month"></TelerikButton>
23+
<TelerikButton OnClick="@GoToPrevious" Icon="FontIcon.ArrowLeft" Title="Go to Previous Month"></TelerikButton>
2424
<TelerikButton OnClick="@SelectToday">Today</TelerikButton>
25-
<TelerikButton OnClick="@GoToNext" Icon="arrow-60-right" Title="Go to Next Month"></TelerikButton>
25+
<TelerikButton OnClick="@GoToNext" Icon="FontIcon.ArrowRight" Title="Go to Next Month"></TelerikButton>
2626
27-
<TelerikIcon Icon="parameter-date-time" /> @CalendarValue.ToShortDateString()
27+
<TelerikFontIcon Icon="FontIcon.ParameterDateTime" /> @CalendarValue.ToShortDateString()
2828
2929
</HeaderTemplate>
3030
</TelerikCalendar>

components/calendar/templates/month-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The template receives the `DateTime` corresponding to its cell.
2525
<MonthCellTemplate>
2626
@if (IsSpecialDay(context))
2727
{
28-
<TelerikIcon Icon="user"></TelerikIcon>
28+
<TelerikIcon Icon="@("user")"></TelerikIcon>
2929
}
3030
@context.Day
3131
</MonthCellTemplate>

components/calendar/templates/year-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The template receives the `DateTime` corresponding to its cell.
2525
<YearCellTemplate>
2626
@if (monthsWithEvents.Contains(context.Month))
2727
{
28-
<TelerikIcon Icon="round-corners"></TelerikIcon>
28+
<TelerikFontIcon Icon="FontIcon.RoundCorners"></TelerikFontIcon>
2929
}
3030
@context.ToString("MMM")
3131
</YearCellTemplate>

components/card/image.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ Every Blazor Card can have a dedicated area to render a card image that will fil
2424
<CardTitle>Bulgarian Mountains</CardTitle>
2525
<CardSubTitle>Bulgaria, Europe</CardSubTitle>
2626
</CardHeader>
27-
27+
2828
<CardImage Src="https://docs.telerik.com/blazor-ui/components/card/images/rila_lakes.jpg"></CardImage>
29-
29+
3030
<CardActions Layout="CardActionsLayout.Stretch">
31-
<TelerikButton Class="k-flat" Icon="heart-outline" Title="Like"></TelerikButton>
32-
<TelerikButton Class="k-flat" Icon="comment" Title="Comment"></TelerikButton>
33-
<TelerikButton Class="k-flat" Icon="share" Title="Share"></TelerikButton>
31+
<TelerikButton Class="k-flat" Icon="FontIcon.HeartOutline" Title="Like"></TelerikButton>
32+
<TelerikButton Class="k-flat" Icon="SvgIcon.Comment" Title="Comment"></TelerikButton>
33+
<TelerikButton Class="k-flat" Icon="SvgIcon.Share" Title="Share"></TelerikButton>
3434
</CardActions>
3535
</TelerikCard>
3636
````

0 commit comments

Comments
 (0)