Comparing version 153.4.0 to 153.5.0
/// <reference types="react" /> | ||
import { SkinColor } from './ButtonToggle/ColorPicker'; | ||
import icons from './icons/index'; | ||
@@ -14,4 +15,6 @@ type Props = { | ||
* The background color of ButtonToggle. | ||
* | ||
* This prop also accepts an array of 4 skin tones (`skinTone1`, `skinTone2`, ..., `skinTone16`) to create a color picker. See the [Color Picker Variant](https://gestalt.pinterest.systems/web/buttontoggle#Color-Picker) for details on proper usage. | ||
*/ | ||
color?: 'red' | 'transparent'; | ||
color?: 'red' | 'transparent' | readonly [SkinColor, SkinColor, SkinColor, SkinColor]; | ||
/** | ||
@@ -26,2 +29,6 @@ * Available for testing purposes, if needed. Consider [better queries](https://testing-library.com/docs/queries/afut/#priority) before using this prop. | ||
/** | ||
* An icon displayed above the text to illustrate the meaning of the option selected by the ButtonToggle. | ||
*/ | ||
graphicSrc?: string; | ||
/** | ||
* An icon displayed before the text to help clarify the usage of ButtonToggle. | ||
@@ -28,0 +35,0 @@ */ |
{ | ||
"name": "gestalt", | ||
"version": "153.4.0", | ||
"version": "153.5.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gestalt.pinterest.systems/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
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
9024113
1407
82095