New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-stately/tabs

Package Overview
Dependencies
Maintainers
2
Versions
833
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/tabs - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0

src/useTabListState.ts

4

dist/main.js

@@ -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

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc