Skip to content

Commit e3fa0fa

Browse files
committed
Sync with Kendo UI Professional
1 parent f31f6d7 commit e3fa0fa

File tree

6 files changed

+99
-64
lines changed

6 files changed

+99
-64
lines changed

docs/api/javascript/data/orgchartmodel.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Configure the field that holds profile images, photos, or avatar URLs within you
2626
<script>
2727
var dataSource = new kendo.data.OrgChartDataSource({
2828
data: [
29-
{ id: 1, name: "John Smith", title: "CEO", avatar: "https://demos.telerik.com/kendo-ui/content/web/orgchart/people/1.jpg", parentId: null },
30-
{ id: 2, name: "Jane Doe", title: "CTO", avatar: "https://demos.telerik.com/kendo-ui/content/web/orgchart/people/2.jpg", parentId: 1 }
29+
{ id: 1, name: "John Smith", title: "CEO", avatar: "https://demos.telerik.com/kendo-ui/content/web/treelist/people/1.jpg", parentId: null },
30+
{ id: 2, name: "Jane Doe", title: "CTO", avatar: "https://demos.telerik.com/kendo-ui/content/web/treelist/people/3.jpg", parentId: 1 }
3131
],
3232
schema: {
3333
model: {
@@ -45,6 +45,7 @@ Configure the field that holds profile images, photos, or avatar URLs within you
4545
});
4646

4747
$("#orgchart").kendoOrgChart({
48+
height:800,
4849
dataSource: dataSource,
4950
template: (data) => `
5051
<div class='k-card-body'>

docs/api/javascript/ui/mediaplayer.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ Configure or customize media player language settings by supplying a collection
167167

168168
#### Example
169169

170+
```pseudo
170171
<div id="mediaplayer"></div>
171172
<script>
172173
$("#mediaplayer").kendoMediaPlayer({
@@ -181,6 +182,7 @@ Configure or customize media player language settings by supplying a collection
181182
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
182183
});
183184
</script>
185+
```
184186

185187
### messages.pause `String`
186188

@@ -193,6 +195,7 @@ Customize and translate the tooltip text shown on the pause button in media play
193195

194196
#### Example
195197

198+
```pseudo
196199
<div id="mediaplayer"></div>
197200
<script>
198201
$("#mediaplayer").kendoMediaPlayer({
@@ -202,6 +205,7 @@ Customize and translate the tooltip text shown on the pause button in media play
202205
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
203206
});
204207
</script>
208+
```
205209

206210
### messages.play `String`
207211

@@ -214,6 +218,7 @@ Customize or localize the Play button tooltip text in a media player interface,
214218

215219
#### Example
216220

221+
```pseudo
217222
<div id="mediaplayer"></div>
218223
<script>
219224
$("#mediaplayer").kendoMediaPlayer({
@@ -223,6 +228,7 @@ Customize or localize the Play button tooltip text in a media player interface,
223228
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
224229
});
225230
</script>
231+
```
226232

227233
### messages.mute `String`
228234

@@ -235,6 +241,7 @@ Set or customize the tooltip, hover text, or label that appears when users mouse
235241

236242
#### Example
237243

244+
```pseudo
238245
<div id="mediaplayer"></div>
239246
<script>
240247
$("#mediaplayer").kendoMediaPlayer({
@@ -244,6 +251,7 @@ Set or customize the tooltip, hover text, or label that appears when users mouse
244251
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
245252
});
246253
</script>
254+
```
247255

248256
### messages.unmute `String`
249257

@@ -256,6 +264,7 @@ Set, customize, or configure the tooltip, hover text, label, or accessible descr
256264

257265
#### Example
258266

267+
```pseudo
259268
<div id="mediaplayer"></div>
260269
<script>
261270
$("#mediaplayer").kendoMediaPlayer({
@@ -265,6 +274,7 @@ Set, customize, or configure the tooltip, hover text, label, or accessible descr
265274
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
266275
});
267276
</script>
277+
```
268278

269279
### messages.quality `String`
270280

@@ -277,6 +287,7 @@ Customize or set the tooltip text, label, or description for the media player's
277287

278288
#### Example
279289

290+
```pseudo
280291
<div id="mediaplayer"></div>
281292
<script>
282293
$("#mediaplayer").kendoMediaPlayer({
@@ -286,6 +297,7 @@ Customize or set the tooltip text, label, or description for the media player's
286297
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
287298
});
288299
</script>
300+
```
289301

290302
### messages.fullscreen `String`
291303

@@ -298,6 +310,7 @@ Set or customize the tooltip, hover text, or button label for the fullscreen con
298310

299311
#### Example
300312

313+
```pseudo
301314
<div id="mediaplayer"></div>
302315
<script>
303316
$("#mediaplayer").kendoMediaPlayer({
@@ -307,6 +320,7 @@ Set or customize the tooltip, hover text, or button label for the fullscreen con
307320
media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
308321
});
309322
</script>
323+
```
310324

311325
### mute `Boolean` *(default: false)*
312326

@@ -319,13 +333,15 @@ Manage audio output settings to enable or disable sound during media playback, s
319333

320334
#### Example - enable fullscreen
321335

336+
```pseudo
322337
<div id="mediaplayer"></div>
323338
<script>
324339
$("#mediaplayer").kendoMediaPlayer({
325340
mute: true,
326341
media: { title: "Digital Transformation: A New Way of Thinking", source: "https://www.youtube.com/watch?v=gNlya720gbk" }
327342
});
328343
</script>
344+
```
329345

330346
### navigatable `Boolean` *(default: false)*
331347

docs/api/javascript/ui/pivotgrid.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,15 @@ Control automatic triggering of the print dialog or print preview immediately af
515515
catalog: "Adventure Works DW 2008R2",
516516
cube: "Adventure Works"
517517
},
518-
read: "https://demos.telerik.com/olap/msmdpump.dll"
518+
read: {
519+
url: "https://demos.telerik.com/service/v2/olap/msmdpump.dll",
520+
dataType: "text",
521+
contentType: "text/xml",
522+
type: "POST"
523+
}
524+
},
525+
schema: {
526+
type: "xmla"
519527
}
520528
}
521529
});
@@ -552,7 +560,15 @@ Control the inclusion or exclusion of hyperlinks when exporting a pivot grid to
552560
catalog: "Adventure Works DW 2008R2",
553561
cube: "Adventure Works"
554562
},
555-
read: "https://demos.telerik.com/olap/msmdpump.dll"
563+
read: {
564+
url: "https://demos.telerik.com/service/v2/olap/msmdpump.dll",
565+
dataType: "text",
566+
contentType: "text/xml",
567+
type: "POST"
568+
}
569+
},
570+
schema: {
571+
type: "xmla"
556572
}
557573
}
558574
});

docs/api/javascript/ui/splitbutton.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,7 @@ Specifies the image of the item.
376376
Set or configure the visual icon, picture, or image source URL displayed next to or alongside a menu item within a split button control, enabling the inclusion of graphics, symbols, or thumbnails for individual menu entries to enhance UI clarity, support customization, and improve user recognition; supports setting image paths, URLs, or icon links for items in split buttons, allowing developers to add illustrative images, icons, or visual markers paired with menu text labels in dropdown or split menu components.
377377
</div>
378378

379-
#### Example
380-
379+
```pseudo
381380
<button id="splitButton">Command</button>
382381
<script>
383382
$("#splitButton").kendoSplitButton({
@@ -388,6 +387,7 @@ Set or configure the visual icon, picture, or image source URL displayed next to
388387
]
389388
});
390389
</script>
390+
```
391391

392392
### items.spriteCssClass `String`
393393

docs/api/javascript/ui/window.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,13 +484,15 @@ Control the option to create or prevent a dedicated embedded frame within the ma
484484

485485
#### Example - loading the full page
486486

487+
```pseudo
487488
<div id="dialog"></div>
488489
<script>
489490
$("#dialog").kendoWindow({
490491
content: "https://www.telerik.com/",
491492
iframe: true
492493
});
493494
</script>
495+
```
494496

495497
### height `Number | String`
496498

docs/controls/PDFViewer/form-filling.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,70 @@ Starting with Kendo UI for jQuery version Q2 2025, the PDFViewer introduces a co
1818

1919
The Form Filling feature enhances the usability of PDF forms, making it easier for users to complete and submit forms without requiring external tools.
2020

21+
## Form Styling
22+
23+
Currently, the Kendo themes do not contain the necessary styles for the form elements rendered in the layers. This requires you to include the styles below:
24+
25+
```css
26+
<style>
27+
.k-annotation-layer .k-text-widget-annotation .k-annotation-content {
28+
position: absolute;
29+
width: 100%;
30+
height: 100%;
31+
pointer-events: none;
32+
}
33+
34+
.k-annotation-layer {
35+
--annotation-unfocused-field-background: url(data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>);
36+
--input-focus-border-color: black;
37+
--input-focus-outline: 1px solid Canvas;
38+
--input-unfocused-border-color: transparent;
39+
--input-disabled-border-color: transparent;
40+
--input-hover-border-color: black;
41+
--link-outline: none;
42+
}
43+
44+
.k-annotation-layer .k-text-widget-annotation > input, .k-annotation-layer .k-text-widget-annotation > textarea, .k-annotation-layer .choiceWidgetAnnotation > select, .k-annotation-layer .k-button-widget-annotation:is(.k-checkbox-widget-annotation, .k-radio-button-widget-annotation) input {
45+
height: 100%;
46+
width: 100%;
47+
}
48+
49+
.k-annotation-content {
50+
position: absolute;
51+
width: 100%;
52+
height: 100%;
53+
pointer-events: none;
54+
}
55+
56+
.k-annotation-layer {
57+
:is(.k-link-annotation, .k-button-widget-annotation.k-push-button-widget-annotation) > a {
58+
position: absolute;
59+
font-size: 1em;
60+
top: 0;
61+
left: 0;
62+
width: 100%;
63+
height: 100%;
64+
}
65+
}
66+
67+
.k-annotation-layer {
68+
:is(.k-link-annotation, .k-button-widget-annotation.k-push-button-widget-annotation):not(.hasBorder) > a:hover {
69+
opacity: 0.2;
70+
background-color: rgb(255 255 0);
71+
box-shadow: 0 2px 10px rgb(255 255 0);
72+
}
73+
}
74+
75+
</style>
76+
```
77+
2178
In the example below, you can see how to enable the Form Filling feature:
2279

2380
```dojo
2481
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.6.82/pdf.mjs" type="module"></script> <!-- Include pdf.js before the kendo scripts -->
2582
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.6.82/pdf.worker.mjs" type="module"></script> <!-- Include pdf.worker.js before the kendo scripts -->
2683
<script src="https://code.jquery.com/jquery-3.7.0.min.js" type="module"></script>
27-
<script src="https://kendo.cdn.telerik.com/2025.1.211/js/kendo.all.min.js" type="module"></script>
84+
<script src="https://kendo.cdn.telerik.com/2025.2.520/js/kendo.all.min.js" type="module"></script>
2885

2986
<div id="pdfviewer"></div>
3087
<script type="module">
@@ -37,63 +94,6 @@ In the example below, you can see how to enable the Form Filling feature:
3794
</script>
3895
```
3996

40-
## Form Styling
41-
42-
Currently, the Kendo themes do not contain the necessary styles for the form elements rendered in the layers. This requires you to include the styles below:
43-
44-
```css
45-
<style>
46-
.k-annotation-layer .k-text-widget-annotation .k-annotation-content {
47-
position: absolute;
48-
width: 100%;
49-
height: 100%;
50-
pointer-events: none;
51-
}
52-
53-
.k-annotation-layer {
54-
--annotation-unfocused-field-background: url(data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>);
55-
--input-focus-border-color: black;
56-
--input-focus-outline: 1px solid Canvas;
57-
--input-unfocused-border-color: transparent;
58-
--input-disabled-border-color: transparent;
59-
--input-hover-border-color: black;
60-
--link-outline: none;
61-
}
62-
63-
.k-annotation-layer .k-text-widget-annotation > input, .k-annotation-layer .k-text-widget-annotation > textarea, .k-annotation-layer .choiceWidgetAnnotation > select, .k-annotation-layer .k-button-widget-annotation:is(.k-checkbox-widget-annotation, .k-radio-button-widget-annotation) input {
64-
height: 100%;
65-
width: 100%;
66-
}
67-
68-
.k-annotation-content {
69-
position: absolute;
70-
width: 100%;
71-
height: 100%;
72-
pointer-events: none;
73-
}
74-
75-
.k-annotation-layer {
76-
:is(.k-link-annotation, .k-button-widget-annotation.k-push-button-widget-annotation) > a {
77-
position: absolute;
78-
font-size: 1em;
79-
top: 0;
80-
left: 0;
81-
width: 100%;
82-
height: 100%;
83-
}
84-
}
85-
86-
.k-annotation-layer {
87-
:is(.k-link-annotation, .k-button-widget-annotation.k-push-button-widget-annotation):not(.hasBorder) > a:hover {
88-
opacity: 0.2;
89-
background-color: rgb(255 255 0);
90-
box-shadow: 0 2px 10px rgb(255 255 0);
91-
}
92-
}
93-
94-
</style>
95-
```
96-
9797
## See Also
9898

9999
* [Form Filling in the PDFViewer (Demo)](https://demos.telerik.com/kendo-ui/pdfviewer/form-filling)

0 commit comments

Comments
 (0)