@nice2dev/ui-diagrams 1.1.5 → 1.1.6

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 (53) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/__tests__/DiagramModel.test.d.ts +0 -1
  3. package/dist/__tests__/animationEngine.test.d.ts +0 -1
  4. package/dist/__tests__/businessVisualizers.test.d.ts +0 -1
  5. package/dist/__tests__/dataBinding.test.d.ts +0 -1
  6. package/dist/__tests__/diagramTemplateGallery.test.d.ts +0 -1
  7. package/dist/__tests__/exportEngine.test.d.ts +0 -1
  8. package/dist/__tests__/i18n-locales.test.d.ts +0 -1
  9. package/dist/__tests__/layoutEngine.test.d.ts +0 -1
  10. package/dist/__tests__/serialization.test.d.ts +0 -1
  11. package/dist/__tests__/setup.d.ts +0 -1
  12. package/dist/__tests__/snapGrid.test.d.ts +0 -1
  13. package/dist/__tests__/sprint24-diagrams.test.d.ts +0 -1
  14. package/dist/components/AnimationTimeline.d.ts +0 -1
  15. package/dist/components/DiagramCanvas.d.ts +0 -1
  16. package/dist/components/DiagramCellRenderer.d.ts +0 -1
  17. package/dist/components/DiagramMinimap.d.ts +0 -1
  18. package/dist/components/DiagramPropertyPanel.d.ts +0 -1
  19. package/dist/components/DiagramToolbar.d.ts +0 -1
  20. package/dist/components/NiceDatabaseSchemaViewer.d.ts +0 -1
  21. package/dist/components/NiceDecisionTreeEditor.d.ts +0 -1
  22. package/dist/components/NiceDependencyGraph.d.ts +0 -1
  23. package/dist/components/NiceDiagramEditor.d.ts +0 -1
  24. package/dist/components/NiceDiagramViewer.d.ts +0 -1
  25. package/dist/components/NiceNetworkTopology.d.ts +0 -1
  26. package/dist/components/NiceOrgChartVisualizer.d.ts +0 -1
  27. package/dist/components/NiceProcessMiningDiagram.d.ts +0 -1
  28. package/dist/components/NiceWorkflowVisualizer.d.ts +0 -1
  29. package/dist/components/collaborativeDiagram.d.ts +0 -1
  30. package/dist/components/diagramAdapters.d.ts +0 -1
  31. package/dist/components/diagramTemplates.d.ts +0 -1
  32. package/dist/components/shapeRegistry.d.ts +0 -1
  33. package/dist/components/snapGuides.d.ts +0 -1
  34. package/dist/components/workflowIntegrations.d.ts +0 -1
  35. package/dist/core/DiagramModel.d.ts +0 -1
  36. package/dist/core/animationEngine.d.ts +0 -1
  37. package/dist/core/conditionalStyling.d.ts +0 -1
  38. package/dist/core/dataBinding.d.ts +0 -1
  39. package/dist/core/diagramComments.d.ts +0 -1
  40. package/dist/core/diagramParticleEngine.d.ts +0 -1
  41. package/dist/core/diagramSearch.d.ts +0 -1
  42. package/dist/core/diagramStylePresets.d.ts +0 -1
  43. package/dist/core/diagramTemplateGallery.d.ts +0 -1
  44. package/dist/core/diagramVersioning.d.ts +0 -1
  45. package/dist/core/exportEngine.d.ts +0 -1
  46. package/dist/core/i18n.d.ts +0 -1
  47. package/dist/core/layoutEngine.d.ts +0 -1
  48. package/dist/core/serialization.d.ts +0 -1
  49. package/dist/core/snapGrid.d.ts +0 -1
  50. package/dist/hooks/useDiagramEditor.d.ts +0 -1
  51. package/dist/index.d.ts +0 -1
  52. package/dist/types/diagramTypes.d.ts +0 -1
  53. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @nice2dev/ui-diagrams — Changelog
2
2
 
3
+ ## 1.1.6
4
+
5
+ No changes in this release.
6
+
3
7
  ## 1.1.5
4
8
 
5
9
  No changes in this release.
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=DiagramModel.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=animationEngine.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=businessVisualizers.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=dataBinding.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=diagramTemplateGallery.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=exportEngine.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=i18n-locales.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=layoutEngine.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=serialization.test.d.ts.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=setup.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=snapGrid.test.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=sprint24-diagrams.test.d.ts.map
@@ -17,4 +17,3 @@ export interface AnimationTimelineProps {
17
17
  className?: string;
18
18
  }
19
19
  export declare const AnimationTimeline: React.FC<AnimationTimelineProps>;
20
- //# sourceMappingURL=AnimationTimeline.d.ts.map
@@ -50,4 +50,3 @@ export interface DiagramCanvasProps {
50
50
  className?: string;
51
51
  }
52
52
  export declare const DiagramCanvas: React.FC<DiagramCanvasProps>;
53
- //# sourceMappingURL=DiagramCanvas.d.ts.map
@@ -32,4 +32,3 @@ export interface DiagramCellRendererProps {
32
32
  }
33
33
  export declare const DiagramCellRenderer: React.FC<DiagramCellRendererProps>;
34
34
  export default DiagramCellRenderer;
35
- //# sourceMappingURL=DiagramCellRenderer.d.ts.map
@@ -13,4 +13,3 @@ export interface DiagramMinimapProps {
13
13
  className?: string;
14
14
  }
15
15
  export declare const DiagramMinimap: React.FC<DiagramMinimapProps>;
16
- //# sourceMappingURL=DiagramMinimap.d.ts.map
@@ -9,4 +9,3 @@ export interface DiagramPropertyPanelProps {
9
9
  className?: string;
10
10
  }
11
11
  export declare const DiagramPropertyPanel: React.FC<DiagramPropertyPanelProps>;
12
- //# sourceMappingURL=DiagramPropertyPanel.d.ts.map
@@ -61,4 +61,3 @@ export interface DiagramToolbarProps {
61
61
  className?: string;
62
62
  }
63
63
  export declare const DiagramToolbar: React.FC<DiagramToolbarProps>;
64
- //# sourceMappingURL=DiagramToolbar.d.ts.map
@@ -73,4 +73,3 @@ export declare function parseSQLToSchema(sql: string): DatabaseSchema;
73
73
  */
74
74
  export declare function schemaToSQL(schema: DatabaseSchema, _dialect?: 'mysql' | 'postgres' | 'mssql'): string;
75
75
  export default NiceDatabaseSchemaViewer;
76
- //# sourceMappingURL=NiceDatabaseSchemaViewer.d.ts.map
@@ -124,4 +124,3 @@ export declare function predictWithTree(tree: DecisionTreeData, input: Record<st
124
124
  path: string[];
125
125
  };
126
126
  export default NiceDecisionTreeEditor;
127
- //# sourceMappingURL=NiceDecisionTreeEditor.d.ts.map
@@ -100,4 +100,3 @@ export declare function analyzeDependencyGraph(data: DependencyGraphData): {
100
100
  avgDependencies: number;
101
101
  };
102
102
  export default NiceDependencyGraph;
103
- //# sourceMappingURL=NiceDependencyGraph.d.ts.map
@@ -23,4 +23,3 @@ export interface NiceDiagramEditorProps {
23
23
  tutorial?: NiceComponentTutorial;
24
24
  }
25
25
  export declare const NiceDiagramEditor: React.FC<NiceDiagramEditorProps>;
26
- //# sourceMappingURL=NiceDiagramEditor.d.ts.map
@@ -22,4 +22,3 @@ export interface NiceDiagramViewerProps {
22
22
  style?: React.CSSProperties;
23
23
  }
24
24
  export declare const NiceDiagramViewer: React.FC<NiceDiagramViewerProps>;
25
- //# sourceMappingURL=NiceDiagramViewer.d.ts.map
@@ -121,4 +121,3 @@ export declare function calculateNetworkHealth(data: NetworkTopologyData): {
121
121
  degradedConnections: number;
122
122
  };
123
123
  export default NiceNetworkTopology;
124
- //# sourceMappingURL=NiceNetworkTopology.d.ts.map
@@ -87,4 +87,3 @@ export declare function calculateOrgStats(data: OrgChartData): {
87
87
  managers: number;
88
88
  };
89
89
  export default NiceOrgChartVisualizer;
90
- //# sourceMappingURL=NiceOrgChartVisualizer.d.ts.map
@@ -80,4 +80,3 @@ export declare const NiceProcessMiningDiagram: React.FC<ProcessMiningDiagramProp
80
80
  */
81
81
  export declare function mineProcessFromLog(log: ProcessLog): ProcessModel;
82
82
  export default NiceProcessMiningDiagram;
83
- //# sourceMappingURL=NiceProcessMiningDiagram.d.ts.map
@@ -66,4 +66,3 @@ export declare function createLinearWorkflow(stepNames: string[], _options?: {
66
66
  decisionBranches?: string[];
67
67
  }): WorkflowData;
68
68
  export default NiceWorkflowVisualizer;
69
- //# sourceMappingURL=NiceWorkflowVisualizer.d.ts.map
@@ -249,4 +249,3 @@ declare const _default: {
249
249
  ConnectionStatus: typeof ConnectionStatus;
250
250
  };
251
251
  export default _default;
252
- //# sourceMappingURL=collaborativeDiagram.d.ts.map
@@ -76,4 +76,3 @@ export declare function createDiagramDocument(options: {
76
76
  animations?: SimpleAnimation[];
77
77
  metadata?: Record<string, unknown>;
78
78
  }): NiceDiagramDocument;
79
- //# sourceMappingURL=diagramAdapters.d.ts.map
@@ -58,4 +58,3 @@ declare const _default: {
58
58
  diagramTemplates: DiagramTemplate[];
59
59
  };
60
60
  export default _default;
61
- //# sourceMappingURL=diagramTemplates.d.ts.map
@@ -130,4 +130,3 @@ declare const _default: {
130
130
  };
131
131
  };
132
132
  export default _default;
133
- //# sourceMappingURL=shapeRegistry.d.ts.map
@@ -163,4 +163,3 @@ declare const _default: {
163
163
  defaultSnapConfig: SnapConfig;
164
164
  };
165
165
  export default _default;
166
- //# sourceMappingURL=snapGuides.d.ts.map
@@ -276,4 +276,3 @@ export interface WorkflowEngineConfig {
276
276
  * Detect workflow engine type from data structure.
277
277
  */
278
278
  export declare function detectWorkflowEngine(data: unknown): WorkflowEngineType | null;
279
- //# sourceMappingURL=workflowIntegrations.d.ts.map
@@ -52,4 +52,3 @@ export declare class DiagramModel {
52
52
  updateAnimation(id: string, patch: Partial<Omit<DiagramAnimation, 'id'>>): void;
53
53
  loadDocument(doc: NiceDiagramDocument): void;
54
54
  }
55
- //# sourceMappingURL=DiagramModel.d.ts.map
@@ -36,4 +36,3 @@ export declare class AnimationPlayer {
36
36
  isPlaying(): boolean;
37
37
  private tick;
38
38
  }
39
- //# sourceMappingURL=animationEngine.d.ts.map
@@ -147,4 +147,3 @@ export declare function createRuleFromPreset(presetId: string): ConditionalStyle
147
147
  /** Create a new conditional styling engine with presets. */
148
148
  export declare function createConditionalStylingEngine(loadPresets?: boolean): ConditionalStylingEngine;
149
149
  export default ConditionalStylingEngine;
150
- //# sourceMappingURL=conditionalStyling.d.ts.map
@@ -17,4 +17,3 @@ export declare function fetchAndGenerateDiagram(binding: DiagramDataBinding, def
17
17
  nodes: DiagramNode[];
18
18
  edges: DiagramEdge[];
19
19
  }>;
20
- //# sourceMappingURL=dataBinding.d.ts.map
@@ -205,4 +205,3 @@ export declare function formatCommentDate(isoDate: string): string;
205
205
  /** Render text with mentions highlighted. */
206
206
  export declare function renderTextWithMentions(text: string, mentions: CommentMention[]): string;
207
207
  export default DiagramCommentManager;
208
- //# sourceMappingURL=diagramComments.d.ts.map
@@ -92,4 +92,3 @@ export declare function getPointOnPath(pathData: string, t: number, svgElement?:
92
92
  */
93
93
  export declare function createGlowFilterId(elementId: string): string;
94
94
  export declare function computeGlowRadius(intensity: number, pulse: number): number;
95
- //# sourceMappingURL=diagramParticleEngine.d.ts.map
@@ -165,4 +165,3 @@ export declare function highlightMatches(text: string, positions: Array<{
165
165
  /** Create quick filter for common scenarios. */
166
166
  export declare function createQuickFilter(scenario: 'by-type' | 'by-layer' | 'by-status' | 'custom', value?: unknown): DiagramFilter;
167
167
  export default DiagramSearchFilterEngine;
168
- //# sourceMappingURL=diagramSearch.d.ts.map
@@ -52,4 +52,3 @@ export declare function createPresetFromTheme(id: string, themeName: string, col
52
52
  }, borders: {
53
53
  color: string;
54
54
  }): DiagramStylePreset;
55
- //# sourceMappingURL=diagramStylePresets.d.ts.map
@@ -23,4 +23,3 @@ export declare function getTemplatesByCategory(category: DiagramTemplateCategory
23
23
  * Search templates by name, description, or tags.
24
24
  */
25
25
  export declare function searchTemplates(query: string): DiagramTemplate[];
26
- //# sourceMappingURL=diagramTemplateGallery.d.ts.map
@@ -120,4 +120,3 @@ export declare function createVersioningHook(config?: DiagramVersioningConfig):
120
120
  diff: (fromVersionId: string, toVersionId: string) => DiagramVersionDiff | null;
121
121
  };
122
122
  export default DiagramVersioningManager;
123
- //# sourceMappingURL=diagramVersioning.d.ts.map
@@ -7,4 +7,3 @@ export declare function exportToSvg(doc: NiceDiagramDocument, options?: Partial<
7
7
  * Export diagram to Mermaid syntax string.
8
8
  */
9
9
  export declare function exportToMermaid(doc: NiceDiagramDocument): string;
10
- //# sourceMappingURL=exportEngine.d.ts.map
@@ -15,4 +15,3 @@ export declare function useNiceTranslation(): {
15
15
  locale: string;
16
16
  };
17
17
  export {};
18
- //# sourceMappingURL=i18n.d.ts.map
@@ -6,4 +6,3 @@ export interface LayoutResult {
6
6
  * Apply an auto-layout algorithm and return computed positions.
7
7
  */
8
8
  export declare function computeLayout(nodes: readonly _DiagramNode[], edges: readonly _DiagramEdge[], options: LayoutOptions): LayoutResult;
9
- //# sourceMappingURL=layoutEngine.d.ts.map
@@ -12,4 +12,3 @@ export declare function parseNddJson(json: string): ParseResult;
12
12
  * Stringify a NiceDiagramDocument to `.ndd.json`.
13
13
  */
14
14
  export declare function stringifyNddJson(doc: NiceDiagramDocument, pretty?: boolean): string;
15
- //# sourceMappingURL=serialization.d.ts.map
@@ -47,4 +47,3 @@ export declare function applyAlignmentSnap(position: Point, size: Size, guides:
47
47
  snappedPosition: Point;
48
48
  activeGuides: AlignmentGuide[];
49
49
  };
50
- //# sourceMappingURL=snapGrid.d.ts.map
@@ -60,4 +60,3 @@ export interface UseDiagramEditorReturn {
60
60
  model: DiagramModel;
61
61
  }
62
62
  export declare function useDiagramEditor(initialDoc?: NiceDiagramDocument): UseDiagramEditorReturn;
63
- //# sourceMappingURL=useDiagramEditor.d.ts.map
package/dist/index.d.ts CHANGED
@@ -32,4 +32,3 @@ export { DiagramVersioningManager, createVersioningHook, type DiagramChangeType,
32
32
  export { DiagramCommentManager, COMMENT_PRIORITY_STYLES, formatCommentDate, renderTextWithMentions, type CommentStatus, type CommentAnchorType, type CommentAnchor, type CommentMention, type CommentReply, type DiagramComment, type CommentStyle, type CommentManagerConfig, type CommentFilter, } from './core/diagramComments';
33
33
  export { ConditionalStylingEngine, createConditionalStylingEngine, createRuleFromPreset, PRESET_RULES, type StyleConditionOperator, type StyleCondition, type ConditionGroup, type StyleActionType, type StyleAction, type ConditionalStyleRule, type ConditionalStyleProfile, type AppliedStyles, } from './core/conditionalStyling';
34
34
  export { DiagramSearchFilterEngine, highlightMatches, createQuickFilter, type SearchScope, type MatchType, type DiagramSearchOptions, type DiagramFilter, type SearchResult, type FilterPreset, type SearchState, } from './core/diagramSearch';
35
- //# sourceMappingURL=index.d.ts.map
@@ -407,4 +407,3 @@ export interface DiagramExportOptions {
407
407
  /** Fit content to page (PDF) */
408
408
  fitToPage?: boolean;
409
409
  }
410
- //# sourceMappingURL=diagramTypes.d.ts.map
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-diagrams",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Nice2Dev Diagram Editor & Viewer — flowcharts, org charts, BPMN, ER diagrams with animations, data binding, and custom .ndd.json format",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
8
- "types": "src/index.ts",
8
+ "types": "dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./src/index.ts",
11
+ "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.mjs",
13
13
  "require": "./dist/index.cjs",
14
- "default": "./src/index.ts"
14
+ "default": "./dist/index.mjs"
15
15
  },
16
- "./style.css": "./dist/style.css"
16
+ "./style.css": "./dist/ui-diagrams.css"
17
17
  },
18
18
  "files": [
19
19
  "dist",
@@ -40,7 +40,7 @@
40
40
  "react-dom": ">=17.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@nice2dev/ui": "^1.1.5",
43
+ "@nice2dev/ui": "^1.1.6",
44
44
  "@testing-library/jest-dom": "^7.0.1",
45
45
  "@testing-library/react": "^16.3.3",
46
46
  "@types/react": "^19.2.18",