@nice2dev/ui-diagrams 1.0.11 → 1.0.14

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 (37) hide show
  1. package/README.md +18 -0
  2. package/dist/NicePinCodeInput-CDtodnIM-BN7_EsTO.js +10669 -0
  3. package/dist/NicePinCodeInput-CDtodnIM-CUmJgS0N.cjs +419 -0
  4. package/dist/NicePinCodeInput-jMNfPqOx-B96-mDKm.js +10660 -0
  5. package/dist/NicePinCodeInput-jMNfPqOx-RCPSx_lJ.cjs +419 -0
  6. package/dist/NiceSavedQueryPanel-BkYRk5cX-CONap-BI.cjs +596 -0
  7. package/dist/NiceSavedQueryPanel-BkYRk5cX-P87sE8XR.js +6602 -0
  8. package/dist/NiceSavedQueryPanel-DJqCNWYZ-CMhLtmPl.js +6607 -0
  9. package/dist/NiceSavedQueryPanel-DJqCNWYZ-COUKgFd1.cjs +596 -0
  10. package/dist/charts-F_b5-OR8-Bx93Lyks.js +3844 -0
  11. package/dist/charts-F_b5-OR8-utAB_HT1.cjs +544 -0
  12. package/dist/charts-fO6InNZd-CKUFWBM4.js +3868 -0
  13. package/dist/charts-fO6InNZd-rKUkyNhR.cjs +546 -0
  14. package/dist/components/DiagramCanvas.d.ts.map +1 -1
  15. package/dist/components/DiagramCellRenderer.d.ts +1 -1
  16. package/dist/components/DiagramCellRenderer.d.ts.map +1 -1
  17. package/dist/components/NiceDatabaseSchemaViewer.d.ts +1 -1
  18. package/dist/components/NiceDatabaseSchemaViewer.d.ts.map +1 -1
  19. package/dist/components/NiceDiagramViewer.d.ts.map +1 -1
  20. package/dist/components/NiceWorkflowVisualizer.d.ts +1 -1
  21. package/dist/components/NiceWorkflowVisualizer.d.ts.map +1 -1
  22. package/dist/components/snapGuides.d.ts.map +1 -1
  23. package/dist/core/diagramSearch.d.ts.map +1 -1
  24. package/dist/core/layoutEngine.d.ts +3 -3
  25. package/dist/core/layoutEngine.d.ts.map +1 -1
  26. package/dist/index-BU6KCDpP-CCUULS19.cjs +4504 -0
  27. package/dist/index-BU6KCDpP-YoTiWKa0.js +35436 -0
  28. package/dist/index-BZshsoM9.js +28949 -0
  29. package/dist/index-BsF-Sqfg.cjs +406 -0
  30. package/dist/index-DHc_KZkF-17_8Fy9z.cjs +4504 -0
  31. package/dist/index-DHc_KZkF-B_UQaeDS.js +39279 -0
  32. package/dist/index-HEVcaIcd.cjs +406 -0
  33. package/dist/index-d-T4WraN.js +28798 -0
  34. package/dist/index.cjs +1 -1
  35. package/dist/index.mjs +22 -22
  36. package/dist/style.css +1 -1
  37. package/package.json +2 -2
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  ## Features
6
6
 
7
7
  ### NiceDiagramEditor
8
+
8
9
  - Canvas with pan/zoom (scroll wheel, pinch, minimap)
9
10
  - Node CRUD — drag, resize, double-click edit, custom shapes (SVG/React)
10
11
  - Edge creation — click port → drag to target port
@@ -18,12 +19,14 @@
18
19
  - i18n (10+ languages) + theming (light/dark, custom CSS variables)
19
20
 
20
21
  ### NiceDiagramViewer
22
+
21
23
  - Read-only with pan/zoom
22
24
  - Auto-play animations (step-by-step sequence)
23
25
  - Interactive tooltips on hover
24
26
  - Fullscreen + print mode
25
27
 
26
28
  ### Business Integrations
29
+
27
30
  - **NiceWorkflowVisualizer** — auto-generate from workflow engine
28
31
  - **NiceDatabaseSchemaViewer** — ER diagram from DB metadata
29
32
  - **NiceOrgChartVisualizer** — org chart from HR data
@@ -33,6 +36,7 @@
33
36
  - **NiceDecisionTreeEditor** — decision tree with conditions, probabilities
34
37
 
35
38
  ### Collaboration
39
+
36
40
  - Multi-user CRDT editing with visible cursors
37
41
  - Version history with visual diff (node added/removed/moved)
38
42
  - Comments & annotations — sticky notes, @mentions, resolve
@@ -44,6 +48,20 @@
44
48
  npm install @nice2dev/ui-diagrams
45
49
  ```
46
50
 
51
+ ## Styling
52
+
53
+ This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
54
+
55
+ ```tsx
56
+ import '@nice2dev/ui/style.css';
57
+ ```
58
+
59
+ Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
60
+
61
+ ```tsx
62
+ import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
63
+ ```
64
+
47
65
  ## License
48
66
 
49
67
  MIT © NiceToDev