@dloizides/ui-tables 3.0.1 → 3.0.2
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 +40 -0
- package/README.md +15 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -555,7 +555,8 @@ function DataTableRow({
|
|
|
555
555
|
...selectable ? { "aria-selected": isSelected } : null,
|
|
556
556
|
// A navigable table is a real grid, so its rows are grid rows — selectable or not.
|
|
557
557
|
// `role` wins over `accessibilityRole` on RNW.
|
|
558
|
-
...keyboardNavigation ? { role: "row" } : null
|
|
558
|
+
...keyboardNavigation ? { role: "row" } : null,
|
|
559
|
+
...!keyboardNavigation && onRowPress ? { role: "group" } : null
|
|
559
560
|
};
|
|
560
561
|
const rowNode = /* @__PURE__ */ jsx(
|
|
561
562
|
TableRow,
|