@topwrite/reader 1.0.26 → 1.0.28-alpha.2
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/types/components/asset.d.ts +1 -0
- package/types/components/breadcrumb.d.ts +1 -0
- package/types/components/logo.d.ts +1 -0
- package/types/components/main.d.ts +1 -0
- package/types/components/page.d.ts +1 -0
- package/types/components/powered-by.d.ts +1 -0
- package/types/lib/use-css.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topwrite/reader",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28-alpha.2+79680e0",
|
|
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.
|
|
21
|
+
"@topwrite/common": "^1.0.25-alpha.2+79680e0",
|
|
22
22
|
"@types/lodash": "^4.14.168",
|
|
23
23
|
"@types/node": "^16.4.13",
|
|
24
24
|
"@types/react": "^17.0.4",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"optional": true
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "79680e0a1f40f3eeb05b8a14e3ae0213f29b32a2"
|
|
57
57
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { File } from '@topwrite/common';
|
|
3
|
+
export declare const CssContext: import("react").Context<string | undefined>;
|
|
4
|
+
interface Props {
|
|
5
|
+
readonly children: ReactNode;
|
|
6
|
+
file: File;
|
|
7
|
+
}
|
|
8
|
+
export declare function CssProvider({ children, file }: Props): JSX.Element | null;
|
|
9
|
+
export default function useCss(): string | undefined;
|
|
10
|
+
export {};
|