@nxgt/material 3.42.0 → 3.42.1

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,11 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 3.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1793](https://github.com/softistx/nxgt-material/pull/1793) [`8adf0be`](https://github.com/softistx/nxgt-material/commit/8adf0be0d73817756b08631119d1b5251ddc65dd) Thanks [@SteveGT96](https://github.com/SteveGT96)! - fix(server-table): the bulk actions' `focusTrigger()` survives a redraw of the bar ([#1788](https://github.com/softistx/nxgt-material/issues/1788)). A resize, a rotation, the move between the toolbar and the phone's bar, or an action moving into or out of the More menu drew the buttons again, and `focusTrigger()` held the old, disconnected one: the focus fell to the body or to "Select all". It now finds the action's button again at call time by a stable key, `data-bulk-action="<id>"` on every bulk button (`data-bulk-more` on the More button), focuses the More button when the action now sits in the More menu, and keeps its fallback chain when the action is hidden. The context of `onClick` gains `actionId` and `element()`, and `trigger` is read at call time instead of captured. A dialog opened from `onClick` should return the focus with `onCloseAutoFocus={(e) => { e.preventDefault(); ctx.focusTrigger(); }}`.
8
+
3
9
  ## 3.42.0
4
10
 
5
11
  ### Minor Changes