@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/BlockNodes.d.ts.map +1 -1
- package/dist/ComposerTriggers.d.ts.map +1 -1
- package/dist/archivedLine.d.ts +11 -8
- package/dist/archivedLine.d.ts.map +1 -1
- package/dist/editor.js +129 -120
- package/dist/editor.js.map +4 -4
- package/dist/index.js +13 -6
- package/dist/index.js.map +4 -4
- package/package.json +3 -3
- package/registry.json +1 -1
- package/src/BlockNodes.tsx +3 -0
- package/src/ComposerTriggers.test.tsx +83 -0
- package/src/ComposerTriggers.tsx +18 -1
- package/src/archivedLine.ts +14 -11
- package/src/archivedLine.test.ts +0 -34
package/dist/index.js
CHANGED
|
@@ -4092,14 +4092,21 @@ function unavailableMemory(storageKey, limit = 300) {
|
|
|
4092
4092
|
};
|
|
4093
4093
|
}
|
|
4094
4094
|
|
|
4095
|
-
//
|
|
4096
|
-
function archivedLine(archive, noun) {
|
|
4097
|
-
if (!archive)
|
|
4098
|
-
|
|
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
|
|
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,
|