@rspress-theme-anatole/theme-default 0.6.1-alpha → 0.6.1-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.
Files changed (2) hide show
  1. package/dist/bundle.js +2 -2
  2. package/package.json +3 -3
package/dist/bundle.js CHANGED
@@ -41,7 +41,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__theme_assets_jump_20d3ca88__ from "@theme
41
41
  import * as __WEBPACK_EXTERNAL_MODULE__theme_assets_title_56a7311e__ from "@theme-assets/title";
42
42
  import * as __WEBPACK_EXTERNAL_MODULE__theme_assets_github_cac38251__ from "@theme-assets/github";
43
43
  import * as __WEBPACK_EXTERNAL_MODULE__theme_assets_gitlab_a0e4f082__ from "@theme-assets/gitlab";
44
- import * as __WEBPACK_EXTERNAL_MODULE_html2pdf_js_65368f2c__ from "html2pdf.js";
44
+ import html2pdf from "html2pdf.js";
45
45
 
46
46
  function isMobileDevice() {
47
47
  return window.innerWidth < 1280;
@@ -5544,7 +5544,7 @@ async function exportContentToPDF() {
5544
5544
  };
5545
5545
 
5546
5546
  // 生成 PDF 并在完成后移除提示
5547
- __WEBPACK_EXTERNAL_MODULE_html2pdf_js_65368f2c__.html2pdf().set(opt).from(element).save().then(() => {
5547
+ html2pdf().set(opt).from(element).save().then(() => {
5548
5548
  document.body.removeChild(tip);
5549
5549
  }).catch(() => {
5550
5550
  document.body.removeChild(tip);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/theme-default",
3
3
  "author": "Anatole Tong",
4
- "version": "0.6.1-alpha",
4
+ "version": "0.6.1-alpha.0",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
7
7
  "*.css",
@@ -21,8 +21,8 @@
21
21
  "types": "./dist/bundle.d.ts",
22
22
  "dependencies": {
23
23
  "@mdx-js/react": "2.3.0",
24
- "@rspress-theme-anatole/rspress-plugin-mermaid": "0.6.1-alpha",
25
- "@rspress-theme-anatole/shared": "0.6.1-alpha",
24
+ "@rspress-theme-anatole/rspress-plugin-mermaid": "0.6.1-alpha.0",
25
+ "@rspress-theme-anatole/shared": "0.6.1-alpha.0",
26
26
  "@rspress/runtime": "1.43.8",
27
27
  "body-scroll-lock": "4.0.0-beta.0",
28
28
  "copy-to-clipboard": "^3.3.3",