@etrepum/lexical-emoji-plan 0.0.15 → 0.0.17-nightly.20240610.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,6 @@
6
6
  *
7
7
  */
8
8
  export declare const PACKAGE_VERSION: string;
9
- declare const NAME = "@etrepum/lexical-builder/emoji-plan";
10
9
  export interface EmojiPlanConfig {
11
10
  /**
12
11
  * The base URL to find the emoji PNG files, originally from the 64x64 set in emoji-datasource-facebook.
@@ -24,11 +23,6 @@ export interface EmojiPlanConfig {
24
23
  */
25
24
  emojiLoadedClass: string;
26
25
  }
27
- declare module "@etrepum/lexical-builder" {
28
- interface LexicalPlanRegistry {
29
- [NAME]: typeof EmojiPlan;
30
- }
31
- }
32
26
  /**
33
27
  * A plan to use the emoji-datasource-facebook emoji database to convert
34
28
  * short names such as :man-facepalming: or :) to their corresponding
@@ -44,5 +38,4 @@ declare module "@etrepum/lexical-builder" {
44
38
  * added.
45
39
  */
46
40
  export declare const EmojiPlan: import('@etrepum/lexical-builder').LexicalPlan<EmojiPlanConfig, "@etrepum/lexical-builder/emoji-plan", unknown>;
47
- export {};
48
41
  //# sourceMappingURL=EmojiPlan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPlan.d.ts","sourceRoot":"","sources":["../src/EmojiPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,eAAO,MAAM,eAAe,EAAE,MAAwC,CAAC;AAEvE,QAAA,MAAM,IAAI,wCAAwC,CAAC;AACnD,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,mBAAmB;QAC3B,CAAC,IAAI,CAAC,EAAE,OAAO,SAAS,CAAC;KAC1B;CACF;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,iHAmEpB,CAAC"}
1
+ {"version":3,"file":"EmojiPlan.d.ts","sourceRoot":"","sources":["../src/EmojiPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,eAAO,MAAM,eAAe,EAAE,MAAwC,CAAC;AAGvE,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,iHAmEpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { f as r, $ as n } from "./index-DT4Fk8Vq.js";
1
+ import { f as r, $ as n } from "./index-nblFMObP.js";
2
2
  function l(e) {
3
3
  if (!e.isSimpleText() || e.hasFormat("code"))
4
4
  return;
@@ -34,7 +34,7 @@ function b(a) {
34
34
  }
35
35
  const w = "@etrepum/lexical-builder/emoji-plan", q = h({
36
36
  config: p({
37
- emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.15/dist/emoji",
37
+ emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.17-nightly.20240610.0/dist/emoji",
38
38
  emojiClass: "emoji-node",
39
39
  emojiLoadedClass: "emoji-node-loaded"
40
40
  }),
@@ -72,7 +72,7 @@ const w = "@etrepum/lexical-builder/emoji-plan", q = h({
72
72
  e.clear();
73
73
  }
74
74
  );
75
- return import("./_textNodeTransform-Ckc-0y-A.js").then(({ $textNodeTransform: l }) => {
75
+ return import("./_textNodeTransform-D2aV7t8f.js").then(({ $textNodeTransform: l }) => {
76
76
  r.signal.aborted || (o = m(
77
77
  o,
78
78
  a.registerNodeTransform(f, l)
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as a, f as e, t as f, u as m } from "./index-DT4Fk8Vq.js";
1
+ import { E as a, f as e, t as f, u as m } from "./index-nblFMObP.js";
2
2
  export {
3
3
  a as EmojiPlan,
4
4
  e as findEmoji,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "test": "vitest run",
16
16
  "test:watch": "vitest"
17
17
  },
18
- "version": "0.0.15",
18
+ "version": "0.0.17-nightly.20240610.0",
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",