draft-components 1.0.0-beta.7 → 1.0.0-beta.8

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.
@@ -184,7 +184,7 @@ function getMenuItems(menuId) {
184
184
  if (!menuEl) {
185
185
  return [];
186
186
  }
187
- const nodes = menuEl.querySelectorAll('button[role="menuitem"]');
187
+ const nodes = menuEl.querySelectorAll('button[role="menuitem"], button[role="menuitemradio"]');
188
188
  return Array.from(nodes);
189
189
  }
190
190
 
@@ -182,7 +182,7 @@ function getMenuItems(menuId) {
182
182
  if (!menuEl) {
183
183
  return [];
184
184
  }
185
- const nodes = menuEl.querySelectorAll('button[role="menuitem"]');
185
+ const nodes = menuEl.querySelectorAll('button[role="menuitem"], button[role="menuitemradio"]');
186
186
  return Array.from(nodes);
187
187
  }
188
188
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "draft-components",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0-beta.8",
4
4
  "description": "The React based UI components library.",
5
5
  "type": "module",
6
6
  "exports": {