@ckeditor/ckeditor5-mention 48.2.0 → 48.3.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/augmentation.d.ts +21 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +16 -16
- package/dist/index.js +1030 -1149
- package/dist/index.js.map +1 -1
- package/dist/mention.d.ts +73 -73
- package/dist/mentioncommand.d.ts +72 -72
- package/dist/mentionconfig.d.ts +249 -249
- package/dist/mentionediting.d.ts +37 -37
- package/dist/mentionui.d.ts +101 -101
- package/dist/ui/domwrapperview.d.ts +36 -36
- package/dist/ui/mentionlistitemview.d.ts +11 -11
- package/dist/ui/mentionsview.d.ts +55 -55
- package/package.json +6 -6
package/dist/augmentation.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { MentionConfig, Mention, MentionEditing, MentionUI, MentionCommand } from
|
|
6
|
-
declare module
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
+
import type { MentionConfig, Mention, MentionEditing, MentionUI, MentionCommand } from "./index.js";
|
|
6
|
+
declare module "@ckeditor/ckeditor5-core" {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the {@link module:mention/mention~Mention} feature.
|
|
10
|
+
*
|
|
11
|
+
* Read more in {@link module:mention/mentionconfig~MentionConfig}.
|
|
12
|
+
*/
|
|
13
|
+
mention?: MentionConfig;
|
|
14
|
+
}
|
|
15
|
+
interface PluginsMap {
|
|
16
|
+
[Mention.pluginName]: Mention;
|
|
17
|
+
[MentionEditing.pluginName]: MentionEditing;
|
|
18
|
+
[MentionUI.pluginName]: MentionUI;
|
|
19
|
+
}
|
|
20
|
+
interface CommandsMap {
|
|
21
|
+
mention: MentionCommand;
|
|
22
|
+
}
|
|
23
23
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/
|
|
1
|
+
{"version":3,"sources":["../theme/mention.css","index.css","../theme/mentionui.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AAClD,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM;AAC1C;;ADOA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,OAAA,CAAA;ACJA,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;AACxD,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;AAC7C;;ACHA,CAAA,IAAA,CAAA;ADMA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK;AACrC;;ACHA,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA;ADMA,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC;AAC/C,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO;AAC9B,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI;AACvB;;ACIC,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,UAAA,CAAA;ADDD,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAChB,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM;AAClB;;ACKA,GAAA,CAAA,EAAA,CAAA,EAAA,CAAA,OAAA,CAAA,KAAA,CAAA,EAAA,CAAA,OAAA,CAAA,OAAA,CAAA;ADFA,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvC;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.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--ck-content-color-mention-background: hsla(341, 100%, 30%, 0.1);\n\t--ck-content-color-mention-text: hsl(341, 100%, 30%);\n}\n\n.ck-content .mention {\n\tbackground: var(--ck-content-color-mention-background);\n\tcolor: var(--ck-content-color-mention-text);\n}\n",":root {\n --ck-content-color-mention-background: #9900301a;\n --ck-content-color-mention-text: #990030;\n}\n\n.ck-content .mention {\n background: var(--ck-content-color-mention-background);\n color: var(--ck-content-color-mention-text);\n}\n\n:root {\n --ck-mention-list-max-height: 300px;\n}\n\n.ck.ck-mentions {\n max-height: var(--ck-mention-list-max-height);\n overscroll-behavior: contain;\n overflow: hidden auto;\n}\n\n.ck.ck-mentions > .ck-list__item {\n flex-shrink: 0;\n overflow: hidden;\n}\n\ndiv.ck.ck-balloon-panel.ck-mention-balloon {\n z-index: calc(var(--ck-z-dialog) + 1);\n}\n\n/*# sourceMappingURL=index.css.map */","/*\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--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\ndiv.ck.ck-balloon-panel.ck-mention-balloon {\n\tz-index: calc( var( --ck-z-dialog ) + 1 );\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
export { Mention, type MentionAttribute } from
|
|
9
|
-
export { MentionEditing } from
|
|
10
|
-
export { MentionUI } from
|
|
11
|
-
export { MentionsView } from
|
|
12
|
-
export { MentionListItemView } from
|
|
13
|
-
export { MentionDomWrapperView } from
|
|
14
|
-
export { MentionCommand } from
|
|
15
|
-
export type { MentionConfig, MentionFeed, MentionFeedItem, MentionItemRenderer, MentionFeedObjectItem, MentionFeedbackCallback } from
|
|
16
|
-
export { createRegExp as _createMentionMarkerRegExp } from
|
|
17
|
-
export { _addMentionAttributes
|
|
18
|
-
import
|
|
6
|
+
* @module mention
|
|
7
|
+
*/
|
|
8
|
+
export { Mention, type MentionAttribute } from "./mention.js";
|
|
9
|
+
export { MentionEditing } from "./mentionediting.js";
|
|
10
|
+
export { MentionUI } from "./mentionui.js";
|
|
11
|
+
export { MentionsView } from "./ui/mentionsview.js";
|
|
12
|
+
export { MentionListItemView } from "./ui/mentionlistitemview.js";
|
|
13
|
+
export { MentionDomWrapperView } from "./ui/domwrapperview.js";
|
|
14
|
+
export { MentionCommand } from "./mentioncommand.js";
|
|
15
|
+
export type { MentionConfig, MentionFeed, MentionFeedItem, MentionItemRenderer, MentionFeedObjectItem, MentionFeedbackCallback } from "./mentionconfig.js";
|
|
16
|
+
export { createRegExp as _createMentionMarkerRegExp } from "./mentionui.js";
|
|
17
|
+
export { _addMentionAttributes, _toMentionAttribute } from "./mentionediting.js";
|
|
18
|
+
import "./augmentation.js";
|