@ckeditor/ckeditor5-ckbox 48.3.1 → 48.4.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.
- package/dist/ckboximageedit.d.ts +0 -1
- package/dist/index-content.css +3 -0
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +26 -24
- package/dist/index-editor.css.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/ckboximageedit.d.ts
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
import { CKBoxImageEditEditing } from "./ckboximageedit/ckboximageeditediting.js";
|
|
10
10
|
import { CKBoxImageEditUI } from "./ckboximageedit/ckboximageeditui.js";
|
|
11
|
-
import "../theme/ckboximageedit.css";
|
|
12
11
|
/**
|
|
13
12
|
* The CKBox image edit feature.
|
|
14
13
|
*/
|
package/dist/index-content.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index-content.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-content.css.map */"]}
|
package/dist/index-editor.css
CHANGED
|
@@ -2,41 +2,43 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
:root{
|
|
6
|
-
--ck-image-processing-highlight-color
|
|
7
|
-
--ck-image-processing-background-color
|
|
5
|
+
:root {
|
|
6
|
+
--ck-image-processing-highlight-color: #f9fafa;
|
|
7
|
+
--ck-image-processing-background-color: #e3e5e8;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.ck.ck-editor__editable .image.image-processing{
|
|
11
|
-
position:relative;
|
|
10
|
+
.ck.ck-editor__editable .image.image-processing {
|
|
11
|
+
position: relative;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.ck.ck-editor__editable .image.image-processing:before{
|
|
15
|
-
content:"";
|
|
16
|
-
z-index:1;
|
|
17
|
-
background:linear-gradient(90deg,
|
|
14
|
+
.ck.ck-editor__editable .image.image-processing:before {
|
|
15
|
+
content: "";
|
|
16
|
+
z-index: 1;
|
|
17
|
+
background: linear-gradient(90deg,
|
|
18
18
|
var(--ck-image-processing-background-color),
|
|
19
19
|
var(--ck-image-processing-highlight-color),
|
|
20
20
|
var(--ck-image-processing-background-color));
|
|
21
|
-
background-size:200% 100%;
|
|
22
|
-
width:100%;
|
|
23
|
-
height:100%;
|
|
24
|
-
animation:2s linear infinite ck-image-processing-animation;
|
|
25
|
-
position:absolute;
|
|
26
|
-
top:0;
|
|
27
|
-
left:0;
|
|
21
|
+
background-size: 200% 100%;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
animation: 2s linear infinite ck-image-processing-animation;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.ck.ck-editor__editable .image.image-processing img{
|
|
31
|
-
height:100%;
|
|
30
|
+
.ck.ck-editor__editable .image.image-processing img {
|
|
31
|
+
height: 100%;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@keyframes ck-image-processing-animation{
|
|
35
|
-
0%{
|
|
36
|
-
background-position:200% 0;
|
|
34
|
+
@keyframes ck-image-processing-animation {
|
|
35
|
+
0% {
|
|
36
|
+
background-position: 200% 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
100%{
|
|
40
|
-
background-position
|
|
39
|
+
100% {
|
|
40
|
+
background-position: -200% 0;
|
|
41
41
|
}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C,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC;AAC5B,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACb,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC;AACd,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS;AAC7D,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;ADiBL,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA;ACfH;;AAEA,CAAC,EAAE,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;ADoBpD,CAAA,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA;AClBA;;AAEA,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;AACzC,CAAC,CAAC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;;AAEF,CAAC,CAAC,GAAG,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\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",":root {\n --ck-image-processing-highlight-color: #f9fafa;\n --ck-image-processing-background-color: #e3e5e8;\n}\n\n.ck.ck-editor__editable .image.image-processing {\n position: relative;\n}\n\n.ck.ck-editor__editable .image.image-processing:before {\n content: \"\";\n z-index: 1;\n background: linear-gradient(90deg,\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 background-size: 200% 100%;\n width: 100%;\n height: 100%;\n animation: 2s linear infinite ck-image-processing-animation;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.ck.ck-editor__editable .image.image-processing img {\n height: 100%;\n}\n\n@keyframes ck-image-processing-animation {\n 0% {\n background-position: 200% 0;\n }\n\n 100% {\n background-position: -200% 0;\n }\n}\n\n/*# sourceMappingURL=index-editor.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -20,4 +20,6 @@ export { getImageUrls as _getCKBoxImageUrls, getWorkspaceId as _getCKBoxWorkspac
|
|
|
20
20
|
export type { CKBoxAssetDefinition as _CKBoxAssetDefinition, CKBoxAssetImageDefinition as _CKBoxAssetImageDefinition, CKBoxAssetLinkDefinition as _CKBoxAssetLinkDefinition, CKBoxAssetImageAttributesDefinition as _CKBoxAssetImageAttributesDefinition, CKBoxAssetLinkAttributesDefinition as _CKBoxAssetLinkAttributesDefinition } from "./ckboxconfig.js";
|
|
21
21
|
export { createEditabilityChecker as _createCKBoxEditabilityChecker } from "./ckboximageedit/utils.js";
|
|
22
22
|
export { prepareImageAssetAttributes as _prepareCKBoxImageAssetAttributes } from "./ckboxcommand.js";
|
|
23
|
+
import "../theme/index-editor.css";
|
|
24
|
+
import "../theme/index-content.css";
|
|
23
25
|
import "./augmentation.js";
|