Comparing version 1.0.6 to 1.0.7
@@ -1,4 +0,4 @@ | ||
import { ComputePositionConfig, DetectOverflowOptions } from '@floating-ui/dom'; | ||
import React from 'react'; | ||
export interface PopoverProps extends Partial<ComputePositionConfig> { | ||
import { UsePopoverOptions } from '../../hooks/usePopover'; | ||
export interface PopoverProps extends Partial<UsePopoverOptions> { | ||
reference: React.ReactNode; | ||
@@ -9,6 +9,4 @@ referenceProps?: React.HTMLAttributes<HTMLElement>; | ||
portalSelector?: string; | ||
avoidOverflowSelector?: string; | ||
avoidOverflowOptions?: Partial<DetectOverflowOptions>; | ||
} | ||
declare const Popover: React.FC<PopoverProps>; | ||
export default Popover; |
@@ -1,3 +0,2 @@ | ||
/// <reference types="react" /> | ||
declare const useClickOutside: <T extends HTMLElement | null>(ref: import("react").MutableRefObject<T>, handler: (event: TouchEvent | MouseEvent) => void) => void; | ||
export default useClickOutside; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
declare type Event = React.DOMAttributes<HTMLDivElement>['onTouchStart']; | ||
@@ -3,0 +2,0 @@ interface Props { |
{ | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"license": "MIT", | ||
@@ -48,4 +48,6 @@ "main": "dist/index.js", | ||
"@size-limit/preset-small-lib": "^7.0.8", | ||
"@types/node": "^17.0.35", | ||
"@types/react": "16.14.0", | ||
"@types/react-dom": "16.9.16", | ||
"@types/resize-observer-browser": "^0.1.7", | ||
"autoprefixer": "^10.4.7", | ||
@@ -67,3 +69,2 @@ "cssnano": "^5.1.9", | ||
"dependencies": { | ||
"@floating-ui/dom": "^0.5.0", | ||
"@plussub/srt-vtt-parser": "^1.1.0", | ||
@@ -70,0 +71,0 @@ "is-hotkey": "^0.2.0" |
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
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
300172
5
110
962
19
- Removed@floating-ui/dom@^0.5.0
- Removed@floating-ui/core@0.7.3(transitive)
- Removed@floating-ui/dom@0.5.4(transitive)