@react-types/tabs 3.1.6-nightly.3712 → 3.1.6-nightly.3715
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.
- package/package.json +3 -3
- package/src/index.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/tabs",
|
|
3
|
-
"version": "3.1.6-nightly.
|
|
3
|
+
"version": "3.1.6-nightly.3715+86aa89b4e",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
12
|
+
"@react-types/shared": "3.0.0-nightly.2015+86aa89b4e"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "86aa89b4e1a5c343bfc865e465c37496ceb47ee4"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface AriaTabProps extends AriaLabelingProps {
|
|
|
30
30
|
|
|
31
31
|
export interface TabListProps<T> extends CollectionBase<T>, Omit<SingleSelection, 'disallowEmptySelection'> {
|
|
32
32
|
/**
|
|
33
|
-
* Whether the
|
|
33
|
+
* Whether the TabList is disabled.
|
|
34
34
|
* Shows that a selection exists, but is not available in that circumstance.
|
|
35
35
|
*/
|
|
36
36
|
isDisabled?: boolean
|
|
@@ -60,6 +60,8 @@ export interface SpectrumTabsProps<T> extends AriaTabListBase, SingleSelection,
|
|
|
60
60
|
items?: Iterable<T>,
|
|
61
61
|
/** The keys of the tabs that are disabled. These tabs cannot be selected, focused, or otherwise interacted with. */
|
|
62
62
|
disabledKeys?: Iterable<Key>,
|
|
63
|
+
/** Whether the Tabs are disabled. */
|
|
64
|
+
isDisabled?: boolean,
|
|
63
65
|
/** Whether the tabs are displayed in a quiet style. */
|
|
64
66
|
isQuiet?: boolean,
|
|
65
67
|
/** Whether the tabs are displayed in an emphasized style. */
|