@estiva-app/ui 0.88.0 → 0.89.0

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/index.js CHANGED
@@ -4092,14 +4092,21 @@ function unavailableMemory(storageKey, limit = 300) {
4092
4092
  };
4093
4093
  }
4094
4094
 
4095
- // src/archivedLine.ts
4096
- function archivedLine(archive, noun) {
4097
- if (!archive) return void 0;
4098
- if (!archive.with) return "Archived. Unarchive it to comment.";
4095
+ // node_modules/@estiva-app/conversation/dist/archivedLine.js
4096
+ function archivedLine(archive, noun, options = {}) {
4097
+ if (!archive)
4098
+ return void 0;
4099
+ const where = options.in?.trim() ? ` in ${options.in.trim()}` : "";
4100
+ const to = options.to?.trim() || "comment";
4101
+ if (!archive.with)
4102
+ return `Archived. Unarchive it${where} to ${to}.`;
4099
4103
  const word = noun?.trim();
4100
- return `Unarchive the ${word === "folder" ? "Folder" : word || "parent"} to comment.`;
4104
+ return `Unarchive the ${word === "folder" ? "Folder" : word || "parent"}${where} to ${to}.`;
4101
4105
  }
4102
4106
 
4107
+ // src/archivedLine.ts
4108
+ var archivedLine2 = archivedLine;
4109
+
4103
4110
  // src/linkedFrom.ts
4104
4111
  var CARD_ROWS = 7;
4105
4112
  var KIND_PAGE = 30842;
@@ -5118,7 +5125,7 @@ export {
5118
5125
  TopBar,
5119
5126
  UnreadDot,
5120
5127
  WithTooltip,
5121
- archivedLine,
5128
+ archivedLine2 as archivedLine,
5122
5129
  blockAtY,
5123
5130
  calloutLook,
5124
5131
  chosenOf,