@ckeditor/ckeditor5-ckbox 41.3.0 → 41.4.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. package/dist/index-content.css +4 -0
  2. package/dist/index-editor.css +31 -0
  3. package/dist/index.css +55 -0
  4. package/dist/index.css.map +1 -0
  5. package/dist/index.js +1545 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +5 -0
  9. package/dist/translations/az.d.ts +8 -0
  10. package/dist/translations/az.js +5 -0
  11. package/dist/translations/bg.d.ts +8 -0
  12. package/dist/translations/bg.js +5 -0
  13. package/dist/translations/bn.d.ts +8 -0
  14. package/dist/translations/bn.js +5 -0
  15. package/dist/translations/ca.d.ts +8 -0
  16. package/dist/translations/ca.js +5 -0
  17. package/dist/translations/cs.d.ts +8 -0
  18. package/dist/translations/cs.js +5 -0
  19. package/dist/translations/da.d.ts +8 -0
  20. package/dist/translations/da.js +5 -0
  21. package/dist/translations/de.d.ts +8 -0
  22. package/dist/translations/de.js +5 -0
  23. package/dist/translations/el.d.ts +8 -0
  24. package/dist/translations/el.js +5 -0
  25. package/dist/translations/en-au.d.ts +8 -0
  26. package/dist/translations/en-au.js +5 -0
  27. package/dist/translations/en.d.ts +8 -0
  28. package/dist/translations/en.js +5 -0
  29. package/dist/translations/es-co.d.ts +8 -0
  30. package/dist/translations/es-co.js +5 -0
  31. package/dist/translations/es.d.ts +8 -0
  32. package/dist/translations/es.js +5 -0
  33. package/dist/translations/et.d.ts +8 -0
  34. package/dist/translations/et.js +5 -0
  35. package/dist/translations/fa.d.ts +8 -0
  36. package/dist/translations/fa.js +5 -0
  37. package/dist/translations/fi.d.ts +8 -0
  38. package/dist/translations/fi.js +5 -0
  39. package/dist/translations/fr.d.ts +8 -0
  40. package/dist/translations/fr.js +5 -0
  41. package/dist/translations/gl.d.ts +8 -0
  42. package/dist/translations/gl.js +5 -0
  43. package/dist/translations/he.d.ts +8 -0
  44. package/dist/translations/he.js +5 -0
  45. package/dist/translations/hi.d.ts +8 -0
  46. package/dist/translations/hi.js +5 -0
  47. package/dist/translations/hr.d.ts +8 -0
  48. package/dist/translations/hr.js +5 -0
  49. package/dist/translations/hu.d.ts +8 -0
  50. package/dist/translations/hu.js +5 -0
  51. package/dist/translations/id.d.ts +8 -0
  52. package/dist/translations/id.js +5 -0
  53. package/dist/translations/it.d.ts +8 -0
  54. package/dist/translations/it.js +5 -0
  55. package/dist/translations/ja.d.ts +8 -0
  56. package/dist/translations/ja.js +5 -0
  57. package/dist/translations/ko.d.ts +8 -0
  58. package/dist/translations/ko.js +5 -0
  59. package/dist/translations/lt.d.ts +8 -0
  60. package/dist/translations/lt.js +5 -0
  61. package/dist/translations/lv.d.ts +8 -0
  62. package/dist/translations/lv.js +5 -0
  63. package/dist/translations/ms.d.ts +8 -0
  64. package/dist/translations/ms.js +5 -0
  65. package/dist/translations/nl.d.ts +8 -0
  66. package/dist/translations/nl.js +5 -0
  67. package/dist/translations/no.d.ts +8 -0
  68. package/dist/translations/no.js +5 -0
  69. package/dist/translations/pl.d.ts +8 -0
  70. package/dist/translations/pl.js +5 -0
  71. package/dist/translations/pt-br.d.ts +8 -0
  72. package/dist/translations/pt-br.js +5 -0
  73. package/dist/translations/pt.d.ts +8 -0
  74. package/dist/translations/pt.js +5 -0
  75. package/dist/translations/ro.d.ts +8 -0
  76. package/dist/translations/ro.js +5 -0
  77. package/dist/translations/ru.d.ts +8 -0
  78. package/dist/translations/ru.js +5 -0
  79. package/dist/translations/sk.d.ts +8 -0
  80. package/dist/translations/sk.js +5 -0
  81. package/dist/translations/sq.d.ts +8 -0
  82. package/dist/translations/sq.js +5 -0
  83. package/dist/translations/sr-latn.d.ts +8 -0
  84. package/dist/translations/sr-latn.js +5 -0
  85. package/dist/translations/sr.d.ts +8 -0
  86. package/dist/translations/sr.js +5 -0
  87. package/dist/translations/sv.d.ts +8 -0
  88. package/dist/translations/sv.js +5 -0
  89. package/dist/translations/th.d.ts +8 -0
  90. package/dist/translations/th.js +5 -0
  91. package/dist/translations/tr.d.ts +8 -0
  92. package/dist/translations/tr.js +5 -0
  93. package/dist/translations/ug.d.ts +8 -0
  94. package/dist/translations/ug.js +5 -0
  95. package/dist/translations/uk.d.ts +8 -0
  96. package/dist/translations/uk.js +5 -0
  97. package/dist/translations/ur.d.ts +8 -0
  98. package/dist/translations/ur.js +5 -0
  99. package/dist/translations/uz.d.ts +8 -0
  100. package/dist/translations/uz.js +5 -0
  101. package/dist/translations/vi.d.ts +8 -0
  102. package/dist/translations/vi.js +5 -0
  103. package/dist/translations/zh-cn.d.ts +8 -0
  104. package/dist/translations/zh-cn.js +5 -0
  105. package/dist/translations/zh.d.ts +8 -0
  106. package/dist/translations/zh.js +5 -0
  107. package/dist/types/augmentation.d.ts +36 -0
  108. package/dist/types/ckbox.d.ts +37 -0
  109. package/dist/types/ckboxcommand.d.ts +118 -0
  110. package/dist/types/ckboxconfig.d.ts +329 -0
  111. package/dist/types/ckboxediting.d.ts +58 -0
  112. package/dist/types/ckboximageedit/ckboximageeditcommand.d.ts +101 -0
  113. package/dist/types/ckboximageedit/ckboximageeditediting.d.ts +32 -0
  114. package/dist/types/ckboximageedit/ckboximageeditui.d.ts +28 -0
  115. package/dist/types/ckboximageedit/utils.d.ts +14 -0
  116. package/dist/types/ckboximageedit.d.ts +28 -0
  117. package/dist/types/ckboxui.d.ts +29 -0
  118. package/dist/types/ckboxuploadadapter.d.ts +37 -0
  119. package/dist/types/ckboxutils.d.ts +54 -0
  120. package/dist/types/index.d.ts +21 -0
  121. package/dist/types/utils.d.ts +67 -0
  122. package/package.json +3 -2
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ :root {
6
+ --ck-image-processing-highlight-color: hsl(220, 10%, 98%);
7
+ --ck-image-processing-background-color: hsl(220, 10%, 90%);
8
+ }
9
+ .ck.ck-editor__editable .image.image-processing {
10
+ position: relative;
11
+ }
12
+ .ck.ck-editor__editable .image.image-processing:before {
13
+ content: '';
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ z-index: 1;
18
+ height: 100%;
19
+ width: 100%;
20
+ background: linear-gradient(
21
+ 90deg,
22
+ var(--ck-image-processing-background-color),
23
+ var(--ck-image-processing-highlight-color),
24
+ var(--ck-image-processing-background-color)
25
+ );
26
+ background-size: 200% 100%;
27
+ animation: ck-image-processing-animation 2s linear infinite;
28
+ }
29
+ .ck.ck-editor__editable .image.image-processing img {
30
+ height: 100%;
31
+ }
package/dist/index.css ADDED
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /*
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ :root {
11
+ /* Based on default CKBox theme colors */
12
+ --ck-image-processing-highlight-color: hsl(220, 10%, 98%);
13
+ --ck-image-processing-background-color: hsl(220, 10%, 90%);
14
+ }
15
+
16
+ .ck.ck-editor__editable .image.image-processing {
17
+ position: relative;
18
+ }
19
+
20
+ .ck.ck-editor__editable .image.image-processing:before {
21
+ content: '';
22
+
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ z-index: 1;
27
+
28
+ height: 100%;
29
+ width: 100%;
30
+
31
+ background: linear-gradient(
32
+ 90deg,
33
+ var(--ck-image-processing-background-color),
34
+ var(--ck-image-processing-highlight-color),
35
+ var(--ck-image-processing-background-color)
36
+ );
37
+ background-size: 200% 100%;
38
+
39
+ animation: ck-image-processing-animation 2s linear infinite;
40
+ }
41
+
42
+ .ck.ck-editor__editable .image.image-processing img {
43
+ height: 100%;
44
+ }
45
+
46
+ @keyframes ck-image-processing-animation {
47
+ 0% {
48
+ background-position: 200% 0;
49
+ }
50
+ 100% {
51
+ background-position: -200% 0;
52
+ }
53
+ }
54
+
55
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../theme/ckboximageedit.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC5E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO;AACnF,CAAC,CDAC,CAAA;ACCF;ADCA,CAAA,IAAA,CAAA,CAAA;ACCA,CDAC,CAAA,CAAA,CAAA,KAAA,CAAA,EAAA,CAAA,OAAA,CAAA,KAAA,CAAA,KAAA,CAAA,MAAA,CAAA,CAAwC,CAAA;ACCzC,CDAC,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,UAAA,CAAA,SAAA,CAAA,KAAA,CAAA,CAAA,GAAA,CAAA,GAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAyD,CAAA;ACC1D,CDAC,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,UAAA,CAAA,UAAA,CAAA,KAAA,CAAA,CAAA,GAAA,CAAA,GAAA,CAA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,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC;AAChD,CAAC,CAAC,CAAC,CAAC,CDCC,CAAA;ACAL,CAAC,CAAC,CAAC,CDCC,UAAA,CAAA,IAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GAAA,CAA0B,CAAA;ACA9B;AACA,CAAC,CAAC,CAAC,CDCC,SAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,UAAA,CAAA,SAAA,CAAA,EAAA,CAAA,MAAA,CAAA,QAA2D,CAAA;ACA/D,CAAC,CAAC,CDCC,CAAA;ACAH;ADEG,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,KAAA,CAAA,KAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA;ACAH,CAAC,CAAC,CAAC,CDCC,MAAA,CAAA,CAAA,GAAA,CAAY,CAAA;ACAhB,CAAC,CAAC,CDCC,CAAA;ACAH;ADKA,CAAA,SAAA,CAAA,EAAA,CAAA,KAAA,CAAA,UAAA,CAAA,SAAA,CAAA,CAAA;ACHA,CDIC,CAAA,CAAA,CAAA,CAAA;ACHD,CAAC,CDIC,UAAA,CAAA,QAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAA2B,CAAA;ACH7B,CDIC,CAAA;ACHD,CDIC,GAAA,CAAA,CAAA,CAAA;ACHD,CAAC,CDIC,UAAA,CAAA,QAAA,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAA4B,CAAA;ACH9B,CDIC,CAAA;AACD,CAAA;ACHA;AACA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable .image.image-processing {\n\t\t\tposition: relative;\n\t\t}\n\n.ck.ck-editor__editable .image.image-processing:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n.ck.ck-editor__editable .image.image-processing img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n\n/*# sourceMappingURL=index.css.map */"]}