Skip to content

Commit a25576c

Browse files
chore(common): replace some iconname occurences
1 parent 73fff5d commit a25576c

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

common/message-box/dynamic-creation/Pages/FetchData.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<GridColumn Field="Summary" />
1515
<GridCommandColumn Width="150px">
1616
<GridCommandButton OnClick="@AddForecast" Icon="@plus"></GridCommandButton>
17-
<GridCommandButton OnClick="@((args)=> EditForecast(args.Item as WeatherForecast))" Icon="@IconName.ArrowChevronRight"></GridCommandButton>
17+
<GridCommandButton OnClick="@((args)=> EditForecast(args.Item as WeatherForecast))" Icon="arrow-chevron-right"></GridCommandButton>
1818
</GridCommandColumn>
1919
</GridColumns>
2020
</TelerikGrid>

common/razor-components/razor-pages/Components/MyWindow.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3>My Window</h3>
22

3-
<TelerikButton Icon=@IconName.Window OnClick=@(()=> WindowVisible = true)>Open Modal</TelerikButton>
3+
<TelerikButton Icon="window" OnClick=@(()=> WindowVisible = true)>Open Modal</TelerikButton>
44

55
<TelerikRootComponent>
66
<TelerikWindow Class="demo-window" Width="500px" Height="300px" Centered="true" @bind-Visible=@WindowVisible Modal="true">

drawer/sidenav/Shared/MainLayout.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
{
7373
new DrawerItem { Text = "Home", Url = "/", Icon = "home" },
7474
new DrawerItem { IsSeparator = true, Url=string.Empty },//define a URL to separators to make the pre-selection logic easier
75-
new DrawerItem { Text = "Counter", Url = "counter", Icon = IconName.PlusOutline },
76-
new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = IconName.Grid }
75+
new DrawerItem { Text = "Counter", Url = "counter", Icon = "plus-outline" },
76+
new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = "grid" }
7777
};
7878

7979
protected override void OnInitialized()

drawer/template/template/Shared/MainLayout.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
@if (DrawerExpanded)
103103
{
104104
<div style="text-align: center; margin-top: 3em; padding-top: 2em; border-top: 2px solid black; white-space:nowrap">
105-
<TelerikButton Icon="@IconName.Logout" Primary="true">Log Out</TelerikButton>
105+
<TelerikButton Icon="logout" Primary="true">Log Out</TelerikButton>
106106
</div>
107107
}
108108
</Template>
@@ -132,8 +132,8 @@
132132
List<DrawerItem> NavigablePages { get; set; } = new List<DrawerItem>
133133
{
134134
new DrawerItem { Text = "Home", Url = "/", Icon = "home" },
135-
new DrawerItem { Text = "Counter", Url = "counter", Icon = IconName.PlusOutline },
136-
new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = IconName.Grid }
135+
new DrawerItem { Text = "Counter", Url = "counter", Icon = "plus-outline" },
136+
new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = "grid" }
137137
};
138138

139139
protected override void OnInitialized()

drawer/two-drawers/TwoDrawers/Shared/MainLayout.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@
4646
// the left (Push) drawer goes to the counter and fetch data pages
4747
IEnumerable<DrawerItem> Data { get; set; } = new List<DrawerItem>
4848
{
49-
new DrawerItem { Text = "Counter", Icon = IconName.Plus, Url = "counter"},
50-
new DrawerItem { Text = "FetchData", Icon = IconName.GridLayout, Url = "fetchdata"},
49+
new DrawerItem { Text = "Counter", Icon = "plus", Url = "counter"},
50+
new DrawerItem { Text = "FetchData", Icon = "grid-layout", Url = "fetchdata"},
5151
};
5252

5353
//the right (overlay) drawer always goes to the home page for brevity and simplicity
5454
IEnumerable<DrawerItem> RightItems { get; set; } = new List<DrawerItem>
5555
{
56-
new DrawerItem { Text = "First", Icon = IconName.MinusOutline, Url= "/"},
57-
new DrawerItem { Text = "Second", Icon = IconName.MinusCircle, Url = "/"},
56+
new DrawerItem { Text = "First", Icon = "minus-outline", Url= "/"},
57+
new DrawerItem { Text = "Second", Icon = "minus-circle", Url = "/"},
5858
};
5959

6060
public class DrawerItem

editor/ImportExport/EditorImportExport/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<EditorCustomTools>
99
<EditorCustomTool Name="ExportToPdfTool">
1010
<div style="margin-right: 50px">
11-
<TelerikButton OnClick="@ExportToPdf" Icon="@IconName.Download"></TelerikButton>
11+
<TelerikButton OnClick="@ExportToPdf" Icon="download"></TelerikButton>
1212
<TelerikDropDownList Data="@SupportedExportFormats" @bind-Value="@exportFormat" PopupHeight="auto" Width="auto"></TelerikDropDownList>
1313
</div>
1414
</EditorCustomTool>

editor/Markdown/Markdown/Pages/ViewMdTool.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<TelerikButton Icon="@IconName.PasteMarkdown" OnClick="@ShowMdEditWindow">View MD</TelerikButton>
1+
<TelerikButton Icon="paste-markdown" OnClick="@ShowMdEditWindow">View MD</TelerikButton>
22

33
<TelerikWindow Visible="@wndVisible" Size="@WindowSize.Medium" Modal="true">
44
<WindowTitle>View and Edit the Raw Markdown</WindowTitle>

grid/batch-editing/Pages/Index.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
}
4040
else if (currItem.IsDeleted)
4141
{
42-
<TelerikButton Icon="@IconName.ArrowUp" OnClick="@( () => UndeleteItem(currItem) )">Undelete</TelerikButton>
42+
<TelerikButton Icon="arrow-up" OnClick="@( () => UndeleteItem(currItem) )">Undelete</TelerikButton>
4343
}
4444
else if (currItem.IsChanged)
4545
{
46-
<TelerikButton Icon="@undo" OnClick="@( () => RevertItem(currItem) )">Revert</TelerikButton>
46+
<TelerikButton Icon="undo" OnClick="@( () => RevertItem(currItem) )">Revert</TelerikButton>
4747
}
4848
}
4949
</Template>

scheduler/appointment-context-menu/Pages/Index.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public partial class Index : ComponentBase
2727
{
2828
Text = "Delete",
2929
CommandName = "delete",
30-
Icon = IconName.Delete
30+
Icon = "delete"
3131
},
3232
new ContextMenuItem
3333
{
3434
Text = "Toggle Important",
3535
CommandName = "toggleimportant",
36-
Icon = IconName.Warning
36+
Icon = "warning"
3737
}
3838
};
3939

0 commit comments

Comments
 (0)