Skip to content

Commit 83940ec

Browse files
committed
Sync with Kendo UI Professional
1 parent fecfd35 commit 83940ec

File tree

30 files changed

+1435
-84
lines changed

30 files changed

+1435
-84
lines changed

docs-aspnet/_config-mvc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ defaults:
187187
path: "html-helpers/charts"
188188
values:
189189
title_prefix: "ASP.NET MVC Chart Component"
190+
-
191+
scope:
192+
path: "html-helpers/conversational-ui/aiprompt"
193+
values:
194+
title_prefix: "ASP.NET MVC AIPrompt Component"
190195
-
191196
scope:
192197
path: "html-helpers/conversational-ui/chat"

docs-aspnet/_config.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ navigation:
401401
"html-helpers/conversational-ui":
402402
title: "Conversational UI"
403403
isNew: true
404+
"html-helpers/conversational-ui/aiprompt":
405+
title: "AIPrompt"
404406
"html-helpers/conversational-ui/chat":
405407
title: "Chat"
406408
"html-helpers/interactivity":
@@ -699,13 +701,13 @@ navigation:
699701
baseurl: /aspnet-core
700702

701703
## The Kendo UI version used
702-
cdnVersion: "2024.1.319"
704+
cdnVersion: "2024.2.514"
703705

704706
## The themes CDN used
705-
themesCdnVersion: "8.0.0"
707+
themesCdnVersion: "8.0.1"
706708

707709
## The MVC Core version used
708-
mvcCoreVersion: "2024.1.319"
710+
mvcCoreVersion: "2024.2.514"
709711

710712
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
711713

@@ -762,6 +764,11 @@ defaults:
762764
path: "html-helpers/conversational-ui/chat"
763765
values:
764766
title_prefix: "ASP.NET Core Chat Component"
767+
-
768+
scope:
769+
path: "html-helpers/conversational-ui/aiprompt"
770+
values:
771+
title_prefix: "ASP.NET Core AIPrompt Component"
765772
-
766773
scope:
767774
path: "html-helpers/data-management/filemanager"

docs-aspnet/accessibility/accessibility-compliance-table.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<td>AA</td>
1515
<td><a href="https://demos.telerik.com/{{ site.platform }}/accessibility/actionsheet">Demo</a></td>
1616
</tr>
17+
<tr>
18+
<td>AIPrompt</td>
19+
<td>Yes</td>
20+
<td>AA</td>
21+
<td>N/A</td>
22+
</tr>
1723
<tr>
1824
<td>AppBar</td>
1925
<td>Yes</td>

docs-aspnet/backwards-compatibility/2024-backwards-compatibility.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,45 @@ position: 1
1010

1111
This article lists the breaking or important changes in the 2024 releases of {{ site.product }}.
1212

13-
## {{ site.product }} R1 2024
13+
## {{ site.product }} Q2 2024
14+
15+
### Target Framework
16+
17+
{% if site.core %}
18+
As of the Q2 2024 release, {{ site.product }} supports only [LTS and STS versions of .NET Core](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core#lifecycle). You can update to a supported .NET Core version.
19+
{% else %}
20+
As of the Q2 2024 release, {{ site.product }} supports .NET Framework 4.6.2 and later versions. You can update to a [supported .NET Framework version](https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework).
21+
22+
**Telerik.Web.Captcha**
23+
As of the Q2 2024 release, the `Telerik.Web.Captcha` package targets .NET Framework 4.6.2
24+
25+
**Telerik.Web.Spreadsheet**
26+
As of the Q2 2024 release, the `Telerik.Web.Spreadsheet` package targets .NET Framework 4.6.2
27+
{% endif %}
28+
29+
### Chart
30+
31+
The default [`Theme`](/api/kendo.mvc.ui.fluent/chartbuilder#themesystemstring) configuration for the {{ site.product }} Charts is changed to `sass`. By default, the [Chart theme]({% slug htmlhelpers_charts_appearance_aspnetcore %}#sass-themes) will now match the loaded [Sass-based theme]({% slug sassbasedthemes_overview %}).
32+
33+
## {{ site.product }} Q1 2024
1434

1535
**Deprecated Controllers**
1636

17-
As of the R1 2024 release, the following controllers will be deprecated.
37+
As of the Q1 2024 release, the following controllers will be deprecated.
1838

1939
* FileManager&mdash;`ContentProviderController`
2040
* Editor&mdash;`EditorImageBrowserController`, `FileBrowserController`, `EditorFileBrowserController`
2141

2242
**Deprecated Interfaces**
2343

24-
As of the R1 2024 release, the following interfaces will be deprecated.
44+
As of the Q1 2024 release, the following interfaces will be deprecated.
2545

2646
* FileManager&mdash;`IContentProviderController`
2747
* Editor&mdash;`IFileBrowserController`, `IImageBrowserController`
2848

2949
**Deprecated APIs**
3050

31-
As of the R1 2024 release, the following APIs will be deprecated.
51+
As of the Q1 2024 release, the following APIs will be deprecated.
3252

3353

3454
{% if site.core %}
@@ -140,4 +160,4 @@ As of the R1 2024 release, the following APIs will be deprecated.
140160
141161
* `ApplicationBuilderExtensions`
142162
143-
{% endif %}
163+
{% endif %}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Keyboard Navigation
3+
page_title: Keyboard Navigation
4+
description: "Get started with the {{ site.product_short }} AIPrompt by Telerik UI and learn about the component keyboard navigation functionality."
5+
slug: keynav_aspnetcore_aiprompt
6+
position: 2
7+
---
8+
9+
# Keyboard Navigation
10+
11+
The keyboard navigation of the AIPrompt is always available.
12+
13+
For a runnable example, refer to the [demo on using the keyboard navigation of the AIPrompt](https://demos.telerik.com/{{ site.platform }}/aiprompt/keyboard-navigation).
14+
15+
The AIPrompt supports the following keyboard shortcuts:
16+
17+
| SHORTCUT | DESCRIPTION |
18+
|:--- |:--- |
19+
| `Enter` or `Space` | When the toolbar is focused&mdash;selects the focused view. When a panel item is focused&mdash;expands or collapses the item. When a button is focused&mdash;triggers the click event. |
20+
| `Tab` | Navigates to the next structure element of the AIPrompt&mdash;either the header, the content, or the footer element. |
21+
| `Shift + Tab` | Navigates to the previous structure element of the AIPrompt&mdash;either the header, the content, or the footer element. |
22+
| `Right Arrow` or `Left Arrow` | Navigates to the next/previous view button when the toolbar is focused. |
23+
| `Up Arrow` or `Down Arrow` | Navigates to the next/previous item when a panel is focused. |
24+
25+
## See Also
26+
27+
* [Keyboard Navigation by the AIPrompt HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/aiprompt/keyboard-navigation)
28+
* [Accessibility in {{ site.product }}]({% slug overview_accessibility %})
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Overview
3+
page_title: Accessibility
4+
description: "Get started with the {{ site.product_short }} AIPrompt by Telerik UI and learn about its accessibility support for WAI-ARIA, Section 508, and WCAG 2.2."
5+
slug: accessibility_aspnetcore_aiprompt
6+
position: 1
7+
---
8+
9+
# AIPrompt Accessibility
10+
11+
The AIPrompt is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.
12+
13+
For more information, refer to:
14+
* [Accessibility in {{ site.product }}]({% slug overview_accessibility %})
15+
* [Keyboard navigation by the {{ site.product_short }} AIPrompt]({% slug keynav_aspnetcore_aiprompt %})
16+
17+
## WAI-ARIA
18+
19+
The component follows the WAI-ARIA Authoring Practices for implementing the keyboard navigation for its component role and is tested against the popular screen readers. For more information, refer to the article on [WAI-ARIA support in {{ site.product_short }}]({% slug overview_accessibility %}#wai-aria).
20+
21+
## Section 508
22+
23+
The AIPrompt is compliant with the Section 508 requirements. For more information, refer to the article on [Section 508 support in Telerik UI for {{ site.framework }}]({% slug overview_accessibility %}#section-508).
24+
25+
## WCAG 2.2
26+
27+
The AIPrompt supports the standards for providing accessible web content which are set by the [Web Content Accessibility Guidelines 2.2](https://www.w3.org/TR/WCAG/). For more information, refer to the article on [WCAG 2.2 compliance in {{ site.product_short }}]({% slug overview_accessibility %}#wcag-22).
28+
29+
## See Also
30+
31+
* [Keyboard Navigation by the AIPrompt HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/aiprompt/keyboard-navigation)
32+
* [Keyboard Navigation by the {{ site.product_short }} AIPrompt]({% slug keynav_aspnetcore_aiprompt %})
33+
* [Accessibility Compliance in {{ site.product }}]({% slug compliance_accessibility %})
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: Events
3+
page_title: Events
4+
description: "Learn how to handle the events of the Telerik UI AIPrompt component for {{ site.framework }}."
5+
slug: htmlhelpers_events_aiprompt
6+
position: 4
7+
---
8+
9+
# Events
10+
11+
The Telerik UI AIPrompt for {{ site.framework }} [exposes multiple events](/api/kendo.mvc.ui.fluent/aiprompteventbuilder) that allow you to control the behavior of the UI component.
12+
13+
For a complete example on basic AIPrompt events, refer to the [demo on using the events of the AIPrompt](https://demos.telerik.com/{{ site.platform }}/aiprompt/events).
14+
15+
## Handling by Handler Name
16+
17+
The following example demonstrates how to subscribe to events by a handler name.
18+
19+
```HtmlHelper
20+
@(Html.Kendo().AIPrompt()
21+
.Name("aiprompt")
22+
.Events(ev => ev.PromptRequest("onPromptRequest"))
23+
... //Additional configuration
24+
)
25+
```
26+
{% if site.core %}
27+
```TagHelper
28+
@addTagHelper *, Kendo.Mvc
29+
30+
<kendo-aiprompt name="aiprompt" on-prompt-request="onPromptRequest">
31+
<!-- Additional configuration -->
32+
</kendo-aiprompt>
33+
```
34+
{% endif %}
35+
```Scripts
36+
<script>
37+
function onPromptRequest(e){
38+
// Handle the AIPrompt PromptRequest event that triggers when the prompt view 'Generate output' button is clicked.
39+
}
40+
</script>
41+
```
42+
43+
## Handling by Template Delegate
44+
45+
The following example demonstrates how to subscribe to events by a template delegate.
46+
47+
```HtmlHelper
48+
@(Html.Kendo().AIPrompt()
49+
.Name("aiprompt")
50+
.Events(e => e.PromptRequest(@<text>
51+
function() {
52+
// Handle the AIPrompt PromptRequest event inline.
53+
}
54+
</text>)
55+
)
56+
... //Additional configuration
57+
)
58+
```
59+
{% if site.core %}
60+
```TagHelper
61+
@addTagHelper *, Kendo.Mvc
62+
63+
<kendo-aiprompt name="aiprompt" on-prompt-request="function() {
64+
// Handle the AIPrompt PromptRequest event inline.
65+
}">
66+
<!-- Additional configuration -->
67+
</kendo-aiprompt>
68+
```
69+
{% endif %}
70+
71+
## Next Steps
72+
73+
* [Using the AIPrompt Events (Demo)](https://demos.telerik.com/{{ site.platform }}/aiprompt/events)
74+
75+
## See Also
76+
77+
* [Using the API of the AIPrompt for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/aiprompt/api)
78+
* [Client-Side API of the AIPrompt](https://docs.telerik.com/kendo-ui/api/javascript/ui/aiprompt)
79+
* [Server-Side API of the AIPrompt](/api/aiprompt)
80+
{% if site.core %}
81+
* [Server-Side API of the AIPrompt TagHelper](/api/taghelpers/aiprompt)
82+
{% endif %}

0 commit comments

Comments
 (0)