@kehto/paja 0.34.0 → 0.35.1

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.
@@ -505,7 +505,7 @@ var PAJA_EVENT_COUNTER_RESET_LABEL = "reset";
505
505
  var PAJA_EVENT_COUNTER_RESET_TITLE = "reset counter";
506
506
 
507
507
  // src/host-page.ts
508
- import { renderNappletFramePolicyMeta } from "@kehto/shell";
508
+ import { BROWSER_APPROVAL_UI_STYLES, renderNappletFramePolicyMeta } from "@kehto/shell";
509
509
  function renderPajaHtml(config) {
510
510
  const configJson = escapeJsonForHtml(JSON.stringify(config));
511
511
  const targetLabel = escapeAttribute(getTargetLabel(config));
@@ -594,8 +594,8 @@ function renderPajaHtml(config) {
594
594
  .section-chevron { transition: transform 120ms; }
595
595
  .section[open] > summary .section-chevron { transform: rotate(90deg); }
596
596
  .section-body { padding: 0 12px 12px; display: grid; gap: 8px; }
597
- .kehto-approval-ui, .kehto-approval-ui section, .kehto-approval-ui li { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
598
- .kehto-approval-ui button { white-space: normal; }
597
+ .kehto-approval-ui { --kehto-fw-bg: var(--bar); --kehto-fw-line: var(--line); --kehto-fw-text: var(--text); --kehto-fw-muted: var(--muted); --kehto-fw-accent: var(--accent); }
598
+ ${BROWSER_APPROVAL_UI_STYLES}
599
599
  .resource-servers { display: grid; gap: 8px; }
600
600
  .resource-servers > label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
601
601
  .section-title { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
@@ -625,9 +625,9 @@ function renderPajaHtml(config) {
625
625
  .llm-select-dialog select, .llm-vault-dialog input { width: 100%; min-width: 0; padding: 4px 8px; }
626
626
  .llm-vault-dialog .config-error:empty { display: none; }
627
627
  .signer { color: var(--muted); word-break: break-all; font-size: 12px; }
628
- .signer-controls { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 6px; }
628
+ .signer-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
629
629
  .signer-controls button[data-active="true"] { border-color: var(--accent); color: var(--text); background: #2a2a1d; }
630
- .signer-controls input { min-width: 0; padding: 0 8px; }
630
+ .signer-controls input { grid-column: span 2; min-width: 0; padding: 0 8px; }
631
631
  .signer-consent-clear { width: 100%; margin-top: 6px; }
632
632
  .pointer-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
633
633
  .pointer-status { min-width: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
@@ -2898,4 +2898,4 @@ export {
2898
2898
  validatePajaLlmVaultPassword,
2899
2899
  createPajaLlmVault
2900
2900
  };
2901
- //# sourceMappingURL=chunk-IWFPIHAE.js.map
2901
+ //# sourceMappingURL=chunk-HTLBCTIN.js.map