@nice2dev/ui-diagrams 1.0.12 → 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.
- package/README.md +18 -0
- package/dist/NicePinCodeInput-CDtodnIM-BN7_EsTO.js +10669 -0
- package/dist/NicePinCodeInput-CDtodnIM-CUmJgS0N.cjs +419 -0
- package/dist/NiceSavedQueryPanel-DJqCNWYZ-CMhLtmPl.js +6607 -0
- package/dist/NiceSavedQueryPanel-DJqCNWYZ-COUKgFd1.cjs +596 -0
- package/dist/charts-fO6InNZd-CKUFWBM4.js +3868 -0
- package/dist/charts-fO6InNZd-rKUkyNhR.cjs +546 -0
- package/dist/index-BZshsoM9.js +28949 -0
- package/dist/index-BsF-Sqfg.cjs +406 -0
- package/dist/index-DHc_KZkF-17_8Fy9z.cjs +4504 -0
- package/dist/index-DHc_KZkF-B_UQaeDS.js +39279 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +17 -17
- 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
|