@ckeditor/ckeditor5-table 48.2.0 → 48.3.0-alpha.1

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.
Files changed (94) hide show
  1. package/dist/augmentation.d.ts +80 -80
  2. package/dist/commands/insertcolumncommand.d.ts +50 -50
  3. package/dist/commands/insertrowcommand.d.ts +49 -49
  4. package/dist/commands/inserttablecommand.d.ts +43 -43
  5. package/dist/commands/inserttablelayoutcommand.d.ts +34 -34
  6. package/dist/commands/mergecellcommand.d.ts +63 -63
  7. package/dist/commands/mergecellscommand.d.ts +24 -24
  8. package/dist/commands/removecolumncommand.d.ts +24 -24
  9. package/dist/commands/removerowcommand.d.ts +24 -24
  10. package/dist/commands/selectcolumncommand.d.ts +28 -28
  11. package/dist/commands/selectrowcommand.d.ts +28 -28
  12. package/dist/commands/setfooterrowcommand.d.ts +48 -48
  13. package/dist/commands/setheadercolumncommand.d.ts +45 -45
  14. package/dist/commands/setheaderrowcommand.d.ts +48 -48
  15. package/dist/commands/splitcellcommand.d.ts +38 -38
  16. package/dist/converters/downcast.d.ts +77 -77
  17. package/dist/converters/table-caption-post-fixer.d.ts +18 -18
  18. package/dist/converters/table-cell-paragraph-post-fixer.d.ts +30 -30
  19. package/dist/converters/table-cell-refresh-handler.d.ts +16 -16
  20. package/dist/converters/table-layout-post-fixer.d.ts +224 -224
  21. package/dist/converters/table-structure-post-fixer.d.ts +16 -16
  22. package/dist/converters/table-structure-refresh-handler.d.ts +15 -15
  23. package/dist/converters/tableproperties.d.ts +98 -98
  24. package/dist/converters/upcasttable.d.ts +47 -47
  25. package/dist/index.css.map +1 -1
  26. package/dist/index.d.ts +98 -98
  27. package/dist/index.js +12835 -14503
  28. package/dist/index.js.map +1 -1
  29. package/dist/plaintableoutput.d.ts +28 -28
  30. package/dist/table.d.ts +39 -39
  31. package/dist/tablecaption/tablecaptionediting.d.ts +62 -62
  32. package/dist/tablecaption/tablecaptionui.d.ts +18 -18
  33. package/dist/tablecaption/toggletablecaptioncommand.d.ts +61 -61
  34. package/dist/tablecaption/utils.d.ts +31 -31
  35. package/dist/tablecaption.d.ts +23 -23
  36. package/dist/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +27 -27
  37. package/dist/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +32 -32
  38. package/dist/tablecellproperties/commands/tablecellborderstylecommand.d.ts +32 -32
  39. package/dist/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +46 -46
  40. package/dist/tablecellproperties/commands/tablecellheightcommand.d.ts +41 -41
  41. package/dist/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +27 -27
  42. package/dist/tablecellproperties/commands/tablecellpaddingcommand.d.ts +46 -46
  43. package/dist/tablecellproperties/commands/tablecellpropertycommand.d.ts +79 -79
  44. package/dist/tablecellproperties/commands/tablecelltypecommand.d.ts +42 -42
  45. package/dist/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +35 -35
  46. package/dist/tablecellproperties/tablecellpropertiesediting.d.ts +49 -49
  47. package/dist/tablecellproperties/tablecellpropertiesui.d.ts +123 -123
  48. package/dist/tablecellproperties/tablecellpropertiesutils.d.ts +13 -13
  49. package/dist/tablecellproperties/ui/tablecellpropertiesview.d.ts +257 -257
  50. package/dist/tablecellproperties.d.ts +29 -29
  51. package/dist/tablecellwidth/commands/tablecellwidthcommand.d.ts +41 -41
  52. package/dist/tablecellwidth/tablecellwidthediting.d.ts +28 -28
  53. package/dist/tableclipboard.d.ts +79 -79
  54. package/dist/tablecolumnresize/constants.d.ts +23 -23
  55. package/dist/tablecolumnresize/converters.d.ts +20 -20
  56. package/dist/tablecolumnresize/tablecolumnresizeediting.d.ts +184 -184
  57. package/dist/tablecolumnresize/tablewidthscommand.d.ts +31 -31
  58. package/dist/tablecolumnresize/utils.d.ts +127 -127
  59. package/dist/tablecolumnresize.d.ts +25 -25
  60. package/dist/tableconfig.d.ts +670 -670
  61. package/dist/tableediting.d.ts +99 -99
  62. package/dist/tablekeyboard.d.ts +67 -67
  63. package/dist/tablelayout/commands/tabletypecommand.d.ts +38 -38
  64. package/dist/tablelayout/tablelayoutediting.d.ts +58 -58
  65. package/dist/tablelayout/tablelayoutui.d.ts +27 -27
  66. package/dist/tablelayout.d.ts +25 -25
  67. package/dist/tablemouse/mouseeventsobserver.d.ts +54 -54
  68. package/dist/tablemouse.d.ts +47 -47
  69. package/dist/tableproperties/commands/tablealignmentcommand.d.ts +27 -27
  70. package/dist/tableproperties/commands/tablebackgroundcolorcommand.d.ts +27 -27
  71. package/dist/tableproperties/commands/tablebordercolorcommand.d.ts +32 -32
  72. package/dist/tableproperties/commands/tableborderstylecommand.d.ts +32 -32
  73. package/dist/tableproperties/commands/tableborderwidthcommand.d.ts +46 -46
  74. package/dist/tableproperties/commands/tableheightcommand.d.ts +41 -41
  75. package/dist/tableproperties/commands/tablepropertycommand.d.ts +64 -64
  76. package/dist/tableproperties/commands/tablewidthcommand.d.ts +41 -41
  77. package/dist/tableproperties/tablepropertiesediting.d.ts +48 -48
  78. package/dist/tableproperties/tablepropertiesui.d.ts +131 -131
  79. package/dist/tableproperties/ui/tablepropertiesview.d.ts +207 -207
  80. package/dist/tableproperties.d.ts +29 -29
  81. package/dist/tableselection.d.ts +106 -106
  82. package/dist/tabletoolbar.d.ts +31 -31
  83. package/dist/tableui.d.ts +53 -53
  84. package/dist/tableutils.d.ts +532 -532
  85. package/dist/tablewalker.d.ts +342 -350
  86. package/dist/ui/colorinputview.d.ts +137 -137
  87. package/dist/ui/inserttableview.d.ts +78 -78
  88. package/dist/utils/common.d.ts +58 -58
  89. package/dist/utils/structure.d.ts +229 -229
  90. package/dist/utils/table-properties.d.ts +92 -92
  91. package/dist/utils/ui/contextualballoon.d.ts +28 -28
  92. package/dist/utils/ui/table-properties.d.ts +195 -192
  93. package/dist/utils/ui/widget.d.ts +22 -22
  94. package/package.json +9 -9
@@ -1,215 +1,218 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/utils/ui/table-properties
7
- */
8
- import { type ColorOption, type LabeledFieldView, type ListDropdownItemDefinition, type NormalizedColorOption, type ToolbarView, type View, type ColorPickerConfig } from '@ckeditor/ckeditor5-ui';
9
- import { Collection, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
10
- import { type TableCellPropertiesView } from '../../tablecellproperties/ui/tablecellpropertiesview.js';
11
- import { type TablePropertiesView } from '../../tableproperties/ui/tablepropertiesview.js';
12
- import { ColorInputView } from '../../ui/colorinputview.js';
6
+ * @module table/utils/ui/table-properties
7
+ */
8
+ import { type ColorOption, type LabeledFieldView, type ListDropdownItemDefinition, type NormalizedColorOption, type ToolbarView, type View, type ColorPickerConfig } from "@ckeditor/ckeditor5-ui";
9
+ import { Collection, type LocaleTranslate } from "@ckeditor/ckeditor5-utils";
10
+ import { type TableCellPropertiesView } from "../../tablecellproperties/ui/tablecellpropertiesview.js";
11
+ import { type TablePropertiesView } from "../../tableproperties/ui/tablepropertiesview.js";
12
+ import { ColorInputView } from "../../ui/colorinputview.js";
13
13
  /**
14
- * Returns an object containing pairs of CSS border style values and their localized UI
15
- * labels. Used by {@link module:table/tablecellproperties/ui/tablecellpropertiesview~TableCellPropertiesView}
16
- * and {@link module:table/tableproperties/ui/tablepropertiesview~TablePropertiesView}.
17
- *
18
- * @internal
19
- * @param t The "t" function provided by the editor that is used to localize strings.
20
- */
14
+ * Returns an object containing pairs of CSS border style values and their localized UI
15
+ * labels. Used by {@link module:table/tablecellproperties/ui/tablecellpropertiesview~TableCellPropertiesView}
16
+ * and {@link module:table/tableproperties/ui/tablepropertiesview~TablePropertiesView}.
17
+ *
18
+ * @internal
19
+ * @param t The "t" function provided by the editor that is used to localize strings.
20
+ */
21
21
  export declare function getBorderStyleLabels(t: LocaleTranslate): Record<string, string>;
22
22
  /**
23
- * Returns a localized error string that can be displayed next to color (background, border)
24
- * fields that have an invalid value.
25
- *
26
- * @internal
27
- * @param t The "t" function provided by the editor that is used to localize strings.
28
- */
23
+ * Returns a localized error string that can be displayed next to color (background, border)
24
+ * fields that have an invalid value.
25
+ *
26
+ * @internal
27
+ * @param t The "t" function provided by the editor that is used to localize strings.
28
+ */
29
29
  export declare function getLocalizedColorErrorText(t: LocaleTranslate): string;
30
30
  /**
31
- * Returns a localized error string that can be displayed next to length (padding, border width)
32
- * fields that have an invalid value.
33
- *
34
- * @internal
35
- * @param t The "t" function provided by the editor that is used to localize strings.
36
- */
31
+ * Returns a localized error string that can be displayed next to length (padding, border width)
32
+ * fields that have an invalid value.
33
+ *
34
+ * @internal
35
+ * @param t The "t" function provided by the editor that is used to localize strings.
36
+ */
37
37
  export declare function getLocalizedLengthErrorText(t: LocaleTranslate): string;
38
38
  /**
39
- * Returns `true` when the passed value is an empty string or a valid CSS color expression.
40
- * Otherwise, `false` is returned.
41
- *
42
- * See {@link module:engine/view/styles/utils~isColorStyleValue}.
43
- *
44
- * @internal
45
- */
39
+ * Returns `true` when the passed value is an empty string or a valid CSS color expression.
40
+ * Otherwise, `false` is returned.
41
+ *
42
+ * See {@link module:engine/view/styles/utils~isColorStyleValue}.
43
+ *
44
+ * @internal
45
+ */
46
46
  export declare function colorFieldValidator(value: string): boolean;
47
47
  /**
48
- * Returns `true` when the passed value is an empty string, a number without a unit or a valid CSS length expression.
49
- * Otherwise, `false` is returned.
50
- *
51
- * See {@link module:engine/view/styles/utils~isLengthStyleValue}.
52
- * See {@link module:engine/view/styles/utils~isPercentageStyleValue}.
53
- *
54
- * @internal
55
- */
48
+ * Returns `true` when the passed value is an empty string, a number without a unit or a valid CSS length expression.
49
+ * Otherwise, `false` is returned.
50
+ *
51
+ * See {@link module:engine/view/styles/utils~isLengthStyleValue}.
52
+ * See {@link module:engine/view/styles/utils~isPercentageStyleValue}.
53
+ *
54
+ * @internal
55
+ */
56
56
  export declare function lengthFieldValidator(value: string): boolean;
57
57
  /**
58
- * Returns `true` when the passed value is an empty string, a number without a unit or a valid CSS length expression.
59
- * Otherwise, `false` is returned.
60
- *
61
- * See {@link module:engine/view/styles/utils~isLengthStyleValue}.
62
- *
63
- * @internal
64
- */
58
+ * Returns `true` when the passed value is an empty string, a number without a unit or a valid CSS length expression.
59
+ * Otherwise, `false` is returned.
60
+ *
61
+ * See {@link module:engine/view/styles/utils~isLengthStyleValue}.
62
+ *
63
+ * @internal
64
+ */
65
65
  export declare function lineWidthFieldValidator(value: string): boolean;
66
66
  /**
67
- * Generates item definitions for a UI dropdown that allows changing the border style of a table or a table cell.
68
- *
69
- * @internal
70
- * @param defaultStyle The default border.
71
- */
67
+ * Generates item definitions for a UI dropdown that allows changing the border style of a table or a table cell.
68
+ *
69
+ * @internal
70
+ * @param defaultStyle The default border.
71
+ */
72
72
  export declare function getBorderStyleDefinitions(view: TableCellPropertiesView | TablePropertiesView, defaultStyle: string): Collection<ListDropdownItemDefinition>;
73
73
  /**
74
- * A helper that fills a toolbar with buttons that:
75
- *
76
- * * have some labels,
77
- * * have some icons,
78
- * * set a certain UI view property value upon execution.
79
- *
80
- * @internal
81
- * @param options Configuration options
82
- * @param options.view The view that has the observable property.
83
- * @param options.icons Object with button icons.
84
- * @param options.toolbar The toolbar to fill with buttons.
85
- * @param options.labels Object with button labels.
86
- * @param options.propertyName The name of the observable property in the view.
87
- * @param options.nameToValue A function that maps a button name to a value. By default names are the same as values.
88
- * @param options.defaultValue Default value for the property.
89
- */
90
- export declare function fillToolbar<TView extends View, TPropertyName extends keyof TView>(options: {
91
- view: TView;
92
- icons: Record<string, string>;
93
- toolbar: ToolbarView;
94
- labels: Record<number, string>;
95
- propertyName: TPropertyName;
96
- nameToValue?: (name: string) => string;
97
- defaultValue?: string;
74
+ * A helper that fills a toolbar with buttons that:
75
+ *
76
+ * * have some labels,
77
+ * * have some icons,
78
+ * * set a certain UI view property value upon execution.
79
+ *
80
+ * @internal
81
+ * @param options Configuration options
82
+ * @param options.view The view that has the observable property.
83
+ * @param options.icons Object with button icons.
84
+ * @param options.toolbar The toolbar to fill with buttons.
85
+ * @param options.labels Object with button labels.
86
+ * @param options.propertyName The name of the observable property in the view.
87
+ * @param options.nameToValue A function that maps a button name to a value. By default names are the same as values.
88
+ * @param options.defaultValue Default value for the property.
89
+ */
90
+ export declare function fillToolbar<
91
+ TView extends View,
92
+ TPropertyName extends keyof TView
93
+ >(options: {
94
+ view: TView;
95
+ icons: Record<string, string>;
96
+ toolbar: ToolbarView;
97
+ labels: Record<number, string>;
98
+ propertyName: TPropertyName;
99
+ nameToValue?: (name: string) => string;
100
+ defaultValue?: string;
98
101
  }): void;
99
102
  /**
100
- * A default color palette used by various user interfaces related to tables, for instance,
101
- * by {@link module:table/tablecellproperties/tablecellpropertiesui~TableCellPropertiesUI} or
102
- * {@link module:table/tableproperties/tablepropertiesui~TablePropertiesUI}.
103
- *
104
- * The color palette follows the {@link module:table/tableconfig~TableColorConfig table color configuration format}
105
- * and contains the following color definitions:
106
- *
107
- * ```ts
108
- * const defaultColors = [
109
- * {
110
- * color: 'hsl(0, 0%, 0%)',
111
- * label: 'Black'
112
- * },
113
- * {
114
- * color: 'hsl(0, 0%, 30%)',
115
- * label: 'Dim grey'
116
- * },
117
- * {
118
- * color: 'hsl(0, 0%, 60%)',
119
- * label: 'Grey'
120
- * },
121
- * {
122
- * color: 'hsl(0, 0%, 90%)',
123
- * label: 'Light grey'
124
- * },
125
- * {
126
- * color: 'hsl(0, 0%, 100%)',
127
- * label: 'White',
128
- * hasBorder: true
129
- * },
130
- * {
131
- * color: 'hsl(0, 75%, 60%)',
132
- * label: 'Red'
133
- * },
134
- * {
135
- * color: 'hsl(30, 75%, 60%)',
136
- * label: 'Orange'
137
- * },
138
- * {
139
- * color: 'hsl(60, 75%, 60%)',
140
- * label: 'Yellow'
141
- * },
142
- * {
143
- * color: 'hsl(90, 75%, 60%)',
144
- * label: 'Light green'
145
- * },
146
- * {
147
- * color: 'hsl(120, 75%, 60%)',
148
- * label: 'Green'
149
- * },
150
- * {
151
- * color: 'hsl(150, 75%, 60%)',
152
- * label: 'Aquamarine'
153
- * },
154
- * {
155
- * color: 'hsl(180, 75%, 60%)',
156
- * label: 'Turquoise'
157
- * },
158
- * {
159
- * color: 'hsl(210, 75%, 60%)',
160
- * label: 'Light blue'
161
- * },
162
- * {
163
- * color: 'hsl(240, 75%, 60%)',
164
- * label: 'Blue'
165
- * },
166
- * {
167
- * color: 'hsl(270, 75%, 60%)',
168
- * label: 'Purple'
169
- * }
170
- * ];
171
- * ```
172
- *
173
- * @internal
174
- */
103
+ * A default color palette used by various user interfaces related to tables, for instance,
104
+ * by {@link module:table/tablecellproperties/tablecellpropertiesui~TableCellPropertiesUI} or
105
+ * {@link module:table/tableproperties/tablepropertiesui~TablePropertiesUI}.
106
+ *
107
+ * The color palette follows the {@link module:table/tableconfig~TableColorConfig table color configuration format}
108
+ * and contains the following color definitions:
109
+ *
110
+ * ```ts
111
+ * const defaultColors = [
112
+ * {
113
+ * color: 'hsl(0, 0%, 0%)',
114
+ * label: 'Black'
115
+ * },
116
+ * {
117
+ * color: 'hsl(0, 0%, 30%)',
118
+ * label: 'Dim grey'
119
+ * },
120
+ * {
121
+ * color: 'hsl(0, 0%, 60%)',
122
+ * label: 'Grey'
123
+ * },
124
+ * {
125
+ * color: 'hsl(0, 0%, 90%)',
126
+ * label: 'Light grey'
127
+ * },
128
+ * {
129
+ * color: 'hsl(0, 0%, 100%)',
130
+ * label: 'White',
131
+ * hasBorder: true
132
+ * },
133
+ * {
134
+ * color: 'hsl(0, 75%, 60%)',
135
+ * label: 'Red'
136
+ * },
137
+ * {
138
+ * color: 'hsl(30, 75%, 60%)',
139
+ * label: 'Orange'
140
+ * },
141
+ * {
142
+ * color: 'hsl(60, 75%, 60%)',
143
+ * label: 'Yellow'
144
+ * },
145
+ * {
146
+ * color: 'hsl(90, 75%, 60%)',
147
+ * label: 'Light green'
148
+ * },
149
+ * {
150
+ * color: 'hsl(120, 75%, 60%)',
151
+ * label: 'Green'
152
+ * },
153
+ * {
154
+ * color: 'hsl(150, 75%, 60%)',
155
+ * label: 'Aquamarine'
156
+ * },
157
+ * {
158
+ * color: 'hsl(180, 75%, 60%)',
159
+ * label: 'Turquoise'
160
+ * },
161
+ * {
162
+ * color: 'hsl(210, 75%, 60%)',
163
+ * label: 'Light blue'
164
+ * },
165
+ * {
166
+ * color: 'hsl(240, 75%, 60%)',
167
+ * label: 'Blue'
168
+ * },
169
+ * {
170
+ * color: 'hsl(270, 75%, 60%)',
171
+ * label: 'Purple'
172
+ * }
173
+ * ];
174
+ * ```
175
+ *
176
+ * @internal
177
+ */
175
178
  export declare const defaultColors: Array<ColorOption>;
176
179
  /**
177
- * Returns a creator for a color input with a label.
178
- *
179
- * For given options, it returns a function that creates an instance of a
180
- * {@link module:table/ui/colorinputview~ColorInputView color input} logically related to
181
- * a {@link module:ui/labeledfield/labeledfieldview~LabeledFieldView labeled view} in the DOM.
182
- *
183
- * The helper does the following:
184
- *
185
- * * It sets the color input `id` and `ariaDescribedById` attributes.
186
- * * It binds the color input `isReadOnly` to the labeled view.
187
- * * It binds the color input `hasError` to the labeled view.
188
- * * It enables a logic that cleans up the error when the user starts typing in the color input.
189
- *
190
- * Usage:
191
- *
192
- * ```ts
193
- * const colorInputCreator = getLabeledColorInputCreator( {
194
- * colorConfig: [ ... ],
195
- * columns: 3,
196
- * } );
197
- *
198
- * const labeledInputView = new LabeledFieldView( locale, colorInputCreator );
199
- * console.log( labeledInputView.view ); // A color input instance.
200
- * ```
201
- *
202
- * @internal
203
- * @param options Color input options.
204
- * @param options.colorConfig The configuration of the color palette displayed in the input's dropdown.
205
- * @param options.columns The configuration of the number of columns the color palette consists of in the input's dropdown.
206
- * @param options.defaultColorValue If specified, the color input view will replace the "Remove color" button with
207
- * the "Restore default" button. Instead of clearing the input field, the default color value will be set.
208
- * @param options.colorPickerConfig The configuration of the color picker. You could disable it or define your output format.
209
- */
180
+ * Returns a creator for a color input with a label.
181
+ *
182
+ * For given options, it returns a function that creates an instance of a
183
+ * {@link module:table/ui/colorinputview~ColorInputView color input} logically related to
184
+ * a {@link module:ui/labeledfield/labeledfieldview~LabeledFieldView labeled view} in the DOM.
185
+ *
186
+ * The helper does the following:
187
+ *
188
+ * * It sets the color input `id` and `ariaDescribedById` attributes.
189
+ * * It binds the color input `isReadOnly` to the labeled view.
190
+ * * It binds the color input `hasError` to the labeled view.
191
+ * * It enables a logic that cleans up the error when the user starts typing in the color input.
192
+ *
193
+ * Usage:
194
+ *
195
+ * ```ts
196
+ * const colorInputCreator = getLabeledColorInputCreator( {
197
+ * colorConfig: [ ... ],
198
+ * columns: 3,
199
+ * } );
200
+ *
201
+ * const labeledInputView = new LabeledFieldView( locale, colorInputCreator );
202
+ * console.log( labeledInputView.view ); // A color input instance.
203
+ * ```
204
+ *
205
+ * @internal
206
+ * @param options Color input options.
207
+ * @param options.colorConfig The configuration of the color palette displayed in the input's dropdown.
208
+ * @param options.columns The configuration of the number of columns the color palette consists of in the input's dropdown.
209
+ * @param options.defaultColorValue If specified, the color input view will replace the "Remove color" button with
210
+ * the "Restore default" button. Instead of clearing the input field, the default color value will be set.
211
+ * @param options.colorPickerConfig The configuration of the color picker. You could disable it or define your output format.
212
+ */
210
213
  export declare function getLabeledColorInputCreator(options: {
211
- colorConfig: Array<NormalizedColorOption>;
212
- columns: number;
213
- defaultColorValue?: string;
214
- colorPickerConfig: false | ColorPickerConfig;
214
+ colorConfig: Array<NormalizedColorOption>;
215
+ columns: number;
216
+ defaultColorValue?: string;
217
+ colorPickerConfig: false | ColorPickerConfig;
215
218
  }): (labeledFieldView: LabeledFieldView, viewUid: string, statusUid: string) => ColorInputView;
@@ -1,32 +1,32 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module table/utils/ui/widget
7
- */
8
- import type { ViewDocumentSelection, ViewElement, ViewNode } from '@ckeditor/ckeditor5-engine';
6
+ * @module table/utils/ui/widget
7
+ */
8
+ import type { ViewDocumentSelection, ViewElement, ViewNode } from "@ckeditor/ckeditor5-engine";
9
9
  /**
10
- * Depending on the position of the selection either return the selected table or the table higher in the hierarchy.
11
- *
12
- * @internal
13
- */
10
+ * Depending on the position of the selection either return the selected table or the table higher in the hierarchy.
11
+ *
12
+ * @internal
13
+ */
14
14
  export declare function getSelectionAffectedTableWidget(selection: ViewDocumentSelection): ViewElement | null;
15
15
  /**
16
- * Returns a table widget editing view element if one is selected.
17
- *
18
- * @internal
19
- */
16
+ * Returns a table widget editing view element if one is selected.
17
+ *
18
+ * @internal
19
+ */
20
20
  export declare function getSelectedTableWidget(selection: ViewDocumentSelection): ViewElement | null;
21
21
  /**
22
- * Returns a table widget editing view element if one is among the selection's ancestors.
23
- *
24
- * @internal
25
- */
22
+ * Returns a table widget editing view element if one is among the selection's ancestors.
23
+ *
24
+ * @internal
25
+ */
26
26
  export declare function getTableWidgetAncestor(selection: ViewDocumentSelection): ViewElement | null;
27
27
  /**
28
- * Checks if a given view element is a table widget.
29
- *
30
- * @internal
31
- */
28
+ * Checks if a given view element is a table widget.
29
+ *
30
+ * @internal
31
+ */
32
32
  export declare function isTableWidget(viewNode: ViewNode): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-table",
3
- "version": "48.2.0",
3
+ "version": "48.3.0-alpha.1",
4
4
  "description": "Table feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,14 +26,14 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-clipboard": "48.2.0",
30
- "@ckeditor/ckeditor5-core": "48.2.0",
31
- "@ckeditor/ckeditor5-engine": "48.2.0",
32
- "@ckeditor/ckeditor5-icons": "48.2.0",
33
- "@ckeditor/ckeditor5-typing": "48.2.0",
34
- "@ckeditor/ckeditor5-ui": "48.2.0",
35
- "@ckeditor/ckeditor5-utils": "48.2.0",
36
- "@ckeditor/ckeditor5-widget": "48.2.0",
29
+ "@ckeditor/ckeditor5-clipboard": "48.3.0-alpha.1",
30
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.1",
31
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.1",
32
+ "@ckeditor/ckeditor5-icons": "48.3.0-alpha.1",
33
+ "@ckeditor/ckeditor5-typing": "48.3.0-alpha.1",
34
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.1",
35
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.1",
36
+ "@ckeditor/ckeditor5-widget": "48.3.0-alpha.1",
37
37
  "es-toolkit": "1.45.1"
38
38
  },
39
39
  "files": [