@haklex/rich-renderer-mention 0.26.5 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import { MentionRendererProps } from './MentionRenderer';
2
- export declare function MentionEditRenderer(props: MentionRendererProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function MentionEditRenderer(props: MentionRendererProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=MentionEditRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MentionEditRenderer.d.ts","sourceRoot":"","sources":["../src/MentionEditRenderer.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAM9D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,2CAQ9D"}
1
+ {"version":3,"file":"MentionEditRenderer.d.ts","sourceRoot":"","sources":["../src/MentionEditRenderer.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAM9D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,+BAQ9D"}
@@ -11,9 +11,9 @@ export interface MentionPlatformMeta {
11
11
  export declare function MentionPlatformProvider({ platforms, children, }: {
12
12
  platforms: Record<string, MentionPlatformMeta>;
13
13
  children: React.ReactNode;
14
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): import("react").JSX.Element;
15
15
  export declare function useExtraPlatforms(): Record<string, MentionPlatformMeta>;
16
16
  export declare const platformMetaMap: Record<string, MentionPlatformMeta>;
17
17
  export declare const platformKeys: string[];
18
- export declare function MentionRenderer({ platform, handle, displayName }: MentionRendererProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function MentionRenderer({ platform, handle, displayName }: MentionRendererProps): import("react").JSX.Element;
19
19
  //# sourceMappingURL=MentionRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MentionRenderer.d.ts","sourceRoot":"","sources":["../src/MentionRenderer.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAID,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAEA;AAED,wBAAgB,iBAAiB,wCAEhC;AAYD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAqB/D,CAAC;AAEF,eAAO,MAAM,YAAY,UAA+B,CAAC;AAEzD,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,2CAoCtF"}
1
+ {"version":3,"file":"MentionRenderer.d.ts","sourceRoot":"","sources":["../src/MentionRenderer.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAID,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,+BAEA;AAED,wBAAgB,iBAAiB,wCAEhC;AAYD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAqB/D,CAAC;AAEF,eAAO,MAAM,YAAY,UAA+B,CAAC;AAEzD,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,+BAoCtF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-renderer-mention",
3
- "version": "0.26.5",
3
+ "version": "0.27.0",
4
4
  "description": "Social mention renderer with platform badges",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@lexical/react": "^0.45.0",
32
- "@types/react": "^19.2.15",
32
+ "@types/react": "^19.2.17",
33
33
  "@types/react-dom": "^19.2.3",
34
34
  "@vanilla-extract/css": "^1.20.1",
35
35
  "@vanilla-extract/vite-plugin": "^5.2.2",
@@ -37,8 +37,8 @@
37
37
  "react": "19.2.6",
38
38
  "react-dom": "19.2.6",
39
39
  "typescript": "^5.9.3",
40
- "unplugin-dts": "^1.0.1",
41
- "vite": "^8.0.14"
40
+ "unplugin-dts": "^1.0.2",
41
+ "vite": "^8.0.16"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@lexical/react": "^0.45.0",
@@ -46,9 +46,9 @@
46
46
  "lucide-react": "^1.0.0",
47
47
  "react": ">=19",
48
48
  "react-dom": ">=19",
49
- "@haklex/rich-editor": "^0.26.5",
50
- "@haklex/rich-editor-ui": "^0.26.5",
51
- "@haklex/rich-style-token": "^0.26.5"
49
+ "@haklex/rich-editor-ui": "^0.27.0",
50
+ "@haklex/rich-editor": "^0.27.0",
51
+ "@haklex/rich-style-token": "^0.27.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"