@thebuoyant-tsdev/mui-ts-library 2.4.0 → 3.0.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.
Files changed (26) hide show
  1. package/README.de.md +21 -32
  2. package/README.md +21 -32
  3. package/dist/components/chord-chart/ChordChart.d.ts +1 -1
  4. package/dist/components/chord-chart/ChordChart.types.d.ts +15 -0
  5. package/dist/components/circle-packing-chart/CirclePackingChart.d.ts +5 -0
  6. package/dist/components/circle-packing-chart/CirclePackingChart.types.d.ts +104 -0
  7. package/dist/components/gantt-chart/GanttChart.constants.d.ts +1 -0
  8. package/dist/components/gantt-chart/GanttChart.d.ts +1 -1
  9. package/dist/components/gantt-chart/GanttChart.types.d.ts +16 -0
  10. package/dist/components/gantt-chart/GanttTaskPanel.d.ts +2 -1
  11. package/dist/components/gantt-chart/GanttToolbar.d.ts +2 -1
  12. package/dist/components/horizontal-tree-chart/HorizontalTreeChart.d.ts +5 -0
  13. package/dist/components/horizontal-tree-chart/HorizontalTreeChart.types.d.ts +95 -0
  14. package/dist/components/password-strength-meter/PasswordStrengthMeter.d.ts +1 -1
  15. package/dist/components/password-strength-meter/PasswordStrengthMeter.types.d.ts +36 -0
  16. package/dist/components/radial-tree-chart/RadialTreeChart.types.d.ts +6 -0
  17. package/dist/components/sunburst-chart/SunburstChart.types.d.ts +6 -0
  18. package/dist/components/tag-selection/TagSelection.types.d.ts +5 -1
  19. package/dist/components/tag-selection/TagSelectionAutocomplete.d.ts +2 -2
  20. package/dist/index.cjs +2 -1
  21. package/dist/index.d.cts +4 -2
  22. package/dist/index.d.ts +4 -2
  23. package/dist/index.js +2610 -1419
  24. package/package.json +61 -29
  25. package/dist/components/confirm-dialog/ConfirmDialog.types.d.ts +0 -23
  26. package/dist/components/confirm-dialog/ConfirmDialogProvider.d.ts +0 -5
@@ -3,6 +3,12 @@ export type SunburstChartData = {
3
3
  id: string;
4
4
  name: string;
5
5
  value?: number;
6
+ /** Per-node color overrides — null / omit = use chart default palette */
7
+ colorConfig?: {
8
+ fill?: string;
9
+ textColor?: string;
10
+ stroke?: string;
11
+ } | null;
6
12
  children?: SunburstChartData[];
7
13
  };
8
14
  export type SunburstSegmentInfo = {
@@ -16,6 +16,10 @@ export type TagSelectionTranslation = {
16
16
  placeholder: string;
17
17
  loadingText: string;
18
18
  maxTagsReachedText: string;
19
+ colorPickerLabel: string;
20
+ backgroundColorLabel: string;
21
+ textColorLabel: string;
22
+ autoTextColorLabel: string;
19
23
  };
20
24
  export declare const DEFAULT_TAG_SELECTION_TRANSLATION: TagSelectionTranslation;
21
25
  export type TagSelectionProps = {
@@ -34,7 +38,7 @@ export type TagSelectionProps = {
34
38
  tags: TagSelectionItem[];
35
39
  translation?: Partial<TagSelectionTranslation>;
36
40
  onSearchChange?: (searchValue: string) => void;
37
- onTagCreate?: (label: string, color: TagColor) => void;
41
+ onTagCreate?: (tag: TagSelectionItem) => void;
38
42
  onTagDelete?: (tag: TagSelectionItem, selectedTags: TagSelectionItem[], allTags: TagSelectionItem[]) => void;
39
43
  onTagSelect?: (tag: TagSelectionItem, selectedTags: TagSelectionItem[], allTags: TagSelectionItem[]) => void;
40
44
  onTagsChange?: (selectedTags: TagSelectionItem[], allTags: TagSelectionItem[]) => void;
@@ -1,4 +1,4 @@
1
- import type { TagColor, TagSelectionItem, TagSelectionTranslation } from "./TagSelection.types";
1
+ import type { TagSelectionItem, TagSelectionTranslation } from "./TagSelection.types";
2
2
  type TagSelectionAutocompleteProps = {
3
3
  inputSize: "medium" | "small";
4
4
  chipSize: "medium" | "small";
@@ -7,7 +7,7 @@ type TagSelectionAutocompleteProps = {
7
7
  translation: TagSelectionTranslation;
8
8
  onSearchChange: (value: string) => void;
9
9
  onTagSelect: (tag: TagSelectionItem) => void;
10
- onTagCreate?: (label: string, color: TagColor) => void;
10
+ onTagCreate?: (tag: TagSelectionItem) => void;
11
11
  disabled?: boolean;
12
12
  loading?: boolean;
13
13
  isMaxReached?: boolean;