@stoplight/mosaic
Advanced tools
Comparing version 1.51.3 to 1.52.0
import * as React from 'react'; | ||
import { BoxProps } from '../Box'; | ||
declare type DrawerDirection = 'right' | 'left' | 'top' | 'bottom'; | ||
export declare type DrawerProps = { | ||
id?: string; | ||
isOpen: boolean; | ||
@@ -10,4 +10,3 @@ children: JSX.Element | JSX.Element[] | React.ReactNode; | ||
position?: DrawerDirection; | ||
removeWhenClosed?: boolean; | ||
}; | ||
} & BoxProps<'div'>; | ||
export declare const useDrawerState: () => { | ||
@@ -17,3 +16,3 @@ isOpen: boolean; | ||
}; | ||
export declare const Drawer: ({ id, isOpen, children, className, onClose, position, removeWhenClosed, }: DrawerProps) => React.ReactPortal; | ||
export declare const Drawer: ({ isOpen, children, className, onClose, position, ...rest }: DrawerProps) => JSX.Element; | ||
export {}; |
{ | ||
"name": "@stoplight/mosaic", | ||
"version": "1.51.3", | ||
"version": "1.52.0", | ||
"sideEffects": false, | ||
@@ -22,3 +22,2 @@ "license": "Apache-2.0", | ||
"@fortawesome/fontawesome-svg-core": "^6.1.1", | ||
"focus-trap-react": "^10.2.3", | ||
"@fortawesome/react-fontawesome": "^0.2.0", | ||
@@ -25,0 +24,0 @@ "zustand": "^3.5.2", |
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
8266347
25
204
43481
- Removedfocus-trap-react@^10.2.3
- Removedfocus-trap@7.6.0(transitive)
- Removedfocus-trap-react@10.3.0(transitive)
- Removedtabbable@6.2.0(transitive)