@etrepum/lexical-emoji-plan 0.0.15-nightly.20240607.0 → 0.0.16

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
@@ -43,6 +37,5 @@ declare module "@etrepum/lexical-builder" {
43
37
  * representation of that emoji is used and then the emojiLoadedClass is
44
38
  * added.
45
39
  */
46
- export declare const EmojiPlan: import('@etrepum/lexical-builder').LexicalPlan<EmojiPlanConfig, "@etrepum/lexical-builder/emoji-plan">;
47
- export {};
40
+ export declare const EmojiPlan: import('@etrepum/lexical-builder').LexicalPlan<EmojiPlanConfig, "@etrepum/lexical-builder/emoji-plan", unknown>;
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,wGAmEpB,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-B9eWE3Uz.js";
1
+ import { f as r, $ as n } from "./index-DZRAI8t4.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-nightly.20240607.0/dist/emoji",
37
+ emojiBaseUrl: "https://cdn.jsdelivr.net/npm/@etrepum/lexical-emoji-plan@0.0.16/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-Boeb1NlH.js").then(({ $textNodeTransform: l }) => {
75
+ return import("./_textNodeTransform-C_MaDIIi.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-B9eWE3Uz.js";
1
+ import { E as a, f as e, t as f, u as m } from "./index-DZRAI8t4.js";
2
2
  export {
3
3
  a as EmojiPlan,
4
4
  e as findEmoji,
package/package.json CHANGED
@@ -10,12 +10,12 @@
10
10
  "plan"
11
11
  ],
12
12
  "scripts": {
13
- "build": "vite build",
13
+ "build": "tsc --noEmit && vite build",
14
14
  "dev": "vite",
15
15
  "test": "vitest run",
16
16
  "test:watch": "vitest"
17
17
  },
18
- "version": "0.0.15-nightly.20240607.0",
18
+ "version": "0.0.16",
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",