@etrepum/lexical-emoji-plan 0.0.6-nightly.20240603.0 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/EmojiPlan.d.ts +2 -2
- package/dist/EmojiPlan.d.ts.map +1 -1
- package/dist/{_textNodeTransform-j38HEW_v.js → _textNodeTransform-BAD5onWS.js} +1 -1
- package/dist/{index-B958hzez.js → index-CP-Gd0vj.js} +7 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/__tests__/findEmoji.test.d.ts +0 -9
- package/dist/__tests__/findEmoji.test.d.ts.map +0 -1
- package/dist/__tests__/unifiedID.test.d.ts +0 -9
- package/dist/__tests__/unifiedID.test.d.ts.map +0 -1
package/dist/EmojiPlan.d.ts
CHANGED
@@ -11,9 +11,9 @@ export interface EmojiPlanConfig {
|
|
11
11
|
emojiClass: string;
|
12
12
|
emojiLoadedClass: string;
|
13
13
|
}
|
14
|
-
declare module
|
14
|
+
declare module "@etrepum/lexical-builder" {
|
15
15
|
interface LexicalPlanRegistry {
|
16
|
-
[NAME]:
|
16
|
+
[NAME]: typeof EmojiPlan;
|
17
17
|
}
|
18
18
|
}
|
19
19
|
export declare const EmojiPlan: import('@etrepum/lexical-builder').LexicalPlan<EmojiPlanConfig, "@etrepum/lexical-builder/emoji-plan">;
|
package/dist/EmojiPlan.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmojiPlan.d.ts","sourceRoot":"","sources":["../src/EmojiPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,QAAA,MAAM,IAAI,wCAAwC,CAAC;AACnD,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,mBAAmB;QAC3B,CAAC,IAAI,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"EmojiPlan.d.ts","sourceRoot":"","sources":["../src/EmojiPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,QAAA,MAAM,IAAI,wCAAwC,CAAC;AACnD,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,mBAAmB;QAC3B,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,CAAC;KAC1B;CACF;AAED,eAAO,MAAM,SAAS,wGA8CpB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { definePlan as p, safeCast as u } from "@etrepum/lexical-builder";
|
2
|
-
import { mergeRegister as
|
2
|
+
import { mergeRegister as j } from "@lexical/utils";
|
3
3
|
import { TextNode as d } from "lexical";
|
4
4
|
class r extends d {
|
5
5
|
static getType() {
|
@@ -9,7 +9,7 @@ class r extends d {
|
|
9
9
|
return new r(e.__text, e.__key);
|
10
10
|
}
|
11
11
|
static importJSON(e) {
|
12
|
-
return
|
12
|
+
return g(e.text);
|
13
13
|
}
|
14
14
|
exportJSON() {
|
15
15
|
return {
|
@@ -18,7 +18,7 @@ class r extends d {
|
|
18
18
|
};
|
19
19
|
}
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function g(t) {
|
22
22
|
return new r(t).setMode("token");
|
23
23
|
}
|
24
24
|
function f(t) {
|
@@ -29,7 +29,7 @@ function f(t) {
|
|
29
29
|
}
|
30
30
|
const x = "@etrepum/lexical-builder/emoji-plan", L = p({
|
31
31
|
config: u({
|
32
|
-
emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.
|
32
|
+
emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.7/dist/emoji",
|
33
33
|
emojiClass: "emoji-node",
|
34
34
|
emojiLoadedClass: "emoji-node-loaded"
|
35
35
|
}),
|
@@ -52,8 +52,8 @@ const x = "@etrepum/lexical-builder/emoji-plan", L = p({
|
|
52
52
|
}
|
53
53
|
}
|
54
54
|
});
|
55
|
-
return import("./_textNodeTransform-
|
56
|
-
s.signal.aborted || (n =
|
55
|
+
return import("./_textNodeTransform-BAD5onWS.js").then(({ $textNodeTransform: i }) => {
|
56
|
+
s.signal.aborted || (n = j(
|
57
57
|
n,
|
58
58
|
t.registerNodeTransform(d, i)
|
59
59
|
));
|
@@ -61,6 +61,6 @@ const x = "@etrepum/lexical-builder/emoji-plan", L = p({
|
|
61
61
|
}
|
62
62
|
});
|
63
63
|
export {
|
64
|
-
|
64
|
+
g as $,
|
65
65
|
L as E
|
66
66
|
};
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"findEmoji.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/findEmoji.test.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"unifiedID.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/unifiedID.test.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|