@semcore/dropdown
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -5,2 +5,8 @@ # Changelog | ||
## [2.2.2] - 2021-06-08 | ||
### Fixed | ||
- Fix TS type | ||
## [2.2.1] - 2021-05-07 | ||
@@ -7,0 +13,0 @@ |
import { ComponentProps } from 'react'; | ||
import { CProps, ReturnEl } from '@semcore/core'; | ||
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper'; | ||
import Popper, { | ||
IPopperContext, | ||
IPopperProps, | ||
IPopperHandlers, | ||
IPopperGetterContext, | ||
} from '@semcore/popper'; | ||
@@ -21,13 +26,13 @@ export interface IDropdownProps extends IPopperProps { | ||
export interface IDropdownContext extends IPopperContext { | ||
} | ||
export interface IDropdownContext extends IPopperContext {} | ||
export interface IDropdownHandlers extends IPopperHandlers { | ||
} | ||
export interface IDropdownHandlers extends IPopperHandlers {} | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & { | ||
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl; | ||
Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl; | ||
declare const Dropdown: (<T>( | ||
props: CProps<IDropdownProps & T, IDropdownContext, IDropdownHandlers>, | ||
) => ReturnEl) & { | ||
Trigger: typeof Popper.Trigger | ||
Popper: typeof Popper.Popper | ||
}; | ||
export default Dropdown; | ||
export default Dropdown; |
{ | ||
"name": "@semcore/dropdown", | ||
"description": "SEMRush Dropdown Component", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"main": "lib/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "lib/es6/index.js", |
import { ComponentProps } from 'react'; | ||
import { CProps, ReturnEl } from '@semcore/core'; | ||
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper'; | ||
import Popper, { | ||
IPopperContext, | ||
IPopperProps, | ||
IPopperHandlers, | ||
IPopperGetterContext, | ||
} from '@semcore/popper'; | ||
@@ -21,13 +26,13 @@ export interface IDropdownProps extends IPopperProps { | ||
export interface IDropdownContext extends IPopperContext { | ||
} | ||
export interface IDropdownContext extends IPopperContext {} | ||
export interface IDropdownHandlers extends IPopperHandlers { | ||
} | ||
export interface IDropdownHandlers extends IPopperHandlers {} | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & { | ||
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl; | ||
Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl; | ||
declare const Dropdown: (<T>( | ||
props: CProps<IDropdownProps & T, IDropdownContext, IDropdownHandlers>, | ||
) => ReturnEl) & { | ||
Trigger: typeof Popper.Trigger | ||
Popper: typeof Popper.Popper | ||
}; | ||
export default Dropdown; | ||
export default Dropdown; |
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
457
37615