@etrepum/lexical-emoji-plan 0.0.5 → 0.0.6-nightly.20240603.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { $ as i } from "./index-DgoyRltj.js";
1
+ import { $ as i } from "./index-B958hzez.js";
2
2
  const _ = `🀄 mahjong
3
3
  🃏 black_joker
4
4
  🅰️ a
@@ -1,5 +1,5 @@
1
1
  import { definePlan as p, safeCast as u } from "@etrepum/lexical-builder";
2
- import { mergeRegister as j } from "@lexical/utils";
2
+ import { mergeRegister as g } 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 g(e.text);
12
+ return j(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 g(t) {
21
+ function j(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.5/dist/emoji",
32
+ emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.6-nightly.20240603.0/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-BK8SL6Gn.js").then(({ $textNodeTransform: i }) => {
56
- s.signal.aborted || (n = j(
55
+ return import("./_textNodeTransform-j38HEW_v.js").then(({ $textNodeTransform: i }) => {
56
+ s.signal.aborted || (n = g(
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
- g as $,
64
+ j as $,
65
65
  L as E
66
66
  };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as m } from "./index-DgoyRltj.js";
1
+ import { E as m } from "./index-B958hzez.js";
2
2
  export {
3
3
  m as EmojiPlan
4
4
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "test": "vitest run",
16
16
  "test:watch": "vitest"
17
17
  },
18
- "version": "0.0.5",
18
+ "version": "0.0.6-nightly.20240603.0",
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",