Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-types/tabs

Package Overview
Dependencies
Maintainers
2
Versions
836
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/tabs - npm Package Compare versions

Comparing version 3.0.0-nightly.2665 to 3.0.0-nightly.2672

6

package.json
{
"name": "@react-types/tabs",
"version": "3.0.0-nightly.2665+887fff79",
"version": "3.0.0-nightly.2672+d1844573",
"description": "Spectrum UI components in React",

@@ -12,3 +12,3 @@ "license": "Apache-2.0",

"dependencies": {
"@react-types/shared": "3.0.0-nightly.985+887fff79"
"@react-types/shared": "3.0.0-nightly.992+d1844573"
},

@@ -21,3 +21,3 @@ "peerDependencies": {

},
"gitHead": "887fff79e8f33c0f8953dc38955419feddd56b6a"
"gitHead": "d1844573fa992f7a34285ebafdc08cb407829095"
}

@@ -16,4 +16,4 @@ /*

CollectionBase,
CollectionChildren,
DOMProps,
Node,
Orientation,

@@ -25,5 +25,5 @@ SingleSelection,

export interface AriaTabProps<T> {
/** Collection node for the tab. */
item: Node<T>,
export interface AriaTabProps {
/** The key of the tab. */
key: Key,
/** Whether the tab should be disabled. */

@@ -33,5 +33,5 @@ isDisabled?: boolean

export interface TabsProps<T> extends CollectionBase<T>, SingleSelection {}
export interface TabListProps<T> extends CollectionBase<T>, SingleSelection {}
export interface AriaTabsProps<T> extends TabsProps<T>, DOMProps, AriaLabelingProps {
export interface AriaTabListProps<T> extends TabListProps<T>, DOMProps, AriaLabelingProps {
/**

@@ -54,20 +54,21 @@ * Whether tabs are activated automatically on focus or manually.

export interface SpectrumTabsProps<T> extends AriaTabsProps<T>, StyleProps {
/** Whether the Tabs should be displayed with a quiet style. */
export interface AriaTabPanelProps extends DOMProps, AriaLabelingProps {}
interface SpectrumTabsProps<T> extends SingleSelection, DOMProps, StyleProps {
items?: Iterable<T>,
keyboardActivation?: 'automatic' | 'manual',
orientation?: Orientation,
isDisabled?: boolean,
disabledKeys?: Iterable<Key>,
isQuiet?: boolean,
/**
* Sets the amount of space between the Tab and the Tab rail.
* @default 'regular'
*/
density?: 'compact' | 'regular',
// overflowMode?: 'dropdown' | 'scrolling',
// isEmphasized?: boolean,
/** Whether Tabs are disabled. */
isDisabled?: boolean,
/** Handler that is called when the tab selection changes. */
onSelectionChange?: (selectedItem: Key) => void,
/** The currently selected Tab key in the collection (controlled). */
selectedKey?: Key,
/** The initial selected Tab key in the collection (uncontrolled). */
defaultSelectedKey?: Key
children: any
}
export interface SpectrumTabListProps<T> extends DOMProps, StyleProps {
children: CollectionChildren<T>
}
export interface SpectrumTabPanelsProps<T> extends DOMProps, StyleProps {
children: CollectionChildren<T>
}
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