@podoba/react 0.0.47 → 0.0.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/react",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "type": "module",
5
5
  "description": "podoba React components — React Aria Components + Tailwind primitives + layout, built with uic.",
6
6
  "repository": {
@@ -28,8 +28,8 @@
28
28
  "typecheck": "tsc --build"
29
29
  },
30
30
  "dependencies": {
31
- "@podoba/tokens": "^0.0.47",
32
- "@podoba/tailwind": "^0.0.47",
31
+ "@podoba/tokens": "^0.0.48",
32
+ "@podoba/tailwind": "^0.0.48",
33
33
  "react-aria-components": "1.18.0",
34
34
  "class-variance-authority": "0.7.1",
35
35
  "clsx": "2.1.1",
@@ -262,7 +262,9 @@ export function Table<Row>({
262
262
  interactive={interactive}
263
263
  {...(interactive
264
264
  ? {
265
+ // A pressable row is one control; callers name it via `getRowProps` (`aria-label`).
265
266
  tabIndex: 0,
267
+ role: 'button',
266
268
  onClick: () => onRowClick?.(row),
267
269
  onKeyDown: (event: React.KeyboardEvent) => {
268
270
  if (event.key === 'Enter' || event.key === ' ') {