@nice2dev/ui 1.4.23 → 1.4.25

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 (45) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +2 -4
  3. package/dist/NiceModuleLifecyclePanel-bsHwj1pO.cjs +1 -0
  4. package/dist/{NicePivotGrid-B5Fgi5E_.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
  5. package/dist/{NiceStreamDashboard.doc-74KUXya1.cjs → NiceStreamDashboard.doc-CdkHFf4Y.cjs} +2 -2
  6. package/dist/charts/NiceAdvancedCharts.mjs +586 -773
  7. package/dist/charts/NiceChartRangeSelector.mjs +159 -0
  8. package/dist/charts/NiceHeatMap.mjs +140 -70
  9. package/dist/charts/NiceOrganizationChart.mjs +183 -90
  10. package/dist/charts/NiceSankey.mjs +166 -93
  11. package/dist/charts/NiceStockChart.mjs +258 -157
  12. package/dist/charts-CSgOgfES.cjs +867 -0
  13. package/dist/charts.cjs +1 -1
  14. package/dist/charts.d.ts +126 -102
  15. package/dist/charts.mjs +22 -24
  16. package/dist/core/lazy.mjs +50 -63
  17. package/dist/core-lazy-sO0xvg64.cjs +1 -0
  18. package/dist/data.cjs +1 -1
  19. package/dist/demo/docs/docPreviews.mjs +504 -546
  20. package/dist/demo/docs/docRegistry.mjs +9 -94
  21. package/dist/docs/NiceStreamDashboard.doc.json.mjs +1 -1
  22. package/dist/documentation/utils.mjs +1 -1
  23. package/dist/index.cjs +95 -121
  24. package/dist/index.d.ts +126 -217
  25. package/dist/index.mjs +829 -836
  26. package/dist/lazy.cjs +1 -1
  27. package/dist/lazy.d.ts +41 -23
  28. package/dist/lazy.mjs +1 -1
  29. package/dist/navigation/NiceDock.mjs +55 -48
  30. package/dist/navigation/NiceMenuTypes.mjs +197 -251
  31. package/dist/navigation.cjs +1 -1
  32. package/dist/navigation.d.ts +5 -16
  33. package/dist/navigation.mjs +53 -54
  34. package/dist/style.css +2 -2
  35. package/dist/tools/NiceShowcase.mjs +2 -4
  36. package/package.json +4 -4
  37. package/dist/NiceDiagram.doc-CASS0Tnj.cjs +0 -8
  38. package/dist/NiceModuleLifecyclePanel-jckyVqqt.cjs +0 -1
  39. package/dist/charts/NiceRangeSelector.mjs +0 -135
  40. package/dist/charts/NiceTreeMap.mjs +0 -100
  41. package/dist/charts/NiceVectorMap.mjs +0 -59
  42. package/dist/charts-C9B548D2.cjs +0 -924
  43. package/dist/core-lazy-B54FdghB.cjs +0 -1
  44. package/dist/docs/NiceDiagram.doc.json.mjs +0 -32
  45. package/dist/tools/NiceChat.mjs +0 -98
package/CHANGELOG.md CHANGED
@@ -1,5 +1,105 @@
1
1
  # [1.0.27] — 2026-06-07
2
2
 
3
+ ## 1.4.25
4
+
5
+ ### Patch Changes
6
+
7
+ - 2913135: Control merges (round 44, 1.4.25).
8
+
9
+ **Breaking:** removals and renames in a patch release. The user chose this for round 44; see
10
+ `documentation/omniverk/OMNIVERK_UPGRADE_1.4.25.md`.
11
+
12
+ | Removed | Use instead |
13
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
14
+ | `NiceChat` (`ui`, `ui-tools`), `NiceChatProps`, `NiceChatMessage` | `NiceChatWindow` (`ui-communication`) |
15
+ | `NiceDiagram` (alias in `ui-diagrams`, `ui-planning`) | `NiceDiagramViewer` |
16
+ | `NiceDockMenu`, `NiceDockMenuProps` (`ui/navigation`) | `NiceDock` with `autoHide` |
17
+ | `NiceBrushEngine`, `useBrushEngine`, `BRUSH_PRESETS` and its types (`ui-graphics`) | the brush of `NicePixelEditor` (1.4.27) |
18
+ | `NiceCommunication`, `NiceCommunicationDefault`, `NiceCommunicationProps`, `NiceTeamsWorkspace`, `NiceTeamsWorkspaceProps` | `NiceCommunicationCenter`, `NiceCommunicationCenterProps` |
19
+ | `NiceAPITester`, `NiceAPITesterProps` | `NiceApiClient` |
20
+ | `NiceWebhookTester` and its types | `NiceApiClient` with `hmac` auth |
21
+ | `NiceAPIDesigner`, `NiceAPIDesignerProps` | `NiceApiClient` docs: Models and Security tabs |
22
+ | `fromApiTesterRequest`, `toApiTesterRequest`, `fromApiTesterCollection`, `toApiTesterCollection`, `toApiTesterRequests`, `openApiSchemaToCollection`, `collectionToOpenApiSchema` | `importOpenApi`, `exportOpenApi` |
23
+ | `ApiDesigner`, `ApiTesting` type namespaces (`ui-tools`) | — |
24
+ - **NiceCommunicationCenter** (NiceCommunication with NiceTeamsWorkspace as its default layout):
25
+ - `mode` is optional and defaults to `workspace`;
26
+ - the section header and search placeholder are translated labels, not the raw section key;
27
+ - Join calls the new `onJoinMeeting(meetingId)`, else opens the meeting's `joinUrl`, else starts a
28
+ video call with its participants;
29
+ - Files lists the attachments shared in conversations and channels;
30
+ - Activity lists unread team channels too, and a channel row opens that channel;
31
+ - a group conversation shows its own name in the chat list;
32
+ - `enableWhiteboard` reaches the workspace.
33
+ - **NiceDock**: `autoHide` slides the bar out past its edge until the pointer or focus comes back.
34
+ - **NiceApiClient**: the collection's documentation has tabs:
35
+ - Overview;
36
+ - Models: add, rename (references follow), retype, delete, edit properties or the JSON schema;
37
+ - Security: the schemes the OpenAPI export declares, who uses them, and the collection auth.
38
+ - **ui-api core**: new `renameApiSchema(collection, from, to)` and
39
+ `apiSecuritySchemes(collection)`.
40
+ - `viewSchema` lists `NiceChatWindow` and `NiceDiagramViewer`.
41
+
42
+ - Updated dependencies [2913135]
43
+ - @nice2dev/ui-core@1.4.25
44
+ - @nice2dev/i18n@1.4.25
45
+
46
+ ## 1.4.24
47
+
48
+ ### Patch Changes
49
+
50
+ - 44c39e4: Charts B (round 44, 1.4.24): merges and rebuilds.
51
+
52
+ **Breaking:** removals and renames in a patch release. The user chose this for round 44; see
53
+ `documentation/omniverk/OMNIVERK_UPGRADE_1.4.24.md`.
54
+
55
+ | Removed | Use instead |
56
+ | ------------------------------------------------------------------------ | ------------------------------------------------------- |
57
+ | `NiceSankeyChart`, `SankeyNode`, `SankeyLink` | `NiceSankey`, `NiceSankeyNode`, `NiceSankeyLink` |
58
+ | `NiceTreeMapChart`, `NiceTreeMapChartProps`, `TreeMapNode` | `NiceTreeMap`, `NiceTreeMapProps`, `NiceTreeMapNode` |
59
+ | The old `NiceTreeMap` (nodes with `key` / `label`) | Nodes with `id` / `name` |
60
+ | `NiceVectorMap`, `NiceVectorMapProps`, `NiceMapRegion`, lazy `VectorMap` | `NiceMapChart`, `MapRegion` |
61
+ | `NiceRangeSelector`, `NiceRangeSelectorProps` | `NiceChartRangeSelector`, `NiceChartRangeSelectorProps` |
62
+ - **NiceSankey** (merged with NiceSankeyChart):
63
+ - a column per depth, for any number of columns, with sinks on the right;
64
+ - square node ends and outlined labels;
65
+ - tooltips, `onNodeClick`, `onLinkClick`, `showValues`, gradient flows;
66
+ - it scales down in a narrow container.
67
+ - **NiceTreeMap** (NiceTreeMapChart under the short name):
68
+ - the drill path holds node ids and resets when `data` changes;
69
+ - siblings take distinct colours;
70
+ - square tiles, larger text with a halo.
71
+ - **NiceMapChart** (NiceVectorMap merged in):
72
+ - new `selectedRegionId` and `bounds` (geographic projection of bubbles);
73
+ - `type="heat"` works;
74
+ - no NaN when every value is the same;
75
+ - pans in viewBox units;
76
+ - `mapSvg` is drawn as an image, not injected as HTML;
77
+ - a chart without regions no longer draws placeholder polygons.
78
+ - **NiceChartRangeSelector:** the window drags as a whole, the handles are keyboard sliders, and it
79
+ follows its container's width (`responsive`).
80
+ - **NiceHeatMap**, rebuilt:
81
+ - the browser mixes the colours, so theme variables work (they used to parse to NaN);
82
+ - two or three colour stops;
83
+ - **changed default:** values are hidden unless `showValues` is set;
84
+ - legend, tooltip and axis titles;
85
+ - `min`, `max`, `cellGap`, `cellRadius`, `emptyColor`, `formatValue`;
86
+ - a grid that fills its container.
87
+ - **NiceStockChart:**
88
+ - one volume band (it was reserved twice);
89
+ - wicks no longer cross hollow bodies;
90
+ - doji drawn as a bar;
91
+ - crosshair with the day's O/H/L/C/V;
92
+ - new `responsive` and `formatPrice`.
93
+ - **NiceOrganizationChart:**
94
+ - the root no longer jumps when a branch collapses or expands;
95
+ - drag with the hand (`pannable`) and zoom with Ctrl and the wheel (`wheelZoom`);
96
+ - search (`searchable`);
97
+ - new `collapsedDepth`, `highlightKeys` and `onNodeClick`.
98
+
99
+ - Updated dependencies [44c39e4]
100
+ - @nice2dev/ui-core@1.4.24
101
+ - @nice2dev/i18n@1.4.24
102
+
3
103
  ## 1.4.23
4
104
 
5
105
  ### Patch Changes
package/README.md CHANGED
@@ -329,14 +329,12 @@ Form input components with consistent `NiceFormFieldProps` interface: `label`, `
329
329
  | --------------- | -------------------------------------------------------------- | ------------------ |
330
330
  | `NiceScheduler` | `events[]`, `onEventChange`, `view`, `resources[]`, `workDays` | Calendar scheduler |
331
331
  | `NiceGantt` | `tasks[]`, `columns[]`, `scale`, `onTaskChange` | Gantt chart |
332
- | `NiceDiagram` | `nodes[]`, `edges[]`, `onNodeClick`, `onEdgeClick` | Node/edge diagram |
333
332
  | `NiceStepper` | `steps[]`, `currentStep`, `onStepChange`, `vertical` | Step wizard |
334
333
 
335
334
  ### Tools (12 components)
336
335
 
337
336
  | Component | Key Props | Description |
338
337
  | ------------------- | -------------------------------------------------------- | ---------------------------------------- |
339
- | `NiceChat` | `messages[]`, `onSendMessage`, `currentUser` | Chat widget |
340
338
  | `NiceDraggable` | `onDrag`, `ghostImage`, `children` | Drag source wrapper |
341
339
  | `NiceSortable` | `items[]`, `onSort`, `direction` | Sortable list |
342
340
  | `NiceFileUploader` | `onUpload`, `accept`, `multiple`, `maxSize`, `maxFiles` | File upload |
@@ -778,8 +776,8 @@ nice2dev-ui/
778
776
  │ ├── data/ # NiceTable, NiceDataGrid, NiceTreeView, NicePivotGrid, etc.
779
777
  │ ├── charts/ # NiceChart, NicePieChart, gauges, sparklines, maps
780
778
  │ ├── overlays/ # NicePopover, NiceActionSheet, NiceResizable, etc.
781
- │ ├── planning/ # NiceScheduler, NiceGantt, NiceDiagram, NiceStepper
782
- │ ├── tools/ # NiceChat, NiceFileUploader, NiceFilterBuilder, etc.
779
+ │ ├── planning/ # NiceScheduler, NiceGantt, NiceStepper
780
+ │ ├── tools/ # NiceFileUploader, NiceFilterBuilder, etc.
783
781
  │ └── index.ts # Main barrel export
784
782
  ├── demo/
785
783
  │ └── Demo.tsx # Comprehensive component demo application