Skip to content

Commit b326f9c

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 74721b9 commit b326f9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1573
-1084
lines changed

docs-aspnet/_config.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,12 @@ navigation:
415415
title: "Wizard"
416416
"html-helpers/navigation/radiobutton":
417417
title: "RadioButton"
418+
"html-helpers/navigation/menu/binding":
419+
title: "Data Binding"
420+
position: 3
418421
"html-helpers/navigation/menu/contextmenu":
419422
title: "ContextMenu"
420-
position: 3
423+
position: 4
421424
"html-helpers/conversational-ui":
422425
title: "Conversational UI"
423426
isNew: true
@@ -490,6 +493,8 @@ navigation:
490493
title: "Spreadsheet"
491494
"*arcgauge":
492495
title: "ArcGauge"
496+
"*avatar":
497+
title: "Avatar"
493498
"*circulargauge":
494499
title: "CircularGauge"
495500
"*autocomplete":
@@ -676,10 +681,10 @@ navigation:
676681
baseurl: /aspnet-core
677682

678683
## The Kendo UI version used
679-
cdnVersion: "2022.1.118"
684+
cdnVersion: "2022.1.119"
680685

681686
## The MVC Core version used
682-
mvcCoreVersion: "2022.1.118"
687+
mvcCoreVersion: "2022.1.119"
683688

684689
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
685690

@@ -1001,6 +1006,11 @@ defaults:
10011006
path: "html-helpers/interactivity/sortable"
10021007
values:
10031008
title_prefix: "ASP.NET Core Sortable Component"
1009+
-
1010+
scope:
1011+
path: "html-helpers/layout/avatar"
1012+
values:
1013+
title_prefix: "ASP.NET Core Avatar Component"
10041014
-
10051015
scope:
10061016
path: "html-helpers/layout/badge"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2018 Releases
33
page_title: 2018 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2018."
55
slug: breakingchanges_aspnetcore_2018
6-
position: 3
6+
position: 4
77
---
88

99
# 2018 Releases

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2020 Releases
33
page_title: 2020 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2020."
55
slug: breakingchanges_2020
6-
position: 2
6+
position: 3
77
---
88

99
# 2020 Releases

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: 2021 Releases
3-
page_title: 2020 Releases
3+
page_title: 2021 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2021."
55
slug: breakingchanges_2021
6-
position: 1
6+
position: 2
77
---
88

99
# 2021 Releases
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: 2022 Releases
3+
page_title: 2021 Releases
4+
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2022."
5+
slug: breakingchanges_2022
6+
position: 1
7+
---
8+
9+
# 2022 Releases
10+
11+
This article lists the breaking or important changes in the 2022 releases of {{ site.product }}.
12+
13+
## {{ site.product }} 2022 R1
14+
15+
With R1 2022 {{ site.product }} starts to introduce a concept of sizing capabilities with the components from the suite. The components will be able to be configured via:
16+
17+
- [`ThemeColor`]
18+
- [`Size`]
19+
- [`Shape`]
20+
- [`Rounded`]
21+
- [`FillMode`]
22+
23+
Here you can find more information regarding the concept and reasoning [Components Rendering Overview]({% slug components_rendering_overview %})
24+
Below you can find the list of first portion of updated components with R1 2022.
25+
26+
### Updated Components
27+
28+
| Component | Appearance Documentation |
29+
|:--- |:--- |
30+
| `AutoComplete` | [AutoComplete Appearance Documentation]({% slug appearance_autocomplete_aspnetcore %})
31+
| `Button` | [Button Appearance Documentation]({% slug button_appearance %})
32+
| `ColorPicker` | [ColorPicker Appearance Documentation]({% slug appearance_colorpicker_aspnetcore %})
33+
| `ComboBox` | [ComboBox Appearance Documentation]({% slug appearance_combobox_aspnetcore %})
34+
| `DateInput` | [DateInput Appearance Documentation]({% slug appearance_dateinput %})
35+
| `DatePicker` | [DatePicker Appearance Documentation]({% slug appearance_datepicker_aspnetcore %})
36+
| `DateRangePicker` | [DateRangePicker Appearance Documentation]({% slug appearance_daterangepicker_aspnetcore %})
37+
| `DateTimePicker` | [DateTimePicker Appearance Documentation]({% slug appearance_datetimepicker_aspnetcore %})
38+
| `DropDownList` | [DropDownList Appearance Documentation]({% slug appearance_dropdownlist_aspnetcore %})
39+
| `DropDownTree` | [DropDownTree Appearance Documentation]({% slug appearance_dropdowntree %})
40+
| `FloatingActionButton` | [FloatingActionButton Appearance Documentation]({% slug htmlhelpers_appearance_floatingactionbutton_aspnetcore %})
41+
| `MaskedTextBox` | [MaskedTextBox Appearance Documentation]({% slug appearance_maskedtextbox %})
42+
| `Menu` | [MaskedTextBox Appearance Documentation]({% slug appearance_menu %})
43+
| `MultiColumnComboBox` | [MultiColumnComboBox Appearance Documentation]({% slug appearance_multicolumncombobox %})
44+
| `MultiSelect` | [MultiSelect Appearance Documentation]({% slug appearance_multiselect %})
45+
| `NumericTextBox` | [NumericTextBox Appearance Documentation]({% slug numerictextbox_appearance %})
46+
| `Slider` | [Slider Appearance Documentation]({% slug slider_appearance %})
47+
| `Switch` | [Switch Appearance Documentation]({% slug switch_appearance %})
48+
| `TextArea` | [TextArea Appearance Documentation]({% slug textarea_appearance %})
49+
| `TextBox` | [TextBox Appearance Documentation]({% slug textbox_appearance %})
50+
| `TimePicker` | [TimePicker Appearance Documentation]({% slug appearance_timepicker %})
51+
| `TreeView` | [TreeView Appearance Documentation]({% slug appearance_treeview %})`

docs-aspnet/getting-started-mvc/installation/cdn-service.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ permalink: /getting-started/installation/cdn-service
1111

1212
The Kendo UI CDN is hosted on the [Amazon CloudFront](https://aws.amazon.com/cloudfront/).
1313

14-
Only the official Kendo UI releases and serviced packs are uploaded to the CDN. Internal builds are not available on CDN. To access the Kendo UI CDN services, you can use either the [HTTP](#using-the-http-protocol) or the [HTTPS](#using-the-https-protocol) protocol.
14+
Only the official Kendo UI releases and serviced packs are uploaded to the CDN. Internal builds are not available on CDN. To access the Kendo UI CDN services, you can use either the [HTTP](#using-the-http-protocol) or the [HTTPS](#using-the-https-protocol) protocol. Use any of the following CDN services:
1515

16-
## Using the HTTP Protocol
16+
* `kendo.cdn.telerik.com`
17+
* `cdn.kendostatic.com` (a cookieless CDN service)
1718

18-
> The http://cdn.kendostatic.com/ URL is still active but is no longer recommended for new projects.
19+
## Using the HTTP Protocol
1920

2021
The minified versions of all JavaScript files are available at the following locations:
2122
* `https://kendo.cdn.telerik.com/{{ site.mvcCoreVersion }}/js/FILENAME.min.js`
Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
---
2+
title: Appearance
3+
page_title: Appearance
4+
description: "Learn how to customize the appearance of the Telerik UI Slider HtmlHelper for {{ site.framework }}."
5+
slug: slider_appearance
6+
position: 2
7+
---
8+
9+
# Slider Appearance
10+
11+
> As of the R1 2022 release, the Slider uses a brand new rendering.
12+
13+
In this article, you will find information about the new rendering of the {{ site.product }} Slider.
14+
15+
For additional information regarding the decision behind these changes, visit the [Components Rendering](https://docs.telerik.com/{{ site.platform }}/styles-and-layout/components-rendering-overview) article.
16+
17+
## Old vs New Rendering
18+
19+
The old rendering of the component consisted of the following elements:
20+
21+
- The outer `div` wrapper with the `k-slider` class:
22+
```html
23+
<div class="k-widget k-slider">
24+
</div>
25+
```
26+
27+
- The `div` element with `k-slider-wrap` class holding the slider items and the increasing and decreasing buttons:
28+
```html
29+
<div class="k-slider-wrap k-slider-buttons">
30+
</div>
31+
```
32+
33+
- The `a` element for the **Increase** button with the `k-button-increase` class. This element is a child of the `k-slider-wrap` `div` element:
34+
```html
35+
<a role="button" class="k-button k-button-increase" title="Increase">
36+
<span class="k-icon k-i-arrow-60-right"></span>
37+
</a>
38+
```
39+
40+
- The `a` element for the **Decrease** button with the `k-button-decrease` class. This element is a child of the `k-slider-wrap` `div` element:
41+
```html
42+
<a role="button" class="k-button k-button-decrease" title="Decrease">
43+
<span class="k-icon k-i-arrow-60-left"></span>
44+
</a>
45+
```
46+
47+
- The `ul` element with `k-slider-items` class holding information about the Slider ticks. This element is a child of the `k-slider-wrap` `div` element:
48+
```html
49+
<ul class="k-reset k-slider-items" role="presentation">
50+
.....
51+
</ul>
52+
```
53+
54+
- The `div` element with `k-slider-track` class holding information about the Slider selection. This element is a child of the `k-slider-wrap` `div` element:
55+
```html
56+
<ul class="k-reset k-slider-items" role="presentation">
57+
.....
58+
</ul>
59+
```
60+
61+
The following example demonstrates the full version of the old rendering:
62+
```html
63+
<div class="k-widget k-slider">
64+
<div class="k-slider-wrap k-slider-buttons">
65+
66+
<a role="button" class="k-button k-button-increase" title="Increase" aria-label="Increase">
67+
<span class="k-icon k-i-arrow-60-right"></span>
68+
</a>
69+
70+
<a role="button" class="k-button k-button-decrease" title="Decrease" aria-label="Decrease">
71+
<span class="k-icon k-i-arrow-60-left"></span>
72+
</a>
73+
74+
<ul class="k-reset k-slider-items" role="presentation">
75+
.....
76+
</ul>
77+
78+
<div class="k-slider-track">
79+
.....
80+
</div>
81+
82+
<input id="slider" type="text" data-role="slider">
83+
</div>
84+
</div>
85+
```
86+
87+
The new rendering of the component consists of a single wrapping `span` element that contains the child `input` and `button` elements.
88+
89+
With the new rendering additional classes are applied to the **Increase** and **Decrease** buttons inside the Slider. For additional information regarding the new button rendering, visit the [Button Styling]({% slug button_appearance %}) article.
90+
91+
The new rendering of the Slider component consists of the following elements:
92+
93+
- The outer `div` wrapper with the `k-slider` class:
94+
```html
95+
<div class="k-widget k-slider">
96+
</div>
97+
```
98+
99+
- The `a` button element for the **Decrease** button with the `k-button-decrease` class. This element is now a direct child of the `k-slider` `div` element:
100+
```html
101+
<a role="button" class="k-button k-button-md k-rounded-full k-button-solid k-button-solid-base k-icon-button k-button-decrease" title="Decrease" aria-label="Decrease">
102+
<span class="k-button-icon k-icon k-i-arrow-w"></span>
103+
</a>
104+
```
105+
106+
- The `div` element with the `k-slider-track-wrap` class, which holds information about the Slider items and selection. This element is a child of the `k-slider` `div` element:
107+
```html
108+
<div class="k-slider-track-wrap">
109+
</div>
110+
```
111+
112+
- The `a` element for the **Increase** button with the `k-button-increase` class. This element is now a direct child of the `k-slider` `div` element:
113+
```html
114+
<a role="button" class="k-button k-button-md k-rounded-full k-button-solid k-button-solid-base k-icon-button k-button-increase" title="Increase" aria-label="Increase">
115+
<span class="k-button-icon k-icon k-i-arrow-e"></span>
116+
</a>
117+
```
118+
119+
- The `ul` element with the `k-slider-items` class, which holds information about the Slider ticks. This element is now a child of the `k-slider-track-wrap` `div` element:
120+
```html
121+
<ul class="k-reset k-slider-items" role="presentation">
122+
.....
123+
</ul>
124+
```
125+
126+
- The `div` element with the `k-slider-track` class, which holds information about the Slider selection. This element is now a child of the `k-slider-track-wrap` `div` element:
127+
```html
128+
<ul class="k-reset k-slider-items" role="presentation">
129+
.....
130+
</ul>
131+
```
132+
The following example demonstrates the full version of the new rendering:
133+
134+
```html
135+
<div class="k-widget k-slider">
136+
137+
<a role="button" class="k-button k-button-md k-rounded-full k-button-solid k-button-solid-base k-icon-button k-button-decrease" title="Decrease" aria-label="Decrease">
138+
<span class="k-button-icon k-icon k-i-arrow-w"></span>
139+
</a>
140+
141+
<div class="k-slider-track-wrap">
142+
<ul class="k-reset k-slider-items" role="presentation">
143+
.....
144+
</ul>
145+
<div class="k-slider-track">
146+
....
147+
</div>
148+
<input id="slider" type="text" data-role="slider" >
149+
</div>
150+
151+
<a role="button" class="k-button k-button-md k-rounded-full k-button-solid k-button-solid-base k-icon-button k-button-increase" title="Increase" aria-label="Increase">
152+
<span class="k-button-icon k-icon k-i-arrow-e"></span>
153+
</a>
154+
155+
</div>
156+
```
157+
158+
159+
## Visual Backwards Compatibility
160+
161+
> When a LESS theme is used, the new styling and rendering support only the [default options](#options).
162+
163+
Previously, the **Increase** button in the DOM was rendered before the **Decrease** button.
164+
165+
```javascript
166+
$('.k-slider .k-button')[0] // Returns a reference to the increase button in the old rendering.
167+
$('.k-slider .k-button')[1] // Returns a reference to the decrease button in the old rendering.
168+
```
169+
170+
With the new rendering, the **Increase** button in the DOM is rendered after the **Decrease** button.
171+
172+
```javascript
173+
$('.k-slider .k-button')[0] // Returns a reference to the decrease button in the new rendering.
174+
$('.k-slider .k-button')[1] // Returns a reference to the increase button in the new rendering.
175+
```
176+
177+
Both in the old and new rendering, you can also reference the **Increase** and **Decrease** buttons by using the `k-button-increase` and `k-button-decrease` classes respectively.
178+
```javascript
179+
$('.k-button-increase') // Returns a reference to the increase button.
180+
$('.k-button-decrease') // Returns a reference to the decrease button.
181+
```
182+
183+
## See Also
184+
185+
* [Appearance of the Button HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/button/appearance)
186+
* [Slider Server-Side API](/api/slider)
187+
* [Slider Client-Side API](https://docs.telerik.com/kendo-ui/api/javascript/ui/slider)
188+
189+

0 commit comments

Comments
 (0)