yukit-web 0.8.6 → 0.8.7

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.
@@ -4843,10 +4843,13 @@ function buildYuwActionsColumn(label, onEdit, cellClass = 'w-12', header = '') {
4843
4843
  const YUW_TABLE_SHARE_FORMATS = ['copy', 'print', 'pdf', 'excel', 'csv'];
4844
4844
 
4845
4845
  const UNSAFE_FILE_NAME_CHARACTERS = /[\\/:*?"<>|]+/g;
4846
- const PRINT_STYLE = 'body{font-family:system-ui,sans-serif;font-size:11px;margin:16px}table{width:100%;border-collapse:collapse}' +
4847
- 'th,td{border:1px solid #ccc;padding:4px 6px;text-align:left}th{background:#f3f3f3}' +
4846
+ const PRINT_STYLE = 'body{font-family:system-ui,sans-serif;font-size:11px;margin:16px}' +
4847
+ 'table{width:100%;border-collapse:collapse;font-size:9px}' +
4848
+ 'th,td{border:0;border-bottom:1px solid #eee;padding:3px 6px;text-align:left}' +
4849
+ 'th{background:#f7f7f7;border-bottom-color:#ddd;font-weight:600}' +
4848
4850
  '.header{display:grid;grid-template-columns:1fr 3fr 1fr;gap:24px;margin-bottom:16px}' +
4849
4851
  '.header p{margin:0 0 2px;white-space:pre-line}.header strong{font-weight:600}' +
4852
+ '.header>div:nth-child(2)>p:first-of-type{font-size:16px;font-weight:600;margin-bottom:6px}' +
4850
4853
  '.header img{display:block;max-width:120px;max-height:48px;margin-bottom:8px}';
4851
4854
  function fileName({ title }, extension) {
4852
4855
  const base = title?.replace(UNSAFE_FILE_NAME_CHARACTERS, ' ').trim() || 'export';