@etrepum/lexical-emoji-plan 0.0.28-nightly.20240708.0 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"supportedEmojis.data.d.ts","sourceRoot":"","sources":["../src/supportedEmojis.data.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,QAYf,CAAC"}
1
+ {"version":3,"file":"supportedEmojis.data.d.ts","sourceRoot":"","sources":["../src/supportedEmojis.data.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,QAYf,CAAC"}
@@ -6,7 +6,7 @@
6
6
  * assert(textFromUnifiedId("1F926-200D-2642-FE0F") === "🤦‍♂️");
7
7
  * ```
8
8
  *
9
- * @param unifiedID The hyphen delimited hex representation of the UTF-16 code points in the emoji
9
+ * @param unifiedID - The hyphen delimited hex representation of the UTF-16 code points in the emoji
10
10
  * @returns The emoji as a string
11
11
  */
12
12
  export declare function textFromUnifiedID(unifiedID: string): string;
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "test": "vitest run",
17
17
  "test:watch": "vitest"
18
18
  },
19
- "version": "0.0.28-nightly.20240708.0",
19
+ "version": "0.0.28",
20
20
  "license": "MIT",
21
21
  "repository": {
22
22
  "type": "git",
@@ -1,20 +0,0 @@
1
- import { f as r, $ as n } from "./index-BdmWwqde.js";
2
- function l(e) {
3
- if (!e.isSimpleText() || e.hasFormat("code"))
4
- return;
5
- const i = e.getTextContent(), t = r(i);
6
- if (t === null)
7
- return;
8
- let o;
9
- t.position === 0 ? [o] = e.splitText(
10
- t.position + t.shortcode.length
11
- ) : [, o] = e.splitText(
12
- t.position,
13
- t.position + t.shortcode.length
14
- );
15
- const s = n(t.emoji);
16
- o.replace(s);
17
- }
18
- export {
19
- l as $textNodeTransform
20
- };