@cosmicdrift/kumiko-document-designer 0.415.0 → 0.417.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/web/cells.js +3 -3
- package/package.json +6 -6
package/dist/web/cells.js
CHANGED
|
@@ -11,7 +11,7 @@ function withRow(row, render) {
|
|
|
11
11
|
}
|
|
12
12
|
export function TitleCell({ row }) {
|
|
13
13
|
const t = useTranslation();
|
|
14
|
-
return withRow(row, (r) => (_jsxs("div", { children: [_jsx("div", { className: "max-w-48 whitespace-normal font-medium [overflow-wrap:anywhere]", children: templateTitle(t, r) }), _jsx("span", { className: "block max-w-
|
|
14
|
+
return withRow(row, (r) => (_jsxs("div", { children: [_jsx("div", { className: "max-w-48 whitespace-normal font-medium [overflow-wrap:anywhere]", children: templateTitle(t, r) }), _jsx("span", { className: "block max-w-16 truncate font-mono text-xs text-muted-foreground", title: r.slug, children: r.slug })] })));
|
|
15
15
|
}
|
|
16
16
|
const KIND_KEY = {
|
|
17
17
|
mail: "documentDesigner.kind.mail",
|
|
@@ -49,7 +49,7 @@ export function UsedByCell({ row }) {
|
|
|
49
49
|
const t = useTranslation();
|
|
50
50
|
return withRow(row, (r) => {
|
|
51
51
|
const label = usedByLabel(t, r);
|
|
52
|
-
return (_jsx("span", { className: "block max-w-
|
|
52
|
+
return (_jsx("span", { className: "block max-w-[4.5rem] truncate", title: label, children: label }));
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
// Date only keeps the column narrow enough for the overview to fit without
|
|
@@ -74,7 +74,7 @@ function OverriddenByCount({ overriddenBy, }) {
|
|
|
74
74
|
active: overriddenBy.active,
|
|
75
75
|
total: overriddenBy.total,
|
|
76
76
|
});
|
|
77
|
-
return _jsx("span", { children: label });
|
|
77
|
+
return (_jsx("span", { className: "block max-w-24 truncate", title: label, children: label }));
|
|
78
78
|
}
|
|
79
79
|
export function OverriddenByCell({ row }) {
|
|
80
80
|
return withRow(row, (r) => r.origin === "system" && r.overriddenBy !== null ? (_jsx(OverriddenByCount, { overriddenBy: r.overriddenBy })) : (EMPTY_VALUE_PLACEHOLDER));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-document-designer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.417.0",
|
|
4
4
|
"description": "Document designer for Kumiko: template overview, layout editor (mail layout, PDF letterhead) and the PDF template editor.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"./web/styles.css": "./src/web/styles.css"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
24
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
25
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
26
|
-
"@cosmicdrift/kumiko-renderer-puppeteer-client": "0.
|
|
27
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
23
|
+
"@cosmicdrift/kumiko-bundled-features": "0.417.0",
|
|
24
|
+
"@cosmicdrift/kumiko-framework": "0.417.0",
|
|
25
|
+
"@cosmicdrift/kumiko-renderer": "0.417.0",
|
|
26
|
+
"@cosmicdrift/kumiko-renderer-puppeteer-client": "0.417.0",
|
|
27
|
+
"@cosmicdrift/kumiko-types": "0.417.0",
|
|
28
28
|
"react": "^19.3.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|