@topwrite/reader 1.0.57-alpha.0 → 1.0.58-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topwrite/reader",
3
- "version": "1.0.57-alpha.0+4dcbe4a",
3
+ "version": "1.0.58-alpha.0+f0a33e7",
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": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@topwrite/common": "^1.0.48",
21
+ "@topwrite/common": "^1.0.49-alpha.4+f0a33e7",
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": "4dcbe4ac21ccfa3204534c07949698950e5fb02f"
56
+ "gitHead": "f0a33e71df8258ba44d39cb688d9467035b4a406"
57
57
  }
@@ -4,5 +4,5 @@ interface ArticleProps extends Omit<ComponentProps<typeof Markdown>, 'children'
4
4
  className?: string;
5
5
  offset?: number;
6
6
  }
7
- export default function Article({ className, header, footer, offset, ...props }: ArticleProps): JSX.Element;
7
+ export default function Article({ className, header, footer, offset, aside, ...props }: ArticleProps): JSX.Element;
8
8
  export {};
@@ -24,6 +24,8 @@ declare module '@topwrite/common' {
24
24
  'page:menu:item': ComponentDescriptorType<MenuItemProps>;
25
25
  'page:article:before': ComponentDescriptorType;
26
26
  'page:article:after': ComponentDescriptorType;
27
+ 'page:article:aside:before': ComponentDescriptorType;
28
+ 'page:article:aside:after': ComponentDescriptorType;
27
29
  'page:article:markdown': ComponentDescriptorType<ComponentProps<typeof Markdown>>;
28
30
  'page:asset': ComponentDescriptorType;
29
31
  }