@thebuoyant-tsdev/mui-ts-library 3.6.0 → 3.6.1
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/README.de.md +7 -0
- package/README.md +7 -0
- package/dist/components/sql-editor/SqlEditor.types.d.ts +7 -4
- package/dist/components/sql-editor/SqlEditorFooter.d.ts +1 -1
- package/dist/components/sql-editor/SqlEditorHistoryMenu.d.ts +1 -1
- package/dist/components/sql-editor/SqlEditorToolbar.d.ts +1 -1
- package/dist/components/tag-selection/TagSelection.types.d.ts +5 -3
- package/dist/components/tag-selection/TagSelectionAutocomplete.d.ts +1 -1
- package/dist/components/tag-selection/TagSelectionSelectedTags.d.ts +1 -1
- package/package.json +1 -1
package/README.de.md
CHANGED
|
@@ -313,6 +313,13 @@ import type {
|
|
|
313
313
|
|
|
314
314
|
## Changelog
|
|
315
315
|
|
|
316
|
+
### [3.6.1] — 2026-06-22
|
|
317
|
+
|
|
318
|
+
**⚠️ TypeScript-Kompatibilitäts-Fix**
|
|
319
|
+
- `v3.4.0`/`v3.5.0` machten neue Translation-Felder auf `TagSelectionTranslation` und `SqlEditorTranslation` erforderlich, was TypeScript-Builds für Code brach, der eine eigenständige Variable gegen den vollen benannten Typ deklariert. Diese Felder sind jetzt optional — alte Objekt-Literale kompilieren wieder, keine Code-Änderung nötig.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
316
323
|
### [3.6.0] — 2026-06-22
|
|
317
324
|
|
|
318
325
|
**Storybook & StackBlitz — Praxisnahe Vitrine**
|
package/README.md
CHANGED
|
@@ -313,6 +313,13 @@ import type {
|
|
|
313
313
|
|
|
314
314
|
## Changelog
|
|
315
315
|
|
|
316
|
+
### [3.6.1] — 2026-06-22
|
|
317
|
+
|
|
318
|
+
**⚠️ TypeScript Compatibility Fix**
|
|
319
|
+
- `v3.4.0`/`v3.5.0` made new translation fields required on `TagSelectionTranslation` and `SqlEditorTranslation`, breaking TypeScript builds for code that declares a standalone variable against the full named type. Those fields are now optional — old object literals compile again, no code change needed.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
316
323
|
### [3.6.0] — 2026-06-22
|
|
317
324
|
|
|
318
325
|
**Storybook & StackBlitz — Real-World Showcase**
|
|
@@ -24,11 +24,14 @@ export type SqlEditorTranslation = {
|
|
|
24
24
|
redo: string;
|
|
25
25
|
lineColumn: string;
|
|
26
26
|
errorCount: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
/** @since 3.5.0 — optional for backward compatibility with full-literal objects typed before this field existed. */
|
|
28
|
+
history?: string;
|
|
29
|
+
/** @since 3.5.0 — optional for backward compatibility with full-literal objects typed before this field existed. */
|
|
30
|
+
historyEmpty?: string;
|
|
31
|
+
/** @since 3.5.0 — optional for backward compatibility with full-literal objects typed before this field existed. */
|
|
32
|
+
clearHistory?: string;
|
|
30
33
|
};
|
|
31
|
-
export declare const DEFAULT_SQL_EDITOR_TRANSLATION: SqlEditorTranslation
|
|
34
|
+
export declare const DEFAULT_SQL_EDITOR_TRANSLATION: Required<SqlEditorTranslation>;
|
|
32
35
|
export type SqlEditorDialect = "standard" | "mysql" | "postgresql" | "sqlite" | "mssql";
|
|
33
36
|
export type SqlColumn = {
|
|
34
37
|
name: string;
|
|
@@ -7,7 +7,7 @@ type SqlEditorFooterProps = {
|
|
|
7
7
|
diagnosticsCount: number;
|
|
8
8
|
cursorLine: number;
|
|
9
9
|
cursorCol: number;
|
|
10
|
-
translation: SqlEditorTranslation
|
|
10
|
+
translation: Required<SqlEditorTranslation>;
|
|
11
11
|
};
|
|
12
12
|
export declare function SqlEditorFooter({ helperText, error, showLineColumn, showErrorCount, diagnosticsCount, cursorLine, cursorCol, translation: t, }: SqlEditorFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -4,7 +4,7 @@ type SqlEditorHistoryMenuProps = {
|
|
|
4
4
|
history: SqlQueryHistoryEntry[];
|
|
5
5
|
onSelect: (sql: string) => void;
|
|
6
6
|
onClear: () => void;
|
|
7
|
-
translation: SqlEditorTranslation
|
|
7
|
+
translation: Required<SqlEditorTranslation>;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
};
|
|
10
10
|
export declare function SqlEditorHistoryMenu({ history, onSelect, onClear, translation: t, disabled, }: SqlEditorHistoryMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import type { SqlQueryHistoryEntry } from "./util/sqlQueryHistory.util";
|
|
|
4
4
|
type SqlEditorToolbarProps = {
|
|
5
5
|
editorView: EditorView | null;
|
|
6
6
|
toolbarConfig: Required<SqlEditorToolbarConfig>;
|
|
7
|
-
translation: SqlEditorTranslation
|
|
7
|
+
translation: Required<SqlEditorTranslation>;
|
|
8
8
|
dialect: SqlEditorDialect;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
onExecute?: (sql: string) => void;
|
|
@@ -20,10 +20,12 @@ export type TagSelectionTranslation = {
|
|
|
20
20
|
backgroundColorLabel: string;
|
|
21
21
|
textColorLabel: string;
|
|
22
22
|
autoTextColorLabel: string;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
/** @since 3.4.0 — optional for backward compatibility with full-literal objects typed before this field existed. */
|
|
24
|
+
confirmCreateLabel?: string;
|
|
25
|
+
/** @since 3.4.0 — optional for backward compatibility with full-literal objects typed before this field existed. */
|
|
26
|
+
cancelCreateLabel?: string;
|
|
25
27
|
};
|
|
26
|
-
export declare const DEFAULT_TAG_SELECTION_TRANSLATION: TagSelectionTranslation
|
|
28
|
+
export declare const DEFAULT_TAG_SELECTION_TRANSLATION: Required<TagSelectionTranslation>;
|
|
27
29
|
export type TagSelectionProps = {
|
|
28
30
|
allowCreate?: boolean;
|
|
29
31
|
chipSize?: "small" | "medium";
|
|
@@ -4,7 +4,7 @@ type TagSelectionAutocompleteProps = {
|
|
|
4
4
|
chipSize: "medium" | "small";
|
|
5
5
|
availableTags: TagSelectionItem[];
|
|
6
6
|
searchValue: string;
|
|
7
|
-
translation: TagSelectionTranslation
|
|
7
|
+
translation: Required<TagSelectionTranslation>;
|
|
8
8
|
onSearchChange: (value: string) => void;
|
|
9
9
|
onTagSelect: (tag: TagSelectionItem) => void;
|
|
10
10
|
onTagCreate?: (tag: TagSelectionItem) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TagSelectionItem, TagSelectionTranslation } from "./TagSelection.types";
|
|
2
2
|
type TagSelectionSelectedTagsProps = {
|
|
3
3
|
selectedTags: TagSelectionItem[];
|
|
4
|
-
translation: TagSelectionTranslation
|
|
4
|
+
translation: Required<TagSelectionTranslation>;
|
|
5
5
|
onTagDelete: (tag: TagSelectionItem) => void;
|
|
6
6
|
showSelectedTagsLabel: boolean;
|
|
7
7
|
chipSize: "small" | "medium";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thebuoyant-tsdev/mui-ts-library",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Type-safe React component library for MUI v9. Gantt chart with drag & drop, WYSIWYG rich text editor (TipTap), SQL & JSON code editors (CodeMirror 6), D3 data visualizations (Sunburst, Chord, RadialTree, CirclePacking, HorizontalTree), tag selector, and password strength meter. Full TypeScript, dark mode, i18n.",
|
|
6
6
|
"author": {
|