@ckeditor/ckeditor5-uploadcare 48.2.0-alpha.7 → 48.3.0-alpha.0

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 (173) hide show
  1. package/dist/augmentation.d.ts +28 -28
  2. package/dist/index.d.ts +16 -16
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/dist/ui/uploadcarecontroller.d.ts +20 -22
  151. package/dist/ui/uploadcareformview.d.ts +18 -18
  152. package/dist/uploadcare.d.ts +41 -41
  153. package/dist/uploadcarecommand.d.ts +33 -33
  154. package/dist/uploadcareconfig.d.ts +246 -246
  155. package/dist/uploadcareediting.d.ts +55 -55
  156. package/dist/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +75 -74
  157. package/dist/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +20 -20
  158. package/dist/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +20 -20
  159. package/dist/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +19 -19
  160. package/dist/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +27 -27
  161. package/dist/uploadcareimageedit/uploadcareimageeditcommand.d.ts +44 -44
  162. package/dist/uploadcareimageedit/uploadcareimageeditediting.d.ts +34 -34
  163. package/dist/uploadcareimageedit/uploadcareimageeditui.d.ts +40 -40
  164. package/dist/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +18 -18
  165. package/dist/uploadcareimageedit.d.ts +27 -27
  166. package/dist/uploadcareui.d.ts +36 -36
  167. package/dist/uploadcareuploadadapter.d.ts +35 -35
  168. package/dist/utils/common-translations.d.ts +0 -4
  169. package/dist/utils/dialogfocusmanagerview.d.ts +24 -24
  170. package/dist/utils/editingutils.d.ts +0 -4
  171. package/dist/utils/isancestor.d.ts +5 -5
  172. package/dist/utils/uploadutils.d.ts +0 -4
  173. package/package.json +8 -8
@@ -1,47 +1,47 @@
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 uploadcare/uploadcareimageedit/uploadcareimageeditui
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import '@uploadcare/file-uploader/web/uc-cloud-image-editor.layered.min.css';
11
- import '../../theme/uploadcare-theme.css';
6
+ * @module uploadcare/uploadcareimageedit/uploadcareimageeditui
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from "@ckeditor/ckeditor5-core";
10
+ import "@uploadcare/file-uploader/web/uc-cloud-image-editor.layered.min.css";
11
+ import "../../theme/uploadcare-theme.css";
12
12
  /**
13
- * The UI plugin of the Uploadcare image edit feature.
14
- *
15
- * It registers the `'uploadcareImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
16
- * that allows you to open the Uploadcare dialog and edit the image.
17
- */
13
+ * The UI plugin of the Uploadcare image edit feature.
14
+ *
15
+ * It registers the `'uploadcareImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
16
+ * that allows you to open the Uploadcare dialog and edit the image.
17
+ */
18
18
  export declare class UploadcareImageEditUI extends Plugin {
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "UploadcareImageEditUI";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * The cache of image URLs that had been uploaded to Uploadcare.
33
- */
34
- get imageCache(): UploadcareImageCache;
35
- /**
36
- * @inheritDoc
37
- */
38
- init(): void;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "UploadcareImageEditUI";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static override get isPremiumPlugin(): true;
31
+ /**
32
+ * The cache of image URLs that had been uploaded to Uploadcare.
33
+ */
34
+ get imageCache(): UploadcareImageCache;
35
+ /**
36
+ * @inheritDoc
37
+ */
38
+ init(): void;
39
39
  }
40
40
  export type UploadcareImageCache = Map<string, {
41
- id: string;
42
- url: string;
43
- dimension: {
44
- width: number;
45
- height: number;
46
- };
41
+ id: string;
42
+ url: string;
43
+ dimension: {
44
+ width: number;
45
+ height: number;
46
+ };
47
47
  }>;
@@ -1,23 +1,23 @@
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 uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
7
- */
8
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
7
+ */
8
+ import { Command } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The Uploadcare replace image command.
11
- *
12
- * It replaces given image element attributes.
13
- */
10
+ * The Uploadcare replace image command.
11
+ *
12
+ * It replaces given image element attributes.
13
+ */
14
14
  export declare class UploadcareImageReplaceCommand extends Command {
15
- /**
16
- * @inheritDoc
17
- */
18
- refresh(): void;
19
- /**
20
- * @inheritDoc
21
- */
22
- execute(attributes: Record<string, string | number | any>): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ override refresh(): void;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ override execute(attributes: Record<string, string | number | any>): void;
23
23
  }
@@ -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 uploadcare/uploadcareimageedit
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
11
- import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
6
+ * @module uploadcare/uploadcareimageedit
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { UploadcareImageEditEditing } from "./uploadcareimageedit/uploadcareimageeditediting.js";
11
+ import { UploadcareImageEditUI } from "./uploadcareimageedit/uploadcareimageeditui.js";
12
12
  /**
13
- * The Uploadcare image edit feature.
14
- */
13
+ * The Uploadcare image edit feature.
14
+ */
15
15
  export declare class UploadcareImageEdit extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "UploadcareImageEdit";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get requires(): readonly [typeof UploadcareImageEditEditing, typeof UploadcareImageEditUI];
24
- /**
25
- * @inheritDoc
26
- */
27
- static get isOfficialPlugin(): true;
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isPremiumPlugin(): true;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "UploadcareImageEdit";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): PluginDependenciesOf<[UploadcareImageEditEditing, UploadcareImageEditUI]>;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static override get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isPremiumPlugin(): true;
32
32
  }
@@ -1,41 +1,41 @@
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 uploadcare/uploadcareui
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import '@uploadcare/file-uploader/web/uc-file-uploader-inline.layered.min.css';
11
- import '../theme/uploadcare-theme.css';
12
- import '../theme/uploadcareimageedit.css';
6
+ * @module uploadcare/uploadcareui
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from "@ckeditor/ckeditor5-core";
10
+ import "@uploadcare/file-uploader/web/uc-file-uploader-inline.layered.min.css";
11
+ import "../theme/uploadcare-theme.css";
12
+ import "../theme/uploadcareimageedit.css";
13
13
  /**
14
- * The UI plugin of the Uploadcare image manager.
15
- */
14
+ * The UI plugin of the Uploadcare image manager.
15
+ */
16
16
  export declare class UploadcareUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "UploadcareUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isPremiumPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- init(): void;
33
- /**
34
- * @inheritDoc
35
- */
36
- afterInit(): void;
37
- /**
38
- * @inheritDoc
39
- */
40
- destroy(): void;
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "UploadcareUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isOfficialPlugin(): true;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static override get isPremiumPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ init(): void;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ afterInit(): void;
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ override destroy(): void;
41
41
  }
@@ -1,40 +1,40 @@
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 uploadcare/uploadcareuploadadapter
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { FileRepository } from '@ckeditor/ckeditor5-upload';
11
- import { UploadcareEditing } from './uploadcareediting.js';
12
- import { ImageUploadEditing, ImageUploadProgress } from '@ckeditor/ckeditor5-image';
6
+ * @module uploadcare/uploadcareuploadadapter
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { FileRepository } from "@ckeditor/ckeditor5-upload";
11
+ import { UploadcareEditing } from "./uploadcareediting.js";
12
+ import { ImageUploadEditing, ImageUploadProgress } from "@ckeditor/ckeditor5-image";
13
13
  /**
14
- * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
15
- *
16
- * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
17
- * other ways to upload images into CKEditor 5.
18
- */
14
+ * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
15
+ *
16
+ * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
17
+ * other ways to upload images into CKEditor 5.
18
+ */
19
19
  export declare class UploadcareUploadAdapter extends Plugin {
20
- /**
21
- * @inheritDoc
22
- */
23
- static get requires(): readonly [typeof ImageUploadEditing, typeof ImageUploadProgress, typeof FileRepository, typeof UploadcareEditing];
24
- /**
25
- * @inheritDoc
26
- */
27
- static get pluginName(): "UploadcareUploadAdapter";
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isOfficialPlugin(): true;
32
- /**
33
- * @inheritDoc
34
- */
35
- static get isPremiumPlugin(): true;
36
- /**
37
- * @inheritDoc
38
- */
39
- afterInit(): Promise<void>;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): PluginDependenciesOf<[ImageUploadEditing, ImageUploadProgress, FileRepository, UploadcareEditing]>;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get pluginName(): "UploadcareUploadAdapter";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isOfficialPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static override get isPremiumPlugin(): true;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ afterInit(): Promise<void>;
40
40
  }
@@ -1,5 +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
- */
5
1
  export {};
@@ -1,29 +1,29 @@
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 uploadcare/utils/dialogfocusmanagerview
7
- */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
9
- import { View, type TemplateDefinition } from '@ckeditor/ckeditor5-ui';
10
- import '../../theme/uploadcare-form.css';
6
+ * @module uploadcare/utils/dialogfocusmanagerview
7
+ */
8
+ import { type Locale } from "@ckeditor/ckeditor5-utils";
9
+ import { View, type TemplateDefinition } from "@ckeditor/ckeditor5-ui";
10
+ import "../../theme/uploadcare-form.css";
11
11
  /**
12
- * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
13
- * for adding a focusable element to the template that redirects the focus back to the dialog.
14
- *
15
- * Uploadcare provides web components and iframes that can disrupt the focus flow in the dialog,
16
- * especially during keyboard navigation, which can result in users losing the ability to cycle through
17
- * dialog elements.
18
- */
12
+ * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
13
+ * for adding a focusable element to the template that redirects the focus back to the dialog.
14
+ *
15
+ * Uploadcare provides web components and iframes that can disrupt the focus flow in the dialog,
16
+ * especially during keyboard navigation, which can result in users losing the ability to cycle through
17
+ * dialog elements.
18
+ */
19
19
  export declare abstract class DialogFocusManagerView extends View {
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(locale: Locale);
24
- /**
25
- * Returns a focusable element that should be added to the template where needed.
26
- * This element helps with focus management within the dialog.
27
- */
28
- getFocusableElement(): TemplateDefinition;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ constructor(locale: Locale);
24
+ /**
25
+ * Returns a focusable element that should be added to the template where needed.
26
+ * This element helps with focus management within the dialog.
27
+ */
28
+ getFocusableElement(): TemplateDefinition;
29
29
  }
@@ -1,5 +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
- */
5
1
  export {};
@@ -1,8 +1,8 @@
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
- * Checks if specified wrapper element is one of the ancestors of event target element.
7
- */
6
+ * Checks if specified wrapper element is one of the ancestors of event target element.
7
+ */
8
8
  export declare function isAncestor(evt: KeyboardEvent, wrapper: HTMLElement): boolean;
@@ -1,5 +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
- */
5
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "48.2.0-alpha.7",
3
+ "version": "48.3.0-alpha.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -37,13 +37,13 @@
37
37
  "dist/translations/*.umd.js"
38
38
  ],
39
39
  "dependencies": {
40
- "@ckeditor/ckeditor5-core": "48.2.0-alpha.7",
41
- "@ckeditor/ckeditor5-engine": "48.2.0-alpha.7",
42
- "@ckeditor/ckeditor5-icons": "48.2.0-alpha.7",
43
- "@ckeditor/ckeditor5-image": "48.2.0-alpha.7",
44
- "@ckeditor/ckeditor5-ui": "48.2.0-alpha.7",
45
- "@ckeditor/ckeditor5-upload": "48.2.0-alpha.7",
46
- "@ckeditor/ckeditor5-utils": "48.2.0-alpha.7",
40
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
41
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
42
+ "@ckeditor/ckeditor5-icons": "48.3.0-alpha.0",
43
+ "@ckeditor/ckeditor5-image": "48.3.0-alpha.0",
44
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.0",
45
+ "@ckeditor/ckeditor5-upload": "48.3.0-alpha.0",
46
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.0",
47
47
  "@uploadcare/file-uploader": "1.29.0",
48
48
  "@uploadcare/upload-client": "6.14.3"
49
49
  },