@synopackageland/ui 0.25.6 → 0.25.7

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.25.7 (2026-11-11)
4
+
5
+ ### Grid
6
+
7
+ - **A width change no longer renders every row's selection box again.** While a split pane or the window was resized, each move rendered the grid again (its column widths changed), and with it the reason Tooltip of every row that `rowSelectable` disables: in a test grid of 100 rows, 34 of them disabled, 20 width changes rendered `Tooltip` 680 times and its Reka parts about 8,800 more. Each row's box is now a props-only `DataGridSelectBox` with the grid's `toggleRow` as its one handler, so it renders only when its own row's checked state, disabled state, reason or label changes; the same 20 width changes render no box, checkbox or tooltip. `tests/DataGridSelectRenders.test.ts` counts them
8
+ - **A disabled row's reason shows in the grid's one shared tooltip.** The reason (`rowSelectDisabledReason`) is a `data-ui-tooltip-hint` on the box's focusable wrapper, which the grid's OverflowTooltip already serves: it opens after the hover delay, at once on keyboard focus, and on a tap. No tooltip is mounted per row. The wrapper keeps `tabindex="0"`, `role="img"` and the reason as its `aria-label`; the disabled box inside keeps `tabindex="-1"`. No API change
9
+
3
10
  ## 0.25.6 (2026-11-10)
4
11
 
5
12
  ### Grid
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ rowKey: string;
3
+ checked: boolean;
4
+ disabled: boolean;
5
+ /** Why the box is disabled; the box is then reachable by keyboard to read it. */
6
+ reason?: string;
7
+ label: string;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ toggle: (key: string, checked: boolean) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onToggle?: ((key: string, checked: boolean) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;