@react-types/dialog
Advanced tools
Comparing version 3.2.1-nightly.2388 to 3.2.1-nightly.2393
{ | ||
"name": "@react-types/dialog", | ||
"version": "3.2.1-nightly.2388+da1f0a8a", | ||
"version": "3.2.1-nightly.2393+bd9852ce", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,7 +12,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/overlays": "3.2.1-nightly.2388+da1f0a8a", | ||
"@react-types/shared": "3.0.0-nightly.710+da1f0a8a" | ||
"@react-types/overlays": "3.2.1-nightly.2393+bd9852ce", | ||
"@react-types/shared": "3.0.0-nightly.715+bd9852ce" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.12.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1" | ||
}, | ||
@@ -22,3 +22,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "da1f0a8a149db773b61c8ae61a99ec0139db7b29" | ||
"gitHead": "bd9852ce71c11a970a135668373e16cf8962dc3c" | ||
} |
@@ -41,2 +41,18 @@ /* | ||
export interface SpectrumDialogContainerProps { | ||
/** The Dialog to display, if any. */ | ||
children: ReactNode, | ||
/** Handler that is called when the 'x' button of a dismissable Dialog is clicked. */ | ||
onDismiss: () => void, | ||
/** | ||
* The type of Dialog that should be rendered. See the visual options below for examples of each. | ||
* @default 'modal' | ||
*/ | ||
type?: 'modal' | 'fullscreen' | 'fullscreenTakeover', | ||
/** Whether the Dialog is dismissable. See the [Dialog docs](Dialog.html#dismissable-dialogs) for more details. */ | ||
isDismissable?: boolean, | ||
/** Whether pressing the escape key to close the dialog should be disabled. */ | ||
isKeyboardDismissDisabled?: boolean | ||
} | ||
export interface AriaDialogProps extends DOMProps, AriaLabelingProps { | ||
@@ -43,0 +59,0 @@ /** |
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
16832
95
+ Addedreact@17.0.2(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)