@coolms/ui-react 0.1.0-alpha.43 → 0.1.0-alpha.45

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 CHANGED
@@ -2,6 +2,21 @@
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.45 (2026-12-05)
6
+
7
+ No purple meta tone and no blue tone left in the kit, and a context menu can open upwards from its point.
8
+
9
+ - The purple meta tone is used nowhere: a field's pinned line is in the muted text colour, and an avatar's offline presence dot is a neutral grey (`--cms-border-control`). A test fails on any `--cms-meta-*` in the kit's sources.
10
+ - The blue tone is used nowhere: an informational toast is grey (its stripe `--cms-border-strong`, its glyph `--cms-text-muted`). A test fails on any `--cms-primary-*` or `--cms-info-*` in the kit's sources.
11
+ - The demo page's state labels are in the muted text colour, not the meta tone, and the meta check reads the demo's sources too.
12
+ - `ContextMenu` takes `corner`: `bottom-right` puts the menu's bottom right corner at `at`, so a menu opens upwards from a button at the bottom right (a floating one). The default, `top-left`, is as before.
13
+
14
+ ## 0.1.0-alpha.44 (2026-12-03)
15
+
16
+ A list row's time in the muted text colour.
17
+
18
+ - `List`: a row's time or date is in the muted text colour, as its secondary line is, no longer in the purple meta colour. (#177)
19
+
5
20
  ## 0.1.0-alpha.43 (2026-12-03)
6
21
 
7
22
  The pane toolbar's primary in the accent, and the icons as one data file every host draws them from.
@@ -70,6 +70,11 @@ export interface ContextMenuProps {
70
70
  * button opened with Up).
71
71
  */
72
72
  readonly focus?: 'current' | 'first' | 'last';
73
+ /**
74
+ * Which corner of the menu stands at `at`: its top left (the default, a right-click or a menu below its button), or
75
+ * its bottom right (a menu opened upwards from a button at the bottom right, such as a floating one).
76
+ */
77
+ readonly corner?: 'top-left' | 'bottom-right';
73
78
  }
74
79
  /**
75
80
  * The selected object's actions (contract component `context-menu`: open, item-danger, item-locked, item-refused,
@@ -79,4 +84,4 @@ export interface ContextMenuProps {
79
84
  * Items with `checked` are a single choice: each a menuitemradio, the current one with a check mark.
80
85
  * Items of one `group` are a group named by it, under its name and a line.
81
86
  */
82
- export declare function ContextMenu({ at, items, onClose, label, focus }: ContextMenuProps): ReactNode;
87
+ export declare function ContextMenu({ at, items, onClose, label, focus, corner }: ContextMenuProps): ReactNode;