Skip to content

Commit 5314085

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent d7968af commit 5314085

File tree

21 files changed

+1062
-19
lines changed

21 files changed

+1062
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@ This project has been released under the [Apache License, version 2.0](http://ww
287287
See the License for the specific language governing permissions and
288288
limitations under the License.
289289

290-
*Copyright © 2021 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
290+
*Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
291291

292292
*Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "year": 2022, "release": 3, "servicePack": "next", "servicePackNumber": 2 }
1+
{ "year": 2023, "release": 1 }

docs-aspnet/_config-mvc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,16 @@ defaults:
569569
values:
570570
title_prefix: "ASP.NET MVC Breadcrumb Component"
571571
title: "Breadcrumb"
572+
-
573+
scope:
574+
path: "html-helpers/navigation/chip"
575+
values:
576+
title_prefix: "ASP.NET MVC Chip Component"
577+
-
578+
scope:
579+
path: "html-helpers/navigation/chiplist"
580+
values:
581+
title_prefix: "ASP.NET MVC ChipList Component"
572582
-
573583
scope:
574584
path: "html-helpers/navigation/floatingactionbutton"

docs-aspnet/_config.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,18 @@ navigation:
367367
title: "Appbar"
368368
"html-helpers/navigation/bottomnavigation":
369369
title: "BottomNavigation"
370-
isNew: true
370+
isNew: true
371371
"html-helpers/navigation/breadcrumb":
372372
title: "Breadcrumb"
373373
"html-helpers/navigation/floatingactionbutton":
374374
title: "FloatingActionButton"
375375
isNew: true
376+
"html-helpers/navigation/chiplist":
377+
title: "ChipList"
378+
isNew: true
379+
"html-helpers/navigation/chip":
380+
title: "Chip"
381+
isNew: true
376382
"html-helpers/navigation/stepper":
377383
title: "Stepper"
378384
"html-helpers/navigation/wizard":
@@ -401,7 +407,7 @@ navigation:
401407
position: 6
402408
"html-helpers/navigation/toolbar/command-types":
403409
title: "Command Types"
404-
position: 2
410+
position: 2
405411
"html-helpers/media":
406412
title: "Media"
407413
"html-helpers/pdf":
@@ -645,7 +651,7 @@ navigation:
645651
title: "TimePicker"
646652
"*timedurationpicker":
647653
title: "TimeDurationPicker"
648-
isNew: true
654+
isNew: true
649655
"*tooltip":
650656
title: "Tooltip"
651657
"*toolbar":
@@ -681,10 +687,10 @@ navigation:
681687
baseurl: /aspnet-core
682688

683689
## The Kendo UI version used
684-
cdnVersion: "2022.3.1109"
690+
cdnVersion: "2023.1.117"
685691

686692
## The MVC Core version used
687-
mvcCoreVersion: "2022.3.1109"
693+
mvcCoreVersion: "2023.1.117"
688694

689695
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
690696

@@ -1121,6 +1127,16 @@ defaults:
11211127
path: "html-helpers/navigation/breadcrumb"
11221128
values:
11231129
title_prefix: "ASP.NET Core Breadcrumb Component"
1130+
-
1131+
scope:
1132+
path: "html-helpers/navigation/chip"
1133+
values:
1134+
title_prefix: "ASP.NET Core Chip Component"
1135+
-
1136+
scope:
1137+
path: "html-helpers/navigation/chiplist"
1138+
values:
1139+
title_prefix: "ASP.NET Core ChipList Component"
11241140
-
11251141
scope:
11261142
path: "html-helpers/navigation/floatingactionbutton"

docs-aspnet/html-helpers/media/mediaplayer/multiple-sources.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ To add multiple sources for the same video, you have to configure the quality-de
1313

1414
When you add multiple sources for the video, an **HD** button is automatically displayed in the bottom right corner next to the **FullScreen** button. This behavior enables you to select your preferred quality.
1515

16-
* To implement your own playlist structures, refer to the [client-side implementation of creating playlists](https://docs.telerik.com/kendo-ui/controls/media/mediaplayer/playlists).
17-
* To prevent the seeking forward and allow players to watch only the currently loaded content, use the client-side [`ForwardSeek()`](/api/Kendo.Mvc.UI.Fluent/MediaPlayerBuilder#forwardseeksystemboolean) method.
18-
16+
The following example demonstrates how to configure multiple sources with different qualities.
1917
```HtmlHelper
2018
@(Html.Kendo().MediaPlayer()
2119
.AutoPlay(true)
2220
.Media(m => m
2321
.Title("Our Company Culture - Lesson 1")
24-
.Source(new[] { // define the media files for different quality options
22+
.Source(new[] { // Define the media files for different quality options.
2523
new { quality = "480p", url = "Video/videoLQ.mp4" },
2624
new { quality = "720p", url = "Video/videoHD.mp4" },
2725
new { quality = "1080p", url = "Video/videoFHD.mp4" },
@@ -35,4 +33,4 @@ When you add multiple sources for the video, an **HD** button is automatically d
3533

3634
* [Basic Usage of the MediaPlayer HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/mediaplayer/index)
3735
* [Using the API of the MediaPlayer HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/mediaplayer/api)
38-
* [Server-Side API](/api/mediaplayer)
36+
* [Server-Side API of the MediaPlayer for {{ site.framework }}](/api/mediaplayer)

docs-aspnet/html-helpers/media/mediaplayer/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Overview
3-
page_title: Overview
3+
page_title: MediaPlayer Overview
44
description: "Learn the basics when working with the Telerik UI MediaPlayer for {{ site.framework }}."
55
previous_url: /helpers/html-helpers/mediaplayer, /helpers/media/mediaplayer/overview
66
slug: htmlhelpers_mediaplayer_aspnetcore
@@ -162,4 +162,4 @@ To reference an existing MediaPlayer instance, use the [`jQuery.data()`](http://
162162

163163
* [Basic Usage of the MediaPlayer for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/mediaplayer/index)
164164
* [Using the API of the MediaPlayer HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/mediaplayer/api)
165-
* [Server-Side API](/api/mediaplayer)
165+
* [Server-Side API of the MediaPlayer for {{ site.framework }}](/api/mediaplayer)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Playlists
3+
page_title: Playlists
4+
description: "Learn how to configure the playlist of the Telerik UI MediaPlayer component for {{ site.framework }}."
5+
slug: htmlhelpers_mediaplayer_playlists_aspnetcore
6+
position: 4
7+
---
8+
9+
# Playlists
10+
11+
The Telerik UI for {{ site.framework }} MediaPlayer enables you to create your own playlists and to enable or disable the seeking forward.
12+
13+
## Creating Playlists
14+
15+
Players usually feature a different video based on user action. To implement your own **Playlist** structures, change the source of the MediaPlayer dynamically. For a runnable example, refer to the [demo on creating your own playlists in the MediaPlayer](https://demos.telerik.com/{{ site.platform }}/mediaplayer/playlist) which uses the ListView to create a list that holds the videos right next to the MediaPlayer element.
16+
17+
To change the existing source of the MediaPlayer, use the MediaPlayer client-side [`media()`](https://docs.telerik.com/kendo-ui/api/javascript/ui/mediaplayer/methods/media) method.
18+
19+
```
20+
<script>
21+
function buttonClick() {
22+
var player = $("#mediaplayer").data("kendoMediaPlayer");
23+
player.media({
24+
title: "Our Company Culture - Lesson 2",
25+
source: "Video/video2.mp4"
26+
});
27+
}
28+
</script>
29+
```
30+
31+
## Seeking Forward
32+
33+
Some applications enforce the user to watch only the currently loaded content without the option to jump forward. The MediaPlayer provides the [`ForwardSeek()`](https://docs.telerik.com/{{ site.platform }}/api/Kendo.Mvc.UI.Fluent/MediaPlayerBuilder#forwardseeksystemboolean) configuration method, which helps you to achieve this requirement.
34+
35+
```HtmlHelper
36+
@(Html.Kendo().MediaPlayer()
37+
.Name("mediaPlayer")
38+
.ForwardSeek(true)
39+
)
40+
```
41+
## See Also
42+
43+
* [Adding Custom Playlists to the MediaPlayer HTML Helper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/mediaplayer/playlist)
44+
* [Server-Side API of the MediaPlayer for {{ site.framework }}](/api/mediaplayer)

docs-aspnet/html-helpers/media/mediaplayer/razor-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,4 @@ namespace Telerik.Examples.RazorPages.Models
214214
}
215215
```
216216

217-
* [Server-Side API](/api/mediaplayer)
217+
* [Server-Side API of the MediaPlayer for {{ site.framework }}](/api/mediaplayer)
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
---
2+
title: Appearance
3+
page_title: Styling the Appearance of the Chip Helper
4+
description: "Learn how to manage the appearance of the Telerik UI Chip component for {{ site.framework }} and apply its various styling options."
5+
slug: htmlhelpers_chip_aspnetcore_appearance
6+
position: 2
7+
---
8+
9+
# Chip Appearance
10+
11+
The Chip provides predefined appearance options such as different sizes, border radiuses, fill modes, and theme colors.
12+
13+
For a live example, refer to the [Appearance Demo of the Chip](https://demos.telerik.com/{{ site.platform }}/chip/appearance).
14+
15+
The Telerik UI Chip supports the following styling options:
16+
17+
- [`Size`](#size)—Configures the overall size of the component.
18+
- [`ThemeColor`](#theme-color)—Configures what color will be applied to the component.
19+
- [`FillMode`](#fill-mode)—Configures how the color is applied to the component.
20+
- [`Rounded`](#border-radius)—Configures the border radius of the component.
21+
22+
## Size
23+
24+
The `Size` option controls how big or small the rendered `Chip` looks.
25+
26+
```HtmlHelper
27+
@(Html.Kendo().Chip()
28+
.Name("chip")
29+
.Size(ComponentSize.Medium)
30+
.Label("Chip")
31+
)
32+
```
33+
{% if site.core %}
34+
```TagHelper
35+
@addTagHelper *, Kendo.Mvc
36+
37+
<kendo-chip name="chip"
38+
size="ComponentSize.Medium"
39+
label="Chip">
40+
</kendo-chip>
41+
```
42+
{% endif %}
43+
44+
The [`Size`](/api/Kendo.Mvc.UI.Fluent/ChipBuilder#sizekendomvcuicomponentsize) option accepts the following values:
45+
46+
- `ComponentSize.Small`—Small size.
47+
- (Default) `ComponentSize.Medium`—Medium size.
48+
- `ComponentSize.Large`—Large size.
49+
- `ComponentSize.None`—Unset.
50+
51+
The structure of the class is `k-chip-{size}`. The default size value is `Мedium` and is applied to the rendered `div` element through the `k-chip-md` class.
52+
53+
```html
54+
<div class="k-chip k-chip-md" >
55+
</div>
56+
```
57+
58+
## Fill Mode
59+
60+
The `FillMode` option controls the way the color is applied to the rendered `div`.
61+
62+
```HtmlHelper
63+
@(Html.Kendo().Chip()
64+
.Name("chip")
65+
.FillMode(ChipFillMode.Solid)
66+
.Label("Chip")
67+
)
68+
```
69+
{% if site.core %}
70+
```TagHelper
71+
@addTagHelper *, Kendo.Mvc
72+
73+
<kendo-chip name="chip"
74+
fill-mode="ChipFillMode.Solid"
75+
label="Chip">
76+
</kendo-chip>
77+
```
78+
{% endif %}
79+
80+
The [`FillMode`](/api/Kendo.Mvc.UI.Fluent/ChipBuilder#fillmodekendomvcuichipfillmode) option accepts the following values:
81+
82+
- (Default) `ChipFillMode.Solid`
83+
- `ChipFillMode.Outline`
84+
85+
The structure of the Html class is `k-chip-{fillMode}`. The default `fillMode` value is `Solid` and is applied to the rendered `div` element through the `k-chip-solid` class.
86+
87+
```html
88+
<div class="k-chip k-chip-solid" >
89+
</div>
90+
```
91+
92+
## Theme Color
93+
94+
The `ThemeColor` option controls the color that will be applied to the rendered Chip.
95+
96+
```HtmlHelper
97+
@(Html.Kendo().Chip()
98+
.Name("chip")
99+
.ThemeColor(ChipThemeColor.Base)
100+
.Label("Chip")
101+
)
102+
```
103+
{% if site.core %}
104+
```TagHelper
105+
@addTagHelper *, Kendo.Mvc
106+
107+
<kendo-chip name="chip"
108+
theme-color="ChipThemeColor.Base"
109+
label="Chip">
110+
</kendo-chip>
111+
```
112+
{% endif %}
113+
114+
The [`ThemeColor`](/api/Kendo.Mvc.UI.Fluent/ChipBuilder#themecolorkendomvcuithemecolor) option accepts the following values:
115+
116+
- (Default) `ChipThemeColor.Base`
117+
- `ChipThemeColor.Info`
118+
- `ChipThemeColor.Success`
119+
- `ChipThemeColor.Warning`
120+
- `ChipThemeColor.Error`
121+
122+
The default `ThemeColor` value is `base`. A Chip with default `FillMode` and `ThemeColor` settings will have the `k-chip-solid-base` class applied.
123+
124+
```html
125+
<!-- A Chip with default fillMode and themeColor settings -->
126+
<div class="k-chip k-chip-solid k-chip-solid-base" >
127+
</div>
128+
```
129+
130+
## Border Radius
131+
132+
The `Rounded` option controls how much border radius is applied to the rendered Chip.
133+
134+
```HtmlHelper
135+
@(Html.Kendo().Chip()
136+
.Name("chip")
137+
.Rounded(Rounded.Medium)
138+
.Label("Chip")
139+
)
140+
```
141+
{% if site.core %}
142+
```TagHelper
143+
@addTagHelper *, Kendo.Mvc
144+
145+
<kendo-chip name="chip"
146+
rounded="Rounded.Medium"
147+
label="Chip">
148+
</kendo-chip>
149+
```
150+
{% endif %}
151+
152+
The [`Rounded`](/api/Kendo.Mvc.UI.Fluent/ChipBuilder#roundedkendomvcuirounded) option accepts the following values:
153+
154+
- `Rounded.Small`—Small form.
155+
- (Default) `Rounded.Medium`—Medium form.
156+
- `Rounded.Large`—Large form.
157+
- `Rounded.None`—Unset.
158+
159+
The structure of the class is `k-rounded-{size}`. The default rounded value is `medium` and is applied to the rendered `div` element through the `k-rounded-md` class.
160+
161+
```html
162+
<div class="k-chip k-rounded-md" >
163+
</div>
164+
```
165+
166+
## See Also
167+
168+
* [Appearance Overview of the Telerik UI Helpers]({% slug components_rendering_overview %})
169+
* [Appearance of the Chip HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/chip/appearance)
170+
* [Server-Side API of the Chip HtmlHelper for {{ site.framework }}](/api/chip)
171+
* [JavaScript API Reference of the Chip HtmlHelper for {{ site.framework }}](https://docs.telerik.com/kendo-ui/api/javascript/ui/chip)

0 commit comments

Comments
 (0)