@alauda/doom 0.12.1 → 0.13.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 (71) hide show
  1. package/lib/cli/export-pdf-core/generatePdf.d.ts +19 -0
  2. package/lib/cli/export-pdf-core/generatePdf.js +81 -0
  3. package/lib/cli/export-pdf-core/index.d.ts +3 -0
  4. package/lib/cli/export-pdf-core/index.js +3 -0
  5. package/lib/cli/export-pdf-core/types.d.ts +15 -0
  6. package/lib/cli/export-pdf-core/types.js +1 -0
  7. package/lib/cli/export-pdf-core/utils/convertPathToPosix.d.ts +8 -0
  8. package/lib/cli/export-pdf-core/utils/convertPathToPosix.js +26 -0
  9. package/lib/cli/export-pdf-core/utils/filterRoute.d.ts +8 -0
  10. package/lib/cli/export-pdf-core/utils/filterRoute.js +11 -0
  11. package/lib/cli/export-pdf-core/utils/getUrlLink.d.ts +4 -0
  12. package/lib/cli/export-pdf-core/utils/getUrlLink.js +7 -0
  13. package/lib/cli/export-pdf-core/utils/index.d.ts +3 -0
  14. package/lib/cli/export-pdf-core/utils/index.js +3 -0
  15. package/lib/cli/export-pdf-core/utils/mergePDF.d.ts +27 -0
  16. package/lib/cli/export-pdf-core/utils/mergePDF.js +140 -0
  17. package/lib/cli/export-pdf-core/utils/timeTransformer.d.ts +8 -0
  18. package/lib/cli/export-pdf-core/utils/timeTransformer.js +22 -0
  19. package/lib/cli/export.d.ts +0 -2
  20. package/lib/cli/export.js +87 -19
  21. package/lib/cli/html-export-pdf/core/index.d.ts +3 -0
  22. package/lib/cli/html-export-pdf/core/index.js +3 -0
  23. package/lib/cli/html-export-pdf/core/outline.d.ts +47 -0
  24. package/lib/cli/html-export-pdf/core/outline.js +216 -0
  25. package/lib/cli/html-export-pdf/core/postprocesser.d.ts +14 -0
  26. package/lib/cli/html-export-pdf/core/postprocesser.js +38 -0
  27. package/lib/cli/html-export-pdf/core/printer.d.ts +61 -0
  28. package/lib/cli/html-export-pdf/core/printer.js +235 -0
  29. package/lib/cli/html-export-pdf/index.d.ts +2 -0
  30. package/lib/cli/html-export-pdf/index.js +2 -0
  31. package/lib/cli/html-export-pdf/utils/cliProgress.d.ts +13 -0
  32. package/lib/cli/html-export-pdf/utils/cliProgress.js +80 -0
  33. package/lib/cli/html-export-pdf/utils/fs.d.ts +5 -0
  34. package/lib/cli/html-export-pdf/utils/fs.js +18 -0
  35. package/lib/cli/html-export-pdf/utils/getAbsFileName.d.ts +1 -0
  36. package/lib/cli/html-export-pdf/utils/getAbsFileName.js +4 -0
  37. package/lib/cli/html-export-pdf/utils/getDirname.d.ts +1 -0
  38. package/lib/cli/html-export-pdf/utils/getDirname.js +5 -0
  39. package/lib/cli/html-export-pdf/utils/index.d.ts +7 -0
  40. package/lib/cli/html-export-pdf/utils/index.js +7 -0
  41. package/lib/cli/html-export-pdf/utils/isValidUrl.d.ts +1 -0
  42. package/lib/cli/html-export-pdf/utils/isValidUrl.js +3 -0
  43. package/lib/cli/html-export-pdf/utils/optionsCustomProcessing.d.ts +2 -0
  44. package/lib/cli/html-export-pdf/utils/optionsCustomProcessing.js +6 -0
  45. package/lib/cli/html-export-pdf/utils/replaceExt.d.ts +1 -0
  46. package/lib/cli/html-export-pdf/utils/replaceExt.js +19 -0
  47. package/lib/cli/index.js +8 -12
  48. package/lib/cli/load-config.js +2 -5
  49. package/lib/cli/merge-pdfs/formatDate.d.ts +1 -0
  50. package/lib/cli/merge-pdfs/formatDate.js +23 -0
  51. package/lib/cli/merge-pdfs/index.d.ts +8 -0
  52. package/lib/cli/merge-pdfs/index.js +62 -0
  53. package/lib/global/PrintStyle/index.d.ts +2 -0
  54. package/lib/global/PrintStyle/index.js +13 -0
  55. package/lib/plugins/auto-sidebar/index.d.ts +3 -2
  56. package/lib/plugins/auto-sidebar/index.js +33 -34
  57. package/lib/plugins/index.d.ts +3 -0
  58. package/lib/plugins/index.js +3 -0
  59. package/lib/runtime/components/ExternalSiteLink.js +9 -6
  60. package/lib/runtime/components/K8sCrd.js +4 -3
  61. package/lib/runtime/hooks/index.d.ts +1 -0
  62. package/lib/runtime/hooks/index.js +1 -0
  63. package/lib/runtime/hooks/useIsPrint.d.ts +3 -0
  64. package/lib/runtime/hooks/useIsPrint.js +31 -0
  65. package/lib/runtime/hooks/useTranslation.d.ts +1 -1
  66. package/lib/utils/helpers.d.ts +2 -0
  67. package/lib/utils/helpers.js +4 -0
  68. package/lib/utils/types.d.ts +3 -1
  69. package/package.json +11 -1
  70. package/styles/global.scss +30 -0
  71. package/styles/shiki.css +3 -1
package/styles/shiki.css CHANGED
@@ -84,7 +84,9 @@ div[class*='language-'] code .diff.remove {
84
84
  .has-focused div[class*='language-'] .line:not(.focused) {
85
85
  filter: blur(0.095rem);
86
86
  opacity: 0.4;
87
- transition: filter 0.35s, opacity 0.35s;
87
+ transition:
88
+ filter 0.35s,
89
+ opacity 0.35s;
88
90
  }
89
91
 
90
92
  .has-focused:hover div[class*='language-'] .line:not(.focused) {