@nice2dev/ui 1.4.12 → 1.4.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/CHANGELOG.md +42 -0
- package/dist/NiceSavedQueryPanel-C1nxEmMu.cjs +587 -0
- package/dist/data/NiceTreeGrid.mjs +619 -545
- package/dist/data/NiceTreeView.mjs +222 -180
- package/dist/data/treeRowDrop.mjs +130 -0
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +26 -4
- package/dist/index.cjs +21 -21
- package/dist/index.d.ts +96 -4
- package/dist/index.mjs +935 -929
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/NiceSavedQueryPanel-BSZhE-_l.cjs +0 -587
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# [1.0.27] — 2026-06-07
|
|
2
2
|
|
|
3
|
+
## 1.4.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d1e7d0: Dragging tree rows (deferred since 1.4.5, and OmniVerk wishlist #4 and #6):
|
|
8
|
+
|
|
9
|
+
- `NiceTreeGrid`: new `rowDraggable`, `canDrop` and `onRowDrop(dragKey, dropKey, position)`.
|
|
10
|
+
- The pointer picks the spot: the top quarter of a row drops before it, the bottom quarter
|
|
11
|
+
after it, the middle inside it. A line or a lit row shows where.
|
|
12
|
+
- A closed row held under a drag opens. A row never drops into its own branch.
|
|
13
|
+
- Ctrl+Shift+↑ / ↓ moves the focused row past a sibling, → into the row above it, ← out a
|
|
14
|
+
level. Screen readers hear each move.
|
|
15
|
+
- The grid does not move rows itself; update `data`.
|
|
16
|
+
- `NiceTreeView`: `onNodeDrop` reports the real position from the pointer instead of always
|
|
17
|
+
`'inside'`. It gains the drop mark, `canDrop`, the same keyboard moves, and `dataTransfer` data,
|
|
18
|
+
which Firefox needs to start a drag. A leaf takes drops beside it only.
|
|
19
|
+
- New exports from `@nice2dev/ui`: `useTreeRowDrop`, `treeDropPosition`, `treeKeyboardMove`,
|
|
20
|
+
`treeKeyboardTarget` and `NiceTreeDropPosition`.
|
|
21
|
+
- `NiceDevelopmentStudio`: tree rows can be dragged.
|
|
22
|
+
- Entries go into folders, groups of their own group, and sections, or next to another entry,
|
|
23
|
+
which reorders them.
|
|
24
|
+
- Folders go into folders of their group, to the group's top, or into sections, together with
|
|
25
|
+
what they hold.
|
|
26
|
+
- New layout helpers `orderStudioEntries`, `moveStudioFolder` and `isStudioFolderWithin`.
|
|
27
|
+
- `placeStudioEntry` ignores a folder of another group.
|
|
28
|
+
- Icons:
|
|
29
|
+
- `NtdAward` duotone and vivid are fills: a secondary outline round primary middles, and in vivid
|
|
30
|
+
an accent ribbon.
|
|
31
|
+
- `NtdWallet` has a wider, rounded back strip, and the wireframe no longer draws the hidden part.
|
|
32
|
+
- `NtdWalletOpen` has a steeper wedge.
|
|
33
|
+
- `NtdUsers`: the two people behind sit lower.
|
|
34
|
+
|
|
35
|
+
- @nice2dev/i18n@1.4.14
|
|
36
|
+
- @nice2dev/ui-core@1.4.14
|
|
37
|
+
|
|
38
|
+
## 1.4.13
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- @nice2dev/i18n@1.4.13
|
|
43
|
+
- @nice2dev/ui-core@1.4.13
|
|
44
|
+
|
|
3
45
|
## 1.4.12
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|