react-arborist 3.4.2 → 3.4.3

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.
@@ -68,6 +68,7 @@ exports.RowContainer = react_1.default.memo(function RowContainer({ index, style
68
68
  role: "treeitem",
69
69
  "aria-level": node.level + 1,
70
70
  "aria-selected": node.isSelected,
71
+ "aria-expanded": node.isOpen,
71
72
  style: rowStyle,
72
73
  tabIndex: -1,
73
74
  className: tree.props.rowClassName,
@@ -42,6 +42,7 @@ export const RowContainer = React.memo(function RowContainer({ index, style, })
42
42
  role: "treeitem",
43
43
  "aria-level": node.level + 1,
44
44
  "aria-selected": node.isSelected,
45
+ "aria-expanded": node.isOpen,
45
46
  style: rowStyle,
46
47
  tabIndex: -1,
47
48
  className: tree.props.rowClassName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-arborist",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main/index.js",
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "react-dnd": "^14.0.3",
42
42
  "react-dnd-html5-backend": "^14.0.3",
43
- "react-window": "^1.8.10",
43
+ "react-window": "^1.8.11",
44
44
  "redux": "^5.0.0",
45
45
  "use-sync-external-store": "^1.2.0"
46
46
  },
@@ -60,6 +60,7 @@ export const RowContainer = React.memo(function RowContainer<T>({
60
60
  role: "treeitem",
61
61
  "aria-level": node.level + 1,
62
62
  "aria-selected": node.isSelected,
63
+ "aria-expanded": node.isOpen,
63
64
  style: rowStyle,
64
65
  tabIndex: -1,
65
66
  className: tree.props.rowClassName,