@semcore/dropdown
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -5,3 +5,3 @@ # Changelog | ||
## [2.2.0] - 2021-05-07 | ||
## [2.2.1] - 2021-05-07 | ||
@@ -8,0 +8,0 @@ ### Changed |
import { ComponentProps } from 'react'; | ||
import { CProps, ReturnEl } from '@semcore/core'; | ||
import Popper, { IPopperContext, IPopperProps } from '@semcore/popper'; | ||
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper'; | ||
@@ -24,3 +24,6 @@ export interface IDropdownProps extends IPopperProps { | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext>) => ReturnEl) & { | ||
export interface IDropdownHandlers extends IPopperHandlers { | ||
} | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & { | ||
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl; | ||
@@ -27,0 +30,0 @@ Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl; |
{ | ||
"name": "@semcore/dropdown", | ||
"description": "SEMRush Dropdown Component", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"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 } from '@semcore/popper'; | ||
import Popper, { IPopperContext, IPopperProps, IPopperHandlers } from '@semcore/popper'; | ||
@@ -24,3 +24,6 @@ export interface IDropdownProps extends IPopperProps { | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext>) => ReturnEl) & { | ||
export interface IDropdownHandlers extends IPopperHandlers { | ||
} | ||
declare const Dropdown: ((props: CProps<IDropdownProps, IDropdownContext, IDropdownHandlers>) => ReturnEl) & { | ||
Trigger: <T>(props: ComponentProps<typeof Popper.Trigger> & T) => ReturnEl; | ||
@@ -27,0 +30,0 @@ Popper: <T>(props: ComponentProps<typeof Popper.Popper> & T) => ReturnEl; |
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
37660
445