Skip to content

Commit f0b4420

Browse files
committed
Sync with Kendo UI Professional
1 parent 0171187 commit f0b4420

File tree

17 files changed

+182
-88
lines changed

17 files changed

+182
-88
lines changed

docs-aspnet/html-helpers/charts/elements/trendlines.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A linear trendline is usually used to show if a particular quantity is increasin
1919

2020
The following example demonstrates how to create a linear trendline for Categorical series.
2121

22-
```
22+
```HtmlHelper
2323
@(Html.Kendo().Chart()
2424
.Name("chart")
2525
.Title("Site Visitors Stats")
@@ -92,7 +92,7 @@ Exponential trendlines are most suitable for data sets with accelerating rate of
9292

9393
The following example demonstrates how to create a exponential trendline for Categorical series.
9494

95-
```
95+
```HtmlHelper
9696
@(Html.Kendo().Chart()
9797
.Name("chart")
9898
.Series(series =>
@@ -142,7 +142,7 @@ Logarithmic trendlines are best suited for data sets that grow quickly at the be
142142

143143
The following example demonstrates how to create a logarithmic trendline for Categorical series.
144144

145-
```
145+
```HtmlHelper
146146
@(Html.Kendo().Chart()
147147
.Name("chart")
148148
.Series(series =>
@@ -192,7 +192,7 @@ Power trendlines are suitable for data that has a steady increase or decrease in
192192

193193
The following example demonstrates how to create a power trendline for Categorical series.
194194

195-
```
195+
```HtmlHelper
196196
@(Html.Kendo().Chart()
197197
.Name("chart")
198198
.Series(series =>
@@ -251,7 +251,7 @@ The default order is 2. Accepted values are from 2 to 6:
251251

252252
The following example demonstrates how to create a polynomial trendline for Categorical series.
253253

254-
```
254+
```HtmlHelper
255255
@(Html.Kendo().Chart()
256256
.Name("chart")
257257
.Series(series =>
@@ -303,7 +303,7 @@ The moving average trendline is used to smooth out the variations in the data by
303303

304304
The following example demonstrates how to create a moving average trendline for Categorical series.
305305

306-
```
306+
```HtmlHelper
307307
@(Html.Kendo().Chart()
308308
.Name("chart")
309309
.Title("Site Visitors Stats")
@@ -385,7 +385,7 @@ To create a forecast, extend the trendline by specifying the number of intervals
385385
386386
The following example demonstrates how to create a forecast.
387387

388-
```
388+
```HtmlHelper
389389
@(Html.Kendo().Chart()
390390
.Name("chart")
391391
.Title("Site Visitors Stats")

docs-aspnet/html-helpers/helper-basics/content-security-policy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ The Telerik UI for {{ site.framework }} releases before the R1 2023 SP1 one does
225225
<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-eval' 'self' 'nonce-kendoInlineScript' https://kendo.cdn.telerik.com;">
226226
```
227227
228+
1. Add the links used in the _Layout such as for example - `kendostatic`, `jquery`, and `unpkg(jszip)`:
229+
230+
```
231+
<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-eval' 'self' 'nonce-kendoInlineScript' https://cdn.kendostatic.com https://code.jquery.com https://unpkg.com/;" />
232+
```
228233
229234
## See Also
230235

docs/api/javascript/ui/aiprompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ The index of the active view or the name of the view to show. If no argument is
611611

612612
Adds a prompt output to the `promptOutputs` collection. If the active views is `OutputView`, calls the view's `addPromptOutput` method.
613613

614-
##### Parameters
614+
#### Parameters
615615

616616
##### promptOutput `Object`
617617

docs/api/javascript/ui/editor.md

Lines changed: 72 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,9 +2432,9 @@ If enabled, the editor renders a resize handle to allow users to resize it.
24322432
});
24332433
</script>
24342434

2435-
### resizable.min `Number`
2435+
### resizable.min `Number|Object`
24362436

2437-
The minimum height that the editor can be resized to.
2437+
The minimum height that the editor can be resized to. If set to an object the user can restrict both min width and height values.
24382438

24392439
#### Example
24402440

@@ -2447,9 +2447,43 @@ The minimum height that the editor can be resized to.
24472447
});
24482448
</script>
24492449

2450-
### resizable.max `Number`
2450+
### resizable.min.minWidth `Number`
24512451

2452-
The maximum height that the editor can be resized to.
2452+
The minimum width that the editor can be resized to.
2453+
2454+
#### Example
2455+
2456+
<textarea id="editor"></textarea>
2457+
<script>
2458+
$("#editor").kendoEditor({
2459+
resizable: {
2460+
min: {
2461+
minWidth: 500
2462+
}
2463+
}
2464+
});
2465+
</script>
2466+
2467+
### resizable.min.minHeight `Number`
2468+
2469+
The minimum height that the editor can be resized to.
2470+
2471+
#### Example
2472+
2473+
<textarea id="editor"></textarea>
2474+
<script>
2475+
$("#editor").kendoEditor({
2476+
resizable: {
2477+
min: {
2478+
minHeight: 500
2479+
}
2480+
}
2481+
});
2482+
</script>
2483+
2484+
### resizable.max `Number|Object`
2485+
2486+
The maximum height that the editor can be resized to. If set to an object the user can restrict both max width and height values.
24532487

24542488
#### Example
24552489

@@ -2462,6 +2496,40 @@ The maximum height that the editor can be resized to.
24622496
});
24632497
</script>
24642498

2499+
### resizable.max.maxWidth `Number`
2500+
2501+
The maximum width that the editor can be resized to.
2502+
2503+
#### Example
2504+
2505+
<textarea id="editor"></textarea>
2506+
<script>
2507+
$("#editor").kendoEditor({
2508+
resizable: {
2509+
max: {
2510+
maxWidth: 500
2511+
}
2512+
}
2513+
});
2514+
</script>
2515+
2516+
### resizable.max.maxHeight `Number`
2517+
2518+
The maximum height that the editor can be resized to.
2519+
2520+
#### Example
2521+
2522+
<textarea id="editor"></textarea>
2523+
<script>
2524+
$("#editor").kendoEditor({
2525+
resizable: {
2526+
max: {
2527+
maxHeight: 500
2528+
}
2529+
}
2530+
});
2531+
</script>
2532+
24652533
### resizable.toolbar `Boolean`
24662534

24672535
If `resizable` is set to `true` the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.

package-lock.json

Lines changed: 51 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"license": "Apache-2.0",
1111
"version": "1.0.0",
1212
"devDependencies": {
13-
"@progress/kendo-svg-icons": "2.1.0",
14-
"@progress/kendo-theme-bootstrap": "7.2.1",
15-
"@progress/kendo-theme-classic": "7.2.1",
16-
"@progress/kendo-theme-core": "7.2.1",
17-
"@progress/kendo-theme-default": "7.2.1",
18-
"@progress/kendo-theme-fluent": "7.2.1",
19-
"@progress/kendo-theme-material": "7.2.1",
20-
"@progress/kendo-theme-utils": "7.2.1",
13+
"@progress/kendo-svg-icons": "2.3.0",
14+
"@progress/kendo-theme-bootstrap": "8.0.0-dev.8",
15+
"@progress/kendo-theme-classic": "8.0.0-dev.8",
16+
"@progress/kendo-theme-core": "8.0.0-dev.8",
17+
"@progress/kendo-theme-default": "8.0.0-dev.8",
18+
"@progress/kendo-theme-fluent": "8.0.0-dev.8",
19+
"@progress/kendo-theme-material": "8.0.0-dev.8",
20+
"@progress/kendo-theme-utils": "8.0.0-dev.8",
2121
"@progress/wct-a11y-spec": "^2.0.9",
2222
"@rollup/plugin-node-resolve": "^13.3.0",
2323
"@rollup/plugin-virtual": "^2.1.0",

src/kendo.autocomplete.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ var __meta__ = {
236236
}
237237
},
238238

239+
_popup: function() {
240+
List.fn._popup.call(this);
241+
this.popup.element.addClass("k-autocomplete-popup");
242+
},
243+
239244
_dataSource: function() {
240245
var that = this;
241246

@@ -863,7 +868,6 @@ var __meta__ = {
863868

864869
if (this.options.clearButton) {
865870
this._clear.insertAfter(this.element);
866-
this.wrapper.addClass("k-autocomplete-clearable");
867871
}
868872
},
869873

src/kendo.dropdownlist.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ var __meta__ = {
908908

909909
_popup: function() {
910910
Select.fn._popup.call(this);
911+
this.popup.element.addClass("k-dropdownlist-popup");
911912
this.popup.one("open", this._popupOpen.bind(this));
912913
},
913914

src/kendo.floatinglabel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var __meta__ = {
7474
var element = that.element;
7575
var inputInner = that.options.widget.wrapper.find(".k-input-inner");
7676
if (inputInner.length > 0) {
77-
var labelHeight = that.element.find("> .k-input-label").height();
77+
var labelHeight = that.element.find("> .k-floating-label").height();
7878
var offsetX = inputInner.position().left + Number.parseInt(inputInner.css('padding-left'));
7979
var offsetY = inputInner.position().top + Number.parseInt(inputInner.css('padding-top')) + labelHeight;
8080
element[0].style.setProperty(FLOATINGLABEL_OFFSET_X, offsetX + "px");

0 commit comments

Comments
 (0)