Skip to content

Commit

Permalink
Sync with Kendo UI Professional
Browse files Browse the repository at this point in the history
  • Loading branch information
kendo-bot committed Apr 25, 2024
1 parent 0171187 commit f0b4420
Show file tree
Hide file tree
Showing 17 changed files with 182 additions and 88 deletions.
14 changes: 7 additions & 7 deletions docs-aspnet/html-helpers/charts/elements/trendlines.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A linear trendline is usually used to show if a particular quantity is increasin

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

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

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

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

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

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

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

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

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

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

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

```
```HtmlHelper
@(Html.Kendo().Chart()
.Name("chart")
.Title("Site Visitors Stats")
Expand Down Expand Up @@ -385,7 +385,7 @@ To create a forecast, extend the trendline by specifying the number of intervals
The following example demonstrates how to create a forecast.

```
```HtmlHelper
@(Html.Kendo().Chart()
.Name("chart")
.Title("Site Visitors Stats")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ The Telerik UI for {{ site.framework }} releases before the R1 2023 SP1 one does
<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-eval' 'self' 'nonce-kendoInlineScript' https://kendo.cdn.telerik.com;">
```
1. Add the links used in the _Layout such as for example - `kendostatic`, `jquery`, and `unpkg(jszip)`:
```
<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/;" />
```
## See Also
Expand Down
2 changes: 1 addition & 1 deletion docs/api/javascript/ui/aiprompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ The index of the active view or the name of the view to show. If no argument is

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

##### Parameters
#### Parameters

##### promptOutput `Object`

Expand Down
76 changes: 72 additions & 4 deletions docs/api/javascript/ui/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2432,9 +2432,9 @@ If enabled, the editor renders a resize handle to allow users to resize it.
});
</script>

### resizable.min `Number`
### resizable.min `Number|Object`

The minimum height that the editor can be resized to.
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.

#### Example

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

### resizable.max `Number`
### resizable.min.minWidth `Number`

The maximum height that the editor can be resized to.
The minimum width that the editor can be resized to.

#### Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
resizable: {
min: {
minWidth: 500
}
}
});
</script>

### resizable.min.minHeight `Number`

The minimum height that the editor can be resized to.

#### Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
resizable: {
min: {
minHeight: 500
}
}
});
</script>

### resizable.max `Number|Object`

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.

#### Example

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

### resizable.max.maxWidth `Number`

The maximum width that the editor can be resized to.

#### Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
resizable: {
max: {
maxWidth: 500
}
}
});
</script>

### resizable.max.maxHeight `Number`

The maximum height that the editor can be resized to.

#### Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
resizable: {
max: {
maxHeight: 500
}
}
});
</script>

### resizable.toolbar `Boolean`

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.
Expand Down
102 changes: 51 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"license": "Apache-2.0",
"version": "1.0.0",
"devDependencies": {
"@progress/kendo-svg-icons": "2.1.0",
"@progress/kendo-theme-bootstrap": "7.2.1",
"@progress/kendo-theme-classic": "7.2.1",
"@progress/kendo-theme-core": "7.2.1",
"@progress/kendo-theme-default": "7.2.1",
"@progress/kendo-theme-fluent": "7.2.1",
"@progress/kendo-theme-material": "7.2.1",
"@progress/kendo-theme-utils": "7.2.1",
"@progress/kendo-svg-icons": "2.3.0",
"@progress/kendo-theme-bootstrap": "8.0.0-dev.8",
"@progress/kendo-theme-classic": "8.0.0-dev.8",
"@progress/kendo-theme-core": "8.0.0-dev.8",
"@progress/kendo-theme-default": "8.0.0-dev.8",
"@progress/kendo-theme-fluent": "8.0.0-dev.8",
"@progress/kendo-theme-material": "8.0.0-dev.8",
"@progress/kendo-theme-utils": "8.0.0-dev.8",
"@progress/wct-a11y-spec": "^2.0.9",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-virtual": "^2.1.0",
Expand Down
6 changes: 5 additions & 1 deletion src/kendo.autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ var __meta__ = {
}
},

_popup: function() {
List.fn._popup.call(this);
this.popup.element.addClass("k-autocomplete-popup");
},

_dataSource: function() {
var that = this;

Expand Down Expand Up @@ -863,7 +868,6 @@ var __meta__ = {

if (this.options.clearButton) {
this._clear.insertAfter(this.element);
this.wrapper.addClass("k-autocomplete-clearable");
}
},

Expand Down
1 change: 1 addition & 0 deletions src/kendo.dropdownlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ var __meta__ = {

_popup: function() {
Select.fn._popup.call(this);
this.popup.element.addClass("k-dropdownlist-popup");
this.popup.one("open", this._popupOpen.bind(this));
},

Expand Down
2 changes: 1 addition & 1 deletion src/kendo.floatinglabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var __meta__ = {
var element = that.element;
var inputInner = that.options.widget.wrapper.find(".k-input-inner");
if (inputInner.length > 0) {
var labelHeight = that.element.find("> .k-input-label").height();
var labelHeight = that.element.find("> .k-floating-label").height();
var offsetX = inputInner.position().left + Number.parseInt(inputInner.css('padding-left'));
var offsetY = inputInner.position().top + Number.parseInt(inputInner.css('padding-top')) + labelHeight;
element[0].style.setProperty(FLOATINGLABEL_OFFSET_X, offsetX + "px");
Expand Down
Loading

0 comments on commit f0b4420

Please sign in to comment.