@react-types/actiongroup
Advanced tools
Comparing version 3.1.2-nightly.2747 to 3.1.2-nightly.2756
{ | ||
"name": "@react-types/actiongroup", | ||
"version": "3.1.2-nightly.2747+f6cea8a92", | ||
"version": "3.1.2-nightly.2756+50906638d", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/button": "3.3.2-nightly.2747+f6cea8a92", | ||
"@react-types/shared": "3.0.0-nightly.1062+f6cea8a92" | ||
"@react-types/button": "3.3.2-nightly.2756+50906638d", | ||
"@react-types/shared": "3.0.0-nightly.1071+50906638d" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "f6cea8a92994384f56d96ec979579f3e3092eb26" | ||
"gitHead": "50906638d417a6ae1a32aa7235591b35d91ad7eb" | ||
} |
@@ -14,3 +14,3 @@ /* | ||
import {AriaLabelingProps, DOMProps, ItemElement, ItemRenderer, MultipleSelection, Orientation, StyleProps} from '@react-types/shared'; | ||
import {Key} from 'react'; | ||
import {Key, ReactElement} from 'react'; | ||
@@ -55,3 +55,22 @@ // Not extending CollectionBase to avoid async loading props | ||
/** Whether ActionButtons should use the [quiet style](https://spectrum.adobe.com/page/action-button/#Quiet). */ | ||
isQuiet?: boolean | ||
isQuiet?: boolean, | ||
/** The static color style to apply. Useful when the ActionGroup appears over a color background. */ | ||
staticColor?: 'white' | 'black', | ||
/** | ||
* Defines the behavior of the ActionGroup when the buttons do not fit in the available space. | ||
* When set to 'wrap', the items wrap to form a new line. When set to 'collapse', the items that | ||
* do not fit are collapsed into a dropdown menu. | ||
* @default 'wrap' | ||
*/ | ||
overflowMode?: 'wrap' | 'collapse', | ||
/** | ||
* Defines when the text within the buttons should be hidden and only the icon should be shown. | ||
* When set to 'hide', the text is always shown in a tooltip. When set to 'collapse', the text is visible | ||
* if space is available, and hidden when space is limited. The text is always visible when the item | ||
* is collapsed into a menu. | ||
* @default 'show' | ||
*/ | ||
buttonLabelBehavior?: 'show' | 'collapse' | 'hide', | ||
/** The icon displayed in the dropdown menu button when a selectable ActionGroup is collapsed. */ | ||
summaryIcon?: ReactElement | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
15581
70