@ai-matrx/print 0.12.3 → 0.12.5

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/markdown.cjs CHANGED
@@ -119,6 +119,17 @@ function openPrintWindowFallback(htmlDocument, filename) {
119
119
  (0, import_download.downloadFile)(`${filename.replace(/\s+/g, "-").toLowerCase()}.html`, htmlDocument, "text/html;charset=utf-8");
120
120
  return "downloaded";
121
121
  }
122
+ var PRINT_CHROME_SELECTOR = [
123
+ "[data-print-hide]",
124
+ '[role="toolbar"]',
125
+ '[role="menu"]',
126
+ '[role="menubar"]',
127
+ "button",
128
+ '[role="button"]',
129
+ 'input[type="button"]',
130
+ 'input[type="submit"]',
131
+ 'input[type="reset"]'
132
+ ].join(",");
122
133
 
123
134
  // src/markdown.ts
124
135
  var import_html_escape3 = require("@ai-matrx/kit/html-escape");