@ckeditor/ckeditor5-ckbox 41.2.0 → 41.3.0-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/content-index.css +4 -0
- package/dist/editor-index.css +31 -0
- package/dist/index.css +55 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +1713 -0
- package/dist/index.js.map +1 -0
- package/dist/types/augmentation.d.ts +32 -0
- package/dist/types/ckbox.d.ts +33 -0
- package/dist/types/ckboxcommand.d.ts +114 -0
- package/dist/types/ckboxconfig.d.ts +325 -0
- package/dist/types/ckboxediting.d.ts +54 -0
- package/dist/types/ckboximageedit/ckboximageeditcommand.d.ts +97 -0
- package/dist/types/ckboximageedit/ckboximageeditediting.d.ts +28 -0
- package/dist/types/ckboximageedit/ckboximageeditui.d.ts +24 -0
- package/dist/types/ckboximageedit/utils.d.ts +10 -0
- package/dist/types/ckboximageedit.d.ts +24 -0
- package/dist/types/ckboxui.d.ts +21 -0
- package/dist/types/ckboxuploadadapter.d.ts +33 -0
- package/dist/types/ckboxutils.d.ts +50 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/utils.d.ts +63 -0
- package/package.json +3 -2
@@ -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,CAAA,CAAA,EAAA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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 */"]}
|