@coolms/ui-react 0.1.0-alpha.45 → 0.1.0-alpha.46
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 +8 -0
- package/dist/components/Collections.d.ts +2 -2
- package/dist/index.js +692 -687
- package/package.json +1 -1
- package/src/kit.css +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.1.0-alpha.46 (2026-12-06)
|
|
6
|
+
|
|
7
|
+
A menu says a reason its refused items share once, at its top; labels keep one line; a phone toast sits above the section bar.
|
|
8
|
+
|
|
9
|
+
- `ContextMenu`: a reason given by every refused item (two or more) is said once, at the top of the menu, and the items are only dimmed; reasons that differ, or a lone one, go on a line of their own under the item's label. A refused item's label and icon are dimmed and its reason stays legible.
|
|
10
|
+
- `ContextMenu`: an item's label keeps one line, never wrapped word by word; it is clipped only where the screen is narrower than it, and its icon stays centred on its words. The menu is never wider than the screen.
|
|
11
|
+
- At phone width a toast sits above the bottom section bar, never over it.
|
|
12
|
+
|
|
5
13
|
## 0.1.0-alpha.45 (2026-12-05)
|
|
6
14
|
|
|
7
15
|
No purple meta tone and no blue tone left in the kit, and a context menu can open upwards from its point.
|
|
@@ -79,8 +79,8 @@ export interface ContextMenuProps {
|
|
|
79
79
|
/**
|
|
80
80
|
* The selected object's actions (contract component `context-menu`: open, item-danger, item-locked, item-refused,
|
|
81
81
|
* item-disabled). An item the server withheld is not drawn; a locked one carries its lock; a refused or disabled one
|
|
82
|
-
* stays in the menu, reached by the arrow keys, aria-disabled, with the server's reason
|
|
83
|
-
*
|
|
82
|
+
* stays in the menu, reached by the arrow keys, aria-disabled, with the server's reason as its description: under its
|
|
83
|
+
* label, on a line of its own, or once at the top of the menu when every refused item (two or more) gives the same one; choosing it does nothing and the menu stays open. Escape, a press outside, or a choice closes it, and focus goes back where it was.
|
|
84
84
|
* Items with `checked` are a single choice: each a menuitemradio, the current one with a check mark.
|
|
85
85
|
* Items of one `group` are a group named by it, under its name and a line.
|
|
86
86
|
*/
|