@parhelia/localization 0.1.12868 → 0.1.12875

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationManagement.d.ts","sourceRoot":"","sources":["../../src/translation-center/TranslationManagement.tsx"],"names":[],"mappings":"AAOA,wBAAgB,qBAAqB,4CAwEpC"}
1
+ {"version":3,"file":"TranslationManagement.d.ts","sourceRoot":"","sources":["../../src/translation-center/TranslationManagement.tsx"],"names":[],"mappings":"AAOA,wBAAgB,qBAAqB,4CAoEpC"}
@@ -12,22 +12,20 @@ export function TranslationManagement() {
12
12
  if (!config) {
13
13
  return (_jsx("div", { className: "flex h-full flex-col items-center justify-center bg-neutral-grey-5", children: _jsxs("div", { className: "flex items-center gap-2 text-neutral-grey-50", children: [_jsx("i", { className: "pi pi-spin pi-spinner text-[var(--color-highlight-100)]" }), "Loading..."] }) }));
14
14
  }
15
- const managementContent = translationBatchesPanel ? (_jsx("div", { className: "h-full min-h-0 overflow-hidden", children: translationBatchesPanel.content })) : (_jsxs("div", { className: "flex h-full min-h-0 flex-col items-center justify-center text-neutral-grey-50", children: [_jsx("i", { className: "pi pi-language mb-4 text-4xl text-neutral-grey-15" }), _jsx("p", { className: "font-medium text-neutral-grey-100", children: "Translation batches not available" })] }));
15
+ const managementContent = translationBatchesPanel ? (_jsx("div", { className: "flex-1 min-h-0", children: translationBatchesPanel.content })) : (_jsxs("div", { className: "flex h-full flex-col items-center justify-center text-neutral-grey-50", children: [_jsx("i", { className: "pi pi-language mb-4 text-4xl text-neutral-grey-15" }), _jsx("p", { className: "font-medium text-neutral-grey-100", children: "Translation batches not available" })] }));
16
16
  const panels = [
17
17
  {
18
18
  name: "translation-management",
19
19
  defaultSize: "auto",
20
20
  content: managementContent,
21
- className: "h-full min-h-0 min-w-0",
22
21
  },
23
22
  ];
24
23
  if (showEditorPanel) {
25
24
  panels.push({
26
25
  name: "editor-preview",
27
26
  defaultSize: isMobile ? 45 : 500,
28
- className: "h-full min-h-0 min-w-0",
29
27
  content: (_jsx("div", { className: "h-full overflow-hidden border-l border-border-default bg-neutral-grey-5", children: _jsx(ItemEditorPane, { name: "translation-management-preview", emptyDescription: "Select a translation batch item or language row to preview and edit it here." }) })),
30
28
  });
31
29
  }
32
- return (_jsx("div", { className: "absolute inset-0 flex min-h-0 flex-col overflow-hidden bg-neutral-grey-5", "data-testid": "translation-management", children: _jsx(Splitter, { panels: panels, direction: isMobile ? "vertical" : "horizontal", localStorageKey: "translation-management.panelSizes" }) }));
30
+ return (_jsx("div", { className: "absolute inset-0 flex flex-col bg-neutral-grey-5", "data-testid": "translation-management", children: _jsx(Splitter, { panels: panels, direction: isMobile ? "vertical" : "horizontal", localStorageKey: "translation-management.panelSizes" }) }));
33
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parhelia/localization",
3
- "version": "0.1.12868",
3
+ "version": "0.1.12875",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"