@progress/kendo-react-editor 5.10.0-dev.202301092204 → 5.10.0-dev.202301111405

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import { keys, messages } from './../messages';
22
+ import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRemoveIcon, alignRightIcon, boldIcon, cellsMergeIcon, cellSplitHorizontallyIcon, clearCssIcon, codeIcon, dropletIcon, fileAddIcon, filePdfIcon, foregroundColorIcon, imageIcon, indentIcon, italicIcon, linkIcon, listOrderedIcon, listUnorderedIcon, outdentIcon, printIcon, redoIcon, searchIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, tableAddIcon, tableColumnDeleteIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableDeleteIcon, tableRowDeleteIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, underlineIcon, undoIcon, unlinkIcon } from '@progress/kendo-svg-icons';
22
23
  import { bold as boldSettings, italic as italicSettings, underline as underlineSettings, strikethrough as strikethroughSettings, subscript as subscriptSettings, superscript as superscriptSettings, link as linkSettings, alignLeftRules, alignRightRules, alignCenterRules, alignJustifyRules, alignRemoveRules, indentRules, outdentRules } from '@progress/kendo-editor-common';
23
24
  /**
24
25
  * @hidden
@@ -38,43 +39,43 @@ export var EditorToolsSettings;
38
39
  /**
39
40
  * The object of the Bold tool settings.
40
41
  */
41
- EditorToolsSettings.bold = __assign(__assign({}, boldSettings), { props: __assign({ icon: 'bold' }, buttonCommonProps), messages: {
42
+ EditorToolsSettings.bold = __assign(__assign({}, boldSettings), { props: __assign({ icon: 'bold', svgIcon: boldIcon }, buttonCommonProps), messages: {
42
43
  title: keys.bold
43
44
  }, commandName: 'Bold' });
44
45
  /**
45
46
  * The object of the Italic tool settings.
46
47
  */
47
- EditorToolsSettings.italic = __assign(__assign({}, italicSettings), { props: __assign({ icon: 'italic' }, buttonCommonProps), messages: {
48
+ EditorToolsSettings.italic = __assign(__assign({}, italicSettings), { props: __assign({ icon: 'italic', svgIcon: italicIcon }, buttonCommonProps), messages: {
48
49
  title: keys.italic
49
50
  }, commandName: 'Italic' });
50
51
  /**
51
52
  * The object of the Underline tool settings.
52
53
  */
53
- EditorToolsSettings.underline = __assign(__assign({}, underlineSettings), { props: __assign({ icon: 'underline' }, buttonCommonProps), messages: {
54
+ EditorToolsSettings.underline = __assign(__assign({}, underlineSettings), { props: __assign({ icon: 'underline', svgIcon: underlineIcon }, buttonCommonProps), messages: {
54
55
  title: keys.underline
55
56
  }, commandName: 'Underline' });
56
57
  /**
57
58
  * The object of the Strikethrough tool settings.
58
59
  */
59
- EditorToolsSettings.strikethrough = __assign(__assign({}, strikethroughSettings), { props: __assign({ icon: 'strikethrough' }, buttonCommonProps), messages: {
60
+ EditorToolsSettings.strikethrough = __assign(__assign({}, strikethroughSettings), { props: __assign({ icon: 'strikethrough', svgIcon: strikethroughIcon }, buttonCommonProps), messages: {
60
61
  title: keys.strikethrough
61
62
  }, commandName: 'Strikethrough' });
62
63
  /**
63
64
  * The object of the Subscript tool settings.
64
65
  */
65
- EditorToolsSettings.subscript = __assign(__assign({}, subscriptSettings), { props: __assign({ icon: 'subscript' }, buttonCommonProps), messages: {
66
+ EditorToolsSettings.subscript = __assign(__assign({}, subscriptSettings), { props: __assign({ icon: 'subscript', svgIcon: subscriptIcon }, buttonCommonProps), messages: {
66
67
  title: keys.subscript
67
68
  }, commandName: 'Subscript' });
68
69
  /**
69
70
  * The object of the Superscript tool settings.
70
71
  */
71
- EditorToolsSettings.superscript = __assign(__assign({}, superscriptSettings), { props: __assign({ icon: 'superscript' }, buttonCommonProps), messages: {
72
+ EditorToolsSettings.superscript = __assign(__assign({}, superscriptSettings), { props: __assign({ icon: 'supscript', svgIcon: supscriptIcon }, buttonCommonProps), messages: {
72
73
  title: keys.superscript
73
74
  }, commandName: 'Superscript' });
74
75
  /**
75
76
  * The object of the Link tool settings.
76
77
  */
77
- EditorToolsSettings.link = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'link-horizontal' }, buttonCommonProps), messages: {
78
+ EditorToolsSettings.link = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'link', svgIcon: linkIcon }, buttonCommonProps), messages: {
78
79
  insertHyperlink: keys.insertHyperlink,
79
80
  insertHyperlinkDialogTitle: keys.insertHyperlinkDialogTitle,
80
81
  insertHyperlinkAddress: keys.insertHyperlinkAddress,
@@ -86,7 +87,7 @@ export var EditorToolsSettings;
86
87
  /**
87
88
  * The object of the Link tool settings.
88
89
  */
89
- EditorToolsSettings.insertFile = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'file-add' }, buttonCommonProps), messages: {
90
+ EditorToolsSettings.insertFile = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'file-add', svgIcon: fileAddIcon }, buttonCommonProps), messages: {
90
91
  insertHyperlink: keys.insertFile,
91
92
  insertHyperlinkDialogTitle: keys.insertFileDialogTitle,
92
93
  insertHyperlinkAddress: keys.insertFileAddress,
@@ -99,7 +100,7 @@ export var EditorToolsSettings;
99
100
  * The object of the InsertTable tool settings.
100
101
  */
101
102
  EditorToolsSettings.insertTable = {
102
- props: __assign({ icon: 'table-insert' }, buttonCommonProps),
103
+ props: __assign({ icon: 'table-add', svgIcon: tableAddIcon }, buttonCommonProps),
103
104
  messages: {
104
105
  createTable: keys.createTable,
105
106
  createTableHint: keys.createTableHint
@@ -110,7 +111,7 @@ export var EditorToolsSettings;
110
111
  * The object of the AddRowBefore tool settings.
111
112
  */
112
113
  EditorToolsSettings.addRowBefore = {
113
- props: __assign({ icon: 'table-row-insert-above' }, buttonCommonProps),
114
+ props: __assign({ icon: 'table-row-insert-above', svgIcon: tableRowInsertAboveIcon }, buttonCommonProps),
114
115
  messages: {
115
116
  title: keys.addRowBefore
116
117
  },
@@ -120,7 +121,7 @@ export var EditorToolsSettings;
120
121
  * The object of the AddRowAfter tool settings.
121
122
  */
122
123
  EditorToolsSettings.addRowAfter = {
123
- props: __assign({ icon: 'table-row-insert-below' }, buttonCommonProps),
124
+ props: __assign({ icon: 'table-row-insert-below', svgIcon: tableRowInsertBelowIcon }, buttonCommonProps),
124
125
  messages: {
125
126
  title: keys.addRowAfter
126
127
  },
@@ -130,7 +131,7 @@ export var EditorToolsSettings;
130
131
  * The object of the AddColumnBefore tool settings.
131
132
  */
132
133
  EditorToolsSettings.addColumnBefore = {
133
- props: __assign({ icon: 'table-column-insert-left' }, buttonCommonProps),
134
+ props: __assign({ icon: 'table-column-insert-left', svgIcon: tableColumnInsertLeftIcon }, buttonCommonProps),
134
135
  messages: {
135
136
  title: keys.addColumnBefore
136
137
  },
@@ -140,7 +141,7 @@ export var EditorToolsSettings;
140
141
  * The object of the AddColumnAfter tool settings.
141
142
  */
142
143
  EditorToolsSettings.addColumnAfter = {
143
- props: __assign({ icon: 'table-column-insert-right' }, buttonCommonProps),
144
+ props: __assign({ icon: 'table-column-insert-right', svgIcon: tableColumnInsertRightIcon }, buttonCommonProps),
144
145
  messages: {
145
146
  title: keys.addColumnAfter
146
147
  },
@@ -150,7 +151,7 @@ export var EditorToolsSettings;
150
151
  * The object of the DeleteRow tool settings.
151
152
  */
152
153
  EditorToolsSettings.deleteRow = {
153
- props: __assign({ icon: 'table-row-delete' }, buttonCommonProps),
154
+ props: __assign({ icon: 'table-row-delete', svgIcon: tableRowDeleteIcon }, buttonCommonProps),
154
155
  messages: {
155
156
  title: keys.deleteRow
156
157
  },
@@ -160,7 +161,7 @@ export var EditorToolsSettings;
160
161
  * The object of the DeleteColumn tool settings.
161
162
  */
162
163
  EditorToolsSettings.deleteColumn = {
163
- props: __assign({ icon: 'table-column-delete' }, buttonCommonProps),
164
+ props: __assign({ icon: 'table-column-delete', svgIcon: tableColumnDeleteIcon }, buttonCommonProps),
164
165
  messages: {
165
166
  title: keys.deleteColumn
166
167
  },
@@ -170,7 +171,7 @@ export var EditorToolsSettings;
170
171
  * The object of the DeleteTable tool settings.
171
172
  */
172
173
  EditorToolsSettings.deleteTable = {
173
- props: __assign({ icon: 'table-delete' }, buttonCommonProps),
174
+ props: __assign({ icon: 'table-delete', svgIcon: tableDeleteIcon }, buttonCommonProps),
174
175
  messages: {
175
176
  title: keys.deleteTable
176
177
  },
@@ -180,7 +181,7 @@ export var EditorToolsSettings;
180
181
  * The object of the MergeCells tool settings.
181
182
  */
182
183
  EditorToolsSettings.mergeCells = {
183
- props: __assign({ icon: 'cells-merge' }, buttonCommonProps),
184
+ props: __assign({ icon: 'cells-merge', svgIcon: cellsMergeIcon }, buttonCommonProps),
184
185
  messages: {
185
186
  title: keys.mergeCells
186
187
  },
@@ -190,7 +191,7 @@ export var EditorToolsSettings;
190
191
  * The object of the SplitCell tool settings.
191
192
  */
192
193
  EditorToolsSettings.splitCell = {
193
- props: __assign({ icon: 'cell-split-horizontally' }, buttonCommonProps),
194
+ props: __assign({ icon: 'cell-split-horizontally', svgIcon: cellSplitHorizontallyIcon }, buttonCommonProps),
194
195
  messages: {
195
196
  title: keys.splitCell
196
197
  },
@@ -200,7 +201,7 @@ export var EditorToolsSettings;
200
201
  * The object of the Print tool settings.
201
202
  */
202
203
  EditorToolsSettings.print = {
203
- props: __assign({ icon: 'print' }, buttonCommonProps),
204
+ props: __assign({ icon: 'print', svgIcon: printIcon }, buttonCommonProps),
204
205
  messages: {
205
206
  title: keys.print
206
207
  }
@@ -209,7 +210,7 @@ export var EditorToolsSettings;
209
210
  * The object of the Print tool settings.
210
211
  */
211
212
  EditorToolsSettings.selectAll = {
212
- props: __assign({ icon: 'select-all' }, buttonCommonProps),
213
+ props: __assign({ icon: 'select-all', svgIcon: selectAllIcon }, buttonCommonProps),
213
214
  messages: {
214
215
  title: keys.selectAll
215
216
  }
@@ -218,7 +219,7 @@ export var EditorToolsSettings;
218
219
  * The object of the Print tool settings.
219
220
  */
220
221
  EditorToolsSettings.pdf = {
221
- props: __assign({ icon: 'pdf' }, buttonCommonProps),
222
+ props: __assign({ icon: 'file-pdf', svgIcon: filePdfIcon }, buttonCommonProps),
222
223
  messages: {
223
224
  title: keys.pdf
224
225
  }
@@ -241,7 +242,7 @@ export var EditorToolsSettings;
241
242
  * The object of the CleanFormatting tool settings.
242
243
  */
243
244
  EditorToolsSettings.cleanFormatting = {
244
- props: __assign({ icon: 'clear-css' }, buttonCommonProps),
245
+ props: __assign({ icon: 'clear-css', svgIcon: clearCssIcon }, buttonCommonProps),
245
246
  messages: {
246
247
  title: keys.cleanFormatting
247
248
  },
@@ -252,7 +253,7 @@ export var EditorToolsSettings;
252
253
  */
253
254
  EditorToolsSettings.image = {
254
255
  node: 'image',
255
- props: __assign({ icon: 'image' }, buttonCommonProps),
256
+ props: __assign({ icon: 'image', svgIcon: imageIcon }, buttonCommonProps),
256
257
  messages: {
257
258
  insertImage: keys.insertImage,
258
259
  insertImageDialogTitle: keys.insertImageDialogTitle,
@@ -270,7 +271,7 @@ export var EditorToolsSettings;
270
271
  * The object of the ViewHtml tool settings.
271
272
  */
272
273
  EditorToolsSettings.viewHtml = {
273
- props: __assign({ icon: 'html' }, buttonCommonProps),
274
+ props: __assign({ icon: 'code', svgIcon: codeIcon }, buttonCommonProps),
274
275
  messages: {
275
276
  viewHtml: keys.viewHtml,
276
277
  viewHtmlDialogTitle: keys.viewHtmlDialogTitle,
@@ -283,7 +284,7 @@ export var EditorToolsSettings;
283
284
  * The object of the Find and Replace tool settings.
284
285
  */
285
286
  EditorToolsSettings.findAndReplace = {
286
- props: __assign({ icon: 'find' }, buttonCommonProps),
287
+ props: __assign({ icon: 'find', svgIcon: searchIcon }, buttonCommonProps),
287
288
  messages: {
288
289
  findReplaceToolTitle: keys.findReplaceToolTitle,
289
290
  findReplaceDialogTitle: keys.findReplaceDialogTitle,
@@ -305,14 +306,14 @@ export var EditorToolsSettings;
305
306
  /**
306
307
  * The object of the Unlink tool settings.
307
308
  */
308
- EditorToolsSettings.unlink = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'unlink-horizontal' }, buttonCommonProps), messages: {
309
+ EditorToolsSettings.unlink = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'unlink', svgIcon: unlinkIcon }, buttonCommonProps), messages: {
309
310
  title: keys.unlink
310
311
  }, commandName: 'Unlink' });
311
312
  /**
312
313
  * The object of the Undo tool settings.
313
314
  */
314
315
  EditorToolsSettings.undo = {
315
- props: __assign({ icon: 'undo' }, buttonCommonProps),
316
+ props: __assign({ icon: 'undo', svgIcon: undoIcon }, buttonCommonProps),
316
317
  messages: {
317
318
  title: keys.undo
318
319
  },
@@ -322,7 +323,7 @@ export var EditorToolsSettings;
322
323
  * The object of the Redo tool settings.
323
324
  */
324
325
  EditorToolsSettings.redo = {
325
- props: __assign({ icon: 'redo' }, buttonCommonProps),
326
+ props: __assign({ icon: 'redo', svgIcon: redoIcon }, buttonCommonProps),
326
327
  messages: {
327
328
  title: keys.redo
328
329
  },
@@ -396,6 +397,7 @@ export var EditorToolsSettings;
396
397
  style: 'color',
397
398
  colorPickerProps: {
398
399
  icon: 'foreground-color',
400
+ svgIcon: foregroundColorIcon,
399
401
  view: 'palette',
400
402
  title: keys.foregroundColor
401
403
  },
@@ -407,7 +409,8 @@ export var EditorToolsSettings;
407
409
  EditorToolsSettings.backColor = {
408
410
  style: 'background-color',
409
411
  colorPickerProps: {
410
- icon: 'background',
412
+ icon: 'droplet',
413
+ svgIcon: dropletIcon,
411
414
  view: 'palette',
412
415
  title: keys.backgroundColor
413
416
  },
@@ -418,7 +421,7 @@ export var EditorToolsSettings;
418
421
  */
419
422
  EditorToolsSettings.alignLeft = {
420
423
  actions: __spreadArray([], alignLeftRules, true),
421
- props: __assign({ icon: 'align-left' }, buttonCommonProps),
424
+ props: __assign({ icon: 'align-left', svgIcon: alignLeftIcon }, buttonCommonProps),
422
425
  messages: {
423
426
  title: keys.alignLeft
424
427
  },
@@ -429,7 +432,7 @@ export var EditorToolsSettings;
429
432
  */
430
433
  EditorToolsSettings.alignRight = {
431
434
  actions: __spreadArray([], alignRightRules, true),
432
- props: __assign({ icon: 'align-right' }, buttonCommonProps),
435
+ props: __assign({ icon: 'align-right', svgIcon: alignRightIcon }, buttonCommonProps),
433
436
  messages: {
434
437
  title: keys.alignRight
435
438
  },
@@ -440,7 +443,7 @@ export var EditorToolsSettings;
440
443
  */
441
444
  EditorToolsSettings.alignCenter = {
442
445
  actions: __spreadArray([], alignCenterRules, true),
443
- props: __assign({ icon: 'align-center' }, buttonCommonProps),
446
+ props: __assign({ icon: 'align-center', svgIcon: alignCenterIcon }, buttonCommonProps),
444
447
  messages: {
445
448
  title: keys.alignCenter
446
449
  },
@@ -451,7 +454,7 @@ export var EditorToolsSettings;
451
454
  */
452
455
  EditorToolsSettings.alignJustify = {
453
456
  actions: __spreadArray([], alignJustifyRules, true),
454
- props: __assign({ icon: 'align-justify' }, buttonCommonProps),
457
+ props: __assign({ icon: 'align-justify', svgIcon: alignJustifyIcon }, buttonCommonProps),
455
458
  messages: {
456
459
  title: keys.alignJustify
457
460
  },
@@ -462,7 +465,7 @@ export var EditorToolsSettings;
462
465
  */
463
466
  EditorToolsSettings.alignRemove = {
464
467
  actions: __spreadArray([], alignRemoveRules, true),
465
- props: __assign({ icon: 'align-remove' }, buttonCommonProps),
468
+ props: __assign({ icon: 'align-remove', svgIcon: alignRemoveIcon }, buttonCommonProps),
466
469
  messages: {},
467
470
  commandName: 'AlignRemove'
468
471
  };
@@ -472,7 +475,7 @@ export var EditorToolsSettings;
472
475
  EditorToolsSettings.indent = {
473
476
  actions: indentRules.nodes,
474
477
  listsTypes: listsTypes,
475
- props: __assign({ icon: 'indent-increase' }, buttonCommonProps),
478
+ props: __assign({ icon: 'indent', svgIcon: indentIcon }, buttonCommonProps),
476
479
  messages: {
477
480
  title: keys.indent
478
481
  },
@@ -484,7 +487,7 @@ export var EditorToolsSettings;
484
487
  EditorToolsSettings.outdent = {
485
488
  actions: outdentRules.nodes,
486
489
  listsTypes: listsTypes,
487
- props: __assign({ icon: 'indent-decrease' }, buttonCommonProps),
490
+ props: __assign({ icon: 'outdent', svgIcon: outdentIcon }, buttonCommonProps),
488
491
  messages: {
489
492
  title: keys.outdent
490
493
  },
@@ -495,7 +498,7 @@ export var EditorToolsSettings;
495
498
  */
496
499
  EditorToolsSettings.orderedList = {
497
500
  listType: listsTypes.orderedList,
498
- props: __assign({ icon: 'list-ordered' }, buttonCommonProps),
501
+ props: __assign({ icon: 'list-ordered', svgIcon: listOrderedIcon }, buttonCommonProps),
499
502
  messages: {
500
503
  title: keys.orderedList
501
504
  },
@@ -507,7 +510,7 @@ export var EditorToolsSettings;
507
510
  */
508
511
  EditorToolsSettings.bulletList = {
509
512
  listType: listsTypes.bulletList,
510
- props: __assign({ icon: 'list-unordered' }, buttonCommonProps),
513
+ props: __assign({ icon: 'list-unordered', svgIcon: listUnorderedIcon }, buttonCommonProps),
511
514
  messages: {
512
515
  title: keys.bulletList
513
516
  },
@@ -33,9 +33,10 @@ import { messages } from './../messages';
33
33
  import { EditorToolsSettings } from './../config/toolsSettings';
34
34
  import { formatString } from './../tools/utils';
35
35
  import { find, replace, replaceAll, findAll, TextSelection, textHighlightKey, selectedLineTextOnly } from '@progress/kendo-editor-common';
36
- import { Icon } from '@progress/kendo-react-common';
36
+ import { IconWrap } from '@progress/kendo-react-common';
37
37
  import { Input, Checkbox } from '@progress/kendo-react-inputs';
38
38
  import { Form, FormElement, FieldWrapper } from '@progress/kendo-react-form';
39
+ import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
39
40
  var enter = 13, esc = 27;
40
41
  var settings = EditorToolsSettings.findAndReplace;
41
42
  /**
@@ -210,12 +211,12 @@ var FindAndReplaceDialog = /** @class */ (function (_super) {
210
211
  React.createElement("label", { htmlFor: "regular-expression", className: "k-checkbox-label" }, localization.toLanguageString(findReplaceUseRegExp, messages[findReplaceUseRegExp])))));
211
212
  var navigation = (React.createElement("div", { className: "k-matches-container" },
212
213
  React.createElement(Button, { fillMode: 'flat', themeColor: 'primary', onClick: this.onFindPrev },
213
- React.createElement(Icon, { name: "chevron-left" }),
214
+ React.createElement(IconWrap, { name: "chevron-left", icon: chevronLeftIcon }),
214
215
  localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])),
215
216
  React.createElement("span", null, this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages[findReplaceMatches]))),
216
217
  React.createElement(Button, { fillMode: 'flat', themeColor: 'primary', onClick: this.onFindNext },
217
218
  localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]),
218
- React.createElement(Icon, { name: "chevron-right" }))));
219
+ React.createElement(IconWrap, { name: "chevron-right", icon: chevronRightIcon }))));
219
220
  var findWhat = (React.createElement(Form, { render: function () { return (React.createElement(FormElement, { horizontal: true },
220
221
  React.createElement(FieldWrapper, null,
221
222
  React.createElement("label", { htmlFor: "findWhat", className: 'k-form-label' }, localization.toLanguageString(findReplaceFindWhat, messages[findReplaceFindWhat])),
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-editor',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1673300890,
8
+ publishDate: 1673444941,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -76,5 +76,5 @@ export var ListTool = function (props) {
76
76
  items = items.map(function (item, index) { return (__assign(__assign({}, item), { selected: listStyleType_1 ? item.style === listStyleType_1 : index === 0 })); });
77
77
  }
78
78
  return (React.createElement("span", { onMouseDown: function (e) { e.preventDefault(); } },
79
- React.createElement(SplitButton, { textField: "text", items: items, icon: props.icon, onButtonClick: onButtonClick, onItemClick: onItemClick, buttonClass: isActive ? 'k-selected' : undefined, title: props.title !== undefined ? props.title : localization.toLanguageString(props.titleKey, messages[props.titleKey]) })));
79
+ React.createElement(SplitButton, { textField: "text", items: items, icon: props.icon, svgIcon: props.svgIcon, onButtonClick: onButtonClick, onItemClick: onItemClick, buttonClass: isActive ? 'k-selected' : undefined, title: props.title !== undefined ? props.title : localization.toLanguageString(props.titleKey, messages[props.titleKey]) })));
80
80
  };
@@ -47,6 +47,7 @@ import { SelectAll as SelectAllTool } from './selectAll';
47
47
  import { CleanFormatting as CleanFormattingTool } from './cleanFormatting';
48
48
  import { FindAndReplace as FindAndReplaceTool } from './findReplace';
49
49
  import { ListTool } from './lists-styled';
50
+ import { listLatinBigIcon, listLatinSmallIcon, listOrderedIcon, listRomanLowerIcon, listRomanUpperIcon, listUnorderedIcon, listUnorderedOutlineIcon, listUnorderedSquareIcon } from '@progress/kendo-svg-icons';
50
51
  /**
51
52
  * Represents a wrapping namespace for the tool components, props, and functions of the Editor.
52
53
  */
@@ -413,11 +414,11 @@ export var EditorTools;
413
414
  */
414
415
  EditorTools.BulletedList = function (props) {
415
416
  var ulItems = [
416
- { icon: 'list-unordered', text: 'Disc', style: 'disc' },
417
- { icon: 'list-unordered-outline', text: 'Circle', style: 'circle' },
418
- { icon: 'list-unordered-square', text: 'Square', style: 'square' }
417
+ { icon: 'list-unordered', svgIcon: listUnorderedIcon, text: 'Disc', style: 'disc' },
418
+ { icon: 'list-unordered-outline', svgIcon: listUnorderedOutlineIcon, text: 'Circle', style: 'circle' },
419
+ { icon: 'list-unordered-square', svgIcon: listUnorderedSquareIcon, text: 'Square', style: 'square' }
419
420
  ];
420
- return (React.createElement(ListTool, __assign({ listType: EditorToolsSettings.bulletList.listType, items: ulItems, icon: "list-unordered", titleKey: EditorToolsSettings.bulletList.messages.title }, props)));
421
+ return (React.createElement(ListTool, __assign({ listType: EditorToolsSettings.bulletList.listType, items: ulItems, icon: "list-unordered", svgIcon: listUnorderedIcon, titleKey: EditorToolsSettings.bulletList.messages.title }, props)));
421
422
  };
422
423
  /**
423
424
  * The NumberedList tool component.
@@ -425,14 +426,14 @@ export var EditorTools;
425
426
  */
426
427
  EditorTools.NumberedList = function (props) {
427
428
  var olItems = [
428
- { icon: 'list-ordered', text: 'Decimal' },
429
+ { icon: 'list-ordered', svgIcon: listOrderedIcon, text: 'Decimal' },
429
430
  // { icon: 'list-leading-zero', text: 'Decimal with leading zero', styleType: 'decimal-leading-zero' },
430
- { icon: 'list-roman-upper', text: 'Upper roman', style: 'upper-roman' },
431
- { icon: 'list-roman-lower', text: 'Lower roman', style: 'lower-roman' },
432
- { icon: 'list-latin-big', text: 'Upper latin', style: 'upper-latin' },
433
- { icon: 'list-latin-small', text: 'Lower latin', style: 'lower-latin' }
431
+ { icon: 'list-roman-upper', svgIcon: listRomanUpperIcon, text: 'Upper roman', style: 'upper-roman' },
432
+ { icon: 'list-roman-lower', svgIcon: listRomanLowerIcon, text: 'Lower roman', style: 'lower-roman' },
433
+ { icon: 'list-latin-big', svgIcon: listLatinBigIcon, text: 'Upper latin', style: 'upper-latin' },
434
+ { icon: 'list-latin-small', svgIcon: listLatinSmallIcon, text: 'Lower latin', style: 'lower-latin' }
434
435
  ];
435
- return (React.createElement(ListTool, __assign({ listType: EditorToolsSettings.orderedList.listType, items: olItems, icon: "list-ordered", titleKey: EditorToolsSettings.orderedList.messages.title }, props)));
436
+ return (React.createElement(ListTool, __assign({ listType: EditorToolsSettings.orderedList.listType, items: olItems, icon: "list-ordered", svgIcon: listOrderedIcon, titleKey: EditorToolsSettings.orderedList.messages.title }, props)));
436
437
  };
437
438
  /**
438
439
  * Creates the Outdent tool component of the Editor.