@ckeditor/ckeditor5-mention 41.2.0 → 41.3.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,17 @@
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-mention-list-max-height: 300px;
7
+ }
8
+ .ck.ck-mentions {
9
+ max-height: var(--ck-mention-list-max-height);
10
+ overflow-y: auto;
11
+ overflow-x: hidden;
12
+ overscroll-behavior: contain;
13
+ }
14
+ .ck.ck-mentions > .ck-list__item {
15
+ overflow: hidden;
16
+ flex-shrink: 0;
17
+ }
package/dist/index.css ADDED
@@ -0,0 +1,34 @@
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
+ --ck-mention-list-max-height: 300px;
12
+ }
13
+
14
+ .ck.ck-mentions {
15
+ max-height: var(--ck-mention-list-max-height);
16
+
17
+ overflow-y: auto;
18
+
19
+ /* Prevent unnecessary horizontal scrollbar in Safari
20
+ https://github.com/ckeditor/ckeditor5-mention/issues/41 */
21
+ overflow-x: hidden;
22
+
23
+ overscroll-behavior: contain;
24
+
25
+ /* Prevent unnecessary vertical scrollbar in Safari
26
+ https://github.com/ckeditor/ckeditor5-mention/issues/41 */
27
+ }
28
+
29
+ .ck.ck-mentions > .ck-list__item {
30
+ overflow: hidden;
31
+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QAAA,CAAA,CAAA,CAAA,CAAA,MAAkB,CAAA;ACCnB;AACA,CDAC,UAAA,CAAA,QAAA,CAAA,CAAA,OAA4B,CAAA;ACC7B;AACA,CDAC,CAAA,CAAA,CAAA,OAAA,CAAA,WAAA,CAAA,QAAA,CAAA,SAAA,CAAA,EAAA,CAAA,MAAA;ACCD,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CDAC,CAAA;AAK1D,CAAA;ACHA;ADDC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,UAAA,CAAA,CAAA;ACGD,CAAC,CDFC,QAAA,CAAA,CAAA,MAAgB,CAAA;ACGlB,CAAC,CDFC,IAAA,CAAA,MAAA,CAAA,CAAA,CAAc,CAAA;ACGhB,CDFC,CAAA;ACGD;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--ck-mention-list-max-height: 300px;\n}\n\n.ck.ck-mentions {\n\tmax-height: var(--ck-mention-list-max-height);\n\n\toverflow-y: auto;\n\n\t/* Prevent unnecessary horizontal scrollbar in Safari\n\thttps://github.com/ckeditor/ckeditor5-mention/issues/41 */\n\toverflow-x: hidden;\n\n\toverscroll-behavior: contain;\n\n\t/* Prevent unnecessary vertical scrollbar in Safari\n\thttps://github.com/ckeditor/ckeditor5-mention/issues/41 */\n\t& > .ck-list__item {\n\t\toverflow: hidden;\n\t\tflex-shrink: 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--ck-mention-list-max-height: 300px;\n}\n\n.ck.ck-mentions {\n\tmax-height: var(--ck-mention-list-max-height);\n\n\toverflow-y: auto;\n\n\t/* Prevent unnecessary horizontal scrollbar in Safari\n\thttps://github.com/ckeditor/ckeditor5-mention/issues/41 */\n\toverflow-x: hidden;\n\n\toverscroll-behavior: contain;\n\n\t/* Prevent unnecessary vertical scrollbar in Safari\n\thttps://github.com/ckeditor/ckeditor5-mention/issues/41 */\n}\n\n.ck.ck-mentions > .ck-list__item {\n\t\toverflow: hidden;\n\t\tflex-shrink: 0;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}