@getoutline/react-roving-tabindex
Advanced tools
Comparing version 3.2.2 to 3.2.3
{ | ||
"name": "@getoutline/react-roving-tabindex", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "React implementation of a roving tabindex, now with grid support", | ||
@@ -5,0 +5,0 @@ "author": "stevejay", |
@@ -99,3 +99,3 @@ # react-roving-tabindex | ||
// Wrap each roving tabindex group in a RovingTabIndexProvider. | ||
<RovingTabIndexProvider> | ||
<RovingTabIndexProvider items={/* data for list items */}> | ||
{/* | ||
@@ -139,3 +139,6 @@ it's fine for the roving tabindex components to be nested | ||
const SomeComponent = () => ( | ||
<RovingTabIndexProvider options={{ direction: "vertical" }}> | ||
<RovingTabIndexProvider | ||
options={{ direction: "vertical" }} | ||
items={/* data for list items */} | ||
> | ||
{/* whatever */} | ||
@@ -154,3 +157,6 @@ </RovingTabIndexProvider> | ||
const SomeComponent = () => ( | ||
<RovingTabIndexProvider options={{ direction: "vertical" }}> | ||
<RovingTabIndexProvider | ||
options={{ direction: "vertical" }} | ||
items={/* data for list items */} | ||
> | ||
{/* whatever */} | ||
@@ -169,3 +175,6 @@ </RovingTabIndexProvider> | ||
const SomeComponent = () => ( | ||
<RovingTabIndexProvider options={{ loopAround: true }}> | ||
<RovingTabIndexProvider | ||
options={{ loopAround: true }} | ||
items={/* data for list items */} | ||
> | ||
{/* whatever */} | ||
@@ -184,3 +193,6 @@ </RovingTabIndexProvider> | ||
const SomeComponent = () => ( | ||
<RovingTabIndexProvider options={{ focusOnClick: true }}> | ||
<RovingTabIndexProvider | ||
options={{ focusOnClick: true }} | ||
items={/* data for list items */} | ||
> | ||
{/* whatever */} | ||
@@ -187,0 +199,0 @@ </RovingTabIndexProvider> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200339
258