yukit-web 0.8.7 → 0.8.8

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,14 +4843,15 @@ 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}' +
4846
+ const PRINT_STYLE = 'body{font-family:system-ui,sans-serif;font-size:9px;margin:8px 0}' +
4847
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}' +
4848
+ 'th,td{border:0;border-bottom:1px solid #eee;padding:3px 4px;text-align:left}' +
4849
4849
  'th{background:#f7f7f7;border-bottom-color:#ddd;font-weight:600}' +
4850
- '.header{display:grid;grid-template-columns:1fr 3fr 1fr;gap:24px;margin-bottom:16px}' +
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}' +
4853
- '.header img{display:block;max-width:120px;max-height:48px;margin-bottom:8px}';
4850
+ '.header{display:grid;grid-template-columns:1fr 3fr 1fr;gap:16px;padding:0 12px;margin-bottom:12px;line-height:1.35}' +
4851
+ '.header p{margin:0;white-space:pre-line}.header strong{font-weight:600}' +
4852
+ '.header>div:nth-child(3){justify-self:end}' +
4853
+ '.header>div:nth-child(2)>p:first-of-type{font-size:16px;font-weight:600;line-height:1.2;margin-bottom:6px}' +
4854
+ '.header img{display:block;max-width:90px;max-height:36px;margin-bottom:4px}';
4854
4855
  function fileName({ title }, extension) {
4855
4856
  const base = title?.replace(UNSAFE_FILE_NAME_CHARACTERS, ' ').trim() || 'export';
4856
4857
  return `${base} ${new Date().toISOString().slice(0, 10)}.${extension}`;