@react-stately/tabs
Advanced tools
Comparing version 3.0.0-rc.0 to 3.0.0
@@ -15,2 +15,6 @@ var { | ||
/** | ||
* Provides state management for a Tabs component. Tabs include a TabList which tracks | ||
* which tab is currently selected and displays the content associated with that Tab in a TabPanel. | ||
*/ | ||
function useTabListState(props) { | ||
@@ -17,0 +21,0 @@ let state = useSingleSelectListState(_babelRuntimeHelpersExtends({}, props, { |
import { useEffect } from "react"; | ||
import { useSingleSelectListState } from "@react-stately/list"; | ||
import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Provides state management for a Tabs component. Tabs include a TabList which tracks | ||
* which tab is currently selected and displays the content associated with that Tab in a TabPanel. | ||
*/ | ||
export function useTabListState(props) { | ||
@@ -5,0 +10,0 @@ let state = useSingleSelectListState(_babelRuntimeHelpersEsmExtends({}, props, { |
@@ -5,4 +5,8 @@ import { SingleSelectListState } from "@react-stately/list"; | ||
} | ||
/** | ||
* Provides state management for a Tabs component. Tabs include a TabList which tracks | ||
* which tab is currently selected and displays the content associated with that Tab in a TabPanel. | ||
*/ | ||
export function useTabListState<T extends object>(props: TabListProps<T>): TabListState<T>; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-stately/tabs", | ||
"version": "3.0.0-rc.0", | ||
"version": "3.0.0", | ||
"description": "Spectrum UI components in React", | ||
@@ -23,3 +23,3 @@ "license": "Apache-2.0", | ||
"@react-stately/utils": "^3.2.1", | ||
"@react-types/tabs": "3.0.0-rc.0" | ||
"@react-types/tabs": "^3.0.0" | ||
}, | ||
@@ -32,3 +32,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3aae08e7d8a75382bedcddac7c86107e40db9296" | ||
"gitHead": "83b70255d97b3068988f8972e9c9a39a7352926e" | ||
} |
@@ -6,3 +6,3 @@ /* | ||
* of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under | ||
@@ -14,2 +14,2 @@ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
export * from './useTabsState'; | ||
export * from './useTabListState'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
25167
117
1
+ Added@react-types/tabs@3.3.12(transitive)
- Removed@react-types/tabs@3.0.0-rc.0(transitive)
Updated@react-types/tabs@^3.0.0