@topwrite/reader 1.0.17-alpha.5 → 1.0.17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topwrite/reader",
3
- "version": "1.0.17-alpha.5+56253fa",
3
+ "version": "1.0.17",
4
4
  "author": "yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)",
5
5
  "license": "ISC",
6
6
  "types": "types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "prepack": "yarn run build"
19
19
  },
20
20
  "dependencies": {
21
- "@topwrite/common": "^1.0.15",
21
+ "@topwrite/common": "^1.0.16",
22
22
  "@types/lodash": "^4.14.168",
23
23
  "@types/node": "^16.4.13",
24
24
  "@types/react": "^17.0.4",
@@ -52,5 +52,5 @@
52
52
  "optional": true
53
53
  }
54
54
  },
55
- "gitHead": "56253fab0594603abe99c93ff7943ac2c8f28677"
55
+ "gitHead": "0c5297f10ca46f61c3f1e2920c1367d5653e063f"
56
56
  }
@@ -0,0 +1,2 @@
1
+ import { AnchorHTMLAttributes } from 'react';
2
+ export default function A(props: AnchorHTMLAttributes<HTMLAnchorElement>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { AttachmentHTMLAttributes } from 'react';
2
+ export default function Attachment({ src, ...props }: AttachmentHTMLAttributes<HTMLAttachmentElement>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { AudioHTMLAttributes } from 'react';
2
+ export default function Audio({ src, ...props }: AudioHTMLAttributes<HTMLAudioElement>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ImgHTMLAttributes } from 'react';
2
+ export default function Img({ src, ...props }: ImgHTMLAttributes<HTMLImageElement>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { VideoHTMLAttributes } from 'react';
2
+ export default function Video({ src, ...props }: VideoHTMLAttributes<HTMLVideoElement>): JSX.Element;
@@ -0,0 +1 @@
1
+ export default function useLfs(src?: string): string | undefined;
@@ -1,3 +0,0 @@
1
- import { ImgHTMLAttributes } from 'react';
2
- declare const Image: ({ src, ...props }: ImgHTMLAttributes<HTMLImageElement>) => JSX.Element;
3
- export default Image;