@aparte/core 0.27.3 → 0.27.4

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.
@@ -7218,7 +7218,7 @@ function el(tag, className, text) {
7218
7218
  return node;
7219
7219
  }
7220
7220
  let askSeq = 0;
7221
- function buildApprovalPanel(message, options, onChange, details, freeText = true) {
7221
+ function buildApprovalPanel(message, options, onChange, details, allowOther = true) {
7222
7222
  const cfg = contextConfig();
7223
7223
  const panel = el("div", "aparte-elic-panel aparte-approval-panel");
7224
7224
  const body = el("div", "aparte-elic-body");
@@ -7267,7 +7267,7 @@ function buildApprovalPanel(message, options, onChange, details, freeText = true
7267
7267
  labelled.push({ button, option });
7268
7268
  }
7269
7269
  body.appendChild(row);
7270
- const instruction = freeText ? el("textarea", "aparte-approval-instruction") : null;
7270
+ const instruction = allowOther ? el("textarea", "aparte-approval-instruction") : null;
7271
7271
  if (instruction) {
7272
7272
  instruction.rows = 1;
7273
7273
  instruction.placeholder = cfg.t("approvalInstructionPlaceholder");
@@ -9346,4 +9346,4 @@ export {
9346
9346
  collectRendererStyles as y,
9347
9347
  contentToText as z
9348
9348
  };
9349
- //# sourceMappingURL=defer-hydration-BG8ANn8q.js.map
9349
+ //# sourceMappingURL=defer-hydration-BlmPqEgs.js.map